/* LECORP Ventures
   Dark, photographic, typographic. Schibsted Grotesk throughout,
   deep green-black + emerald, with one bright mint accent for actions. */

:root {
  --ink: #0b0f0e;
  --ink-2: #131a18;
  --ink-3: #1b2421;
  --paper: #f3f4f1;
  --white: #ffffff;
  --text: #0b0f0e;
  --muted: #59625e;
  --muted-dark: #a3ada8;
  --line: rgba(11, 15, 14, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --emerald: #0f5a45;
  --emerald-2: #0b4a39;
  --mint: #9ff0c9;
  --mint-2: #c4f7de;
  --error: #b3261e;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
/* On dark backgrounds the focus ring is mint so it stays visible */
.header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .approach :focus-visible, .cta :focus-visible,
.tile--photo:focus-visible, .tile--green:focus-visible, .side-card :focus-visible, .details-card :focus-visible, .footer :focus-visible { outline-color: var(--mint); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--flush { padding-top: 0; }
.details-note { margin-top: 16px; }
.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: -80px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.i-arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }
a:hover .i-arrow, .btn:hover .i-arrow, .tile:hover .i-arrow { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--accent { background: var(--mint); color: var(--ink); }
.btn--accent:hover { background: var(--mint-2); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mint); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--emerald); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open {
  background: rgba(11, 15, 14, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
/* backdrop-filter would trap the fixed mobile menu inside the header, so the open state is solid */
.header.is-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--mint); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { color: var(--white); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; display: flex; flex-direction: column; line-height: 1; }
.brand-name span { font-weight: 500; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted-dark); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; color: rgba(255,255,255,.78); position: relative; padding: 6px 0; transition: color .2s; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--white); }
.nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); border-radius: 2px; }
.nav-cta { padding: 12px 20px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before { position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transform: translateX(-50%); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-bars { top: 20px; }
.menu-bars::before { content: ""; top: 6px; }
.is-open .menu-bars { top: 23px; transform: translateX(-50%) rotate(45deg); }
.is-open .menu-bars::before { top: 0; transform: translateX(-50%) rotate(-90deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,15,14,.7) 0%, rgba(11,15,14,.45) 30%, rgba(11,15,14,.7) 62%, rgba(11,15,14,.96) 100%),
  linear-gradient(90deg, rgba(11,15,14,.8) 0%, rgba(11,15,14,.25) 70%); }
.hero > .container { width: 100%; }
.hero-content { padding-top: 160px; }
.hero-kicker { color: var(--mint); font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: .98; max-width: 15ch; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 48ch; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 28px 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line-dark); }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-weight: 600; }
.hero-facts span { color: var(--muted-dark); font-size: .95rem; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 40ch; margin: 0; font-size: 1.1rem; }

