/* ============================================================
   Curious — site styles
   Palette & typography match curiousholdings.com
   ============================================================ */

:root {
  --orange: #E85236;
  --orange-dark: #c93f24;
  --orange-soft: #f6c9bd;
  --ink: #2f2f2f;
  --ink-soft: #5a544c;
  --ink-mute: #8a8178;
  --paper: #fdfaf5;
  --paper-warm: #f4ecdd;
  --paper-dark: #ede2cc;
  --line: #e6dbc5;
  --line-soft: #efe7d5;

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --shadow-sm: 0 2px 8px -4px rgba(47, 47, 47, 0.08);
  --shadow: 0 18px 40px -28px rgba(47, 47, 47, 0.35);
  --shadow-orange: 0 18px 44px -20px rgba(232, 82, 54, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  font-weight: 500;
}
.skip-link:focus { left: 16px; top: 8px; outline: 2px solid var(--orange); }

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 18px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 245, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(253, 250, 245, 0.94);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand .brand-dot {
  color: var(--orange);
  margin-left: 2px;
}

.site-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  transition: color .2s;
}
.site-nav a:not(.nav-cta):hover { color: var(--orange); }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--orange);
  transition: right .3s cubic-bezier(.4,0,.2,1);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.current::after { right: 0; }
.site-nav a.current { color: var(--orange); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 8vw, 100px); }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 clamp(40px, 5vw, 64px);
  max-width: 19ch;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}
.hero-lede {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: -24px 0 48px;
  line-height: 1.5;
}

.hero-video { margin-top: 24px; }
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #3b3733 0%, #1f1b16 60%, #171310 100%);
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
  box-shadow: var(--shadow);
}
.video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -30px rgba(0,0,0,0.45);
}
.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.video-poster::after {
  /* soft vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.scribble {
  position: absolute;
  width: 58%;
  max-width: 440px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  opacity: .4;
  z-index: 1;
}
.play-btn {
  position: relative;
  width: 92px;
  height: 92px;
  transition: transform .3s ease;
  filter: drop-shadow(0 14px 32px rgba(232, 82, 54, 0.4));
  z-index: 2;
}
.video-frame:hover .play-btn { transform: scale(1.08); }
.video-meta {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  z-index: 2;
}
.video-time {
  font-family: var(--sans);
  font-size: 12px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   MISSION
   ============================================================ */
.mission {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.mission-lead h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.mission-body p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.mission-body p:last-child { margin-bottom: 0; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding: clamp(80px, 10vw, 120px) 0; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.pillar {
  border-top: 1px solid var(--ink);
  padding-top: 30px;
  position: relative;
}
.pillar-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--orange);
  margin-bottom: 22px;
  font-weight: 500;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pillar p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(80px, 10vw, 120px) 0 clamp(120px, 12vw, 160px);
  background: var(--ink);
  color: #f4ecdd;
  overflow: hidden;
}
.testimonials .eyebrow { color: var(--orange-soft); }
.testimonials h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head p {
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.testimonials .section-head p { color: rgba(244, 236, 221, 0.7); }

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}
.carousel-track {
  position: relative;
  min-height: 280px;
}
.quote {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.quote.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.quote blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  max-width: 900px;
  position: relative;
  padding-left: 44px;
}
.quote blockquote::before {
  content: "\201C"; /* smart opening quote */
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 96px;
  color: var(--orange);
  line-height: 1;
  font-style: normal;
  font-family: var(--serif);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  padding-left: 44px;
}
.quote figcaption strong { font-weight: 600; color: #fff; font-size: 16px; }
.quote figcaption span { color: rgba(244, 236, 221, 0.6); }

.carousel-btn {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .25s, transform .25s, color .25s;
  border: 1px solid rgba(255,255,255,0.1);
}
.carousel-btn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.05); }
.carousel-btn svg { width: 20px; height: 20px; }

.dots {
  position: absolute;
  bottom: -48px;
  left: 44px;
  display: flex;
  gap: 10px;
}
.dots .dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.dots .dot.active { background: var(--orange); width: 26px; }

/* ============================================================
   CRITERIA
   ============================================================ */
.criteria { padding: clamp(80px, 10vw, 120px) 0; }
.criteria-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.criteria-lead h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 22px;
}
.criteria-text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
  line-height: 1.65;
}
.criteria-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.criteria-stats li {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .3s;
}
.criteria-stats li:hover { background: var(--paper-warm); }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.015em;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================================
   WRITING
   ============================================================ */
