/* ============ Tokens ============ */
:root {
  --bg: #F4EEE5;
  --bg-alt: #EEE6DA;
  --hero: #E9DFD0;
  --band: #DEE3E7;
  --ink: #3C4853;
  --text: #58626C;
  --muted: #646B72;
  --accent: #5B6B79;
  --accent-dark: #4A5966;
  --line: #D8CEBF;
  --blue-soft: #CDD8DF;
  --peach-soft: #EAD9CA;
  --rose-soft: #EFE1D8;
  --white: #FBF9F6;
  --olive: #6F7E63;
  --label: #5F666D;

  --serif: "Piazzolla", "Georgia", serif;
  --sans: "Commissioner", "Segoe UI", system-ui, sans-serif;

  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

/* Paper grain: a fixed, very faint noise layer over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .26  0 0 0 0 .2  0 0 0 1.4 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .32;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 350; color: var(--ink); margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
/* One italic word per headline, in the olive accent */
h1 em, h2 em { font-style: italic; font-weight: 330; color: var(--olive); letter-spacing: -.005em; margin-right: -.07em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; overflow-x: clip; }

h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.14; margin-bottom: 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 18px;
}
.eyebrow.with-line { display: flex; align-items: center; gap: 18px; }
.eyebrow.with-line::after { content: ""; width: 54px; height: 1px; background: var(--line); }

/* ============ Buttons & links ============ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 30px;
  font-size: 14.5px; font-weight: 400; letter-spacing: .02em;
  border-radius: 4px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .arrow, .link-underline .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow, .link-underline:hover .arrow { transform: translateX(5px); }

.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px -10px rgba(60, 72, 83, .6); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(60, 72, 83, .55); }

.btn-outline { border: 1px solid #C9C2B7; color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--ink); background: rgba(255, 255, 255, .45); }

.link-underline {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14.5px; color: var(--text);
  padding-bottom: 6px;
  position: relative;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: calc(100% - 26px); height: 1px; background: #B9B2A7;
  transition: background .3s, width .35s var(--ease);
}
.link-underline:hover { color: var(--ink); }
.link-underline:hover::after { background: var(--ink); width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg);
  transition: height .4s var(--ease), background .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(244, 241, 236, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(60, 72, 83, .07), 0 10px 30px -20px rgba(60, 72, 83, .35);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 29px; color: var(--ink); letter-spacing: .01em; transition: font-size .4s var(--ease); }
.brand-tag { font-size: 9px; letter-spacing: .38em; text-transform: uppercase; color: var(--label); margin-top: 9px; }
.is-scrolled .brand-name { font-size: 25px; }

.main-nav { display: flex; gap: clamp(20px, 3vw, 40px); margin-left: auto; }
.nav-link {
  position: relative; font-size: 13.5px; color: var(--text); padding: 8px 0;
  transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  width: 40px; height: 40px; position: relative; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; height: 1.5px; width: 22px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s, width .3s var(--ease); }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle:hover span:nth-child(2) { width: 22px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  opacity: .6;
}

/* ============ Drawer ============ */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(60, 72, 83, .25);
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(420px, 100%);
  background: var(--bg);
  padding: 120px 48px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%);
  transition: transform .55s var(--ease);
  box-shadow: -20px 0 50px -30px rgba(60, 72, 83, .5);
  overflow-y: auto;
}
.drawer { visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer-open .drawer { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
/* Keep the header (and its ✕ toggle) above the open drawer; otherwise a full-width drawer on phones hides the only close button. */
.drawer-open .site-header { z-index: 65; }

.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-family: var(--serif); font-size: 28px; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 20px;
  transition: padding .35s var(--ease), color .3s;
}
.drawer-nav a span { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.drawer-nav a:hover { padding-left: 10px; }
.drawer-info { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; font-size: 14.5px; }
.drawer-info a:hover { color: var(--ink); }
.drawer-info p:last-child { margin: 0; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: min(760px, 100vh);
  margin-top: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(100deg, #EDE5D8 0%, #E9DFD0 45%, #E4D8C6 100%);
  overflow: hidden;
}
/* The illustration bleeds under the text and dissolves into the wall on its left */
.hero-art {
  position: absolute; top: 0; right: 0; bottom: 0;
  /* never wider than 1.25x the hero height (the drawing is 700x560), so it is not enlarged or cropped at the top on wide screens */
  width: min(74%, 950px, 125vh);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 14%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 14%, #000 34%);
}
.hero-art svg { width: 100%; height: 100%; }

/* Window light: four blurred panes, skewed like sun through glass, drifting over ~a minute */
.window-light {
  position: absolute; z-index: 1; pointer-events: none;
  top: -12%; left: 4%; width: min(520px, 42vw); height: 124%;
  display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 34px;
  transform: skewX(-24deg);
  filter: blur(7px);
  opacity: .5;
  animation: sun-drift 70s ease-in-out infinite alternate;
}
.window-light i { background: linear-gradient(170deg, rgba(255, 252, 245, .9), rgba(255, 249, 238, .45)); border-radius: 4px; }
@keyframes sun-drift {
  0%   { transform: translateX(-12vw) skewX(-18deg); opacity: .4; }
  50%  { opacity: .62; }
  100% { transform: translateX(38vw) skewX(-30deg); opacity: .36; }
}

.hero-blob { transform-box: fill-box; transform-origin: center; animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: rotate(4deg) scale(1.03); } }

/* sways from the bottom centre of the branches, i.e. the vase opening */
.branch { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-.8deg); } to { transform: rotate(1deg); } }

