/* ==========================================================================
   OVERYARD: main stylesheet  ("From the ground up" drawing-set theme)

   QUICK EDITS
   - Colors: the two theme blocks just below (dark is the default).
   - Fonts: --font-display, --font-body, --font-mono.
   - Prices and text values are NOT here: see the settings block in js/main.js.

   COLOR MEANING (fixed site-wide)
   fern  = action and growth (buttons, links)
   stone = Seed tier
   gold  = Orchard tier and value highlights
   clay  = urgency and important terms only (never decorative)
   ========================================================================== */

/* ---- Fonts (self-hosted Google Fonts, SIL Open Font License: assets/fonts/OFL-*.txt) ----
   One variable file per family, latin subset. Self-hosting removes a render-blocking
   request to Google and lets the page preload the headline and body fonts. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("../assets/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/manrope.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono.woff2") format("woff2"); }

/* ---- DARK theme (default) ---- */
:root,
[data-theme="dark"] {
  --bg: #121512;
  --paper: #1A1E1A;
  --ink: #ECEFE8;
  --muted: #A3AB9F;
  --line: #2F352E;
  --fern: #7FA886;
  --fern-hover: #93B899;
  --fern-soft: #223026;
  --sage: #6E8A69;
  --stone: #A8957A;
  --stone-soft: #2A251D;
  --gold: #E2B754;
  --gold-soft: #352C16;
  --clay: #E08B5E;
  --clay-soft: #3A251B;
  --on-fern: #121512;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---- LIGHT theme ----
   stone, gold and clay are a shade darker than the brief's light values so
   text meets WCAG AA (4.5:1) on both the page and their soft tints. */
[data-theme="light"] {
  --bg: #F5F6F2;
  --paper: #FFFFFF;
  --ink: #141613;
  --muted: #5B6158;
  --line: #D9DDD3;
  --fern: #3D5A45;
  --fern-hover: #2E4636;
  --fern-soft: #E3EBE3;
  --sage: #8FA889;
  --stone: #725F41;
  --stone-soft: #EFE7DA;
  --gold: #7D5D14;
  --gold-soft: #F6EDD6;
  --clay: #97502B;
  --clay-soft: #F5E6DC;
  --on-fern: #F5F6F2;
  --shadow: 0 10px 30px rgba(20, 22, 19, .08);
  color-scheme: light;
}

:root {
  /* ---- Type ---- */
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", ui-monospace, Menlo, Consolas, monospace; /* Courier New matches its width, so no reflow when it loads */

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 800px;
  --gutter: 20px;
  --section-space: clamp(72px, 10vw, 128px);
  --radius: 6px;
  --header-h: 64px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.lb-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
p, li { max-width: 65ch; }

a { color: var(--fern); }
a:hover { color: var(--fern-hover); }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--bg); }
.lc { text-transform: lowercase; }

/* Mono labels (sheet labels, small print, table headers) */
.label {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.sheet-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fern);
}
.sheet-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--fern); color: var(--on-fern); }
.btn-primary:hover { background: var(--fern-hover); color: var(--on-fern); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-clay { border-color: var(--clay); color: var(--clay); background: transparent; }
.btn-clay:hover { background: var(--clay-soft); color: var(--clay); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top); z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo { color: var(--ink); display: inline-block; }
.logo-svg { width: 132px; height: auto; }
.logo-o { stroke: var(--fern); }
.logo-dot { fill: var(--fern); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.theme-toggle {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--ink);
}
.theme-toggle:hover { background: var(--paper); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-moon { display: none !important; }
[data-theme="light"] .icon-sun { display: none !important; }
[data-theme="light"] .icon-moon { display: block !important; }

.nav-toggle {
  width: 44px; height: 44px; margin-right: -10px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .25s, background-color .25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  padding: 8px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-nav li a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav .btn { width: 100%; }

@media (min-width: 1000px) {
  :root { --gutter: 40px; --header-h: 74px; }
  .nav-toggle { display: none; }
  .header-actions { order: 3; margin-left: 0; }
  .site-nav {
    display: flex; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; border: 0;
    margin-left: auto;
  }
  .site-nav ul { display: flex; gap: 26px; margin: 0; }
  .site-nav li a { padding: 0; border: 0; font-size: .95rem; }
  .site-nav li a:hover { color: var(--fern); }
  .site-nav .btn { width: auto; }
  .logo-svg { width: 144px; }
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fern);
}
.north { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; }
.north path { fill: currentColor; stroke: none; }
.hero-title {
  max-width: 13ch;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .98;
}
.hero-lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 99px;
  background: var(--paper);
  font-size: .84rem; font-weight: 500;
}
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fern); flex: none; }

