/* ==========================================================
   Bloomline Outdoor Co. — Concept Demo
   Palette, type and motion are owned by this project. Deliberately
   unlike Copperline (near-black + copper), Blendzz (black/ivory/gold),
   Alder & Ash (plaster/walnut) and Northline (cream/navy/copper).
========================================================== */

:root {
  /* colour */
  --sky:        #1FA2FF;
  --sky-deep:   #0B7FD4;
  --sky-soft:   #D6EDFF;
  --lime:       #8BE04E;
  --lime-deep:  #6BC22F;
  --green:      #2FBF71;
  --gold:       #FFC93C;
  --coral:      #FF6B4A;
  --ink:        #0B2E24;   /* deep green-black: text + anchor sections */
  --ink-2:      #123D30;
  --ink-soft:   #3C6155;
  --cream:      #F4F8EF;
  --cream-2:    #EAF2E3;
  --white:      #FFFFFF;

  /* type */
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* system */
  --shell: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --anchor-offset: calc(var(--header-h) + 22px);
  --r-lg: 30px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --ease-pop: cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --shadow: 0 22px 50px -24px rgba(11, 46, 36, 0.34);
  --shadow-lg: 0 40px 90px -36px rgba(11, 46, 36, 0.45);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); }
body {
  margin: 0;
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

section[id], header[id], main[id] { scroll-margin-top: var(--anchor-offset); }
h1, h2, .why-card h3, .proc-body h3, .proj-body h3 { text-wrap: balance; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.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; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lime-deep); margin-bottom: 14px;
}
.eyebrow-light { color: var(--lime); }
.section-lede { font-size: clamp(1.03rem, 1.2vw, 1.15rem); color: var(--ink-soft); max-width: 52ch; }

/* Swipe underline: an accent that draws itself when the heading reveals.
   Painted as a background rather than a positioned pseudo-element so the
   phrase is free to wrap on narrow screens — box-decoration-break repeats
   the highlight on every line instead of stretching one box across them. */
.ul-swipe {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.reveal.is-in .ul-swipe,
.is-in .ul-swipe { background-size: 100% 0.28em; transition: background-size 0.75s var(--ease) 0.25s; }
.hi-gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 100px;
  font-family: var(--ui); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(11, 46, 36, 0.55);
  transition: transform 0.28s var(--ease-pop), box-shadow 0.28s var(--ease), background-color 0.24s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(11, 46, 36, 0.6); }
