/* yellowbe.io: public site of Yellow Be Ltd. Static, no build step.
   Look agreed on the design canvas (2026-09-23): paper ground, ink text, the logo yellow as the one accent.
   Yellow is 1.7:1 on paper, so on light surfaces it is only ever a rule, an underline or a fill under ink text. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-variable.woff2") format("woff2");
}

:root {
  --paper: #faf8f3;
  --card: #ffffff;
  --ink: #1b2430;
  --ink-deep: #10161e;
  --slate: #52606d;
  --body: #3e4c59;
  --rule: #e4dfd3;
  --rule-dark: #334155;
  --muted-dark: #9aa5b1;
  --soft-dark: #cbd2d9;
  --yellow: #fdb414;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 600; z-index: 20; }
.skip:focus { left: 16px; top: 8px; }

/* ---- banner + header ---- */
.banner { background: var(--ink-deep); color: var(--soft-dark); font-size: 14px; text-align: center; padding: 11px var(--gutter); line-height: 1.4; }
.banner a { color: var(--yellow); font-weight: 600; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.banner a:hover { text-decoration: underline; }

.hdr { background: var(--ink); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.hdr .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--soft-dark); text-decoration: none; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { color: var(--ink); }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .hdr .wrap { min-height: 64px; flex-wrap: wrap; }
  .hdr .logo img { height: 28px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: transparent; border: 0; color: #fff; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px; }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; display: flex; align-items: center; border-top: 1px solid var(--rule-dark); }
  .nav .btn { margin-top: 12px; justify-content: center; border-top: 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 3px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffc43d; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; min-height: 48px; padding: 0 24px; font-size: 16px; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--muted-dark); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #fff; color: #fff; }

/* ---- type ---- */
.label { font-family: var(--sans); display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin: 0; }
.label::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex-shrink: 0; }
.dark .label { color: var(--muted-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }
h1.page { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--slate); margin: 0; max-width: 780px; }
.u { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; font-weight: 600; }
.yrule { width: 96px; height: 4px; background: var(--yellow); }

/* ---- sections ---- */
.hero { padding: 88px 0 64px; }
.hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { max-width: 1000px; }
.hero .yrule { margin-top: 12px; }
section.block { padding: 0 0 88px; }
section.block > .wrap { display: flex; flex-direction: column; gap: 28px; }
.dark { background: var(--ink); color: #fff; }
.dark a { color: #fff; }
section.dark { padding: 88px 0; }

.run { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.run a { text-decoration: none; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 44px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; }
.run a:hover { border-color: var(--ink); }
.run .num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--slate); }
.run h2 { font-size: 32px; letter-spacing: -0.01em; }
.run p { margin: 0; font-size: 19px; color: var(--body); flex-grow: 1; }
.run .u { font-size: 16px; }

.holds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.holds .intro { display: flex; flex-direction: column; gap: 20px; }
.holds h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule-dark); }
.checks li:last-child { border-bottom: 0; }
.checks svg { flex-shrink: 0; margin-top: 3px; color: var(--yellow); }
.checks b { display: block; font-size: 20px; font-weight: 600; }
.checks span { display: block; font-size: 17px; color: var(--muted-dark); margin-top: 4px; }
.checks .u { display: inline-block; margin-top: 12px; font-size: 16px; }

.close { padding: 88px 0; }
.close .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.close h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; }
.close .mail { font-size: clamp(22px, 2vw, 28px); font-weight: 500; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.close .aside { font-size: 17px; font-weight: 600; }

/* ---- Geneva ---- */
.page-hero { padding: 80px 0 56px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.page-hero h1 { max-width: 960px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.stats div { padding: 36px 32px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats b { font-family: var(--serif); font-size: 48px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.stats span { font-size: 16px; color: var(--slate); }
.note { margin: 0; font-size: 14px; color: var(--slate); }
.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 0; padding: 0; }
.covers li { padding: 28px 0; border-top: 1px solid var(--rule); }
.covers b { display: block; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.covers span { font-size: 17px; color: var(--body); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.pills li { font-size: 16px; font-weight: 500; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 3px solid var(--yellow); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.steps .num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted-dark); }
.steps b { font-size: 22px; font-weight: 600; }
.steps span { font-size: 17px; color: var(--soft-dark); }
section.dark h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.01em; }
section.dark > .wrap { display: flex; flex-direction: column; gap: 40px; }
section.dark > .wrap > .head { display: flex; flex-direction: column; gap: 20px; }

/* ---- About us ---- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; list-style: none; margin: 0; padding: 0; }
.team li { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 20px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; font-size: 15px; }
.facts div { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 0; color: var(--body); }
.team b { font-size: 20px; font-weight: 600; }
.team .role { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.team p { margin: 0; font-size: 16px; color: var(--body); }
.band { padding: 96px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.01em; }

/* ---- legal / prose ---- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.prose .meta { font-size: 15px; color: var(--slate); }

/* ---- form ---- */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid #b9b2a2; border-radius: 3px; padding: 12px 14px; min-height: 48px; }
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.form .hint { font-size: 14px; font-weight: 400; color: var(--slate); }
.form .status { font-size: 15px; color: var(--slate); margin: 0; }

.form select { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid #b9b2a2; border-radius: 3px; padding: 12px 14px; min-height: 48px; }
.form select:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.form .error { margin: 0; padding: 12px 14px; border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 3px; font-size: 15px; }
.form .error a { color: #991b1b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks h2 { font-size: 32px; margin-bottom: 10px; }
.thanks p { margin: 0; color: var(--body); }
.thanks:focus { outline: none; }

/* ---- footer ---- */
.ftr { background: var(--ink-deep); color: var(--muted-dark); font-size: 14px; padding: 48px 0; }
.ftr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ftr .id { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ftr img { height: 26px; width: auto; }
.ftr nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr a, .ftr button.linkish { color: var(--soft-dark); }
button.linkish { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---- consent ---- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 760px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 4px; padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45); }
.consent p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.5; color: var(--soft-dark); }
.consent p a { color: #fff; }
.consent .actions { display: flex; gap: 12px; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 64px 0 48px; }
  section.block { padding-bottom: 64px; }
  section.dark, .close, .band { padding: 64px 0; }
  .run, .holds, .covers, .steps { grid-template-columns: 1fr; }
  .holds { gap: 28px; }
  .run a { padding: 28px 24px; min-height: 0; }
  .run h2 { font-size: 28px; }
  .run p { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .stats div:last-child { border-bottom: 0; }
  .stats b { font-size: 40px; }
  .steps { gap: 32px; }
  .team { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .ftr nav a, .ftr nav button { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Last on purpose: (0,2,0) specificity and final source order, so it beats the single-class display
   rules (.form, .consent) that otherwise override the hidden attribute. until-found keeps its content. */
[hidden]:not([hidden="until-found"]) { display: none; }
