/* Last modified: 2026-11-06, 13h:21min (Amsterdam) */
/* Sorbeno, R2-05 Chalk & Olive. A field notebook: semi-condensed sans on chalk,
   mono numbers, strict rules, and one large matted plate that opens on a face. */

@font-face { font-family: "Archivo"; src: url("fonts/Archivo-normal-400_900.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-normal-400_700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-normal-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --c-base: #ECECE4;     /* chalk */
  --c-surface: #E0E0D6;  /* darker chalk: mats, folder */
  --c-ink: #23261A;      /* olive black */
  --c-soft: #55584A;     /* lichen grey: meta */
  --c-accent: #5F6F22;   /* olive: stamp, counts, current row. Never as text on the surface (4.18:1). */
  --c-on-accent: #ECECE4;
  --c-rule: #7E816F;
  --c-paper: #FBFAF6;    /* drawing paper inside the plates, as measured in the encoded loops and posters */

  --f-display: "Archivo", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: 16px; --max: 1188px; --gap: 64px;
  --fs-hero: 40px; --fs-h2: 30px; --fs-name: 19px; --fs-num: 30px; --fs-feature: 32px;
  --fs-body: 15px; --fs-mono: 11px; --fs-word: 28px;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --gap: 96px; --fs-hero: 64px; --fs-h2: 40px; --fs-name: 22px; --fs-num: 40px; --fs-feature: 44px; --fs-body: 16px; --fs-mono: 12px; --fs-word: 44px; }
}
@media (min-width: 1180px) {
  :root { --gutter: 66px; --fs-hero: 88px; --fs-num: 40px; --fs-feature: 52px; --fs-word: 52px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--c-base); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--c-ink); background: var(--c-base); font: 400 var(--fs-body)/1.5 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font: 400 var(--fs-mono)/1.35 var(--f-mono); letter-spacing: 0.02em; }
.soft { color: var(--c-soft); }
.display { font-family: var(--f-display); font-weight: 650; font-stretch: 78%; letter-spacing: -0.025em; line-height: 0.95; }
.num { font: 500 var(--fs-num)/0.85 var(--f-mono); letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }

.skip { position: absolute; left: var(--gutter); top: -40px; z-index: 10; padding: 8px 12px; background: var(--c-ink); color: var(--c-base); }
.skip:focus { top: 8px; }

/* ------------------------------------------------------------- masthead */
.mast { padding-top: 14px; }
.mast__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-rule); }
.wordmark { font-size: var(--fs-word); line-height: 0.9; white-space: nowrap; }
.mast__issue { text-align: right; padding-bottom: 3px; }
.mast__bar { position: relative; display: flex; justify-content: flex-end; border-bottom: 1px solid var(--c-rule); }
.mast__nav { display: flex; gap: 32px; padding: 9px 0 8px; }
.mast__nav a { font: 500 12px/1 var(--f-mono); letter-spacing: 0.04em; padding: 4px 0; }
.mast__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mast__nav .n { color: var(--c-soft); margin-right: 6px; }
@media (max-width: 767px) {
  .mast__top { padding-bottom: 10px; }
  .mast__date { display: none; }
  .mast__issue { white-space: nowrap; }
  .mast__bar { justify-content: space-between; }
  .mast__nav { width: 100%; justify-content: space-between; gap: 12px; padding: 8px 0 7px; }
}

