/* =========================================================
   Alex Soulis — portfolio
   Hand-built. No frameworks. One stylesheet.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../assets/fonts/inter-tight.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0b;
  --ink-2: #101012;
  --ink-3: #17171a;
  --bone: #f2eee6;
  --bone-2: #e7e2d7;
  --muted: #918d84;
  --muted-2: #8a867d;
  --ember: #ff4e1a;
  --ember-deep: #d93a0c;
  --line: rgba(242, 238, 230, 0.14);
  --line-strong: rgba(242, 238, 230, 0.3);
  --bg: var(--ink);
  --fg: var(--bone);
  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-3: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
  --header-h: 84px;
  --radius: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.52vw + 13px, 17px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
fieldset { border: 0; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
[hidden] { display: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Helpers ---------- */
.shell {
  width: 100%;
  max-width: 1720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 6.4vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; }
.label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* Reveal system */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-inview { opacity: 1; transform: none; }

/* No-JS safety: never hide content */
html.no-js .mask__inner { transform: none; }
html.no-js .menu-toggle { display: none; }
html.no-js .mobile-menu { display: none; }

/* Runtime safety: if JS fails, show everything instead of hiding it */
html.reveal-fallback [data-reveal] { opacity: 1; transform: none; transition: none; }
html.reveal-fallback .mask__inner { transform: none; }
html.reveal-fallback .loader { display: none !important; }

/* Image fallbacks */
.has-img-fallback {
  background: linear-gradient(135deg, #1c1c21 0%, #0a0a0b 55%, #2b1108 100%);
}
img.is-broken { opacity: 0; }

/* Grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain-shift 7s steps(6) infinite;
  will-change: transform;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, -1%); }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 140;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 400;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .cursor.is-active { opacity: 1; }
  .cursor__dot,
  .cursor__ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__dot {
    width: 5px; height: 5px;
    background: var(--ember);
  }
  .cursor__ring {
    width: 38px; height: 38px;
    border: 1px solid rgba(242, 238, 230, 0.55);
    display: grid;
    place-items: center;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
  }
  .cursor__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s, transform 0.35s var(--ease);
    white-space: nowrap;
  }
  .cursor.is-hover .cursor__ring {
    width: 66px; height: 66px;
    border-color: rgba(255, 78, 26, 0.9);
  }
  .cursor.is-view .cursor__ring {
    width: 92px; height: 92px;
    background: var(--ember);
    border-color: var(--ember);
  }
  .cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-hidden { opacity: 0; }
  html.has-cursor,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor label { cursor: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--ink);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-2);
}
html.no-js .loader { display: none; }
body.is-loaded .loader {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.loader__inner {
  width: min(90vw, 860px);
  display: grid;
  gap: clamp(18px, 3vh, 34px);
}
.loader__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader__count {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  gap: 0.2em;
}
.loader__count sup {
  font-family: var(--font-mono);
  font-size: 0.09em;
  letter-spacing: 0;
  margin-top: 0.6em;
  color: var(--ember);
}
.loader__bar {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ember);
  transition: width 0.2s linear;
}
.loader__row--bottom { color: var(--muted-2); }

/* ---------- Header ---------- */
.site-head {
  --head-fg: var(--bone);
  --head-line: rgba(242, 238, 230, 0.22);
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 100%;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--head-fg);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.site-head.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.site-head.is-on-light {
  --head-fg: #0d0d0e;
  --head-line: rgba(13, 13, 14, 0.24);
  --ember: #bf340a;
}
.site-head.is-on-light.is-scrolled {
  background: rgba(242, 238, 230, 0.82);
  border-bottom-color: rgba(13, 13, 14, 0.12);
}
.site-head.is-hidden { transform: translateY(-100%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--head-line);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: -0.04em;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.brand:hover .brand__mark {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ink);
  transform: rotate(-8deg);
}
.brand__name {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 38px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-block: 6px;
}
.nav__link span {
  font-size: 0.5625rem;
  color: var(--ember);
  letter-spacing: 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link.is-active { color: var(--ember); }
.nav__link.is-active span { color: var(--head-fg); }

.head-meta { display: flex; align-items: center; gap: 20px; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--head-line);
  border-radius: 999px;
  flex-shrink: 0;
}
.lang__btn {
  padding: 5px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--head-fg);
  opacity: 0.58;
  transition: background 0.25s, color 0.25s, opacity 0.25s;
}
.lang__btn:hover { opacity: 1; }
.lang__btn.is-active {
  background: var(--ember);
  color: var(--ink);
  opacity: 1;
}
.site-head.is-on-light .lang__btn.is-active { color: var(--bone); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7df7a0;
  box-shadow: 0 0 0 0 rgba(125, 247, 160, 0.55);
  animation: pulse 2.6s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 247, 160, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(125, 247, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 247, 160, 0); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease);
  will-change: transform;
}
.btn--head {
  border: 1px solid var(--head-line);
  color: var(--head-fg);
}
.btn--head:hover { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.btn__arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-toggle__lines { display: grid; gap: 5px; width: 20px; }
.menu-toggle__lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), width 0.4s;
}
.menu-toggle__lines i:last-child { width: 70%; margin-left: auto; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { width: 100%; transform: translateY(-3px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bone);
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-2);
  visibility: hidden;
}
.mobile-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}
.mobile-menu__inner {
  height: 100%;
  padding: calc(var(--header-h) + 4vh) var(--gutter) 5vh;
  display: flex;
  flex-direction: column;
  gap: 4vh;
  overflow-y: auto;
}
.mobile-menu__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 13, 14, 0.14);
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 10vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.mobile-menu nav a span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0;
  color: var(--ember);
}
.mobile-menu nav a:hover { color: var(--ember); padding-left: 10px; }
.mobile-menu__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.mobile-menu__foot a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.08);
  filter: saturate(0.8) contrast(1.06) brightness(0.58);
  will-change: transform;
  animation: hero-drift 24s var(--ease-3) infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.4%, -1%, 0); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.66) 0%, rgba(10, 10, 11, 0.1) 32%, rgba(10, 10, 11, 0.06) 50%, rgba(10, 10, 11, 0.88) 88%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.62) 0%, rgba(10, 10, 11, 0.1) 55%, rgba(10, 10, 11, 0.25) 100%),
    radial-gradient(60% 60% at 80% 65%, rgba(255, 78, 26, 0.12), transparent 70%);
}
.hero__spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 78, 26, 0.16), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s;
}
.hero__spot.is-live { opacity: 1; }

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 3vh;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 5vh, 60px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242, 238, 230, 0.78);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 18px rgba(255, 78, 26, 0.8);
}
.eyebrow--right { color: rgba(242, 238, 230, 0.5); }

