/* ==========================================================================
   LumeSpring — styles
   Warm ivory canvas · deep forest/ink green · spring-lime CTAs · pale mint tiles
   ========================================================================== */

:root {
  --ivory: #FBF9F3;
  --ivory-deep: #F4F1E8;
  --ink: #0F2A1D;
  --forest: #163B2A;
  --forest-deep: #0E2A1E;
  --lime: #C6F25A;
  --lime-hover: #B8EA42;
  --lime-dark: #6B9A1D;
  --mint: #E4F2DA;
  --mint-pale: #EEF6E6;
  --leaf: #5EA23A;
  --muted: #4B5A52;
  --line: #E6E2D6;
  --white: #FFFFFF;

  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(15, 42, 29, .04), 0 10px 30px -14px rgba(15, 42, 29, .18);
  --shadow-device: 0 30px 60px -24px rgba(15, 42, 29, .45), 0 4px 12px rgba(15, 42, 29, .12);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 8px; z-index: 100;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h1.display { font-size: clamp(2.7rem, 6vw, 4.75rem); }
h2.display { font-size: clamp(2rem, 4.2vw, 3.2rem); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
}

/* short lime brush stroke under a single word */
.stroke-accent { position: relative; white-space: nowrap; }
.stroke-accent::after {
  content: "";
  position: absolute;
  left: -4%; right: -2%; bottom: -.22em;
  height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C 60 8, 130 6, 196 12' fill='none' stroke='%23B5E650' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
.stroke-accent--lime::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C 60 8, 130 6, 196 12' fill='none' stroke='%23C6F25A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(107, 154, 29, .7); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-dark { background: var(--forest-deep); color: var(--white); }
.btn-dark:hover { background: var(--forest); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none;
  padding: .5em .25em;
}
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow .arrow { transition: transform .15s ease; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 243, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(15, 42, 29, .35); }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600;
  font-size: 1.45rem; letter-spacing: -0.01em;
}
.brand-mark { width: 40px; height: 40px; }
.brand-small { font-size: 1.1rem; }
.brand-small .brand-mark { width: 28px; height: 28px; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
  text-decoration: none; font-weight: 500; color: var(--ink);
  padding: 6px 2px; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.btn-header { padding: .8em 1.3em; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 20px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(15, 42, 29, .35);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .btn-header { justify-content: center; margin-top: 8px; }
}

/* sections should clear the sticky header when linked to */
section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- hero ---------- */
.hero { padding: clamp(16px, 3vw, 36px) 0 clamp(32px, 5vw, 56px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.hero-copy { display: grid; gap: 22px; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

.hero-visual {
  position: relative;
  aspect-ratio: 800 / 560;
  min-height: 320px;
}
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.device { position: absolute; }

/* laptop — MacBook-style lid, notch, aluminium base */
.laptop {
  right: 8%; top: 5%;
  width: 77%;
  z-index: 1;
  container-type: inline-size;
}
.laptop-lid {
  position: relative;
  background: linear-gradient(180deg, #D9DDD7 0%, #C4C9C2 100%);
  border-radius: 2.2cqw 2.2cqw 0 0;
  padding: 1.1cqw 1.1cqw 1.4cqw;
  box-shadow: var(--shadow-device), inset 0 1px 0 rgba(255,255,255,.7);
}
.laptop-screen {
  position: relative;
  background: #0B0D0B;
  border-radius: 1.3cqw 1.3cqw .4cqw .4cqw;
  padding: 1.6cqw 1.6cqw 1.6cqw;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.laptop-notch {
  position: absolute; left: 50%; top: 1.1cqw; transform: translateX(-50%);
  width: 15cqw; height: 1.7cqw;
  background: #0B0D0B; border-radius: 0 0 .9cqw .9cqw; z-index: 3;
}
.laptop-notch::after {
  content: ""; position: absolute; left: 50%; top: .35cqw; transform: translateX(-50%);
  width: .8cqw; height: .8cqw; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #1f3a52, #000 70%);
}
.laptop-base {
  position: relative;
  margin: 0 -4%;
  aspect-ratio: 1000 / 26;
  background: linear-gradient(180deg, #EEF0EC 0%, #C9CDC7 55%, #A7ACA5 100%);
  border-radius: 0 0 1.6cqw 1.6cqw;
  box-shadow: 0 .5cqw 1cqw -.4cqw rgba(15, 42, 29, .45);
}
.laptop-base::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(255,255,255,.8);
}
.laptop-lip {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 14%; height: 38%;
  background: linear-gradient(180deg, #9EA39C, #B6BBB4);
  border-radius: 0 0 .8cqw .8cqw;
}
.floor-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -3.5cqw; height: 5cqw;
  background: radial-gradient(ellipse at center, rgba(15, 42, 29, .28), rgba(15, 42, 29, 0) 70%);
  z-index: -1; pointer-events: none;
}

/* browser chrome inside the laptop */
.browser {
  background: var(--white);
  border-radius: .6cqw;
  height: 100%;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 1.4cqw;
  padding: .9cqw 1.4cqw;
  background: #F3F4F1; border-bottom: 1px solid #E6E8E3;
}
.traffic { display: flex; gap: .55cqw; }
.traffic i { width: .95cqw; height: .95cqw; border-radius: 50%; display: block; }
.traffic i:nth-child(1) { background: #FF5F57; }
.traffic i:nth-child(2) { background: #FEBC2E; }
.traffic i:nth-child(3) { background: #28C840; }
.url-pill {
  flex: 1; max-width: 40%; margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: .6cqw;
  background: var(--white); border: 1px solid #E3E5E0; border-radius: .7cqw;
  padding: .35cqw 1cqw; font-size: 1.05cqw; color: #5B665F;
}
.url-pill svg { width: 1.1cqw; height: 1.1cqw; fill: none; stroke: #5B665F; stroke-width: 2; }

/* dashboard UI inside the browser window */
.dash {
  background: var(--white);
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 24% 1fr;
  overflow: hidden;
  font-size: clamp(4px, 1.25cqw, 10px);
}
.dash-side { background: #F6F8F3; padding: 7% 6%; }
.dash-logo { width: 18%; margin-bottom: 10%; }
.dash-side li {
  display: flex; align-items: center; gap: 6%;
  padding: 6% 8%; border-radius: 5px; margin-bottom: 3%;
  font-size: 1em; color: var(--muted);
}
.dash-side li i { width: .9em; height: .9em; border-radius: 3px; background: #CFD8CB; display: inline-block; }
.dash-side li.active { background: var(--mint); color: var(--ink); font-weight: 600; }
.dash-side li.active i { background: var(--leaf); }

.dash-main { padding: 3% 3.5%; display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr); gap: 2%; min-width: 0; min-height: 0; overflow: hidden; }
.dash-top { display: flex; justify-content: flex-end; align-items: center; gap: 4%; }
.dash-search {
  width: 34%; height: 1.8em; background: #F1F3EE; border-radius: 999px;
  display: flex; align-items: center; gap: .5em; padding: 0 .9em;
  font-size: .85em; color: #8A948E;
}
.dash-search svg { width: 1.1em; height: 1.1em; fill: none; stroke: #8A948E; stroke-width: 2; stroke-linecap: round; }
.dash-avatar { width: 1.9em; }
.dash-greet { font-size: .95em; color: var(--muted); }
.dash-title { font-size: 1.85em; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; margin-top: 2%; }
.stat, .panel {
  border: 1px solid #ECEEE8; border-radius: 7px; padding: 5% 7%;
  display: grid; gap: .3em; align-content: start; min-width: 0;
}
.stat { position: relative; }
.stat-label { font-size: .85em; color: var(--muted); }
.stat-value { font-size: 1.7em; font-weight: 600; letter-spacing: -0.02em; }
.stat svg { position: absolute; right: 8%; bottom: 14%; width: 38%; height: auto; }
.stat-bars rect { fill: #B9DD86; }
.stat-line path { fill: none; stroke: var(--leaf); stroke-width: 2; }
.stat-arrow path { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dash-panels { display: grid; grid-template-columns: 1.9fr 1fr; gap: 3%; min-height: 0; }
.panel-chart { grid-template-rows: auto 1fr auto; }
.area-chart { width: 100%; height: 100%; min-height: 0; }
.chart-bars rect { fill: #EEF3E6; }
.chart-axis { display: flex; justify-content: space-between; font-size: .75em; color: var(--muted); }
.panel-goal { grid-template-rows: auto 1fr auto; justify-items: center; }
.ring { position: relative; width: 60%; aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: #EEF3E6; stroke-width: 6; }
.ring-fill { fill: none; stroke: var(--leaf); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 22; }
.ring-value { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 1.2em; }
.goal-steps { width: 100%; font-size: .85em; color: var(--muted); display: grid; gap: .25em; }
.goal-steps li::before { content: "✓"; color: var(--leaf); margin-right: .5em; font-weight: 700; }

/* phone — Pixel 10 Pro: flat polished frame, punch-hole camera, side buttons */
.phone {
  container-type: inline-size;
  left: 7%; bottom: 3%;
  width: 24.5%;
  z-index: 2;
  background: linear-gradient(160deg, #3A3D3B 0%, #1B1D1B 45%, #2C2F2D 100%);
  border-radius: 14% / 6.4%;
  padding: 2.6%;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.22),
    0 0 0 1px #0E100E,
    var(--shadow-device);
}
.pixel-btn {
  position: absolute; right: -1.6%;
  width: 1.8%; background: linear-gradient(90deg, #2A2D2B, #4A4D4B);
  border-radius: 0 1px 1px 0;
}
.pixel-btn-power { top: 20%; height: 7.5%; }
.pixel-btn-vol { top: 30%; height: 13%; }
.pixel-camera {
  position: absolute; left: 50%; top: 2.2%; transform: translateX(-50%);
  width: 6%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #243B52 0%, #050709 60%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6);
  z-index: 3;
}
.pixel-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5.5% 8% 0;
  font-size: .78em; font-weight: 600; color: var(--ink);
}
.pixel-icons { display: inline-flex; gap: .35em; align-items: center; }
.pixel-icons svg { width: 1.05em; height: 1.05em; fill: var(--ink); }
.pixel-navbar {
  justify-self: center;
  width: 36%; height: 2.5px; border-radius: 2px;
  background: var(--ink); opacity: .85;
  margin: 0 0 4%;
}
.phone-screen {
  position: relative;
  background: var(--white);
  border-radius: 11.5% / 5.2%;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  font-size: clamp(4px, 5.2cqw, 10px);
}
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 7% 9% 3%; }
.phone-logo { width: 1.8em; }
.phone-dots { font-size: .9em; color: var(--muted); letter-spacing: .1em; }
.phone-title { padding: 0 9% 7%; font-weight: 600; font-size: 1.3em; line-height: 1.2; letter-spacing: -0.02em; }
.phone-art { width: 100%; height: 100%; min-height: 0; }
.phone-list { padding: 6% 7% 5%; display: grid; gap: 4%; }
.phone-list li {
  display: flex; align-items: center; gap: 6%;
  padding: 5% 7%; border: 1px solid #ECEEE8; border-radius: 6px;
  font-size: .95em; font-weight: 500; white-space: nowrap;
}
.pill-icon { color: var(--leaf); font-size: 1em; width: 1.2em; }
.chev { margin-left: auto; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 0; }
  .laptop { width: 84%; right: 4%; }
  .phone { width: 27%; left: 1%; }
}

/* ---------- principles ---------- */
.principles { padding: 8px 0 32px; }
.principles-list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 20px;
  color: var(--muted); font-size: 1rem;
  position: relative;
}
.principles-list::before, .principles-list::after {
  content: ""; flex: 1 1 60px; max-width: 140px; height: 1px; background: var(--line);
}
.principles-list .dot { color: #B9B4A6; }
@media (max-width: 600px) {
  .principles-list::before, .principles-list::after { display: none; }
  .principles-list .dot { display: none; }
  .principles-list { gap: 8px 24px; }
}

/* ---------- services ---------- */
.services { padding: 8px 0 40px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15,42,29,.04), 0 24px 40px -22px rgba(15,42,29,.3); }
.service-card:hover .icon-tile { transform: rotate(-4deg) scale(1.05); }
.icon-tile {
  width: 72px; height: 72px; border-radius: 14px;
  background: var(--mint-pale); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.icon-tile svg { width: 30px; height: 30px; }
.service-body h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.service-body p { color: var(--muted); font-size: .98rem; padding-right: 28px; }
.card-link {
  position: absolute; right: 22px; bottom: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  text-decoration: none; font-size: 1.15rem;
  transition: background-color .15s ease;
}
.card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; } /* keep hit area tidy */
.service-card:has(.card-link:hover) { background: #FDFCF8; }
.card-link:hover { background: var(--mint); }
@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- approach ---------- */
.approach { padding: 24px 0 clamp(48px, 7vw, 96px); }
.approach .container { width: min(100% - 2 * clamp(12px, 2.4vw, 40px), 1700px); }
.approach-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  min-height: 300px;
  background: var(--forest-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.approach-copy {
  position: relative; z-index: 2;
  padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 16px; justify-items: start;
  max-width: 44rem;
}
.approach-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
@media (min-width: 1100px) { .approach-copy h2 { white-space: nowrap; } }
.approach-copy p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; max-width: 30rem; }
.approach-copy .btn { margin-top: 6px; }
.approach-photo {
  position: absolute; inset: 0; left: auto;
  width: 64%; height: 100%;
  object-fit: cover; object-position: 70% 50%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  transform-origin: 70% 60%;
}
@media (max-width: 860px) {
  .approach-banner { grid-template-columns: 1fr; min-height: 0; }
  .approach-copy { padding-bottom: 24px; }
  .approach-photo {
    position: relative; width: 100%; height: 190px; inset: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
    margin-top: -24px;
  }
}

/* ---------- contact ---------- */
.contact { padding: 8px 0 clamp(56px, 8vw, 110px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: var(--shadow-card);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--lime-dark); }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D9D5C8;
  border-radius: var(--radius-sm);
  background: var(--ivory);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F2A1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(198, 242, 90, .45);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field-hint { font-size: .85rem; color: var(--muted); }
.field-error { font-size: .85rem; color: #B3261E; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.privacy-note { font-size: .85rem; color: var(--muted); max-width: 26rem; }
.privacy-note a { color: var(--ink); font-weight: 500; }

.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--mint); color: var(--ink); }
.form-status.is-error { background: #FBE9E7; color: #8C1D18; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
}
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; }
.legal { font-size: .85rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- simple pages (privacy / 404) ---------- */
.page { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.page .prose { max-width: 44rem; display: grid; gap: 18px; }
.page .prose h1 { margin-bottom: 8px; }
.page .prose h2 { font-size: 1.3rem; font-weight: 600; margin-top: 12px; }
.page .prose p, .page .prose li { color: var(--muted); }
.page .prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 6px; }
.page .prose a { color: var(--ink); }
.not-found { text-align: center; display: grid; gap: 18px; justify-items: center; }
.not-found .brand-mark { width: 72px; height: 72px; }

/* ==========================================================================
   Motion — every animation here is skipped under prefers-reduced-motion
   (the global rule near the top disables animations/transitions), and
   nothing below hides content unless JS is running and motion is allowed.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* hero entrance */
  html.js .hero-in {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards;
    animation-delay: calc(.1s + var(--i, 0) * .12s);
  }
  html.js .laptop {
    opacity: 0;
    animation: slide-in-right 1s cubic-bezier(.2,.8,.2,1) .25s forwards, float-a 7s ease-in-out 1.3s infinite;
  }
  html.js .phone {
    opacity: 0;
    animation: slide-in-left 1s cubic-bezier(.2,.8,.2,1) .45s forwards, float-b 6s ease-in-out 1.5s infinite;
  }
  html.js .hero-backdrop { opacity: 0; animation: fade-in 1.2s ease .05s forwards; }

  /* foliage sways gently from its base */
  .foliage {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: sway 7s ease-in-out infinite;
  }
  .foliage-left { animation-duration: 8.5s; animation-delay: -3s; }

  /* dashboard charts draw themselves */
  .chart-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s ease-out 1s forwards; }
  .chart-area { opacity: 0; animation: fade-in .8s ease 1.9s forwards; }
  .chart-bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow .7s cubic-bezier(.2,.8,.2,1) forwards; }
  .chart-bars rect:nth-child(1) { animation-delay: 1.0s; }
  .chart-bars rect:nth-child(2) { animation-delay: 1.1s; }
  .chart-bars rect:nth-child(3) { animation-delay: 1.2s; }
  .chart-bars rect:nth-child(4) { animation-delay: 1.3s; }
  .chart-bars rect:nth-child(5) { animation-delay: 1.4s; }
  .chart-bars rect:nth-child(6) { animation-delay: 1.5s; }
  .ring-fill { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.4s cubic-bezier(.2,.8,.2,1) 1.2s forwards; }
  .stat-line path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw-200 1.2s ease-out 1.2s forwards; }

  /* scroll reveal */
  html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--i, 0) * .12s);
  }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
  html.js .approach-banner .approach-photo { transform: scale(1.08); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
  html.js .approach-banner.is-visible .approach-photo { transform: scale(1); }
  html.js .approach-banner .stroke-accent::after,
  html.js .contact-intro .stroke-accent::after {
    clip-path: inset(0 100% 0 0);
    transition: clip-path .7s cubic-bezier(.2,.8,.2,1) .5s;
  }
  html.js .approach-banner.is-visible .stroke-accent::after,
  html.js .contact-intro.is-visible .stroke-accent::after { clip-path: inset(0 0 0 0); }
  html.js h1 .stroke-accent::after { clip-path: inset(0 100% 0 0); animation: wipe .7s cubic-bezier(.2,.8,.2,1) .9s forwards; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes slide-in-right { from { opacity: 0; transform: translate(40px, 10px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-left { from { opacity: 0; transform: translate(-30px, 20px); } to { opacity: 1; transform: none; } }
@keyframes float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.2deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-200 { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes ring { to { stroke-dashoffset: 22; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