.writing {
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 28px 0;
  margin: 48px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.marquee-track {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  animation: scroll 60s linear infinite;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .bullet { color: var(--orange); font-size: 8px; font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  min-height: 220px;
}
.article:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.article-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.article h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
  color: var(--ink);
}
.article-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s, gap .25s;
}
.article:hover .article-meta { color: var(--orange); gap: 10px; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: clamp(80px, 10vw, 120px) 0;
  text-align: center;
  position: relative;
}
.cta::before {
  /* subtle scribble in background */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'><path d='M20,100 C80,40 160,160 240,90 S380,120 380,80' fill='none' stroke='%23E85236' stroke-width='3' stroke-linecap='round' opacity='0.1'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% auto;
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 20px;
}
.cta-inner p {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 auto 36px;
  max-width: 50ch;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 12px 32px -16px rgba(232,82,54,0.6);
}
.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -16px rgba(232,82,54,0.7);
}
.btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.btn.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper-warm);
  padding: clamp(60px, 7vw, 88px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand.big {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
  display: inline-flex;
}
.footer-brand .brand-dot { color: var(--orange); }
.footer-brand p {
  color: rgba(244, 236, 221, 0.7);
  max-width: 34ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(244, 236, 221, 0.85);
  transition: color .2s;
  font-size: 15px;
}
.footer-col a:hover { color: var(--orange); }
.signup p {
  color: rgba(244, 236, 221, 0.7);
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.5;
}
.signup-form {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 4px;
  position: relative;
  transition: border-color .25s;
}
.signup-form:focus-within { border-color: var(--orange); }
.signup-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 18px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  min-width: 0;
}
.signup-form input::placeholder { color: rgba(244, 236, 221, 0.45); }
.signup-form button {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
  flex-shrink: 0;
}
.signup-form button:hover { background: var(--orange-dark); }
.signup-form .success {
  position: absolute;
  top: calc(100% + 10px);
  left: 4px;
  margin: 0;
  color: var(--orange-soft);
  font-size: 14px;
}
.signup-form.done input,
.signup-form.done button { opacity: 0.55; pointer-events: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(244, 236, 221, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  padding: clamp(56px, 7vw, 100px) 0 clamp(56px, 7vw, 80px);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--orange); font-weight: 500; }
.page-hero p.lede {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   COMPANIES
   ============================================================ */
.companies-list {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 120px);
}
.company-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  transition: background .25s;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.company-row:last-child { border-bottom: 1px solid var(--line); }
.company-row:hover { background: var(--paper-warm); }
.company-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.company-desc {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16.5px;
  max-width: 48ch;
}
.company-meta {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   APPROACH PAGE
   ============================================================ */
.process {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-steps {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 5vw, 64px) 0 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.process-steps li {
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  counter-increment: step;
}
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--orange);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.process-steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.process-steps p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 52ch;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  padding: clamp(60px, 7vw, 100px) 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-story h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.about-story-body p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.65;
}
.about-story-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--orange);
  font-weight: 500;
}
.about-story-body p:last-child { margin-bottom: 0; }

.team {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
}
.team-member {
  text-align: left;
}
.team-avatar {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--paper-dark) 0%, var(--line) 100%);
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow: hidden;
  position: relative;
}
.team-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(232,82,54,0.1), transparent 60%);
}
.team-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.team-role {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.team-bio {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   WRITING PAGE
   ============================================================ */
.writing-index {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 120px);
}
.post-list {
  display: grid;
  gap: 0;
}
.post-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: background .25s;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  color: inherit;
}
.post-item:last-child { border-bottom: 1px solid var(--line); }
.post-item:hover { background: var(--paper-warm); }
.post-date {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.post-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.post-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.values {
  padding: clamp(60px, 7vw, 100px) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 56px);
}
.value {
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 24px;
}
.value h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.value p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.roles {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--ink);
  color: #f4ecdd;
}
.roles h2 { color: #fff; }
.roles .section-head p { color: rgba(244, 236, 221, 0.7); }
.role-list {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
}
.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 32px) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: padding .25s;
}
.role:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.role-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  margin: 0;
  color: #fff;
}
.role-meta {
  font-size: 14px;
  color: rgba(244, 236, 221, 0.6);
  margin: 4px 0 0;
}
.role-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: gap .25s;
}
.role:hover .role-cta { gap: 14px; }
.roles-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 60px) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(244, 236, 221, 0.7);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease var(--d, 0ms), transform .8s ease var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px var(--gutter);
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-cta {
    margin: 12px var(--gutter);
    text-align: center;
    width: calc(100% - 2 * var(--gutter));
  }
  .nav-toggle { display: flex; }

  .mission-grid,
  .criteria-grid,
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars-grid,
  .articles-grid,
  .team-grid,
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .carousel { grid-template-columns: 1fr; }
  .carousel-btn.prev,
  .carousel-btn.next {
    position: absolute;
    bottom: -72px;
  }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { left: 64px; }
  .dots { left: 128px; bottom: -60px; }

  .company-row { grid-template-columns: 1fr; gap: 12px; }
  .post-item { grid-template-columns: 1fr; gap: 8px; padding: 24px var(--gutter); }
  .post-date { order: -1; }
  .post-tag { justify-self: start; }
  .process-steps li { grid-template-columns: 80px 1fr; }
  .process-steps li p { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .criteria-stats { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .quote blockquote { padding-left: 32px; }
  .quote blockquote::before { font-size: 72px; top: -4px; }
  .quote figcaption { padding-left: 32px; }
  .dots { left: 128px; bottom: -60px; }
  .footer-bottom { justify-content: flex-start; }
}
