/* ==========================================================================
   CedarPeak Digital
   Palette: forest green, sage green, near-black, white
   ========================================================================== */
:root {
  --ink: #0b1714;          /* near-black, green tinted */
  --ink-2: #0f1f1b;
  --forest: #12382e;       /* logo forest green */
  --forest-2: #1a4a3c;
  --sage: #8bc5a3;         /* logo sage */
  --sage-light: #a8dfb3;
  --sage-mist: #d7e9dc;
  --white: #f4f7f3;
  --text: #e8efe9;
  --muted: #a9bdb1;
  --line: rgba(168, 223, 179, .16);
  --line-strong: rgba(168, 223, 179, .32);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 12vw, 160px);
  --radius: 18px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sage-light); color: var(--forest); }

/* Subtle film grain, fixed and non-interactive */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--sage-light); color: var(--forest); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 4px; border-radius: 4px; }

/* Typography ------------------------------------------------------------ */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; color: var(--white); }
h1 { font-size: clamp(2.75rem, 1.6rem + 5.6vw, 6.4rem); line-height: .98; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem); line-height: 1.04; }
h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; color: var(--white); }
em { font-style: italic; color: var(--sage-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-light); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: #cfdcd3; max-width: 36em; }
.muted { color: var(--muted); }

/* Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--sage-light);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bg); color: var(--forest);
  border: 1px solid var(--bg); border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); letter-spacing: .005em;
  cursor: pointer; text-align: center;
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), color .3s;
}
.btn:hover { --bg: var(--white); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(168, 223, 179, .55); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: .93rem; }
.btn-ghost { background: rgba(11, 23, 20, .25); color: var(--white); border-color: rgba(244, 247, 243, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); box-shadow: none; }
.btn-outline { background: transparent; color: var(--sage-light); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--sage-light); color: var(--forest); border-color: var(--sage-light); }
.btn-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; font-weight: 600; color: var(--sage-light); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: border-color .3s, gap .3s var(--ease); }
.text-link:hover { border-color: var(--sage-light); gap: 14px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 23, 20, .78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; color: var(--white); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { position: relative; font-size: .96rem; font-weight: 500; color: #d5e1d8; padding: 6px 0; transition: color .3s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage-light); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--white); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(96px, 14vh, 150px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transform: scale(1.08) translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.hero-media picture { display: block; width: 100%; height: 100%; animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.1); opacity: .35; } to { transform: none; opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 15, .6) 0%, rgba(8, 18, 15, .12) 28%, rgba(8, 18, 15, .38) 58%, rgba(11, 23, 20, .96) 100%),
    linear-gradient(90deg, rgba(8, 18, 15, .74) 0%, rgba(8, 18, 15, .3) 55%, rgba(8, 18, 15, .05) 100%),
    rgba(18, 56, 46, .16);
}
.hero-content { position: relative; }
.hero h1 { max-width: 11.5em; margin-bottom: 28px; text-wrap: balance; }
.hero .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-anim { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.35s + var(--d) * .14s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(244, 247, 243, .4); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }
.hero-anim.scroll-cue { transform: none; animation-name: fadeIn; }
@keyframes fadeIn { to { opacity: 1; } }

/* Intro ----------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-text h2 { margin-bottom: 28px; text-wrap: balance; }
.intro-text > p:not(.eyebrow) { color: #c3d2c8; font-size: 1.08rem; max-width: 34em; margin-bottom: 34px; }
.intro-figure { margin: 0; position: relative; }
.intro-figure img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.intro-figure::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}

/* Services -------------------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.services-head { position: sticky; top: calc(var(--header-h) + 40px); }
.services-head h2 { margin-bottom: 22px; text-wrap: balance; }
.services-head .muted { max-width: 26em; margin-bottom: 34px; }
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 40px 8px 40px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), background-color .5s;
}
.service:hover { padding-left: 16px; }
.service-num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); padding-top: 10px; min-width: 1.6em; }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--forest-2), var(--forest)); color: var(--sage-light);
  border: 1px solid var(--line-strong);
  transition: transform .5s var(--ease), background-color .4s, color .4s;
}
.service-icon svg { width: 34px; height: 34px; }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.1; margin: 6px 0 10px; }
.service p { color: var(--muted); max-width: 30em; }

/* Band ------------------------------------------------------------------ */
.band { position: relative; isolation: isolate; padding: var(--section) 0; overflow: hidden; }
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 23, 20, .94) 0%, rgba(18, 56, 46, .82) 50%, rgba(11, 23, 20, .7) 100%); }
.band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.band-card h2 { margin-bottom: 34px; text-wrap: balance; }
.checks { display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 38px; color: #d6e3da; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312382e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.band-figure { margin: 0; }
.band-figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid var(--line); }

