/* =========================================================
   Adarsh Pati Tiwari — Redesign
   Editorial Trust & Authority | Ink + Saffron + Cream
   ========================================================= */

:root {
  /* Palette */
  --ink-900: #0B1220;
  --ink-800: #101A30;
  --ink-700: #1B2540;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;

  --cream-50: #FBF8F2;
  --cream-100: #F5EFE3;
  --cream-200: #EAE1CC;

  --paper: #FFFFFF;
  --line: #E7E0CF;
  --line-strong: #C9BFA6;

  --saffron-50: #FFF3E5;
  --saffron-100: #FED9B3;
  --saffron-300: #FBA957;
  --saffron-500: #F97D09;
  --saffron-600: #D86700;
  --saffron-700: #A85100;

  --forest-500: #278D27;
  --forest-600: #1F721F;

  /* Type */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --gap: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(5rem, 9vw, 8rem);
  --max-w: 1240px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--saffron-500); color: var(--paper); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream-100); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Tricolor ---------- */
.tricolor {
  height: 3px;
  background:
    linear-gradient(90deg,
      var(--saffron-500) 0%, var(--saffron-500) 33.33%,
      var(--paper) 33.33%, var(--paper) 66.66%,
      var(--forest-500) 66.66%, var(--forest-500) 100%);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Eyebrow / Section tag ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-700);
  font-weight: 500;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron-500);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18);
}

.section-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-700);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 0.9rem;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--saffron-600);
}
.section-kicker {
  color: var(--ink-500);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest-500);
  color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(39, 141, 39, 0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.btn--primary:hover {
  background: var(--forest-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(31, 114, 31, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
  transform: translateY(-2px);
}
.btn--full { width: 100%; padding: 1.05rem 1.4rem; }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.iconbtn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.iconbtn--ghost { background: var(--cream-100); color: var(--ink-800); }
.iconbtn--ghost:hover { background: var(--cream-200); transform: scale(1.08); }
.iconbtn--solid { background: var(--forest-500); color: var(--paper); }
.iconbtn--solid:hover { background: var(--forest-600); transform: scale(1.08); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 18px; left: 16px; right: 16px;
  z-index: 60;
  background: rgba(251, 248, 242, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 0.75rem 1.1rem;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
  border-color: rgba(201, 191, 166, 0.6);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--ink-900);
}
.nav__brand-dot { color: var(--saffron-500); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__links a:not(.nav__cta):hover { color: var(--saffron-600); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--saffron-500);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  background: var(--forest-500);
  color: var(--paper) !important;
  padding: 0.55rem 1rem;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--forest-600); transform: translateY(-1px); }

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

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
[hidden] { display: none !important; }
.nav__mobile a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-sm);
}
.nav__mobile a:hover { background: var(--cream-100); color: var(--saffron-700); }
.nav__mobile .nav__cta { text-align: center; margin-top: 0.5rem; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mobile:not([hidden]) { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(8rem, 16vh, 10rem) 0 var(--section-y);
  background: var(--cream-50);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(217, 119, 6, 0.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(47, 107, 66, 0.10), transparent 45%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 80px 80px, 80px 80px;
  opacity: 0.55;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__title {
  font-family: var(--f-serif);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin: 1.25rem 0 1.5rem;
}
.hero__name { display: block; }
.hero__name--accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--saffron-600) 0%, var(--saffron-500) 50%, var(--forest-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }

.hero__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 32rem;
}
.hero__meta dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding-top: 3px;
}
.hero__meta dd {
  font-size: 0.9rem;
  color: var(--ink-800);
  font-weight: 500;
}

/* Hero collage */
.hero__right { position: relative; }
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  aspect-ratio: 9 / 10;
}
.collage__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink-900);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 30px 60px -25px rgba(11, 18, 32, 0.45);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.collage__item--main { grid-row: span 2; }
.collage__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  z-index: 3;
  pointer-events: none;
}
.collage__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 1s var(--ease), filter 0.5s var(--ease);
}
.collage__item:hover { transform: translateY(-6px); }
.collage__item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.collage__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.82), rgba(11, 18, 32, 0) 90%);
  z-index: 2;
}
.collage__tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-100);
  font-weight: 500;
}

/* Float variants */
.collage__item--main { animation: float-gentle 7s var(--ease) infinite; }
.collage__item--top { animation: float-gentle 7s var(--ease) infinite 2s; }
.collage__item--bottom { animation: float-gentle 7s var(--ease) infinite 4s; }
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .collage__item, .collage__item--top, .collage__item--bottom { animation: none; }
}

