/* ============ Reset & Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: oklch(0.17 0.012 240);
  font-family: 'Barlow', sans-serif;
  color: oklch(0.75 0.012 225);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:root {
  --bg-dark-a: oklch(0.185 0.013 238);
  --bg-dark-b: oklch(0.155 0.011 242);
  --bg-alt-a: oklch(0.225 0.015 238);
  --bg-alt-b: oklch(0.195 0.013 242);
  --footer-a: oklch(0.145 0.013 243);
  --footer-b: oklch(0.115 0.011 247);
  --card: oklch(0.21 0.014 240);
  --card-border: oklch(0.3 0.02 230);
  --input-border: oklch(0.34 0.02 230);
  --input-bg: oklch(0.19 0.013 240);
  --white: oklch(0.96 0.006 220);
  --white-soft: oklch(0.95 0.006 220);
  --body-text: oklch(0.75 0.012 225);
  --body-text-2: oklch(0.78 0.012 225);
  --muted: oklch(0.65 0.015 225);
  --muted-2: oklch(0.55 0.015 225);
  --muted-3: oklch(0.62 0.015 225);
  --accent: oklch(0.8 0.13 195);
  --accent-hover: oklch(0.86 0.12 195);
  --ink-on-accent: oklch(0.18 0.03 220);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-head p { font-size: 17px; line-height: 1.65; color: var(--body-text); }

.section-dark {
  position: relative;
  background: linear-gradient(165deg, var(--bg-dark-a), var(--bg-dark-b));
  padding: 80px 24px 100px;
  overflow: hidden;
}
.section-alt {
  position: relative;
  background: linear-gradient(165deg, var(--bg-alt-a), var(--bg-alt-b));
  padding: 80px 24px 100px;
  overflow: hidden;
}
.section-dark > .container, .section-alt > .container { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-accent { background: var(--accent); color: var(--ink-on-accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid oklch(0.45 0.02 225);
  color: var(--white-soft);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Noise overlay (anti-hairline utility) ============ */
