/* ============================================================
   CORY WOOTEN — DESIGN SYSTEM
   Premium Editorial / Institutional
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Colors — Light Mode */
  --bg:           #F5F5F5;
  --bg-alt:       #EFEFEF;
  --surface:      #FFFFFF;
  --ink:          #0B0B0B;
  --ink-muted:    #4A4A4A;
  --ink-faint:    #9A9A9A;
  --rule:         #D8D8D8;
  --accent:       #6B6B6B;
  --accent-light: #B0B0B0;

  /* Typography */
  --serif:   'Cormorant Garamond', 'Georgia', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   7rem;
  --sp-2xl:  12rem;

  /* Layout */
  --max-w:      1200px;
  --col-text:   680px;
  --nav-h:      72px;

  /* Transitions */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:     0.2s;
  --t-med:      0.45s;
  --t-slow:     0.7s;
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #0B0B0B;
    --bg-alt:       #111111;
    --surface:      #161616;
    --ink:          #F0F0F0;
    --ink-muted:    #A8A8A8;
    --ink-faint:    #5A5A5A;
    --rule:         #2A2A2A;
    --accent:       #8C8C8C;
    --accent-light: #4A4A4A;
  }
}

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

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

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-lg);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease),
              background-color var(--t-med) var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-color-scheme: dark) {
  .nav.scrolled {
    background: rgba(11, 11, 11, 0.94);
  }
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  flex: 1;
  transition: color var(--t-fast);
}

.nav__logo:hover { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  list-style: none;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color var(--t-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--t-med) var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--ink); }
.nav__links a.active::after { width: 100%; background: var(--ink); }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all var(--t-med) var(--ease);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

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

.col-text {
  max-width: var(--col-text);
}

.section {
  padding: var(--sp-xl) 0;
}

.section--lg {
  padding: var(--sp-2xl) 0;
}

.rule {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin: var(--sp-md) 0;
}

.rule--wide {
  width: 100%;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: var(--sp-md);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.display--xl {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.display--lg {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.display--md {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.display--sm {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.body-lg {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-muted);
  font-weight: 300;
}

.body-md {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-muted);
  font-weight: 300;
}

.body-sm {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-faint);
}

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--sp-lg) var(--sp-xl);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%) contrast(1.08) brightness(0.92);
  opacity: 0.22;
  transition: opacity 1.2s var(--ease);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    var(--bg) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-md);
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: var(--sp-md);
}

.hero__sub {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-xs);
}

.hero__descriptor {
  font-size: 0.9375rem;
  color: var(--ink-faint);
  font-weight: 300;
  max-width: 460px;
  line-height: 1.7;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-md);
  right: var(--sp-lg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--ink);
  transform-origin: top;
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* ============================================================
   HOME — INTRO / POSITION
   ============================================================ */

.intro {
  padding: var(--sp-xl) var(--sp-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
}

.intro__left {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.intro__number {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

.intro__right p {
  font-size: 1.25rem;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

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

/* ============================================================
   HOME — NARRATIVE / PATH
   ============================================================ */

.narrative {
  padding: var(--sp-xl) var(--sp-lg);
  border-top: 1px solid var(--rule);
}

.narrative__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.narrative__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.narrative__body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
}

.narrative__body-left {
  /* empty intentional — sidebar positioning */
}

.narrative__text {
  max-width: 640px;
}

.narrative__text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 1.75em;
  font-weight: 300;
}

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

.narrative__text strong {
  font-weight: 500;
  color: var(--ink);
}

.narrative__pull {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
  border-left: 2px solid var(--ink);
  padding-left: var(--sp-md);
  margin: var(--sp-lg) 0;
}

/* ============================================================
   NOW / NEXT SECTION — Redesigned
   ============================================================ */

.now-next-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-xl) 0;
}

.now-next-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ── Header row ── */
.now-next-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: baseline;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--sp-xl);
}

.now-next-header__left {}

.now-next-intro {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-faint);
  font-weight: 300;
  max-width: 480px;
  margin: 0;
}

/* ── Groups ── */
.now-next-groups {
  display: flex;
  flex-direction: column;
}

.now-next-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--rule);
}

.now-next-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── Label column ── */
.now-next-group__label-col {
  padding-top: 0.25em;
}

.now-next-group__label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
}

/* ── Line items ── */
.now-next-group__lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.now-next-line {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 0.55em 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  transition: color var(--t-fast);
}

.now-next-line:first-child {
  padding-top: 0;
}

.now-next-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* NOT DOING — intentionally quieter, struck sense of withdrawal */
.now-next-group--not .now-next-group__label {
  color: var(--accent-light);
}

.now-next-group--not .now-next-line {
  color: var(--ink-faint);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .now-next-header {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .now-next-group {
    grid-template-columns: 80px 1fr;
    gap: var(--sp-md);
  }
}

@media (max-width: 560px) {
  .now-next-group {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .now-next-group__label {
    margin-bottom: 0.5rem;
  }

  .now-next-line {
    font-size: 1.3rem;
  }
}

/* ============================================================
   HOME — PILLARS
   ============================================================ */

.pillars {
  padding: var(--sp-xl) var(--sp-lg);
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
}

.pillars__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: var(--sp-xl);
  border: 1px solid var(--rule);
}

.pillar {
  background: var(--bg-alt);
  padding: var(--sp-lg) var(--sp-md);
  transition: background var(--t-med) var(--ease);
}

.pillar:hover { background: var(--surface); }

.pillar__number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--rule);
  line-height: 1;
  margin-bottom: var(--sp-md);
}

