:root {
  --background: #fff;
  --foreground: #1d1d1b;
  --muted: #77746c;
  --line: #d8d5cd;
  --accent: #c95f42;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2 { font-weight: 400; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }

.site-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 32px 36px;
}

/* Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  margin: -30px -32px 0;
  padding: 30px 32px 0;
  --hero-title: #fff;
}

.hero-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero > .site-header,
.hero > .intro { position: relative; z-index: 2; }

/* Header / footer ---------------------------------------------------- */

.site-header,
.site-footer,
.section-heading,
.project,
.now-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { font-size: 13px; letter-spacing: -0.01em; }

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 21px;
  line-height: 1;
}

.header-link,
.site-footer,
.project-meta { color: var(--muted); }

.hero .header-link,
.hero .wordmark { color: var(--hero-title); }

.header-link,
.site-footer a,
.back-link,
.detail-footer-links a { transition: color 0.16s; }

.header-link:hover,
.site-footer a:hover,
.back-link:hover,
.detail-footer-links a:hover { color: var(--accent); }

.external-arrow { vertical-align: -2px; }

.site-footer {
  justify-content: flex-end;
  margin-top: 132px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer nav { display: flex; gap: 20px; }

/* Intro -------------------------------------------------------------- */

.intro {
  position: relative;
  max-width: 690px;
  padding: 148px 0 132px;
}

.hero .intro { max-width: none; }

.hero .intro h1 {
  margin: 0 auto 28px;
  color: var(--hero-title);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

/* Small caps labels --------------------------------------------------- */

.eyebrow,
.project-meta,
.now-date,
.detail-kicker,
.detail-stats,
.detail-sections h2 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 24px; color: var(--accent); }

/* Sections / project list --------------------------------------------- */

.section-block { padding: 35px 0 0; border-top: 1px solid var(--line); }

.section-heading { margin-bottom: 26px; }
.section-heading h2 { font-size: 15px; }

.project-list { border-top: 1px solid var(--line); }

.project {
  align-items: flex-start;
  gap: 24px;
  padding: 21px 0 20px;
  border-bottom: 1px solid var(--line);
  transition: color 0.16s, padding 0.16s;
}

.project:hover { color: var(--accent); padding-left: 8px; }

.project-main { display: grid; gap: 7px; }
.project-title { font-size: 18px; letter-spacing: -0.02em; }
.project-description { color: var(--muted); font-size: 13px; }
.project-detail { margin-top: 3px; color: var(--accent); font-size: 11px; letter-spacing: 0.02em; }

.project-meta { flex-shrink: 0; display: flex; align-items: center; gap: 22px; }

/* Now block ----------------------------------------------------------- */

.now-block { margin-top: 112px; }
.now-grid { align-items: flex-end; gap: 24px; }
.now-link { display: block; transition: color 0.16s; }
.now-link:hover { color: var(--accent); }
.now-link p { font-size: 22px; letter-spacing: -0.03em; }
.now-date { margin-bottom: 3px; white-space: nowrap; color: var(--muted); }

/* Detail pages -------------------------------------------------------- */

.detail-page { max-width: 760px; margin: 0 auto; padding: 112px 0 96px; }

.detail-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.detail-page h1 {
  margin: 42px 0 28px;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 68px);
}

.detail-lead {
  max-width: 620px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
}

.detail-sections section {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.detail-sections h2 { color: var(--muted); }
.detail-sections section > p { grid-column: 2; }

.detail-sections p {
  max-width: 570px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.detail-sections p:last-child { margin-bottom: 0; }

.detail-footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.detail-footer-links a { color: var(--muted); font-size: 13px; }

.back-link { display: inline-block; margin-top: 56px; color: var(--muted); font-size: 13px; }

/* Reel ---------------------------------------------------------------- */

.pyra-reel { margin: 56px 0 8px; }

.pyra-reel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pyra-reel-header h2 { font-size: 15px; }

.pyra-reel-header span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pyra-reel-track { overflow-x: auto; margin: 0 -32px; padding: 0 32px 8px; }
.pyra-reel-group { display: flex; gap: 14px; }

.pyra-video-card {
  flex: 0 0 auto;
  width: 168px;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.16s;
}

.pyra-video-card:hover { color: var(--accent); }

.pyra-video-card .still {
  display: block;
  height: 288px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(200deg, #f4f2ee, #e4e0d7 60%, #d3cec3);
}

/* Coming soon ---------------------------------------------------------- */

.coming-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  min-height: calc(100vh - 110px);
  padding: 72px 0 120px;
}

.coming-soon h1 { font-size: clamp(42px, 6vw, 68px); }
.coming-soon .intro-copy { margin-top: 24px; max-width: 640px; font-size: 16px; line-height: 1.55; }
.coming-soon .back-link { margin-top: 20px; }

/* Mobile ---------------------------------------------------------------- */

@media (max-width: 700px) {
  .site-shell { padding: 24px 20px 28px; }
  .hero { margin: -24px -20px 0; padding: 24px 20px 0; }
  .intro { padding: 112px 0 96px; }
  .hero .intro h1 { font-size: clamp(42px, 14vw, 64px); }
  .detail-page { padding: 84px 0 72px; }
  .detail-kicker { gap: 20px; }
  .detail-page h1 { margin-top: 32px; font-size: clamp(42px, 13vw, 62px); }
  .detail-lead { font-size: 18px; }
  .detail-sections section { display: block; }
  .detail-sections h2 { margin-bottom: 18px; }
  .project { gap: 12px; }
  .project-description { line-height: 1.4; }
  .now-block { margin-top: 88px; }
  .now-grid { display: grid; align-items: flex-start; gap: 22px; }
  .site-footer { display: grid; align-items: flex-start; gap: 22px; margin-top: 96px; }
  .pyra-reel-track { margin: 0 -20px; padding: 0 20px 8px; }
}