/* Hero stats */
.hero__stats {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.stat {
  padding: 0 1.5rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat:nth-child(1) .stat__num { color: var(--saffron-500); }
.stat:nth-child(2) .stat__num { color: var(--forest-500); }
.stat:nth-child(3) .stat__num { color: var(--saffron-500); }
.stat:nth-child(4) .stat__num { color: var(--forest-500); }
.stat__num--text { font-style: italic; font-weight: 500; }
.stat__plus { color: var(--forest-500); }
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
}

@media (max-width: 960px) {
  .hero__container { grid-template-columns: 1fr; }
  .hero__right { order: -1; }
  .collage { aspect-ratio: 5 / 4; max-width: 560px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .hero__stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .stat:last-child { border-bottom: 0; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--paper);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about__aside { position: sticky; top: 120px; }
.about__lede {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-900);
  margin-bottom: 1.25rem;
}
.about__para { color: var(--ink-500); margin-bottom: 2.5rem; line-height: 1.75; }

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.audience__card {
  padding: 1.75rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.audience__card:hover {
  border-color: var(--saffron-300);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(11, 18, 32, 0.2);
}
.audience__num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-700);
  margin-bottom: 0.9rem;
}
.audience__card:nth-child(2) .audience__num { color: var(--forest-600); }
.audience__card:nth-child(2):hover { border-color: #7FB48E; }
.audience__card h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.audience__card p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__aside { position: static; }
  .audience { grid-template-columns: 1fr; }
}

/* =========================================================
   TRACK RECORD
   ========================================================= */
.record {
  background: var(--ink-900);
  color: var(--cream-50);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.record::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.18), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(47, 107, 66, 0.18), transparent 40%);
  pointer-events: none;
}
.record > * { position: relative; z-index: 1; }

.record .section-tag { color: var(--saffron-300); }
.record .section-title { color: var(--cream-50); }
.record .section-title em { color: var(--saffron-300); }
.record .section-kicker { color: var(--ink-300); }

.record__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.record__controls { display: flex; gap: 0.65rem; }
.record .iconbtn--ghost { background: rgba(255,255,255,0.08); color: var(--cream-50); }
.record .iconbtn--ghost:hover { background: rgba(255,255,255,0.16); }
.record .iconbtn--solid { background: var(--forest-500); color: var(--paper); }
.record .iconbtn--solid:hover { background: #4FA34F; color: var(--paper); }

.record__rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
  scrollbar-width: none;
  cursor: grab;
}
.record__rail::-webkit-scrollbar { display: none; }
.record__rail.is-dragging { cursor: grabbing; user-select: none; }

.tl {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.tl:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 168, 91, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.tl--featured {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.12), rgba(11, 18, 32, 0.2));
  border-color: rgba(240, 168, 91, 0.55);
}
.tl--featured::before {
  content: "Featured";
  position: absolute;
  top: 0.65rem; right: 0.65rem;
}

.tl__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.tl__year {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  color: var(--saffron-300);
  line-height: 1;
}
.tl__level {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
}
.tl__level--hi {
  color: var(--saffron-300);
  border-color: rgba(240, 168, 91, 0.4);
  background: rgba(217, 119, 6, 0.08);
}
.tl h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--cream-50);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.tl p { color: var(--ink-300); font-size: 0.92rem; line-height: 1.6; flex: 1; margin-bottom: 1rem; }

.tl__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl__tags span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream-100);
}
.tl__tags span.solid {
  background: var(--saffron-500);
  color: var(--ink-900);
  border-color: transparent;
  font-weight: 600;
}

.record__hint {
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-400);
  text-align: center;
}

@media (max-width: 560px) {
  .tl { flex: 0 0 280px; }
}

/* =========================================================
   CAPABILITIES
   ========================================================= */
.caps {
  background: var(--cream-50);
  padding: var(--section-y) 0;
}
.caps__head {
  max-width: 42rem;
  margin-bottom: 3.5rem;
}
.caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.cap::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--saffron-500);
  transition: width 0.5s var(--ease);
}
.cap:nth-child(even)::before { background: var(--forest-500); }
.cap:hover { background: var(--cream-100); }
.cap:hover::before { width: 100%; }
.cap__num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--saffron-500);
  margin-bottom: 1.1rem;
  display: inline-block;
}
.cap:nth-child(even) .cap__num { color: var(--forest-500); }
.cap h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.cap p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-500);
}

@media (max-width: 880px) { .caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps__grid { grid-template-columns: 1fr; } }

/* =========================================================
   PUBLICATIONS
   ========================================================= */