.pillar__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.pillar__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-faint);
  font-weight: 300;
}

/* ============================================================
   PAGE HEADER (shared across pages)
   ============================================================ */

.page-header {
  padding: calc(var(--nav-h) + var(--sp-xl)) var(--sp-lg) var(--sp-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.page-header__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 700px;
  margin-bottom: var(--sp-md);
}

.page-header__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 560px;
  font-weight: 300;
}

/* ============================================================
   PERSPECTIVE PAGE
   ============================================================ */

.perspectives {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
}

.perspective-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--rule);
  cursor: default;
  transition: all var(--t-med) var(--ease);
}

.perspective-entry:first-child { padding-top: 0; }

.perspective-entry__meta {
  padding-top: 0.3em;
}

.perspective-entry__num {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--ink-faint);
  display: block;
  margin-bottom: var(--sp-xs);
}

.perspective-entry__tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.perspective-entry__body {}

.perspective-entry__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
  transition: color var(--t-fast);
}

.perspective-entry:hover .perspective-entry__title {
  color: var(--accent);
}

.perspective-entry__excerpt {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: var(--sp-sm);
}

.perspective-entry__read {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), gap var(--t-fast);
}

.perspective-entry:hover .perspective-entry__read {
  color: var(--ink);
  gap: 14px;
}

.perspective-entry__read::after {
  content: '→';
  font-size: 0.85rem;
}

/* Full essay overlay */
.essay-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease);
}

.essay-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.essay-overlay__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
}

.essay-close {
  position: fixed;
  top: var(--sp-md);
  right: var(--sp-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  transition: color var(--t-fast);
}

.essay-close:hover { color: var(--ink); }

.essay-close::before {
  content: '←';
  font-size: 0.85rem;
}

.essay__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-md);
  display: block;
}

.essay__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.essay__rule {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin-bottom: var(--sp-lg);
}

.essay__body p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink-muted);
  margin-bottom: 1.75em;
  font-weight: 300;
}

.essay__body strong {
  font-weight: 500;
  color: var(--ink);
}

.essay__body blockquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: var(--sp-md);
  margin: var(--sp-lg) 0;
}

/* ============================================================
   RECORDED PERSPECTIVE PAGE
   ============================================================ */

.recorded-list {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
}

.video-entry {
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--rule);
}

.video-entry:first-child { padding-top: 0; }
.video-entry:last-child { border-bottom: none; }

.video-entry__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.4em;
}

.video-entry__meta {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-md);
}

.video-entry__framing {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 580px;
  margin-bottom: var(--sp-md);
}

.video-entry__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.video-entry__embed iframe,
.video-entry__embed video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  gap: var(--sp-sm);
  cursor: pointer;
  transition: background var(--t-med) var(--ease);
}

.video-placeholder:hover { background: var(--surface); }

.video-placeholder__icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-fast);
}

.video-placeholder:hover .video-placeholder__icon {
  border-color: var(--ink-muted);
}

.video-placeholder__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--ink-muted);
  margin-left: 3px;
}

.video-placeholder__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-wrap {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-xl)) var(--sp-lg) var(--sp-xl);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact__headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.contact__sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 420px;
}

.contact__details {
  padding-top: 0.5rem;
}

.contact__item {
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--rule);
}

.contact__item:last-child { border-bottom: 1px solid var(--rule); }

.contact__item-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4em;
  display: block;
}

.contact__item-value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 300;
  transition: color var(--t-fast);
}

.contact__item a.contact__item-value:hover {
  color: var(--accent);
}

.contact__note {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--rule);
  grid-column: 1 / -1;
}

.contact__note p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-faint);
  max-width: 560px;
  font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: var(--sp-lg) var(--sp-lg);
  border-top: 1px solid var(--rule);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__name {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.footer__nav {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
}

.footer__nav a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color var(--t-fast);
}

.footer__nav a:hover { color: var(--ink); }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */

.page-fade {
  animation: pageFadeIn 0.6s var(--ease) both;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.mobile-menu__links a {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              color var(--t-fast);
}

.mobile-menu.open .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu__links li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu__links li:nth-child(2) a { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__links li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__links li:nth-child(4) a { transition-delay: 0.2s; }

.mobile-menu__links a:hover { color: var(--accent); }

/* Hamburger → X */
.nav__toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  :root {
    --sp-xl:  5rem;
    --sp-2xl: 8rem;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .intro__left {
    position: static;
  }

  .narrative__header,
  .narrative__body {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .pillars__grid {
    grid-template-columns: 1fr;
  }

  /* Portrait section responsive */
  .portrait-grid {
    grid-template-columns: 1fr !important;
  }

  .portrait-grid > div:last-child {
    max-height: 420px !important;
  }

  .perspective-entry {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }

  .footer__nav { display: none; }
}

@media (max-width: 700px) {
  :root {
    --sp-lg: 1.5rem;
    --sp-xl: 4rem;
  }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero {
    padding-bottom: var(--sp-xl);
  }

  .hero__headline {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .page-header {
    padding-top: calc(var(--nav-h) + var(--sp-lg));
  }

  .essay-overlay__inner {
    padding: var(--sp-xl) var(--sp-lg);
  }
}

@media (max-width: 480px) {
  .recorded-list {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .perspectives {
    padding: var(--sp-lg) var(--sp-sm);
  }
}

/* ============================================================
   SELECTION & FOCUS
   ============================================================ */

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 1px solid var(--ink-muted);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