@keyframes riseIn { 0% { opacity: 0; transform: translateY(26px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes sheenSweep { 0% { transform: translateX(-160%) skewX(-18deg); } 55% { transform: translateX(360%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes tickerMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes footerFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.noise-overlay {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.section-dark::before, .section-alt::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ============ Nav ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, oklch(0.17 0.012 240 / 0.55), transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-solid {
  background: oklch(0.17 0.012 240 / 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: oklch(0.3 0.02 230 / 0.5);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.35s ease;
}
.site-header.is-solid .nav-inner {
  padding: 10px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  height: 108px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}
.site-header.is-solid .brand-logo {
  height: 60px;
}
@media (max-width: 920px) {
  .brand-logo { height: 68px; }
  .site-header.is-solid .brand-logo { height: 46px; }
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: oklch(0.85 0.01 220);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.4px;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  color: var(--white-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
}
.nav-cta-btn {
  background: var(--accent);
  color: var(--ink-on-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 2px;
  transition: background 0.25s ease;
}
.nav-cta-btn:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid oklch(0.35 0.02 230);
  border-radius: 2px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white-soft); }
.nav-toggle span:nth-child(2) { background: var(--accent); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
  border-top: 1px solid oklch(0.3 0.02 230 / 0.5);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: oklch(0.9 0.008 220);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  padding: 12px 4px;
}
.nav-mobile .nav-phone-mobile { color: var(--accent); font-weight: 600; }
.nav-mobile .nav-cta-btn { text-align: center; margin-top: 8px; }

@media (max-width: 920px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, oklch(0.2 0.015 235), oklch(0.2 0.015 235) 16px, oklch(0.23 0.02 230) 16px, oklch(0.23 0.02 230) 32px);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, oklch(0.15 0.015 240 / 0.95) 0%, oklch(0.15 0.015 240 / 0.85) 45%, oklch(0.15 0.015 240 / 0.5) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.hero-sheen-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-sheen {
  position: absolute; top: -20%; bottom: -20%; width: 140px;
  background: linear-gradient(90deg, transparent, oklch(0.9 0.06 200 / 0.07), transparent);
  animation: sheenSweep 7s ease-in-out infinite;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 1240px; margin: 0 auto;
  padding: 130px 24px 90px;
  width: 100%; box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 640px; animation: riseIn 0.9s ease-out both; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero-copy h1 .accent { color: var(--accent); }
.hero-copy > p {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--body-text-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px 24px;
  margin-bottom: 36px;
  max-width: 520px;
  list-style: none;
  padding: 0;
}
.hero-badges li { display: flex; align-items: center; gap: 10px; }
.hero-badges .diamond { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
.hero-badges .label { color: oklch(0.9 0.008 220); font-weight: 500; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stars { margin: 0; color: var(--muted-3); font-size: 14px; }
.hero-stars .stars { color: var(--accent); letter-spacing: 2px; }

/* ---- Fold guarantee: everything through the trusted-stars line must sit
   above the fold on any screen; compress the copy stack as height shrinks ---- */
@media (min-width: 921px) and (max-height: 900px) {
  .brand-logo { height: 76px; }
  .hero-inner { padding-top: 118px; align-items: start; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-copy h1 { font-size: clamp(38px, 5.6vw, 66px); margin-bottom: 16px; }
  .hero-copy > p { margin-bottom: 22px; }
  .hero-badges { margin-bottom: 24px; gap: 10px 22px; }
  .hero-actions { margin-bottom: 20px; }
}
@media (min-width: 921px) and (max-height: 740px) {
  .brand-logo { height: 60px; }
  .hero-inner { padding-top: 100px; }
  .hero-copy .eyebrow { margin-bottom: 8px; font-size: 12px; }
  .hero-copy h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 12px; }
  .hero-copy > p { font-size: 16px; margin-bottom: 16px; }
  .hero-badges { margin-bottom: 16px; gap: 7px 20px; }
  .hero-badges .label { font-size: 14px; }
  .hero-actions { margin-bottom: 14px; }
  .hero-actions .btn { padding: 13px 26px; font-size: 14px; }
}
@media (min-width: 921px) and (max-height: 620px) {
  .brand-logo { height: 50px; }
  .hero-inner { padding-top: 90px; }
  .hero-copy h1 { font-size: clamp(28px, 3.8vw, 42px); }
  .hero-copy > p { font-size: 15px; margin-bottom: 12px; max-width: 460px; }
  .hero-badges { margin-bottom: 12px; }
  .hero-actions { margin-bottom: 12px; }
  .hero-actions .btn { padding: 11px 22px; font-size: 13px; }
}
@media (max-width: 920px) and (max-height: 860px) {
  .brand-logo { height: 52px; }
  .hero-inner { padding-top: 94px; }
  .hero-copy .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .hero-copy h1 { font-size: clamp(32px, 8.2vw, 42px); margin-bottom: 14px; }
  .hero-copy > p { font-size: 15.5px; margin-bottom: 18px; }
  .hero-badges { margin-bottom: 18px; gap: 8px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-badges .label { font-size: 13.5px; }
  .hero-badges .diamond { width: 8px; height: 8px; }
  .hero-actions { margin-bottom: 14px; gap: 10px; }
  .hero-actions .btn { padding: 13px 22px; font-size: 13.5px; }
}
@media (max-width: 920px) and (max-height: 680px) {
  .brand-logo { height: 44px; }
  .hero-inner { padding-top: 84px; }
  .hero-copy h1 { font-size: clamp(26px, 7vw, 34px); margin-bottom: 10px; }
  .hero-copy > p { font-size: 14.5px; margin-bottom: 14px; }
  .hero-badges { margin-bottom: 14px; gap: 6px 14px; }
  .hero-actions { margin-bottom: 12px; }
  .hero-actions .btn { padding: 11px 18px; font-size: 12.5px; }
  .hero-stars { font-size: 13px; }
}

/* Quote card */
.quote-card {
  background: oklch(0.24 0.015 238 / 0.93);
  backdrop-filter: blur(8px);
  border: 1px solid var(--input-border);
  border-top: 3px solid var(--accent);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 3px;
  max-width: 500px; width: 100%;
  box-sizing: border-box;
  justify-self: end;
  animation: riseIn 0.9s ease-out 0.15s both;
  position: relative; z-index: 4;
}
.quote-card h2 {
  font-family: var(--font-display);
  font-weight: 400; font-size: 26px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.quote-card > p { color: var(--body-text); font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.quote-form { display: grid; gap: 13px; }
.quote-form label {
  display: grid; gap: 6px;
  color: oklch(0.82 0.01 222);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.5px;
}
.quote-form label .optional { font-weight: 400; color: var(--muted-3); }
.quote-form input, .quote-form select, .quote-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--white-soft);
  font-size: 16px;
  font-family: var(--font-body);
  width: 100%;
  box-sizing: border-box;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.quote-form textarea { resize: vertical; }
.quote-submit {
  background: var(--accent);
  color: var(--ink-on-accent);
  border: none; cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700; font-size: 15px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 15px 20px; border-radius: 2px;
  min-height: 44px;
}
.quote-submit:hover { background: var(--accent-hover); }
.quote-fineprint { text-align: center; color: var(--muted-3); font-size: 12.5px; margin: 0; }
.quote-success { text-align: center; padding: 34px 10px; }
.quote-success h3 {
  font-family: var(--font-display); font-size: 24px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--accent);
  margin-bottom: 10px;
}
.quote-success p { color: oklch(0.8 0.01 222); font-size: 16px; line-height: 1.6; }
.quote-success a { color: var(--accent); font-weight: 600; text-decoration: none; }
.quote-card[data-sent="true"] .quote-form-wrap { display: none; }
.quote-card[data-sent="true"] .quote-success { display: block; }
.quote-card:not([data-sent="true"]) .quote-success { display: none; }

/* Service-type segmented toggle */
.svc-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 3px;
}
.svc-toggle-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--accent);
  border-radius: 2px;
  z-index: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0.1, 0.2, 1);
}
.svc-toggle:has(input[name="service_type"][value="detailing"]:checked) .svc-toggle-thumb { transform: translateX(100%); }
/* .svc-toggle prefix keeps these ahead of the generic ".quote-form label" rule
   now that each toggle option is a <label> wrapping a radio */
.svc-toggle .svc-toggle-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.28s ease;
}
.svc-toggle .svc-toggle-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.svc-toggle .svc-toggle-btn input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.svc-toggle .svc-toggle-btn:has(input:checked) { color: var(--ink-on-accent); }
.svc-toggle .svc-toggle-btn:has(input:focus-visible) { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 2px; }

/* Conditional service branches */
.quote-branch { display: grid; gap: 12px; }
.quote-form:has(input[name="service_type"][value="washing"]:checked) .branch-detailing { display: none; }
.quote-form:has(input[name="service_type"][value="detailing"]:checked) .branch-washing { display: none; }
.branch-label {
  color: oklch(0.82 0.01 222);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.5px;
}
.stack-label { display: grid; gap: 6px; }

/* Selectable option chips (radio-based) */
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; margin: 0; }
.chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.chip-face {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--input-border);
  border-radius: 999px;
  background: var(--input-bg);
  color: var(--body-text);
  font-size: 14px; font-weight: 600; letter-spacing: 0.2px;
  line-height: 1.1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover .chip-face { border-color: var(--accent); color: var(--white-soft); }
.chip input:checked + .chip-face {
  background: oklch(0.8 0.13 195 / 0.16);
  border-color: var(--accent);
  color: var(--white);
}
.chip input:focus-visible + .chip-face { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============ Ticker ============ */
.ticker-wrap {
  background: var(--accent);
  transform: skewY(-1.2deg);
  margin: -26px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track { display: flex; width: max-content; animation: tickerMove 26s linear infinite; white-space: nowrap; }
.ticker-track span {
  font-family: var(--font-display);
  font-size: 17px; letter-spacing: 2.5px;
  color: var(--ink-on-accent);
  text-transform: uppercase;
}

/* Diagonal dividers */
.divider { height: 90px; position: relative; }
.divider--dark-to-alt { background: linear-gradient(to bottom left, var(--bg-dark-b) 49.7%, var(--bg-alt-a) 50.3%); }
.divider--alt-to-dark { background: linear-gradient(to bottom right, var(--bg-alt-b) 49.7%, var(--bg-dark-a) 50.3%); }
.divider-bar { position: absolute; width: 90px; height: 6px; background: var(--accent); top: 34px; }
.divider-bar--right { right: 8%; transform: skewY(3.1deg); }
.divider-bar--left { left: 8%; transform: skewY(-3.1deg); }

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 3px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: oklch(0.17 0.012 240 / 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent);
  font-weight: 700; font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
  border: 1px solid oklch(0.8 0.13 195 / 0.35);
}
.service-card:hover { border-color: oklch(0.8 0.13 195 / 0.6); transform: translateY(-4px); }
.service-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.service-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  letter-spacing: 0.8px; text-transform: uppercase; color: var(--white);
}
.service-body p { color: var(--body-text); font-size: 15.5px; line-height: 1.6; flex: 1; }
.service-link {
  color: var(--accent); text-decoration: none; font-weight: 700;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  transition: letter-spacing 0.25s ease;
}
.service-link:hover { letter-spacing: 2px; }

/* Show at most 3 services on mobile, 6 on desktop, until "See More" is used */
.service-card--tier2, .service-card--tier3 { display: none; }
@media (min-width: 701px) {
  .service-card--tier2 { display: flex; }
}
.services-grid.is-expanded .service-card--tier2,
.services-grid.is-expanded .service-card--tier3 { display: flex; }

.grid-toggle { text-align: center; margin-top: 40px; }
.see-more-btn { min-height: 44px; }

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 48px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  aspect-ratio: 4/5; max-height: 560px; width: 100%; object-fit: cover;
  border-radius: 3px;
}
.about-badge {
  position: absolute; left: -1px; bottom: -1px;
  background: var(--accent); color: var(--ink-on-accent);
  font-family: var(--font-display); font-size: 15px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 20px;
}
.about-copy > p.lead { font-size: 17px; line-height: 1.65; color: var(--body-text); margin-bottom: 34px; }
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}
.about-feature { border-left: 2px solid var(--accent); padding-left: 16px; }
.about-feature h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 18px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--white);
  margin-bottom: 6px;
}
.about-feature p { color: oklch(0.73 0.012 225); font-size: 15px; line-height: 1.55; }

/* ============ Gallery / Our Work tabs ============ */
.work-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin: -16px 0 40px;
}
.work-tab {
  font-family: var(--font-display);
  font-weight: 400; font-size: 16px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted-3);
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 2px;
  padding: 12px 28px; min-height: 44px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.work-tab:hover { color: var(--accent); border-color: oklch(0.8 0.13 195 / 0.5); }
.work-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.work-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--ink-on-accent);
  border-color: var(--accent);
}
.gallery-grid[hidden] { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.gallery-grid img {
  aspect-ratio: 4/3; width: 100%; object-fit: cover;
  border-radius: 3px; border: 1px solid var(--card-border);
}
.gallery-cta { text-align: center; margin-top: 40px; }

/* Show at most 3 photos per tab on mobile, all 6 on desktop, until "See More" is used */
.gallery-grid .g-tier2 { display: none; }
@media (min-width: 701px) {
  .gallery-grid .g-tier2 { display: block; }
}
.gallery-grid.is-expanded .g-tier2 { display: block; }
.gallery-grid .grid-toggle { grid-column: 1 / -1; margin-top: 4px; }
@media (min-width: 701px) {
  .grid-toggle--mobile-only { display: none; }
}

/* ============ Reviews ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.review-card {
  background: oklch(0.24 0.015 238); border: 1px solid var(--input-border);
  border-radius: 3px; padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card .stars { color: var(--accent); letter-spacing: 3px; font-size: 16px; }
.review-card p { color: oklch(0.85 0.01 222); font-size: 16px; line-height: 1.65; flex: 1; }
.review-card .attribution { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: oklch(0.22 0.015 240 / 0.6); backdrop-filter: blur(3px);
  border: 1px solid var(--card-border);
  border-radius: 3px; padding: 0 24px;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; cursor: pointer; padding: 20px 0;
  color: var(--white-soft); font-weight: 600; font-size: 17px;
}
.faq-item summary .icon {
  color: var(--accent); font-family: var(--font-display);
  font-size: 20px; flex-shrink: 0;
}
.faq-item[open] summary .icon { transform: rotate(45deg); display: inline-block; }
.faq-item p { margin: 0; padding: 0 0 22px; color: var(--body-text); font-size: 16px; line-height: 1.65; }

/* ============ CTA banner ============ */
.cta {
  position: relative;
  background: linear-gradient(to bottom, var(--bg-dark-b), var(--footer-a));
  padding: clamp(66px, 12vw, 118px) 24px clamp(72px, 13vw, 124px); text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.035; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--white);
  text-wrap: balance; margin-bottom: 18px;
}
.cta-inner > p { font-size: 18px; line-height: 1.6; color: var(--body-text-2); margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============ Footer ============ */
.footer {
  position: relative;
  background: linear-gradient(170deg, var(--footer-a), var(--footer-b));
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.035; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.ft-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 90px 24px 0; }
.ft-top { position: relative; }
.ft-wm-wrap {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.ft-wm {
  font-family: var(--font-display); font-weight: 400; line-height: 0.88;
  font-size: clamp(50px, 9vw, 130px); text-align: right;
  padding: 0 32px 6px 0; text-transform: uppercase;
}
.ft-wm-l1 { color: oklch(0.4 0.02 225 / 0.5); }
.ft-wm-l2 { display: block; color: oklch(0.8 0.13 195 / 0.3); }
.fw-letter {
  display: inline-block; opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.34, 1.4, 0.5, 1), transform 0.7s cubic-bezier(0.34, 1.4, 0.5, 1);
  transition-delay: calc(var(--i) * 40ms);
}
.footer.is-revealed .fw-letter { opacity: 1; transform: translateY(0); }

.foot-rise {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i) * 70ms);
}
.footer.is-revealed .foot-rise { opacity: 1; transform: translateY(0); }