/* Headline: words rise in one by one, then a drafting line draws under
   "Win the job." Pure CSS (works without JS); off for reduced motion. */
.hero-title .w { display: inline-block; }
.h1-line2 { position: relative; display: inline-block; white-space: nowrap; }
.draft-line { position: absolute; left: 0; bottom: -.14em; width: 100%; height: .18em; overflow: visible; }
.draft-line path { fill: none; stroke: var(--fern); stroke-width: 3; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w {
    opacity: .01; transform: translateY(.6em); /* .01 not 0: keeps the headline a paint candidate (LCP) */
    animation: word-rise 600ms cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i) * 70ms);
  }
  .draft-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draft 700ms ease-out 1050ms forwards; }
}
@keyframes word-rise { to { opacity: 1; transform: none; } }
@keyframes draft { to { stroke-dashoffset: 0; } }

/* Camera roll: framed slideshow of day and night renders */
.hero-media {
  position: relative; margin: clamp(32px, 5vw, 56px) 0 0;
  aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.roll-stage { position: absolute; inset: 0; touch-action: pan-y; }
.roll-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
  user-select: none; -webkit-user-drag: none;
}
.roll-img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .roll-img.is-active, .roll-img.is-leaving { animation: kenburns 7.5s linear forwards; }
  .roll-img.is-leaving, .roll.is-paused .roll-img.is-active { animation-play-state: paused; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
.sheet-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(18, 21, 18, .72); color: #ECEFE8;
  font-size: .68rem;
}
.roll-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  background: rgba(18, 21, 18, .65); color: #ECEFE8; cursor: pointer;
}
.roll-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.roll-toggle .i-play { display: none; }
.roll-toggle[aria-pressed="true"] .i-play { display: block; fill: currentColor; }
.roll-toggle[aria-pressed="true"] .i-pause { display: none; }
.roll-toggle:focus-visible { outline-color: #fff; }

.filmstrip { list-style: none; margin: 10px 0 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.filmstrip li { flex: 0 0 104px; max-width: none; }
.frame {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--paper); cursor: pointer;
  transition: border-color .2s;
}
.frame img { opacity: .55; transition: opacity .2s; }
.frame:hover img, .frame.is-active img { opacity: 1; }
.frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.frame-num { display: block; padding: 4px 6px 6px; text-align: left; font: 600 .66rem/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.frame.is-active { opacity: 1; border-color: var(--fern); }
.frame.is-active .frame-num { color: var(--fern); }
.frame-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--fern); }
.frame.is-running .frame-progress { animation: frame-progress var(--roll-ms, 6000ms) linear forwards; }
.filmstrip.is-paused .frame-progress { animation-play-state: paused; }
@keyframes frame-progress { to { width: 100%; } }

@media (min-width: 600px) {
  .hero-media { aspect-ratio: 16 / 9; }
  .hero-actions .btn { min-width: 220px; }
}
@media (min-width: 1000px) {
  .hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
  .hero-lead { margin-top: 0; }
  .hero-media { aspect-ratio: 21 / 9; }
  .filmstrip { overflow: visible; }
  .filmstrip li { flex: 1 1 0; max-width: 170px; }
}

/* ==========================================================================
   Image boxes
   ========================================================================== */
.media { position: relative; margin: 0; overflow: hidden; background: var(--paper); aspect-ratio: var(--ratio, 16 / 9); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding: var(--section-space) 0; }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.sub-head { margin: clamp(48px, 6vw, 64px) 0 20px; font-size: 1.4rem; }

/* Cards sit on --paper in normal sections and on --bg inside alt sections */
.card, .portfolio-cta, .addons-box, .contact-form, .table-wrap { background: var(--paper); }
.section-alt .card, .section-alt .portfolio-cta, .section-alt .contact-form { background: var(--bg); }

