/* Camille Roussel — CV. Swiss editorial: paper, ink, one vermilion. */

:root {
  --paper: #F3F2EE;
  --paper-2: #E9E7E1;
  --ink: #0E0E0D;
  --ink-2: #2E2D2A;
  --mute: #74726C;
  --line: rgba(14, 14, 13, .14);
  --accent: #FF4A1C;
  --m: clamp(16px, 3.9vw, 56px);
  --gut: clamp(12px, 1.7vw, 24px);
  --top: 64px;
  --f-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Times, serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .18, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
svg { display: block; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; font-size: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.mono { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.12em; transition: transform .5s var(--e-out); }
.ic-ne { transform: rotate(-45deg); }
.ic-se { transform: rotate(45deg); }
.ic-s { transform: rotate(90deg); }
.ic-n { transform: rotate(-90deg); }
.ic-w { transform: rotate(180deg); }
.sv-s { font-family: var(--f-sans); }
.sv-m { font-family: var(--f-mono); }
.sv-mono { font-family: var(--f-sans); font-size: 46px; font-variation-settings: "wght" 800, "wdth" 78; }
.sv-ring { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 120; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- pulse ---------- */
.pulse { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.6s var(--e-out) infinite; }
.pulse::after { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(3.6); opacity: 0; } }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--top);
  display: flex; align-items: center; gap: 20px; padding-inline: var(--m);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--e-out), background-color .4s, border-color .4s;
}
.topbar.solid { background: rgba(243, 242, 238, .84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.topbar.hide { transform: translateY(-101%); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.js .topbar { opacity: 0; transition: transform .6s var(--e-out), background-color .4s, border-color .4s, opacity .8s; }
.js.ready .topbar { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand-mono { width: 32px; height: 32px; transition: transform .8s var(--e-out); }
.brand:hover .brand-mono { transform: rotate(180deg); }
.nav { position: relative; display: flex; gap: 2px; margin-inline: auto; }
.nav a { position: relative; display: flex; align-items: baseline; gap: 6px; padding: 8px 10px; font-size: 14px; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.nav a span { font-family: var(--f-mono); font-size: 10px; color: var(--mute); transition: color .3s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on span { color: var(--accent); }
.nav-ink { position: absolute; left: 0; bottom: 1px; height: 2px; width: 1px; background: var(--accent); transform-origin: left; opacity: 0; transition: transform .6s var(--e-out), opacity .3s; }
.avail-pill { display: flex; align-items: center; gap: 10px; padding: 8px 15px 8px 13px; border: 1px solid var(--ink); border-radius: 99px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s; }
.avail-pill:hover { background: var(--ink); color: var(--paper); }
.avail-pill .short { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; row-gap: 20px;
  padding: calc(var(--top) + 18px) var(--m) 26px; overflow: clip;
}
.grid-lines { position: absolute; inset: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); pointer-events: none; }
.grid-lines i { border-inline: 1px solid rgba(14, 14, 13, .055); transform-origin: top; }
.js .grid-lines i { transform: scaleY(0); transition: transform 1.8s var(--e-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js.ready .grid-lines i { transform: none; }

.hero-meta { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); padding-top: 10px; border-top: 1px solid var(--ink); }
.hero-meta > span:nth-child(n+3) { text-align: right; }
.hero-meta time { color: var(--accent); }
.js .hero-meta { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--e-io) .15s; }
.js.ready .hero-meta { clip-path: inset(0 -1% 0 0); }

.name-wrap { position: relative; align-self: center; }
.name { position: relative; margin: 0; font-weight: 400; font-size: var(--ns, 17vw); line-height: .84; letter-spacing: -.015em; }
.name-line { display: block; white-space: nowrap; clip-path: inset(-40% -10% -2% -10%); }
.l2 { text-align: right; }
.ch { display: inline-block; font-variation-settings: "wght" var(--w, 760), "wdth" var(--d, 100); }
.js .ch { transform: translateY(110%); }
.rm .ch { transform: none; }
.ch-i { position: relative; }
.tittle {
  position: absolute; left: 50%; top: var(--tt, .02em);
  width: calc(.12em + var(--wn, .82) * .055em); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, 0) scale(var(--ts, 1));
}
.js .tittle { --ts: 0; transition: transform .9s cubic-bezier(.34, 1.8, .5, 1); }
.js .tittle.on { --ts: 1; }
.tittle.land { transition: none !important; }
.intro-dot { position: fixed; z-index: 55; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; pointer-events: none; will-change: transform; transform: scale(0); }
.tittle::before, .tittle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .012em solid var(--accent); opacity: 0; }
.tittle.on::before, .tittle.on::after { animation: tring 3.2s var(--e-out) infinite 1s; }
.tittle.on::after { animation-delay: 2.6s; }
@keyframes tring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

.name-aside { position: absolute; left: 0; bottom: calc(var(--ns, 17vw) * .08); display: flex; flex-direction: column; gap: 10px; max-width: 22%; }
.name-aside > span:first-child { font-size: clamp(20px, 2.15vw, 34px); line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "wght" 620, "wdth" 100; }
.name-aside .mono { color: var(--mute); }
.js .name-aside { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--e-out) 1.2s, transform .9s var(--e-out) 1.2s; }
.js.ready .name-aside { opacity: 1; transform: none; }

.hero-badge { position: absolute; right: 0; top: calc(var(--ns, 17vw) * .02); width: calc(var(--ns, 17vw) * .62); max-width: 200px; aspect-ratio: 1; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-mono { position: absolute; inset: 27%; width: 46%; height: 46%; }
@keyframes spin { to { transform: rotate(360deg); } }
.js .hero-badge { opacity: 0; transform: scale(.6) rotate(-40deg); transition: opacity 1s var(--e-out) 1.1s, transform 1.4s var(--e-out) 1.1s; }
.js.ready .hero-badge { opacity: 1; transform: none; }

.hero-foot { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); padding-top: 16px; border-top: 1px solid var(--ink); align-items: start; }
.hf-desc { grid-column: 1 / span 5; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.35; max-width: 28em; letter-spacing: -.005em; }
.hf-avail { grid-column: 6 / span 3; }
.avail-line { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.avail-sub { margin: 6px 0 0 21px; font-size: 14px; color: var(--mute); }
.hf-links { grid-column: 9 / span 4; }
.hf-links li + li { margin-top: 2px; }
.hf-links a, .hf-links button {
  position: relative; display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 7px 0 8px; font-size: 17px; font-weight: 600; text-decoration: none; letter-spacing: -.01em;
  border-bottom: 1px solid var(--line);
}
.hf-links a::after, .hf-links button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--e-out); }
.hf-links a:hover::after, .hf-links button:hover::after { transform: scaleX(1); transform-origin: left; }
.hf-links a:hover .ic-ne { transform: rotate(0deg); }
.hf-links button:hover .ic-s { transform: rotate(90deg) translateX(3px); }
.hf-links a:hover .ic-se { transform: rotate(90deg); }
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--e-out), transform .9s var(--e-out); }
.js.ready .rise { opacity: 1; transform: none; }
.js.ready .hf-desc { transition-delay: 1.25s; }
.js.ready .hf-avail { transition-delay: 1.35s; }
.js.ready .hf-links { transition-delay: 1.45s; }