/* Approach -------------------------------------------------------------- */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 820px; }
.section-head h2 { text-wrap: balance; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.section-head.split .muted { max-width: 26em; justify-self: end; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.step { position: relative; padding: 36px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--sage-light); transition: width 1.2s var(--ease) .2s; }
.step.is-visible::before { width: 100%; }
.step-num { display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--sage); margin-bottom: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Pricing --------------------------------------------------------------- */
.pricing { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(139, 197, 163, .1), transparent 70%); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(30px, 3.4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(18, 56, 46, .2);
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(18, 56, 46, .35); }
.plan h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 28px; }
.price { font-family: var(--serif); font-size: clamp(3.6rem, 2.8rem + 2.6vw, 5.2rem); line-height: 1; color: var(--white); margin-bottom: 22px; letter-spacing: -.02em; }
.price .cur { font-size: .45em; vertical-align: .9em; margin-right: 4px; color: var(--sage); }
.price .plus { color: var(--sage); }
.plan-desc { color: var(--muted); margin-bottom: 36px; flex: 1; }
.plan-link { display: inline-flex; gap: 8px; align-self: flex-start; font-weight: 600; color: var(--sage-light); padding-top: 22px; border-top: 1px solid var(--line); width: 100%; transition: gap .35s var(--ease); }
.plan-link:hover { gap: 14px; }
.plan-feature { background: linear-gradient(160deg, var(--forest-2) 0%, var(--forest) 70%); border-color: var(--line-strong); }
.plan-feature:hover { background: linear-gradient(160deg, var(--forest-2) 0%, var(--forest) 70%); }
.plan-feature .plan-desc { color: #c9dccf; }
.plan-btn { width: 100%; }
.care-note {
  display: flex; align-items: center; gap: 20px; margin-top: 28px;
  padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--muted); font-size: .98rem;
}
.care-note strong { color: var(--white); font-weight: 600; }
.care-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(168, 223, 179, .1); color: var(--sage-light); }
.care-icon svg { width: 24px; height: 24px; }

