/* Build Content — landing page
   Palette and type follow the brand guidelines: Paper, Ink, Cobalt (as a pen mark, never a fill
   behind a button), Rule for hairlines. Helvetica Neue for text (Inter where it is not installed,
   e.g. Windows and Android), Poppins ExtraBold for the wordmark. */

:root {
  --paper: #FCFCFA;
  --ink: #111111;
  --cobalt: #2F44E8;
  --rule: #E8E8E4;
  --body: #4A4A45;
  --label: #6E6E68;
  --placeholder: #EDEDE8;
  --sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
  --wordmark: "Poppins", Arial, sans-serif;
  --gutter: clamp(24px, 5vw, 96px);
  --section: clamp(80px, 10vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: 16px; transform: translateY(-200%); padding: 10px 16px;
  background: var(--ink); color: var(--paper); text-decoration: none; z-index: 10;
}
.skip-link:focus { transform: none; color: var(--paper); }

.wrap { max-width: 1248px; margin: 0 auto; padding-inline: var(--gutter); }

/* Type */
.label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--label); margin: 0;
}
.display { font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.display--xl { font-size: clamp(44px, 7.4vw, 108px); max-width: 1150px; }
.display--lg { font-size: clamp(34px, 4.6vw, 64px); }
.display--close { font-size: clamp(42px, 6.4vw, 96px); max-width: 1050px; }
.body { margin: 0; color: var(--body); }
.body--lead { font-size: clamp(19px, 1.6vw, 23px); max-width: 620px; }
.body--strong { color: var(--ink); }
.wordmark {
  font-family: var(--wordmark); font-weight: 800; letter-spacing: -0.045em;
  text-decoration: none; white-space: nowrap;
}

/* Hand-drawn cobalt marks */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark svg { position: absolute; pointer-events: none; overflow: visible; }
.mark--underline svg { left: -4%; width: 108%; bottom: -0.14em; height: 0.2em; }
.mark--circle svg { left: -12%; width: 124%; top: -0.28em; height: 1.5em; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 16px; font-weight: 500; letter-spacing: 0.01em;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--cobalt); color: #FFFFFF; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--cobalt); color: #FFFFFF; }

/* Media slots: swap the placeholder <span> for an <img> when footage is ready */
.media { margin: 0; background: var(--placeholder); position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .media__placeholder {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--label);
}
.media--hero { height: clamp(280px, 46vw, 640px); }
.media--detail { height: clamp(220px, 28vw, 380px); margin-top: 16px; }
.media--portrait { aspect-ratio: 4 / 5; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 28px;
}
.site-header .wordmark { font-size: 26px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav a:not(.btn) { text-decoration: none; }
@media (max-width: 640px) {
  .site-nav a:not(.btn) { display: none; }
  .site-header .wordmark { font-size: 22px; }
  .site-nav .btn--small { padding: 0 14px; font-size: 14px; }
}

/* Layout helpers */
.section { padding-block: var(--section); }
.stack { display: flex; flex-direction: column; }
.split { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.split--bottom { align-items: flex-end; }
.split__main { flex: 999 1 560px; min-width: 0; }
.split__side { flex: 1 1 360px; max-width: 460px; }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 128px); padding-bottom: 72px; gap: 32px; }
.hero-media { padding-bottom: var(--section); }

/* Approach */
.approach { border-block: 1px solid var(--rule); }
.approach .wrap { padding-block: clamp(72px, 9vw, 128px); gap: 64px; }
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px; margin: 0; padding: 0; list-style: none;
}
.pillar { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.pillar__num { margin: 0; font-size: 15px; font-weight: 500; color: var(--cobalt); }
.pillar h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.pillar p:last-child { font-size: 17px; }

/* Lists with hairlines */
.rule-list { list-style: none; margin: 0; padding: 0; font-size: 20px; letter-spacing: -0.01em; }
.rule-list li { padding-block: 18px; border-bottom: 1px solid var(--rule); }
.rule-list li:first-child { border-top: 1px solid var(--rule); }

/* Cobalt surface */
.surface-cobalt { background: var(--cobalt); color: #FFFFFF; }
.surface-cobalt .label { color: #C9CFFF; }
.surface-cobalt .rule-list { font-size: 19px; }
.surface-cobalt .rule-list li { padding-block: 16px; border-color: rgba(255, 255, 255, 0.35); }

/* Ink surface */
.surface-ink { background: var(--ink); color: var(--paper); }
.surface-ink .label { color: #A8A8A2; }
.surface-ink .body { color: #D6D6D0; }

/* About */
.about { align-items: flex-start; gap: 56px 96px; }
.about__media { flex: 1 1 340px; max-width: 500px; }
.about__copy { flex: 999 1 520px; min-width: 0; max-width: 620px; gap: 22px; }
.about__copy .display { margin-bottom: 10px; }
.about__copy .body--strong { font-size: 21px; }

/* Footer */
.site-footer { padding-block: 0 40px; }
.site-footer__inner {
  border-top: 1px solid var(--rule); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.site-footer .wordmark { font-size: 20px; }
.site-footer .label { font-size: 12px; }
