/* Layout: one long dark column — a monolith split once by the brass line; content hangs off a 12-col grid */
:root {
  --bg: #0C0E11;        /* obsidian */
  --bg-2: #14171B;      /* raised obsidian */
  --fg: #EDE8E0;        /* bone */
  --fg-2: #A7A49E;      /* bone, quiet */
  --rule: rgba(237,232,224,0.12);
  --brass: #C9A56B;
  --brass-text: #C9A56B;
  --display: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #EDE8E0; --bg-2: #E4DED4; --fg: #0C0E11; --fg-2: #5E5C58; --rule: rgba(12,14,17,0.14); --brass: #B8914F; --brass-text: #7D6238; color-scheme: light; } }
:root[data-theme="light"] {
  --bg: #EDE8E0; --bg-2: #E4DED4; --fg: #0C0E11; --fg-2: #5E5C58; --rule: rgba(12,14,17,0.14); --brass: #B8914F; --brass-text: #7D6238; color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.label.brass { color: var(--brass-text); }

/* nav */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.nav .logo { display: block; height: 22px; color: var(--fg); }
.nav .logo svg { height: 22px; width: auto; display: block; }
.nav nav { display: flex; gap: 32px; align-items: center; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--fg-2); transition: color .2s; }
.nav nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--brass); color: var(--fg) !important; text-decoration: none; font-size: 14px; letter-spacing: 0.02em; border-radius: 2px; background: transparent; cursor: pointer; font-family: var(--body); transition: background .2s, color .2s; }
.btn:hover { background: var(--brass); color: var(--bg) !important; }
.btn svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .nav nav a.hide-sm { display: none; } .nav nav { gap: 18px; } }

/* hero */
.hero { padding-block: clamp(64px, 11vw, 140px) clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 10.5vw, 148px); line-height: 0.95; letter-spacing: -0.035em; margin: 28px 0 32px; text-wrap: balance; }
.hero p.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--fg-2); max-width: 30ch; margin: 0 0 40px; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .ctas a.quiet { font-size: 14px; color: var(--fg-2); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.hero .ctas a.quiet:hover { color: var(--fg); border-color: var(--fg); }
.mark { width: 100%; max-width: 420px; justify-self: end; color: var(--fg); }
.mark svg { width: 100%; height: auto; display: block; overflow: visible; }
.mark .light { stroke: var(--brass); stroke-width: 1.4; }
.mark .glow { stroke: url(#sheen); stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) {
  .mark .lift { animation: lift 1.4s cubic-bezier(.2,.7,.1,1) both; }
  @keyframes lift { from { transform: translateY(8px); } to { transform: translateY(0); } }
}
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .mark { justify-self: start; max-width: 220px; order: -1; } }

/* descriptor band */
.band { border-bottom: 1px solid var(--rule); }
.band .wrap { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-block: 22px; }
.band span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-text); }

/* sections */
section.block { padding-block: clamp(72px, 10vw, 128px); border-bottom: 1px solid var(--rule); }
.block .head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.block h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.block .intro { color: var(--fg-2); max-width: 58ch; margin: 0; font-size: 18px; }
@media (max-width: 820px) { .block .head { grid-template-columns: 1fr; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.pillar { padding: 36px 32px 40px 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--rule); }
.pillar h3 { font-weight: 400; font-size: 26px; letter-spacing: -0.01em; margin: 0; }
.pillar p { margin: 0; color: var(--fg-2); }
.pillar ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pillar li { display: flex; gap: 12px; align-items: baseline; }
.pillar li::before { content: ""; width: 12px; height: 1px; background: var(--brass); flex-shrink: 0; transform: translateY(-4px) rotate(-75deg); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; } .pillar + .pillar { border-top: 1px solid var(--rule); } }

/* platform: the partner offer */
.platform { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 0 0; border-top: 1px solid var(--fg); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step + .step { padding-left: 28px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--brass-text); letter-spacing: 0.1em; }
.step h3 { margin: 0; font-weight: 500; font-size: 18px; }
.step p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .step:nth-child(3) { padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; } }

/* group */
.group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brand-tile { border: 1px solid var(--rule); padding: 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; transition: border-color .25s; }
.brand-tile:hover { border-color: var(--brass); }
.brand-tile .nm { font-size: 22px; font-weight: 400; letter-spacing: 0.02em; }
.brand-tile p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .group { grid-template-columns: 1fr; } }

/* contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.contact h2 { font-size: clamp(44px, 7vw, 96px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; margin: 20px 0 0; }
.contact .card { border-top: 1px solid var(--fg); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.email-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.email { font-size: clamp(18px, 2vw, 22px); user-select: all; overflow-wrap: anywhere; }
.copy { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 12px; background: transparent; color: var(--fg-2); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg-2); }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: 1fr; } }

/* built in-house: one row per system */
.builds { display: flex; flex-direction: column; border-top: 1px solid var(--fg); }
.build { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 16px 40px; padding-block: 32px; border-bottom: 1px solid var(--rule); align-items: start; }
.build-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.build h3 { margin: 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; }
.build p { margin: 0; color: var(--fg-2); max-width: 56ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chips li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 2px; color: var(--fg-2); }
.chips li.status { border-color: var(--brass); color: var(--brass-text); }
@media (max-width: 820px) { .build { grid-template-columns: 1fr; } .chips { justify-content: flex-start; } }

/* founder */
.founder .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.portrait { margin: 0; position: relative; max-width: 460px; width: 100%; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.portrait::after { content: ""; position: absolute; top: 0; bottom: 0; right: -20px; width: 1.5px; background: var(--brass); opacity: 0.9; }
.founder-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding-bottom: 8px; }
.founder blockquote { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; max-width: 22ch; }
.founder p { margin: 0; color: var(--fg-2); max-width: 54ch; font-size: 18px; }
.sig { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--rule); }
.sig .name { font-size: 20px; font-weight: 400; }
@media (max-width: 820px) { .founder .wrap { grid-template-columns: 1fr; } .portrait { max-width: 320px; } .portrait::after { right: -14px; } }

footer { padding-block: 40px 56px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--fg-2); font-size: 13px; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.foot-email { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 1px; user-select: all; }
.foot-email:hover { color: var(--brass-text); }
footer .logo svg { height: 18px; width: auto; display: block; color: var(--fg); }
