/* ==========================================================================
   Faeze Qasemi — styles
   Palette & rhythm inspired by zendaya.com: warm sand background, near-black
   ink, extra-wide grotesque nav, towering condensed display type.
   ========================================================================== */

/* ---------- Fonts (self-hosted: no third-party requests, GDPR friendly) --- */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-ext.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --bg: #e3dcd0;
  --bg-deep: #d8cfc0;
  --ink: #242424;
  --ink-soft: #5b564f;
  --rule: rgba(36, 36, 36, .42);
  --accent: #a2331f;
  --tan: #cdb592;
  --maxw: 1760px;
  --radius: clamp(22px, 3.2vw, 56px);
  --radius-sm: 12px;
  --gutter: clamp(16px, 2vw, 28px);
  --nav-h: 56px;
  --display: "Anton", "Archivo", "Impact", "Arial Narrow", sans-serif;
  --wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fa: "Vazirmatn", "Tahoma", sans-serif;
  --ease: cubic-bezier(.65, .05, .2, 1);
  color-scheme: light;
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
.fa { font-family: var(--fa); direction: rtl; unicode-bidi: isolate; }

/* Bilingual content: both languages live in the markup, one is hidden. */
html[data-lang="de"] .en, html[data-lang="en"] .de { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--bg); border-radius: 999px; text-decoration: none;
  font-family: var(--wide); font-weight: 700; font-stretch: 125%; font-size: 13px; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header / navigation ----------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--bg);
}
.brand-bar { display: none; }  /* mobile only */
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
}
.nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.nav a, .lang-switch button {
  font-family: var(--wide); font-weight: 800; font-stretch: 125%;
  font-size: clamp(13px, 1.4vw, 19px); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: .45em; line-height: 1;
}
.nav a::before {
  content: ""; width: .62em; height: .62em; border-radius: 50%; background: currentColor;
  transform: scale(0); transition: transform .35s var(--ease); margin-right: -1.07em;
}
.nav a[aria-current="true"]::before { transform: scale(1); margin-right: 0; }
.nav a:hover::before { transform: scale(1); margin-right: 0; }
.nav a::before { transition: transform .35s var(--ease), margin .35s var(--ease); }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: none; cursor: pointer; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; transition: background .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Max-width wrapper (keeps the layout composed on 2K / 4K screens) */
.nav, .hero, .section, .site-footer { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* ---------- Section scaffolding ----------------------------------------- */
main { padding-top: var(--nav-h); }
.section { padding: clamp(64px, 10vw, 150px) var(--gutter) 0; position: relative; }
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .86; letter-spacing: -.005em; margin: 0;
  font-size: clamp(64px, 12.5vw, 220px);
}
.eyebrow {
  font-family: var(--wide); font-weight: 700; font-stretch: 125%; text-transform: uppercase;
  font-size: 12px; letter-spacing: .08em; margin: 0;
}
.rule { border: 0; border-top: 1.5px solid var(--rule); margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------------------------------------------------------- */
.hero { --pw: max(260px, min(34vw, 560px, calc((100svh - 330px) * .8))); padding: clamp(12px, 2vw, 28px) var(--gutter) 0; position: relative; }
.hero-name {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: 15.6vw; line-height: .82; margin: 0; white-space: nowrap; text-align: center;
  letter-spacing: -.01em; user-select: none;
}
.hero-name span { display: inline-block; }

.hero-stage-wrap { display: flex; justify-content: center; align-items: center; min-height: calc(var(--pw) * 1.25); margin-top: calc(var(--name-h, 13vw) * -0.56); position: relative; z-index: 2; }
.hero-stage {
  --w: var(--pw);
  width: var(--w); height: calc(var(--w) * 1.25);
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--bg-deep);
  box-shadow: 0 30px 80px -40px rgba(36,36,36,.45);
  transition: width .9s var(--ease), height .9s var(--ease), border-radius .9s var(--ease);
}
.hero-stage.is-wide { --w: min(66vw, 1100px); height: calc(var(--w) * .5625); }

.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.slide img { transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide video { background: #111; object-position: center; }

.reel-ui {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 12px; align-items: center;
  padding: 8px 10px; border-radius: 999px; background: rgba(227,220,208,.9); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.reel-btn {
  flex: none; border: 0; cursor: pointer; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); padding: 0;
}
.reel-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reel-btn svg { width: 14px; height: 14px; }
.reel-time { flex: none; font-family: var(--wide); font-stretch: 112%; font-weight: 700; font-size: 11.5px; font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.reel-seek {
  --p: 0%; flex: 1; min-width: 0; height: 18px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.reel-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--p), rgba(36,36,36,.22) var(--p));
}
.reel-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(36,36,36,.22); }
.reel-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.reel-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--bg); margin-top: -5px; transition: transform .2s;
}
.reel-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--bg); }
.reel-seek:hover::-webkit-slider-thumb, .reel-seek:focus-visible::-webkit-slider-thumb { transform: scale(1.25); }
.reel-seek:focus-visible { outline: none; }
.reel-seek:focus-visible::-webkit-slider-runnable-track { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }

