/* ============================================
   Portfolio styles
   ============================================ */

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

:root {
  --bg: #0C0C0C;
  --bg-elevated: #111111;
  --bg-alt: #161616;

  --warm: #F5F2ED;
  --warm-alt: #EBE7E0;
  --navy: #1B2838;

  --ink: #F5F2ED;
  --ink-dim: rgba(245, 242, 237, 0.6);
  --ink-faint: rgba(245, 242, 237, 0.35);
  --ink-ghost: rgba(245, 242, 237, 0.12);

  --text-dark: #1A1A1A;
  --text-dark-mid: #6B6560;

  --accent: #C4A97D;
  --accent-dim: rgba(196, 169, 125, 0.6);
  --accent-light: #C4A97D;
  --accent-deep: rgba(196, 169, 125, 0.28);
  --teal: #5A9E9E;

  --muted: rgba(245, 242, 237, 0.6);
  --muted-2: rgba(245, 242, 237, 0.35);
  --glow: rgba(196, 169, 125, 0.24);

  --rule: rgba(245, 242, 237, 0.12);

  --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --page-pad: clamp(16px, 4.5vw, 48px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --tap-min: 44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

main {
  flex: 1 0 auto;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body > * { position: relative; z-index: 1; }

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(var(--page-pad), var(--safe-left));
  padding-right: max(var(--page-pad), var(--safe-right));
  width: 100%;
}

/* ============================================
   V2 landing layout (from index-2)
   Scoped to .v2-* classes so other pages keep working.
   ============================================ */

.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(18px + var(--safe-top)) max(24px, var(--page-pad));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-nav.scrolled {
  background: rgba(12, 12, 12, 0.75);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

.v2-nav-logo {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.v2-nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.v2-nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.v2-nav-links a:hover { color: var(--ink); }
.v2-nav-links a.active { color: var(--ink); }

.v2-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 max(20px, var(--page-pad));
  position: relative;
}

.v2-hero-overline {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.v2-hero h1 {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.v2-dot { color: var(--accent); }

.v2-hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 520px;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.v2-hero-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.v2-hero-scroll-hint {
  position: absolute;
  bottom: calc(2.5rem + var(--safe-bottom));
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.v2-section { padding: 10rem max(24px, var(--page-pad)); }
.v2-inner { max-width: 1100px; margin: 0 auto; }

.v2-overline {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.v2-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.v2-body {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 600px;
}

.v2-about {
  background: var(--warm);
  color: var(--text-dark);
}
.v2-about .v2-overline { color: var(--teal); }
.v2-about .v2-headline { color: var(--navy); }
.v2-about .v2-body { color: var(--text-dark-mid); }
.v2-body p + p { margin-top: 1.25rem; }

/* About statement — carries the section on its own now that the headline is gone */
.v2-about-statement {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.005em;
  max-width: 38ch;
  text-wrap: pretty;
}
.v2-about .v2-about-statement { color: var(--navy); }
.v2-about-statement a {
  color: inherit;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.04em;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.v2-about-statement a:hover { color: var(--teal); border-bottom-color: var(--teal); }

.v2-about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6rem;
  align-items: start;
}

.v2-about-facts { display: grid; gap: 0; margin-top: 0.5rem; }
.v2-fact {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(27, 40, 56, 0.08);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.v2-fact:first-child { border-top: 1px solid rgba(27, 40, 56, 0.08); }
.v2-fact-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
}
.v2-fact-value { font-size: 0.9rem; font-weight: 400; color: var(--navy); line-height: 1.5; }
.v2-fact-value a { border-bottom: 1px solid rgba(27, 40, 56, 0.2); }

.v2-work { background: var(--navy); color: var(--ink); }
.v2-work .v2-overline { color: var(--accent); }
.v2-work .v2-headline { color: var(--warm); }

.v2-cards {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.v2-card {
  display: block;
  padding: 2.5rem;
  border: 1px solid rgba(245, 242, 237, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.v2-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.v2-card:hover { border-color: rgba(245, 242, 237, 0.15); background: rgba(245, 242, 237, 0.02); }
.v2-card:hover::before { height: 100%; }

.v2-card-type {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.v2-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.v2-card-excerpt {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-dim);
}

.v2-footer {
  background: var(--bg);
  padding: 4rem max(24px, var(--page-pad));
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.v2-footer-name { font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.v2-footer-email a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-faint);
  border-bottom: 1px solid rgba(245, 242, 237, 0.15);
  transition: all 0.3s ease;
}
.v2-footer-email a:hover { color: var(--ink); border-color: var(--ink); }
.v2-footer-socials { display: flex; gap: 2rem; flex-wrap: wrap; }
.v2-footer-socials a {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  transition: color 0.3s ease;
}
.v2-footer-socials a:hover { color: var(--ink); }
.v2-footer-copy { font-size: 0.65rem; color: var(--ink-faint); }

.v2-footer-x a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.v2-page-main {
  padding-top: calc(5rem + var(--safe-top));
}

.article-p-center { text-align: center; }
.article-p-right { text-align: right; }

.article-body b,
.article-body strong { font-weight: 600; }
.article-body i,
.article-body em { font-style: italic; }

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

/* V2 responsive */
@media (max-width: 900px) {
  .v2-section { padding: 6rem max(18px, var(--page-pad)); }
  .v2-about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .v2-cards { grid-template-columns: 1fr; }
  .v2-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .v2-nav { padding: calc(14px + var(--safe-top)) 1.25rem; }
  .v2-nav-links { display: none; }
  .v2-fact { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
  padding-top: var(--safe-top);
}
.nav .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.nav .brand {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.nav .brand .dot { color: var(--accent); }
.nav .links {
  display: flex;
  gap: 36px;
  align-items: baseline;
}
.nav .links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 8px 4px;
  transition: color .3s ease;
}
.nav .links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transition: right .5s cubic-bezier(.2,.7,.2,1);
}
.nav .links a:hover::after, .nav .links a.active::after { right: 0; }
.nav .links a.active { color: var(--accent-light); }
.nav .links .em { color: var(--muted); font-feature-settings: 'tnum'; }
.nav .links .em:hover { color: var(--ink); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 80px;
  overflow: visible;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--glow), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero h1.hero-name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 152px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  overflow: visible;
  padding-bottom: 0.08em;
  opacity: 0;
  -webkit-animation: hero-in 1s cubic-bezier(.2,.7,.2,1) .1s forwards;
  animation: hero-in 1s cubic-bezier(.2,.7,.2,1) .1s forwards;
}
.hero h1.hero-name .accent { color: var(--accent-light); }
@-webkit-keyframes hero-in {
  from { opacity: 0; -webkit-transform: translate3d(0, 24px, 0); transform: translate3d(0, 24px, 0); }
  to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hero .tag {
  margin-top: 40px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--muted);
  max-width: 36ch;
  opacity: 0;
  -webkit-animation: fade 1s ease .8s forwards;
  animation: fade 1s ease .8s forwards;
}
.hero .tag .ink {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .88em;
  font-weight: 400;
  line-height: 1.55;
  display: block;
  margin-top: 16px;
  max-width: 52ch;
}
@keyframes fade { to { opacity: 1; } }

.hero-scroll {
  margin-top: auto;
  padding-top: 48px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
  -webkit-animation: fade 1s ease 1.2s forwards;
  animation: fade 1s ease 1.2s forwards;
}

/* ============================================
   PAGE HEAD
   ============================================ */
.page-head {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -40% 0 0;
  background: radial-gradient(ellipse 70% 50% at 30% 0%, var(--glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.page-head .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .95;
  letter-spacing: -.025em;
  color: var(--ink);
}
.page-head h1 .accent { color: var(--accent-light); }
.page-head .blurb {
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
}
.page-head .blurb .ink { color: var(--ink); font-weight: 500; }

/* ============================================
   ARTICLE READER — glosses, dialogue, drafts
   ============================================ */
.article-p-dialogue {
  padding-left: 1.3rem;
  border-left: 1px solid var(--accent-deep);
}
.draft-label {
  font-family: var(--font-sans) !important;
  font-size: .62rem !important;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 1.6rem;
}
.draft-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 4rem 0 3rem;
}
.rev-add { box-shadow: inset 0 -.5em 0 var(--accent-deep); }
.rev-cut { text-decoration: line-through; text-decoration-color: rgba(200, 90, 90, .55); opacity: .6; }

.term {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--accent);
}
.term::after {
  content: attr(data-def);
  position: absolute;
  left: 50%;
  bottom: calc(100% + .5rem);
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: min(16rem, 70vw);
  text-align: center;
  background: var(--warm);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  padding: .5rem .7rem;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity .25s ease, transform .25s ease;
}
.term:hover::after, .term:focus-visible::after, .term.open::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================
   WRITING ARCHIVE — chronological index
   ============================================ */
.wdisclaimer {
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin: 28px 0 4px;
  padding-left: 1rem;
  border-left: 1px solid var(--accent-deep);
}

.wfilters {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: 20px 0 18px;
  background: linear-gradient(to bottom, var(--bg) 68%, transparent);
}
.wfilters .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .7rem;
}
.wfilter {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: .45rem 1rem;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.wfilter:hover { color: var(--ink); border-color: rgba(245, 242, 237, 0.3); }
.wfilter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.warchive { padding-bottom: 120px; }
.wempty {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  padding: 60px 0 40px;
}

.wselected { border-top: 1px solid var(--accent-deep); }
.wselected .wyear-head b {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--accent);
  letter-spacing: .02em;
}
.wselected .wentry-featured .wtitle { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }

.wyear { border-top: 1px solid var(--rule); margin-top: 56px; }
.wyear:first-child { margin-top: 8px; }
.wyear[hidden] { display: none; }
.wyear-head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 44px 0 10px;
}
.wyear-head b {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .85;
  color: rgba(245, 242, 237, 0.1);
  user-select: none;
}
.wyear-head span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.wentry {
  padding: 34px 0;
  border-bottom: 1px solid rgba(245, 242, 237, 0.08);
  max-width: 74ch;
}
.wentry[hidden] { display: none; }
.wentry:last-child { border-bottom: none; }

.wmeta {
  font-size: .61rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .85rem;
}

.wtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--ink);
}
.wtitle a { color: inherit; transition: color .3s ease; }
.wtitle a:hover { color: var(--accent-light); }

.wnote {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin-top: .9rem;
  max-width: 68ch;
}
.wquote {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-dim);
  border-left: 1px solid var(--accent-deep);
  padding-left: 1.15rem;
  margin-top: 1rem;
  max-width: 66ch;
}

.wchips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.wchip {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: .26rem .62rem;
}
.wchip-live { border-color: var(--accent-deep); color: var(--accent); }

.wmore {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: .62rem 1.5rem;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.wmore:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.wentry-featured .wtitle { font-size: clamp(1.8rem, 4vw, 2.6rem); }

@media (max-width: 700px) {
  .wentry { padding: 26px 0; }
  .wyear-head { padding-top: 32px; }
}

/* ============================================
   ABOUT
   ============================================ */
.about { padding: 80px 0 60px; border-top: 1px solid var(--rule); }
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 96px;
  align-items: start;
  padding-top: 60px;
}
.about-grid .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
}
.about-grid .copy {
  max-width: 60ch;
  padding: 40px 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.06);
}
.about-grid .copy p {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
}
.about-grid .copy p + p { margin-top: 24px; }
.about-grid .copy p .accent { color: var(--accent-light); font-weight: 500; }
.about-grid .copy .meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.about-grid .copy .meta b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.about-grid .copy .contact {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.about-grid .copy .contact a {
  color: var(--accent-light);
  border-bottom: 1px solid var(--rule);
  transition: border-color .3s ease, color .3s ease;
}
.about-grid .copy .contact a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   EXPLORE (landing page bottom links)
   ============================================ */
.explore {
  padding: 60px 0 120px;
  border-top: 1px solid var(--rule);
}
.explore-inner .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.explore-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.explore-card {
  display: block;
  padding: 40px 36px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  position: relative;
  transition: border-color .4s ease, transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.explore-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(29, 91, 184, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.explore-title {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .3s ease;
}
.explore-card:hover .explore-title { color: var(--accent-light); }
.explore-desc {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36ch;
}
.explore-arrow {
  position: absolute;
  right: 36px;
  bottom: 40px;
  font-size: 24px;
  color: var(--accent);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.explore-card:hover .explore-arrow { transform: translateX(8px); }

/* ============================================
   TABS
   ============================================ */
.tabs-bar {
  padding: 60px 0 40px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.tabs-bar .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 24px;
}
.tabs-bar .tab {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.015em;
  color: var(--muted-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 20px 8px 0;
  margin-right: 8px;
  position: relative;
  transition: color .4s ease;
  line-height: 1.1;
}
.tabs-bar .tab:hover { color: var(--ink); }
.tabs-bar .tab.active {
  color: var(--ink);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 8px 20px;
  margin-right: 8px;
}
.tabs-bar .tab.active::after { display: none; }
.tabs-bar .sep {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  margin-right: 8px;
}

/* ============================================
   WRITING LIST
   ============================================ */
.writing-list { padding: 0 0 60px; }
.wpane { display: none; }
.wpane.active { display: block; }
.wrow {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: padding .5s cubic-bezier(.2,.7,.2,1), background .3s ease;
}
.wrow:last-child { border-bottom: 1px solid var(--rule); }
.wrow .num {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--muted-2);
  font-size: 16px;
}
.wrow .title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.wrow .pub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}
.wrow .pub b { color: var(--ink); font-weight: 500; }
.wrow .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: all .4s ease;
}
.wrow::before {
  content: "→";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translate(-100%, -50%);
  color: var(--accent);
  opacity: 0;
  transition: all .5s cubic-bezier(.2,.7,.2,1);
}
.wrow:hover {
  padding-left: 24px;
  background: rgba(18, 28, 46, 0.5);
}
.wrow:hover::before { opacity: 1; left: 26px; }
.wrow:hover .title { color: var(--accent-light); }
.wrow:hover .tag { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }

.wrow .excerpt {
  grid-column: 2 / 5;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.7,.2,1), margin-top .5s ease;
}
.wrow:hover .excerpt { max-height: 80px; margin-top: 16px; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article { padding: 40px 0 120px; max-width: 680px; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 48px;
  transition: color .3s ease;
}
.article-back:hover { color: var(--accent-light); }
.article-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-meta .accent { color: var(--accent-light); }
.article h1 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.article-body p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: .85;
  margin: 6px 12px 0 0;
  color: var(--accent-light);
  font-style: normal;
}

.article-figure {
  margin: 36px 0;
  padding: 0;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.article-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: center;
}

.article-subtitle {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -32px 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.article-zine .article-body > p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  margin: 0;
  color: inherit;
}

.article-zine .prose-start::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: .85;
  margin: 6px 12px 0 0;
  color: var(--accent-light);
}

.article-zine .epigraph-lead {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  color: var(--accent-light);
  margin-bottom: 40px;
}

.article-zine .epigraph-hindi {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--accent-deep);
}

.article-zine .interlude {
  margin: 0 0 40px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.article-zine .interlude p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.article-zine h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 20px;
  letter-spacing: -.02em;
}

.article-zine .article-close {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: .02em;
}

/* ============================================
   MISC / SIDEQUESTS GRID
   ============================================ */
.misc { padding: 80px 0 60px; }
.misc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px 40px;
}
.misc-card {
  display: block;
  text-decoration: none;
  color: inherit;
  grid-column: span 6;
  position: relative;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.misc-card.lg {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.misc-card.featured-zine {
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent);
}
.misc-card .mc-img {
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
  margin-bottom: 24px;
  border-radius: 4px;
}
.misc-card .mc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 18, 0.75) 0%, transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.misc-card.lg .mc-img::after,
.misc-card:hover .mc-img::after { opacity: 1; }
.misc-card .mc-img.tall { aspect-ratio: 4/5; }
.misc-card .mc-img.wide { aspect-ratio: 16/9; }
.misc-card .mc-img.sq { aspect-ratio: 4/3; }
.misc-card .mc-img.cinematic { aspect-ratio: 2.39/1; }
.misc-card .mc-img img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 2s ease;
}
.misc-card .mc-img.wide {
  min-height: 220px;
  aspect-ratio: 16/9;
}
.misc-card:hover .mc-img img { transform: scale(1.04); }
.misc-card.lg .mc-img { aspect-ratio: 16/9; margin-bottom: 0; }
.misc-card .mc-body { padding-right: 8%; }
.misc-card .mc-body .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.misc-card .mc-body .meta-row .num {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-size: 14px;
  text-transform: none;
}
.misc-card .mc-body .meta-row .tag { color: var(--accent-light); }
.misc-card .mc-body h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  max-width: 22ch;
  transition: color .4s ease;
}
.misc-card .mc-body h3 .ink { color: var(--muted); font-family: var(--font-sans); font-size: .85em; }
.misc-card .mc-body .excerpt {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}
.misc-card .mc-body .more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.misc-card .mc-body .more .ar {
  display: inline-block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.misc-card:hover .mc-body h3 { color: var(--accent-light); }
.misc-card:hover .mc-body .more .ar { transform: translateX(8px); }

/* ============================================
   PHOTO GALLERY
   ============================================ */
.photo-section {
  padding: 60px 0 120px;
  border-top: 1px solid var(--rule);
}
.photo-section .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.photo-section h2 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink);
  margin-bottom: 16px;
}
.photo-section .photo-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 48px;
  line-height: 1.6;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.photo-item {
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 4px;
  position: relative;
}
.photo-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 18, 0.6) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.photo-item:hover::after { opacity: 1; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.8s ease;
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item.span-4 { grid-column: span 4; aspect-ratio: 4/3; }
.photo-item.span-3 { grid-column: span 3; aspect-ratio: 3/4; }
.photo-item.span-6 { grid-column: span 6; aspect-ratio: 2.39/1; }
.photo-item.span-5 { grid-column: span 5; aspect-ratio: 5/4; }
.photo-item.span-7 { grid-column: span 7; aspect-ratio: 2.39/1; }
.photo-caption {
  padding: 10px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 100px 0 max(32px, calc(32px + var(--safe-bottom)));
  border-top: 1px solid var(--rule);
}
footer .frow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
footer .frow.footer-simple {
  grid-template-columns: 1fr;
  justify-items: start;
}
footer .frow.footer-simple .right {
  align-items: flex-start;
}
footer .frow .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
footer .em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(28px, 3.6vw, 52px);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  letter-spacing: -.01em;
}
footer .em .cp {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 12px;
  transition: all .4s ease;
}
footer .em:hover .cp { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }
footer .em.copied .cp { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }
footer .em.copied .cp::before { content: "copied"; }
footer .em.copied .cp { font-size: 0; }
footer .em.copied .cp::before { font-size: 11px; }

