/* =========================================================
   AVONTIER · Website v0.2
   Shared styles for all pages.
   Change colours and fonts in :root to restyle the whole site.
   ========================================================= */

:root {
  --white: #FFFFFF;
  --paper: #F6F7F6;        /* very light section tint */
  --ink: #0E0E0E;          /* black */
  --ink-2: #2E2F2E;
  --muted: #6A6E6B;
  --line: #E4E6E4;
  --accent: #1B4D3E;       /* evergreen: the one accent colour */
  --accent-hover: #143B30;
  --accent-soft: #EAF0ED;

  --font-head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 13vw, 168px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageIn .8s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; position: relative; }
.tint { background: var(--paper); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h1 { font-size: clamp(46px, 7.6vw, 112px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 640px; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 28px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  cursor: pointer; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--white); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover { border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-light::before { background: var(--white); }
.btn-light:hover { color: var(--accent); border-color: var(--white); }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease), color .3s;
}
.link:hover { background-size: 100% 1px; color: var(--accent); }
.link .arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.site-header.solid { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header:not(.hidden) ~ main .svc-nav { top: 80px; }
.svc-nav { transition: top .5s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }

/* Logo: triangle "A" with a glowing dot + VONTIER wordmark */
.logo {
  display: inline-block; color: var(--ink); white-space: nowrap; line-height: 1;
  font-family: "Montserrat", var(--font-head); font-weight: 500; font-size: 21px;
  letter-spacing: .2em; text-transform: uppercase;
}
.logo .mark { display: inline-block; width: .84em; height: .72em; vertical-align: baseline; margin-right: .2em; overflow: visible; }
.logo .mark .tri { fill: currentColor; }
.logo .mark .dot { fill: var(--white); transform-box: fill-box; transform-origin: center; animation: dotGlow 3.6s ease-in-out infinite; }
@keyframes dotGlow { 0%, 100% { opacity: .78; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
.logo-tag { display: block; margin-top: 12px; font-family: "Montserrat", var(--font-body); font-weight: 300; font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 40px; list-style: none; }
.main-nav a:not(.btn) {
  font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .3s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { padding: 12px 20px; font-size: 14px; }

.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; z-index: 110; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 23px; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 140px; padding-bottom: 72px; overflow: hidden; isolation: isolate;
}
.hero .eyebrow { margin-bottom: 36px; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin: 40px 0 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art {
  position: absolute; right: calc(var(--gutter) * -1); top: 50%; transform: translateY(-50%);
  width: min(52vw, 700px); aspect-ratio: 1; pointer-events: none; z-index: -1;
}
.hero-art circle, .hero-art path { fill: none; stroke: var(--line); stroke-width: 1; }
.hero-art .draw { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 3.2s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-foot {
  margin-top: auto; padding-top: 72px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.scroll-hint { display: inline-flex; align-items: center; gap: 14px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.scroll-hint i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.page-hero { padding-top: clamp(160px, 20vw, 220px); padding-bottom: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); max-width: 15ch; }
.page-hero .lead { margin-top: 32px; }

/* Line-mask headline reveal */
.split .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.split.in .line > span { transform: none; }
.split .line:nth-child(2) > span { transition-delay: .1s; }
.split .line:nth-child(3) > span { transition-delay: .2s; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.02em;
  padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; color: var(--ink);
}
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (scroll-highlighted words) ---------- */
.statement p {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(28px, 3.8vw, 54px); line-height: 1.18; letter-spacing: -0.03em;
  max-width: 22ch;
}
.statement .w { color: #CFD3D0; transition: color .3s linear; }
.statement .w.on { color: var(--ink); }
.statement .w.on.hl { color: var(--accent); }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 88px); }
.section-head h2 { margin-top: 24px; max-width: 14ch; }
.section-head p { color: var(--ink-2); max-width: 460px; justify-self: end; }

/* ---------- Service list (home) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; gap: 32px; align-items: center;
  padding: 34px 0; isolation: isolate; transition: padding .6s var(--ease), color .4s;
}
.svc-list a::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc-list a:hover::before { transform: scaleY(1); }
.svc-list a:hover { color: var(--white); padding-left: 16px; }
.svc-list a:hover p { color: rgba(255,255,255,.8); }
.svc-list .num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .4s; }
.svc-list a:hover .num { color: rgba(255,255,255,.7); }
.svc-list h3 { font-size: clamp(22px, 2.4vw, 32px); }
.svc-list p { color: var(--muted); font-size: 15px; transition: color .4s; }
.svc-list .arrow { width: 22px; height: 22px; justify-self: end; transition: transform .6s var(--ease); }
.svc-list a:hover .arrow { transform: translateX(6px); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 48px; }
.process-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.process-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.step .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 1px solid var(--accent); position: absolute; top: -5px; transition: background .5s var(--ease); }
.step { position: relative; }
.step.active .dot { background: var(--accent); }
.step .num { display: block; font-size: 13px; color: var(--muted); margin: 20px 0 16px; letter-spacing: .08em; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Principles / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-3 > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { padding: clamp(32px, 4vw, 52px); background: var(--white); transition: background .5s var(--ease); }
.card:hover { background: var(--accent-soft); }
.card .k { display: block; font-family: var(--font-head); font-size: 15px; color: var(--accent); margin-bottom: 56px; font-weight: 500; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; }

.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.commit div { border-top: 1px solid var(--ink); padding-top: 24px; }
.commit h4 { margin-bottom: 10px; }
.commit p { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--white); overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.cta-band h2 { max-width: 14ch; }
.cta-band p { color: rgba(255,255,255,.78); margin: 24px 0 0; max-width: 440px; }
.cta-band .eyebrow { color: rgba(255,255,255,.7); }
.cta-band .eyebrow::before { background: var(--white); }
.cta-band .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.cta-band .btn-white { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta-band .btn-white::before { background: var(--ink); }
.cta-band .btn-white:hover { color: var(--white); border-color: var(--ink); }
.cta-band .small { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 32px; list-style: none; overflow-x: auto; padding: 18px 0; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.svc-nav a:hover, .svc-nav a.active { color: var(--accent); }

.svc-detail { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: clamp(40px, 7vw, 112px); padding: clamp(72px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail .label { position: sticky; top: 150px; align-self: start; }
.svc-detail .label .num { display: block; font-family: var(--font-head); font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.05em; color: var(--accent); margin-bottom: 20px; }
.svc-detail h2 { font-size: clamp(32px, 3.6vw, 48px); }
.svc-detail .body > p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 620px; }
.incl { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; }
.incl li { padding: 16px 0 16px 30px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.incl li::before { content: ""; position: absolute; left: 0; top: 25px; width: 14px; height: 1px; background: var(--accent); }
.fit { margin-top: 32px; padding: 22px 26px; background: var(--paper); font-size: 15px; color: var(--ink-2); border-left: 2px solid var(--accent); }
.fit strong { font-weight: 600; color: var(--ink); }

/* ---------- About page ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.mv > div { padding: clamp(40px, 5vw, 64px) clamp(0px, 4vw, 56px) clamp(40px, 5vw, 64px) 0; }
.mv > div + div { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }
.mv .eyebrow { margin-bottom: 28px; }
.mv p.big { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -0.025em; }

.values-list { list-style: none; border-top: 1px solid var(--line); }
.values-list li { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.values-list .num { font-size: 13px; color: var(--accent); font-weight: 500; padding-top: 10px; }
.values-list h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.03em; }
.values-list p { color: var(--ink-2); }

.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 8vw, 120px); }
.two-col .prose p + p { margin-top: 20px; }
.prose p { color: var(--ink-2); font-size: 17px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact-aside { position: sticky; top: 120px; }
.contact-aside dl { display: grid; gap: 28px; margin-top: 8px; }
.contact-aside dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-aside dd { font-family: var(--font-head); font-size: 22px; letter-spacing: -0.015em; }
.contact-aside dd a:hover { color: var(--accent); }
.next-steps { margin-top: 56px; list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.next-steps li { counter-increment: s; padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: var(--ink-2); }
.next-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 18px; font-size: 13px; color: var(--accent); font-weight: 500; }

.form { display: grid; gap: 30px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field label, .field .label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #CDD1CE; background: transparent; border-radius: 0;
  padding: 12px 0; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236A6E6B' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; cursor: pointer;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .err { display: none; font-size: 13px; color: #A3372B; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #A3372B; }
.field.invalid .err { display: block; }
fieldset.field { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { margin: 0; }
.chips label { position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 10px 16px; border: 1px solid #CDD1CE; font-size: 14px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s; user-select: none;
}
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.field .consent input { -webkit-appearance: checkbox; appearance: auto; width: 16px; height: 16px; padding: 0; border: 0; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-success { display: none; border-top: 1px solid var(--ink); padding-top: 32px; }
.form-success h3 { font-size: 32px; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 28px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--font-head); font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq .answer { padding: 0 0 28px; color: var(--ink-2); max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9ADAA; padding: clamp(72px, 9vw, 112px) 0 36px; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: var(--white); max-width: 13ch; }
.site-footer .btn-light:hover { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.site-footer .logo { color: var(--white); font-size: 22px; }
.site-footer .logo .mark .dot { fill: var(--ink); }
.site-footer .logo-tag { color: #A9ADAA; }
.footer-grid p { margin-top: 18px; font-size: 14px; max-width: 280px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer-grid a { transition: color .3s; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.4s var(--ease); transition-delay: var(--d, 0s); }
.reveal-fade.in { opacity: 1; }
.rule-draw { height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.rule-draw.in { transform: scaleX(1); }

/* No-JS fallback: show everything */
.no-js .reveal, .no-js .reveal-fade { opacity: 1; transform: none; }
.no-js .split .line > span { transform: none; }
.no-js .statement .w { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .logo .mark .dot { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-fade { opacity: 1; transform: none; }
  .split .line > span { transform: none; }
  .hero-art .draw { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-list a { grid-template-columns: 56px 1fr 32px; }
  .svc-list p { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .process-line { display: none; }
  .step { border-top: 1px solid var(--line); padding-top: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { opacity: .55; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .main-nav {
    position: fixed; inset: 0; background: var(--white); z-index: 105;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 28px; }
  .main-nav a:not(.btn) { font-family: var(--font-head); font-size: 34px; letter-spacing: -0.03em; }
  .main-nav .btn { margin-top: 12px; font-size: 15px; padding: 16px 24px; }
  .section-head, .cta-band .inner, .two-col, .contact-grid, .svc-detail, .mv { grid-template-columns: 1fr; }
  .section-head p, .cta-band .actions { justify-self: start; }
  .svc-detail .label, .contact-aside { position: static; }
  .mv > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .mv > div { padding-right: 0; }
  .grid-3, .commit { grid-template-columns: 1fr; }
  .values-list li { grid-template-columns: 48px 1fr; }
  .values-list li p { grid-column: 2; }
  .hero-art { width: 120vw; right: -40vw; opacity: .35; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .form .row, .incl { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: space-between; }
  .header-inner { height: 68px; }
  .site-header:not(.hidden) ~ main .svc-nav { top: 68px; }
}

/* =========================================================
   v0.3 additions: pricing, add-ons, brand band, offer
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(32px, 3.6vw, 48px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -30px rgba(14,14,14,.25); z-index: 1; }
.plan .tier { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.plan h3 { font-size: clamp(28px, 2.6vw, 36px); margin: 14px 0 10px; letter-spacing: -0.03em; }
.plan .pitch { color: var(--ink-2); font-size: 15px; min-height: 48px; }
.plan .price { margin: 32px 0 6px; font-family: var(--font-head); font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.plan .price small { font-size: 16px; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-left: 4px; }
.plan .setup { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 32px 0; border-top: 1px solid var(--line); }
.plan li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan li.plus { font-weight: 500; }
.plan .budget { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan.featured { background: var(--accent); color: var(--white); border-color: var(--accent); }
.plan.featured .tier, .plan.featured .setup, .plan.featured .budget, .plan.featured .price small { color: rgba(255,255,255,.72); }
.plan.featured .pitch { color: rgba(255,255,255,.88); }
.plan.featured ul, .plan.featured li { border-color: rgba(255,255,255,.18); }
.plan.featured li::before { border-color: var(--white); }
.plan.featured .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.plan.featured .btn::before { background: var(--ink); }
.plan.featured .btn:hover { color: var(--white); border-color: var(--ink); }
.badge { position: absolute; top: 24px; right: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.5); }
.price-note { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 28px; }
.price-note span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }

.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--ink); }
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.addon h4 { font-size: 18px; }
.addon p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.addon .amt { font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }

.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: clamp(36px, 5vw, 64px); background: var(--accent-soft); border-left: 2px solid var(--accent); }
.offer h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.03em; margin: 18px 0 12px; }
.offer p { color: var(--ink-2); }
.offer .actions { justify-self: end; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.in-pkg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.in-pkg span { font-size: 12px; letter-spacing: .06em; padding: 7px 12px; border: 1px solid var(--line); color: var(--ink-2); }
.in-pkg span.on { border-color: var(--accent); color: var(--accent); }

/* Brand band: sharp, coded version of the logo artwork */
.brand-band {
  position: relative; overflow: hidden; text-align: center; color: #E8EFEB;
  padding: clamp(120px, 16vw, 220px) 0;
  background: radial-gradient(60% 75% at 50% 50%, #0E241E 0%, #070B0A 55%, #000 100%);
}
.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; }
.brand-word {
  display: flex; align-items: baseline; white-space: nowrap; line-height: 1;
  font-family: "Montserrat", var(--font-head); font-weight: 500; text-transform: uppercase;
  font-size: clamp(40px, 10.5vw, 156px); letter-spacing: .14em; margin-right: -.14em;
}
.brand-word .mark { width: .84em; height: .72em; margin-right: .14em; overflow: visible; }
.brand-word .tri { fill: url(#triGrad); stroke: rgba(232,239,235,.35); stroke-width: .4; }
.brand-word .glow { fill: #9FDCC3; opacity: .55; animation: bigGlow 3.6s ease-in-out infinite; }
.brand-word .core { fill: #DDF2E8; }
@keyframes bigGlow { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
.brand-word .ch, .brand-word .mark {
  display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.06em);
  transition: opacity 1.4s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease);
  transition-delay: calc(var(--i) * 90ms + .15s);
}
.brand-band.in .brand-word .ch, .brand-band.in .brand-word .mark { opacity: 1; filter: none; transform: none; }
.brand-tag {
  margin-top: clamp(22px, 3vw, 44px); font-family: "Montserrat", var(--font-body); font-weight: 300;
  font-size: clamp(10px, 1.35vw, 18px); letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; color: #9FB4AB;
  opacity: 0; transform: translateY(10px); transition: opacity 1.4s var(--ease) 1.1s, transform 1.4s var(--ease) 1.1s;
}
.brand-band.in .brand-tag { opacity: 1; transform: none; }

.pkg-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-mini a { display: block; padding: 36px 32px; border: 1px solid var(--line); background: var(--white); transition: border-color .4s, transform .6s var(--ease); }
.pkg-mini a:hover { border-color: var(--accent); transform: translateY(-4px); }
.pkg-mini .tier { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pkg-mini h3 { margin: 12px 0 8px; }
.pkg-mini p { font-size: 15px; color: var(--muted); }
.pkg-mini .from { margin-top: 28px; font-family: var(--font-head); font-size: 26px; letter-spacing: -0.02em; }
.pkg-mini .from small { font-size: 14px; color: var(--muted); }
.pkg-mini a.featured { border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .brand-word .ch, .brand-word .mark, .brand-tag { opacity: 1; filter: none; transform: none; } .brand-word .glow { animation: none; } }
.no-js .brand-word .ch, .no-js .brand-word .mark, .no-js .brand-tag { opacity: 1; filter: none; transform: none; }
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; }
  .plan .pitch { min-height: 0; }
  .pkg-mini { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .addons, .offer { grid-template-columns: 1fr; }
  .offer .actions { justify-self: start; }
}
@media (max-width: 600px) {
  .logo { font-size: 17px; }
  .addon { flex-direction: column; gap: 6px; }
}

/* =========================================================
   v0.4 additions: expectation flow, ROI calculator, 90-day timeline, KPIs
   ========================================================= */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.flow-step { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.flow-step .big { font-family: var(--font-head); font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.03em; line-height: 1; font-weight: 500; }
.flow-step p { font-size: 15px; color: var(--muted); }
.flow-step.end { background: var(--accent); border-color: var(--accent); color: var(--white); }
.flow-step.end p { color: rgba(255,255,255,.8); }
.flow-arrow { align-self: center; width: 28px; height: 28px; color: var(--accent); }
.flow-note { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.flow-note p { font-size: 15px; color: var(--muted); }
.flow-note p.key { font-size: 18px; color: var(--ink-2); }

.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); }
.calc-form { padding: clamp(32px, 4vw, 56px); display: grid; gap: 28px; }
.calc-form .field input { font-size: 20px; }
.calc-form .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.calc-out { padding: clamp(32px, 4vw, 56px); background: var(--accent); color: var(--white); display: flex; flex-direction: column; gap: 28px; }
.calc-out .lbl { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.calc-out .val { font-family: var(--font-head); font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1; margin-top: 8px; font-weight: 500; }
.calc-out .sentence { font-size: 17px; color: rgba(255,255,255,.9); border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.calc-out .small { font-size: 13px; color: rgba(255,255,255,.65); }
.calc-out .btn-white { background: var(--white); border-color: var(--white); color: var(--ink); align-self: flex-start; }
.calc-out .btn-white::before { background: var(--ink); }
.calc-out .btn-white:hover { color: var(--white); border-color: var(--ink); }

.timeline4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.timeline4 > div { border-top: 2px solid var(--accent); padding-top: 24px; }
.timeline4 > div.later { border-color: #9DBDAF; }
.timeline4 .when { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.timeline4 h3 { margin: 10px 0 14px; }
.timeline4 ul { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }

@media (max-width: 1024px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }
  .timeline4 { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 860px) {
  .calc, .flow-note { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .flow, .timeline4 { grid-template-columns: 1fr; }
}