/* Thumbnails — small rounded cards echoing the hero card */
.thumbs {
  display: flex; justify-content: center; gap: clamp(8px, 1.2vw, 16px);
  margin: clamp(18px, 2.4vw, 32px) auto 0; padding: 0; list-style: none;
}
.thumb {
  position: relative; border: 0; padding: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: clamp(70px, 5.6vw, 84px);
}
.thumb-img {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; position: relative;
  outline: 1.5px solid transparent; outline-offset: 3px;
  filter: grayscale(.9) contrast(.95); opacity: .6;
  transition: filter .5s var(--ease), opacity .5s var(--ease), outline-color .3s, transform .5s var(--ease);
}
.thumb-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.thumb:hover .thumb-img { opacity: .9; filter: none; transform: translateY(-3px); }
.thumb[aria-selected="true"] .thumb-img { opacity: 1; filter: none; outline-color: var(--ink); }
.thumb-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.35));
}
.thumb-badge span {
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg); display: grid; place-items: center;
}
.thumb-badge svg { width: 10px; height: 10px; margin-left: 2px; }
.thumb-label {
  font-family: var(--wide); font-weight: 700; font-stretch: 125%; font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; line-height: 1; white-space: nowrap; opacity: .55; transition: opacity .3s;
}
.thumb[aria-selected="true"] .thumb-label { opacity: 1; }
.thumb-progress { display: none; width: 100%; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.thumb-progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.thumb[aria-selected="true"] .thumb-progress i { animation: progress var(--dur, 6s) linear forwards; }
.thumbs.is-paused .thumb-progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

.hero-meta {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  padding: clamp(24px, 3vw, 44px) 0 0; font-family: var(--wide); font-stretch: 125%; font-weight: 700;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.hero-meta p { margin: 0; }

/* ---------- RESUME (Film&TV-style list) --------------------------------- */
.resume-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.cv-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; background: transparent;
  font-family: var(--wide); font-weight: 800; font-stretch: 125%; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.pill:hover { background: var(--ink); color: var(--bg); }
.pill--solid { background: var(--ink); color: var(--bg); }
.pill--solid:hover { background: transparent; color: var(--ink); }

.profile {
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink);
  margin-bottom: clamp(40px, 6vw, 90px);
}
.profile > div { padding: 18px 16px; border-bottom: 1.5px solid var(--rule); border-left: 1.5px solid var(--rule); }
.profile > div:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.profile dt { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.profile dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(20px, 2vw, 30px); line-height: 1.05; text-transform: uppercase; }
.profile dd small { font-family: var(--text); font-size: 13px; text-transform: none; display: block; line-height: 1.35; margin-top: 4px; }

.cv-group { margin-bottom: clamp(40px, 6vw, 90px); }
.cv-group-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.cv-group-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; margin: 0; text-transform: uppercase; }
.cv-group-head .count { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .08em; }

.cv-list { list-style: none; margin: 0; padding: 0; position: relative; }
.cv-row {
  position: relative; padding: clamp(18px, 1.9vw, 28px) 110px clamp(16px, 1.7vw, 24px) 4px;
  border-bottom: 1.5px solid var(--rule);
}
.cv-title {
  font-family: var(--wide); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.005em; margin: 0;
  position: relative; padding-left: .62em; transition: color .35s var(--ease);
}
.cv-title::before { content: ""; position: absolute; left: 0; top: .42em; width: .3em; height: .3em; border-radius: 50%; background: currentColor; }
.cv-title .tag {
  display: inline-block; vertical-align: .45em; margin-left: .7em;
  font-family: var(--wide); font-size: 10px; line-height: 1; letter-spacing: .08em; font-stretch: 125%; font-weight: 700;
  border: 1.2px solid currentColor; border-radius: 999px; padding: 5px 9px; white-space: nowrap;
}
.cv-meta {
  display: flex; flex-wrap: wrap; gap: 6px 36px; margin-top: 10px; padding-left: calc(clamp(18px, 2.2vw, 34px) * .62);
  max-width: 68%; font-size: 14.5px; line-height: 1.4;
}
.cv-meta .lbl {
  font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; opacity: .55; margin-right: 10px; vertical-align: 1px;
}
.cv-year {
  position: absolute; right: 4px; top: clamp(18px, 1.9vw, 28px);
  font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 12.5px; line-height: 1;
  padding: 6px 10px; border: 1.2px solid currentColor; border-radius: 999px; white-space: nowrap;
}

