/* AJ Leeson / Design system */
:root {
  --forest: #133524;
  --moss: #415d4f;
  --yellow: #ffde00;
  --white: #ffffff;
  --ink: #0c1711;
  --paper: #f7f7f3;
  --line: rgba(19, 53, 36, .16);
  --line-light: rgba(255, 255, 255, .2);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --section-pad: 6rem;
  --container: 1320px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 0;
  /* Surface texture: fine grain plus a soft concrete-like mottle. Dark specks for light
     surfaces, light specks for dark ones. Layered under the section colour, never over content. */
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .2 0 0 0 0 .14 0 0 0 .32 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .3 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .36 0 0 0 0 .3 0 0 0 .07 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.container { width: min(calc(100% - 4rem), var(--container)); margin-inline: auto; }
.section-dark { color: var(--white); background: var(--grain-light) 0 0 / 240px, var(--forest); }
.section-light { background: var(--grain-dark) 0 0 / 240px, var(--mottle) 0 0 / 900px, var(--paper); }
.section-yellow { color: var(--forest); background: var(--grain-dark) 0 0 / 240px, var(--yellow); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 var(--space-4); color: var(--moss); font-size: .7rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.section-dark .eyebrow { color: var(--yellow); }
.display-heading { margin: 0; color: var(--forest); font: 400 clamp(2.4rem, 4.6vw, 4.8rem)/1.03 var(--serif); letter-spacing: -.045em; }
.section-dark .display-heading { color: var(--white); }
.display-heading em, .hero h1 em { color: var(--moss); font-style: italic; }
.section-dark .display-heading em { color: var(--yellow); }
.lead-copy { max-width: 420px; margin: var(--space-5) 0; color: var(--moss); font-size: 1.05rem; line-height: 1.8; }
.section-marker { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; color: var(--moss); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.section-dark .section-marker { color: var(--yellow); }
.section-marker svg { width: 1.2rem; height: 1.2rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .4rem; border-bottom: 1px solid var(--forest); color: var(--forest); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: gap .4s var(--ease), color .3s ease; }
.text-link:hover { gap: 1.2rem; color: var(--moss); }
.text-link svg { width: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 3.25rem; padding: .8rem 1.35rem; border: 1px solid transparent; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button svg { width: 1rem; height: 1rem; }
.button-primary { color: var(--forest); background: var(--yellow); }
.button-primary:hover { background: var(--white); }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.button-ghost:hover { color: var(--forest); background: var(--white); border-color: var(--white); }
.button-yellow { color: var(--forest); background: var(--yellow); }
.button-yellow:hover { color: var(--yellow); background: var(--moss); }
.button-dark { color: var(--white); background: var(--forest); }
.button-dark:hover { color: var(--forest); background: var(--yellow); }

/* Header */
.site-header { position: fixed; z-index: 20; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.4rem 3rem; color: var(--white); transition: padding .45s var(--ease), background .45s var(--ease), color .45s var(--ease), box-shadow .45s ease; }
.site-header.is-scrolled { padding-block: .85rem; color: var(--forest); background: rgba(247, 247, 243, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.brand { display: block; flex: 0 0 auto; width: 132px; }
/* The logo artwork is black on transparent: flip it to white on dark surfaces */
.brand img { filter: brightness(0) invert(1); transition: filter .45s var(--ease); }
.is-scrolled .brand img { filter: none; }
.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; margin-right: 2rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.main-nav a:not(.nav-mobile-cta), .header-cta { position: relative; }
.main-nav a:not(.nav-mobile-cta)::after { position: absolute; right: 0; bottom: -.35rem; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:not(.nav-mobile-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta, .nav-mobile-cta { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 1px solid currentColor; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .3s ease, color .3s ease; }
.header-cta:hover, .nav-mobile-cta:hover { color: var(--forest); background: var(--yellow); border-color: var(--yellow); }
.header-cta svg, .nav-mobile-cta svg { width: .95rem; }
.nav-mobile-cta { display: none; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: .7rem; color: currentColor; background: none; border: 1px solid currentColor; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: currentColor; transition: transform .3s ease; }

/* Hero */
.hero { position: relative; display: flex; min-height: min(820px, 100svh); overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 6rem 6rem; -webkit-mask-image: linear-gradient(90deg, black, transparent 80%); mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-glow { position: absolute; z-index: -1; top: -40%; right: -8%; width: 70vw; height: 130%; opacity: .48; background: radial-gradient(ellipse, rgba(65, 93, 79, .95), transparent 66%); transform: rotate(-18deg); }
.hero-content { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; padding-block: 7rem 4.5rem; }
.hero-eyebrow { color: var(--yellow); }
.eyebrow-line { width: 2.5rem; height: 1px; background: currentColor; }
.hero h1 { margin: 1.5rem 0 2.5rem; font: 400 clamp(5rem, 11vw, 10.5rem)/.8 var(--serif); letter-spacing: -.085em; }
.hero h1 em { display: inline-block; margin-left: clamp(2rem, 7vw, 7rem); }
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-lede { max-width: 320px; margin: 0; color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-scroll { position: absolute; right: 0; bottom: 1.6rem; left: 0; display: flex; width: max-content; margin-inline: auto; align-items: center; gap: .6rem; color: rgba(255,255,255,.58); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-scroll svg { width: .9rem; animation: scrollHint 2.2s ease-in-out infinite; }
@keyframes scrollHint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Hero moving background: confined to the right of the headline and below the header, so it never sits behind text */
.hero-scene { position: absolute; z-index: -1; top: 90px; right: 0; width: min(52%, 900px); height: calc(100% - 90px); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
.hero-scene .ln { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.5; stroke-linecap: square; }
.hero-scene .ln-strong { stroke: rgba(255,255,255,.55); stroke-width: 3; }
.hero-scene .ln-accent { stroke: rgba(255,222,0,.75); }
.hero-scene .ln-fill { fill: rgba(255,255,255,.06); }
.hero-scene .floor { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.45); stroke-width: 1.5; }
.hero-scene .floor-win { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.hero-scene .boq-bar { stroke: rgba(255,222,0,.7); stroke-width: 3; }
.hero-scene .boq-rule { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.lamp-glow { fill: rgba(255,222,0,.08); }
.scene-label { fill: rgba(255,222,0,.85); font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.scene-num { fill: rgba(255,255,255,.62); font: 500 12px var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* Trust strip */
.trust-strip { color: var(--white); background: var(--grain-light) 0 0 / 240px, var(--moss); }
.trust-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); padding-block: 1.8rem; }
.trust-intro { margin: 0; color: rgba(255,255,255,.75); font: 1rem/1.35 var(--serif); }
.trust-stat { display: flex; align-items: center; justify-content: center; gap: 1rem; border-left: 1px solid rgba(255,255,255,.25); transition: background .4s var(--ease); }
.trust-stat:hover { background: rgba(255,255,255,.07); }
.trust-stat strong { color: var(--yellow); font: 700 1.5rem var(--serif); font-variant-numeric: tabular-nums; }
.trust-stat span { color: rgba(255,255,255,.78); font-size: .72rem; line-height: 1.3; text-transform: uppercase; }

/* About */
.about { overflow-x: hidden; padding-block: var(--section-pad); }
.about-layout { display: grid; grid-template-columns: 1fr 2.8fr 3fr; gap: 3rem; align-items: start; }
.about-copy { padding-top: 2rem; }

/* 3D model viewer */
.model-viewer { position: relative; min-width: 0; }
.model-stage { position: relative; aspect-ratio: 1.05; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); cursor: grab; touch-action: pan-y; outline: 0; }
.model-stage:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.model-stage.is-dragging { cursor: grabbing; }
.model-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.model-fallback { position: absolute; inset: 0; display: none; place-items: center; margin: 0; padding: 2rem; color: var(--moss); font-size: .8rem; text-align: center; }
.model-viewer.is-fallback .model-fallback { display: grid; }
.model-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1rem; }
.model-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.model-tabs button { padding: .55rem .85rem; color: var(--forest); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.model-tabs button:hover { border-color: var(--forest); }
.model-tabs button.is-active { color: var(--yellow); background: var(--forest); border-color: var(--forest); }
.model-tabs button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.model-hint { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: var(--moss); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.model-hint svg { width: 1rem; height: 1rem; }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 2.2fr 3.6fr; gap: 3rem; align-items: center; margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--line); }
.founder-photo { grid-column: 2; margin: 0; }
.founder-photo > div { overflow: hidden; background: var(--moss); }
.founder-photo img { aspect-ratio: .82; object-position: 50% 30%; }
.founder-copy { min-width: 0; }
.founder-copy .lead-copy { max-width: 500px; }
.founder-sign { display: flex; flex-direction: column; gap: .3rem; padding-left: 1rem; border-left: 2px solid var(--yellow); }
.founder-sign strong { color: var(--forest); font: 400 1.25rem var(--serif); letter-spacing: -.02em; }
.founder-sign span { color: var(--moss); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Services */
.services { padding-block: 2rem var(--section-pad); }
.section-heading-row { display: grid; grid-template-columns: 1fr 2.8fr 2fr; gap: 3rem; align-items: start; }
.section-aside { max-width: 220px; margin: 3rem 0 0 auto; color: var(--moss); font-size: .85rem; line-height: 1.65; }
/* Borders live on the grid (top/left) and each card (right/bottom) so any card count lines up */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; display: flex; overflow: hidden; min-height: 340px; padding: 1.4rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); isolation: isolate; transition: color .45s var(--ease); }

/* Left-to-right wipe panel — script.js flips --clip-from to the right edge on exit so the motion carries through */
.service-fill { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--grain-light) 0 0 / 240px, var(--forest); clip-path: var(--clip-from, inset(0 100% 0 0)); transition: clip-path .6s var(--ease); }
.service-card-accent .service-fill { background: var(--grain-dark) 0 0 / 240px, var(--yellow); }
.service-card.is-active .service-fill { clip-path: inset(0 0 0 0); }

.service-body { display: flex; flex-direction: column; width: 100%; padding-bottom: 3.5rem; }
.service-card.is-active { color: var(--white); }
.service-card-accent.is-active { color: var(--forest); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; color: var(--moss); transition: color .45s var(--ease); }
.service-card.is-active .service-top { color: var(--yellow); }
.service-card-accent.is-active .service-top { color: var(--forest); }
.service-top svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.2; transition: transform .55s var(--ease); }
.service-card.is-active .service-top svg { transform: translateY(-4px) scale(1.08); }
.service-number { font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.service-card h3 { margin: auto 0 1rem; font: 400 clamp(1.4rem, 1.9vw, 2.1rem)/1.05 var(--serif); letter-spacing: -.045em; transition: transform .55s var(--ease); }
.service-card p { max-width: 240px; margin: 0; color: var(--moss); font-size: .8rem; line-height: 1.65; transition: color .45s var(--ease), transform .55s var(--ease); }
.service-card.is-active h3, .service-card.is-active p { transform: translateY(-.5rem); }
.service-card.is-active p { color: rgba(255,255,255,.72); }
.service-card-accent.is-active p { color: rgba(19,53,36,.75); }

/* Capability list: masked slide-up, staggered behind the wipe. Space is always reserved so nothing reflows. */
.service-tags { margin: 1rem 0 0; padding: 0; list-style: none; }
.service-tags li { overflow: hidden; color: var(--yellow); font-size: .62rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.service-tags span { display: block; transform: translateY(110%); transition: transform .55s var(--ease); }
.service-card.is-active .service-tags span { transform: none; }
.service-card.is-active .service-tags li:nth-child(1) span { transition-delay: .14s; }
.service-card.is-active .service-tags li:nth-child(2) span { transition-delay: .21s; }
.service-card.is-active .service-tags li:nth-child(3) span { transition-delay: .28s; }
.service-card-accent .service-tags li { color: var(--forest); }

.service-card > a { position: absolute; right: 1.2rem; bottom: 1.4rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line); transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
.service-card.is-active > a { border-color: var(--yellow); background: var(--yellow); color: var(--forest); transform: rotate(45deg); }
.service-card-accent.is-active > a { border-color: var(--forest); background: var(--forest); color: var(--yellow); }
.service-card > a:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.service-card.is-active > a:focus-visible { outline-color: var(--yellow); }
.service-card > a svg { width: 1rem; }

/* Touch devices get no hover, so the capability list stays revealed */
@media (hover: none) {
  .service-tags li { color: var(--moss); }
  .service-tags span { transform: none; }
}

/* Process — a drafting-sheet pattern stands in for the old photo */
.process { position: relative; overflow: hidden; }
.process-bg { position: absolute; inset: -12%; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 8rem 8rem, 8rem 8rem, 1.6rem 1.6rem, 1.6rem 1.6rem; transform: translateY(var(--parallax-y, 0)); }
.process-bg::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest) 15%, rgba(19,53,36,.75) 60%, rgba(19,53,36,.2)); content: ""; }
.process-inner { position: relative; padding-block: var(--section-pad); }
.process-heading { margin-bottom: 3.5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.step { min-height: 190px; padding: 1.4rem 1.2rem; border-right: 1px solid var(--line-light); }
.step:first-child { border-left: 1px solid var(--line-light); }
.step-number { color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.step h3 { margin: 3rem 0 .6rem; font: 400 1.65rem var(--serif); }
.step p { max-width: 190px; margin: 0; color: rgba(255,255,255,.65); font-size: .78rem; line-height: 1.6; }

/* Testimonial
   The controls live outside .swiper and use their own class names, so Swiper's bundled
   CSS (which absolutely positions .swiper-button-* at top:50% and injects ::after glyphs)
   can never lift them out of flow and over the quote. */
.testimonial-inner { position: relative; display: grid; grid-template-columns: 1fr 4fr; gap: 2rem; padding-block: 4.5rem; align-items: start; }
.quote-mark { width: 3rem; height: 3rem; stroke-width: 1; }
.testimonial-main { min-width: 0; }
.testimonial-swiper { width: 100%; }
.testimonial .swiper-slide { height: auto; }
.testimonial blockquote { max-width: 900px; margin: 0; font: 400 clamp(1.6rem, 3.5vw, 3.4rem)/1.15 var(--serif); letter-spacing: -.045em; }
.testimonial .swiper-slide p { margin: 1.5rem 0 0; color: rgba(19,53,36,.65); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.testimonial-controls { position: static; display: flex; align-items: center; gap: 1.25rem; margin-top: 2.25rem; }
.testimonial-controls .testimonial-prev, .testimonial-controls .testimonial-next { position: static; display: grid; width: 2.6rem; height: 2.6rem; margin: 0; padding: 0; place-items: center; color: var(--forest); background: transparent; border: 1px solid rgba(19,53,36,.4); cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.testimonial-controls .testimonial-prev::after, .testimonial-controls .testimonial-next::after { display: none; content: none; }
.testimonial-controls .testimonial-prev:hover, .testimonial-controls .testimonial-next:hover { color: var(--yellow); background: var(--forest); }
.testimonial-controls .testimonial-prev:hover { transform: translateX(-3px); }
.testimonial-controls .testimonial-next:hover { transform: translateX(3px); }
.testimonial-controls button:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.testimonial-controls button svg { width: 1rem; }
/* Specificity beats Swiper's .swiper-pagination-bullets.swiper-pagination-horizontal,
   which it stamps onto this element and would otherwise stretch to width:100% */
.testimonial-controls .testimonial-pagination { position: static; display: flex; align-items: center; width: auto; gap: .5rem; }
.testimonial-dot { width: 1.75rem; height: 2px; padding: 0; background: rgba(19,53,36,.28); border: 0; cursor: pointer; transition: background .35s var(--ease), transform .35s var(--ease); }
.testimonial-dot:hover { background: rgba(19,53,36,.55); }
.testimonial-dot.is-active { background: var(--forest); transform: scaleY(2); }

/* FAQ */
.faq { padding-block: var(--section-pad); }
.faq-layout { display: grid; grid-template-columns: 1fr 4.8fr; gap: 3rem; align-items: start; }
.faq-content { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.faq-intro { min-width: 0; }
.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.15rem 0; color: var(--forest); background: none; border: 0; cursor: pointer; font-size: .88rem; font-weight: 600; text-align: left; }
.faq-item button svg { flex: 0 0 auto; width: 1.1rem; transition: transform .35s var(--ease); }
.faq-item.is-open button svg { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-answer p { overflow: hidden; max-width: 480px; margin: 0; color: var(--moss); font-size: .82rem; line-height: 1.7; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: 1.15rem; }

/* CTA — a compact single band */
.cta-band { position: relative; overflow: hidden; }
.cta-lines { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(120deg, transparent 0 49.8%, var(--white) 50%, transparent 50.2%); background-size: 7rem 7rem; }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2.5rem; }
.cta-inner .eyebrow { margin-bottom: .75rem; }
.cta-inner h2 { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.04em; }

/* Contact */
.contact { padding-top: var(--section-pad); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5rem; padding-bottom: 5rem; }
.contact-intro .eyebrow { margin-top: 1.5rem; }
.contact-note { max-width: 275px; margin: 1.5rem 0; color: var(--moss); font-size: .85rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: 2rem; }
.contact-details a, .contact-details p { display: flex; align-items: baseline; gap: 1.5rem; margin: 0; font-size: .85rem; }
.contact-details a:hover { color: var(--moss); }
.contact-details span { flex: 0 0 4.5rem; color: var(--moss); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form-panel { padding-top: 3rem; }
#contact-form { display: flex; flex-direction: column; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
#contact-form label { display: flex; flex-direction: column; gap: .5rem; min-width: 0; color: var(--moss); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .3s ease; }
#contact-form label:focus-within { color: var(--forest); }
#contact-form input, #contact-form textarea, #contact-form select { width: 100%; padding: .8rem 0; color: var(--forest); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; transition: border-color .3s ease; }
#contact-form textarea { min-height: 6rem; resize: vertical; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: rgba(65,93,79,.62); }
#contact-form input:focus, #contact-form textarea:focus, #contact-form select:focus { border-color: var(--forest); }
#contact-form select { padding-right: 1.5rem; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23133524' stroke-width='1.5'%3E%3Cpath d='m2 5 5 5 5-5'/%3E%3C/svg%3E") right center / 1rem no-repeat; cursor: pointer; }
#contact-form button { align-self: flex-start; }
.form-status { min-height: 1.3em; margin: 0; color: var(--moss); font-size: .75rem; }
.map-wrap { width: 100%; height: 300px; filter: grayscale(1) contrast(.9); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { padding-block: 3.5rem 1.5rem; }
/* Right padding keeps footer content clear of the floating buttons at the bottom of the page */
.footer-top { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 3rem; align-items: start; padding-bottom: 3rem; padding-right: 4rem; border-bottom: 1px solid var(--line-light); }
.brand-footer { width: 220px; max-width: 100%; }
.footer-tagline { max-width: 280px; margin: 0; color: rgba(255,255,255,.65); font: .95rem/1.5 var(--serif); }
.footer-heading { margin: 0 0 1rem; color: var(--yellow); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav ul { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.8); font-size: .85rem; }
.footer-nav a { display: inline-block; transition: color .3s ease, transform .3s var(--ease); }
.footer-nav a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.footer-social a { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2); transition: color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.footer-social a:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.footer-social svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: 1.5rem; padding-right: 4rem; color: rgba(255,255,255,.5); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }

/* Floating actions: home on top (appears once scrolled), WhatsApp always available */
.float-actions { position: fixed; z-index: 15; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.float-actions a { display: grid; width: 3rem; height: 3rem; place-items: center; box-shadow: 0 10px 24px rgba(10, 28, 18, .22); transition: transform .3s var(--ease), background .3s ease, opacity .3s ease; }
.float-actions a:hover { transform: translateY(-3px); }
.float-actions a:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.float-home { color: var(--forest); background: var(--yellow); opacity: 0; pointer-events: none; transform: translateY(.75rem); }
.float-actions .float-home.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.float-actions .float-home.is-visible:hover { background: var(--white); transform: translateY(-3px); }
.float-home svg { width: 1.1rem; }
.float-whatsapp { color: var(--white); background: #25d366; border-radius: 50%; }
.float-whatsapp:hover { background: #1ebe5a; }
.float-whatsapp svg { width: 1.55rem; height: 1.55rem; }
.reveal { opacity: 0; transform: translateY(25px); }

/* Interaction layer
   Every initial "hidden" state below is gated behind .js-ready, which script.js adds to
   <html>. If the scripts fail to load, nothing is left invisible. */

/* Scroll progress, pinned to the header's lower edge */
.scroll-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; opacity: 0; background: var(--line); transition: opacity .4s ease; }
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.scroll-progress span { display: block; height: 100%; background: var(--yellow); transform: scaleX(var(--progress, 0)); transform-origin: left; }

/* Active nav section */
.main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* Hero headline: masked line reveal */
.hero-line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero-line > span { display: block; }
/* 140% clears the mask's .2em bottom padding — 105% left a sliver of the glyph tops showing */
.js-ready .hero-line > span { transform: translateY(140%); }
.js-ready .hero-eyebrow, .js-ready .hero-bottom, .js-ready .hero-scroll { opacity: 0; }

/* Scroll-triggered image wipe. GSAP drives the clip-path, so there is deliberately no CSS transition to fight it. */
.js-ready [data-image-reveal] { clip-path: inset(0 100% 0 0); }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:last-child:nth-child(3n+2) { grid-column: span 2; }
  .service-card { min-height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-pad: 5rem; }
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .site-header { padding-inline: 1.5rem; }
  .main-nav { gap: 1rem; margin-right: 1rem; }
  .main-nav a { font-size: .62rem; }
  .header-cta { font-size: .6rem; }
  .about-layout, .section-heading-row { grid-template-columns: .7fr 2fr 2fr; gap: 1.75rem; }
  .founder { grid-template-columns: .7fr 1.6fr 2.4fr; gap: 1.75rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* Odd card out spans the full row so the grid never ends on an empty cell */
  .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .faq-content { gap: 2rem; }
  .contact-layout { gap: 3rem; }
}

/* Mid widths: the nav items plus the CTA no longer fit beside the logo */
@media (max-width: 760px) and (min-width: 641px) {
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --section-pad: 4rem; }
  .container { width: min(calc(100% - 2.5rem), var(--container)); }
  .site-header { padding: 1rem 1.25rem; }
  .site-header.is-scrolled { padding-block: .75rem; }
  .brand { width: 108px; }
  .main-nav { position: fixed; inset: 0; z-index: -1; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 1.1rem; padding: 7rem 2rem 3rem; margin: 0; color: var(--white); background: var(--forest); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .35s ease, transform .35s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a:not(.nav-mobile-cta) { font: 400 2.2rem/1 var(--serif); letter-spacing: -.04em; text-transform: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 1rem; }
  /* While the menu is open the header sits on the dark panel, so keep it light */
  body.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .brand img { filter: brightness(0) invert(1); }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: 680px; }
  .hero-content { padding-block: 6rem 3.5rem; }
  .hero h1 { margin: 2rem 0 3rem; font-size: clamp(4.6rem, 23vw, 8rem); }
  .hero h1 em { margin-left: 1.7rem; }
  /* No room beside the headline on phones: sit low and faint behind the buttons */
  .hero-scene { top: auto; bottom: 0; width: 100%; height: 48%; opacity: .2; -webkit-mask-image: none; mask-image: none; }
  .hero .button-ghost { background: rgba(19, 53, 36, .7); }

  .hero-lede { max-width: 220px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 240px; }
  .hero-actions .button { justify-content: space-between; }
  /* The vertical scroll hint sat on top of the stacked hero buttons at this width */
  .hero-scroll { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem .7rem; padding-block: 1.5rem; }
  .trust-intro { grid-column: 1 / -1; font-size: .95rem; }
  .trust-stat { display: block; padding-left: .7rem; }
  .trust-stat:first-of-type { padding-left: 0; border-left: 0; }
  .trust-stat strong { display: block; margin-bottom: .35rem; font-size: 1.15rem; }
  .trust-stat span { font-size: .58rem; }
  .about-layout, .section-heading-row, .faq-layout, .faq-content, .founder { display: block; }
  .about-copy { padding-top: 2rem; }
  .lead-copy { margin-block: 1.5rem; font-size: .92rem; }
  .model-viewer { margin-top: 3rem; }
  .model-stage { aspect-ratio: 1; }
  .founder { margin-top: 3.5rem; padding-top: 3.5rem; }
  .founder-photo { max-width: 340px; margin-bottom: 2.5rem; }
  .section-aside { margin: 1.5rem 0 0; }
  .section-heading-row .section-marker, .faq-layout .section-marker { margin-bottom: 1.5rem; }
  .services { padding-block: 1rem var(--section-pad); }
  .services-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .service-card { min-height: 280px; }
  .process-heading { margin-bottom: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { min-height: 180px; padding: 1.2rem .8rem; }
  .step:nth-child(odd) { border-left: 1px solid var(--line-light); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .step h3 { margin-top: 2.25rem; font-size: 1.35rem; }
  .step p { font-size: .72rem; }
  .testimonial-inner { display: block; padding-block: 3.5rem; }
  .quote-mark { margin-bottom: 1.5rem; }
  .testimonial blockquote { font-size: 1.6rem; }
  .testimonial-controls { margin-top: 2rem; }
  .accordion { margin-top: 2.5rem; }
  .cta-inner { padding-block: 2rem; }
  .contact-layout { display: block; padding-bottom: 4rem; }
  .form-panel { padding-top: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .map-wrap { height: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-right: 0; }
  .brand-footer, .footer-tagline { grid-column: 1 / -1; }
  .brand-footer { width: 190px; }
  .footer-bottom { flex-direction: column; font-size: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  /* Safety net: script.js also withholds .js-ready here, so nothing stays hidden */
  .hero-line > span, .hero-eyebrow, .hero-bottom, .hero-scroll { opacity: 1 !important; transform: none !important; }
  [data-image-reveal] { clip-path: none !important; }
  .reveal { opacity: 1; transform: none; }
}
