/* Turfland site styles. Native CSS, no framework.
   Brand tokens taken from the previous Wix site: olive #565e4f, grey #e9ebeb, Poppins. */

@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f6f7f4;
  --bg-alt: #e9ebe6;
  --surface: #ffffff;
  --ink: #1f241c;
  --ink-soft: #4f5749;
  --brand: #565e4f;
  --brand-deep: #2f352a;
  --accent: #3d7a2a;
  --accent-hover: #336823;
  --on-accent: #ffffff;
  --accent-tint: #e3eedb;
  --line: #d5d9d0;
  --focus: #3d7a2a;
  --star: #c9871a;
  --shadow: 0 18px 40px -24px rgba(47, 53, 42, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141712;
    --bg-alt: #1b1f18;
    --surface: #1f241c;
    --ink: #e8ebe4;
    --ink-soft: #b4bbad;
    --brand: #a9b29f;
    --brand-deep: #0e100c;
    --accent: #9bd17a;
    --accent-hover: #b0dc94;
    --on-accent: #142010;
    --accent-tint: #24301d;
    --line: #333a2e;
    --focus: #9bd17a;
    --star: #e8b04a;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 0.75rem; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-soft); }
.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 58ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

/* Buttons. Rule: buttons are pills, cards and images are 14px. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--pill);
  font: 600 1rem/1 "Poppins", sans-serif; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn .icon { width: 1.2em; height: 1.2em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-light { display: none; } .logo .logo-dark { display: block; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--pill); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.landing .header-inner .header-actions { margin-left: auto; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: var(--pill); }
  .header-actions .btn { padding: 0 16px; }
  .logo img { height: 28px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 760px) { .header-actions .btn-quote-short { display: none; } }

/* Hero: asymmetric split */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media .hero-media-small { position: absolute; left: -48px; bottom: -36px; width: 42%; aspect-ratio: 1; border: 6px solid var(--bg); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-media .hero-media-small { display: none; }
}

/* Proof band directly under hero */
.proof { padding: 0 0 clamp(48px, 6vw, 72px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px 0 0; }
.proof-item .icon { width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.proof-item strong { display: block; font-weight: 600; line-height: 1.3; }
.proof-item span { font-size: 0.9rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 16px; height: 16px; margin: 0; color: var(--star); }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof-grid { grid-template-columns: 1fr; } .proof-item { padding-top: 18px; } }

/* Bento benefits */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); background: var(--surface); padding: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); }
.tile h3 { margin-bottom: 6px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; max-width: 44ch; }
.tile .icon-badge { position: absolute; top: 24px; left: 28px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.tile .icon-badge .icon { width: 24px; height: 24px; }
.tile-photo { color: #fff; border: 0; min-height: 360px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 18, 0) 35%, rgba(20, 24, 18, 0.82) 100%); }
.tile-photo > div { position: relative; z-index: 1; }
.tile-photo p { color: rgba(255, 255, 255, 0.88); }
.tile-brand { background: var(--brand-deep); color: #f1f3ee; border: 0; }
.tile-brand p { color: rgba(241, 243, 238, 0.8); }
.tile-brand .icon-badge { background: rgba(255, 255, 255, 0.1); color: #b8e39b; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .row-2 { grid-row: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .span-4, .span-3, .span-2 { grid-column: span 2; }
  .row-2 { grid-row: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .span-4, .span-3, .span-2 { grid-column: span 1; } }

/* Path chooser (home) */
.paths { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 16px; }
.path { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-img { height: 280px; overflow: hidden; }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.path:hover .path-img img { transform: scale(1.04); }
.path-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.path-body p { color: var(--ink-soft); margin: 0 0 10px; font-size: 0.97rem; }
.path-body .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path-img { height: auto; aspect-ratio: 16 / 9; } }

/* Process: horizontal steps with connecting rule */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.step::after { content: ""; position: absolute; top: 24px; left: 64px; right: -12px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 32px 72px; min-height: 80px; }
  .step::after { top: 56px; left: 23px; right: auto; bottom: 8px; width: 2px; height: auto; }
}

/* Reviews: masonry columns */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.reviews-head .section-head { margin-bottom: 0; }
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review blockquote { margin: 12px 0 18px; font-size: 1.02rem; line-height: 1.6; }
.review figcaption { font-weight: 600; font-size: 0.95rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.review-feature { background: var(--brand-deep); color: #f1f3ee; border: 0; }
.review-feature blockquote { font-size: 1.1rem; }
.review-feature figcaption span { color: rgba(241, 243, 238, 0.72); }

/* Split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.split.reverse .split-media { order: 2; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks .icon { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } .split-media img { aspect-ratio: 4 / 3; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery .g-wide { grid-column: span 7; } .gallery .g-narrow { grid-column: span 5; } .gallery .g-third { grid-column: span 4; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .g-wide, .gallery .g-narrow, .gallery .g-third { grid-column: span 1; } .gallery .g-wide:first-child { grid-column: span 2; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 24px; color: var(--ink-soft); max-width: 65ch; }
.faq-list .answer p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* Quote form */
.quote { background: var(--brand-deep); color: #f1f3ee; }
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote .lede { color: rgba(241, 243, 238, 0.8); }
.quote-contact { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.quote-contact li { display: flex; gap: 14px; align-items: center; }
.quote-contact .icon { width: 24px; height: 24px; color: #b8e39b; }
.quote-contact a { color: #fff; font-weight: 600; text-decoration: none; }
.quote-contact a:hover { text-decoration: underline; }
.area { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(241, 243, 238, 0.16); font-size: 0.95rem; color: rgba(241, 243, 238, 0.78); }
.area strong { color: #fff; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card > p { color: var(--ink-soft); font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid #9aa293; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (prefers-color-scheme: dark) { .field input, .field select, .field textarea { border-color: #5a6352; } }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7364; }
@media (prefers-color-scheme: dark) { .field input::placeholder, .field textarea::placeholder { color: #9aa293; } }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field .help { font-size: 0.82rem; color: var(--ink-soft); }
.field .error { font-size: 0.85rem; color: #b42318; display: none; }
@media (prefers-color-scheme: dark) { .field .error { color: #ff9b8f; } }
.field.invalid input, .field.invalid select { border-color: #b42318; }
.field.invalid .error { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 18px; display: grid; gap: 12px; }
.form-foot small { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; }
.form-foot small a { color: var(--ink-soft); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.error { display: block; background: #fdecea; color: #8a1c12; }
@media (prefers-color-scheme: dark) { .form-status.error { background: #3a1b17; color: #ffc9c2; } }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Landing hero with form */
.lp-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); position: relative; }
.lp-hero-grid { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.lp-hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.lp-hero .hero-photo { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.lp-hero .hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-hero .form-card { position: sticky; top: 92px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 500; }
.mini-proof li { display: inline-flex; align-items: center; gap: 8px; }
.mini-proof .icon { color: var(--accent); width: 20px; height: 20px; }
@media (max-width: 1000px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero .form-card { position: static; }
}

/* CTA band */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); background: var(--accent-tint); }
.cta-inner h2 { margin: 0 0 6px; }
.cta-inner p { margin: 0; color: var(--ink-soft); }
.cta-inner .hero-ctas { justify-content: flex-end; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-inner .hero-ctas { justify-content: flex-start; } }

/* Sports list */
.court-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 28px; list-style: none; }
.court-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: 0.95rem; }
.court-list .icon { color: var(--accent); }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 56px 0 32px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid .logo img { height: 30px; margin-bottom: 14px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 0.85rem; }
.footer-base a { color: var(--ink-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar (landing pages and home) */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .call-bar .btn { min-height: 48px; padding: 0 12px; font-size: 0.95rem; }
  body.has-call-bar { padding-bottom: 76px; }
}

/* Thank you / simple pages */
.simple { min-height: 60vh; padding: clamp(56px, 9vw, 120px) 0; }
.simple .narrow { max-width: 720px; }
.simple h2 { font-size: 1.4rem; margin-top: 2rem; }
.next-steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 600; display: grid; place-items: center; font-size: 0.9rem; }

/* Reveal on scroll: only when JS has set .js and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-anim > * { animation: rise 0.9s var(--ease) both; }
  .hero-anim > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-anim > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-anim > *:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Before and after comparison (drag slider) */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.ba { margin: 0; }
.ba-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--bg-alt); touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-frame .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(20,24,18,.3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 22px; background-repeat: no-repeat; background-position: center; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-handle::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.ba figcaption { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); padding: 10px 2px 0; }
.ba figcaption strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; } .ba-frame { aspect-ratio: 4 / 5; } }

/* Process with photos */
.process-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.process-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .process-photos { grid-template-columns: 1fr 1fr; } }