.btn:active { transform: translateY(-1px); }
.btn-arrow { transition: transform 0.32s var(--ease-pop); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-lime { --btn-bg: var(--lime); }
.btn-lime:hover { background: #97ea5c; }
.btn-gold { --btn-bg: var(--gold); }
.btn-gold:hover { background: #ffd45f; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(11, 46, 36, 0.22);
}
.btn-ghost:hover { background: rgba(11, 46, 36, 0.06); box-shadow: inset 0 0 0 2px rgba(11, 46, 36, 0.4); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 0.94rem; }
.btn-wide { width: 100%; justify-content: center; }

.tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 6px; top: 4.5px;
  width: 5px; height: 9px; border: solid var(--ink);
  border-width: 0 2.4px 2.4px 0; transform: rotate(42deg);
}
.tick-gold { background: var(--gold); }

/* ==========================================================
   HEADER
========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  height: var(--header-h);
  transition: background-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.site-header.is-stuck {
  background: rgba(244, 248, 239, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(11, 46, 36, 0.09), 0 18px 40px -34px rgba(11, 46, 36, 0.5);
}
.header-bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.brand-mark { flex: none; }
.brand-words { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.brand-sub {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 3px;
}

.demo-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 100px;
  background: rgba(31, 162, 255, 0.14);
  color: var(--sky-deep);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.demo-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

.site-menu { margin-left: auto; }
.site-menu ul { display: flex; align-items: center; gap: 6px; }
.site-menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 15px; border-radius: 100px;
  font-weight: 600; font-size: 0.97rem; text-decoration: none;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.site-menu a:not(.btn):hover { background: rgba(11, 46, 36, 0.07); }
.menu-cta { margin-left: 8px; }

.menu-btn {
  display: none; position: relative; z-index: 80; margin-left: auto;
  align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
  background: var(--ink); color: var(--white);
  border: 0; border-radius: 100px; font-weight: 700; cursor: pointer;
}
.menu-btn-bars { display: grid; gap: 4px; }
.menu-btn-bars i {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ==========================================================
   HERO
========================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(30px, 5vw, 62px));
  padding-bottom: clamp(96px, 12vw, 168px);
  overflow: hidden;
}
.aurora { position: absolute; inset: -10% -10% 0 -10%; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-sky  { width: 46vw; height: 46vw; left: 46%; top: -12%;  background: var(--sky);  animation: drift1 19s var(--ease) infinite alternate; }
.blob-lime { width: 38vw; height: 38vw; left: -6%; top: 18%;   background: var(--lime); animation: drift2 23s var(--ease) infinite alternate; }
.blob-gold { width: 26vw; height: 26vw; left: 62%; top: 46%;   background: var(--gold); opacity: 0.38; animation: drift3 17s var(--ease) infinite alternate; }

@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6%, 5%, 0) scale(1.12); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(7%, -6%, 0) scale(0.94); } }
@keyframes drift3 { from { transform: translate3d(0,0,0) scale(0.95); } to { transform: translate3d(-9%, -7%, 0) scale(1.15); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 66px); align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px; border-radius: 100px;
  background: var(--white); box-shadow: var(--shadow);
  font-size: 0.82rem; font-weight: 700; color: var(--ink-2);
  margin-bottom: 22px;
}
.kicker-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(139, 224, 78, 0.8);
  animation: pulseDot 2.6s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(139, 224, 78, 0.75); }
  70%  { box-shadow: 0 0 0 12px rgba(139, 224, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 224, 78, 0); }
}

#hero-title { font-size: clamp(2.9rem, 6.3vw, 5.1rem); margin-bottom: 22px; }
#hero-title .hl { display: block; }
/* The headline phrase that carries the brand: sky fill + gold swipe.
   Painted as a background so it sits tight under the glyphs and needs no
   negative z-index trickery. Default is the finished state, so no-JS and
   reduced-motion both get a complete headline. */
.wordmark {
  color: var(--sky-deep); white-space: nowrap;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 97%;
  background-size: 100% 0.2em;
}
.hero-lede { font-size: clamp(1.06rem, 1.35vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; }

/* hero artwork */
.hero-art { position: relative; }
.scene-card {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.scene-tilt { transform: rotate(-2.2deg); }
/* Fixed frame, so the photograph can never shift the layout as it loads. */
.scene { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.float-badge {
  position: absolute; display: inline-flex; flex-direction: column;
  padding: 12px 18px; border-radius: 100px;
  background: var(--white); box-shadow: var(--shadow);
  font-size: 0.86rem; line-height: 1.25; z-index: 2;
}
.float-badge strong { font-weight: 800; }
.float-badge em { font-style: normal; color: var(--ink-soft); font-size: 0.78rem; }
.fb-1 { left: -22px; top: 12%; animation: floaty 6s ease-in-out infinite; }
.fb-2 { right: -14px; top: 42%; animation: floaty 7.4s ease-in-out infinite 0.6s; }
.fb-3 {
  left: 8%; bottom: -18px; flex-direction: row; align-items: center; gap: 9px;
  font-weight: 700; background: var(--ink); color: var(--white);
  animation: floaty 8s ease-in-out infinite 1.1s;
}
.fb-leaf { width: 12px; height: 12px; border-radius: 0 100% 0 100%; background: var(--lime); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-note {
  position: relative; z-index: 1;
  margin-top: clamp(40px, 6vw, 70px);
  font-size: 0.86rem; color: var(--ink-soft);
}

.curve-divider { position: absolute; inset: auto 0 -1px 0; line-height: 0; z-index: 1; }
.curve-divider svg { width: 100%; height: clamp(48px, 6vw, 90px); }

/* ==========================================================
   MARQUEE
========================================================== */
.marquee { background: var(--ink); color: var(--white); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.marquee-set span:not(.m-dot) {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.6rem); white-space: nowrap;
}
.m-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   SERVICES — expanding rows
========================================================== */
.services { padding: clamp(74px, 10vw, 130px) 0; background: var(--cream); }
.svc-head { margin-bottom: clamp(34px, 5vw, 56px); }
.svc-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: 16px; }

.svc-list { border-top: 2px solid rgba(11, 46, 36, 0.14); }
.svc-row { border-bottom: 2px solid rgba(11, 46, 36, 0.14); transition: background-color 0.35s var(--ease); }
.svc-row.is-open { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); border-bottom-color: transparent; }

.svc-trigger {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 20px;
  width: 100%; min-height: 92px; padding: 18px clamp(16px, 2.4vw, 28px);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.svc-num {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  color: var(--lime-deep); letter-spacing: 0.04em;
}
.svc-name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2.35rem); letter-spacing: -0.028em;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.svc-row:hover .svc-name, .svc-row.is-open .svc-name { transform: translateX(10px); color: var(--sky-deep); }
.svc-tag {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(11, 46, 36, 0.07);
  padding: 6px 12px; border-radius: 100px; white-space: nowrap;
}
.svc-plus {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); flex: none;
  transition: transform 0.4s var(--ease-pop), background-color 0.3s var(--ease);
}
.svc-plus::before, .svc-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 2.4px; background: var(--white); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-pop), opacity 0.3s var(--ease);
}
.svc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-row.is-open .svc-plus { background: var(--lime); transform: rotate(180deg); }
.svc-row.is-open .svc-plus::before, .svc-row.is-open .svc-plus::after { background: var(--ink); }
.svc-row.is-open .svc-plus::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.svc-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.svc-panel-inner {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 44px);
  padding: 0 clamp(16px, 2.4vw, 28px) 30px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--ease) 0.08s, transform 0.45s var(--ease) 0.08s;
}
.svc-row.is-open .svc-panel-inner { opacity: 1; transform: none; }
.svc-text p { color: var(--ink-soft); margin-bottom: 16px; }
.svc-bullets { display: grid; gap: 9px; }
.svc-bullets li { position: relative; padding-left: 24px; font-size: 0.96rem; }
.svc-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 10px; border-radius: 0 100% 0 100%; background: var(--lime);
}

