@import url("/assets/fonts/fonts.css");

:root {
  --ink: #14201b;
  --ink-2: #26342d;
  --ink-soft: #3f4d45;
  --muted: #5f6b64;
  --paper: #f7f3ea;
  --bone: #efe8da;
  --sand: #e4d9c4;
  --wheat: #c9a468;
  --wheat-deep: #a9803f;
  --rust: #9a4a2b;
  --line: rgba(20, 32, 27, 0.14);
  --line-light: rgba(247, 243, 234, 0.22);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16.5px, 1.05vw + 12px, 18px);
  line-height: 1.62;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--wheat-deep); outline-offset: 3px; }
::selection { background: var(--wheat); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, .display { text-wrap: balance; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lede { font-size: clamp(1.1rem, 1.3vw + 0.6rem, 1.35rem); line-height: 1.55; max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header.over { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-color: var(--line-light); color: var(--paper); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.01em; line-height: 1; }
.brand svg { width: 34px; height: 20px; flex: none; }
.brand:hover { color: inherit; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 0.92rem; font-weight: 500; }
.nav a { text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav a:hover { color: inherit; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .cta { border: 1px solid currentColor; padding: 10px 18px; border-radius: 999px; }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.over .nav .cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.menu { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-size: 0.9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .menu .panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); color: var(--ink); min-width: 250px; padding: 14px 0; box-shadow: 0 20px 50px rgba(20,32,27,.18); border: 1px solid var(--line); }
  .menu .panel a { display: block; padding: 11px 22px; text-decoration: none; font-weight: 500; }
  .menu .panel a:hover { background: var(--bone); color: var(--ink); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); cursor: pointer; font-family: var(--sans); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--wheat); color: var(--ink); }
.btn-primary:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--rust); color: var(--paper); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); color: var(--paper); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero .bg, .band .bg, .page-hero .bg { position: absolute; inset: 0; }
.hero .bg img, .band .bg img, .page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg img { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,32,27,.55) 0%, rgba(20,32,27,0) 26%),
  linear-gradient(90deg, rgba(20,32,27,.55) 0%, rgba(20,32,27,.25) 45%, rgba(20,32,27,0) 70%),
  linear-gradient(0deg, rgba(20,32,27,.92) 0%, rgba(20,32,27,.55) 38%, rgba(20,32,27,0) 70%); }
.hero .inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 160px; }
.hero h1 { max-width: 11.5em; font-size: clamp(3rem, 6.2vw, 6.1rem); text-wrap: balance; }
.hero .lede { margin-top: 28px; color: rgba(247,243,234,.88); max-width: 34em; }
.hero .btn-row { margin-top: 36px; }
.hero .rise > * { animation: rise 1.1s var(--ease) both; }
.hero .rise > *:nth-child(2) { animation-delay: .12s; }
.hero .rise > *:nth-child(3) { animation-delay: .24s; }
.hero .rise > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.caption { position: absolute; right: var(--gutter); bottom: 22px; z-index: 3; font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(247,243,234,.7); }

.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,32,27,.9) 0%, rgba(20,32,27,.35) 55%, rgba(20,32,27,.25) 100%); }
.page-hero .inner { position: relative; z-index: 2; width: 100%; padding-top: 170px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 13em; }
.page-hero .lede { margin-top: 22px; color: rgba(247,243,234,.88); }

.plain-hero { padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.plain-hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 14em; }
.plain-hero .lede { margin-top: 22px; }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 96px) 0; }
.bone { background: var(--bone); }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: rgba(247,243,234,.66); }
.rule-top { border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .label { position: sticky; top: 32px; }
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.14; letter-spacing: -0.005em; margin: 0; }
.statement em { color: var(--rust); }
.dark .statement em { color: var(--wheat); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); }
.principles > div { padding: 34px 32px 6px 0; }
.principles > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.principles .num { font-family: var(--serif); font-size: 1.05rem; color: var(--rust); display: block; margin-bottom: 18px; }
.principles h3 { margin-bottom: 14px; }
.principles p { color: var(--ink-soft); }

/* sector cards */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 32px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { max-width: 13em; text-wrap: balance; }
.section-head p { max-width: 30em; margin: 0; color: var(--muted); }
.sectors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); text-decoration: none; min-height: 460px; display: flex; align-items: flex-end; border-radius: var(--radius); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,32,27,.9) 0%, rgba(20,32,27,.2) 55%, rgba(20,32,27,0) 100%); }
.card .body { position: relative; z-index: 2; padding: 28px; }
.card .idx { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.card h3 { margin: 10px 0 10px; }
.card p { margin: 0; color: rgba(247,243,234,.84); font-size: .96rem; max-width: 26em; }
.card:hover { color: var(--paper); }
.card:hover img { transform: scale(1.045); }
.c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.card.tall { min-height: 560px; }
.card.text-only { background: var(--ink-2); }
.card.text-only::after { display: none; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line-light); }
.steps li { padding: 30px 26px 8px 0; counter-increment: s; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line-light); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--wheat); margin-bottom: 26px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 12px; }
.steps p { color: rgba(247,243,234,.74); font-size: .96rem; }
.light .steps { border-top-color: var(--line); }
.light .steps li + li { border-left-color: var(--line); }
.light .steps p { color: var(--ink-soft); }
.light .steps li::before { color: var(--rust); }

