/* ---------- Tokens ---------- */
:root {
  --bg: #FAFAF8;
  --ink: #141414;
  --ink-2: #45453F;
  --ink-3: #5C5C57;
  --line: #ECECE8;
  --line-2: #E2E2DC;
  --chip-line: #DADAD4;
  --hover: #EFEFEA;
  --accent: #141414;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: var(--sans); /* emphasis = Geist italic */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5.4vw, 112px);
  --col-gap: clamp(20px, 2.6vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1920px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(13px, 1.05vw, 20px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow.sm { font-size: 13px; letter-spacing: .06em; }
.experience-link {
  text-decoration: none;
  color: var(--ink-3);
}

/* underline-on-hover links */
.u {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease;
}
.u:hover { background-size: 100% 1px; }
.arrow { display: inline-block; color: var(--accent); transition: transform .2s ease; }
a:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 250, 248, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: clamp(64px, 5.4vw, 104px); padding-top: 8px; padding-bottom: 8px; }
.logo { font-weight: 600; font-size: clamp(17px, 1.1vw, 22px); letter-spacing: -.01em; text-decoration: none; padding: 10px 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 1.7vw, 34px); font-size: clamp(15px, 1vw, 20px); font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }
.tab { position: relative; color: var(--ink-2); }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 2px; background: currentColor; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 180px); padding-bottom: clamp(40px, 4.8vw, 60px); display: flex; flex-direction: column; gap: clamp(14px, 1.3vw, 26px); }
.hero h1 { margin: 0; max-width: 34ch; font-size: clamp(30px, 1.9vw + 16px, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }

/* ---------- Work grid ---------- */
.work { padding-bottom: clamp(64px, 7vw, 140px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 2.4vw, 48px); }
.chip {
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--chip-line); background: #fff;
  font-size: 14px; font-weight: 500;
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
}
.chip:hover { background: var(--hover); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.col { min-width: 0; display: flex; flex-direction: column; gap: clamp(36px, 3.6vw, 72px); }
.col.offset { padding-top: clamp(48px, 7vw, 140px); }
@media (max-width: 720px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 3.6vw, 72px); }
  .col.offset { padding-top: 0; }
}

