/* =====================================================================
   Elite Turf Projects — redesign concept
   Design system: committed brand-green, photography-led, field-line motif
   ===================================================================== */
@import url("fonts.css");

/* ---------- Tokens ---------- */
:root {
  /* type */
  --font-body: "Poppins", Helvetica, Arial, "Lucida Grande", sans-serif;
  --font-display: "Poppins", var(--font-body);

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2:  clamp(1.4rem, 1.28rem + 0.55vw, 1.7rem);
  --step-3:  clamp(1.6rem, 1.42rem + 0.9vw, 2.1rem);
  --step-4:  clamp(1.9rem, 1.6rem + 1.4vw, 2.7rem);
  --step-5:  clamp(2.2rem, 1.75rem + 2.2vw, 3.4rem);

  /* spacing */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;  --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem; --sp-8: 7rem;
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  /* z */
  --z-header: 100; --z-mobilebar: 110; --z-drawer: 200; --z-modal: 300;

  /* ---- Light theme (default) ---- */
  --bg:        oklch(0.984 0.006 158);
  --surface:   oklch(1 0 0);
  --surface-2: oklch(0.955 0.012 158);
  --surface-3: oklch(0.925 0.016 158);
  --ink:       oklch(0.23 0.028 160);
  --ink-2:     oklch(0.40 0.028 162);   /* body — ≥7:1 on --bg */
  --ink-3:     oklch(0.50 0.026 162);   /* muted — still ≥4.5:1 */
  --brand:     oklch(0.36 0.075 159);   /* #124a2f-ish */
  --brand-deep:oklch(0.28 0.062 159);
  --brand-ink: oklch(0.30 0.070 159);   /* brand as readable text on light */
  --accent:    oklch(0.70 0.185 146);   /* #2ab939 action green — fills/lines only */
  --accent-deep:oklch(0.52 0.15 150);
  --border:    oklch(0.90 0.012 160);
  --border-2:  oklch(0.83 0.015 160);
  --line:      var(--brand);            /* field marking line on light */
  --on-brand:  oklch(0.98 0.01 150);
  --shadow-sm: 0 1px 2px oklch(0.30 0.04 160 / 0.06), 0 2px 8px oklch(0.30 0.04 160 / 0.05);
  --shadow-md: 0 8px 24px oklch(0.30 0.05 160 / 0.10), 0 2px 6px oklch(0.30 0.05 160 / 0.06);
  --shadow-lg: 0 26px 60px oklch(0.28 0.05 160 / 0.20);
  --hero-scrim: linear-gradient(180deg, oklch(0.20 0.04 160 / 0.28) 0%, oklch(0.18 0.05 160 / 0.55) 48%, oklch(0.15 0.05 160 / 0.86) 100%);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg:        oklch(0.185 0.022 162);
  --surface:   oklch(0.225 0.026 162);
  --surface-2: oklch(0.262 0.028 162);
  --surface-3: oklch(0.30 0.03 162);
  --ink:       oklch(0.965 0.008 150);
  --ink-2:     oklch(0.83 0.016 150);
  --ink-3:     oklch(0.70 0.02 152);
  --brand:     oklch(0.80 0.15 148);
  --brand-deep:oklch(0.30 0.05 160);
  --brand-ink: oklch(0.86 0.12 150);
  --accent:    oklch(0.76 0.19 146);
  --accent-deep:oklch(0.66 0.17 148);
  --border:    oklch(0.34 0.02 162);
  --border-2:  oklch(0.42 0.024 162);
  --line:      var(--accent);
  --on-brand:  oklch(0.16 0.03 160);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 10px 28px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 26px 60px oklch(0 0 0 / 0.6);
  --hero-scrim: linear-gradient(180deg, oklch(0.14 0.03 160 / 0.45) 0%, oklch(0.13 0.03 160 / 0.66) 48%, oklch(0.11 0.025 160 / 0.92) 100%);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: oklch(0.17 0.045 160); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.008em;
  line-height: 1.1;
}
.overline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.overline::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block;
}
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.section-head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section-head h2 { font-size: var(--step-4); margin-top: 0.6rem; }
.section-head p { margin-top: var(--sp-3); font-size: var(--step-1); color: var(--ink-2); }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1rem; }