/* ---------- Intro statement ---------- */
.intro { background: var(--paper); }
.intro { padding: clamp(64px, 7vw, 104px) 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.intro-grid .intro-photo { aspect-ratio: 16 / 11; margin-bottom: 20px; }
.intro-grid .intro-photo img { object-position: 50% 62%; }
.statement { font-size: clamp(1.9rem, 3.6vw, 3.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
.statement span { color: var(--muted); }
.intro-photo { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-side p { color: var(--muted); }

/* ---------- Bento ---------- */
.services-bento { background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(280px, auto); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  text-decoration: none; min-height: 280px;
}
.tile p { margin: 0; max-width: 46ch; }
.tile h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.tile--lg { grid-column: span 7; grid-row: span 2; min-height: 600px; }
.tile--green { grid-column: span 5; background: var(--emerald); color: var(--white); }
.tile--green p { color: rgba(255,255,255,.78); }
.tile--light { grid-column: span 5; background: var(--paper); border: 1px solid var(--line); }
.tile--light p { color: var(--muted); }
.tile--wide { grid-column: span 12; min-height: 320px; }
.tile--photo { color: var(--white); background: var(--ink); }
.tile--photo p { color: rgba(255,255,255,.82); }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,14,0) 25%, rgba(11,15,14,.88) 100%); }
.tile--wide::after { background: linear-gradient(90deg, rgba(11,15,14,.75) 0%, rgba(11,15,14,.05) 100%); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; gap: 12px; }
.tile-body--row { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.tile-body--row h3 { max-width: 14ch; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.tile-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.tile--green .tile-link { color: var(--mint); }
.tile--light .tile-link { color: var(--emerald); }
.tag { align-self: flex-start; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: inherit; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: auto; }
.tile--light .tag { background: var(--white); border: 1px solid var(--line); }
.tile--green .tag { background: rgba(255,255,255,.12); }

/* ---------- Approach (dark, sticky heading) ---------- */
.approach { background: var(--ink); color: var(--white); }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.approach-head { position: sticky; top: 120px; }
.approach-head p { color: var(--muted-dark); font-size: 1.15rem; max-width: 36ch; margin: 24px 0 32px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line-dark); transition: border-color .3s; }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step:hover { border-top-color: var(--mint); }
.step-n { font-size: .95rem; font-weight: 600; color: var(--mint); padding-top: 6px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.step p { color: var(--muted-dark); margin: 0; max-width: 44ch; }

/* ---------- Fit ---------- */
.fit { background: var(--paper); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card { border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); }
.fit-card h3 { margin-bottom: 20px; }
.fit-card--yes { background: var(--white); border: 1px solid var(--line); }
.fit-card--no { background: transparent; border: 1px dashed rgba(11,15,14,.25); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%239ff0c9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks--no li { color: var(--muted); }
.checks--no li::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%2359625e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 1px solid rgba(11,15,14,.25);
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230b0f0e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--mint); border-color: var(--mint); }
.faq-list summary:hover::after { border-color: var(--ink); }
.faq-list details p { color: var(--muted); max-width: 60ch; margin: -6px 0 26px; }

/* ---------- CTA ---------- */
.cta-section { background: var(--white); padding-top: 0; }
.cta { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; isolation: isolate; color: var(--white); padding: clamp(48px, 8vw, 120px) clamp(28px, 6vw, 88px); min-height: 520px; display: flex; align-items: flex-end; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,15,14,.9) 0%, rgba(11,15,14,.55) 55%, rgba(11,15,14,.2) 100%); }
.cta-body { max-width: 620px; }
.cta-body h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: 20px; }
.cta-body p { color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 32px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; padding: 200px 0 clamp(64px, 8vw, 110px); }
.page-hero .hero-img { opacity: .55; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,14,.6) 0%, rgba(11,15,14,.85) 100%); }
.crumbs { display: flex; gap: 10px; color: var(--muted-dark); font-size: .95rem; margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-title { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: .95; max-width: 14ch; }
.page-lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.8); max-width: 54ch; margin: 28px 0 0; }
.page-hero--plain { padding-bottom: 72px; }