/* Each service photograph sits in a fixed 3:2 frame. Without the ratio the
   frame stretched to the panel row and reached 4.78:1 at 768px, which cropped
   a photograph to roughly its middle fifth. align-self keeps the grid row from
   stretching it back. */
.svc-visual {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3 / 2; align-self: start; background: var(--sky-soft);
}
.svc-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   WHY
========================================================== */
.why { position: relative; background: var(--ink); color: var(--white); padding: clamp(78px, 11vw, 140px) 0; }
.why-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.why-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 18px; }
.why-copy .section-lede { color: rgba(255, 255, 255, 0.76); margin-bottom: 30px; }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  position: relative; padding: 28px 24px 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease-pop), background-color 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-7px); background: rgba(255, 255, 255, 0.1); }
/* Alternate cards sit lower so the pair never reads as a plain 2×2 grid.
   Offset with margin, not transform — the scroll-reveal owns transform and
   would otherwise reset the stagger the moment a card animates in. */
.why-card:nth-child(even) { margin-top: 34px; }
.wc-num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 2.5rem; line-height: 1; color: var(--lime); margin-bottom: 12px;
}
.why-card h3 { font-size: 1.16rem; margin-bottom: 9px; letter-spacing: -0.015em; }
.why-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

/* ==========================================================
   WORK + BEFORE/AFTER
========================================================== */
.work { padding: clamp(74px, 10vw, 130px) 0; background: var(--cream); }
.work-head { margin-bottom: clamp(30px, 4vw, 48px); }
.work-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: 14px; }

.ba { position: relative; }
.ba-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 1200 / 620; background: var(--ink-2);
  touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; }
/* Both layers use the identical frame and fit, so the two photographs cannot
   drift apart as the handle moves. */
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 52%); will-change: clip-path; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 52%;
  width: 4px; margin-left: -2px; background: var(--white);
  cursor: ew-resize; z-index: 3;
  box-shadow: 0 0 22px rgba(11, 46, 36, 0.35);
}
.ba-knob {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease-pop);
}
.ba:hover .ba-knob { transform: translate(-50%, -50%) scale(1.09); }
.ba-label {
  position: absolute; bottom: 18px; z-index: 4;
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.ba-label-before { left: 18px; background: rgba(11, 46, 36, 0.72); color: var(--white); }
.ba-label-after { right: 18px; background: var(--lime); color: var(--ink); }

/* The range input is the keyboard-accessible control for the same value. */
.ba-range-wrap { display: block; margin-top: 16px; }
.ba-range { width: 100%; accent-color: var(--lime); height: 44px; cursor: ew-resize; }
.ba-hint { text-align: center; margin-top: 4px; font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

.proj-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.2vw, 26px); margin-top: clamp(44px, 6vw, 76px);
}
.proj {
  border-radius: var(--r-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-pop), box-shadow 0.4s var(--ease);
}
.proj:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
/* Uneven spans + offsets so the three never read as equal cards. */
.proj-a { grid-column: span 5; }
.proj-b { grid-column: span 4; margin-top: clamp(0px, 3vw, 42px); }
.proj-c { grid-column: span 3; margin-top: clamp(0px, 6vw, 84px); }