/* Zendaya-style hover: title turns sand-gold, optional image floats at the right */
.cv-preview {
  position: absolute; right: 140px; top: 0; z-index: 3; pointer-events: none;
  width: clamp(180px, 15vw, 250px); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  background: var(--bg-deep); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(var(--y, 0)) scale(.92);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.cv-preview img { width: 100%; height: 100%; object-fit: cover; }
.cv-preview.is-on { opacity: 1; transform: translateY(var(--y, 0)) scale(1); }
@media (hover: hover) and (min-width: 1025px) {
  .cv-row:hover .cv-title { color: var(--tan); }
}
@media (hover: none), (max-width: 1024px) { .cv-preview { display: none; } }

.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.skill { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--rule); }
.skill dt { font-family: var(--wide); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; padding-top: 2px; }
.skill dd { margin: 0; font-size: 15px; }

/* ---------- PRESS --------------------------------------------------------- */
.press-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end;
  margin-top: clamp(24px, 3vw, 44px);
}
.press-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-deep); }
.press-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--ease); }
.press-photo:hover img { transform: scale(1.03); }
.press-feature { padding-bottom: 8px; }
.press-feature .eyebrow { display: inline-flex; gap: 8px; align-items: center; }
.press-feature .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.press-feature h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 92px); line-height: .9; margin: 18px 0 8px; }
.press-feature .fa-title { font-family: var(--fa); font-weight: 700; font-size: clamp(26px, 3vw, 44px); margin: 0 0 22px; direction: rtl; text-align: left; }
.press-feature p { max-width: 54ch; margin: 0 0 14px; }
.facts { list-style: none; padding: 0; margin: 24px 0; border-top: 1.5px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1.5px solid var(--rule); font-size: 14.5px; }
.facts b { font-family: var(--wide); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding-top: 2px; }

.posters { margin-top: clamp(56px, 8vw, 120px); }
.posters-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); margin-bottom: 24px; }
.posters-head h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; margin: 0; }
.slider-ctrls { display: flex; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background .25s, color .25s, opacity .25s;
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }

.poster-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 340px); gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1);
  scroll-padding: 0 var(--gutter); scrollbar-width: none; cursor: grab;
  list-style: none;
}
.poster-track::-webkit-scrollbar { display: none; }
.poster-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.poster-card { scroll-snap-align: start; margin: 0; }
.poster-card .poster-img {
  aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--bg-deep);
  box-shadow: 0 20px 40px -28px rgba(0,0,0,.5); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.poster-card:hover .poster-img { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -28px rgba(0,0,0,.55); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.poster-card figcaption { padding-top: 14px; }
.poster-card h4 { font-family: var(--wide); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 15px; line-height: 1.15; margin: 0 0 4px; }
.poster-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; }
.poster-card a { font-family: var(--wide); font-weight: 800; font-stretch: 125%; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-block; margin-top: 8px; border-bottom: 1.5px solid; }
.slider-progress { height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.slider-progress i { display: block; height: 100%; width: 20%; background: var(--ink); transition: transform .3s; transform-origin: left; }

/* ---------- ABOUT ------------------------------------------------------ */
.about-name { font-size: clamp(72px, 15vw, 260px); }
.about-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(28px, 4vw, 60px); padding-top: clamp(20px, 2.4vw, 32px); border-top: 1.5px solid var(--ink);
}
.about-lede { font-family: var(--wide); font-stretch: 112%; font-weight: 600; font-size: clamp(20px, 2vw, 30px); line-height: 1.28; margin: 0; letter-spacing: -.01em; }
.about-text p { margin: 0 0 1.1em; font-size: 16.5px; max-width: 62ch; }
.about-text em { font-style: normal; font-weight: 500; }