.ft-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1.05fr; gap: 48px 64px; }

.ft-pill {
  display: inline-block; background: oklch(0.8 0.13 195 / 0.12); color: var(--accent);
  font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; border: 1px solid oklch(0.8 0.13 195 / 0.3);
  margin-bottom: 20px;
}
.ft-heading {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.5px;
  font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; line-height: 1.15;
  color: var(--white); margin-bottom: 14px; max-width: 420px;
}
.ft-copy { color: var(--body-text); font-size: 15px; line-height: 1.6; margin-bottom: 26px; max-width: 420px; }
.ft-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--ink-on-accent);
  font-weight: 700; padding: 14px 10px 14px 22px; border-radius: 2px;
  text-decoration: none; font-size: 14px; letter-spacing: 0.8px; text-transform: uppercase;
}
.ft-cta-circle {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: oklch(0.18 0.03 220 / 0.16); align-items: center; justify-content: center;
}
.ft-cta-circle svg { width: 15px; height: 15px; }
.ft-nav { margin-top: 34px; border-top: 1px solid oklch(1 0 0 / 0.1); max-width: 420px; }
.ft-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; border-bottom: 1px solid oklch(1 0 0 / 0.1);
  text-decoration: none; color: var(--white-soft);
  font-family: var(--font-display); font-weight: 400; font-size: 17px;
  letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s ease;
}
.ft-nav-row svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ft-nav-row:hover { color: var(--accent); }

