/* ==========================================================================
   MEGA Auto Spa
   ========================================================================== */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 50% 150%;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #0a1a2f;
  --navy-2: #11263f;
  --navy-3: #1a3554;
  --blue: #145b90;
  --blue-dark: #0f4870;
  --blue-light: #6db3e6;
  --sky: #eaf3fa;
  --paper: #f6f9fc;
  --ink: #0f1b2b;
  --muted: #526173;
  --line: #d6dfe9;
  --chrome: #b7c3d0;
  --pink: #e0457b;
  --aqua: #37aee6;
  --wax: #f2c230;

  --display: "Anybody", "Arial Black", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px -26px rgba(10, 26, 47, 0.5);
}


/* Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 150%;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow--light {
  color: var(--blue-light);
}

.foam-stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--pink) 0 33.33%, var(--aqua) 33.33% 66.66%, var(--wax) 66.66% 100%);
}


/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.8em 1.45em;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 700 1rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--wax {
  background: var(--wax);
  color: var(--navy);
}

.btn--wax:hover {
  background: #f6cf52;
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-dark);
}

.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}


/* Preview bar (demo only)
   ========================================================================== */

.preview-bar {
  padding: 8px 16px;
  background: #050d18;
  color: var(--chrome);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.preview-bar strong {
  color: #fff;
}


/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: block;
  padding: 6px 0;
}

.logo img {
  width: 172px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  color: #d7e2ee;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav .nav-cta {
  margin-left: 10px;
  background: var(--wax);
  color: var(--navy);
}

.main-nav .nav-cta:hover {
  background: #f6cf52;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: 600 0.95rem var(--body);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    padding: 8px 20px 22px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 14px 8px;
    font-size: 1.05rem;
  }

  .main-nav .nav-cta {
    margin: 10px 0 0;
    text-align: center;
  }
}


/* Home hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  background: var(--navy);
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: end;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 7.4vw, 4.9rem);
  font-stretch: 118%;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: var(--blue-light);
}

.hero-lede {
  max-width: 36ch;
  margin-top: 24px;
  color: #c6d4e3;
  font-size: clamp(1.1rem, 2.1vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  padding: 40px 30px 0;
}

.tunnel-arch {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--navy-3);
  border-bottom: 0;
  border-radius: 220px 220px 0 0;
  background: var(--navy-2);
}

.tunnel-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foam-rings {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  width: 100%;
  overflow: visible;
}

.foam-rings path {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.bubbles circle {
  fill: rgba(255, 255, 255, 0.16);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
}

@media (min-width: 960px) {
  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 48px;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  .hero-art {
    justify-self: end;
  }
}

/* entrance + the slow foam drift */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw-ring {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.9);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-160px) scale(1.05);
  }
}

.hero-copy > * {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-name: none;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.12s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.2s;
}