/* field-marking divider */
.marking {
  height: 3px; border: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 26px, transparent 26px 44px);
  opacity: 0.55;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--brand); --_fg: var(--on-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.82em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: var(--step-0);
  background: var(--_bg); color: var(--_fg);
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--accent { --_bg: var(--accent); --_fg: oklch(0.17 0.045 160); font-weight: 700; }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: var(--border-2); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--brand); background: var(--surface-2); }
.btn--onphoto { --_bg: oklch(1 0 0 / 0.12); --_fg: #fff; border-color: oklch(1 0 0 / 0.4); box-shadow: none; backdrop-filter: blur(4px); }
.btn--onphoto:hover { --_bg: oklch(1 0 0 / 0.22); }
.btn--lg { padding: 1em 1.7em; font-size: var(--step-1); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.textlink {
  color: var(--brand-ink); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4em;
  border-bottom: 2px solid transparent; padding-bottom: 1px;
  transition: border-color 0.25s, gap 0.3s var(--ease);
}
.textlink:hover { border-color: var(--accent); gap: 0.65em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: var(--banner-h, 2.8em); left: 0; right: 0; z-index: var(--z-header);
  transition: background 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: 74px; padding-block: 0.6rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: 34px; width: auto; transition: filter 0.3s; }
.nav { display: flex; align-items: center; gap: clamp(0.4rem, 1.5vw, 1.6rem); margin-left: auto; }
.nav a {
  font-weight: 500; font-size: var(--step-0); padding: 0.4rem 0.2rem; position: relative;
  color: var(--_navink, var(--ink));
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--_navborder, var(--border-2)); color: var(--_navink, var(--ink));
  transition: background 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); }

