/* Brand blue sampled from the Tidal wordmark: #2396E6 */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #2396e6;
  --brand-deep: #0c639e;
  --brand-deeper: #084e7c;
  --ink: #102838;
  --muted: #4a6172;
  --foam: #f4f9fc;
  --mist: #e6f3fb;
  --line: #d3e4ef;
  --paper: #ffffff;
  --navy: #072433;
  --navy-2: #0d3348;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --script: "Yellowtail", "Segoe Script", cursive;
  --shadow: 0 18px 50px rgba(7, 36, 51, 0.1);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

::selection {
  background: var(--brand);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 800px) {
  .wrap {
    width: min(1120px, calc(100% - 80px));
  }
}

h1,
h2,
h3,
.price {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.foam {
  background: var(--foam);
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo actions"
    "nav nav";
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0 0.45rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--brand);
  text-decoration: none;
  line-height: 1;
}

.header-bar .logo {
  grid-area: logo;
  justify-self: start;
}

.logo:hover {
  text-decoration: none;
}

.logo-script {
  font-family: var(--script);
  font-size: 2.15rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 0.8;
}

.logo-caps {
  margin-top: 0.2rem;
  padding-left: 0.32em;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.logo-place {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.logo-rule {
  width: 2.25rem;
  height: 3px;
  margin-top: 0.4rem;
  border-radius: 99px;
  background: currentColor;
}

.site-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  padding-bottom: 0.15rem;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  text-decoration: none;
  border-bottom-color: var(--brand);
}

.header-actions {
  grid-area: actions;
  display: flex;
  gap: 0.4rem;
}

@media (min-width: 980px) {
  .header-bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav actions";
    gap: 1.25rem;
    padding: 0.7rem 0;
  }

  .site-nav {
    justify-content: center;
  }

  .logo-script {
    font-size: 2.35rem;
  }
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn svg {
  flex: none;
}

.btn-solid {
  background: var(--brand-deep);
  color: #fff;
}

.btn-solid:hover {
  background: var(--brand-deeper);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border-color: #b7d6ea;
}

.btn-ghost:hover {
  background: var(--mist);
  color: var(--brand-deeper);
  text-decoration: none;
}

.btn-on-dark {
  background: #fff;
  color: var(--navy);
}

.btn-on-dark:hover {
  background: var(--mist);
  color: var(--navy);
  text-decoration: none;
}

.btn-sm {
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Hero ------------------------------------------------------------------ */

.hero {
  padding: 1.5rem 0 2.5rem;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(35, 150, 230, 0.18), transparent 60%),
    radial-gradient(700px 380px at -10% 100%, rgba(35, 150, 230, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--foam) 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero h1 {
  max-width: 11ch;
}

.hero-phone {
  display: inline-block;
  margin: 0.35rem 0 0.15rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.hero-phone:hover {
  color: var(--brand-deep);
}

.hours-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.85rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-actions .btn {
  width: 100%;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-figure figcaption a {
  font-weight: 650;
}

@media (min-width: 720px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

/* Cards and lists ------------------------------------------------------- */

.steps,
.cards,
.offers,
.split {
  display: grid;
  gap: 1rem;
}

.step,
.card,
.offer,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
}

.step-num {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
}

.step h3,
.card h3,
.offer h3 {
  margin-bottom: 0.45rem;
}

.step p,
.card p,
.offer p,
.panel p {
  color: var(--muted);
}

.step p + p,
.card p + p,
.offer p + p,
.panel p + p {
  margin-top: 0.75rem;
}

.card a.more,
.offer a.more {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 650;
}

.price {
  color: var(--brand-deep);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}

.price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.kicker {
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  gap: 0.45rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
}

.note {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
}

@media (min-width: 760px) {
  .steps,
  .offers {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.two,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .service-list.cols {
    grid-template-columns: repeat(2, max-content);
    column-gap: 2.5rem;
    justify-content: start;
  }
}

@media (min-width: 900px) {
  .service-list.cols {
    grid-template-columns: repeat(3, max-content);
  }
}

@media (min-width: 900px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Gallery --------------------------------------------------------------- */

.mosaic {
  display: grid;
  gap: 0.75rem;
}

.mosaic a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--mist);
  aspect-ratio: 4 / 3;
}

.mosaic .wide {
  aspect-ratio: 16 / 10;
}

.mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .mosaic img {
    transition: transform 0.45s ease;
  }

  .mosaic a:hover img {
    transform: scale(1.035);
  }
}

@media (min-width: 800px) {
  .mosaic {
    grid-template-columns: 1.45fr 1fr;
  }

  .mosaic .wide {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
  }
}

.pairs {
  display: grid;
  gap: 1.75rem;
}

.pair {
  display: grid;
  gap: 0.75rem;
}

.shot {
  margin: 0;
}

.shot figcaption {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.shot a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mist);
}

.shot img {
  width: 100%;
}

.pool-gallery {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .pair {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .pool-gallery {
    grid-template-columns: 0.7fr 1.15fr 1fr;
    align-items: start;
  }
}

/* Hours ----------------------------------------------------------------- */

.hours {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hours dt {
  font-weight: 650;
}

.hours dd {
  margin: 0;
  color: var(--muted);
}

.hours.stack {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .hours {
    grid-template-columns: repeat(3, 1fr);
  }

  .hours div {
    display: block;
  }

  .hours dd {
    margin-top: 0.2rem;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    color: var(--ink);
  }

  .hours.stack {
    grid-template-columns: 1fr;
  }

  .hours.stack div {
    display: flex;
  }

  .hours.stack dd {
    margin-top: 0;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 550;
    letter-spacing: 0;
    color: var(--muted);
  }
}

/* Quote ----------------------------------------------------------------- */

.quote-grid {
  display: grid;
  gap: 1rem;
}

.quote-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
}

.quote-aside h2 {
  color: #fff;
}

.quote-aside p,
.quote-aside a {
  color: #d5e8f4;
}

.quote-aside a {
  font-weight: 650;
}

.quote-aside .big-phone {
  display: inline-block;
  margin: 0.8rem 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--brand-deep);
  outline: 3px solid rgba(35, 150, 230, 0.35);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-help {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--mist);
}

.form-status p {
  margin: 0;
}

.form-status .status-links {
  margin-top: 0.55rem;
}

.form-status pre {
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .quote-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .quote-card {
    padding: 1.5rem;
  }
}

/* Page intro ------------------------------------------------------------ */

.page-intro {
  padding: 1.75rem 0 0.5rem;
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(35, 150, 230, 0.14), transparent 60%),
    linear-gradient(180deg, #fff, var(--foam));
}

.crumbs {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--muted);
  font-weight: 650;
}

.page-intro h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  max-width: 14ch;
}

.page-intro .lede {
  margin-top: 0.8rem;
}

.page-intro .actions {
  margin: 1.15rem 0 1.5rem;
}

.prose {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.prose p {
  color: var(--muted);
}

/* Contact --------------------------------------------------------------- */

address {
  font-style: normal;
}

.contact-block {
  display: grid;
  gap: 0.35rem;
  font-size: 1.08rem;
}

.contact-block a {
  font-weight: 650;
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #d5e8f4;
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

.site-footer .logo {
  color: var(--brand);
  align-items: flex-start;
}

.footer-hours {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9db4c4;
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
  }
}

/* Lightbox -------------------------------------------------------------- */

dialog {
  width: min(960px, calc(100vw - 24px));
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

dialog::backdrop {
  background: rgba(7, 36, 51, 0.86);
}

dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  margin: 0 auto;
  border-radius: 12px;
  background: #000;
}

dialog .close {
  position: absolute;
  top: -12px;
  right: 0;
}

.dialog-frame {
  position: relative;
  padding-top: 12px;
}

/* 404 ------------------------------------------------------------------- */

.missing {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 3rem 0 4rem;
}