/* ------------------------------------------------------------- hero */
.hero { display: grid; gap: 18px; padding-top: 22px; grid-template-areas: "main" "plate" "side"; }
.hero__main { grid-area: main; }
.hero__plate { grid-area: plate; }
.hero__side { grid-area: side; border-top: 1px solid var(--c-rule); padding-top: 12px; }
.kicker { font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.kicker .tag { display: inline-block; margin-right: 10px; padding: 3px 7px 2px; border: 1px solid var(--c-ink); }
.hero__title { margin-top: 14px; font-size: var(--fs-hero); max-width: 8.4em; text-wrap: balance; }
.hero__lede { font-size: 16px; line-height: 1.45; max-width: 34em; }
.hero__facts, .feature__facts, .end__facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 14px; }
.hero__facts dt, .feature__facts dt, .end__facts dt { color: var(--c-soft); }
@media (max-width: 767px) {
  .kicker__rest { display: none; }    /* mobile: the tag alone, so the portrait stays above the fold */
  .hero__plate { max-width: 400px; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .hero { grid-template-columns: 1fr 1fr; column-gap: 32px; padding-top: 44px; grid-template-areas: "main main" "side plate"; }
  .hero__side { align-self: start; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 36px;
          padding-top: 56px; grid-template-areas: "main plate" "side plate"; }
  .hero__side { align-self: start; max-width: 360px; }   /* the lede follows the headline, not the plate's bottom */
}

/* plate (matted portrait) used in the hero, grid and folder */
.mat { background: var(--c-surface); outline: 1px solid var(--c-rule); outline-offset: -1px; }
.mat video, .mat .hero__still { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--c-base); border: 0; outline: 0; box-shadow: none; }
.mat .hero__still { display: none; }
@media (prefers-reduced-motion: reduce) { .hero__plate video { display: none; } .mat .hero__still { display: block; } }
.hero__plate .mat { padding: 0; background: var(--c-base); outline: 0; border: 0; box-shadow: none; }

/* ------------------------------------------------------------- portraits */
.block { margin-top: var(--gap); scroll-margin-top: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--c-rule); }
.section-head h2 { font-size: var(--fs-h2); }
.count { margin-left: 8px; color: var(--c-accent); letter-spacing: 0.02em; }


/* v7 copy layout */
.mast__bar { min-height: 48px; }
.mast__nav { flex-wrap: wrap; justify-content: flex-end; }
.hero { grid-template-areas: "main" "plate"; }
.hero__title { max-width: none; margin: 0; }
.hero__copy { margin-top: 34px; padding-top: 18px; }
.hero__copy .hero__title { margin-bottom: 18px; }
.hero__copy p + p { margin-top: 14px; }
.hero__copy p { max-width: 60ch; }
@media(min-width:768px) { .hero { grid-template-areas: "main plate"; grid-template-columns: minmax(0,1fr) minmax(280px,440px); gap: 40px; padding-top: 50px; } }
@media(max-width:767px) { .hero { grid-template-areas: "plate" "main"; } .hero__main { grid-area: main; } .hero__copy { margin-top: 8px; } .mast__nav { justify-content: flex-start; gap: 8px 18px; padding-left: 0; } .mast__bar { padding-top: 10px; } }
.timeline { display: grid; gap: 30px; }
.timeline__group { display: grid; grid-template-columns: minmax(110px,180px) 1fr; gap: 20px; border-top: 1px solid var(--c-rule); padding-top: 14px; }
.timeline__group h3 { font-weight: 500; }
.timeline__group li { padding: 9px 0; border-bottom: 1px solid var(--c-rule); }
.timeline__group li .mono { font-size: 12px; font-weight: 500; }
@media(max-width:639px) { .timeline__group { grid-template-columns: 1fr; gap: 4px; } }
.card { background: var(--c-surface); padding: 20px; min-width: 0; border-top: 1px solid var(--c-rule); }
.card > .mono { color: var(--c-soft); }
.card h3 { font-size: 26px; line-height: 1.1; margin: 16px 0 8px; }
.card .role { margin-bottom: 16px; }
.card p:last-child { margin-top: 16px; }
.card strong { font-weight: 600; }
.intro { max-width: 75ch; }
.build-list { margin-top: 22px; border-top: 1px solid var(--c-rule); }
.build-list li { padding: 18px 0; border-bottom: 1px solid var(--c-rule); }
.build-list a { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.placeholder { display: inline; font: 400 11px/1.8 var(--f-mono); background: var(--c-surface); border: 1px dashed var(--c-rule); padding: 2px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; overflow-wrap: anywhere; }
.pullout { border-top: 2px solid var(--c-accent); padding-top: 18px; max-width: 75ch; }
.pullout h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.end { border-top: 1px solid var(--c-rule); padding-top: 14px; } .end a { text-decoration: underline; text-underline-offset: 3px; }


.day-note { max-width: 75ch; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--c-rule); }