/* ---------- figures ---------- */
.figures { position: relative; background: var(--accent); color: var(--ink); padding: 22px var(--m) clamp(36px, 4vw, 56px); }
.figures-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(14, 14, 13, .45); }
.figures-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures-list li { position: relative; padding: clamp(18px, 2.4vw, 34px) var(--gut) 0 0; }
.figures-list li + li { padding-left: var(--gut); border-left: 1px solid rgba(14, 14, 13, .3); }
.fig-num { display: block; font-size: clamp(92px, 13.5vw, 228px); line-height: .78; letter-spacing: -.035em; font-variation-settings: "wght" var(--fw, 820), "wdth" 66; font-variant-numeric: tabular-nums; margin-left: -.03em; }
.fig-unit { display: block; margin-top: clamp(10px, 1.2vw, 18px); font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; letter-spacing: -.01em; }
.fig-label { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; max-width: 15em; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 168px) var(--m) 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); padding-top: 10px; border-top: 1px solid var(--ink); margin-bottom: clamp(26px, 3.6vw, 52px); }
.sec-head .n { grid-column: span 1; color: var(--accent); }
.sec-head .t { grid-column: span 5; }
.sec-head .r { grid-column: span 6; text-align: right; color: var(--mute); display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.sec-title { margin: 0 0 clamp(40px, 5.4vw, 84px); font-size: clamp(46px, 7.6vw, 128px); line-height: .9; letter-spacing: -.045em; font-variation-settings: "wght" 720, "wdth" 96; max-width: 16ch; text-wrap: balance; }
.sec-title em, .contact-title em { display: block; padding-top: .04em; }
.sec-title em, .contact-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; letter-spacing: -.02em; }