.proj-art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.pa-1 { background: linear-gradient(165deg, #8fd8ff, #2fbf71); }
.pa-2 { background: linear-gradient(165deg, #d8f5c2, #6bc22f); }
.pa-3 { background: linear-gradient(165deg, #ffe6a8, #ff6b4a); }
.pa-sun { position: absolute; right: 16%; top: 14%; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); }
.pa-hedge { position: absolute; left: 10%; right: 10%; bottom: 0; height: 42%; border-radius: 22px 22px 0 0; background: var(--ink-2); }
.pa-stripes { position: absolute; inset: auto 0 0 0; height: 62%;
  background: repeating-linear-gradient(180deg, rgba(11,46,36,0.16) 0 14px, transparent 14px 30px); }
.pa-leaves { position: absolute; inset: 0;
  background:
    radial-gradient(16px 16px at 24% 32%, #e0552f 98%, transparent 100%),
    radial-gradient(14px 14px at 62% 24%, var(--coral) 98%, transparent 100%),
    radial-gradient(18px 18px at 44% 66%, #e0552f 98%, transparent 100%),
    radial-gradient(13px 13px at 78% 62%, var(--coral) 98%, transparent 100%); }

.proj-body { padding: 24px 24px 28px; }
.proj-tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--lime-deep); margin-bottom: 9px;
}
.proj-body h3 { font-size: 1.24rem; margin-bottom: 9px; }
.proj-body p { color: var(--ink-soft); font-size: 0.95rem; }

.work-disclosure {
  margin-top: clamp(30px, 4vw, 46px);
  padding-left: 16px; border-left: 4px solid var(--gold);
  font-size: 0.9rem; color: var(--ink-soft); max-width: 62ch;
}

/* ==========================================================
   PROCESS
========================================================== */
.process { position: relative; background: var(--ink-2); color: var(--white); padding: clamp(78px, 11vw, 140px) 0; }
.proc-head { margin-bottom: clamp(40px, 6vw, 66px); }
.proc-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }

.proc-wrap { position: relative; }
.proc-path { display: grid; gap: clamp(26px, 3.4vw, 42px); padding-left: 74px; }
.proc-line { position: absolute; left: 27px; top: 12px; bottom: 12px; width: 3px; background: rgba(255, 255, 255, 0.14); border-radius: 3px; }
.proc-line-fill {
  display: block; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--lime), var(--sky));
  border-radius: 3px; transition: height 0.25s linear;
}
.proc-step { position: relative; }
.proc-node {
  position: absolute; left: -74px; top: -4px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(11, 46, 36, 0.9);
}
/* Every other step is nudged right so the column has rhythm. */
.proc-step:nth-child(even) .proc-body { margin-left: clamp(0px, 4vw, 60px); }
.proc-body h3 { font-size: clamp(1.25rem, 2.1vw, 1.7rem); margin-bottom: 7px; }
.proc-body p { color: rgba(255, 255, 255, 0.74); max-width: 46ch; }

/* ==========================================================
   PROOF
========================================================== */
.proof { padding: clamp(74px, 10vw, 130px) 0; background: var(--cream-2); }
.proof-head { margin-bottom: clamp(32px, 4vw, 50px); max-width: 62ch; }
.proof-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.proof-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(16px, 2.2vw, 26px); align-items: start; }
.quote {
  position: relative; margin: 0; padding: 34px 28px 28px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-pop);
}
.quote:hover { transform: translateY(-6px); }
.quote:nth-child(2) { margin-top: clamp(0px, 3vw, 38px); }
.quote:nth-child(3) { margin-top: clamp(0px, 6vw, 72px); }
/* The card shell above is unchanged from the earlier testimonial cards; only
   the contents differ, so the section keeps its rhythm and stagger. */