/* Org tree: one manager, a peer PA, and four reports to the manager. */
.org { --box-w: 270px; --box-h: 216px; --org-gap: 16px; }
.org .card { width: var(--box-w); height: var(--box-h); padding: 18px; border: 1px solid var(--c-rule); background: var(--c-surface); display: flex; flex-direction: column; justify-content: center; }
.org .card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.12; text-align: center; }
.org .card .role { margin: 0 0 12px; text-align: center; font: 500 13px/1.4 var(--f-mono); }
.org .card p { font-size: 14px; line-height: 1.42; }
.org .card p:last-child { margin-top: 0; }
.org__root { margin: 0 auto; align-items: center; }
.org__root h3 { font-size: 32px !important; margin: 0 !important; }
.org__tree { max-width: calc(4 * var(--box-w) + 3 * var(--org-gap)); margin: 0 auto; }
.org__leaders, .org__reports { display: grid; grid-template-columns: repeat(4, var(--box-w)); gap: var(--org-gap); position: relative; }
.org__leaders { margin-top: 48px; }
.org__cos { grid-column: 2 / span 2; justify-self: center; }
.org__pa { grid-column: 4; position: relative; border-color: var(--c-accent) !important; }
.org__leaders::before { content: ""; position: absolute; top: -24px; left: 50%; right: 12%; border-top: 1px solid var(--c-rule); }
.org__leaders::after { content: ""; position: absolute; top: -48px; left: 50%; height: 48px; border-left: 1px solid var(--c-rule); }
.org__pa::before { content: ""; position: absolute; top: -24px; left: 50%; height: 24px; border-left: 1px solid var(--c-rule); }
.org__reports { margin-top: 56px; }
.org__reports::before { content: ""; position: absolute; top: -28px; left: 12.5%; right: 12.5%; border-top: 1px solid var(--c-rule); }
.org__reports::after { content: ""; position: absolute; top: -56px; left: 50%; height: 28px; border-left: 1px solid var(--c-rule); }
.org__reports .card { position: relative; }
.org__reports .card::before { content: ""; position: absolute; top: -28px; left: 50%; height: 28px; border-left: 1px solid var(--c-rule); }
.org .freelance-card { border-style: dashed; border-color: var(--c-soft); background: var(--c-base); }
@media (max-width: 1199px) {
  .org { --box-w: 100%; --box-h: 216px; }
  .org__tree { display: flex; flex-direction: column; align-items: stretch; position: relative; background-image: linear-gradient(var(--c-rule),var(--c-rule)), linear-gradient(var(--c-rule),var(--c-rule)); background-size: 50% 1px, 50% 1px; background-position: right top 16px, left top calc(48px + var(--box-h)); background-repeat: no-repeat; }
  .org__root { position: relative; }
  .org__tree::before { content: ""; position: absolute; top: 16px; height: calc(var(--box-h) + 32px); right: 0; border-right: 1px solid var(--c-rule); }
  .org__leaders { display: contents; }
  .org__cos { order: 1; margin-top: 32px; }
  .org__pa { order: 2; margin-top: 32px; }
  .org__reports { order: 3; display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .org .card { width: 100%; }
  .org__leaders::before, .org__leaders::after, .org__pa::before, .org__reports::before, .org__reports::after, .org__reports .card::before { display: none; }
  .org__cos, .org__reports .card, .org__pa { position: relative; }
  .org__cos::before, .org__reports .card::before, .org__pa::before { content: ""; display: block; position: absolute; top: -32px; left: 50%; height: 32px; border-left: 1px solid var(--c-rule); }
  .org__reports .card:not(:first-child)::before { top: -16px; height: 16px; }
  .org__pa::before { top: -16px; height: 16px; }
  .org__pa::after { content: ""; position: absolute; top: -16px; left: 50%; right: 0; border-top: 1px solid var(--c-rule); }
  .org__tree::after { content: ""; position: absolute; top: calc(48px + var(--box-h)); height: calc(32px + var(--box-h)); left: 0; border-left: 1px solid var(--c-rule); }
  .org__reports::before { display: block; top: -16px; left: 0; right: 50%; }
}

.contact__email { display: inline-block; margin-top: 16px; font: 500 20px/1.3 var(--f-mono); text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