.hero-inner { position: relative; z-index: 2; padding: 80px 0 110px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(46px, 6.8vw, 88px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 36px; }
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; max-width: 500px; margin-bottom: 42px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--muted), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--ink); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ============ About ============ */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid; grid-template-columns: 1.15fr 1px .85fr; gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-grid::before {
  content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--line);
}
.about-copy { grid-column: 1; grid-row: 1; max-width: 520px; }
.about-copy > p:not(.eyebrow), .more p { font-size: 15.5px; line-height: 1.85; }
.more { overflow: hidden; }
.more:not([hidden]) { animation: fadeDown .6s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
#aboutToggle { margin-top: 18px; }
#aboutToggle[aria-expanded="true"] .arrow { transform: rotate(-90deg); }

.facts { grid-column: 3; grid-row: 1; }
.fact { display: grid; grid-template-columns: 62px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); }
.fact:first-child { padding-top: 4px; }
.fact:last-child { border-bottom: 0; }
/* A fact without a number spans the full width instead of sitting in the narrow number column. */
.fact > div:only-child { grid-column: 1 / -1; }
.fact-num {
  font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.3;
  position: relative; align-self: start;
}
.fact-num::after { content: ""; position: absolute; left: 0; top: calc(100% + 12px); width: 22px; height: 1px; background: var(--muted); }
.fact .eyebrow { font-size: 10px; margin-bottom: 8px; }
.fact p:last-child { margin: 0; font-size: 14.5px; line-height: 1.7; }
.studies { display: grid; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.studies span { display: block; font-size: 13px; color: var(--label); margin-top: 2px; }
.studies span::before { content: "– "; }

/* ============ Services ============ */
.services-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.services-copy p:not(.eyebrow) { font-size: 15.5px; line-height: 1.85; max-width: 400px; margin-bottom: 34px; }
.services-copy p:last-child { margin-bottom: 0; }

.areas { display: grid; grid-template-columns: repeat(5, 1fr); }
.area {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: 6px 10px 24px;
  border-left: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.area:hover { transform: translateY(-6px); }
.area h3 { font-family: var(--sans); font-weight: 300; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.area-icon {
  width: 68px; height: 64px;
  display: grid; place-items: center;
  transition: transform .45s var(--ease), border-radius .9s var(--ease);
}
.blob-1 { border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%; }
.blob-2 { border-radius: 44% 56% 41% 59% / 58% 45% 55% 42%; }
.blob-3 { border-radius: 52% 48% 61% 39% / 43% 59% 41% 57%; }
.blob-4 { border-radius: 39% 61% 47% 53% / 55% 41% 59% 45%; }
.blob-5 { border-radius: 62% 38% 49% 51% / 46% 52% 48% 54%; }
.area:hover .area-icon { transform: scale(1.06) rotate(-3deg); border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; }
.area-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

.tone-blue { background: var(--blue-soft); }
.tone-peach { background: var(--peach-soft); }
.tone-rose { background: var(--rose-soft); }

.services .olive-divider { margin-top: clamp(64px, 8vw, 96px); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 8px;
  scroll-margin-top: 120px;
}
.step { padding: 36px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.step h3 { font-size: 22px; margin: 10px 0 12px; }
.step p { font-size: 14.5px; line-height: 1.8; margin: 0; }


/* ============ CTA ============ */
.cta { background: var(--band); padding: clamp(64px, 8vw, 92px) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta-copy { border-left: 1px solid #A9B3BC; padding-left: clamp(24px, 4vw, 40px); }
.cta-copy .eyebrow { font-size: 10.5px; }
.cta-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.cta-copy p:not(.eyebrow) { font-size: 15.5px; margin-bottom: 30px; }
.values { border-left: 1px solid #A9B3BC; padding: 8px 0 8px clamp(32px, 5vw, 48px); margin-right: clamp(0px, 4vw, 60px); display: grid; gap: 14px; }
.values li { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--label); display: flex; align-items: center; gap: 14px; }
.values li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .5; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-copy > p:not(.eyebrow) { font-size: 15.5px; line-height: 1.85; max-width: 420px; }
.contact-list { margin-top: 36px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.contact-list svg, .footer-contact svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-list a:hover { color: var(--ink); }
a[href^="mailto:"] { overflow-wrap: anywhere; }

.contact-form { background: var(--white); padding: clamp(28px, 4vw, 44px); border-radius: 6px; box-shadow: 0 30px 60px -45px rgba(60, 72, 83, .5); }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--label); margin-bottom: 8px; }
.field label em { text-transform: none; letter-spacing: 0; font-style: normal; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 8em; max-height: 20em; overflow-y: auto; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.invalid input, .field.invalid textarea { border-color: #B98A7C; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; margin: 4px 0 28px; cursor: pointer; }
.check input { accent-color: var(--accent); margin-top: 3px; width: 15px; height: 15px; flex: none; }
.check.invalid span { color: #9A6B5E; }
.form-note { margin: 18px 0 0; font-size: 14px; color: var(--accent); min-height: 1.5em; }
.form-note.is-error { color: #9A6B5E; }
.contact-form button[disabled] { opacity: .65; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Footer ============ */
.site-footer { padding: 0 0 30px; }
.site-footer > .olive-divider { margin-bottom: 40px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.brand.small .brand-name { font-size: 20px; }
.brand.small .brand-tag { font-size: 8.5px; margin-top: 7px; }
.footer-contact { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-contact svg { width: 17px; height: 17px; }
.footer-legal { display: flex; gap: 18px; font-size: 12px; }
.footer-legal li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.signoff { display: flex; align-items: center; gap: 16px; }
.signoff .olive { width: 52px; stroke-width: 1.6; }

/* ============ Back to top ============ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-size: 18px;
  box-shadow: 0 10px 24px -12px rgba(60, 72, 83, .7);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-dark); }

/* ============ Legal pages ============ */
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--ink); }

.legal-header { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-back { font-size: 14px; }
.legal { max-width: 760px; padding: clamp(48px, 8vw, 96px) 0; }
.legal h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin: 18px 0 10px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; margin: 48px 0 14px; }
.legal h3 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 24px 0 6px; }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal a:hover { color: var(--ink); text-decoration-color: currentColor; }
.legal ul { margin: 0 0 1em; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 8px; height: 1px; background: var(--muted); }
.legal-notice { margin: 36px 0 8px; padding: 22px 26px; background: var(--rose-soft); border-left: 2px solid var(--olive); }
.legal-notice p:last-child { margin: 0; }
.not-found { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.not-found .olive { width: 150px; margin-bottom: 28px; }
.legal .btn, .legal .link-underline { text-decoration: none; }
.not-found-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.legal-footer .footer-bottom { border-top: 1px solid var(--line); align-items: center; }

/* ============ Olive branch motif ============ */
.olive { color: var(--olive); stroke-width: 1.1; overflow: visible; }
.js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + .35s); }
.js .is-in .draw path { stroke-dashoffset: 0; }
.js .olive { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.js .olive.is-in { stroke-dashoffset: 0; }

.olive-divider { display: flex; align-items: center; gap: 28px; }
.olive-divider::before, .olive-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.olive-divider .olive { width: 132px; flex: none; }

.olive-bg { position: absolute; pointer-events: none; stroke-width: .5; opacity: .32; z-index: -1; }
.contact-copy { position: relative; isolation: isolate; }
.contact-copy .olive-bg { width: 440px; max-width: 110%; top: -6px; left: -56px; opacity: .24; transform: rotate(6deg) scaleX(-1); }

/* ============ Reveal on scroll ============ */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .areas { max-width: 680px; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .brand-name { font-size: 24px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .3em; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-inner { order: 1; padding: 56px 0 24px; }
  .hero-art {
    position: relative; order: 2; width: 100%; height: 340px; margin-top: -60px;
    -webkit-mask-image: linear-gradient(transparent 0, #000 34%);
            mask-image: linear-gradient(transparent 0, #000 34%);
  }
  .window-light { width: 70vw; left: -10%; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-grid::before { display: none; }
  .about-copy, .facts { grid-column: 1; grid-row: auto; }
  .facts { border-top: 1px solid var(--line); }
  .fact:first-child { padding-top: 28px; }

  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }

  .cta-inner { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, auto); justify-content: start; gap: 14px 32px; margin: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy .olive-bg { width: 320px; left: -24px; }
}

@media (max-width: 560px) {
  .areas { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .area:nth-child(3n + 1) { border-left: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .values { grid-template-columns: 1fr; padding-left: 24px; }
  .drawer { padding: 100px 28px 36px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