/* Plan-symbol glyphs */
.glyph { width: 40px; height: 40px; flex: none; }
.is-fern { color: var(--fern); }
.is-stone { color: var(--stone); }
.is-gold { color: var(--gold); }
.is-clay { color: var(--clay); }

/* ==========================================================================
   3. Problem
   ========================================================================== */
#problem h2 { margin-bottom: clamp(28px, 4vw, 48px); max-width: 18ch; }
.problems { display: grid; gap: 0; }
.problem { padding: 22px 0; border-top: 1px solid var(--line); }
.problem h3 { margin-bottom: 8px; font-size: 1.3rem; }
.problem p { color: var(--muted); }
@media (min-width: 860px) {
  .problems { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ==========================================================================
   4. Work: featured "From overhead" slider + bento grid
   ========================================================================== */
/* Drafting crop marks (thin L corners) */
.cm { position: absolute; z-index: 2; width: 16px; height: 16px; border: 0 solid var(--line); pointer-events: none; transition: border-color .3s; }
.cm-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.cm-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.cm-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cm-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.featured:hover .cm, .work-card:hover .cm, .work-card:focus-within .cm { border-color: var(--fern); }

.featured { margin-bottom: clamp(36px, 5vw, 56px); }
.featured-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 12px; }
.featured-head .label { color: var(--fern); }
.featured-head h3 { font-size: 1.3rem; }
.featured-media { position: relative; padding: 10px; }
.featured-media .ba { aspect-ratio: 16 / 9; border-radius: 3px; }

.bento { display: grid; gap: 32px; }
.work-card { display: flex; flex-direction: column; }
.work-media { position: relative; padding: 8px; cursor: zoom-in; }
.work-media .media { --ratio: 16 / 10; border-radius: 3px; }
.work-media .media img { transition: transform .8s ease; }
.work-card:hover .work-media .media img { transform: scale(1.04); }
.dn {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: flex; gap: 2px; padding: 3px;
  border-radius: 99px; background: rgba(18, 21, 18, .75);
  cursor: default;
}
.dn-btn {
  min-height: 30px; padding: 0 11px;
  border: 0; border-radius: 99px; background: none; cursor: pointer;
  font: 600 .68rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #ECEFE8;
}
.dn-btn[aria-pressed="true"] { background: #7FA886; color: #121512; }
.dn-btn:focus-visible { outline-color: #fff; outline-offset: 1px; }
.work-body { padding: 12px 8px 0; }
.work-body .label { margin-bottom: 6px; }
.work-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.work-body p:not(.label) { color: var(--muted); font-size: .97rem; }
.work-open {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 600 .95rem/1.2 var(--font-body); color: var(--fern);
}
.work-open::after { content: "\2192"; transition: transform .2s; }
.work-open:hover::after { transform: translateX(3px); }
.work-open .label { color: var(--muted); }
@media (min-width: 700px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .work-card.is-large { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
  .work-card.is-large { grid-column: span 2; grid-row: span 2; }
  .work-card.is-large .work-media { flex: 1; display: flex; }
  .work-card.is-large .work-media .media { flex: 1; aspect-ratio: auto; min-height: 320px; }
  .work-card.is-large h3 { font-size: 1.6rem; }
}

/* Clip-path wipe, like paper sliding off a drawing (once, from a visible state) */
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.wipe.is-revealed { animation: wipe .9s cubic-bezier(.6, 0, .2, 1) both; }
.bento .wipe:nth-child(2).is-revealed { animation-delay: .08s; }
.bento .wipe:nth-child(3).is-revealed { animation-delay: .16s; }
.bento .wipe:nth-child(4).is-revealed { animation-delay: .24s; }
.bento .wipe:nth-child(5).is-revealed { animation-delay: .32s; }

.walkthrough { margin: 40px 0 0; }
.walkthrough video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.walkthrough figcaption { margin-top: 8px; }

.portfolio-cta {
  display: grid; gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 26px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.portfolio-cta h3 { font-size: 1.35rem; margin-bottom: 6px; }
.portfolio-cta p { color: var(--muted); }
.portfolio-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 760px) {
  .portfolio-cta { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 32px 36px; }
}

/* ==========================================================================
   5. What you receive
   ========================================================================== */
.deliverables { display: grid; gap: 28px; }
.deliverables-media { display: grid; gap: 14px; }
.sheet { margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.sheet .media { --ratio: 16 / 10; border-radius: 3px; }
.sheet.is-plan .media { --ratio: 928 / 1152; background: #F5F6F2; }
.sheet figcaption { margin-top: 8px; padding: 0 2px; }
.sheet.is-plan figcaption { color: var(--fern); }
.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: start; }
.files li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); max-width: none; }
.file-type {
  min-width: 52px; padding: 4px 0; text-align: center;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  color: var(--fern); border: 1px solid var(--fern); border-radius: 4px;
}
@media (min-width: 600px) {
  .deliverables-media { grid-template-columns: 1fr 1fr; align-items: start; }
  .sheet.is-plan { grid-row: span 2; }
}
@media (min-width: 960px) {
  .deliverables { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
}

/* ==========================================================================
   6. How it works: tall image cards on a stepping-stone path
   ========================================================================== */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.process-card { position: relative; container-type: inline-size; max-width: none; }
.process-media {
  position: relative; aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg);
}
.process-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-ph { width: 55%; height: auto; fill: none; stroke: var(--sage); stroke-width: 1.2; }
.process-num {
  position: relative; z-index: 2; display: block;
  margin: -.62em 0 0 14px;
  font: 800 clamp(4.2rem, 9vw, 5.6rem)/1 var(--font-display);
  letter-spacing: -0.04em; color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.process-label { margin: 10px 0 8px; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.process-card p { color: var(--muted); }
@media (min-width: 640px) { .process { grid-template-columns: 1fr 1fr; gap: 44px 24px; } }
@media (min-width: 1000px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  /* dashed stepping-stone path linking the step numbers */
  .process-card:not(:last-child)::after {
    content: ""; position: absolute;
    top: calc(125cqw + 2px); left: 92px; right: -30px;
    border-top: 2px dashed var(--line);
  }
}

/* ==========================================================================
   7. Night band (one full-width section, always dark)
   ========================================================================== */
.band {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(480px, 60vw, 660px);
  background: #0B0D0B; color: #ECEFE8;
}
.band-bg { position: absolute; inset: 0; }
.band-img {
  position: absolute; left: 0; top: -10%;
  width: 100%; height: 120%;
  object-fit: cover; object-position: 70% center;
  will-change: transform;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, .94) 0%, rgba(10, 12, 10, .82) 32%, rgba(10, 12, 10, .3) 68%, rgba(10, 12, 10, .06) 100%),
    linear-gradient(0deg, rgba(10, 12, 10, .55) 0%, transparent 40%);
}
.band-inner { position: relative; z-index: 1; padding-block: 72px; }
.band-eyebrow {
  margin-bottom: 16px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #93B899;
}
.band h2 { max-width: 15ch; color: #FFFFFF; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.band-line { margin-top: 16px; max-width: 38ch; font-size: 1.15rem; color: #D2D8CE; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.band .btn-primary { background: #7FA886; color: #121512; }
.band .btn-primary:hover { background: #93B899; color: #121512; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #FFFFFF; background: transparent; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }
.band :focus-visible { outline-color: #FFFFFF; }
@media (max-width: 699px) {
  .band::after { background: linear-gradient(0deg, rgba(10, 12, 10, .92) 10%, rgba(10, 12, 10, .7) 60%, rgba(10, 12, 10, .45) 100%); }
  .band-img { top: 0; height: 100%; }
}

/* ==========================================================================
   7. Pricing
   ========================================================================== */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card.is-featured { border: 2px solid var(--fern); }
.badge {
  position: absolute; top: -12px; left: 22px;
  padding: 3px 10px; border-radius: 99px;
  background: var(--fern); color: var(--on-fern);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.badge-clay { background: var(--clay-soft); color: var(--clay); border: 1px solid var(--clay); }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head h3 { font-size: 1.45rem; }
.card-desc { margin-top: 2px; color: var(--muted); font-size: .95rem; }
.price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin: 22px 0 6px;
}
.price-now { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.per { font-size: 1rem; color: var(--muted); margin-left: -6px; }
.price-was { font-family: var(--font-mono); font-size: .95rem; color: var(--muted); }
.credits { padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.ticks li { position: relative; padding: 5px 0 5px 24px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--fern); border-bottom: 1.5px solid var(--fern);
  transform: rotate(-45deg);
}
.card .btn { width: 100%; }
.cards-3 { display: grid; gap: 24px; }
@media (min-width: 960px) { .cards-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* Seed Project */
.seed-row { display: grid; gap: 20px; }
.seed-card { border-color: var(--stone); background: var(--stone-soft) !important; }
.seed-card .label { color: var(--stone); }
.seed-card h3 { font-size: 1.6rem; }
.seed-head { display: flex; align-items: center; gap: 14px; }
.seed-desc { margin-top: 14px; color: var(--muted); }
.seed-card .price { padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.seed-card .ticks { margin-bottom: 18px; }
.seed-card .ticks li::before { border-color: var(--stone); }
.note-clay {
  padding: 14px 16px;
  border: 1px solid var(--clay);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--clay-soft);
  color: var(--ink);
  font-size: .97rem;
}
.note-clay strong { color: var(--clay); }
.seed-card .note-clay { margin-bottom: 20px; }
.conversion { font-weight: 600; color: var(--clay); }
.seed-side { display: grid; gap: 20px; align-content: start; }
.addons-box { padding: 22px 22px 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.addons-box h3 { margin-bottom: 8px; font-family: var(--font-mono); font-size: .76rem; }
.addons { list-style: none; margin: 0; padding: 0; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line); max-width: none; }
.addons li:first-child { border-top: 0; }
.addon-price { font-family: var(--font-mono); font-size: .88rem; text-align: right; color: var(--ink); }
.fine-print { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; font-size: .93rem; color: var(--muted); }
@media (min-width: 960px) { .seed-row { grid-template-columns: 1.15fr 1fr; gap: 28px; } }

/* ==========================================================================
   8. Evergreen memberships
   ========================================================================== */
.membership.tone-gold { border-top: 3px solid var(--gold); }
.membership.tone-gold .credits { color: var(--gold); }
.membership.tone-fern .credits { color: var(--fern); }
.membership.is-waitlist { border: 1.5px dashed var(--clay); }
.membership.is-waitlist .credits { color: var(--clay); }
.membership.is-waitlist .ticks li::before { border-color: var(--clay); }
.membership.is-featured.is-waitlist .badge { left: auto; right: 22px; }
.rules { margin-top: 24px; font-size: .93rem; color: var(--muted); max-width: 80ch; }

/* ==========================================================================
   9. Comparison table
   ========================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--muted); }
.compare .is-us { background: var(--fern-soft); color: var(--ink); font-weight: 600; }
.compare thead .is-us { color: var(--fern); }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
.yes::before { content: "\2713\00a0"; color: var(--fern); font-weight: 700; }

/* ==========================================================================
   10. Team
   ========================================================================== */
.founders { display: grid; gap: 36px; }
.founder { display: grid; gap: 20px; align-items: start; }
.founder-photo {
  margin: 0; padding: 8px;
  width: min(100%, 260px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg);
}
.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.founder-photo figcaption { margin-top: 8px; padding: 0 2px; }
.founder h3 { font-size: 1.5rem; }
.role { margin: 4px 0 12px; font-weight: 600; color: var(--fern); }
.founder-text p:not(.role):not(.tools) { color: var(--muted); }
.tools { margin-top: 14px; color: var(--ink); }
.timezone { margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; border-top: 1px solid var(--line); }
.timezone h3 { margin-bottom: 8px; }
.timezone p { color: var(--muted); }
@media (min-width: 600px) {
  .founder { grid-template-columns: 200px 1fr; gap: 26px; }
}
@media (min-width: 1000px) {
  .founders { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 1.06rem; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 400; color: var(--fern);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--muted); }

/* ==========================================================================
   12. Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 36px; }
.contact-intro h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.contact-intro > p:not(.sheet-label) { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.contact-intro .reply { color: var(--ink); }
.contact-intro .btn { margin-top: 0; }
.contact-intro .contact-email { font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }

.contact-form { display: grid; gap: 16px; padding: 24px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
.field label { font-size: .92rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body);   /* 16px+ stops iPhone zooming in */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.field ::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fern); box-shadow: 0 0 0 3px var(--fern-soft); }
.field .is-invalid { border-color: var(--clay); }
.field textarea { resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.contact-form .btn { justify-self: stretch; }
.form-status { font-size: .95rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--fern); }
.form-status.is-error { color: var(--clay); }
.form-status.is-pending { color: var(--muted); }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 32px; }
  .contact-form .btn { justify-self: start; min-width: 180px; }
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
  .contact-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   13. Footer: drawing title block
   ========================================================================== */
.site-footer { padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); }
.title-block { display: grid; border: 1px solid var(--line); border-radius: var(--radius); }
.tb-cell { padding: 18px; border-bottom: 1px solid var(--line); }
.tb-cell:last-child { border-bottom: 0; }
.tb-logo .logo-svg { width: 128px; margin-bottom: 10px; }
.tb-key { margin-bottom: 8px; color: var(--fern); }
.tb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .95rem; }
.tb-list a { color: var(--ink); text-decoration: none; }
.tb-list a:hover { color: var(--fern); }
.tb-drawing { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tb-drawing .north { color: var(--fern); width: 28px; height: 28px; }
.scale-bar { width: 120px; height: 12px; }
.scale-bar rect { fill: none; stroke: var(--muted); stroke-width: 1; }
.scale-bar rect.fill { fill: var(--muted); }
.tb-drawing .label { flex-basis: 100%; }
@media (min-width: 760px) {
  .title-block { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .tb-cell { border-bottom: 0; border-right: 1px solid var(--line); }
  .tb-cell:last-child { border-right: 0; }
}

/* ==========================================================================
   Sticky mobile call-to-action bar
   ========================================================================== */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 759px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 760px) { .mobile-cta { display: none; } }

/* ==========================================================================
   Before/after slider
   ========================================================================== */
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); touch-action: pan-y; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; color: #141613; font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.ba-label {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 99px;
  background: rgba(18, 21, 18, .7); color: #fff;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within { outline: 2px solid var(--fern); outline-offset: 3px; }

/* ==========================================================================
   Lightbox (always dark so renders read well)
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: 100vw; max-height: 100vh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 12, 10, .97); color: #ECEFE8;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(10, 12, 10, .97); }
.lb-bar, .lb-foot { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; }
.lb-bar { padding-top: calc(10px + env(safe-area-inset-top)); }
.lb-foot { justify-content: space-between; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); }
.lb-title { flex: 1; font-weight: 600; }
.lb-counter { font-family: var(--font-mono); font-size: .82rem; color: #A3AB9F; }
.lb-stage { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-stage .ba { width: min(100%, calc((100dvh - 140px) * 16 / 9)); }
.lb-caption { flex: 1; text-align: center; font-size: .92rem; color: #C9CFC4; }
.lb-close, .lb-prev, .lb-next {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: transparent; color: #ECEFE8; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.lb-close { border-color: transparent; font-size: 1.9rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .12); }
.lb-prev:disabled, .lb-next:disabled { opacity: .3; cursor: default; }
.lightbox :focus-visible { outline-color: #fff; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding: clamp(40px, 7vw, 80px) 0 var(--section-space); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; }
.legal h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); }

/* ==========================================================================
   Reveal: content is ALWAYS visible. Elements that start below the fold get
   a short rise-in when first scrolled into view. Off for reduced motion.
   ========================================================================== */
@keyframes rise { from { opacity: .25; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal.is-revealed { animation: rise .6s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.is-revealed { animation: none; }
  .work-card .media img, .mobile-cta, .btn, .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { transition: none; }
  .work-card:hover .media img { transform: none; }
}

/* ==========================================================================
   Header portal link, WhatsApp and social icons
   ========================================================================== */
.portal-link { margin-right: 4px; padding: 8px 6px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.portal-link:hover { color: var(--fern); }

.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.whatsapp { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.whatsapp:hover { color: var(--fern); }
.whatsapp svg { width: 38px; height: 38px; flex: none; }
.wa-bubble { fill: none; stroke: var(--fern); stroke-width: 1.5; stroke-linejoin: round; }
.wa-phone { fill: var(--fern); }
.whatsapp .label { display: block; color: var(--muted); }
.wa-number { display: block; font-weight: 600; font-size: 1.05rem; }
.whatsapp-sm { gap: 8px; }
.whatsapp-sm svg { width: 18px; height: 18px; }
.whatsapp-sm .wa-number { font-weight: 500; font-size: .95rem; }

.socials { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials li { max-width: none; }
.social {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
a.social:hover { color: var(--fern); border-color: var(--fern); }
.social.is-soon { color: var(--muted); border-style: dashed; cursor: default; }
.social.is-soon::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  padding: 4px 8px; border-radius: 4px;
  background: var(--ink); color: var(--bg);
  font: 600 .64rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s;
}
.social.is-soon:hover::after { opacity: 1; }
.socials-sm { margin-top: 14px; gap: 6px; }
.socials-sm .social { width: 34px; height: 34px; }
.socials-sm .social svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  .wipe.is-revealed { animation: none; }
  .work-card:hover .work-media .media img { transform: none; }
}

/* ==========================================================================
   v4 additions
   ========================================================================== */
/* "See the full portfolio" */
.see-all { margin-top: clamp(28px, 4vw, 40px); text-align: center; max-width: none; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }

/* Material takeoffs */
.takeoff-grid { display: grid; gap: 32px; }
.takeoff-grid h2 { max-width: 16ch; }
.takeoff-lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.takeoff-price { margin-top: 18px; }
.takeoff-price strong { color: var(--gold); }
.takeoff-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.takeoff-sheet { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.takeoff-sheet-head { max-width: none; display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--fern); }
.takeoff-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.takeoff-table th, .takeoff-table td { padding: 11px 16px; text-align: left; border-bottom: 1px dashed var(--line); }
.takeoff-table tbody tr:last-child th, .takeoff-table tbody tr:last-child td { border-bottom: 0; }
.takeoff-table thead th { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.takeoff-table tbody th { font-weight: 500; }
.takeoff-table td { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
@media (min-width: 960px) { .takeoff-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* Founding offer + next price */
.founding-offer { display: grid; gap: 10px; margin: -12px 0 clamp(28px, 4vw, 40px); }
.founding-line { font-size: 1.02rem; }
.founding-line strong { color: var(--clay); }
.next-price { color: var(--ink); max-width: none; }

/* Size guide */
.size-guide { margin-top: clamp(40px, 6vw, 56px); }
.size-guide .sub-head { margin: 0 0 6px; }
.size-guide-lead { margin-bottom: 16px; color: var(--muted); }
.size-table { min-width: 640px; }
.size-table tbody td:last-child { color: var(--ink); }
.size-table tbody tr:last-child td:last-child { color: var(--muted); font-weight: 400; max-width: 34ch; }

/* Team: monogram + mission */
.monogram {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1; border-radius: 3px;
  background: var(--fern-soft); color: var(--fern);
  font: 800 clamp(2.6rem, 6vw, 3.4rem)/1 var(--font-display); letter-spacing: -0.02em;
}
.mission { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.mission .label { color: var(--fern); margin-bottom: 8px; }
.mission-text { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }
@media (min-width: 860px) { .mission { grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 36px; } }

/* Portfolio page */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; }
.page-lead { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.chip-filter {
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink);
  font: 600 .9rem/1 var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.chip-filter:hover { border-color: var(--fern); }
.chip-filter[aria-pressed="true"] { background: var(--fern); border-color: var(--fern); color: var(--on-fern); }
.filter-count { margin-left: 6px; }
.portfolio-section { padding-top: clamp(40px, 6vw, 64px); }
.work-card[hidden] { display: none; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); max-width: none; }
#portfolio-grid:empty { min-height: 110vh; }   /* reserve space while project.json files load (no layout shift) */

/* Bento: last cards stretch to fill the final row (set by balanceGrid in main.js) */
@media (min-width: 700px) and (max-width: 999px) { .work-card.fill-t { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .work-card.fill-d2 { grid-column: span 2; }
  .work-card.fill-d3 { grid-column: span 3; }
  .work-card.fill-d4 { grid-column: 1 / -1; }
}