.exp-title { font-size: 1.06rem; margin-bottom: 10px; }
.quote-lead .exp-title { font-size: clamp(1.14rem, 1.7vw, 1.42rem); letter-spacing: -0.01em; }
.exp-text { font-size: 1.02rem; color: var(--ink-soft); }
.quote-lead .exp-text { font-size: clamp(1.03rem, 1.2vw, 1.12rem); }
.exp-label { margin-top: 20px; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* ==========================================================
   QUOTE / CTA
========================================================== */
.quote-cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(78px, 11vw, 140px) 0; }
/* One restrained lime glow. The sky-blue circle that used to sit bottom-left
   was removed at owner request; nothing replaced it. */
.cta-aurora { position: absolute; inset: 0; pointer-events: none; }
.cta-aurora span {
  position: absolute; width: 32vw; height: 32vw; right: -6%; top: -12%;
  border-radius: 50%; filter: blur(80px); opacity: 0.42;
  background: var(--lime);
  animation: drift3 25s var(--ease) infinite alternate;
}

.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.cta-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.cta-copy .section-lede { color: rgba(255, 255, 255, 0.78); }
.cta-points { display: grid; gap: 12px; margin-top: 26px; }
.cta-points li { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.demo-warn {
  display: inline-block; margin-top: 26px;
  padding: 11px 18px; border-radius: 100px;
  background: rgba(255, 201, 60, 0.16); color: var(--gold);
  font-size: 0.87rem; font-weight: 700;
}

.cta-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--cream); border: 2px solid transparent; border-radius: var(--r-sm);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--sky); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }

.qf-set { border: 0; padding: 0; margin: 22px 0 0; }
.qf-set legend { font-size: 0.85rem; font-weight: 700; margin-bottom: 11px; padding: 0; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-opt { position: relative; }
/* The invisible input covers the whole chip and is explicitly the top layer,
   so the hover transform on the face can never steal the hit target. */
.chip-opt input { position: absolute; inset: 0; z-index: 2; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-opt span {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px;
  border-radius: 100px; background: var(--cream);
  box-shadow: inset 0 0 0 2px transparent;
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.24s var(--ease-pop);
}
.chip-opt:hover span { transform: translateY(-2px); }
/* Selected state uses fill + weight + a check, never colour alone. */
.chip-opt input:checked + span { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.chip-opt input:checked + span::after { content: "✓"; margin-left: 8px; font-weight: 800; }
.chip-opt input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 3px; }

.qf-error { min-height: 22px; margin-top: 14px; color: #C42B18; font-size: 0.9rem; font-weight: 700; }
.qf-actions { margin-top: 4px; }
.qf-fine { margin-top: 14px; font-size: 0.84rem; color: var(--ink-soft); }
.field { margin-top: 18px; }
.qf-grid .field { margin-top: 0; }

.qf-done { text-align: left; }
.done-mark {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--lime); margin-bottom: 18px; position: relative;
}
.done-mark::after {
  content: ""; position: absolute; left: 21px; top: 16px;
  width: 12px; height: 22px; border: solid var(--ink); border-width: 0 4px 4px 0;
  transform: rotate(42deg);
}
.qf-done h3 { font-size: 1.6rem; margin-bottom: 10px; }
.qf-done > p { color: var(--ink-soft); }
.done-list { margin: 20px 0 0; display: grid; gap: 10px; }
.done-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(11,46,36,0.1); }
.done-list dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.done-list dd { margin: 0; font-weight: 600; }

/* ==========================================================
   FOOTER
========================================================== */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.brand-footer .brand-sub { color: rgba(255, 255, 255, 0.6); }
.footer-place { margin-top: 16px; color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; max-width: 40ch; }
.footer-h { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; font-family: var(--ui); }
.footer-nav ul { display: grid; gap: 4px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--lime); }
.footer-demo, .footer-disclosure { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; margin-bottom: 12px; }
.footer-credit { font-weight: 700; margin-top: 18px; }

.nojs-note { display: none; margin-top: 14px; font-weight: 600; color: var(--ink-soft); }