.card { text-align: left; border: none; background: transparent; padding: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.1vw, 20px); width: 100%; }
.media {
  position: relative; width: 100%; aspect-ratio: 4 / 3.3; container-type: inline-size;
  border-radius: clamp(14px, 1.2vw, 22px); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.media > * { transition: transform .8s var(--ease); }
.card:hover .media { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20, 20, 20, .12); }
.card:hover .media > * { transform: scale(1.04); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-title { font-size: clamp(16px, 1.15vw, 22px); font-weight: 600; line-height: 1.3; }
.card-title .go { display: inline-block; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; }
.card:hover .go, .card:focus-visible .go { opacity: 1; transform: none; }
.card-org { font-family: var(--mono); font-size: clamp(11px, .75vw, 14px); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* stat card */
.stat { width: 100%; height: 100%; padding: clamp(20px, 7cqi, 56px); display: flex; flex-direction: column; justify-content: space-between; }
.stat-kicker { font-family: var(--mono); font-size: clamp(11px, 2.6cqi, 16px); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.stat-big { display: block; font-family: var(--sans); font-style: normal; font-weight: 500; letter-spacing: -.04em; font-size: clamp(56px, 19cqi, 160px); line-height: 1.05; padding-bottom: 20px; padding-left: .04em; }
.stat-sub { display: block; margin-top: .4em; font-size: clamp(14px, 3.6cqi, 26px); font-weight: 500; }

/* ---------- Covers (designed placeholders) ---------- */
.cv { position: absolute; inset: 0; --u: calc(clamp(10px, 3.4cqi, 22px) / 16); font-size: calc(16 * var(--u)); display: flex; align-items: center; justify-content: center; padding: calc(28 * var(--u)); color: var(--ink); }
.cv .mono { font-family: var(--mono); }
.cv-card { background: #fff; border-radius: calc(18 * var(--u)); }

.cv-split { background: #D6E6E8; }
.cv-split .ghost { position: absolute; width: 58%; height: 72%; background: #fff; opacity: .55; border-radius: calc(18 * var(--u)); transform: rotate(-6deg) translate(-18px, calc(6 * var(--u))); }
.cv-split .bill { position: relative; width: 62%; min-width: calc(220 * var(--u)); box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(20, 40, 44, .16); padding: calc(20 * var(--u)) calc(20 * var(--u)) calc(16 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.cv-split .row { display: flex; justify-content: space-between; align-items: baseline; }
.cv-split .toggle { display: flex; background: #EEF3F3; border-radius: 999px; padding: 3px; font-size: calc(12 * var(--u)); font-weight: 600; }
.cv-split .toggle span { flex: 1; text-align: center; padding: calc(6 * var(--u)); border-radius: 999px; color: #3A4A4C; }
.cv-split .toggle .on { background: #1F4A50; color: #fff; }
.cv-split .person { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 500; }
.cv-split .av { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; color: #fff; font-size: calc(12 * var(--u)); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cv-split .person .name { flex: 1; }
.cv-split .ai { display: flex; align-items: center; gap: calc(8 * var(--u)); background: #F3F0FF; color: #3B2F7A; border-radius: calc(10 * var(--u)); padding: calc(8 * var(--u)) calc(10 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 500; }

.cv-nutri { background: #FBE2DA; }
.cv-nutri .chat { width: 74%; min-width: calc(240 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.cv-nutri .me { align-self: flex-end; max-width: 80%; background: var(--ink); color: #fff; border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)) calc(18 * var(--u)); padding: calc(11 * var(--u)) calc(15 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.4; }
.cv-nutri .bot-row { display: flex; gap: calc(8 * var(--u)); align-items: flex-end; }
.cv-nutri .bot-av { width: calc(30 * var(--u)); height: calc(30 * var(--u)); flex: none; border-radius: 50%; background: #C8664A; color: #fff; font-size: calc(12 * var(--u)); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cv-nutri .bot { flex: 1; border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)); padding: calc(12 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); box-shadow: 0 calc(12 * var(--u)) calc(30 * var(--u)) rgba(120, 50, 30, .12); font-size: calc(13 * var(--u)); color: #4A3A35; }
.cv-nutri .recipe { display: flex; align-items: center; gap: calc(10 * var(--u)); background: #FBF4F1; border-radius: calc(12 * var(--u)); padding: calc(8 * var(--u)); }
.cv-nutri .thumb { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: calc(10 * var(--u)); flex: none; }
.cv-nutri .recipe b { display: block; font-size: calc(13 * var(--u)); color: var(--ink); }
.cv-nutri .recipe small { font-family: var(--mono); font-size: calc(11 * var(--u)); color: #6A5650; }

.cv-adhd { background: #F3E7C4; }
.cv-adhd .flow { display: flex; align-items: center; gap: calc(22 * var(--u)); width: 88%; }
.cv-adhd .left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.cv-adhd .label { font-family: var(--mono); font-size: calc(11 * var(--u)); letter-spacing: calc(1.5 * var(--u)); text-transform: uppercase; color: #5B4E2E; }
.cv-adhd .matrix { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; aspect-ratio: 1 / 1; background: #fff; padding: calc(6 * var(--u)); border-radius: calc(10 * var(--u)); box-shadow: 0 calc(12 * var(--u)) calc(30 * var(--u)) rgba(90, 70, 20, .14); }
.cv-adhd .matrix span { border-radius: 2px; }
.cv-adhd .tasks { display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.cv-adhd .task { background: #fff; border-radius: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); display: flex; flex-direction: column; gap: 2px; }
.cv-adhd .task small { font-family: var(--mono); font-size: calc(11 * var(--u)); color: #5B4E2E; }
.cv-adhd .task b { font-size: calc(16 * var(--u)); }
.cv-adhd .rank { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: calc(26 * var(--u)); color: var(--accent); }

.cv-hopper { background: #D9DBF5; flex-direction: column; gap: calc(16 * var(--u)); }
.cv-hopper .ring { position: relative; width: calc(190 * var(--u)); height: calc(190 * var(--u)); }
.cv-hopper .time { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.cv-hopper .time b { font-family: var(--mono); font-size: calc(34 * var(--u)); font-weight: 500; color: #1E1F4A; }
.cv-hopper .time small { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: calc(1.5 * var(--u)); text-transform: uppercase; color: #4A4C7A; }
.cv-hopper .pips { display: flex; align-items: center; gap: calc(6 * var(--u)); background: #fff; border-radius: 999px; padding: calc(8 * var(--u)) calc(14 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; color: #1E1F4A; }
.cv-hopper .pip { width: calc(14 * var(--u)); height: calc(14 * var(--u)); background: #4B4FC4; }
.cv-hopper .pip.off { background: #E4E5F8; }
.cv-hopper .pips span:last-child { margin-left: calc(6 * var(--u)); }

.cv-airbnb { background: #F9E6E3; }
.cv-airbnb .chart { width: 82%; min-width: calc(260 * var(--u)); box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(120, 40, 40, .12); padding: calc(18 * var(--u)) calc(18 * var(--u)) calc(12 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.cv-airbnb .head { display: flex; justify-content: space-between; align-items: baseline; gap: calc(8 * var(--u)); font-size: calc(16 * var(--u)); }
.cv-airbnb .legend { display: flex; gap: calc(12 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 500; color: #4A4A45; }
.cv-airbnb .legend i { display: inline-block; width: calc(12 * var(--u)); height: 3px; margin-right: calc(5 * var(--u)); vertical-align: middle; }
.cv-airbnb .tags { display: flex; flex-wrap: wrap; gap: calc(6 * var(--u)); }
.cv-airbnb .tags span { font-size: calc(11 * var(--u)); font-weight: 600; padding: calc(4 * var(--u)) calc(9 * var(--u)); border-radius: 999px; background: #F2F2EE; }
.cv-airbnb .tags .on { background: var(--ink); color: #fff; }

.cv-hopper .ring svg { width: 100%; height: 100%; display: block; }
.cv svg.ico { width: calc(14 * var(--u)); height: calc(14 * var(--u)); flex: none; }
.cv-adhd .arrow-svg { width: calc(34 * var(--u)); height: calc(20 * var(--u)); flex: none; }

/* ---------- Experience ---------- */
.page { padding-top: clamp(56px, 7vw, 140px); padding-bottom: clamp(64px, 7vw, 140px); display: flex; flex-direction: column; gap: 28px; }
.page-title { margin: 0 0 12px; max-width: 30ch; font-size: clamp(28px, 1.6vw + 14px, 52px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.exp-list { border-top: 1px solid var(--line-2); }
.exp { border-bottom: 1px solid var(--line-2); }
.exp-row {
  width: 100%; text-align: left; border: none; background: transparent;
  padding: 22px 12px; display: grid; align-items: center; column-gap: clamp(16px, 2vw, 32px); row-gap: 10px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) 210px 170px 20px;
  grid-template-areas: "org title areas dates sign";
  transition: background-color .2s ease;
}
.exp-row:hover { background: #F3F3EF; }
.exp-org { display: flex; align-items: center; gap: clamp(10px, .9vw, 16px); grid-area: org; min-width: 0; font-size: clamp(17px, 1.2vw, 24px); font-weight: 600; }
.exp-logo {
  position: relative; flex: none; width: clamp(26px, 1.8vw, 34px); height: clamp(26px, 1.8vw, 34px);
  display: flex; align-items: center; justify-content: center;
}
.exp-logo::before { content: attr(data-initial); position: absolute; font-size: .8em; font-weight: 600; color: var(--ink-3); }
.exp-logo:has(img)::before { display: none; }
.exp-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.areas { display: flex; flex-wrap: wrap; gap: 6px; }
.areas span { font-family: var(--mono); font-size: clamp(10.5px, .7vw, 13px); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); padding: 3px 9px; border: 1px solid var(--chip-line); border-radius: 999px; white-space: nowrap; }
.stat-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.stat .areas span { color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.media-areas { position: absolute; top: clamp(12px, 3cqi, 22px); right: clamp(12px, 3cqi, 22px); z-index: 2; }
.media-areas span { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-color: rgba(20, 20, 20, .1); }
.exp-areas { grid-area: areas; justify-content: flex-start; }
.exp-title { grid-area: title; font-size: clamp(15px, 1vw, 19px); color: var(--ink-2); }
.exp-dates { grid-area: dates; font-family: var(--mono); font-size: 13px; color: var(--ink-3); text-align: right; }
.exp-sign { grid-area: sign; font-size: 20px; color: var(--accent); text-align: right; }
.exp-body { padding: 0 12px 26px; display: flex; flex-direction: column; gap: 14px; max-width: 72ch; animation: rowIn .35s ease; }
.exp-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: #2F2F2A; }
.mono-link { align-self: flex-start; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: clamp(32px, 4vw, 72px); align-items: center; }
.about-text { min-width: 0; max-width: 78ch; display: flex; flex-direction: column; gap: clamp(16px, 1.2vw, 22px); }
.about-hi { margin: 0; font-size: clamp(30px, 1.6vw + 16px, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.about-meta { list-style: none; margin: 0 0 clamp(8px, 1vw, 16px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--mono); font-size: clamp(13px, .85vw, 16px); letter-spacing: .02em; color: var(--ink-3); }
.about-meta li { display: flex; align-items: center; gap: 8px; }
.about-meta svg { flex: none; }
.about-text p { margin: 0; font-size: clamp(16px, .45vw + 12px, 18px); line-height: 1.75; color: var(--ink); font-weight: 400;}
.about-frame { width: 100%; max-width: 400px; justify-self: end; margin: 0; background: #fff; padding: clamp(10px, .9vw, 16px); border-radius: clamp(14px, 1vw, 20px); box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 10px 30px rgba(20, 20, 20, .06); transition: transform .45s var(--ease), box-shadow .45s ease; }
.about-frame:hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 2px 4px rgba(20, 20, 20, .05), 0 18px 40px rgba(20, 20, 20, .1); }
.about-frame .frame-inner { overflow: hidden; border-radius: clamp(8px, .6vw, 12px); }
.about-frame img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: 30% 50%; transition: transform .8s var(--ease); }
.about-frame:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-frame { order: -1; justify-self: start; max-width: 440px; }
}

/* ---------- Photo carousel (auto-scrolling marquee) ---------- */
.carousel { margin-top: clamp(56px, 6vw, 120px); }
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  --gap: clamp(12px, 1.4vw, 24px);
  display: flex; gap: var(--gap); width: max-content;
  padding: 4px 0 12px;
  animation: marquee var(--duration, 40s) linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.slide { flex: 0 0 clamp(220px, 22vw, 400px); margin: 0; display: flex; flex-direction: column; gap: 10px; }
.slide-media { position: relative; aspect-ratio: 4 / 5; border-radius: clamp(12px, 1vw, 18px); overflow: hidden; background: #ECECE7; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8A8A84; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: 1.5px dashed #D6D6D0; border-radius: inherit; }
.slide figcaption { font-size: clamp(14px, .85vw, 16px); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .carousel-viewport { overflow-x: auto; }
  .slide[aria-hidden="true"] { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: clamp(48px, 5vw, 100px); padding-bottom: clamp(32px, 3vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer-left { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-left h2 { margin: 0; font-size: clamp(28px, 1.6vw + 14px, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.email-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.email { font-size: clamp(18px, 1.3vw, 26px); font-weight: 500; padding: 6px 0; }
.copied { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.copied.show { animation: rowIn .35s ease; }
.footer-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.socials { display: flex; gap: 8px; }
.soc {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink-2); background: transparent; border: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.soc:hover { color: var(--ink); background: var(--hover); transform: translateY(-2px); }
.totop {
  width: auto; height: 44px; padding: 0 16px 0 12px; gap: 8px; border-radius: 999px;
  border: 1px solid var(--chip-line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.totop .up { transition: transform .25s ease; }
.totop:hover .up { transform: translateY(-3px); }
.credit { margin: 24px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Dialog ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 20, .45);
  display: flex; align-items: flex-end; justify-content: center; padding: 24px;
  animation: fadeIn .25s ease;
}
.sheet {
  position: relative; width: 100%; max-width: 820px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  animation: sheetIn .45s cubic-bezier(.2, .8, .2, 1);
}
.sheet-media { position: relative; height: clamp(220px, 34vw, 340px); overflow: hidden; container-type: inline-size; }
.sheet-media .cv { --u: calc(clamp(10px, 2.4cqi, 15px) / 16); }
.sheet-media .stat { justify-content: center; padding: clamp(28px, 6cqi, 56px) clamp(28px, 7cqi, 64px); }
.sheet-media .stat-big { font-size: clamp(56px, 11cqi, 100px); padding-bottom: .12em; }
.close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.sheet-body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 18px; }
.sheet-body h3 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.sheet-body p { margin: 0; font-size: 18px; line-height: 1.65; color: #2F2F2A; }
.sheet-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: #2F2F2A; }
.sheet-body ul:empty { display: none; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 6px; background: #F1F1EC; color: #2F2F2A; }
.btn-dark { align-self: flex-start; margin-top: 8px; text-decoration: none; color: #fff; background: var(--ink); padding: 14px 22px; border-radius: 999px; font-weight: 500; }
.btn-dark:hover { color: #fff; background: #2A2A26; }
body.no-scroll { overflow: hidden; }
@media (max-width: 900px) {
  .exp-row { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "org sign" "title title" "areas areas" "dates dates"; }
  .exp-dates { text-align: left; }
  .exp-sign { align-self: start; }
}
@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .footer-right { align-items: flex-start; }
  .sheet-body { padding: 28px 22px 28px; }
  .backdrop { padding: 12px; }
}

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .9s var(--ease) backwards; }
.d1 { animation-delay: .1s; }
.panel-in { animation: fadeUp .55s var(--ease) backwards; }
@supports (animation-timeline: view()) {
  .reveal { animation: fadeUp linear backwards; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