/* band / quote */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--paper); background: var(--ink); overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,27,.88) 0%, rgba(20,32,27,.55) 55%, rgba(20,32,27,.2) 100%); }
.band .inner { position: relative; z-index: 2; }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.08; max-width: 15em; }
.band blockquote em { color: var(--wheat); }
.band .attrib { margin-top: 28px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* duo panels */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: clamp(36px, 5vw, 64px); min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-radius: var(--radius); }
.panel.ink { background: var(--ink); color: var(--paper); }
.panel.sand { background: var(--sand); }
.panel h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin-bottom: 18px; }
.panel p { max-width: 30em; }
.panel.ink p { color: rgba(247,243,234,.8); }

/* prose + lists */
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 0 0 24px; }
.prose h3 { margin: 48px 0 14px; }
.prose p, .prose li { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.ticks li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 14px; height: 1px; background: var(--rust); }
.dark .ticks, .dark .ticks li { border-color: var(--line-light); }
.dark .ticks li { color: rgba(247,243,234,.84); }
.dark .ticks li::before { background: var(--wheat); }
.note { border-left: 2px solid var(--wheat); padding: 6px 0 6px 22px; margin: 36px 0 0; color: var(--ink-soft); }

/* sector rows (what we buy page) */
.sector-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.sector-row:nth-of-type(even) .media { order: 2; }
.sector-row .media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.sector-row .media img { width: 100%; height: 100%; object-fit: cover; }
.sector-row .num { font-family: var(--serif); color: var(--rust); font-size: 1.1rem; }
.sector-row h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin: 10px 0 22px; }
.sector-row p { color: var(--ink-soft); max-width: 32em; }
.sector-row .media.plain { display: flex; align-items: center; justify-content: center; background: var(--ink-2); }
.sector-row .media.plain svg { width: 46%; height: auto; color: var(--wheat); opacity: .9; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 56px 28px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background:
  linear-gradient(currentColor, currentColor) center / 18px 1px no-repeat,
  linear-gradient(currentColor, currentColor) center / 1px 18px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 56px 30px 0; color: var(--ink-soft); max-width: 44em; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.person { background: var(--bone); padding: 40px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--radius); }
.person .mono { font-family: var(--serif); font-size: 3rem; color: var(--rust); line-height: 1; margin-bottom: auto; }
.person h3 { margin-top: 40px; }

/* form */
.form-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.inquiry fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.inquiry legend { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: inline-block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .95rem; background: var(--paper); transition: all .2s; }
.choice input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--wheat-deep); outline-offset: 3px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(20,32,27,.35); padding: 10px 0 12px; border-radius: 0; transition: border-color .2s; }
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 12px) 55% / 6px 6px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 6px) 55% / 6px 6px no-repeat; padding-right: 28px; }
.field textarea { border: 1px solid rgba(20,32,27,.35); padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust); }
.hint { font-size: .86rem; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-card { background: var(--ink); color: var(--paper); padding: 40px; border-radius: var(--radius); position: sticky; top: 32px; }
.aside-card h3 { margin-bottom: 16px; }
.aside-card p { color: rgba(247,243,234,.8); }

/* cta */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.cta-band p { color: rgba(247,243,234,.78); }

/* footer */
.site-footer { background: #0e1713; color: rgba(247,243,234,.72); font-size: .92rem; padding: 72px 0 36px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(247,243,234,.12); }
.site-footer .brand { color: var(--paper); font-size: 2rem; }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,243,234,.5); margin: 6px 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--wheat); }
.site-footer .legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .8rem; color: rgba(247,243,234,.5); }
.site-footer .legal p { margin: 0; max-width: 60em; }

/* reveal (progressive enhancement: only hides when JS has opted in) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .section-head { grid-template-columns: 1fr; }
  .split, .form-wrap, .cta-band .inner { grid-template-columns: 1fr; }
  .split .label, .aside-card { position: static; }
  .principles { grid-template-columns: 1fr; }
  .principles > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li + li { padding: 30px 20px 10px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .light .steps li, .light .steps li + li { border-top-color: var(--line); }
  .c-7, .c-5, .c-4, .c-6, .c-8 { grid-column: span 12; }
  .card, .card.tall { min-height: 420px; }
  .duo, .team { grid-template-columns: 1fr; }
  .sector-row { grid-template-columns: 1fr; }
  .sector-row:nth-of-type(even) .media { order: 0; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .card, .card.tall { min-height: 380px; }
  .site-footer .top { grid-template-columns: 1fr; }
  .caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Legal page */
.prose .toc { margin: 8px 0 40px; padding: 16px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); font-size: 0.95rem; }
.prose .toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--wheat); }
.prose h2[id] { margin-top: 72px; scroll-margin-top: 110px; }
.prose h2[id]:first-of-type { margin-top: 24px; }
.prose h3 + p { margin-top: 0; }
