
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/fraunces-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-normal.woff2") format("woff2"); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Hardgreen — quiet by default, confident on purpose.
   Layout: a book-like reading column on Paper, Olive bands for the few confident moments.
   Every block responds to the width of the site container (container queries + fluid type),
   so the same CSS adapts on a phone, a tablet or a wide screen without fixed breakpoints. */
:root {
  --olive: #4F5840;
  --paper: #F5F1E8;
  --ink: #1C1C1A;
  --bone: #FAF8F3;
  --stone: #A69D8A;
  --moss: #2F3A2B;
  --sand: #D9CDB4;
  --hair: rgba(28, 28, 26, 0.16);
  --serif: "Fraunces", "GT Sectra", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Söhne", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

.site {
  container: site / inline-size;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  /* fluid scale, resolved against the site's own width */
  --fs-xl: clamp(2.625rem, 1.15rem + 6cqi, 4.5rem);
  --fs-l: clamp(2.125rem, 1.1rem + 4cqi, 3.25rem);
  --fs-m: clamp(1.75rem, 1.15rem + 2.3cqi, 2.25rem);
  --fs-s: clamp(1.375rem, 1.15rem + 0.9cqi, 1.625rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5cqi, 1.25rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.25cqi, 1.125rem);
  --gutter: clamp(20px, 4cqi, 48px);
  --sec: clamp(48px, 1.5rem + 4.5cqi, 80px);
  --band: clamp(64px, 2.5rem + 6cqi, 120px);
}
.site h1, .site h2, .site h3, .site p, .site ul, .site ol, .site figure { margin: 0; }
.site strong, .site b { font-weight: 500; }

.wrap {
  width: 100%;
  max-width: calc(1200px + 96px);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.col { max-width: 680px; }

/* ---------- type ---------- */
.display-xl, .display-l, .display-m, .display-s, .serif {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  text-wrap: balance;
  font-variant-numeric: oldstyle-nums;
}
.display-xl { font-size: var(--fs-xl); line-height: 1.05; letter-spacing: -0.02em; }
.display-l { font-size: var(--fs-l); line-height: 1.1; letter-spacing: -0.015em; }
.display-m { font-size: var(--fs-m); line-height: 1.15; letter-spacing: -0.01em; }
.display-s { font-size: var(--fs-s); line-height: 1.25; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.body { font-size: var(--fs-body); }
.small { font-size: 1rem; line-height: 1.55; }
.caption { font-size: 0.875rem; line-height: 1.5; letter-spacing: 0.01em; color: var(--olive); }
.micro { font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.site em, .site i { font-style: italic; }
.stack { display: grid; gap: 20px; }
.stack-tight { display: grid; gap: 12px; }

/* The Olive rule: one short mark above each major section opener. */
.rule::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--olive);
  margin-bottom: 24px;
}
@container site (max-width: 600px) { .rule::before { width: 40px; } }

/* ---------- links & buttons ---------- */
:where(.site) a { color: inherit; }
.text-link, .prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.text-link:hover, .prose a:hover { background: var(--olive); color: var(--paper); text-decoration-color: transparent; }
.text-link { font-size: 1rem; font-weight: 500; align-self: start; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 14px 28px;
  font: 500 1rem/1.25 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--moss); }
.btn-ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: var(--paper); }
.btn-inverted { background: var(--paper); color: var(--olive); }
.btn-inverted:hover { background: var(--sand); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(245, 241, 232, 0.55); }
.btn-ghost-light:hover { background: var(--paper); color: var(--olive); border-color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.site :focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.on-olive :focus-visible, .band-olive :focus-visible, .menu :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px;
  font-size: 1rem; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- header & navigation ---------- */
.site-header { position: relative; padding-block: 24px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark {
  font: 500 1.625rem/1 var(--serif);
  letter-spacing: -0.015em;
  color: var(--olive);
  text-decoration: none;
  white-space: nowrap;
}
.on-olive .wordmark { color: var(--paper); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; list-style: none; padding: 0; }
.nav-links a {
  font-size: 1rem;
  color: rgba(28, 28, 26, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--olive); }
.on-olive .nav-links a { color: rgba(245, 241, 232, 0.85); }
.on-olive .nav-links a:hover, .on-olive .nav-links a[aria-current="page"] { color: var(--paper); }
.lang {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--olive);
  border: 1px solid currentColor; border-radius: 2px; padding: 5px 8px 4px;
}
.lang:hover { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.on-olive .lang { color: var(--paper); }
.on-olive .lang:hover { background: var(--paper); color: var(--olive); border-color: var(--paper); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 8px 0;
  font: 400 1rem/1 var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.on-olive .menu-btn { color: var(--paper); }
.menu-icon { display: inline-grid; gap: 4px; }
.menu-icon span { display: block; width: 20px; height: 1.5px; background: currentColor; }
@container site (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { gap: 20px; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--olive);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow-y: auto;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu .wordmark { color: var(--paper); }
.menu-close {
  background: none; border: 1px solid rgba(245, 241, 232, 0.55); border-radius: 2px;
  color: var(--paper); font: 400 1rem/1 var(--sans); padding: 10px 14px; cursor: pointer;
}
.menu-links { list-style: none; padding: 0; display: grid; gap: 18px; }
.menu-links a { font: 500 1.75rem/1.2 var(--serif); letter-spacing: -0.01em; color: var(--paper); text-decoration: none; }
.menu-links a[aria-current="page"] { font-style: italic; }
.menu-foot { margin-top: auto; display: grid; gap: 12px; color: rgba(245, 241, 232, 0.8); font-size: 1rem; }

/* ---------- home hero ---------- */
.hero-band { background: var(--olive); color: var(--paper); }
.hero-inner {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-block: clamp(40px, 1rem + 7cqi, 112px) clamp(64px, 2rem + 8cqi, 128px);
}
.hero-title { max-width: 12em; }
.hero-title .fun { font-style: normal; }
.hero-title .keep { display: block; font-style: italic; }
.hero-lead { max-width: 34em; color: rgba(245, 241, 232, 0.92); }
.hero-meta { font-size: 0.875rem; letter-spacing: 0.01em; color: rgba(245, 241, 232, 0.75); }
.hero-band .text-link { color: var(--paper); text-decoration-color: rgba(245, 241, 232, 0.6); }
.hero-band .text-link:hover { background: var(--paper); color: var(--olive); }

/* ---------- sections ---------- */
.section { padding-block: var(--sec); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 16px; max-width: 680px; margin-bottom: clamp(32px, 1.5rem + 1.5cqi, 48px); }
.band { padding-block: var(--band); }
.band-olive { background: var(--olive); color: var(--paper); }
.band-olive .rule::before { background: rgba(245, 241, 232, 0.6); }
.band-olive .caption { color: rgba(245, 241, 232, 0.8); }
.band-sand { background: var(--sand); }
.band + .section, .page-head + .section { padding-top: var(--sec); }

.split { display: grid; gap: 20px; }
@container site (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; align-items: start; }
}

.pillars, .cards, .criteria, .beliefs, .questions, .structures, .invites {
  list-style: none;
  padding: 0;
  display: grid;
}
.pillars { gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.pillar { border-top: 1px solid var(--hair); padding-top: 24px; display: grid; gap: 12px; align-content: start; }

.beliefs { gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.beliefs li { border-top: 1px solid var(--hair); padding-block: 22px; display: grid; gap: 6px; }
.belief-head { font: 500 clamp(1.25rem, 1.1rem + 0.6cqi, 1.5rem)/1.25 var(--serif); letter-spacing: -0.005em; }
.belief-body { font-size: 1rem; line-height: 1.55; color: rgba(28, 28, 26, 0.82); }

.criteria { gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
/* six criteria on the homepage: 1, 2 or 3 columns, never a lone item in a row */
.criteria-6 { grid-template-columns: minmax(0, 1fr); }
@container site (min-width: 520px) { .criteria-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container site (min-width: 900px) { .criteria-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 40px; } }
.criteria li { border-top: 1px solid rgba(28, 28, 26, 0.28); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.band-olive .criteria li { border-top-color: rgba(245, 241, 232, 0.35); }
.crit-value {
  font: 500 clamp(2.125rem, 1.4rem + 2.2cqi, 3rem)/1.05 var(--serif);
  letter-spacing: -0.015em;
  font-variant-numeric: oldstyle-nums;
}
.crit-label { font-size: 1rem; line-height: 1.5; }
.band-olive .crit-label { color: rgba(245, 241, 232, 0.88); }
.site .after-grid { margin-top: clamp(28px, 1.25rem + 1.5cqi, 40px); }

.cards { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.card {
  background: var(--bone);
  border-radius: 2px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card p { font-size: 1rem; line-height: 1.55; flex: 1; }

.owned { border-top: 1px solid var(--hair); padding-top: 24px; display: grid; gap: 10px; max-width: 680px; }
.owned-name a { text-decoration: none; }
.owned-name a:hover { text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 3px; }

.cta-inner { display: grid; gap: 24px; max-width: 760px; }
.cta-inner .lead { color: rgba(245, 241, 232, 0.9); max-width: 34em; }
.cta-email { font-size: 1rem; color: rgba(245, 241, 232, 0.85); user-select: all; }

/* ---------- content pages ---------- */
.page-head { padding-block: clamp(40px, 1rem + 6cqi, 112px) clamp(24px, 1rem + 2cqi, 48px); }
.page-head .wrap > div { display: grid; gap: 16px; max-width: 760px; }
.subtitle { font: italic 400 var(--fs-lead)/1.5 var(--serif); color: rgba(28, 28, 26, 0.8); max-width: 34em; }

.letter {
  max-width: 680px;
  display: grid;
  gap: 22px;
  font: 400 var(--fs-lead)/1.7 var(--serif);
}
.signature { font-family: var(--sans); font-size: 1rem; line-height: 1.5; padding-top: 8px; display: grid; }
.signature .name { font: italic 500 1.375rem/1.3 var(--serif); }
.signature .role { color: var(--olive); font-size: 0.875rem; }

.annotated { display: grid; gap: 14px; }
.margin-label { font-size: 0.875rem; line-height: 1.5; letter-spacing: 0.01em; color: var(--olive); }
.annotated-body { display: grid; gap: 20px; max-width: 680px; min-width: 0; }
@container site (min-width: 980px) {
  .annotated { grid-template-columns: 200px minmax(0, 680px); column-gap: 48px; }
  .margin-label { padding-top: 24px; text-align: right; }
}
.proof { background: var(--sand); border-radius: 2px; padding: clamp(24px, 1rem + 1.5cqi, 32px); display: grid; gap: 10px; margin-top: 8px; }
.proof p { font-size: 1rem; line-height: 1.55; }

.questions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); column-gap: 48px; }
.questions li {
  border-top: 1px solid var(--hair);
  padding-block: 18px;
  font: 400 clamp(1.125rem, 1.05rem + 0.4cqi, 1.3125rem)/1.4 var(--serif);
}
.structures { gap: 32px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.structures li { display: grid; gap: 8px; align-content: start; }
.structures p { font-size: 1rem; line-height: 1.55; }

.dash-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 680px; }
.dash-list li { position: relative; padding-left: 1.75em; }
.dash-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--olive); }
.dash-list.small li { font-size: 1rem; }

.aside { max-width: 680px; display: grid; gap: 6px; border-top: 1px solid var(--hair); padding-top: 20px; }
.aside p:last-child { font-size: 1rem; line-height: 1.55; }
.notice { max-width: 680px; font: italic 400 var(--fs-lead)/1.55 var(--serif); }

.invites { gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.invite { border-top: 1px solid var(--hair); padding-top: 24px; display: grid; gap: 14px; align-content: start; }
.invite > p { font-size: 1rem; line-height: 1.55; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 16px; max-width: 680px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
.steps li::before {
  content: counter(step);
  font: 500 1.5rem/1 var(--serif);
  font-variant-numeric: oldstyle-nums;
  color: var(--olive);
}

.email-block { display: grid; gap: 20px; }
.email-big {
  font: 500 clamp(1.75rem, 0.6rem + 6cqi, 4.25rem)/1.05 var(--serif);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  user-select: all;
}
.copy-status { font-size: 0.875rem; color: rgba(245, 241, 232, 0.85); min-height: 1.5em; }

/* ---------- footer ---------- */
.site-footer { background: var(--moss); color: var(--paper); padding-block: clamp(64px, 2rem + 5cqi, 96px) clamp(40px, 1.5rem + 3cqi, 64px); }
.footer-inner { display: grid; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-links a { font-size: 1rem; color: var(--paper); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-email { font-size: 1rem; color: var(--paper); user-select: all; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; border-top: 1px solid rgba(166, 157, 138, 0.35); padding-top: 28px; }
.footer-bottom .wordmark { color: var(--paper); }
.footer-bottom .micro { color: var(--stone); }

.notfound { min-height: 50vh; display: grid; align-content: center; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { transition: none !important; }
}

/* ---------- print: what founders show their accountant ---------- */
@media print {
  html, body, .site { background: #fff !important; color: #000 !important; }
  .nav, .menu, .menu-btn, .skip, .actions .btn, .footer-links, .copy-status, [data-copy] { display: none !important; }
  .hero-band, .band-olive, .band-sand, .site-footer { background: #fff !important; color: #000 !important; }
  .hero-band *, .band-olive *, .site-footer * { color: #000 !important; }
  .on-olive .wordmark, .footer-bottom .wordmark { color: var(--olive) !important; }
  .card, .proof { background: #fff !important; border: 1px solid #ccc; }
  .hero-inner { min-height: 0; padding-block: 24px; }
  .band, .section { padding-block: 20px; }
  .site-footer::after { content: "hardgreen.nl"; display: block; padding: 0 20px; }
  h2, h3 { break-after: avoid; }
  li, .card, .proof { break-inside: avoid; }
}