.tunnel-arch {
  animation: rise-in 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.foam-rings path {
  stroke-dasharray: 1;
  animation: draw-ring 1.4s 0.35s cubic-bezier(0.6, 0, 0.2, 1) both;
}

.foam-rings path:nth-child(2) {
  animation-delay: 0.5s;
}

.foam-rings path:nth-child(3) {
  animation-delay: 0.65s;
}

.bubbles circle {
  transform-box: fill-box;
  animation: float-up 7s linear infinite;
}

.bubbles circle:nth-child(2) { animation-delay: -1.5s; animation-duration: 8s; }
.bubbles circle:nth-child(3) { animation-delay: -3s; }
.bubbles circle:nth-child(4) { animation-delay: -4.6s; animation-duration: 9s; }
.bubbles circle:nth-child(5) { animation-delay: -5.8s; }
.bubbles circle:nth-child(6) { animation-delay: -2.4s; animation-duration: 10s; }


/* Quick facts under the hero
   ========================================================================== */

.facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(2n) {
  border-right: 0;
}

.fact dt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.fact dd {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  line-height: 1;
  color: var(--blue);
}

@media (min-width: 760px) {
  .facts dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fact {
    padding: 28px 24px;
    border-bottom: 0;
  }

  .fact:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .fact:last-child {
    border-right: 0;
  }
}


/* Sections
   ========================================================================== */

.section {
  padding: 84px 0;
}

.section--sky {
  background: var(--sky);
}

.section--white {
  background: #fff;
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 660px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.8vw, 3.1rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.section--navy .section-head p {
  color: #c6d4e3;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo img {
  width: 100%;
}

.photo figcaption {
  padding: 10px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose p + p {
  margin-top: 16px;
}

.prose h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
}

.prose .eyebrow + h2 {
  margin-top: 12px;
}

.prose h2 + p {
  margin-top: 18px;
}

.prose > .btn {
  margin-top: 26px;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 20px;
  border-left: 3px solid var(--aqua);
}

.detail-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-stretch: 112%;
}

.closing-line {
  margin-top: 24px;
  font-weight: 600;
}

.call-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.call-more {
  margin-top: 20px;
}

.section--navy a {
  color: var(--blue-light);
}

.section--navy .btn--wax {
  color: var(--navy);
}

.steps-title {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.section--navy .steps li {
  color: #d7e2ee;
}

.section--navy .steps strong {
  color: #fff;
}

.pass-small {
  margin-top: 26px;
  color: var(--chrome);
  font-size: 0.96rem;
}

.text-link {
  font-weight: 700;
}


/* Price board
   ========================================================================== */

.menu-board {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 980px) {
  .menu-board {
    grid-template-columns: 1.2fr 1fr;
  }
}

.menu-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  background: var(--navy);
  color: #fff;
}

.menu-group__head h3 {
  font-size: 0.95rem;
  font-weight: 700;
  font-stretch: 140%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-group__head span {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  font-stretch: 140%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 18px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}

.tier:first-of-type {
  border-top: 0;
}

.tier--top {
  background: #fffaea;
}

.tier h4 {
  font-size: 1.3rem;
  font-stretch: 115%;
}

.tier__builds {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
}

.tier li::before {
  content: "+";
  margin-right: 5px;
  color: var(--blue);
  font-weight: 700;
}

.tier__price {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  text-align: right;
}

.tier__price strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 120%;
  font-size: 2.15rem;
  line-height: 1;
}

.tier__price span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
}

.menu-notes {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.menu-notes li {
  padding-left: 22px;
  position: relative;
}

.menu-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
}

@media (min-width: 760px) {
  .menu-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}


/* Mega Pass
   ========================================================================== */

.pass-promo {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 14px;
  border-left: 4px solid var(--wax);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
}

.pass-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.pass-table caption {
  padding-bottom: 12px;
  color: var(--chrome);
  font-size: 0.95rem;
  text-align: left;
}

.pass-table th,
.pass-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.pass-table thead th {
  color: var(--blue-light);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  font-stretch: 140%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pass-table tbody th {
  font-family: var(--display);
  font-size: 1.05rem;
  font-stretch: 115%;
}

.pass-table td:nth-child(2) {
  color: var(--wax);
  font-weight: 700;
  font-size: 1.15rem;
}

.pass-table td:last-child {
  color: #d7e2ee;
}

.pass-card {
  position: relative;
}

.pass-card .photo {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.pass-perks {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.pass-perks li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #d7e2ee;
}

.pass-perks strong {
  color: #fff;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 58px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
}


/* Ways to wash (home)
   ========================================================================== */

.ways {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.way {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.way svg {
  grid-row: span 2;
  width: 46px;
  height: 46px;
}

.way h3 {
  font-size: 1.15rem;
  font-stretch: 112%;
}

.way p {
  color: var(--muted);
  font-size: 0.98rem;
}


/* Reviews
   ========================================================================== */

.reviews {
  display: grid;
  gap: 24px;
}

.review {
  position: relative;
  padding: 34px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 22px;
  color: var(--aqua);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.review blockquote {
  margin-top: 20px;
}

.review--feature blockquote p {
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  line-height: 1.5;
}

.review figcaption {
  margin-top: 18px;
  font-weight: 700;
}

.review figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

@media (min-width: 900px) {
  .reviews {
    grid-template-columns: 1.3fr 1fr;
  }

  .review--feature {
    grid-row: span 2;
    align-self: start;
    padding: 46px 40px 36px;
  }
}


/* Why MEGA band
   ========================================================================== */

.why {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.why__photo {
  position: relative;
}

.why__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.why__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0) 40%, var(--navy) 100%);
}

.why__body {
  padding: 8px 0 80px;
}

.why h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.8vw, 3.1rem);
}

.why__lede {
  max-width: 52ch;
  margin-top: 18px;
  color: #c6d4e3;
  font-size: 1.15rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.values li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.values li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--wax);
  transform: rotate(45deg);
}

.why__note {
  max-width: 52ch;
  margin-top: 28px;
  color: var(--chrome);
}

@media (min-width: 900px) {
  .why__photo img {
    height: 380px;
  }

  .why__body {
    margin-top: -90px;
    position: relative;
  }
}


