@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Variable.woff2') format('woff2-variations'),
       url('/fonts/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #FFFFFF;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-tertiary: #888888;
  --accent: #FF5A1F;
  --border-subtle: #EEEEEE;
  --hero-bg: #0A0A0A;
  --hero-text: #FFFFFF;
  --hero-subhead: #D4D4D4;
  --container-max: 1240px;
  --section-pad: 160px;
  --header-h: 106px;
  --font: 'Switzer', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── HEADER ── */
section[id] {
  scroll-margin-top: var(--header-h);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease, -webkit-backdrop-filter 200ms ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom-color: var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.header-brand {
  display: inline-flex;
  align-items: center;
}
.header-brand img {
  width: 156px;
  height: auto;
  display: block;
}
.nav-desktop {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--hero-text);
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease;
}
.nav-desktop a:hover {
  color: var(--accent);
}
.nav-desktop a.is-active {
  color: var(--accent);
  cursor: default;
}
.site-header.scrolled .nav-desktop a {
  color: var(--text-primary);
}
.site-header.scrolled .nav-desktop a:hover {
  color: var(--accent);
}
.site-header.scrolled .nav-desktop a.is-active {
  color: var(--accent);
}

/* Mobile nav */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hero-text);
  transition: transform 180ms ease, opacity 180ms ease, background-color 200ms ease;
}
.site-header.scrolled .hamburger span {
  background: var(--text-primary);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 48px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-nav a.is-active {
  color: var(--accent);
}

/* ── SECTIONS ── */
section {
  padding: var(--section-pad) 0;
}
section + section { padding-top: 0; }

.pillar-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.section-heading {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 22ch;
}

.lead {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
}

p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }

/* ── HERO ── */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 48px;
  align-items: end;
  min-height: clamp(680px, 92vh, 880px);
  padding-top: 180px;
  padding-bottom: 0;
}
.hero-copy {
  align-self: center;
  padding-bottom: 96px;
  max-width: 560px;
}
.hero-headline {
  font-size: 80px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin-bottom: 32px;
}
.hero-headline .hl-found {
  color: var(--accent);
}
.hero-subhead {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--hero-subhead);
  max-width: 40ch;
  margin-bottom: 44px;
}
.cta-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.cta-text .arrow {
  transition: transform 180ms ease, color 180ms ease;
  color: var(--text-primary);
}
.cta-text:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cta-text:hover .arrow {
  color: var(--accent);
  transform: translateX(4px);
}
.hero .cta-text {
  color: var(--hero-text);
  border-bottom-color: transparent;
}
.hero .cta-text .arrow {
  color: var(--accent);
}
.hero .cta-text:hover {
  color: var(--hero-text);
  border-bottom-color: var(--accent);
}
.hero .cta-text:hover .arrow {
  color: var(--accent);
  transform: translateX(4px);
}
.hero-portrait {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  position: relative;
}
.hero-portrait img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Hero motion (used by /signal — same grid slot as .hero-portrait) */
.hero-motion {
  align-self: center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-motion .motion-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
}
.hero-motion video,
.hero-motion img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── PRINCIPLES ── */
.principles-grid {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.principle {
  max-width: 76ch;
}
.principle-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.principle-body {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
}
.principle-number {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* Larger numeric variant for /signal deliverables — keeps Principles look intact */
.principle-number.is-large {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

/* ── SERVICES ── */
.services-grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.service-card {
  padding: 48px 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 200ms ease;
}
.service-card:hover {
  border-color: var(--text-primary);
}
.service-card .service-path {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  text-transform: lowercase;
}
.service-card h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  font-style: italic;
  font-weight: 500;
}
.service-card .service-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex-grow: 1;
}
.service-card .service-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}
.service-card:hover .service-link {
  color: var(--accent);
}
.service-card .service-link .arrow {
  transition: transform 180ms ease;
}
.service-card:hover .service-link .arrow {
  transform: translateX(4px);
}