/* ---------- CONTACT ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 90px); margin-top: clamp(28px, 4vw, 60px); padding-top: clamp(20px, 2.4vw, 32px); border-top: 1.5px solid var(--ink); }
.contact-intro p { margin: 0 0 1em; max-width: 42ch; }
.contact-intro .ig-link { display: inline-flex; align-items: center; gap: 10px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 10px 0; border-radius: 0;
  font-size: 17px; outline: none; transition: border-color .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23242424' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; cursor: pointer;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-width: 2.5px; background: rgba(255,255,255,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-bottom-color: var(--accent); }
.field .err { color: var(--accent); font-size: 13px; min-height: 1em; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); display: flex; justify-content: space-between; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 5px; margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; }
.consent input:checked { background: var(--ink); }
.consent input:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.consent input[aria-invalid="true"] { border-color: var(--accent); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14.5px; margin: 0; min-height: 1.4em; }
.form-status.ok { color: #2f5d34; }
.form-status.bad { color: var(--accent); }
.submit { font-size: 13px; padding: 16px 28px; }
.submit[disabled] { opacity: .5; cursor: progress; }

/* ---------- FOOTER ------------------------------------------------------- */
.site-footer { padding: clamp(80px, 10vw, 150px) var(--gutter) 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1.5px solid var(--ink); }
.footer-top p { margin: 0; max-width: 46ch; font-size: 15px; }
.social { display: flex; gap: 10px; }
.footer-name { font-family: var(--display); text-transform: uppercase; line-height: .82; font-size: 15.6vw; margin: 28px 0 22px; white-space: nowrap; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- LEGAL PAGES -------------------------------------------------- */
.legal { max-width: 860px; margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gutter) 0; }
.legal .display { font-size: clamp(56px, 10vw, 140px); margin-bottom: 20px; }
.legal .updated { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 20px; border-bottom: 1.5px solid var(--ink); margin: 0 0 12px; }
.legal h2 { font-family: var(--wide); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .01em; margin: 44px 0 12px; }
.legal h3 { font-family: var(--wide); font-stretch: 112%; font-weight: 700; font-size: 16px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }
.legal .note { background: var(--bg-deep); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.back-link { display: inline-flex; margin-top: 40px; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .profile { grid-template-columns: repeat(2, 1fr); }
  .profile > div:nth-child(n) { border-left: 1.5px solid var(--rule); padding-left: 16px; }
  .profile > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cv-meta { max-width: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 46px; --brand-h: 52px; }
  html { scroll-padding-top: calc(var(--nav-h) + var(--brand-h) + 8px); }
  /* Mobile: name bar + menu bar, both sticky */
  .site-header { position: sticky; top: 0; }
  .brand-bar {
    display: flex; align-items: center; justify-content: space-between; height: var(--brand-h);
    padding: 0 var(--gutter); border-bottom: 1.5px solid var(--rule);
  }
  .brand-bar a { font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; text-decoration: none; letter-spacing: .005em; }
  .nav { height: var(--nav-h); }
  .nav a { font-size: 11.5px; gap: .35em; }
  .nav .lang-switch { display: none; }
  .brand-bar .lang-switch button { font-size: 10.5px; padding: 5px 8px; }
  main { padding-top: 0; }
  .hero-name { font-size: 15.2vw; }
  .hero { --pw: 74vw; }
  .hero-stage.is-wide { --w: calc(100vw - 2 * var(--gutter)); }
  .hero-stage-wrap { margin-top: calc(var(--name-h, 13vw) * -0.35); }
  .thumbs { gap: 8px; }
  .thumb { width: 46px; }
  .thumb-label { font-size: 8.5px; visibility: hidden; }
  .thumb[aria-selected="true"] .thumb-label { visibility: visible; }
  .reel-ui { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 5px 6px; }
  .reel-btn { width: 30px; height: 30px; }
  .reel-time { font-size: 10.5px; min-width: 28px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 10.5px; }
  .profile > div { padding-top: 14px; padding-bottom: 14px; }
  .profile > div:nth-child(even) { padding-left: 12px; }
  /* Resume rows on phones: title + year on one line, then aligned label/value lines */
  .cv-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 2px 16px; align-items: start; }
  .cv-title { grid-column: 1; grid-row: 1; margin-bottom: 6px; font-size: 17px; line-height: 1.2; padding-left: 15px; }
  .cv-title::before { top: .4em; width: 6px; height: 6px; }
  .cv-title .tag { display: table; margin: 8px 0 0; font-size: 9px; padding: 4px 7px; }
  .cv-meta { display: contents; }
  .cv-row { padding-right: 2px; }
  .cv-row { display: grid; }
  .cv-meta > span:last-child {
    position: static; grid-column: 2; grid-row: 1; text-align: right; font-size: 12px; line-height: 1;
    padding: 5px 8px; border: 1.2px solid currentColor; border-radius: 999px; white-space: nowrap; margin-top: 1px;
  }
  .cv-meta > span:not(:last-child) {
    grid-column: 1 / -1; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px;
    font-size: 14px; line-height: 1.4; padding-left: 15px;
  }
  .cv-meta .lbl { margin: 0; padding-top: 3px; font-size: 9.5px; opacity: .55; }
  .skills { grid-template-columns: 1fr; }
  .skill { grid-template-columns: 1fr; gap: 4px; }
  .press-grid, .about-body, .contact-grid { grid-template-columns: 1fr; }
  .poster-track { grid-auto-columns: 64vw; }
  .form { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .footer-name { font-size: 15.2vw; }
}

@media (max-width: 400px) {
  .nav a { font-size: 10.5px; }
  .brand-bar a { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