.pubs {
  background: var(--paper);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.pubs::before, .pubs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.pubs::before { top: -10%; right: -8%; width: 480px; height: 480px; background: rgba(217, 119, 6, 0.09); }
.pubs::after { bottom: -10%; left: -8%; width: 420px; height: 420px; background: rgba(47, 107, 66, 0.08); }

.pubs__head { max-width: 42rem; margin-bottom: 3rem; position: relative; }
.pubs__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.pub {
  padding: 2rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream-50);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pub::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.pub:hover {
  transform: translateY(-5px);
  border-color: var(--saffron-300);
  box-shadow: 0 22px 50px -25px rgba(11, 18, 32, 0.25);
}
.pub:hover::after { opacity: 1; }
.pub__kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-700);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.pub:nth-child(2) .pub__kicker,
.pub:nth-child(3) .pub__kicker { color: var(--forest-600); }
.pub:nth-child(2):hover,
.pub:nth-child(3):hover { border-color: #7FB48E; }
.pub:nth-child(2)::after,
.pub:nth-child(3)::after { background: radial-gradient(circle at top right, rgba(39, 141, 39, 0.18), transparent 70%); }
.pub h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink-900);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.pub p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.65; }
.pub em { font-style: italic; color: var(--saffron-700); font-weight: 500; }

@media (max-width: 720px) { .pubs__grid { grid-template-columns: 1fr; } }

/* =========================================================
   WRITINGS (Blog list + reader modal)
   ========================================================= */
.writings {
  background: var(--paper);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.writings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.writings__head > div:first-child { max-width: 38rem; }

.writings__tools {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.writings__search {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-500);
  min-width: 220px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.writings__search:focus-within {
  border-color: var(--saffron-500);
  box-shadow: 0 0 0 3px rgba(249, 125, 9, 0.15);
}
.writings__search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink-800);
  width: 100%;
}
.writings__year {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.6rem 2.4rem 0.6rem 0.9rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  color: var(--ink-800);
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 16px;
  transition: border-color 0.25s var(--ease);
}
.writings__year:focus {
  outline: none;
  border-color: var(--saffron-500);
  box-shadow: 0 0 0 3px rgba(249, 125, 9, 0.15);
}

.writings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.writings__empty {
  text-align: center;
  padding: 3rem 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.post {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.post::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--saffron-500), var(--forest-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.post:hover,
.post:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -25px rgba(11, 18, 32, 0.25);
  outline: none;
}
.post:hover::before,
.post:focus-visible::before { transform: scaleX(1); }

.post__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.9rem;
}
.post__date { color: var(--saffron-700); font-weight: 500; }
.post:nth-child(even) .post__date { color: var(--forest-600); }

.post__title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--ink-900);
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__excerpt {
  color: var(--ink-500);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__more {
  margin-top: 1.1rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-600);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.post__more span { transition: transform 0.3s var(--ease); }
.post:hover .post__more span { transform: translateX(4px); }

.writings__more {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 560px) {
  .writings__head { flex-direction: column; align-items: stretch; }
  .writings__tools { width: 100%; }
  .writings__search { flex: 1; min-width: 0; }
}

/* Reader modal */
.reader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.reader[hidden] { display: none; }
.reader__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes slideOut { from { transform: translateX(0); } to { transform: translateX(100%); } }

.reader__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  background: var(--cream-50);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px -20px rgba(11, 18, 32, 0.35);
  animation: slideIn 0.4s var(--ease);
  overflow: hidden;
}
.reader.is-closing .reader__overlay { animation: fadeOut 0.35s var(--ease) forwards; }
.reader.is-closing .reader__panel { animation: slideOut 0.35s var(--ease) forwards; }

.reader__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
}
.reader__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.reader__meta #reader-date { color: var(--saffron-700); font-weight: 500; }
.reader__dot { color: var(--ink-300); }
.reader__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.reader__close:hover {
  background: var(--ink-900);
  color: var(--paper);
  transform: rotate(90deg);
}

.reader__title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  padding: 2rem clamp(1.5rem, 4vw, 3rem) 1rem;
  flex-shrink: 0;
}

.reader__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem) 2rem;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-700);
}
.reader__body p,
.reader__body ul,
.reader__body ol,
.reader__body blockquote,
.reader__body figure,
.reader__body pre { margin-bottom: 1.2rem; }
.reader__body h2,
.reader__body h3,
.reader__body h4 {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--ink-900);
  margin: 2rem 0 0.7rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.reader__body h2 { font-size: 1.45rem; }
.reader__body h3 { font-size: 1.2rem; }
.reader__body a { color: var(--forest-600); border-bottom: 1px solid currentColor; }
.reader__body a:hover { color: var(--saffron-600); }
.reader__body strong { color: var(--ink-900); }
.reader__body em { color: var(--saffron-700); }
.reader__body blockquote {
  padding: 0.6rem 1.25rem;
  border-left: 3px solid var(--saffron-500);
  background: var(--cream-100);
  color: var(--ink-700);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
}
.reader__body img {
  border-radius: var(--r-md);
  margin: 1rem 0;
  max-width: 100%;
  height: auto;
}
.reader__body ul, .reader__body ol { padding-left: 1.4rem; }
.reader__body li { margin-bottom: 0.5rem; }