.ft-col-title {
  font-family: var(--font-display); font-weight: 400; font-size: 16px;
  letter-spacing: 1.5px; text-transform: uppercase; color: oklch(0.85 0.01 220);
  margin-bottom: 16px;
}
.ft-col-copy { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 28px; }
.ft-links { display: flex; flex-direction: column; gap: 10px; }
.ft-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.ft-links a:hover { color: var(--accent); }

.ft-contact { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ft-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ft-contact a { color: var(--accent); text-decoration: none; font-weight: 600; }
.ft-ico { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }
.ft-ico svg { width: 100%; height: 100%; }
.ft-cred {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 13.5px; margin: 0 0 22px;
}
.ft-cred svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ft-pay-label { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.ft-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-pay span { border: 1px solid oklch(1 0 0 / 0.12); border-radius: 2px; padding: 6px 12px; font-size: 12.5px; color: var(--muted); }

.ft-bottom {
  position: relative; z-index: 1; border-top: 1px solid oklch(0.24 0.015 240);
  margin-top: 56px; padding: 24px 0; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
}
.ft-bottom p { color: var(--muted-2); font-size: 13.5px; margin: 0; }
.ft-bottom-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ft-social { display: flex; gap: 10px; }
.ft-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid oklch(1 0 0 / 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
}
.ft-social a svg { width: 16px; height: 16px; }
.ft-social a:hover { color: var(--accent); border-color: var(--accent); }
.ft-legal { display: flex; gap: 10px; align-items: center; color: var(--muted-2); font-size: 13.5px; }
.ft-legal a { color: var(--muted-2); text-decoration: none; }
.ft-legal a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr; gap: 40px; }
  .ft-wm { font-size: 56px; padding-right: 20px; }
}
@media (max-width: 600px) {
  .ft-bottom { justify-content: center; text-align: center; }
}