/* Locations
   ========================================================================== */

.locations {
  display: grid;
  gap: 22px;
}

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

.location {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.location h3 {
  font-size: 1.6rem;
  font-stretch: 120%;
}

.location__phone {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 110%;
  text-decoration: none;
}

.location address a {
  color: var(--ink);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  font-size: 0.98rem;
}

.hours td {
  text-align: right;
  white-space: nowrap;
}

.hours th {
  font-weight: 600;
}

.hours tr.is-today th,
.hours tr.is-today td {
  background: var(--sky);
  font-weight: 700;
}

.hours tr.is-today th::after {
  content: " (today)";
  color: var(--blue);
  font-weight: 600;
}

.location__note {
  color: var(--muted);
  font-size: 0.92rem;
}

.location__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.location__links a {
  display: inline-block;
  padding: 6px 0;
}


/* Hiring band
   ========================================================================== */

.hiring-band {
  background: var(--blue);
  color: #fff;
}

.hiring-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-block: 44px;
}

.hiring-band h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

.hiring-band p {
  margin-top: 8px;
  color: #dbe8f4;
}


/* Inner page header
   ========================================================================== */

.page-hero {
  padding: 64px 0 58px;
  background: var(--navy);
  color: #fff;
}

.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  font-stretch: 118%;
}

.page-hero p {
  max-width: 52ch;
  margin-top: 18px;
  color: #c6d4e3;
  font-size: 1.15rem;
}


/* About
   ========================================================================== */

.value-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.value-list div {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.value-list dt {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 130%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.value-list dd {
  color: var(--ink);
}

@media (min-width: 760px) {
  .value-list div {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
}

.founder {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--sky);
}

.founder img {
  width: 110px;
  border-radius: 10px;
}

.founder p {
  font-size: 1rem;
}

.founder strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-stretch: 115%;
}

@media (max-width: 480px) {
  .founder {
    grid-template-columns: 1fr;
  }
}

.photo-row {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .photo-row {
    grid-template-columns: 1.4fr 1fr;
  }
}

.water-note {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about-close {
  margin-top: 60px;
  margin-bottom: 22px;
}

.water-note strong {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  color: var(--aqua);
}


/* Forms
   ========================================================================== */

.form-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 980px) {
  .form-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 56px;
  }
}

.form-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (min-width: 600px) {
  .form-card {
    padding: 36px;
  }
}

.form-card fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-card legend {
  margin-bottom: 4px;
  padding: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 115%;
}

.form-card fieldset + fieldset {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .field-row--3 {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.field label {
  font-weight: 600;
  font-size: 0.98rem;
}

.field .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1.5px solid #b9c6d4;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--body);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(55, 174, 230, 0.35);
  outline-offset: 0;
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  color: #b3261e;
  font-size: 0.92rem;
  font-weight: 600;
}

.field-error:empty,
.form-status:empty {
  display: none;
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--blue);
}

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

.form-card .btn {
  justify-self: start;
}

.form-privacy {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--sky);
  font-weight: 600;
}

.form-status[data-state="sent"] {
  border-color: #1d7a4e;
  color: #145c3a;
}

.form-status[data-state="error"] {
  border-color: #b3261e;
  color: #8f1d17;
}

.side-panel {
  display: grid;
  gap: 18px;
}

.side-panel > div {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--sky);
}

.side-panel h2 {
  font-size: 1.2rem;
  font-stretch: 112%;
}

.side-panel p,
.side-panel ul {
  margin-top: 8px;
  font-size: 0.98rem;
}

.side-panel ul {
  padding-left: 20px;
}


/* Footer
   ========================================================================== */

.site-footer {
  padding: 60px 0 calc(110px + env(safe-area-inset-bottom));
  background: var(--navy);
  color: #c6d4e3;
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  }
}

.footer-brand img {
  width: 180px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 16px;
}

.site-footer h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
  font-stretch: 130%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-block;
  padding: 5px 0;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--chrome);
  font-size: 0.88rem;
}


/* Mobile action bar
   ========================================================================== */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
}

.action-bar a.is-main {
  background: var(--wax);
  border-color: var(--wax);
  color: var(--navy);
}

.action-bar svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (min-width: 900px) {
  .action-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 60px;
  }
}


/* 404
   ========================================================================== */

.not-found {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 90px 0 110px;
}

.not-found h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-stretch: 118%;
}

.not-found p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.15rem;
}


/* Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .bubbles {
    display: none;
  }
}