.reader__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
}
.reader__footer .btn { padding: 0.7rem 1.1rem; font-size: 0.85rem; }
.reader__footer .btn[disabled] { opacity: 0.4; pointer-events: none; }

body.is-locked { overflow: hidden; }

@media (max-width: 720px) {
  .reader__panel { width: 100%; }
  .reader__body { font-size: 1rem; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--ink-900);
  color: var(--cream-50);
  padding: var(--section-y) 0;
}
.contact .section-tag { color: var(--saffron-300); }
.contact .section-title { color: var(--cream-50); }
.contact .section-title em { color: var(--saffron-300); }
.contact .section-kicker { color: var(--ink-300); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact__intro { position: sticky; top: 120px; }

.contact__list {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: baseline;
}
.contact__list li:last-child { border-bottom: 0; }
.contact__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.contact__list a {
  font-size: 1.02rem;
  color: var(--cream-50);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.contact__list a:hover { color: var(--saffron-300); }

/* Form */
.contact__form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-300);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font: inherit;
  padding: 0.85rem 1rem;
  color: var(--cream-50);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--saffron-300);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(240, 168, 91, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
  padding-right: 2.5rem;
}
.field select option { background: var(--ink-800); color: var(--cream-50); }

.contact__form .btn--primary {
  background: var(--forest-500);
  color: var(--paper);
}
.contact__form .btn--primary:hover { background: #4FA34F; }
.contact__form .btn.is-sent {
  background: var(--saffron-500);
  color: var(--ink-900);
}

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
}

/* =========================================================
   PAGE HEROES (dedicated section pages)
   ========================================================= */
.page-hero {
  position: relative;
  background: var(--cream-50);
  padding: clamp(8rem, 16vh, 11rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(249, 125, 9, 0.12), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(39, 141, 39, 0.10), transparent 45%);
  z-index: -1;
}
.page-hero__inner {
  width: 100%;
  display: flex;
    flex-direction: column;
    align-items: center;
}
.page-hero__title {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0.9rem 0 1.1rem;
  text-align: center;
}
.page-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--saffron-600);
}
.page-hero__kicker {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.6;
  /* max-width: 38rem; */
}

/* Active link */
.nav__links a.is-active,
.nav__mobile a.is-active {
  color: var(--saffron-700);
}
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* About — solo */
.about--solo { border-bottom: 0; padding-top: clamp(3rem, 5vw, 4rem); }
.page-aside-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
}
.page-aside-card__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-700);
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.page-aside-card__list { display: flex; flex-direction: column; gap: 0.6rem; }
.page-aside-card__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.page-aside-card__list span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.page-aside-card__list strong {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.05rem;
}

/* Capabilities — solo grid keeps borders */
.caps--solo { padding-top: clamp(2.5rem, 4vw, 4rem); }

/* Publications — solo CTA block */
.pubs--solo { padding-top: clamp(2.5rem, 4vw, 4rem); }
.pubs__cta {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.pubs__cta::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  background: radial-gradient(circle at right, rgba(249, 125, 9, 0.12), transparent 70%);
  pointer-events: none;
}
.pubs__cta p {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--ink-800);
  max-width: 36rem;
  position: relative;
}

/* Writings — solo (lighter top padding) */
.writings--solo { padding-top: clamp(2.5rem, 4vw, 4rem); border-top: 0; }

/* Track Record — solo (header repositioned) */
.record--solo .record__head { margin-top: 0; }

/* Contact — solo (top section already padded) */
.contact--solo { padding-top: clamp(2.5rem, 4vw, 4rem); }

/* =========================================================
   PAGE JUMP (prev / next between pages)
   ========================================================= */
.page-jump {
  background: var(--cream-100);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-jump__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-jump__link {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.page-jump__link::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--saffron-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.page-jump__link--next::before { background: var(--forest-500); transform-origin: right; }
.page-jump__link:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -22px rgba(11, 18, 32, 0.2);
}
.page-jump__link:hover::before { transform: scaleX(1); }
.page-jump__link--next { text-align: right; align-items: flex-end; }
.page-jump__dir {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-700);
}
.page-jump__link--next .page-jump__dir { color: var(--forest-600); }
.page-jump__label {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

@media (max-width: 560px) {
  .pubs__cta { flex-direction: column; align-items: flex-start; }
  .page-jump__link--next { text-align: left; align-items: flex-start; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--cream-100);
  color: var(--ink-700);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.foot__name {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
}
.foot__tagline {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 0.35rem;
}
.foot__nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.foot__nav a {
  font-size: 0.9rem;
  color: var(--ink-600);
  transition: color 0.2s var(--ease);
}
.foot__nav a:hover { color: var(--saffron-700); }

.foot__copy {
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-400);
}
@media (max-width: 560px) {
  .foot__copy { flex-direction: column; text-align: center; }
}