/* ---------- Services page ---------- */
.service-nav { position: sticky; top: 80px; z-index: 10; background: rgba(243,244,241,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.service-nav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.service-nav a { white-space: nowrap; text-decoration: none; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.service-nav a:hover { border-color: var(--ink); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(72px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.service-row:last-child { border-bottom: 0; }
.service-row--flip .service-media { order: 2; }
.service-media { position: sticky; top: 160px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-index { color: var(--emerald); font-weight: 600; margin-bottom: 16px; }
.service-row h2 { margin-bottom: 24px; }
.service-row .lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.chips strong { font-weight: 600; }
.included { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.included h3 { font-size: 1.15rem; margin-bottom: 8px; }
.included .checks li:first-child { border-top: 0; }

/* ---------- About page ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-split .intro-photo { margin: 0; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.principle-n { font-weight: 600; color: var(--emerald); margin-bottom: auto; }
.principle p { color: var(--muted); margin: 0; }
.details-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.details-card p { color: var(--muted-dark); }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.facts > div:last-child { border-bottom: 1px solid var(--line-dark); }
.facts dt { color: var(--muted-dark); }
.facts dd { margin: 0; font-weight: 500; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--mint); }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: -64px; position: relative; z-index: 2; padding-bottom: var(--section); }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(11,15,14,.25); }
.form-card > h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--paper);
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 15px 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(15,90,69,.14); }
.field textarea { resize: vertical; min-height: 150px; }
.field [aria-invalid="true"] { border-color: var(--error); background: #fdf3f2; }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 500; transition: all .2s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice span { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-legal { color: var(--muted); font-size: .9rem; margin: 0; max-width: 36ch; }
.form-card .btn--dark { padding: 18px 28px; }

.notice { border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 24px; background: #e6f4ed; color: var(--emerald-2); font-weight: 500; }
.notice--error { background: #fdf0ef; color: var(--error); }
.sent { text-align: left; padding: 24px 0; }
.sent-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin-bottom: 28px; }
.sent-icon svg { width: 28px; height: 28px; }
.sent h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 12px; }
.sent p { color: var(--muted); max-width: 46ch; }

.contact-side { display: grid; gap: 16px; }
.side-card { border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.side-card--dark { background: var(--ink); color: var(--white); }
.side-card--dark .facts > div { grid-template-columns: 1fr; gap: 2px; }
.side-card--green { background: var(--emerald); color: var(--white); }
.side-card h2 { font-size: 1.5rem; margin-bottom: 20px; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 12px 0; color: rgba(255,255,255,.85); }
.next-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--mint); display: grid; place-items: center; font-size: .85rem; font-weight: 700; }

/* ---------- Prose / errors ---------- */
.prose { max-width: 72ch; padding-top: var(--section); padding-bottom: var(--section); }
.prose h2 { font-size: 1.6rem; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #2d3431; }
.prose a { color: var(--emerald); }
.updated { color: var(--muted); font-size: .95rem; margin-top: 48px; }

.error-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.error-code { font-size: clamp(6rem, 20vw, 16rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; color: var(--mint); margin: 0 0 16px; }
.error-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer-top { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-pitch { font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0; max-width: 22ch; }
.footer-pitch a { color: var(--mint); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.footer-pitch a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; }
.footer-h { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted-dark); margin-bottom: 14px; }
.footer-grid p { margin: 0; line-height: 1.9; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--mint); }
.footer-wordmark::before { content: attr(data-text); }
.footer-wordmark { font-size: clamp(5rem, 22vw, 19rem); font-weight: 900; letter-spacing: -0.06em; line-height: .78; margin: 0 0 -0.04em; color: var(--ink-3); user-select: none; white-space: nowrap; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: .9rem; position: relative; }
.footer-legal p { margin: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tile--lg { grid-column: span 12; grid-row: auto; min-height: 520px; }
  .tile--green, .tile--light { grid-column: span 6; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 24px var(--pad) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--white); }
  .nav > a[aria-current="page"]::after { display: none; }
  .nav > a[aria-current="page"] { color: var(--mint); }
  .nav-cta { margin-top: 32px; justify-content: center; padding: 18px; }
  /* Without JS, show the links in place */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; background: none; padding: 0; gap: 16px; }
  html:not(.js) .nav > a:not(.btn) { font-size: 1rem; border: 0; padding: 0; }
  html:not(.js) .nav-cta { display: none; }

  .intro-grid, .approach-grid, .faq-grid, .fit-grid, .service-row, .about-split, .details-card, .contact-wrap { grid-template-columns: 1fr; }
  .approach-head { position: static; }
  .service-row--flip .service-media { order: 0; }
  .service-media { position: static; aspect-ratio: 16 / 10; }
  .intro-photo { aspect-ratio: 16 / 11; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .contact-wrap { margin-top: -40px; }
}

@media (max-width: 640px) {
  .tile--green, .tile--light { grid-column: span 12; }
  .tile--lg { min-height: 460px; }
  .hero-actions, .hero-actions .btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta { min-height: 460px; }
  .brand-name span { display: none; }
}

@media print {
  .header, .footer, .cta-section { display: none; }
  .hero, .page-hero { color: var(--ink); background: none; min-height: 0; }
  .hero-img, .hero-shade { display: none; }
}