.hero__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(4.4rem, 15vw, 15.5rem);
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0;
}
.hero__line { display: block; }
.hero__line--2 {
  margin-left: clamp(0px, 12vw, 15%);
  text-transform: none;
}
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}
.mask__inner {
  display: block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.35s var(--ease);
  will-change: transform;
}
.mask__inner--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.02em;
  letter-spacing: -0.035em;
  line-height: 0.86;
}
.mask__inner--serif::after {
  content: '.';
  color: var(--ember);
  font-style: normal;
}
body.is-loaded .mask__inner { transform: none; }
body.is-loaded .hero__line--2 .mask__inner { transition-delay: 0.1s; }

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(28px, 5.5vh, 64px);
  max-width: 1180px;
}
.hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, 0.4vw + 0.85rem, 1.2rem);
  line-height: 1.5;
  color: rgba(242, 238, 230, 0.78);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.btn--primary {
  background: var(--bone);
  color: var(--ink);
  padding: 18px 26px;
}
.btn--primary:hover { background: var(--ember); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(242, 238, 230, 0.28);
  transition: color 0.3s, border-color 0.3s, gap 0.35s var(--ease);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--ember); border-color: var(--ember); gap: 15px; }
.link-arrow:hover span { transform: translate(2px, -2px); }

.hero__foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 28px;
  border-top: 1px solid rgba(242, 238, 230, 0.16);
  padding-block: 22px 26px;
}
.hero__currently p,
.hero__loc p {
  margin-top: 7px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--bone);
}
.hero__currently p span,
.hero__loc p span:last-child { color: var(--muted); }
.hero__loc { text-align: right; }
.hero__loc p { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  justify-self: center;
}
.scroll-cue__track {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(242, 238, 230, 0.2);
  overflow: hidden;
  position: relative;
}
.scroll-cue__line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 40%;
  background: var(--ember);
  animation: scroll-line 2.2s var(--ease-3) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-110%); }
  55%, 100% { transform: translateY(260%); }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 3;
  background: var(--ember);
  color: var(--ink);
  overflow: hidden;
  padding-block: 13px;
  border-top: 1px solid rgba(10, 10, 11, 0.15);
  border-bottom: 1px solid rgba(10, 10, 11, 0.15);
}
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker__set {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__set i {
  font-style: normal;
  padding-inline: 26px;
  font-size: 0.85em;
  opacity: 0.65;
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 12vh, 11rem);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.chapter--light {
  --bg: #f2eee6;
  --fg: #0d0d0e;
  --muted: #6d6961;
  --muted-2: #6f6a61;
  --ember: #bf340a;
  --line: rgba(13, 13, 14, 0.16);
  --line-strong: rgba(13, 13, 14, 0.34);
  background: var(--bg);
  color: var(--fg);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.sec-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-head__index { color: var(--ember); }
.sec-head__label { color: var(--fg); }
.sec-head__note { justify-self: end; text-align: right; }

/* ---------- Profile ---------- */
.profile { padding-bottom: clamp(6rem, 13vh, 12rem); }
.profile__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(2.6rem, 7vh, 6rem);
}
.profile__title {
  font-size: clamp(3.2rem, 8.4vw, 9.2rem);
  line-height: 0.88;
}
.profile__title em { color: var(--ember); }
.profile__kicker {
  max-width: 36ch;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: clamp(0.9rem, 0.3vw + 0.82rem, 1.02rem);
  line-height: 1.55;
  margin-bottom: 0.7em;
  text-wrap: pretty;
}
.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 8vw, 9rem);
  align-items: start;
  margin-top: clamp(3.5rem, 9vh, 8rem);
}
.profile__copy { max-width: 63ch; }
.profile__copy p {
  max-width: 52ch;
  margin-bottom: 1.15em;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}