/* ============ Premium section background FX ============ */
@property --mx { syntax: '<length-percentage>'; inherits: true; initial-value: -400px; }
@property --my { syntax: '<length-percentage>'; inherits: true; initial-value: -400px; }

/* Reviews — rising bokeh droplets. The field extends up over the Our Work/Reviews
   divider and is clipped along that divider's real diagonal, so droplets ride all the
   way up and dissolve exactly at the slant that separates the two sections. */
#reviews { overflow: visible; }
.fx-bokeh-field {
  position: absolute; top: -90px; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  /* Soft top fade so rising droplets dissolve into the divider instead of
     hard-clipping at the top edge — the hard clip cut looked broken on mobile,
     where droplets reached the top and vanished abruptly. The ~90px divider
     sits inside this fade band, so droplets thin out right as they reach it. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
          mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
}
.fx-bokeh-field .fx-b {
  position: absolute; bottom: -60px; border-radius: 50%; filter: blur(1px);
  background: radial-gradient(circle at 35% 30%, oklch(0.95 0.06 195 / 0.55), oklch(0.8 0.13 195 / 0.12) 60%, transparent 72%);
  animation: fxRise linear infinite;
}
@keyframes fxRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  9% { opacity: 0.85; }
  100% { transform: translateY(-102vh) translateX(26px); opacity: 0.85; }
}

/* Mobile: the reviews section stacks into one tall column — taller than the
   droplets' 102vh rise — so on phones a droplet reaches the peak of its travel
   still at full opacity and the "linear infinite" loop snaps it back to the
   bottom, reading as a hard pop (full droplet → nothing). Fade each droplet to
   zero as it climbs into the upper area so it dissolves into the top instead,
   and widen the top mask so the dissolve is top-first and gradual. */
@media (max-width: 700px) {
  .fx-bokeh-field {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  }
  .fx-bokeh-field .fx-b { animation-name: fxRiseMobile; }
}
@keyframes fxRiseMobile {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  9% { opacity: 0.85; }
  58% { opacity: 0.85; }
  100% { transform: translateY(-102vh) translateX(26px); opacity: 0; }
}

/* FAQ — flowing water caustics + subtle cursor bloom */
.fx-caustics-flow {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.fx-caustics-flow .flow {
  position: absolute; top: -15%; bottom: -15%; left: 0; width: 200%;
  mix-blend-mode: screen; opacity: 0.62; filter: blur(8px);
  background-image:
    radial-gradient(40% 50% at 12% 28%, oklch(0.78 0.13 195 / 0.62), transparent 60%),
    radial-gradient(34% 44% at 34% 68%, oklch(0.82 0.12 195 / 0.52), transparent 60%),
    radial-gradient(30% 40% at 46% 40%, oklch(0.76 0.13 195 / 0.46), transparent 60%),
    radial-gradient(36% 46% at 24% 90%, oklch(0.8 0.12 195 / 0.44), transparent 60%);
  background-size: 50% 100%;
  background-repeat: repeat-x;
  animation: fxCaustFlow 20s linear infinite;
}
.fx-caustics-flow .flow-b {
  opacity: 0.42; filter: blur(17px);
  background-position: 32% 0;
  animation-duration: 33s;
}
@keyframes fxCaustFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fx-caustics-flow .bloom {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(circle 320px at var(--mx) var(--my), oklch(0.86 0.11 195 / 0.13), transparent 74%);
}
.fx-caustics-flow.is-active .bloom { opacity: 1; }
.fx-caustics-flow.auto-bloom .bloom { opacity: 1; }
.fx-caustics-flow.auto-bloom { animation: fxBloomDrift 13s ease-in-out infinite; }
@keyframes fxBloomDrift {
  0%, 100% { --mx: 22%; --my: 32%; }
  25% { --mx: 72%; --my: 24%; }
  50% { --mx: 80%; --my: 70%; }
  75% { --mx: 34%; --my: 76%; }
}

/* CTA — WebGL water-ripple distortion */
.cta-ripple {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(177deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(177deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.cta-ripple canvas { display: block; width: 100%; height: 100%; }
.cta-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 58% at 50% 42%, oklch(0.10 0.018 242 / 0.72), transparent 72%),
    linear-gradient(to bottom, oklch(0.14 0.018 242 / 0.4), transparent 28%, transparent 72%, oklch(0.135 0.016 244 / 0.5));
}
.cta .cta-inner { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .hero-sheen, .ticker-track { animation: none; }
  .fw-letter, .foot-rise { transition: none; opacity: 1; transform: none; }
  .fx-bokeh-field, .fx-caustics-flow, .cta-ripple { display: none; }
}
