:root {
  --ink: #17211b;
  --muted: #59665e;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #d8ddd7;
  --green: #146c4b;
  --green-dark: #0b4d35;
  --green-pale: #e6f0e9;
  --blue: #2159a6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: fixed; z-index: 10; left: 18px; top: 12px; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { transform: none; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

.site-header, footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; width: max-content; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: min(210px, 30vw); height: 48px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 28px; }
nav a, .header-contact { color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 700; }
nav a:hover, .header-contact:hover { color: var(--green-dark); }
.header-contact { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid currentColor; }

.hero, .section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 730px; padding: 86px 0 72px; border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 24px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 84px; max-width: 1020px; font: 600 clamp(4.4rem, 10vw, 8.7rem)/.86 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.hero-bottom { display: grid; grid-template-columns: minmax(280px, 560px) auto; justify-content: space-between; align-items: end; gap: 40px; }
.hero-bottom p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.32rem); line-height: 1.6; }
.text-link, .product-action { color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.home-hero-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(540px,1.1fr); gap:56px; align-items:center; }
.home-hero-copy h1 { margin:0 0 42px; font-size:clamp(4.5rem,7.2vw,7.5rem); }
.home-hero-copy>p:not(.kicker) { max-width:590px; margin:0; color:var(--muted); font-size:clamp(1.04rem,1.35vw,1.22rem); line-height:1.65; }
.home-hero-copy>.text-link { display:inline-block; margin-top:30px; }
.hero-principle { display:grid; grid-template-columns:auto 1fr; gap:6px 18px; align-items:center; max-width:560px; margin-top:64px; padding-top:22px; border-top:1px solid var(--line); }
.hero-principle::before { content:""; grid-row:1 / span 2; width:44px; height:44px; border:1px solid var(--green-dark); border-radius:50%; background:radial-gradient(circle at center,var(--green-pale) 0 28%,transparent 30%); }
.hero-principle strong { color:var(--green-dark); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; }
.hero-principle span { color:var(--muted); font-size:.78rem; }
.portfolio-map { position:relative; height:620px; margin:0; }
.portfolio-lines { position:absolute; inset:0; width:100%; height:100%; }
.portfolio-lines path { fill:none; stroke:var(--green-dark); stroke-width:2; }
.portfolio-lines circle { fill:var(--green-dark); }
.studio-node { position:absolute; left:20px; top:198px; width:176px; min-height:224px; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:24px 18px; border:1px solid #aeb8b1; border-radius:12px; background:#fff; box-shadow:0 18px 42px #17211b0d; text-align:center; }
.studio-mark { display:grid; grid-template-columns:repeat(3,12px); gap:3px; margin-bottom:18px; }
.studio-mark i { display:block; width:12px; height:34px; border-radius:6px; background:var(--green-dark); }
.studio-mark i:nth-child(2) { height:20px; margin-top:7px; background:var(--green); }
.studio-node strong { font:600 1.45rem Georgia,serif; }
.studio-node small { margin-top:14px; color:var(--green-dark); font-size:.58rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.portfolio-card { position:absolute; right:0; width:272px; min-height:112px; display:grid; grid-template-columns:62px 1fr; gap:16px; align-items:center; padding:16px 18px; border:1px solid #bac3bd; border-radius:10px; background:#fff; box-shadow:0 12px 30px #17211b09; }
.portfolio-card-fold { top:0; }.portfolio-card-job { top:124px; }.portfolio-card-daily { top:382px; }.portfolio-card-next { top:506px; }
.portfolio-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:10px; background:var(--green-pale); }
.portfolio-icon svg { width:42px; height:42px; fill:none; stroke:var(--green-dark); stroke-width:1.5; }
.portfolio-icon svg .fill { fill:#a7d9c0; }
.portfolio-card strong { display:block; font:600 1.28rem Georgia,serif; }
.portfolio-card span { display:block; margin-top:6px; color:var(--muted); font-size:.72rem; line-height:1.4; }
.portfolio-card-next { border-style:dashed; background:#fbfcfa; }
.portfolio-card-next strong { font-family:inherit; font-size:.84rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }

.section { padding: 108px 0; border-bottom: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 70px; align-items: end; margin-bottom: 58px; }
.section-intro .kicker { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font: 600 clamp(2.8rem, 5vw, 5.3rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.section-intro > p:last-child, .about-copy p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.product-list { border-top: 1px solid var(--ink); }
.product { display: grid; grid-template-columns: 100px 1fr; min-height: 310px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.product-number { color: var(--green); font: 600 1rem Georgia, serif; }
.product-copy { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(300px, 1fr); column-gap: 52px; align-content: start; }
.product-label { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-bottom: 28px; }
.product-label span, .product-label strong { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.product-label span { color: var(--muted); }
.product-label strong { color: var(--green-dark); }
.product-art { grid-column: 1; grid-row: 2 / span 3; width: min(100%, 290px); align-self: start; margin-top: 2px; }
.product-art svg { display: block; width: 100%; height: auto; }
.product-art rect, .product-art circle, .product-art path { fill: none; stroke: #718078; stroke-width: 2; vector-effect: non-scaling-stroke; }
.product-art .accent { fill: var(--green-pale); stroke: var(--green); stroke-width: 2.5; }
.product-art .accent-dot { fill: var(--green-pale); stroke: var(--green); }
.fold-art rect:first-child { fill: #fff; }.fold-art rect:nth-child(2) { fill: #edf2ef; }
.product h3 { margin: 0; font: 600 clamp(2.6rem, 4vw, 4.8rem)/1 Georgia, serif; letter-spacing: -.045em; }
.product h3, .product p, .product-action, .product-actions { grid-column: 2; }
.product p { margin: 4px 0 32px; color: var(--muted); line-height: 1.7; }
.product-action { grid-column: 2; align-self: end; width: max-content; padding: 12px 16px; background: var(--green); color: #fff; border-radius: 3px; }
.product-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.product-actions .product-action { grid-column:auto; }
.product-detail-link { color:var(--green-dark); font-size:.76rem; font-weight:800; text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:3px; }
.secondary-action { background: transparent; color: var(--green-dark); border: 1px solid var(--green-dark); }
.waitlist-form { grid-column: 2; max-width: 520px; }
.waitlist-form>label:first-child { display: block; margin-bottom: 9px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.waitlist-form>div { display: grid; grid-template-columns: 1fr auto; }
.waitlist-form input[type=email] { min-width: 0; padding: 12px 13px; border: 1px solid #929d96; border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: var(--ink); font: inherit; }
.waitlist-form button { padding: 0 17px; border: 1px solid var(--green-dark); border-radius: 0 3px 3px 0; background: var(--green-dark); color: #fff; font-size: .76rem; font-weight: 800; cursor: pointer; }
.waitlist-form input:focus-visible, .waitlist-form button:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--blue); outline-offset: 2px; }
.waitlist-form .consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 11px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.waitlist-form .consent input { margin-top: 2px; }
.form-status { min-height: 1.2em; margin: 8px 0 0!important; color: var(--green-dark)!important; font-size: .75rem; }
.form-status.success { color:var(--green-dark)!important; font-weight:700; }
.form-status.error { color:#9b2c20!important; font-weight:700; }
.waitlist-form[aria-busy="true"] { opacity:.78; }
.waitlist-form button:disabled { cursor:wait; }
.featured { background: linear-gradient(90deg, transparent, var(--green-pale) 22%, transparent); }

.section-intro.compact { display: block; max-width: 760px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.principle-grid article { min-height: 300px; padding: 28px 26px 20px 0; border-right: 1px solid var(--line); }
.principle-grid article + article { padding-left: 26px; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: var(--green); font-size: .75rem; font-weight: 800; }
.principle-grid h3 { margin: 70px 0 16px; max-width: 190px; font: 600 1.35rem/1.15 Georgia, serif; }
.principle-grid p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.about h2 { max-width: 560px; }
.about-copy p + p { margin-top: 22px; }
.button { display: inline-flex; margin-top: 38px; padding: 14px 18px; background: var(--ink); color: #fff; border-radius: 3px; text-decoration: none; font-size: .78rem; font-weight: 800; }
.button.secondary { margin-left:10px; background:transparent; color:var(--green-dark); border:1px solid var(--green-dark); }
footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: var(--muted); font-size: .75rem; }
footer a { justify-self: end; color: var(--green-dark); font-weight: 800; }

/* Product detail pages */
.detail-header nav a[aria-current="page"] { color:var(--green-dark); }
.product-hero { width:min(1180px,calc(100% - 48px)); margin:0 auto; min-height:620px; padding:100px 0 72px; border-bottom:1px solid var(--line); }
.product-hero>.kicker,.product-hero-grid,.product-hero-visual,.product-summary { width:min(100%,1120px); margin-left:auto; margin-right:auto; }
.product-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr); align-items:end; gap:80px; }
.product-hero h1 { margin:0; max-width:820px; font-size:clamp(4.2rem,9vw,8rem); }
.product-hero-copy { padding-bottom:8px; }
.product-hero-copy>p { color:var(--muted); font-size:1.18rem; line-height:1.65; }
.product-hero .button { margin-top:22px; }
.product-hero-visual { margin-top:72px; margin-bottom:0; padding:12px; border:1px solid var(--line); background:#fff; box-shadow:0 18px 50px #17211b0d; }
.product-hero-visual img { display:block; width:100%; height:auto; }
.product-summary { margin-top:42px; display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid var(--ink); border-bottom:1px solid var(--line); }
.product-summary div { min-height:120px; padding:22px 18px 18px 0; border-right:1px solid var(--line); }
.product-summary div+div { padding-left:18px; }
.product-summary div:last-child { border-right:0; }
.product-summary strong { display:block; margin-bottom:8px; font:600 1.1rem Georgia,serif; }
.product-summary span { color:var(--muted); font-size:.78rem; line-height:1.45; }
.detail-section { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:100px 0; border-bottom:1px solid var(--line); }
.detail-showcase { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:72px; align-items:center; margin-bottom:64px; }
.detail-showcase-copy h2 { max-width:680px; }
.detail-visual,.detail-callout-visual { margin:0; padding:8px; border:1px solid var(--line); background:#fff; box-shadow:0 18px 46px #17211b0b; }
.detail-visual img,.detail-callout-visual img { display:block; width:100%; height:auto; }
.step-grid,.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--ink); }
.step-grid article,.feature-grid article { padding:28px 28px 30px 0; border-right:1px solid var(--line); }
.step-grid article+article,.feature-grid article+article { padding-left:28px; }
.step-grid article:last-child,.feature-grid article:last-child { border-right:0; }
.step-grid span { color:var(--green); font-size:.72rem; font-weight:800; }
.step-grid h3,.feature-grid h3 { margin:42px 0 13px; font:600 1.5rem/1.15 Georgia,serif; }
.step-grid p,.feature-grid p { color:var(--muted); line-height:1.65; }
.feature-grid { grid-template-columns:repeat(2,1fr); }
.feature-grid article:nth-child(2n) { border-right:0; }
.feature-grid article:nth-child(n+3) { border-top:1px solid var(--line); }
.detail-callout { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:100px 0; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:32px 72px; align-items:center; }
.detail-callout h2 { max-width:680px; }
.detail-callout p { max-width:720px; margin:24px 0 0; color:var(--muted); font-size:1.05rem; line-height:1.7; }
.detail-callout .kicker { margin:0 0 24px; color:var(--green-dark); font-size:.72rem; line-height:1; }
.detail-callout .button { grid-column:2; justify-self:start; margin:0; white-space:nowrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .product-action, .button { border: 1px solid ButtonText; } }
@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 560px; padding-top: 82px; }
  .home-hero-layout { grid-template-columns:1fr; }
  .portfolio-map { width:min(100%,600px); margin:0 auto; }
  h1 { margin-bottom: 62px; }
  .section-intro, .about { grid-template-columns: 1fr; gap: 30px; }
  .product-copy { grid-template-columns: 1fr; }
  .product-art { grid-column: 1; grid-row: auto; width: min(100%, 320px); margin-bottom: 30px; }
  .product h3, .product p, .product-action, .product-actions, .waitlist-form { grid-column: 1; }
  .product p { margin-top: 22px; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid article:nth-child(2) { border-right: 0; }
  .principle-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  footer { grid-template-columns: 1fr auto; }
  footer span:nth-child(2) { display: none; }
  .product-hero-grid,.detail-showcase,.detail-callout { grid-template-columns:1fr; gap:34px; }
  .detail-showcase-reverse .detail-showcase-copy { order:2; }
  .detail-showcase-reverse .detail-visual { order:1; }
  .detail-callout .button { grid-column:1; }
  .product-summary { grid-template-columns:1fr 1fr; }
  .product-summary div { border-bottom:1px solid var(--line); }
  .step-grid { grid-template-columns:1fr; }
  .step-grid article,.step-grid article+article { padding:28px 0; border-right:0; border-bottom:1px solid var(--line); }
}
@media (max-width: 560px) {
  .site-header, footer, .hero, .section { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 72px; }
  .hero { min-height: 520px; padding-top: 68px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); }
  .hero-bottom { grid-template-columns: 1fr; }
  .home-hero-copy h1 { font-size:clamp(3.35rem,17vw,5rem); }
  .hero-principle { margin-top:46px; }
  .portfolio-map { height:auto; display:grid; gap:12px; }
  .portfolio-lines { display:none; }
  .studio-node,.portfolio-card { position:static; width:100%; min-height:auto; }
  .studio-node { padding:24px; }
  .portfolio-card { grid-template-columns:52px 1fr; }
  .portfolio-icon { width:48px; height:48px; }
  .section { padding: 76px 0; }
  .product { grid-template-columns: 44px 1fr; }
  .product-label { align-items: flex-start; flex-direction: column; gap: 8px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { min-height: auto; padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 34px; }
  .product-hero,.detail-section,.detail-callout { width:min(100% - 32px,1180px); }
  .product-hero { min-height:auto; padding:68px 0 56px; }
  .product-hero-visual { margin-top:50px; padding:6px; }
  .product-summary { margin-top:60px; grid-template-columns:1fr; }
  .product-summary div,.product-summary div+div { min-height:auto; padding:18px 0; border-right:0; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-grid article,.feature-grid article+article { padding:26px 0; border-right:0; border-top:1px solid var(--line); }
  .detail-callout .button { width:max-content; }
}