.split .w { display: inline-block; overflow: clip; overflow-clip-margin: .14em; vertical-align: top; padding: 0 .04em .1em 0; margin: 0 -.04em -.1em 0; }
.split .wi { display: inline-block; }
.js .split .wi { transform: translateY(112%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--e-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js .split.in .wi { transform: none; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--e-out), transform 1s var(--e-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: start; }
.avatar { grid-column: 1 / span 3; margin: 0; position: sticky; top: 100px; }
.avatar svg { width: 100%; height: auto; border-radius: 4px; }
.avatar figcaption { margin-top: 10px; color: var(--mute); }
.av-head, .av-sun { transform-box: fill-box; transform-origin: center; }
.av-hair { transform-box: view-box; transform-origin: 120px 120px; }
.av-body, .av-neck { transform-box: view-box; }
.js .avatar .av-head { transform: scale(0); transition: transform 1.1s cubic-bezier(.34, 1.5, .5, 1) .25s; }
.js .avatar .av-hair { transform: rotate(-160deg); opacity: 0; transition: transform 1.4s var(--e-out) .45s, opacity .4s .45s; }
.js .avatar .av-body { transform: translateY(110px); transition: transform 1.2s var(--e-out); }
.js .avatar .av-neck { transform: translateY(60px); transition: transform 1.2s var(--e-out) .1s; }
.js .avatar .av-sun { transform: scale(0); transition: transform .9s cubic-bezier(.34, 1.8, .5, 1) .9s; }
.js .avatar.in .av-head, .js .avatar.in .av-sun, .js .avatar.in .av-body, .js .avatar.in .av-neck { transform: none; }
.js .avatar.in .av-hair { transform: none; opacity: 1; }
.avatar:hover .av-hair { transform: rotate(-8deg); transition-delay: 0s; }
.avatar:hover .av-sun { transform: translate(-6px, 4px) scale(1.15); transition-delay: 0s; }
.profile-text { grid-column: 4 / span 9; font-size: clamp(30px, 4.3vw, 70px); line-height: 1.04; letter-spacing: -.035em; font-variation-settings: "wght" 520, "wdth" 100; margin-top: -.12em; }
.profile-text em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; color: var(--accent); letter-spacing: -.015em; }
.js .pw { opacity: .14; transition: opacity .5s; }
.js .pw.lit { opacity: 1; }
.profile-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); margin-top: clamp(48px, 6vw, 96px); }
.profile-cols > div { grid-column: span 3; padding-top: 12px; border-top: 1px solid var(--line); }
.profile-cols > div:first-child { grid-column: 4 / span 3; }
.profile-cols .mono { color: var(--accent); margin-bottom: 8px; }
.profile-cols p:not(.mono) { font-size: 17px; line-height: 1.45; max-width: 22em; }

/* ---------- career ---------- */
.career-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.career-year { grid-column: 1 / span 4; position: sticky; top: 108px; align-self: start; padding-top: 4px; }
.yr { display: flex; height: 1em; overflow: hidden; font-size: clamp(96px, 12.5vw, 210px); line-height: 1; letter-spacing: -.03em; font-variation-settings: "wght" 820, "wdth" 66; font-variant-numeric: tabular-nums; margin-left: -.04em; }
.odo-col { display: flex; flex-direction: column; transition: transform 1.1s var(--e-out); transition-delay: calc(var(--i, 0) * 70ms); }
.odo-col span { display: block; height: 1em; line-height: 1; }
.yr-until { display: block; margin-top: 16px; color: var(--accent); }
.yr-org { display: block; margin-top: 4px; font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; transition: opacity .4s; }
.yr-org.swap { opacity: 0; }