/* Contact --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-info h2 { margin-bottom: 22px; text-wrap: balance; }
.contact-info > p:not(.eyebrow) { color: #c3d2c8; font-size: 1.08rem; margin-bottom: 40px; }
.contact-list { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.contact-list li > div { min-width: 0; color: var(--white); }
.contact-list a { color: var(--white); overflow-wrap: anywhere; border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.contact-list a:hover { color: var(--sage-light); border-color: var(--sage-light); }
.ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(168, 223, 179, .1); color: var(--sage-light); }
.ci-icon svg { width: 22px; height: 22px; }
.ci-label { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

.quote-card {
  padding: clamp(26px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(18, 56, 46, .45), rgba(18, 56, 46, .2));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
}
.form-intro { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin-bottom: 20px; min-width: 0; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: #d6e3da; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  display: block; width: 100%; padding: 14px 16px;
  background: rgba(11, 23, 20, .7); color: var(--white);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 189, 177, .6); }
.field textarea { resize: vertical; min-height: 130px; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--sage-light); border-bottom: 1.6px solid var(--sage-light);
  transform: rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field select:invalid { color: rgba(169, 189, 177, .8); }
.field select option { color: var(--white); background: var(--ink); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(168, 223, 179, .5); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage-light); box-shadow: 0 0 0 4px rgba(168, 223, 179, .15); background: var(--ink); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e7a59a; }
.error { color: #f0b9b0; font-size: .86rem; margin-top: 6px; min-height: 0; }
.error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: .94rem;
  color: #f6d5cf; background: rgba(231, 165, 154, .1); border: 1px solid rgba(231, 165, 154, .4);
}
.form-status a { color: var(--white); border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.privacy-note { margin-top: 18px; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.privacy-note strong { color: #d6e3da; font-weight: 600; }
.privacy-note a, .form-success a { color: var(--sage-light); border-bottom: 1px solid var(--line-strong); overflow-wrap: anywhere; transition: border-color .3s; }
.privacy-note a:hover, .form-success a:hover { border-color: var(--sage-light); }
.form-success { text-align: center; padding: clamp(16px, 3vw, 40px) 0; outline: none; }
.form-success:not([hidden]) { animation: successIn .7s var(--ease) both; }
@keyframes successIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.15; color: var(--white); margin: 22px 0 14px; text-wrap: balance; }
.form-success p { color: #c3d2c8; max-width: 30em; margin: 0 auto 12px; }
.form-success p.muted { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(168, 223, 179, .12); color: var(--sage-light); }
.success-icon svg { width: 40px; height: 40px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: #08110f; border-top: 1px solid var(--line); padding-top: clamp(70px, 9vw, 120px); padding-bottom: 40px; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.footer-cta h2 { max-width: 14em; font-size: clamp(2.1rem, 1.4rem + 3vw, 4.2rem); text-wrap: balance; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 0; }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 22em; }
.footer-grid h3 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 18px; }
.footer-grid li { color: var(--muted); margin-bottom: 10px; font-size: .96rem; }
.footer-grid li a { color: #d0ddd4; overflow-wrap: anywhere; transition: color .3s; }
.footer-grid li a:hover { color: var(--sage-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.to-top:hover { color: var(--sage-light); }

/* Sticky quote button --------------------------------------------------- */
.sticky-quote {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 14px 24px 14px 20px;
  background: var(--sage-light); color: var(--forest);
  border-radius: 999px; font-weight: 700; font-size: .98rem; white-space: nowrap;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(18, 56, 46, .2);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .3s;
}
.sticky-quote svg { width: 20px; height: 20px; flex: none; }
.sticky-quote.show { opacity: 1; transform: none; pointer-events: auto; }
.sticky-quote:hover { background: var(--white); }
.menu-open .sticky-quote { opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none; }