.profile__copy .lead {
  max-width: 48ch;
  margin-bottom: 1.3em;
  color: var(--bone);
  font-size: clamp(1.15rem, 1.1vw, 1.5rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
}
.profile__signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(1.6rem, 4vh, 2.8rem);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.25;
}
.profile__signature em { color: var(--muted); font-size: 0.82em; }
.profile__sign-mark {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ember);
}
.profile__figure {
  position: relative;
  padding-left: clamp(1.5rem, 4vw, 4.5rem);
  padding-bottom: 2rem;
}
.profile__img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-2);
  will-change: transform;
}
.profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
  filter: saturate(0.9) contrast(1.03);
}
.profile__img:hover img { transform: scale(1.07); }
.profile__img:first-child { aspect-ratio: 4 / 5; }
.profile__img--small {
  position: absolute;
  left: 0;
  bottom: 7%;
  width: 47%;
  aspect-ratio: 4 / 3;
  border: 7px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.profile__badge {
  position: absolute;
  top: -18px;
  right: -18px;
  width: clamp(92px, 9vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ink);
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 50px rgba(255, 78, 26, 0.22);
}
.profile__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.profile__badge text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.55px;
  fill: var(--ink);
  text-transform: uppercase;
}
.profile__badge > span { font-size: 1.35rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.profile__figure figcaption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: right;
}
.profile__figure figcaption span { color: var(--ember); margin-right: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(4rem, 10vh, 9rem);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2.4vw, 2rem) 0 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.stat:last-child { border-right: 0; }
.stat__figure {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
}
.stat__figure sup {
  font-family: var(--font-mono);
  font-size: 0.15em;
  letter-spacing: 0;
  color: var(--ember);
  margin-top: 0.55em;
  margin-left: 0.25em;
}
.stat__label {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Experience ---------- */
.exp { padding-bottom: clamp(4rem, 8vh, 8rem); }
.exp__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
  margin-top: clamp(3rem, 8vh, 7rem);
}
.exp__aside {
  position: sticky;
  top: calc(var(--header-h) + 38px);
}
.exp__aside .display { font-size: clamp(2.9rem, 5.4vw, 5.8rem); }
.exp__intro {
  max-width: 36ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.exp__hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.exp__hint span { color: var(--ember); }

.exp__list { border-top: 1px solid var(--line-strong); }
.exp-item { border-bottom: 1px solid var(--line); }
.exp-item__head {
  width: 100%;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 18px;
  padding: 24px 2px;
  text-align: left;
  transition: padding 0.55s var(--ease);
}
.exp-item__head:hover { padding-left: 14px; }
.exp-item__year {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}
.exp-item__title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.exp-item__company {
  font-size: clamp(1.02rem, 0.4vw + 0.9rem, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  transition: color 0.3s;
}
.exp-item__sub {
  font-family: var(--font-mono);
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-2);
}
.exp-item__role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--muted);
  transition: color 0.3s;
}
.exp-item__loc {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  text-align: right;
}
.exp-item__icon {
  position: relative;
  justify-self: end;
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.55s var(--ease);
}
.exp-item__icon i {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 1px;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background 0.35s;
}
.exp-item__icon i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.exp-item__head:hover .exp-item__company { color: var(--ember); }
.exp-item.is-open .exp-item__icon {
  background: var(--ember);
  border-color: var(--ember);
  transform: rotate(90deg);
}
.exp-item.is-open .exp-item__icon i { background: var(--ink); }
.exp-item.is-open .exp-item__icon i:last-child { transform: translate(-50%, -50%) rotate(0deg); }