.tl-wrap { grid-column: 5 / span 8; position: relative; --tlp: clamp(30px, 3.4vw, 54px); padding-left: var(--tlp); }
.tl-track, .tl-fill { position: absolute; left: 8px; top: 12px; bottom: 40px; width: 1px; background: var(--line); }
.tl-fill { left: 7px; width: 3px; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rm .tl-fill, .no-js .tl-fill { transform: none; }
.role { position: relative; padding-bottom: clamp(40px, 5vw, 72px); }
.tl-node { position: absolute; left: calc(-1 * var(--tlp) - .5px); top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); transition: background .5s, border-color .5s, transform .6s var(--e-out); }
.role.lit .tl-node { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.role-head { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; width: 100%; align-items: start; }
.role-dates { grid-column: 1 / -1; color: var(--mute); }
.role-title { grid-column: 1; font-size: clamp(34px, 4.4vw, 72px); line-height: .95; text-wrap: balance; letter-spacing: -.035em; font-variation-settings: "wght" 700, "wdth" 100; transition: font-variation-settings .7s var(--e-out), color .3s; }
.role-head:hover .role-title { font-variation-settings: "wght" 820, "wdth" 112; }
.role-org { grid-column: 1; font-size: clamp(18px, 1.5vw, 22px); margin-top: 4px; }
.role-org em { font-family: var(--f-serif); font-size: 1.12em; color: var(--ink-2); }
.role-toggle { position: relative; grid-column: 2; grid-row: 2 / span 2; align-self: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; transition: transform .6s var(--e-out), background .3s, color .3s; }
.role-toggle i { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: currentColor; }
.role-toggle i + i { transform: rotate(90deg); }
.role-head:hover .role-toggle { background: var(--paper-2); }
.role.open .role-toggle { transform: rotate(135deg); background: var(--ink); color: var(--paper); }
.role-body { display: grid; grid-template-rows: 1fr; }
.js .role-body { grid-template-rows: 0fr; transition: grid-template-rows .9s var(--e-out); }
.js .role.open .role-body { grid-template-rows: 1fr; }
.role-inner { min-height: 0; overflow: hidden; }
.role-sum { margin: 20px 0 26px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; max-width: 36em; color: var(--ink-2); }
.role-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.role-stats li { padding-top: 12px; border-top: 2px solid var(--ink); }
.js .role-stats li { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--e-out), transform .7s var(--e-out); transition-delay: calc(.15s + var(--i, 0) * 90ms); }
.js .role.open .role-stats li { opacity: 1; transform: none; }
.role-stats b { display: block; font-size: clamp(38px, 3.9vw, 62px); line-height: 1; font-weight: 400; letter-spacing: -.03em; font-variation-settings: "wght" 800, "wdth" 70; white-space: nowrap; font-variant-numeric: tabular-nums; }
.role-stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-2); max-width: 15em; }
.role-award { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 16px 8px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 500; }
.role-award .ic { color: var(--accent); transform: rotate(-45deg); }

/* ---------- projects ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) clamp(16px, 2.6vw, 40px); }
.cards li:nth-child(even) { margin-top: clamp(0px, 11vw, 190px); }
.cards li:nth-child(3) { margin-top: calc(-1 * clamp(0px, 11vw, 190px)); }
.card { display: block; width: 100%; perspective: 1100px; -webkit-tap-highlight-color: transparent; }
.card:focus-visible { outline: none; }
.card:focus-visible .card-visual { outline: 2px solid var(--accent); outline-offset: 4px; }
.card-tilt { position: relative; display: block; transform-style: preserve-3d; will-change: transform; }
.card-shadow { position: absolute; inset: 10% 8% -2%; border-radius: 24px; box-shadow: 0 40px 70px -24px rgba(14, 14, 13, .55); opacity: 0; transition: opacity .6s var(--e-out); }
.card:hover .card-shadow { opacity: 1; }
.card-visual { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; isolation: isolate; background: var(--paper-2); transform: translateZ(0); }
.lyr { position: absolute; left: -3%; top: -3%; width: 106%; height: 106%; transition: transform .9s var(--e-out); }
.card:hover .lyr-b { transform: scale(1.02); }
.card-glare { position: absolute; inset: 0; border-radius: 6px; pointer-events: none; opacity: 0; mix-blend-mode: overlay; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .75), rgba(255, 255, 255, .12) 32%, rgba(255, 255, 255, 0) 60%); transition: opacity .5s; }
.card:hover .card-glare { opacity: 1; }
.card-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ink); }
.card-index { grid-row: 1 / span 2; color: var(--accent); }
.card-title { font-size: clamp(22px, 2.25vw, 34px); line-height: 1.04; letter-spacing: -.025em; font-variation-settings: "wght" 640, "wdth" 100; text-wrap: balance; }
.card-sub { grid-column: 2; color: var(--mute); }
.card-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); font-size: 18px; transition: background .35s, border-color .35s, transform .6s var(--e-out); }
.card:hover .card-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.route-run { animation: run 1.6s linear infinite; }
@keyframes run { to { stroke-dashoffset: -36; } }
.card.hidden-src .card-visual { opacity: 0; }

/* ---------- band ---------- */
.band { overflow: hidden; padding-top: clamp(90px, 11vw, 170px); }
.band-track { display: flex; align-items: center; gap: .32em; white-space: nowrap; font-size: clamp(64px, 11.5vw, 196px); line-height: 1; letter-spacing: -.045em; font-variation-settings: "wght" 800, "wdth" 108; will-change: transform; width: max-content; }
.band-track .it { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; letter-spacing: -.02em; }
.band-track i { width: .2em; height: .2em; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); border-top: 1px solid var(--line); }
.constellation { grid-column: 1 / span 8; position: relative; height: clamp(500px, 45vw, 660px); }
.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.k-link { fill: none; stroke: var(--ink); stroke-opacity: .2; stroke-width: 1; transition: stroke .35s, stroke-opacity .35s, stroke-width .35s; }
.k-link.hub { stroke-opacity: .13; }
.js .constellation:not(.in) .k-link { stroke-dashoffset: var(--len); }
.k-link.drawing { stroke-dasharray: var(--len) var(--len); transition: stroke-dashoffset 1.6s var(--e-out), stroke .35s, stroke-opacity .35s, stroke-width .35s; transition-delay: var(--dl, 0s), 0s, 0s, 0s; }
.k-hub text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; fill: var(--mute); text-transform: uppercase; }
.k-hub path { stroke: var(--accent); stroke-width: 1.5; }
.k-node { cursor: pointer; outline: none; }
.k-node .in-g { transition: transform .9s cubic-bezier(.34, 1.56, .5, 1), opacity .5s; transition-delay: var(--dl, 0s); }
.js .constellation:not(.in) .in-g { transform: scale(0); opacity: 0; }
.k-node .halo { fill: var(--accent); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--e-out); }
.k-node .dot { fill: var(--ink); transition: fill .3s, transform .5s var(--e-out); }
.k-node text { font-family: var(--f-sans); font-size: 14.5px; fill: var(--ink); font-variation-settings: "wght" 520, "wdth" 100; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; transition: font-variation-settings .4s, fill .3s; }
.k-node, .k-hub, .k-link { transition: opacity .4s; }
.has-sel .k-node:not(.sel):not(.rel) { opacity: .38; }
.has-sel .k-hub:not(.rel) { opacity: .5; }
.has-sel .k-link:not(.on) { stroke-opacity: .1; }
.k-link.on { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.6; }
.k-node.sel .dot { fill: var(--accent); transform: scale(1.45); }
.k-node.sel .halo { opacity: .16; transform: scale(1); }
.k-node.sel text { font-variation-settings: "wght" 760, "wdth" 100; }
.k-node:focus-visible .dot { stroke: var(--accent); stroke-width: 3; }