/* header states: transparent over hero (light text), solid on scroll */
.site-header[data-mode="transparent"] { --_navink: #fff; --_navborder: oklch(1 0 0 / 0.35); }
.site-header[data-mode="transparent"] .brand img { filter: brightness(0) invert(1); }
.site-header[data-mode="transparent"] .icon-btn:hover { background: oklch(1 0 0 / 0.14); }
.site-header[data-mode="solid"] {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .site-header[data-mode="transparent"] .brand img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .site-header[data-mode="solid"] .brand img { filter: brightness(0) invert(1); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92svh, 820px); display: grid; align-items: end; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-scrim); }
.hero__inner { padding-block: clamp(6rem, 14vh, 9rem) clamp(2.4rem, 6vh, 4rem); color: #fff; }
.hero__inner .overline { color: oklch(0.92 0.05 150); }
.hero__inner .overline::before { background: var(--accent); }
.hero h1 { color: #fff; font-size: var(--step-5); max-width: 17ch; margin-top: var(--sp-3); }
.hero h1 .hl { color: var(--accent); }
.hero__sub { color: oklch(0.94 0.01 150); font-size: var(--step-1); max-width: 46ch; margin-top: var(--sp-4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--sp-5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: var(--sp-5); color: oklch(0.92 0.015 150); font-size: var(--step--1); font-weight: 500; letter-spacing: 0.02em; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* yard-line ruler */
.hero__ruler { display: none; } /* removed to stay closer to their current site */

/* ---------- Dual path ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.6rem, 1.4vw, 1.1rem); }
.pathcard {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: clamp(360px, 46vw, 520px); display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.pathcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.pathcard::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(0.2 0.04 160 / 0.05), oklch(0.15 0.05 160 / 0.8)); }
.pathcard:hover img { transform: scale(1.05); }
.pathcard__body { padding: clamp(1.4rem, 3vw, 2.4rem); width: 100%; }
.pathcard__body h3 { color: #fff; font-size: var(--step-3); }
.pathcard__body p { color: oklch(0.93 0.01 150); margin-top: 0.5rem; max-width: 34ch; }
.pathcard__body .textlink { color: #fff; margin-top: 1rem; }
.pathcard__body .textlink:hover { border-color: var(--accent); }
.pathcard__tag { position: absolute; top: clamp(1rem,2.5vw,1.6rem); left: clamp(1rem,2.5vw,1.6rem);
  font-family: var(--font-display); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: oklch(0.2 0.05 160 / 0.5); backdrop-filter: blur(4px);
  padding: 0.4em 0.8em; border-radius: 999px; border: 1px solid oklch(1 0 0 / 0.25); }

/* ---------- Trust bar ---------- */
.trust { background: var(--surface-2); border-block: 1px solid var(--border); }
.trust__label { text-align: center; color: var(--ink-3); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3.2rem); }
.logos img { height: clamp(34px, 5vw, 52px); width: auto; max-width: 165px; object-fit: contain;
  background: #fff; border-radius: 9px; padding: 9px 14px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease); }
.logos img:hover { transform: translateY(-2px); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(0.7rem, 1.6vw, 1.2rem); }
.svc {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 240px; display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  border: 1px solid var(--border);
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, oklch(0.2 0.05 160 / 0.15) 30%, oklch(0.14 0.05 160 / 0.86)); }
.svc:hover img { transform: scale(1.06); }
.svc__body { padding: clamp(1.1rem, 2.4vw, 1.7rem); }
.svc__body h3 { color: #fff; font-size: var(--step-2); }
.svc__body p { color: oklch(0.92 0.012 150); margin-top: 0.35rem; font-size: var(--step-0); max-width: 40ch; }
.svc--feature { grid-row: span 2; min-height: 500px; }
.svc__list { grid-column: 2; display: grid; gap: clamp(0.7rem, 1.6vw, 1.2rem); }

/* ---------- Group advantage band ---------- */
.groupband { background: var(--brand-deep); color: var(--on-brand); position: relative; overflow: hidden; }
.groupband::before { display: none; }
.groupband .container { position: relative; }
.groupband h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; }
.groupband .display .hl { color: var(--accent); }
.groupband p { color: oklch(0.9 0.02 150); max-width: 54ch; margin-top: var(--sp-3); font-size: var(--step-1); }
.groupgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.groupgrid > div { padding: var(--sp-4); border: 1px solid oklch(1 0 0 / 0.16); border-radius: var(--radius); background: oklch(1 0 0 / 0.04); }
.groupgrid h3 { color: #fff; font-size: var(--step-1); }
.groupgrid p { color: oklch(0.86 0.02 150); font-size: var(--step-0); margin-top: 0.4rem; }
.groupgrid .num { font-family: var(--font-display); color: var(--accent); font-size: var(--step-2); display: block; }

/* ---------- Projects ---------- */
.projgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.project {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project__img { aspect-ratio: 4/3; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project:hover .project__img img { transform: scale(1.05); }
.project__body { padding: var(--sp-4); }
.project__client { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.project__body h3 { font-size: var(--step-1); margin-top: 0.35rem; }
.project__body p { margin-top: 0.5rem; font-size: var(--step-0); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-3); }
.chip { font-size: var(--step--1); font-weight: 600; padding: 0.3em 0.75em; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }
.project--wide { grid-column: 1 / -1; }
.project--wide .project__img { aspect-ratio: auto; }

/* before/after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; border-radius: var(--radius); overflow: hidden; }
.ba figure { position: relative; margin: 0; }
.ba img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba figcaption { position: absolute; top: 0.7rem; left: 0.7rem; font-family: var(--font-display);
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: oklch(0.18 0.05 160 / 0.7); padding: 0.3em 0.7em; border-radius: 999px; }
.ba .after figcaption { background: var(--accent); color: oklch(0.17 0.045 160); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; }
.calc__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; font-size: var(--step-0); }
.field .row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.field input, .field select {
  font: inherit; padding: 0.7em 0.9em; border-radius: 10px; border: 1.5px solid var(--border-2);
  background: var(--bg); color: var(--ink); width: 100%; min-width: 0; transition: border-color 0.2s;
}
.field .row input { flex: 1; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.toggle-row { display: flex; align-items: center; gap: 0.6rem; }
.toggle-row input { width: auto; }
.calc__out { margin-top: var(--sp-4); border-top: 1px solid var(--border); padding-top: var(--sp-4); display: grid; gap: 0.8rem; }
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc__line span:first-child { color: var(--ink-2); }
.calc__line b { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.calc__total { background: var(--surface-2); margin: 0.4rem -0.6rem 0; padding: 0.9rem 0.9rem; border-radius: 10px; }
.calc__total b { color: var(--brand-ink); font-size: var(--step-2); }
.note { font-size: var(--step--1); color: var(--ink-3); }
.flag { display: inline-block; font-size: var(--step--1); font-weight: 600; color: var(--brand-ink);
  background: color-mix(in oklab, var(--accent) 18%, var(--surface)); border: 1px solid var(--border);
  padding: 0.3em 0.7em; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); position: relative; }
.quote__mark { font-family: var(--font-display); color: var(--accent); font-size: 3rem; line-height: 0.6; }
.quote blockquote { font-size: var(--step-1); color: var(--ink); margin: 0.6rem 0 1rem; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; }
.quote figcaption img { height: 38px; width: auto; object-fit: contain; }
.quote figcaption b { color: var(--ink); display: block; }
.quote figcaption span { color: var(--ink-3); font-size: var(--step--1); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-4); border-top: 3px solid var(--border); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: var(--step-3); color: var(--brand-ink); letter-spacing: -0.02em; display: block; }
.step h3 { font-size: var(--step-1); margin-top: 0.3rem; }
.step p { margin-top: 0.5rem; font-size: var(--step-0); color: var(--ink-2); }
.step.is-live { border-top-color: var(--accent); }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area { font-weight: 600; padding: 0.55em 1.05em; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border-2); color: var(--ink); font-size: var(--step-0); transition: border-color 0.2s, background 0.2s; }
.area:hover { border-color: var(--brand); background: var(--surface-2); }

/* ---------- Capabilities (service page) ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem,2vw,1.5rem); }
.cap { padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cap__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--sp-3);
  background: color-mix(in oklab, var(--accent) 16%, var(--surface)); color: var(--brand-ink); }
.cap h3 { font-size: var(--step-1); }
.cap p { margin-top: 0.5rem; font-size: var(--step-0); color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--radius-lg); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, oklch(0.22 0.07 159 / 0.94), oklch(0.2 0.06 159 / 0.72)); }
.cta__inner { padding: clamp(2.2rem, 6vw, 4.4rem); display: grid; gap: var(--sp-4); }
.cta h2 { color: #fff; font-size: var(--step-4); max-width: 20ch; }
.cta p { color: oklch(0.92 0.015 150); max-width: 52ch; font-size: var(--step-1); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--sp-2); }

/* ---------- Quote form (mock) ---------- */
.qform { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); }
.qform .field { margin: 0; }
.qform textarea { grid-column: 1 / -1; font: inherit; padding: 0.7em 0.9em; border-radius: 10px;
  border: 1.5px solid var(--border-2); background: var(--surface); color: var(--ink); min-height: 110px; resize: vertical; }
.qform textarea:focus { outline: none; border-color: var(--accent); }
.qform__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form-msg { font-weight: 600; color: var(--brand-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: oklch(0.9 0.02 150); padding-block: var(--sp-7) var(--sp-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); }
.site-footer .brand img { height: 40px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: var(--step-0); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact p { color: oklch(0.85 0.02 150); margin-top: 0.3rem; }
.accreds { display: flex; align-items: center; gap: 1rem; margin-top: var(--sp-4); }
.accreds img { height: 54px; width: auto; background: #fff; border-radius: 8px; padding: 5px; }
.footer-bottom { border-top: 1px solid oklch(1 0 0 / 0.14); margin-top: var(--sp-6); padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: var(--step--1); color: oklch(0.8 0.02 150); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Skip link ---------- */
.skip { position: fixed; top: -60px; left: 12px; z-index: 500; background: var(--brand); color: #fff;
  padding: 0.7em 1.1em; border-radius: 8px; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* concept banner */
.concept-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 130;
  background: var(--ink); color: var(--bg); text-align: center; font-size: var(--step--1);
  padding: 0.5em 1rem; font-weight: 500; }
.field-lbl { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; font-size: var(--step-0); }
.concept-banner b { color: var(--accent); }

/* ---------- Reveal (progressive enhancement) ----------
   The hidden-then-animate treatment applies ONLY when `reveal-anim` is set
   (a visible tab, motion allowed, IO supported — decided pre-paint in <head>).
   In any other context — hidden/headless tab, no JS, reduced motion — the
   default is fully visible, so content can never ship blank behind a frozen
   transition. */
html.reveal-anim [data-reveal] { opacity: 0; transform: translateY(22px); will-change: opacity, transform; }
html.reveal-anim [data-reveal].in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-io), transform 0.7s var(--ease-io); }
@media (prefers-reduced-motion: reduce) {
  html.reveal-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .dual { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .svc--feature { grid-row: auto; min-height: 300px; }
  .svc__list { grid-column: 1; }
  .calc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .callbar { display: flex; position: fixed; inset: auto 0 0 0; z-index: var(--z-mobilebar);
    background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); padding: 0.6rem; gap: 0.6rem; }
  .callbar .btn { flex: 1; }
  body { padding-bottom: 70px; }
  .ba { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero { min-height: 88svh; }
}

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.drawer[open], .drawer.open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: oklch(0.15 0.04 160 / 0.5); backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
  background: var(--surface); padding: var(--sp-5); display: grid; gap: 0.4rem; align-content: start;
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto; }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel a { padding: 0.8rem 0.4rem; font-size: var(--step-1); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border); }
.drawer__panel .btn { margin-top: var(--sp-3); }
.drawer__close { justify-self: end; margin-bottom: var(--sp-2); }
@media (prefers-reduced-motion: reduce) { .drawer__panel { transition: none; } }
