/* =====================================================================
   Rithvik Suren — aerospace robotics & AI autonomy
   High-contrast · white + cobalt · Space Grotesk · compact/technical
   ===================================================================== */

:root {
  /* type — one strong hero typeface (Space Grotesk), sans body, mono labels */
  --display: 'Space Grotesk', 'Segoe UI', Helvetica, Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* color — white ground, deeply saturated cobalt, near-black ink */
  --bg: #FFFFFF;
  --surface: #EDF1FF;     /* ice-blue tinted sections */
  --surface-2: #DEE6FC;
  --line: #A9B1C4;
  --line-strong: #8B93A9;
  --ink: #0B1020;
  --ink-2: #33384A;
  --ink-3: #565D72;
  /* solar-orange primary accent */
  --accent: #E8451A;      /* fills, large text, non-text */
  --accent-ink: #993310;  /* small text / links (APCA-safe on white + ice) */
  --accent-700: #C63A12;  /* hover */
  --accent-tint: #FDECE4;
  /* deep-space navy panels + electric-cyan secondary */
  --navy: #0E1230;
  --navy-2: #171C40;
  --navy-line: rgba(255,255,255,.14);
  --navy-muted: #AEB6D6;
  --cyan: #34D6F0;        /* secondary accent on dark / diagrams */
  --cyan-ink: #7FE3F5;    /* small cyan text on navy */
  --warm-navy: #FF6A3D;   /* warm accent on navy */

  /* spacing — 8pt grid, compact */
  --s-1:4px; --s0:8px; --s1:16px; --s2:24px; --s3:32px; --s4:48px; --s5:64px; --s6:88px; --s7:120px;

  --maxw: 1160px;
  --pad: clamp(20px, 4.5vw, 44px);
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --elev: 0 1px 2px rgba(11,13,18,.06), 0 10px 30px -14px rgba(11,13,18,.18);
  --elev-hi: 0 2px 6px rgba(11,13,18,.08), 0 30px 60px -24px rgba(11,13,18,.30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { margin: 0; font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
strong { color: var(--ink); font-weight: 600; }

/* type scale — emphasis by weight/size, not color/italics */
.display { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.0; letter-spacing: -0.035em; color: var(--ink); }
.h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.125rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.kicker { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.kicker--muted { color: var(--ink-3); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(var(--s4), 6vw, var(--s6)); }
.section--tint { background: var(--surface); }
.section__head { max-width: 62ch; margin-bottom: var(--s3); }
.section__head h2 { margin-top: var(--s0); }
.section__head p { margin-top: var(--s1); color: var(--ink-3); }

.skip-link { position: fixed; top: -100px; left: var(--s1); z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-family: var(--mono); font-size: .85rem; }
.skip-link:focus { top: var(--s1); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--accent); --fg: #fff;
  display: inline-flex; align-items: center; gap: var(--s0);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 10px; background: var(--bg-btn); color: var(--fg);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.btn .btn__arrow { transition: transform .2s var(--ease); }
.btn:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(232,69,26,.5); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled],.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { color: transparent; pointer-events: none; position: relative; }
.btn.is-loading::after { content:""; position:absolute; inset:0; margin:auto; width:18px; height:18px; border:2px solid rgba(255,255,255,.5); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--lg { padding: 17px 30px; font-size: 1.0625rem; }
.btn--ghost { --bg-btn: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { --bg-btn: var(--ink); --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 9px 15px; font-size: .92rem; }

/* ---------- interactive link with icon ---------- */
.ilink { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .85rem; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.ilink svg { transition: transform .2s var(--ease); }
.ilink:hover { color: var(--accent-700); }
.ilink:hover svg { transform: translate(2px,-2px); }
.ilink:active { color: var(--ink); }

/* ============================ NAV ============================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-stuck { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: var(--maxw); margin-inline: auto; padding: 13px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.nav__brand { display: flex; align-items: center; gap: 10px; line-height: 1.12; text-decoration: none; }
.nav__brandtext { display: grid; }
.brandmark { flex: none; display: block; border-radius: 50%; transition: transform .35s var(--ease); }
.nav__brand:hover .brandmark { transform: scale(1.06); }
.brandmark__s { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease); }
.nav__brand:hover .brandmark__s { transform: translateX(1.5px); }
@media (prefers-reduced-motion: reduce) { .nav__brand:hover .brandmark, .nav__brand:hover .brandmark__s { transform: none; } }
.nav__name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.nav__role { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.nav__links { display: flex; gap: var(--s2); }
.nav__links a { font-family: var(--mono); font-size: .85rem; color: var(--ink-2); text-decoration: none; padding: 6px 2px; position: relative; transition: color .2s var(--ease); }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--accent); transition: right .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta { text-decoration: none; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 40px; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* ============================ HERO ============================ */
.hero { padding-top: clamp(104px, 14vh, 144px); padding-bottom: var(--s4); }
.hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(var(--s3), 5vw, var(--s5)); align-items: center; }
.hero__meta { display: inline-flex; align-items: center; gap: var(--s0); margin-bottom: var(--s2); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
/* single typeface; emphasis by weight + scale, no italics/color */
.hero__title { color: var(--ink); }
.hero__title .t-strong { display: block; font-weight: 700; }
.hero__title .t-soft { display: block; font-weight: 500; color: var(--ink-2); font-size: .62em; letter-spacing: -0.02em; margin-top: .18em; }
.hero__clarify { max-width: 48ch; margin-top: var(--s2); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.hero__aside { }
.hero__portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--elev); aspect-ratio: 4/5; background: var(--surface-2); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); margin-top: var(--s0); }

/* ============================ CREDIBILITY (solar band) ============================ */
.cred { background: var(--accent); color: #fff; }
.cred__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); padding-block: var(--s2); }
.cred__item { display: grid; gap: 3px; }
.cred__num { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: #fff; line-height: 1; }
.cred__num b { color: #fff; font-weight: 700; }
.cred__cap { font-size: .84rem; font-weight: 600; color: #FFD9CB; line-height: 1.35; }

/* ============================ WORK / PROJECT LIBRARY ============================ */
.work__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.work__top h2 { margin-top: var(--s0); }

/* filter bar */
.filters { display: flex; flex-wrap: wrap; gap: var(--s0); }
.filter { font-family: var(--mono); font-size: .82rem; color: var(--ink-2); background: var(--bg); border: 1.5px solid var(--line); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* card grid */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.card {
  display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-lg);
  box-shadow: var(--elev); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card.is-hidden { display: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--elev-hi); }
.card__figure { position: relative; margin: 0; background: #F7F9FF; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.card__figure svg { width: 100%; height: auto; display: block; }
.card__expand { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--elev); opacity: 0; transform: scale(.9); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.card__figure:hover .card__expand, .card__figure:focus-visible .card__expand { opacity: 1; transform: scale(1); }
.card__body { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s2); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s1); }
.card__domain { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.card__year { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }
.card__title { font-size: 1.4rem; letter-spacing: -0.02em; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }

/* P / A / V micro-rows — punchy, slightly airier line-height */
.pav { display: grid; gap: var(--s0); border-top: 1px solid var(--line); padding-top: var(--s1); }
.pav__row { display: grid; grid-template-columns: 92px 1fr; gap: var(--s1); align-items: baseline; }
.pav__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pav__v { color: var(--ink-2); line-height: 1.5; }
.pav__v strong { color: var(--ink); }

.card__metrics { display: flex; flex-wrap: wrap; gap: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s1); }
.metric { display: grid; gap: 1px; }
.metric__n { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--accent); line-height: 1; }
.metric__l { font-size: .78rem; color: var(--ink-3); }
.card__foot { margin-top: auto; padding-top: var(--s1); border-top: 1px solid var(--line); }
.card__stack { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); line-height: 1.5; margin-bottom: var(--s0); }

.work__empty { display: none; color: var(--ink-3); font-family: var(--mono); font-size: .9rem; padding: var(--s3) 0; }
.work__empty.is-shown { display: block; }

/* ============================ EXPERIENCE ============================ */
.ledger { display: grid; }
.ledger__row { display: grid; grid-template-columns: 128px 1fr auto; gap: var(--s2); align-items: baseline; padding-block: var(--s1); border-top: 1px solid var(--line); transition: background .18s var(--ease); position: relative; }
.ledger__row:last-child { border-bottom: 1px solid var(--line); }
.ledger__row::before { content:""; position:absolute; left:calc(-1 * var(--pad)); top:0; bottom:0; width:3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .22s var(--ease); }
.ledger__row:hover::before { transform: scaleY(1); }
.ledger__row:hover { background: var(--surface); }
.ledger__when { font-family: var(--mono); font-size: .82rem; color: var(--ink-3); }
.ledger__role b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); display: block; margin-bottom: 3px; }
.ledger__role span { color: var(--ink-2); }
.ledger__org { font-family: var(--mono); font-size: .8rem; color: var(--accent-ink); text-align: right; white-space: nowrap; }

/* ============================ PUBLICATIONS ============================ */
.pub { display: grid; grid-template-columns: 40px 1fr auto auto; gap: var(--s2); align-items: center; padding-block: var(--s1); border-top: 1px solid var(--line); transition: background .18s var(--ease); }
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub:hover { background: var(--surface); }
.pub__n { font-family: var(--mono); color: var(--line-strong); font-size: .85rem; }
.pub__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-bottom: 3px; letter-spacing: -0.01em; }
.pub__meta { font-size: .9rem; color: var(--ink-3); }
.pub__venue { font-family: var(--mono); font-size: .72rem; color: var(--accent-ink); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* ============================ CONTACT + FORM ============================ */
.contact__solo { max-width: 62ch; }
.contact__solo p { margin-top: var(--s1); max-width: 50ch; }
.contact__cta { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.form { display: grid; gap: var(--s1); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea { font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #8A909C; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.field[data-error] input, .field[data-error] textarea { border-color: #C71D2E; box-shadow: 0 0 0 3px #FBE7E9; }
.field__err { font-family: var(--mono); font-size: .78rem; color: #A5131F; min-height: 1em; }
.form__status { font-family: var(--mono); font-size: .85rem; min-height: 1.2em; }
.form__status[data-state="error"] { color: #A5131F; }
.form__status[data-state="success"] { color: var(--ink); }
.form__submit { justify-self: start; }

/* ============================ LIGHTBOX ============================ */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: var(--pad); background: rgba(11,13,18,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox.is-open { display: grid; }
.lightbox__panel { background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--elev-hi); max-width: 900px; width: 100%; max-height: 88vh; overflow: auto; padding: clamp(var(--s2), 4vw, var(--s4)); }
.lightbox__panel svg { width: 100%; height: auto; }
.lightbox__cap { font-family: var(--mono); font-size: .82rem; color: var(--ink-3); margin-top: var(--s1); }
.lightbox__close { position: fixed; top: var(--s2); right: var(--s2); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); color: var(--ink); border: none; box-shadow: var(--elev); cursor: pointer; transition: transform .18s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }

/* ============================ HERO ENERGY (aura + orbit) ============================ */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__aura { position: absolute; z-index: -1; top: -10%; right: -6%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(232,69,26,.28), rgba(232,69,26,.10) 40%, transparent 68%);
  filter: blur(6px); animation: aura 9s ease-in-out infinite alternate; }
.hero__orbit { position: absolute; z-index: -1; top: -18%; right: -12%; width: 60vw; max-width: 820px; aspect-ratio: 1; pointer-events: none; opacity: .5; }
.hero__orbit ellipse { fill: none; stroke: var(--line); stroke-width: 1; }
.hero__orbit .sat { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.hero__orbit .spin { animation: orbit 18s linear infinite; transform-origin: 50% 50%; }
@keyframes aura { from { transform: translateY(-2%) scale(1); opacity:.9; } to { transform: translateY(4%) scale(1.08); opacity:1; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__aura, .hero__orbit .spin { animation: none; } }

/* diagram draw-in */
.card__figure svg .draw { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.card.in .card__figure svg .draw { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .card__figure svg .draw { stroke-dashoffset: 0; transition: none; } }

/* richer card hover — solar top bar */
.card { position: relative; }
.card::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background: var(--accent); z-index: 2; transition: background .25s var(--ease); }
.card:hover::before { background: var(--cyan); }

/* ============================ NAVY PANEL (section variation) ============================ */
.panel--navy { background: var(--navy); color: #EEF1FA; position: relative; overflow: hidden; }
.panel--navy::after { content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(60% 80% at 88% -10%, rgba(52,214,240,.16), transparent 60%),
              radial-gradient(50% 70% at 6% 110%, rgba(255,106,61,.16), transparent 60%); }
.panel--navy > * { position: relative; z-index: 1; }
.panel--navy h2, .panel--navy .h2 { color: #fff; }
.panel--navy .kicker { color: var(--cyan-ink); }
.panel--navy .section__head p { color: var(--navy-muted); }

/* ============================ MEDIA ============================ */
.media__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); }
.media-tile { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s2); border-radius: var(--r-lg);
  background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-line); text-decoration: none; color: #EEF1FA;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.media-tile:hover { transform: translateY(-3px); background: #1b2150; box-shadow: inset 0 0 0 1px rgba(52,214,240,.5), 0 20px 40px -22px #000; }
.media-tile__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); }
.media-tile__type { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); }
.media-tile__type .play { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; }
.media-tile__go { color: var(--navy-muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.media-tile:hover .media-tile__go { transform: translate(2px,-2px); color: #fff; }
.media-tile__title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: #fff; letter-spacing: -0.01em; }
.media-tile__outlet { font-family: var(--mono); font-size: .76rem; color: var(--navy-muted); margin-top: auto; }

/* ============================ ARCHIVE (compact, dense) ============================ */
.archive__label { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: var(--s4) 0 var(--s0); }
.arow { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s2); align-items: center; padding-block: var(--s1); border-top: 1px solid var(--line); transition: background .16s var(--ease); }
.arow:last-child { border-bottom: 1px solid var(--line); }
.arow:hover { background: var(--surface); }
.arow__main { min-width: 0; }
.arow__title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.arow__desc { font-size: .9rem; color: var(--ink-3); }
.arow__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.arow__year { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.arow__title { color: var(--ink); text-decoration: none; transition: color .16s var(--ease); }
.arow__title:hover { color: var(--accent-ink); }
.arow.is-hidden { display: none; }

/* ============================ FOOTER ============================ */
.footer { background: var(--navy); color: #C7CCD6; padding-block: var(--s5) var(--s2); margin-top: 0; }
.footer__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s3); align-items: start; }
.footer__mark { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; display: flex; align-items: center; gap: 12px; }
.footer__logo { flex: none; border-radius: 50%; }
.footer__note { color: #9AA1AE; max-width: 42ch; margin-top: var(--s0); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s0) var(--s2); }
.footer__nav a { font-family: var(--mono); font-size: .86rem; color: #C7CCD6; text-decoration: none; width: fit-content; transition: color .18s var(--ease); }
.footer__nav a:hover { color: #fff; }
.footer__base { max-width: var(--maxw); margin: var(--s3) auto 0; padding: var(--s1) var(--pad) 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: var(--s1); font-family: var(--mono); font-size: .74rem; color: #7C8290; }

/* ============================ MOTION ============================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) var(--d,0s), transform .6s var(--ease) var(--d,0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1 !important; transform:none !important; transition:none; } .card:hover, .btn:hover { transform:none; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { max-width: 320px; }
  .cred__inner { grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s2); }
  .cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--s2); }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); box-shadow: var(--elev); padding: var(--s0) var(--pad) var(--s1); }
  .nav.is-open .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .work__top { flex-direction: column; align-items: flex-start; }
  .ledger__row { grid-template-columns: 1fr; gap: 4px; }
  .ledger__org { text-align: left; }
  .pub { grid-template-columns: 1fr; gap: 6px; }
  .pub__venue { order: -1; }
  .pav__row { grid-template-columns: 80px 1fr; }
}