.skill-panel { grid-column: 9 / span 4; padding: 30px 0 0 var(--gut); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.sp-cluster { color: var(--accent); }
.sp-name { margin-top: 10px; font-size: clamp(32px, 3.1vw, 50px); line-height: .98; letter-spacing: -.035em; font-variation-settings: "wght" 720, "wdth" 100; }
.sp-level { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 20px 0 10px; }
.sp-level i { height: 10px; background: var(--line); transition: background .4s; transition-delay: calc(var(--i, 0) * 50ms); }
.sp-level i.on { background: var(--ink); }
.sp-years { color: var(--mute); }
.sp-desc { margin-top: 18px; font-size: 18px; line-height: 1.45; max-width: 22em; min-height: 4.4em; }
.sp-hint { margin-top: auto; padding-top: 28px; color: var(--mute); }
.skill-panel.swap .sp-name, .skill-panel.swap .sp-desc { opacity: 0; transform: translateY(8px); }
.sp-name, .sp-desc { transition: opacity .35s, transform .45s var(--e-out); }

.skills-more { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); margin-top: clamp(48px, 6vw, 88px); }
.skills-more h3 { padding-top: 10px; border-top: 1px solid var(--ink); margin-bottom: 18px; }
.tools { grid-column: 1 / span 7; }
.langs { grid-column: 8 / span 5; --i: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 15px; border: 1px solid var(--ink); border-radius: 99px; font-size: 15px; line-height: 1.2; transition: background .3s, color .3s, transform .4s var(--e-out); }
.chips li:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.langs li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.langs .lg { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.langs .lv { color: var(--mute); }
.dots { display: flex; gap: 5px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.2px solid var(--ink); }
.dots i.on { background: var(--ink); }

/* ---------- quotes ---------- */
.q-stage { display: grid; }
.q { grid-area: 1 / 1; margin: 0; visibility: hidden; transition: visibility 0s .7s; }
.q.on { visibility: visible; transition-delay: 0s; }
.q blockquote { margin: 0; }
.q blockquote p { font-family: var(--f-serif); font-size: clamp(36px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.02em; max-width: 16.5em; }
.q .qm { color: var(--accent); }
.q .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.q .wi { display: inline-block; }
.js .q .wi { transform: translateY(110%); transition: transform .9s var(--e-out); transition-delay: calc(var(--i, 0) * 22ms); }
.js .q.on .wi { transform: none; }
.js .q.out .wi { transform: translateY(-110%); transition-duration: .55s; transition-delay: calc(var(--i, 0) * 8ms); }
.q figcaption { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.js .q figcaption { opacity: 0; transform: translateY(10px); transition: opacity .6s .5s, transform .6s var(--e-out) .5s; }
.js .q.on figcaption { opacity: 1; transform: none; }
.ini { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; font-variation-settings: "wght" 700, "wdth" 82; letter-spacing: -.01em; }
.q figcaption b { display: block; font-size: 18px; font-variation-settings: "wght" 700; }
.q figcaption .mono { color: var(--mute); }
.q-tabs { display: flex; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.q-tab { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-size: 12.5px; font-variation-settings: "wght" 700, "wdth" 82; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.q-tab:hover { border-color: var(--ink); }
.q-tab.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q-tab svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.q-tab circle { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 189 189; stroke-dashoffset: 189; }
.q-tab.on circle { animation: qprog 7s linear forwards; }
.quotes:not(.inview) .q-tab.on circle, .quotes.hold .q-tab.on circle { animation-play-state: paused; }
.rm .q-tab.on circle { animation: none; stroke-dashoffset: 0; }
@keyframes qprog { to { stroke-dashoffset: 0; } }

/* ---------- contact ---------- */
.contact { position: relative; margin-top: clamp(100px, 13vw, 200px); padding: clamp(72px, 9vw, 140px) var(--m) 0; background: var(--ink); color: var(--paper); }
.contact .sec-head { border-color: rgba(243, 242, 238, .7); }
.contact .sec-head .r { color: var(--paper); }
.contact-title { margin: 0 0 clamp(36px, 4.6vw, 64px); font-size: clamp(48px, 8.6vw, 156px); line-height: .9; letter-spacing: -.05em; font-variation-settings: "wght" 720, "wdth" 96; max-width: 14ch; text-wrap: balance; }
.contact-title em { padding-top: .1em; }
.contact-title em { color: var(--accent); }
.contact-seal { position: absolute; right: var(--m); top: clamp(170px, 17vw, 260px); width: clamp(200px, 19vw, 300px); aspect-ratio: 1; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.seal-text { fill: var(--paper); font-size: 13px; }
.seal-dot { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.seal-dot::before, .seal-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); animation: tring 3.2s var(--e-out) infinite; }
.seal-dot::after { animation-delay: 1.6s; }
.contact-mail {
  display: inline-block; font-size: min(5.5vw, 84px); line-height: 1.1; letter-spacing: -.035em; font-variation-settings: "wght" 480, "wdth" 100;
  text-decoration: none; padding-bottom: .06em; white-space: nowrap;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat, linear-gradient(rgba(243, 242, 238, .28), rgba(243, 242, 238, .28)) 0 100% / 100% 1px no-repeat;
  transition: background-size .8s var(--e-out), color .3s;
}
.contact-mail:hover { background-size: 100% 3px, 100% 1px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.btn { display: inline-flex; align-items: center; gap: 14px; height: 62px; padding: 0 30px; border-radius: 99px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; transition: background .3s, color .3s, border-color .3s, transform .6s var(--e-out); will-change: transform; }
.btn > * { pointer-events: none; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--paper); }
.btn-ghost { border: 1px solid rgba(243, 242, 238, .5); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin: clamp(64px, 8vw, 120px) 0 0; }
.contact-facts div { padding-top: 12px; border-top: 1px solid rgba(243, 242, 238, .28); }
.contact-facts dt { color: rgba(243, 242, 238, .55); }
.contact-facts dd { margin: 6px 0 0; font-size: 19px; letter-spacing: -.01em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) var(--m) 0; overflow: hidden; }
.footer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 16px; border-top: 1px solid rgba(243, 242, 238, .28); font-size: 15px; }
.footer-row p { color: rgba(243, 242, 238, .78); }
.to-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.to-top:hover .ic-n { transform: rotate(-90deg) translateX(3px); }
.footer-giant { margin: clamp(28px, 4vw, 56px) 0 0; font-size: var(--gs, 22vw); line-height: .8; letter-spacing: -.055em; font-variation-settings: "wght" 860, "wdth" 100; color: var(--accent); white-space: nowrap; margin-left: -.05em; height: .64em; overflow: hidden; }
.footer-giant .c { display: inline-block; }
.js .footer-giant .c { transform: translateY(100%); transition: transform 1.2s var(--e-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .footer-giant.in .c { transform: none; }

/* ---------- detail ---------- */
.detail { position: fixed; inset: 0; z-index: 70; }
.detail[hidden] { display: none; }
.detail-bg { position: absolute; inset: 0; background: var(--paper); opacity: 0; }
.detail-sheet { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--m) 90px; }
.detail-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 72px; margin-bottom: 8px; background: linear-gradient(var(--paper) 72%, rgba(243, 242, 238, 0)); }
.detail-nav { display: flex; align-items: center; gap: 8px; }
.dn-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: border-color .3s, background .3s; }
.dn-btn:hover { border-color: var(--ink); background: var(--paper-2); }
.dn-close { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 20px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; margin-left: 6px; }
.dn-close .x { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); transition: transform .5s var(--e-out); }
.dn-close:hover .x { transform: rotate(90deg); }
.dn-close .x i { position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -.8px 0 0 -6.5px; background: var(--ink); transform: rotate(45deg); }
.dn-close .x i + i { transform: rotate(-45deg); }
.detail-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: start; }
.detail-visual { grid-column: 1 / span 7; position: sticky; top: 80px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; transform-origin: 0 0; background: var(--paper-2); z-index: 2; }
.detail-visual .lyr { transition: none; }
.detail-text { grid-column: 8 / span 5; padding-top: 4px; }
.d-kicker { color: var(--accent); }
.d-title { margin-top: 14px; font-size: clamp(40px, 4.6vw, 76px); line-height: .93; letter-spacing: -.045em; font-variation-settings: "wght" 740, "wdth" 96; }
.d-lede { margin-top: 22px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.38; letter-spacing: -.01em; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin: 34px 0 10px; }
.d-stats div { padding-top: 12px; border-top: 2px solid var(--ink); }
.d-stats b { display: block; font-size: clamp(34px, 3.2vw, 52px); line-height: 1; font-weight: 400; letter-spacing: -.03em; font-variation-settings: "wght" 800, "wdth" 70; white-space: nowrap; }
.d-stats span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.detail-text h4 { margin: 34px 0 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--mute); }
.d-award[hidden] { display: none; }
.detail-text p:not(.mono):not(.d-lede):not(.d-award) { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.d-did { counter-reset: did; }
.d-did li { position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; counter-increment: did; }
.d-did li::before { content: counter(did, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.d-tags { margin-top: 28px; }
.d-award { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px 8px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13.5px; }
.d-award .ic { color: var(--accent); transform: rotate(-45deg); }
.detail .d-in { opacity: 0; transform: translateY(22px); }
.detail.open .d-in { opacity: 1; transform: none; transition: opacity .8s var(--e-out), transform .9s var(--e-out); transition-delay: calc(.28s + var(--i, 0) * 55ms); }
.detail.closing .d-in { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; transition-delay: 0s; }
.detail-text.swap { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.detail-text { transition: opacity .45s var(--e-out), transform .55s var(--e-out); }
.locked { overflow: hidden; }

/* ---------- cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .k-node { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); transition: opacity .3s, width .3s, height .3s, margin .3s; }
.cursor-ring i { position: absolute; left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(14, 14, 13, .55); transition: transform .5s var(--e-out), background .35s, border-color .35s, opacity .3s; }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .25s; font-weight: 500; }
.cursor.big .cursor-ring i { transform: scale(2.15); background: var(--accent); border-color: var(--accent); }
.cursor.big .cursor-label { opacity: 1; }
.cursor.big .cursor-dot { opacity: 0; }
.cursor.link .cursor-ring i { transform: scale(1.5); border-color: var(--accent); }
.cursor.dark .cursor-ring i { border-color: rgba(243, 242, 238, .6); }
.cursor.dark.link .cursor-ring i { border-color: var(--accent); }
.cursor.away .cursor-dot, .cursor.away .cursor-ring i { opacity: 0; }

/* ---------- print-only CV (shown by print.css) ---------- */
.print-cv { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a span { display: none; }
  .nav a { padding: 8px 8px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .topbar { justify-content: space-between; }
  .hf-desc { grid-column: 1 / span 6; }
  .hf-avail { grid-column: 7 / span 6; }
  .hf-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
  .hf-links li + li { margin-top: 0; }
  .career-year { grid-column: 1 / span 3; }
  .tl-wrap { grid-column: 4 / span 9; }
  .role-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .constellation { grid-column: 1 / -1; }
  .skill-panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .sp-hint { margin-top: 16px; padding-top: 0; }
  .tools, .langs { grid-column: 1 / -1; }
  .detail-visual { grid-column: 1 / -1; position: relative; top: 0; }
  .detail-text { grid-column: 1 / -1; max-width: 720px; }
  .contact-facts { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .contact-seal { width: 170px; top: 150px; }
}
@media (max-width: 759px) {
  :root { --top: 58px; }
  body { font-size: 16px; }
  .brand-name { display: none; }
  .avail-pill { padding: 7px 13px 7px 11px; font-size: 12.5px; }
  .avail-pill .long { display: none; }
  .avail-pill .short { display: inline; }
  .hero { row-gap: 16px; padding-bottom: 22px; }
  .grid-lines { grid-template-columns: repeat(4, 1fr); }
  .grid-lines i:nth-child(n+5) { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; row-gap: 2px; font-size: 10px; }
  .hero-meta > span:nth-child(odd) { text-align: left; }
  .hero-meta > span:nth-child(even) { text-align: right; }
  .name-wrap { align-self: center; padding-bottom: 0; }
  .l2 { text-align: left; }
  .name-aside { position: relative; left: auto; bottom: auto; max-width: 62%; margin-top: 22px; gap: 8px; }
  .name-aside > span:first-child { font-size: 26px; }
  .hero-badge { top: auto; bottom: -6px; width: 104px; }
  .hero-foot { grid-template-columns: 1fr; row-gap: 18px; padding-top: 14px; }
  .hf-desc, .hf-avail, .hf-links { grid-column: 1; }
  .hf-desc { font-size: 17px; }
  .hf-links { display: block; }
  .hf-links li + li { margin-top: 0; }
  .figures-list { grid-template-columns: 1fr 1fr; }
  .figures-list li { padding-bottom: 22px; }
  .figures-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures-list li:nth-child(n+3) { border-top: 1px solid rgba(14, 14, 13, .3); }
  .fig-num { font-size: 31vw; }
  .sec-head .t { grid-column: span 6; }
  .sec-head .r { grid-column: span 5; font-size: 10px; }
  .sec-head .r .pulse { display: none; }
  .sec-title { font-size: clamp(44px, 12.4vw, 64px); }
  .profile-text { font-size: clamp(29px, 8.4vw, 40px); }
  .profile-cols > div, .profile-cols > div:first-child { grid-column: 1 / -1; }
  .avatar { grid-column: 1 / span 5; position: relative; top: 0; margin-bottom: 18px; }
  .avatar figcaption { font-size: 9.5px; }
  .profile-text { grid-column: 1 / -1; margin-top: 0; }
  .profile-cols { row-gap: 22px; }
  .career-year { display: none; }
  .tl-wrap { grid-column: 1 / -1; --tlp: 30px; }
  .role-head { grid-template-columns: 1fr auto; column-gap: 14px; }
  .role-toggle { width: 42px; height: 42px; }
  .role-stats { column-gap: 14px; }
  .role-stats b { font-size: 40px; }
  .cards { grid-template-columns: 1fr; }
  .cards li:nth-child(even), .cards li:nth-child(3) { margin-top: 0; }
  .card-arrow { width: 40px; height: 40px; }
  .constellation { height: 720px; margin-inline: calc(-1 * var(--m)); }
  .k-node text { font-size: 13px; stroke-width: 4px; }
  .skill-panel { position: sticky; bottom: 0; z-index: 3; margin-inline: calc(-1 * var(--m)); padding: 16px var(--m) 18px; background: rgba(243, 242, 238, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--ink); }
  .sp-name { font-size: 28px; margin-top: 6px; }
  .sp-level { margin: 12px 0 8px; }
  .sp-level i { height: 7px; }
  .sp-desc { margin-top: 8px; font-size: 15.5px; min-height: 2.9em; }
  .sp-hint { display: none; }
  .q blockquote p { font-size: clamp(32px, 9.4vw, 44px); }
  .contact-title { font-size: clamp(46px, 13vw, 68px); }
  .contact-seal { display: none; }
  .contact-mail { font-size: 5.6vw; }
  .btn { height: 56px; padding: 0 24px; font-size: 16px; width: 100%; justify-content: space-between; }
  .contact-facts { grid-template-columns: 1fr 1fr; }
  .contact-facts dd { font-size: 17px; }
  .footer-row { flex-direction: column; gap: 12px; }
  .detail-bar { height: 64px; }
  .dn-close { padding-left: 16px; }
  .d-stats { grid-template-columns: 1fr 1fr 1fr; column-gap: 12px; }
  .d-stats b { font-size: 32px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse::before, .pulse::after, .tittle::before, .tittle::after { display: none; }
  .badge-ring, .seal-ring { animation: none; }
  .seal-dot::before, .seal-dot::after { display: none; }
}
