@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F3F3F0;
  --ink: #101010;
  --text: #2B2A28;
  --muted: #6E6B66;
  --rule: #CFCDC7;
  --sun: #FF5B00;
  --font: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  /* The whole page uses four sizes and nothing else:
     step-1 = the headline, step-2 = section headings and figures,
     step-3 = the closing line, and the body size for everything else. */
  --step-1: clamp(2.4rem, 6.4vw, 5.4rem);
  --step-2: clamp(1.6rem, 2.6vw, 2.1rem);
  --step-3: 1.3rem;
  --measure: 34em;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--paper); overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

h1, h2, h3 { font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 12px;
}
.wordmark { color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.wordmark:hover { color: var(--ink); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark .mark { width: 1.15em; height: 1.15em; color: var(--sun); flex: none; }
header nav a { letter-spacing: -0.01em; text-decoration: none; }
header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero: full-bleed photo with the headline on it. Without images/hero.jpg it falls back to plain text on paper. */
.hero {
  position: relative;
  margin: 28px calc(50% - 50vw) 0;
  width: 100vw;
  min-height: clamp(520px, 84vh, 860px);
  display: flex;
  align-items: flex-start;
  color: var(--text);
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero picture { display: contents; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(243,243,240,.35) 0%, rgba(243,243,240,0) 55%); pointer-events: none; }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 60px) var(--gutter) 0; }
.hero h1 { color: var(--ink); font-size: var(--step-1); line-height: 1.0; max-width: 12em; text-wrap: balance; }
.hero .lede { color: var(--ink); margin-top: clamp(20px, 2.5vw, 32px); }

.hero.no-photo { margin: 0; width: auto; min-height: 0; display: block; color: var(--text); padding-top: clamp(48px, 9vw, 120px); }
.hero.no-photo .hero-photo, .hero.no-photo::after { display: none; }
.hero.no-photo .hero-text { padding: 0; max-width: none; margin: 0; }
.hero.no-photo h1 { color: var(--ink); }
.hero.no-photo .lede { color: var(--text); }

/* The horizon: a hairline with the sun over it, positioned from the real sun in Los Angeles */
.horizon { margin-top: 6px; border-bottom: 1px solid var(--ink); }
.horizon-note {
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.horizon-note span:last-child { text-align: right; }

/* Sections */
section { padding-top: clamp(64px, 9vw, 120px); }
section h2 { font-size: var(--step-2); line-height: 1.15; margin-bottom: clamp(20px, 3vw, 32px); }

/* Figures: numbers from the company's own deck */
.record { padding-top: clamp(48px, 7vw, 96px); }
.figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.figures li { border-top: 1px solid var(--rule); padding-top: 12px; }
.figures .num { display: block; font-size: var(--step-2); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.figures .lbl { display: block; color: var(--muted); margin-top: 4px; }

/* Row lists ("What we do", "Focus"): name + one line */
.areas { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.areas li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--rule); }
.areas li:last-child { border-bottom: 1px solid var(--rule); }
.areas .name { color: var(--ink); }
.areas .desc { color: var(--muted); }

.closing { font-size: var(--step-3); line-height: 1.2; color: var(--ink); }

footer {
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .areas li { grid-template-columns: 1fr; gap: 4px; }
  .horizon-note span:last-child { text-align: left; }
}

/* Privacy page: one readable column; its headings reuse the page's own size steps */
.doc { padding-top: clamp(48px, 7vw, 96px); max-width: var(--measure); }
.doc h1 { font-size: var(--step-2); line-height: 1.15; margin-bottom: clamp(12px, 2vw, 20px); }
.doc h2 { font-size: var(--step-3); line-height: 1.2; margin: clamp(28px, 4vw, 44px) 0 10px; }
.doc .updated { color: var(--muted); }