footer .right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
footer .links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
footer .links a { color: var(--ink); position: relative; padding-bottom: 2px; }
footer .links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
footer .links a:hover::after { transform: scaleX(1); }

footer .colophon {
  margin-top: 100px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ============================================
   REVEAL
   ============================================ */
html:not(.js-ready) .reveal {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.reveal {
  opacity: 0;
  -webkit-transform: translate3d(0, 20px, 0) scale(0.98);
  transform: translate3d(0, 20px, 0) scale(0.98);
  -webkit-transition: opacity .9s ease, -webkit-transform .9s cubic-bezier(.2,.7,.2,1);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
  }
  .hero h1.hero-name,
  .hero .tag,
  .hero-scroll {
    opacity: 1;
    -webkit-animation: none;
    animation: none;
    -webkit-transform: none;
    transform: none;
  }
  .misc-card:hover .mc-img img,
  .photo-item:hover img { -webkit-transform: none; transform: none; }
}

/* ============================================
   RESPONSIVE — tablet, phone, touch
   html[data-viewport] set by scripts/site.js
   ============================================ */

/* Touch / no-hover: show writing excerpts, skip hover-only shifts */
@media (hover: none), (pointer: coarse) {
  .wrow .excerpt {
    max-height: none;
    margin-top: 12px;
    opacity: 1;
  }
  .wrow:hover { padding-left: 0; background: transparent; }
  .wrow::before { display: none; }
  .explore-card:hover { transform: none; }
  .misc-card:hover { transform: none; }
}

@media (hover: hover) and (pointer: fine) {
  .wrow .excerpt { max-height: 0; margin-top: 0; }
  .wrow:hover .excerpt { max-height: 80px; margin-top: 16px; }
}

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .nav .brand { font-size: 20px; }
  .nav .links { gap: 20px; }
  .nav .links .em { display: none; }
  .hero {
    min-height: auto;
    padding: 48px 0 36px;
  }
  .hero h1.hero-name { font-size: clamp(48px, 12vw, 96px); }
  .hero .tag { margin-top: 28px; max-width: none; }
  .hero .tag .ink { max-width: none; }
  .page-head { padding: 56px 0 32px; }
  .page-head h1 { font-size: clamp(40px, 10vw, 80px); }
  .about { padding: 56px 0 40px; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }
  .about-grid .copy { padding: 28px 24px; }
  .about-grid .copy .meta { grid-template-columns: 1fr; gap: 20px; }
  .explore { padding: 48px 0 max(80px, calc(80px + var(--safe-bottom))); }
  .explore-links { grid-template-columns: 1fr; }
  .explore-card { padding: 32px 28px 52px; }
  .explore-arrow { right: 28px; bottom: 32px; }
  .tabs-bar { padding: 36px 0 24px; flex-wrap: wrap; gap: 12px; }
  .tabs-bar .label { width: 100%; margin-bottom: 4px; margin-right: 0; }
  .tabs-bar .tab { font-size: clamp(24px, 6vw, 36px); margin-right: 8px; }
  .tabs-bar .sep { font-size: clamp(24px, 6vw, 36px); margin-right: 4px; }
  .wrow {
    grid-template-columns: 28px 1fr;
    gap: 12px 16px;
    padding: 22px 0;
  }
  .wrow .pub, .wrow .tag { display: none; }
  .wrow .excerpt { grid-column: 1 / -1; padding-left: 28px; }
  .article { padding: 24px 0 80px; max-width: 100%; }
  .article h1 { font-size: clamp(32px, 8vw, 48px); }
  .article-body p { font-size: 17px; }
  .misc { padding: 56px 0 48px; }
  .misc-grid { gap: 48px 24px; }
  .misc-card,
  .misc-card.lg {
    grid-column: span 12;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .misc-card .mc-body { padding-right: 0; }
  .misc-card .mc-body h3 { max-width: none; }
  .photo-section { padding: 48px 0 80px; }
  .photo-item.span-3,
  .photo-item.span-4,
  .photo-item.span-5,
  .photo-item.span-6,
  .photo-item.span-7 { grid-column: span 12; }
  footer { padding: 64px 0 max(24px, var(--safe-bottom)); }
  footer .frow { grid-template-columns: 1fr; gap: 32px; }
  footer .right { align-items: flex-start; }
  footer .links { flex-wrap: wrap; gap: 16px 24px; }
  footer .colophon {
    margin-top: 48px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* Phone: ≤600px */
@media (max-width: 600px) {
  :root { --page-pad: 16px; }
  .nav .row { padding: 12px 0; }
  .nav .brand { font-size: 18px; max-width: 55%; line-height: 1.2; }
  .nav .links {
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .nav .links a { font-size: 13px; padding: 10px 8px; }
  .hero {
    min-height: auto;
    padding: 32px 0 28px;
  }
  .hero h1.hero-name {
    font-size: clamp(40px, 14vw, 64px);
    line-height: 1.08;
  }
  .hero .tag { font-size: 18px; margin-top: 20px; }
  .hero .tag .ink { font-size: 15px; margin-top: 12px; }
  .hero-scroll { padding-top: 32px; font-size: 10px; margin-top: 0; }
  .explore { padding-bottom: max(96px, calc(96px + var(--safe-bottom))); }
  .page-head { padding: 40px 0 24px; }
  .page-head .eyebrow { margin-bottom: 16px; }
  .page-head h1 { font-size: clamp(36px, 11vw, 52px); line-height: 1; }
  .page-head .blurb { margin-top: 24px; font-size: 16px; }
  .about-grid .copy { padding: 22px 18px; }
  .about-grid .copy p { font-size: 16px; }
  .explore-card { padding: 24px 20px 48px; }
  .explore-title { font-size: 26px; }
  .explore-desc { max-width: none; }
  .explore-arrow { right: 20px; bottom: 24px; font-size: 20px; }
  .tabs-bar .tab,
  .tabs-bar .sep { font-size: 22px; }
  .tabs-bar .tab.active { padding: 6px 14px; }
  .wrow { grid-template-columns: 1fr; padding: 20px 0; }
  .wrow .num { display: none; }
  .wrow .excerpt { padding-left: 0; font-size: 15px; }
  .wrow .title { font-size: 20px; }
  .article-zine h2 { margin-top: 36px; font-size: 26px; }
  .article-zine .interlude { padding: 18px 16px; }
  .article-zine .epigraph-lead { font-size: 22px; }
  .misc-grid { gap: 40px 0; }
  .photo-gallery { gap: 12px; }
  .photo-item.span-6,
  .photo-item.span-7 { aspect-ratio: 16/9; }
}

/* Small phone: ≤380px */
@media (max-width: 380px) {
  .nav .links a { font-size: 12px; padding: 10px 6px; }
  .hero h1.hero-name { font-size: 38px; }
  footer .links { flex-direction: column; gap: 12px; }
}

/* JS viewport hooks (see scripts/site.js) */
/* hero-scroll stays visible on mobile for scroll affordance */
html[data-viewport="mobile"] .wrow .excerpt,
html[data-pointer="coarse"] .wrow .excerpt {
  max-height: none;
  margin-top: 10px;
}
html[data-pointer="coarse"] .wrow:hover { padding-left: 0; }
html[data-viewport="tablet"] .explore-links,
html[data-viewport="mobile"] .explore-links {
  grid-template-columns: 1fr;
}
html[data-viewport="mobile"] .article,
html[data-viewport="tablet"] .article {
  padding-left: 0;
  padding-right: 0;
}
