/* Teller — staging homepage (light hero)
   Tokens pulled from the Figma frame "Home — Editorial · Teller (Light hero alt)" */
:root {
  --ink: #12100E;
  --cream: #F6F3EE;
  --line: #DED7CB;
  --gold: #C9A87C;
  --gold-deep: #8A6A3F;
  --taupe: #9A9086;
  --body: #6E6559;
  --body-on-dark: #B3AAA0;
  --logo-taupe: #988F87;

  --serif: "Libre Bodoni", "Bodoni Moda", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.45vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, blockquote { margin: 0; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.eyebrow {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--body);
}
.link {
  font: 500 14px/1.3 var(--sans);
  color: var(--gold-deep);
  transition: opacity .2s;
}
.link:hover { opacity: .7; }

/* Hybrid headline: Public Sans + Libre Bodoni italic accent */
.hybrid { font-family: var(--sans); letter-spacing: -.02em; }
.hybrid em { font-family: var(--serif); font-style: italic; letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo svg { height: 28px; width: auto; color: var(--ink); display: block; }
.nav { display: flex; gap: 40px; }
.nav a {
  font: 500 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--body);
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }

/* ---------- Hero (light) ---------- */
.hero .wrap { padding-right: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 48px;
}
.hero-copy { padding: 107px 0 80px; }
.hero-title {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: 1.1;
  letter-spacing: -.005em;
}
.hero-title em { font-style: italic; color: var(--gold-deep); }
.hero-body {
  margin-top: 52px;
  max-width: 430px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--cream);
  font: 500 14px/20px var(--sans);
  letter-spacing: .02em;
  border-radius: 2px;
  transition: background .2s;
}
.btn:hover { background: #2a2521; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--taupe); }
.hero-media { margin: 0; padding-bottom: 60px; }
.hero-media img { width: 100%; aspect-ratio: 520 / 700; object-fit: cover; }
.hero-media figcaption {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Featured (dark) ---------- */
.featured { background: var(--ink); color: #fff; padding: 26px 0 56px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.featured .eyebrow { color: var(--taupe); }
.featured h2 { font-size: 30px; line-height: 1.25; color: #fff; }
.featured h2 em { color: var(--gold); }

.tiles {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(0,656fr) minmax(0,314fr) minmax(0,314fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  aspect-ratio: 1312 / 880;
}
.tile {
  position: relative; display: block; overflow: hidden; background: #1d1a17; min-width: 0;
}
.tile--lg { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to bottom, rgba(18,16,14,0) 0%, rgba(18,16,14,.55) 55%, rgba(18,16,14,.92) 100%);
  pointer-events: none;
}
.tile:hover img { transform: scale(1.03); }
.tile-meta {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.tile--lg .tile-meta { left: 24px; bottom: 20px; }
.tile-eyebrow { font-size: 10px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.tile-name { color: #fff; line-height: 1.1; }

/* Sub-brand wordmark fonts (kept from each brand) */
.f-stacklab-eb { font-family: "Martian Mono", monospace; font-weight: 400; letter-spacing: .08em; }
.f-stacklab { font: 800 30px/1.2 "Martian Mono", monospace; letter-spacing: -.01em; }
.f-hanken { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; }
.f-archivo { font-family: "Archivo", sans-serif; font-weight: 700; }
.f-mindpump { font: 400 34px/1.2 "Anton", sans-serif; }
.f-richroll { font: 400 40px/1.15 "Sorts Mill Goudy", serif; }
.f-max { font: 400 36px/1.15 "Gloock", serif; }
.f-womaness { font: 400 40px/1.15 "Fraunces", serif; }

/* ---------- Directory (light) ---------- */
.directory { padding: 48px 0 72px; }
.directory .meta { font-size: 13px; color: var(--taupe); }
.search { display: block; margin-top: 24px; border-bottom: 1px solid var(--ink); }
.search input {
  width: 100%; border: 0; background: transparent; outline: none;
  padding: 8px 0 12px; font: 400 17px/1.3 var(--sans); color: var(--ink);
}
.search input::placeholder { color: var(--taupe); }
.dir-list {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; row-gap: 24px;
  grid-auto-flow: column; grid-template-rows: repeat(7, auto);
}
.dir-list li { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.dir-list a { font: 500 15px/20px var(--sans); color: var(--ink); white-space: nowrap; }
.dir-list a:hover { color: var(--gold-deep); }
.dir-list .cat { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-empty { margin-top: 32px; color: var(--taupe); }
.dir-more { margin-top: 52px; display: flex; align-items: center; gap: 24px; }
.more { font: 400 26px/1.2 var(--sans); letter-spacing: -.02em; }

/* ---------- Story (dark) ---------- */
.story { background: var(--ink); color: #fff; padding: 64px 0; }
.story-grid { display: grid; grid-template-columns: 440px minmax(0, 600px); gap: 96px; align-items: start; }
.story-img { width: 100%; aspect-ratio: 440 / 512; object-fit: cover; }
.story-copy { padding-top: 16px; }
.story .eyebrow { color: var(--taupe); }
.quote { margin-top: 28px; font-size: 42px; line-height: 1.18; }
.quote em { color: var(--gold); padding-left: .12em; }
.story-body { margin-top: 36px; font-size: 16px; line-height: 1.7; color: var(--body-on-dark); }
.attribution { margin-top: 16px; font: 500 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.story-links { margin-top: 36px; display: flex; gap: 40px; flex-wrap: wrap; }
.story-links a { font: 500 14px/1.3 var(--sans); color: var(--gold); }
.story-links a:hover { opacity: .75; }

/* ---------- Footer (light) ---------- */
.site-footer { padding: 90px 0 56px; }
.site-footer .wrap > * { position: relative; }
.footer-top {
  border-top: 1px solid var(--line); padding-top: 60px;
  display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; flex-wrap: wrap;
}
.footer-logo svg { height: 120px; width: auto; color: var(--logo-taupe); display: block; max-width: 100%; }
.disclaimer { max-width: 360px; font-size: 12px; line-height: 1.6; color: var(--taupe); }
.copyright { margin-top: 64px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dir-list { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; grid-template-rows: none; }
  .story-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}
@media (max-width: 900px) {
  .hero .wrap { padding-right: var(--gutter); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 56px 0 40px; }
  .hero-title { margin-top: 24px; }
  .hero-body { margin-top: 28px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .tile { aspect-ratio: 314 / 434; }
  .tile--lg { grid-column: span 2; grid-row: auto; aspect-ratio: 656 / 700; }
  .dir-list { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 440px; }
  .footer-logo svg { height: 72px; }
  .section-head h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .nav { gap: 20px; }
  .nav a:not(:last-child) { display: none; }
  .logo svg { height: 24px; }
  .tiles { grid-template-columns: 1fr; }
  .tile--lg { grid-column: auto; aspect-ratio: 314 / 434; }
  .tile { aspect-ratio: 4 / 5; }
  .dir-list { grid-template-columns: 1fr; }
  .quote { font-size: 32px; }
  .f-richroll, .f-womaness { font-size: 34px; }
}