/* ==========================================================
   SCROLL REVEAL — base state only applies when JS is running
========================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms);
}
.js .hero-copy .kicker,
.js .hero-copy h1 .hl,
.js .hero-copy .hero-lede,
.js .hero-copy .hero-actions,
.js .hero-copy .hero-points { opacity: 0; transform: translateY(20px); }
.js .hero-art { opacity: 0; transform: translateY(28px) rotate(1deg); }

.js .hero-in .kicker      { animation: riseIn 0.7s var(--ease) 0.05s both; }
.js .hero-in h1 .hl:nth-child(1) { animation: riseIn 0.75s var(--ease) 0.16s both; }
.js .hero-in h1 .hl:nth-child(2) { animation: riseIn 0.75s var(--ease) 0.27s both; }
.js .hero-in .hero-lede   { animation: riseIn 0.7s var(--ease) 0.42s both; }
.js .hero-in .hero-actions{ animation: riseIn 0.7s var(--ease) 0.53s both; }
.js .hero-in .hero-points { animation: riseIn 0.7s var(--ease) 0.62s both; }
.js .hero-in .hero-art    { animation: artIn 1s var(--ease) 0.3s both; }

/* The headline spans are hidden by the rule above and un-hidden only by the
   entrance animation's fill. The script's post-animation reset walks
   `.hero-copy > *`, which reaches the h1 but NOT the .hl spans nested inside
   it — so without this rule the headline disappears the moment `hero-in` is
   removed. Keep the done state in CSS so it holds even if the timeout never
   fires. */
.js .hero-done h1 .hl { opacity: 1; transform: none; }

/* The swipe is held back until the headline has landed, then drawn. */
.js .hero .wordmark { background-size: 0% 0.2em; }
.js .hero-in .wordmark { animation: swipeIn 0.7s var(--ease) 0.95s both; }
.js .hero-done .wordmark { background-size: 100% 0.2em; }

@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes artIn  { from { opacity: 0; transform: translateY(28px) rotate(1deg); } to { opacity: 1; transform: rotate(-2.2deg); } }
@keyframes swipeIn { from { background-size: 0% 0.2em; } to { background-size: 100% 0.2em; } }

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; margin-top: 12px; }
  .why-grid, .cta-grid { grid-template-columns: 1fr; }
  .why-card:nth-child(even) { margin-top: 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .quote:nth-child(3) { margin-top: 0; }
  .proj-a, .proj-b, .proj-c { grid-column: span 6; margin-top: 0; }
  .proj-c { grid-column: span 12; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .demo-chip { display: none; }
  .menu-btn { display: inline-flex; }

  /* Full-screen menu. Visibility is stepped separately from opacity so the
     panel is never focusable while it is fading out. */
  .site-menu {
    position: fixed; inset: 0; z-index: 75;
    background: var(--ink); color: var(--white);
    display: grid; place-items: center;
    margin: 0; visibility: hidden; opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .site-menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease), visibility 0s linear 0s; }
  .site-menu ul { flex-direction: column; gap: 10px; text-align: center; }
  .site-menu a:not(.btn) { font-family: var(--display); font-weight: 800; font-size: 2rem; min-height: 60px; }
  .site-menu a:not(.btn):hover { background: rgba(255, 255, 255, 0.1); }
  .menu-cta { margin: 14px 0 0; }

  .svc-trigger { grid-template-columns: auto 1fr auto; gap: 14px; min-height: 78px; }
  .svc-tag { display: none; }
  .svc-panel-inner { grid-template-columns: 1fr; }
  .svc-visual { order: -1; }

  .proc-path { padding-left: 60px; }
  .proc-line { left: 21px; }
  .proc-node { left: -60px; width: 44px; height: 44px; font-size: 1.05rem; }
  .proc-step:nth-child(even) .proc-body { margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding-bottom: clamp(70px, 14vw, 110px); }
  .float-badge { font-size: 0.78rem; padding: 9px 14px; }
  .fb-1 { left: -8px; } .fb-2 { right: -6px; }
  .qf-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .quote:nth-child(2) { margin-top: 0; }
  .proj-a, .proj-b, .proj-c { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr; }
  .done-list > div { grid-template-columns: 1fr; gap: 2px; }
  .ba-knob { width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  .hero-points { gap: 8px 16px; }
  .btn { padding: 0 22px; }
}

/* ==========================================================
   REDUCED MOTION — the static state is the base, motion is layered
========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero-copy .kicker,
  .js .hero-copy h1 .hl,
  .js .hero-copy .hero-lede,
  .js .hero-copy .hero-actions,
  .js .hero-copy .hero-points,
  .js .hero-art { opacity: 1 !important; transform: none !important; }
  .scene-tilt { transform: rotate(-2.2deg); }
  .ul-swipe { background-size: 100% 0.28em !important; }
  .js .hero .wordmark { background-size: 100% 0.2em !important; }
  .marquee-track { animation: none !important; }
  .blob, .cta-aurora span { animation: none !important; }
}