.exp-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--ease);
}
.exp-item.is-open .exp-item__panel { grid-template-rows: 1fr; }
.exp-item__panel-inner { overflow: hidden; min-height: 0; }
.exp-item__panel-inner > p,
.exp-item__panel-inner > ul { margin-left: 94px; margin-right: clamp(0px, 2vw, 26px); }
.exp-item__panel-inner > p {
  padding-top: 2px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.exp-item__points { display: grid; gap: 7px; margin-top: 14px; }
.exp-item__points li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}
.exp-item__points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ember);
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags li {
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.exp-item__panel-inner > .tags { margin-bottom: 30px; }

.exp__preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: clamp(170px, 17vw, 260px);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(18px, -50%) scale(0.86) rotate(-4deg);
  transition: opacity 0.35s, transform 0.6s var(--ease);
  background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(10, 10, 11, 0.35);
  will-change: transform, opacity;
}
.exp__preview.is-visible { opacity: 1; transform: translate(18px, -50%) scale(1) rotate(-2deg); }
.exp__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .exp__preview { display: none; } }

.pullquote {
  position: relative;
  max-width: 1120px;
  margin: clamp(5rem, 12vh, 10rem) auto 0;
  text-align: center;
}
.pullquote__mark {
  display: block;
  margin-bottom: 22px;
  font-size: 1.4rem;
  color: var(--ember);
}
.pullquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.pullquote em { font-style: italic; color: var(--ember); }
.pullquote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.5625rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Education ---------- */
.edu { padding-top: clamp(2rem, 5vh, 5rem); }
.edu__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
  margin-top: clamp(3rem, 8vh, 7rem);
}
.edu__aside { position: sticky; top: calc(var(--header-h) + 38px); }
.edu__aside .display { font-size: clamp(2.9rem, 5.4vw, 5.8rem); }
.edu__aside p {
  max-width: 32ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.edu__note {
  margin-top: 30px;
  padding-left: 14px;
  border-left: 1px solid var(--ember);
  display: grid;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.edu__note span:first-child { color: var(--fg); }
.edu__list { border-top: 1px solid var(--line-strong); }
.edu-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.edu-item__year {
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.edu-item__main h3 {
  font-size: clamp(1rem, 0.3vw + 0.92rem, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.edu-item__school {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--muted-2);
}
.edu-item__school span { color: var(--ember); }
.edu-item__desc {
  max-width: 56ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.855rem;
  line-height: 1.58;
  text-wrap: pretty;
}
.edu-item__badge {
  margin-top: 3px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 78, 26, 0.42);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
}

/* ---------- Work ---------- */
.work { padding-bottom: clamp(5rem, 10vh, 9rem); }
.work__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(2.6rem, 7vh, 6rem);
}
.work__intro .display { font-size: clamp(3.2rem, 8vw, 9rem); line-height: 0.88; }
.work__intro .display em { color: var(--ember); }
.work__intro p {
  max-width: 36ch;
  justify-self: end;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
  text-wrap: pretty;
}
.work__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vh, 2.4rem);
  margin-top: clamp(3rem, 8vh, 6rem);
}
.work__stack > .work { position: sticky; top: calc(var(--header-h) + 16px); }
.work__card {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 820px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  transform-origin: 50% 0;
  will-change: transform;
  box-shadow: 0 -1px 0 rgba(242, 238, 230, 0.08) inset;
}
.work__media { position: absolute; inset: 0; overflow: hidden; }
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.76) contrast(1.06) brightness(0.7);
  transition: transform 1.4s var(--ease), filter 0.9s;
}
.work__card:hover .work__media img {
  transform: scale(1.09);
  filter: saturate(0.98) contrast(1.04) brightness(0.74);
}
.work__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.58) 0%, rgba(10, 10, 11, 0.04) 34%, rgba(10, 10, 11, 0.18) 55%, rgba(10, 10, 11, 0.92) 100%),
    radial-gradient(110% 90% at 85% 18%, rgba(255, 78, 26, 0.16), transparent 62%);
}
.work__top {
  position: absolute;
  top: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 34px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(242, 238, 230, 0.82);
}
.work__no {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ember);
}
.work__cat {
  padding: 8px 12px;
  border: 1px solid rgba(242, 238, 230, 0.32);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.work__content {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 2;
  max-width: 880px;
}
.work__content h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 5.4rem);
  line-height: 0.91;
  letter-spacing: -0.028em;
}
.work__content h3 em { font-style: italic; color: var(--ember); }
.work__content p {
  max-width: 54ch;
  margin-top: 18px;
  color: rgba(242, 238, 230, 0.72);
  font-size: clamp(0.82rem, 0.22vw + 0.78rem, 0.98rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.work__content .tags { margin-top: 20px; }
.tags--ghost li {
  border-color: rgba(242, 238, 230, 0.34);
  color: rgba(242, 238, 230, 0.86);
  background: rgba(10, 10, 11, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.work__link { position: absolute; inset: 0; z-index: 3; }
.work__cta {
  position: absolute;
  top: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(242, 238, 230, 0.36);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bone);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.work__link:hover .work__cta { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.work__foot {
  margin-top: clamp(2rem, 5vh, 3rem);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.work__foot a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.work__foot a:hover { color: var(--ember); border-color: var(--ember); }

/* ---------- Capabilities ---------- */
.cap__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(2.6rem, 7vh, 6rem);
}
.cap__intro .display { font-size: clamp(3.2rem, 7.6vw, 8.4rem); line-height: 0.88; }
.cap__intro .display em { color: var(--ember); }
.cap__intro p {
  max-width: 40ch;
  justify-self: end;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}
.cap__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid var(--line);
}
.cap {
  padding: 28px clamp(1rem, 2vw, 2rem) 30px 0;
  border-right: 1px solid var(--line);
  min-height: 420px;
  transition: background 0.5s;
}
.cap:last-child { border-right: 0; }
.cap:hover { background: rgba(242, 238, 230, 0.025); }
.cap__head { display: flex; align-items: center; gap: 12px; }
.cap__idx { font-family: var(--font-mono); font-size: 0.5625rem; color: var(--ember); }
.cap__line { flex: 1; height: 1px; background: var(--line); }
.cap h3 {
  margin: 24px 0 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.35s;
}
.cap:hover h3 { color: var(--ember); }
.cap ul li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.cap ul li:hover { color: var(--fg); padding-left: 6px; }
.cap__langs li em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
}
.cap__note { margin-top: 18px; color: var(--muted-2); font-size: 0.78rem; line-height: 1.6; }

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-top: clamp(4rem, 10vh, 8rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: inline-flex; width: max-content; will-change: transform; }
.marquee__track span {
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 230, 0.3);
}
.marquee__track i {
  padding-inline: 0.24em;
  font-style: normal;
  font-size: 0.42em;
  vertical-align: middle;
  color: var(--ember);
  -webkit-text-stroke: 0;
}

/* ---------- Booking ---------- */
.booking { position: relative; overflow: hidden; }
.booking__glow {
  position: absolute;
  top: -18%;
  left: -16%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 26, 0.10), transparent 64%);
  filter: blur(46px);
  pointer-events: none;
}
.booking .shell { position: relative; }
.booking__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  margin-top: clamp(2.6rem, 7vh, 5.5rem);
}
.booking__intro .display { font-size: clamp(3.2rem, 7vw, 7.6rem); line-height: 0.88; }
.booking__intro .display em { color: var(--ember); }
.booking__lede {
  max-width: 47ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.05rem);
  line-height: 1.62;
  text-wrap: pretty;
}
.booking__zones { display: grid; gap: 12px; }
.zone {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(242, 238, 230, 0.025);
}
.zone--you { border-color: rgba(255, 78, 26, 0.34); background: rgba(255, 78, 26, 0.045); }
.zone strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.zone__meta {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.zone__hours {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.zone--you .zone__hours { color: var(--ember); }
.booking__panel {
  margin-top: clamp(2.4rem, 6vh, 4.5rem);
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 238, 230, 0.028);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.booking__steps {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.booking__step { min-width: 0; }
.booking__step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.booking__hint,
.booking__selected {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: right;
}
.booking__selected { color: var(--ember); text-transform: none; letter-spacing: 0.03em; font-size: 0.5625rem; }
.dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.dates::-webkit-scrollbar { height: 4px; }
.dates::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.date-chip {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 1px;
  width: 66px;
  padding: 10px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.date-chip:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.date-chip__dow,
.date-chip__month {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.date-chip__day { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1; }
.date-chip.is-active { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.date-chip.is-active .date-chip__dow,
.date-chip.is-active .date-chip__month { color: rgba(10, 10, 11, 0.62); }
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 7px;
  max-height: 306px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.slots::-webkit-scrollbar { width: 4px; }
.slots::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.slot {
  display: grid;
  gap: 2px;
  padding: 9px 10px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: left;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.slot:hover { border-color: var(--line-strong); background: rgba(242, 238, 230, 0.05); }
.slot__local { font-size: 0.8125rem; line-height: 1.2; color: var(--fg); }
.slot__et {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}
.slot.is-active { background: var(--ember); border-color: var(--ember); }
.slot.is-active .slot__local { color: var(--ink); }
.slot.is-active .slot__et { color: rgba(10, 10, 11, 0.62); }
.slots__empty {
  grid-column: 1 / -1;
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.booking__form-wrap {
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
  padding-top: clamp(1.4rem, 3vh, 2.2rem);
  border-top: 1px solid var(--line);
}
.bform__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.bform__focus { padding: 0; margin: 0; }
.bform__focus legend {
  padding: 0;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.label__optional {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.bform__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.booking__noscript {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 78, 26, 0.35);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.booking__noscript a { color: var(--ember); border-bottom: 1px solid currentColor; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; padding-bottom: clamp(5rem, 10vh, 9rem); }
.contact__glow {
  position: absolute;
  top: -28%;
  right: -12%;
  width: 78vw;
  height: 78vw;
  max-width: 1150px;
  max-height: 1150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 26, 0.17), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
  margin-top: clamp(3rem, 8vh, 7rem);
}
.contact__title { font-size: clamp(3.2rem, 7.4vw, 8rem); line-height: 0.87; }
.contact__title em { color: var(--ember); }
.contact__lede {
  max-width: 38ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.05rem);
  line-height: 1.62;
  text-wrap: pretty;
}
.contact__details { margin-top: clamp(2rem, 5vh, 3.5rem); }
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1;
  transition: color 0.3s, border-color 0.3s;
}
.contact__mail span { font-size: 0.7em; color: var(--ember); }
.contact__mail:hover { color: var(--ember); border-color: var(--ember); }
.contact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact__meta span { display: inline-flex; align-items: center; gap: 8px; }
.contact__card {
  position: relative;
  max-width: 420px;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(242, 238, 230, 0.025);
  overflow: hidden;
}
.contact__card p { max-width: 33ch; margin-top: 10px; color: var(--muted); font-size: 0.9rem; line-height: 1.58; }
.contact__card-mark {
  position: absolute;
  right: 12px;
  bottom: -18px;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--ember);
  opacity: 0.16;
  transform: rotate(12deg);
}

.cform {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 238, 230, 0.03);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.cform__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.cform__privacy {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
}
.cform__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.cform__topics legend {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span { color: var(--ember); }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea {
  min-height: 124px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); opacity: 0.62; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ember); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #ff7a52; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px rgba(10, 10, 11, 0.001) inset;
  transition: background-color 9999s ease-out;
}
.cform__topics { padding: 0; margin: 0; }
.cform__topics legend { padding: 0; margin-bottom: 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; display: inline-flex; }
.topic input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.topic span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.topic span:hover { border-color: var(--ember); color: var(--fg); }
.topic input:checked + span { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.topic input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.cform__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.btn--submit {
  min-width: 188px;
  padding: 17px 24px;
  background: var(--ember);
  color: var(--ink);
}
.btn--submit:hover { background: var(--bone); }
.btn--submit[disabled] { opacity: 0.72; cursor: wait; }
.btn__spinner {
  position: absolute;
  right: 18px;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(10, 10, 11, 0.3);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 0;
  transition: opacity 0.2s;
}
.btn--submit.is-loading .btn__spinner { opacity: 1; }
.btn--submit.is-loading .btn__arrow { opacity: 0; }
.cform__note {
  max-width: 24ch;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.09em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted-2);
}
.cform__status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #ff8a66;
}
.cform__status.is-ok { color: #7df7a0; }
.cform__fallback {
  display: inline-block;
  margin-left: 5px;
  color: var(--ember);
  border-bottom: 1px solid currentColor;
}
.cform__fallback:hover { color: var(--bone); }
.cform__honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cform__success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  text-align: center;
}
.cform__success-mark {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ember);
  animation: spin 14s linear infinite;
}
.cform__success h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cform__success p { max-width: 38ch; color: var(--muted); font-size: 0.95rem; line-height: 1.62; }
.cform__success .link-arrow { border-color: var(--line-strong); color: var(--fg); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(3rem, 7vh, 6rem);
  border-top: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.45fr) minmax(0, 0.75fr);
  gap: 3vw;
  align-items: start;
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
  border-bottom: 1px solid var(--line);
}
.footer__say a {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1;
  transition: color 0.3s, border-color 0.3s;
}
.footer__say a:hover { color: var(--ember); border-color: var(--ember); }
.footer__clock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__nav a { transition: color 0.3s; }
.footer__nav a:hover { color: var(--ember); }
.footer__mark {
  margin-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: 0.05em;
  font-size: clamp(5rem, 22vw, 23rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.055em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  white-space: nowrap;
  user-select: none;
  transition: color 0.7s, -webkit-text-stroke-color 0.7s;
}
.footer__mark:hover { color: rgba(255, 78, 26, 0.07); -webkit-text-stroke-color: var(--ember); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__bottom a { transition: color 0.3s; }
.footer__bottom a:hover { color: var(--ember); }
.footer__top-link { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 18px; }
  .head-meta { gap: 14px; }
  .status { display: none; }
}

@media (max-width: 1080px) {
  .profile__top { grid-template-columns: 1fr; }
  .profile__kicker { max-width: 46ch; margin-top: 4px; }
  .profile__grid { grid-template-columns: 1fr; }
  .profile__figure { max-width: 620px; margin-left: auto; padding-left: 3rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: clamp(1rem, 3vw, 2rem); }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }
  .exp__layout,
  .edu__layout { grid-template-columns: 1fr; }
  .exp__aside,
  .edu__aside { position: static; }
  .exp__aside .display,
  .edu__aside .display { max-width: 12ch; }
  .exp__intro { max-width: 52ch; }
  .exp__hint { display: none; }
  .exp__preview { display: none; }
  .work__intro,
  .cap__intro { grid-template-columns: 1fr; }
  .work__intro p,
  .cap__intro p { justify-self: start; max-width: 52ch; margin-top: 4px; }
  .cap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { min-height: 0; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
  .cap:nth-child(2n) { border-right: 0; padding-left: 24px; }
  .cap:nth-last-child(-n + 2) { border-bottom: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__title { max-width: 12ch; }
  .cform { max-width: 720px; }
  .booking__top { grid-template-columns: 1fr; }
  .booking__zones { grid-template-columns: 1fr 1fr; }
  .booking__intro .display { max-width: 12ch; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; justify-content: flex-start; margin-top: 12px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .btn--head { display: none; }
  .hero__bottom { grid-template-columns: 1fr; align-items: start; }
  .hero__actions { margin-top: 4px; }
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
  .hero__loc { text-align: right; }
  .profile__figure { padding-left: 2rem; }
  .exp-item__head { grid-template-columns: 66px minmax(0, 1fr) auto 26px; }
  .exp-item__panel-inner > p,
  .exp-item__panel-inner > ul { margin-left: 84px; }
  .work { position: relative; top: auto; }
  .work__card { min-height: min(72svh, 660px); }
  .work__stack { gap: 1.5rem; }
  .contact__title { max-width: none; }
  .booking__steps { grid-template-columns: 1fr; }
  .booking__panel { padding: 22px; }
  .footer__mark { margin-inline: -2vw; }
}

@media (max-width: 680px) {
  .hero { padding-top: calc(var(--header-h) + 18px); }
  .hero__title { font-size: clamp(3.5rem, 17.5vw, 9rem); line-height: 0.82; }
  .hero__line--2 { margin-left: 0; }
  .hero__eyebrow { margin-bottom: 30px; }
  .eyebrow--right { display: none; }
  .hero__inner { justify-content: flex-start; padding-top: 6vh; }
  .hero__lede { max-width: 40ch; }
  .hero__bottom { margin-top: 32px; }
  .hero__foot { gap: 16px; padding-block: 16px 20px; }
  .hero__currently p { font-size: 0.75rem; }
  .hero__loc p { font-size: 0.6875rem; }
  .brand__name { display: none; }
  .head-meta { gap: 10px; }
  .lang__btn { padding: 5px 6px; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head__note { display: none; }
  .profile__title,
  .work__intro .display,
  .cap__intro .display,
  .booking__intro .display { font-size: clamp(2.7rem, 11.5vw, 5rem); }
  .stats { margin-top: 3.5rem; }
  .stat__figure { font-size: clamp(2.8rem, 12vw, 4rem); }
  .booking__zones { grid-template-columns: 1fr; }
  .booking__step-head { flex-wrap: wrap; }
  .booking__selected { text-align: left; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 292px; }
  .bform__fields { grid-template-columns: 1fr; }
  .bform__actions { align-items: flex-start; }
  .bform__actions .cform__note { text-align: left; max-width: none; }
  .exp-item__head {
    grid-template-columns: 1fr 26px;
    grid-template-areas: "year icon" "title title" "loc loc";
    gap: 8px 14px;
    padding-block: 20px;
  }
  .exp-item__year { grid-area: year; }
  .exp-item__title { grid-area: title; }
  .exp-item__loc { grid-area: loc; text-align: left; margin-top: 2px; }
  .exp-item__icon { grid-area: icon; }
  .exp-item__panel-inner > p,
  .exp-item__panel-inner > ul { margin-left: 0; margin-right: 0; }
  .exp-item__panel-inner > .tags { margin-bottom: 24px; }
  .edu-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: "year badge" "main main";
    gap: 10px 14px;
  }
  .edu-item__year { grid-area: year; padding-top: 0; }
  .edu-item__main { grid-area: main; }
  .edu-item__badge { grid-area: badge; margin-top: 0; }
  .work__card { min-height: 74svh; border-radius: 18px; }
  .work__content h3 { font-size: clamp(2.1rem, 10vw, 3.6rem); }
  .work__cat { display: none; }
  .work__cta { padding: 10px 13px; max-width: 170px; white-space: normal; text-align: right; line-height: 1.5; }
  .work__content p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .cap__grid { grid-template-columns: 1fr; }
  .cap { padding: 24px 0 28px; border-right: 0; }
  .cap:nth-child(2n) { padding-left: 0; }
  .cap:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .cform__fields { grid-template-columns: 1fr; }
  .cform__actions { align-items: flex-start; }
  .cform__note { text-align: left; max-width: none; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__clock { flex-direction: row; align-items: baseline; gap: 12px; }
  .footer__mark { font-size: 25vw; letter-spacing: -0.04em; }
  .footer__bottom { gap: 10px 18px; }
}

@media (max-width: 460px) {
  .hero__title { font-size: 18vw; }
  .hero__actions { gap: 18px; }
  .btn--primary { padding: 16px 20px; }
  .profile__figure { padding-left: 0; padding-right: 1.2rem; }
  .profile__img--small { width: 52%; left: 0; bottom: 5%; }
  .profile__badge { top: -14px; right: -8px; width: 86px; }
  .stat { padding-right: 12px; }
  .stat__label { font-size: 0.5rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact__mail { font-size: 1.4rem; }
  .cform { padding: 18px; }
  .cform__head { flex-wrap: wrap; }
  .booking__panel { padding: 16px; border-radius: 18px; }
  .date-chip { width: 60px; }
  .slot { padding: 8px; }
  .footer__mark { font-size: 24vw; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mask__inner { transform: none; }
  .hero__img { animation: none; }
  .grain { display: none; }
  .cursor { display: none; }
  .exp__preview { display: none; }
}

@media print {
  .site-head, .loader, .grain, .cursor, .scroll-progress, .mobile-menu, .ticker, .exp__preview { display: none !important; }
  body { background: #fff; color: #000; }
  .chapter--light { background: #fff; color: #000; }
  .work, .contact, .footer { break-inside: avoid; }
}
