/* ==========================================================
   zachs.work — shared styles
   ========================================================== */
:root {
  --bg: #0c0c0c;
  --bg-raised: #151515;
  --line: #262626;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --dim: #5f5f5f;
  --accent: #e8e3d8;
  --good: #b9d7a8;
  --bad: #e2a49a;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #000; }

/* ---------- Header / menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
}
.logo {
  display: block; width: 80px; height: 80px; border-radius: 50%;
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.logo img { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); transition: transform .2s; }
.logo:hover img { transform: scale(1.06); }
.logo.is-hidden { opacity: 0; visibility: hidden; transform: scale(.85); pointer-events: none; }
body.menu-open .logo.is-hidden { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.menu-btn {
  background: none; border: 0; color: #fff; font: 600 17px var(--font);
  cursor: pointer; padding: 8px 0;
}
.menu {
  position: fixed; inset: 0; z-index: 40; background: #000;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a {
  font-size: clamp(44px, 9vw, 112px); font-weight: 700; letter-spacing: -0.05em;
  line-height: 1.02; text-decoration: none; color: var(--dim);
  transition: color .2s, transform .3s; width: fit-content;
}
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--text); }
.menu nav a:hover { transform: translateX(12px); }
.menu .menu-foot {
  position: absolute; bottom: 28px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 15px;
}
.menu .menu-foot a { text-decoration: none; }
.menu .menu-foot a:hover { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: end;
  overflow: hidden;
}
.hero-photo {
  position: absolute; right: 0; bottom: 0; height: 100%; width: 58%;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.hero-photo img {
  height: 104%; width: auto; max-width: none; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 42%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 80% at 50% 42%, #000 58%, transparent 100%);
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-copy {
  grid-column: 1; position: relative; z-index: 2;
  padding: 0 0 clamp(48px, 10vh, 110px) var(--gutter);
  max-width: 640px; justify-self: end;
}
.hero-copy h1 {
  font-size: clamp(56px, 8vw, 118px); font-weight: 700;
  letter-spacing: -0.055em; line-height: .95; margin-bottom: 26px;
}
.hero-copy p { color: #d8d8d8; margin-bottom: 18px; max-width: 34em; }
.hero-copy .hl { background: #2a2a2a; color: var(--text); padding: 1px 4px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 2;
  color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
@keyframes rise { from { opacity: 0; transform: translateY(8%); } to { opacity: 1; transform: none; } }

/* ---------- Buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid var(--text); transition: background .2s, color .2s;
}
.btn.solid { background: var(--text); color: #000; }
.btn:hover { background: var(--text); color: #000; }
.btn.solid:hover { background: transparent; color: var(--text); }
.chip {
  display: inline-block; padding: 6px 13px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; color: #cfcfcf;
}

/* ---------- Generic sections ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 150px) 0; border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.h2 {
  font-size: clamp(38px, 5.5vw, 76px); font-weight: 700;
  letter-spacing: -0.045em; line-height: 1; margin-bottom: 40px;
}
.lede { font-size: clamp(19px, 2vw, 24px); color: #d6d6d6; max-width: 36em; }
.lede + .lede { margin-top: 18px; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 80px); }

.page-head { padding: clamp(140px, 22vh, 220px) 0 clamp(50px, 8vw, 90px); }
.page-head h1 {
  font-size: clamp(40px, 11vw, 160px); font-weight: 700;
  letter-spacing: -0.06em; line-height: .9; margin-bottom: 28px;
}

/* ---------- Profile ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.stat { background: var(--bg); padding: 28px 24px; }
.stat b { display: block; font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
.stat-link { cursor: pointer; transition: background .2s; }
.stat-link:hover { background: var(--bg-raised); }
.stat-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; transition: transform .2s; }
.stat-link:hover .stat-more { transform: translateX(4px); }

/* Client Wins pop-up: match the site's dark theme (the site is always dark) */
html .cw-dialog {
  --cw-card: var(--bg-raised); --cw-ink: var(--text); --cw-muted: var(--muted); --cw-accent: var(--accent);
  --cw-line: var(--line); --cw-tile-line: #2e2e2e; --cw-backdrop: rgba(0, 0, 0, .78);
  --cw-shadow: rgba(0, 0, 0, .6); --cw-focus: var(--accent); --cw-radius: 8px; --cw-font: var(--font);
}
html .cw-card { border: 1px solid #2e2e2e; }
html .cw-figure b { letter-spacing: -0.05em; font-weight: 700; }
@media (min-width: 821px) { html .cw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } html .cw-dialog { width: min(880px, calc(100vw - 32px)); } }

.xp { list-style: none; }
.xp li {
  display: grid; grid-template-columns: 170px 1fr; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.xp li:first-child { padding-top: 0; }
.xp .when { color: var(--muted); font-size: 15px; padding-top: 4px; }
/* a logo on a white card, one size everywhere: the company logos here, and the Interests and tennis story logos */
.co-logo, .logo-card {
  display: flex; align-items: center; justify-content: center;
  width: 132px; height: 60px; padding: 10px 14px;
  background: #fff; border-radius: 8px;
}
.co-logo { margin-top: 14px; }
.co-logo img, .logo-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.xp h3 { font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.xp .org { color: var(--accent); margin-bottom: 10px; }
.xp p { color: #c4c4c4; }
.xp .bullets { list-style: none; margin-top: 14px; }
.xp .bullets li { display: block; padding: 0 0 8px 20px; border: 0; position: relative; color: #c4c4c4; font-size: 16px; }
.xp .bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--accent); }
.xp .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.todo { outline: 1px dashed #6b5b2a; outline-offset: 4px; }

/* Experience: the Professional / Ventures switch (shown once site.js runs; without it both lists show) */
.xp-toggle {
  display: none; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-raised);
}
.js .xp-toggle { display: inline-flex; }
.xp-toggle button {
  background: none; border: 0; border-radius: 999px; padding: 9px 20px;
  color: var(--muted); font: 600 15px var(--font); cursor: pointer; transition: background .2s, color .2s;
}
.xp-toggle button:hover { color: var(--text); }
.xp-toggle button[aria-selected="true"] { background: var(--text); color: #000; }
.xp-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.xp-panel.xp-enter { animation: xp-in .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes xp-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.xp h3 + p { margin-top: 10px; }
.xp .soon {
  display: inline-block; margin-left: 6px; padding: 1px 10px; vertical-align: 1px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .04em; color: var(--accent);
}
.co-logo.co-logo-tall { padding-top: 4px; padding-bottom: 4px; }.xp .clubs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; margin-top: 20px; }
.xp .clubs li { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; }
.club-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 60px; padding: 8px; background: #fff; border-radius: 8px;
}
.club-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.xp .clubs small { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }
.xp .clubs b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text); }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.skills h3 { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
.skills ul { list-style: none; }
.skills li { font-size: 20px; padding: 7px 0; border-bottom: 1px solid var(--line); }

.contact-big {
  font-size: clamp(34px, 6.5vw, 96px); font-weight: 700; letter-spacing: -0.055em;
  line-height: 1.05; text-decoration: none; display: inline-block;
  border-bottom: 3px solid var(--text); padding-bottom: 6px; word-break: break-word;
}
.contact-big:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding: 20px 0 40px; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(var(--line), var(--dim) 15%, var(--dim) 85%, var(--line));
}
.t-item { position: relative; width: 50%; padding: 0 56px 80px; }
.t-item:nth-child(odd) { left: 0; text-align: right; }
.t-item:nth-child(even) { left: 50%; }
.t-item::after {
  content: ""; position: absolute; top: 18px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text);
}
.t-item:nth-child(odd)::after { right: -7px; }
.t-item:nth-child(even)::after { left: -6px; }
.t-item.major::after { background: var(--text); box-shadow: 0 0 0 7px rgba(255,255,255,.08); }
.t-year { font-size: clamp(48px, 6vw, 84px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--dim); }
.t-item.major .t-year { color: var(--text); }
.t-tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 12px 0 6px; }
.t-item h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.2; }
.t-item p { color: #bdbdbd; }
.t-item.future .t-year { -webkit-text-stroke: 1px var(--muted); color: transparent; }

/* ---------- Interests ---------- */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.int-card { background: var(--bg); padding: 36px 30px 34px; display: flex; flex-direction: column; min-height: 360px; transition: background .25s; }
.int-card:hover { background: var(--bg-raised); }
.int-card .num { color: var(--dim); font-size: 14px; display: flex; justify-content: space-between; }
.int-card h3 { font-size: 44px; letter-spacing: -0.045em; margin: 32px 0 20px; line-height: 1.05; }
.int-card p { color: #bdbdbd; margin-bottom: 20px; }
.int-items { list-style: none; }
.int-items li { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.int-items h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.int-items p { margin-bottom: 8px; }
.int-logos { display: flex; align-items: center; justify-content: center; gap: 12px; height: 60px; margin-top: 28px; }
.int-more { cursor: pointer; border-radius: 2px; transition: background .2s; }
.int-more:hover, .int-more:focus-visible { background: #1b1b1b; outline: none; }
.int-more:focus-visible { box-shadow: 0 0 0 1px var(--accent); }
.more-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); margin: 2px 0 8px; transition: transform .2s; }
.int-more:hover .more-link { transform: translateX(4px); }

/* ---------- Story pop-up ---------- */
.story {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  margin: auto; padding: clamp(28px, 5vw, 56px); overflow-y: auto;
  background: var(--bg-raised); color: var(--text); border: 1px solid #2e2e2e; border-radius: 6px;
}
.story::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); }
.story[open] { animation: pop .3s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.story-close {
  position: sticky; top: 0; float: right; margin: -12px -12px 0 0;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; background: var(--bg);
  color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .2s;
}
.story-close:hover { border-color: var(--text); }
.story-logos { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.story h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.045em; line-height: 1; margin-bottom: 18px; }
.story h3 { font-size: 22px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.story p { color: #cfcfcf; margin-bottom: 14px; }
.story-lede { font-size: 19px; color: #e2e2e2 !important; }
.story-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0 8px; }
.story-stats div { background: var(--bg); padding: 18px 16px; }
.story-stats b { display: block; font-size: 30px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.story-stats span { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.story-list { list-style: none; margin: 6px 0 18px; }
.story-list li { position: relative; padding: 0 0 12px 22px; color: #cfcfcf; }
.story-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--accent); }
.story-list strong { color: var(--text); }
.story-close-line { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; font-style: italic; }
body.dialog-open { overflow: hidden; }

.win { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; color: #dcdcdc; }
.win b { display: block; font-size: 12px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }

.wins { list-style: none; counter-reset: w; }
.wins li {
  counter-increment: w; display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.wins li::before { content: counter(w, decimal-leading-zero); color: var(--dim); font-size: 15px; }
.wins li:last-child { border-bottom: 0; }
.wins h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
.wins p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.wins .yr { color: var(--muted); font-size: 15px; }

/* ---------- Recommendations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filters button {
  background: none; border: 1px solid var(--line); color: #cfcfcf;
  padding: 9px 18px; border-radius: 999px; font: 500 15px var(--font); cursor: pointer;
  transition: all .2s;
}
.filters button:hover { border-color: var(--text); }
.filters button.on { background: var(--text); color: #000; border-color: var(--text); }

.rec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.rec-col h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.045em; display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.rec-col > p { color: var(--muted); margin-bottom: 28px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot.good { background: var(--good); }
.dot.bad { background: var(--bad); }
.rec { border: 1px solid var(--line); padding: 24px; margin-bottom: 14px; background: var(--bg); transition: border-color .2s, transform .2s; }
.rec:hover { border-color: #444; transform: translateY(-2px); }
.rec .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.rec h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 6px; }
.rec h3 a { text-decoration: none; border-bottom: 1px solid var(--dim); }
.rec h3 a:hover { border-color: var(--text); }
.rec p { color: #c0c0c0; font-size: 16px; }
.rec-head { display: flex; align-items: center; gap: 16px; }
.rec-head .logo-card { flex: none; }
.rec-head h3 { margin-bottom: 2px; }
.rec .rec-contact { color: var(--muted); font-size: 15px; }
.rec-head + p { margin-top: 12px; }
.rec .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* search and tags (Recommendations): the kinds of thing on the left; a Tags dropdown and a search box on the right */
.rec-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.rec-bar .filters { margin-bottom: 0; }
.rec-find { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1 1 100%; justify-content: flex-start; }
.rec-tag-select { position: relative; flex: 0 1 210px; }
.rec-tag-select select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 10px 40px 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--text); font: 500 15px var(--font);
}
.rec-tag-select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg);
}
.rec-tag-select select:hover, .rec-tag-select select:focus, .rec-tag-select.on select { outline: none; border-color: var(--text); }
.rec-tag-select option { background: var(--bg-raised); color: var(--text); }
.rec-search { position: relative; flex: 1 1 280px; }
.rec-search svg { position: absolute; left: 16px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.rec-search input {
  width: 100%; padding: 10px 18px 10px 42px; border: 1px solid var(--line); border-radius: 999px;
  background: none; color: var(--text); font: 500 15px var(--font);
}
.rec-search input::placeholder { color: var(--dim); }
.rec-search input:focus { outline: none; border-color: var(--text); }
button.chip { background: none; font: inherit; font-size: 14px; color: #cfcfcf; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
button.chip:hover { border-color: var(--text); color: var(--text); }
button.chip.on { background: var(--text); color: #000; border-color: var(--text); }
button.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 520px) { .rec-head { flex-direction: column; align-items: flex-start; gap: 12px; } .rec-find, .rec-tag-select, .rec-search { flex-basis: 100%; } }
.good-col .rec { border-left: 2px solid var(--good); }
.bad-col .rec { border-left: 2px solid var(--bad); }
.empty { border: 1px dashed var(--line); padding: 28px 24px; color: var(--dim); font-size: 15px; }
.note { color: var(--dim); font-size: 14px; margin-top: 48px; max-width: 46em; }

/* ---------- Footer ---------- */
.next-page { display: block; text-decoration: none; padding: clamp(60px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.next-page small { color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.next-page span { display: block; font-size: clamp(48px, 9vw, 130px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; transition: transform .35s; }
.next-page:hover span { transform: translateX(20px); }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img { animation: none; }
  .xp-panel.xp-enter { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .logo { width: 56px; height: 56px; }
  .hero { display: block; }
  .hero-photo { position: relative; width: 100%; height: 68vh; height: 68svh; }
  .hero-photo img { height: 100%;
    -webkit-mask-image: linear-gradient(#000 60%, transparent 100%); mask-image: linear-gradient(#000 60%, transparent 100%); }
  .hero-copy { padding: 0 var(--gutter) 64px; margin-top: -60px; }
  .scroll-cue { display: none; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: 1fr; }
  .xp li { grid-template-columns: 1fr; gap: 6px; }
  .xp .when { display: flex; align-items: center; gap: 14px; flex-direction: row-reverse; justify-content: flex-end; }
  .co-logo, .logo-card { width: 104px; height: 46px; padding: 8px 10px; }
  .co-logo { margin-top: 0; }
  .co-logo.co-logo-tall { padding-top: 3px; padding-bottom: 3px; }  .xp .clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-grid { grid-template-columns: 1fr; }
  .int-card { min-height: 0; }
  .int-logos:empty { display: none; }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .rec-cols { grid-template-columns: minmax(0, 1fr); }
  .wins li { grid-template-columns: 44px 1fr; }
  .wins .yr { grid-column: 2; }
  .timeline::before { left: 7px; }
  .t-item, .t-item:nth-child(odd), .t-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 56px 40px; }
  .t-item:nth-child(odd)::after, .t-item:nth-child(even)::after { left: 1px; right: auto; }
}