/* Scroll reveal --------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .intro-figure.reveal, .js .band-figure.reveal { transform: translateY(40px) scale(.97); }
.js .intro-figure.reveal.is-visible, .js .band-figure.reveal.is-visible { transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .menu-toggle {
    display: inline-grid; place-items: center; position: relative; z-index: 2;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(11, 23, 20, .4); border: 1px solid var(--line-strong); color: var(--white); cursor: pointer;
  }
  .bars { position: relative; width: 18px; height: 10px; }
  .bars i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
  .bars i:first-child { top: 0; }
  .bars i:last-child { top: 8.5px; }
  .menu-open .bars i:first-child { top: 4.25px; transform: rotate(45deg); }
  .menu-open .bars i:last-child { top: 4.25px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 40px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: rgba(9, 20, 17, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu-open .nav ul li { opacity: 1; transform: none; }
  .menu-open .nav ul li:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav ul li:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav ul li:nth-child(4) { transition-delay: .15s; }
  .nav ul a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.25; color: var(--white); padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-cta { min-height: 54px; font-size: 1rem; }
  .site-header .brand { position: relative; z-index: 2; }
  .menu-open .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open { overflow: hidden; }

  .intro-grid, .services-grid, .band-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-figure { max-width: 560px; }
  .intro-figure img { aspect-ratio: 4 / 3; }
  .intro-figure::before { inset: 18px -14px -18px 14px; }
  .services-head { position: static; }
  .section-head.split { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section-head.split .muted { justify-self: start; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .band::before { background: linear-gradient(180deg, rgba(11, 23, 20, .92), rgba(18, 56, 46, .86)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8, 18, 15, .7) 0%, rgba(8, 18, 15, .3) 30%, rgba(8, 18, 15, .7) 65%, rgba(11, 23, 20, .97) 100%), rgba(18, 56, 46, .2); }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .eyebrow { letter-spacing: .16em; }
  .service { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 30px 0; }
  .service:hover { padding-left: 0; }
  .service-num { display: none; }
  .service-icon { width: 54px; height: 54px; border-radius: 14px; }
  .service-icon svg { width: 28px; height: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 28px 0 4px; border-left: 0; }
  .step:nth-child(n + 2) { border-top: 1px solid var(--line); margin-top: 20px; }
  .step-num { font-size: 2.6rem; margin-bottom: 16px; }
  .care-note { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .site-footer { padding-bottom: 110px; } /* room for sticky button */
  .sticky-quote { left: 16px; right: 16px; justify-content: center; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .brand { font-size: 1rem; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img, .band-media img { transform: scale(1.04) !important; }
}

/* Thank-you page (fallback when JavaScript is unavailable) -------------- */
.thanks-page { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.thanks-card { max-width: 640px; margin: 0 auto; }
.form-success h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; color: var(--white); margin: 22px 0 14px; text-wrap: balance; }

/* Portfolio: demonstration websites ------------------------------------- */
.portfolio { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); border-top: 1px solid var(--line); }
.portfolio::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 10% 0%, rgba(139, 197, 163, .09), transparent 70%); }
.portfolio .section-head h2 em { font-style: italic; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.demo-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: rgba(18, 56, 46, .18); overflow: hidden;
  transition: transform .6s var(--ease), border-color .4s, background-color .4s, box-shadow .6s var(--ease);
}
.demo-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(18, 56, 46, .32); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }

.demo-preview {
  --brand: #1f3d2b; --brand-ink: #fff; --accent: #c8763e;
  position: relative; display: block; padding: 26px 26px 0; aspect-ratio: 16 / 12.2;
  background: var(--stage, #0f2a20); overflow: hidden; isolation: isolate;
}
.demo-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18)); pointer-events: none; z-index: 2; }
.browser {
  position: relative; height: 100%; border-radius: 12px 12px 0 0; overflow: hidden;
  background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform-origin: 50% 100%; transition: transform .8s var(--ease);
}
.demo-card:hover .browser { transform: translateY(-4px) scale(1.015); }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #eceeed; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cdcb; }
.browser-bar span { flex: 1; margin: 0 22px 0 10px; height: 15px; border-radius: 8px; background: #fff; color: #7b827f; font-size: 8.5px; line-height: 15px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.browser-screen { position: relative; height: calc(100% - 26px); overflow: hidden; }
.browser-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.demo-card:hover .browser-screen img { transform: scale(1.06); }
.mini-site { position: relative; z-index: 1; height: 100%; padding: 12px 30% 18px 16px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--shade); }
.mini-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 11px 16px; }
.mini-nav b { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.mini-nav b svg { width: 12px; height: 12px; fill: var(--accent); }
.mini-nav span { width: 22px; height: 3px; border-radius: 2px; background: currentColor; opacity: .55; }
.mini-kicker { font-size: 8px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.mini-title { font-size: clamp(1.05rem, .7rem + 1vw, 1.45rem); line-height: 1.05; max-width: 11em; margin-bottom: 12px; text-wrap: balance; }
.mini-title em { color: inherit; }
.mini-btn { align-self: flex-start; padding: 6px 11px; border-radius: 999px; font-size: 8.5px; font-weight: 700; background: var(--accent); color: var(--brand-ink); }

.phone {
  position: absolute; z-index: 3; right: 16px; bottom: -34px; width: 23%; aspect-ratio: 9 / 18.5;
  border-radius: 16px; padding: 4px; background: #0c0d0d; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .8s var(--ease);
}
.demo-card:hover .phone { transform: translateY(-14px) rotate(-2deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.phone span { position: absolute; left: 4px; right: 4px; top: 4px; padding: 8px 0 22px; border-radius: 12px 12px 0 0; text-align: center; font-size: 7px; font-weight: 700; letter-spacing: .08em; color: #fff; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }

/* Per-brand preview styling */
.demo-evergreen .demo-preview { --stage: linear-gradient(150deg, #2c4f37, #142a1d); --accent: #e09a5f; --brand-ink: #1f2b20; --shade: linear-gradient(180deg, rgba(16, 32, 22, .45) 0%, rgba(16, 32, 22, .2) 30%, rgba(16, 32, 22, .92) 100%), linear-gradient(90deg, rgba(16, 32, 22, .55), transparent 75%); }
.demo-evergreen .mini-title { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
.demo-evergreen .mini-title em { font-style: italic; color: #f3d9b5; }
.demo-apex .demo-preview { --stage: linear-gradient(150deg, #3a3d42, #0b0c0d); --accent: #dfe2e6; --brand-ink: #0a0a0b; --shade: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .9) 100%); }
.demo-apex .browser-screen img, .demo-apex .phone img { filter: grayscale(1) contrast(1.08); }
.demo-apex .mini-nav b { font-family: "Michroma", sans-serif; font-weight: 400; letter-spacing: .2em; }
.demo-apex .mini-title { font-family: "Michroma", sans-serif; font-size: clamp(.85rem, .6rem + .8vw, 1.15rem); line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }
.demo-apex .mini-title em { font-style: normal; background: linear-gradient(90deg, #8e949b, #f4f5f7 50%, #9aa0a7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-apex .mini-btn { border-radius: 2px; letter-spacing: .14em; text-transform: uppercase; font-size: 7.5px; }
.demo-harbour .demo-preview { --stage: linear-gradient(150deg, #d9d6cf, #a9a49a); --accent: #c9622f; --brand-ink: #fff; --shade: linear-gradient(90deg, rgba(20, 22, 24, .82) 0%, rgba(20, 22, 24, .35) 60%, rgba(20, 22, 24, .1) 100%); }
.demo-harbour .demo-preview::after { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .08)); }
.demo-harbour .mini-title { font-family: "Familjen Grotesk", var(--sans); font-weight: 600; letter-spacing: -.03em; }
.demo-harbour .mini-btn { border-radius: 0; }
.demo-harbour .mini-kicker { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; }

.demo-body { display: flex; flex-direction: column; flex: 1; padding: clamp(26px, 2.6vw, 34px); }
.demo-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-light);
}
.demo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.demo-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.15rem); line-height: 1.1; margin-bottom: 8px; }
.demo-meta { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.demo-desc { color: #c3d2c8; font-size: .98rem; margin-bottom: 22px; flex: 1; }
.swatches { display: flex; gap: 6px; margin-bottom: 26px; }
.swatches li { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.demo-btn { align-self: flex-start; }
.demo-note {
  display: flex; align-items: flex-start; gap: 18px; margin-top: 28px;
  padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--muted); font-size: .94rem;
}
.demo-note a { color: var(--sage-light); border-bottom: 1px solid var(--line-strong); }
.demo-note a:hover { border-color: var(--sage-light); }

@media (max-width: 1080px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .demo-card:last-child .demo-preview { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
  .demo-card:last-child .demo-body { flex: 1; }
}
@media (max-width: 920px) {
  .menu-open .nav ul li:nth-child(5) { transition-delay: .2s; }
}
@media (max-width: 760px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .demo-card:last-child { flex-direction: column; }
  .demo-card:last-child .demo-preview { aspect-ratio: 16 / 12.2; min-height: 0; }
  .demo-note { flex-direction: column; gap: 12px; padding: 20px; }
}