/* ── ABOUT ── */
.about-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
.about-body {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.about-body p { margin-bottom: 24px; }
.about-body p:first-child {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.about-body a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 180ms ease, color 180ms ease;
}
.about-body a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.about-portrait {
  /* Intentionally empty at launch — whitespace, not a placeholder */
}

/* ── RECENT THINKING ── */
.recent-grid {
  margin-top: 64px;
}
.essay {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.essay-image {
  display: block;
  overflow: hidden;
}
.essay-image img {
  display: block;
  width: 100%;
  height: auto;
}
.essay-content {
  min-width: 0;
}
.essay-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin-bottom: 16px;
  transition: color 180ms ease;
}
a.essay-link:hover .essay-title {
  color: var(--accent);
}
.essay-summary {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 60ch;
}
.essay-meta {
  font-size: 14px;
  color: var(--text-tertiary);
}
.recent-tail {
  margin-top: 48px;
}
.external-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color 180ms ease, border-color 180ms ease;
}
.external-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.external-link .arrow {
  transition: transform 180ms ease;
}
.external-link:hover .arrow {
  transform: translateX(3px);
}

/* ── CONTACT ── */
.contact-paths {
  margin-top: 64px;
  max-width: calc((var(--container-max) - 96px) * 7 / 12);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.contact-path .contact-link {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  transition: color 180ms ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}
.contact-path .contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.contact-path .contact-link .arrow {
  font-size: 36px;
  transition: transform 180ms ease;
}
.contact-path .contact-link:hover .arrow {
  transform: translateX(6px);
}
.contact-meta {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ── FOOTER ── */
.site-footer {
  padding: 80px 0 64px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--accent); }
.footer-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  font-size: 14px;
}
.footer-meta a:hover { color: var(--accent); }

/* ── TABLET ── */
@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .container, .header-inner { padding-left: 48px; padding-right: 48px; }
  .hero-grid {
    padding-top: 140px;
    min-height: clamp(620px, 80vh, 780px);
    gap: 32px;
  }
  .hero-copy { padding-bottom: 72px; }
  .hero-headline { font-size: 64px; }
  .hero-subhead { font-size: 19px; }
  .hero-portrait img { max-width: 460px; }
  .hero-motion .motion-frame { max-width: 460px; }
  .section-heading { font-size: 44px; }
  .principle-title { font-size: 28px; }
  .principle-number.is-large { font-size: 40px; }
  .services-grid { gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .essay { gap: 36px; }
  .contact-path .contact-link { font-size: 32px; }
  .contact-path .contact-link .arrow { font-size: 28px; }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  :root { --section-pad: 64px; }
  .container, .header-inner { padding-left: 24px; padding-right: 24px; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { padding: 24px; }
  .header-brand img { width: 132px; }
  .header-inner { padding: 12px 24px; }

  .hero { padding: 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 0;
    min-height: 0;
    align-items: stretch;
  }
  .hero-copy {
    align-self: auto;
    padding-bottom: 16px;
    max-width: 100%;
  }
  .hero-headline { font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 24px; }
  .hero-subhead { font-size: 18px; margin-bottom: 32px; max-width: 100%; }
  .hero-portrait {
    justify-content: center;
    margin: 0 -24px;
  }
  .hero-portrait img { max-width: 100%; width: 100%; }
  .hero-motion {
    align-self: auto;
    justify-content: center;
    padding-bottom: 48px;
  }
  .hero-motion .motion-frame { max-width: 100%; width: 100%; }

  .section-heading { font-size: 36px; }
  .principle-title { font-size: 24px; }
  .principle-body { font-size: 17px; }
  .principle-number.is-large { font-size: 36px; }
  .principles-grid { gap: 64px; margin-top: 64px; }

  .services-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
  .service-card { padding: 32px 28px; }
  .service-card h3 { font-size: 22px; }

  .about-body p:first-child { font-size: 22px; }
  .about-body { font-size: 17px; }
  .about-grid { margin-top: 48px; }

  .essay {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .essay-title { font-size: 24px; }
  .essay-summary { font-size: 17px; }
  .recent-grid { margin-top: 48px; }

  .contact-paths { margin-top: 48px; gap: 36px; }
  .contact-path .contact-link { font-size: 26px; }
  .contact-path .contact-link .arrow { font-size: 24px; }

  .footer-nav { gap: 20px; }
  .footer-meta { flex-direction: column; gap: 8px; }
}
