:root {
  --bg: #0f0e0d;
  --bg-2: #171513;
  --fg: #ede6d9;
  --muted: #8c8478;
  --line: rgba(237, 230, 217, 0.1);
  --lime: #c8a96e; /* champagne gold (accent) */
  --ink: #14110d;  /* text on accent */
  --pink: #c07a66; /* dusty terracotta (secondary) */
  --blue: #6f7d8c;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
button { font-family: inherit; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; background: var(--lime); color: var(--ink); padding: 8px 12px; transform: translateY(-200%); }
.skip:focus { transform: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.lime { color: var(--lime); }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: clip-path .8s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__mark { width: 110px; height: 110px; }
.loader__mark path {
  stroke: var(--fg); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: draw .75s var(--ease) forwards;
}
.loader__mark path:nth-child(2) { stroke: var(--lime); animation-delay: .15s; }
.loader__count { color: var(--lime); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px var(--pad); mix-blend-mode: difference; color: #fff;
  font-size: clamp(12px, 1vw, 16px);
}
.hud__nav { font-size: clamp(14px, 1.25vw, 20px); font-weight: 600; }
.hud i { color: var(--muted); font-style: normal; }
.hud__nav { display: flex; gap: clamp(22px, 2.6vw, 44px); }
.hud__nav a { position: relative; }
.hud__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.hud__nav a:hover::after, .hud__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hud__nav a.is-active::before { content: "▸ "; }
.hud__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.12); }
.hud__progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.hud__menu { display: none; appearance: none; background: none; border: 1px solid #fff; color: #fff; padding: 8px 16px; font-size: 13px; border-radius: 99px; cursor: pointer; }
/* once the page scrolls, the header gets a solid, blurred backdrop so content doesn't show through it */
.hud { border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.hud.is-scrolled {
  mix-blend-mode: normal; color: var(--fg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.hud.is-scrolled .hud__progress { background: none; }
.hud.is-scrolled .hud__progress span { background: var(--lime); }
.hud.is-scrolled .hud__menu { border-color: currentColor; color: inherit; }
@media (max-width: 720px) {
  .hud__nav, .hud__clock { display: none; }
  .hud__menu { display: block; }
}

/* ---------- MOBILE MENU ---------- */
.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 80px var(--pad) 32px;
  clip-path: circle(0% at calc(100% - 40px) 28px); transition: clip-path .7s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 28px); visibility: visible; }
.menu nav { display: grid; gap: 4px; margin-top: auto; }
.menu nav a {
  font-size: clamp(36px, 11vw, 88px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em;
  line-height: 1; font-variation-settings: "wdth" 110; display: flex; align-items: flex-start; gap: 10px;
  transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu nav a span { color: var(--lime); padding-top: 8px; }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .18s; }
.menu__foot { margin-top: auto; color: var(--muted); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 90px var(--pad) 120px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero > *:not(.hero__canvas) { position: relative; z-index: 1; }

.hero__frame { position: absolute !important; inset: 64px var(--pad) 90px; pointer-events: none; }
.hero__frame span { position: absolute; width: 22px; height: 22px; border: 1px solid var(--fg); opacity: .5; }
.hero__frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero__frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero__frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero__frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero__meta { display: grid; gap: 8px; margin-bottom: 18px; }
.hero__meta p { margin: 0; }
.tag { background: var(--lime); color: var(--ink); padding: 2px 6px; font-weight: 600; margin-right: 6px; }

.hero__name {
  margin: 0; font-weight: 800; line-height: .84; letter-spacing: -0.045em;
  font-size: clamp(54px, 11.2vw, 200px);
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
}
.hero__name .line { display: flex; align-items: center; gap: .08em; overflow: hidden; padding: .16em 0 .04em; margin-top: -.16em; will-change: transform; } /* top padding keeps accents (Á) visible */
.hero__name .line--mid { padding-left: 14%; }
.hero__name .line--2 { justify-content: flex-end; }
.hero__name .word { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
body.is-ready .hero__name .word { transform: none; }
body.is-ready .hero__name .line--mid .word { transition-delay: .1s; }
body.is-ready .hero__name .line--2 .word { transition-delay: .2s; }

.hero__role {
  margin: 22px 0 0; font-size: clamp(28px, 4.2vw, 64px); line-height: 1; font-weight: 300;
  font-variation-settings: "wdth" 70; letter-spacing: -0.02em;
}
.hero__role em { font-family: var(--serif); font-weight: 400; color: var(--lime); }

.hero__vitals { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 6px; max-width: 360px; }
.hero__vitals li { display: flex; gap: 8px; }
.hero__vitals i { color: var(--pink); font-style: normal; }
.hero__vitals b { margin-left: auto; font-weight: 400; }


/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee__track > * { flex: none; }
.marquee span {
  font-size: clamp(36px, 6vw, 88px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 80; -webkit-text-stroke: 1px var(--fg); color: transparent;
  transition: color .3s;
}
.marquee span:hover { color: var(--fg); }
.marquee b { color: var(--pink); font-size: 28px; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(90px, 14vw, 180px) var(--pad); position: relative; }
.section__head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head { flex-wrap: wrap; }
.section__head h2 { margin: 0; font-size: clamp(52px, 10vw, 190px); font-weight: 800; letter-spacing: -0.04em; line-height: .9; font-variation-settings: "wdth" 110; text-transform: uppercase; }
.section__head .idx { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 34px); color: var(--muted); }
.section__head .by { margin-left: auto; color: var(--muted); }
@media (max-width: 600px) {
  .section__head { flex-wrap: wrap; }
  .section__head h2 { font-size: 11.5vw; }
  .section__head .by { flex-basis: 100%; margin-left: 0; }
}

/* journey */
.journey__text {
  font-size: clamp(28px, 4.6vw, 72px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em;
  max-width: 20ch; margin: 0 0 clamp(60px, 8vw, 120px); max-width: 1200px;
}
.journey__text .w { opacity: .4; transition: opacity .25s linear, color .25s; }
.journey__text .w.on { opacity: 1; }
.journey__text .w.hl.on { color: var(--lime); font-family: var(--serif); font-style: italic; font-weight: 400; }
.journey__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.journey__steps > div { border-top: 1px solid var(--line); padding-top: 24px; min-height: 200px; display: flex; flex-direction: column; }
.journey__steps > div:last-child { border-top-color: var(--lime); }
.journey__steps .idx { color: var(--lime); }
.journey__steps h3 { font-size: 32px; margin: auto 0 8px; font-weight: 700; letter-spacing: -0.02em; }
.journey__steps p { margin: 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 800px) { .journey__steps { grid-template-columns: 1fr; } }

/* about: intro text + portrait */
.about__intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 340px); gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(60px, 8vw, 120px); }
.about__intro .journey__text { margin: 0; }
.portrait { margin: 0; display: grid; gap: 10px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 572 / 737; object-fit: cover; border-radius: 14px; filter: grayscale(.35) contrast(1.02); transition: filter .8s var(--ease); background: var(--bg-2); }
.portrait:hover img { filter: none; }
.portrait figcaption { color: var(--muted); }
@media (max-width: 800px) {
  .about__intro { grid-template-columns: 1fr; }
  .portrait { order: -1; max-width: 240px; }
}

/* ---------- carousel (any topic with several photos) ---------- */
.carousel { position: relative; margin: 6px 0 16px; max-width: 760px; }
.carousel__viewport { overflow: hidden; border-radius: 12px; background: var(--bg-2); touch-action: pan-y; }
.carousel__track { list-style: none; margin: 0; padding: 0; display: flex; transition: transform .7s var(--ease); will-change: transform; }
.carousel__slide { position: relative; flex: 0 0 100%; aspect-ratio: 3 / 2; }
.carousel__slide a { display: block; height: 100%; cursor: zoom-in; }
.carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.carousel__slide--contain { background: #f4f1ea; }
.carousel__slide--contain img { object-fit: contain; padding: 12px; }
.carousel__caption { position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(15, 14, 13, .74); color: #ede6d9; pointer-events: none; }
.carousel__btn {
  position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(237, 230, 217, .25); background: rgba(15, 14, 13, .62); color: #ede6d9; font-size: 18px; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .3s, color .3s, border-color .3s, opacity .3s, scale .15s;
}
.btn:active, .contact__mail:active, .carousel__btn:active { scale: .97; }
.carousel__btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.carousel__btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; transition: background .3s, width .4s var(--ease); }
.carousel__dot[aria-current="true"] { width: 44px; background: var(--lime); }
.carousel__count { color: var(--muted); }
.carousel__zoom { appearance: none; background: none; border: 0; padding: 0; color: var(--lime); cursor: pointer; border-bottom: 1px solid currentColor; }
@media (hover: none) { .carousel__btn { width: 38px; height: 38px; top: calc(50% - 19px); } }

/* ---------- full-screen photo viewer ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 9, 8, .94); color: #ede6d9; }
.lightbox::backdrop { background: rgba(10, 9, 8, .6); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(92vw, 1400px); }
.lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; background: #1a1714; }
.lightbox__caption { display: flex; gap: 18px; color: #b8b0a3; }
.lightbox__btn, .lightbox__close {
  position: fixed; border: 1px solid rgba(237, 230, 217, .25); background: rgba(23, 21, 19, .8); color: #ede6d9; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.lightbox__btn { top: calc(50% - 26px); width: 52px; height: 52px; border-radius: 50%; font-size: 20px; }
.lightbox__btn--prev { left: clamp(10px, 3vw, 32px); }
.lightbox__btn--next { right: clamp(10px, 3vw, 32px); }
.lightbox__close { top: 18px; right: 18px; padding: 9px 14px; border-radius: 99px; }
.lightbox__btn:hover, .lightbox__close:hover { background: #c8a96e; color: #14110d; border-color: #c8a96e; }
.awards__list .o a { color: var(--lime); border-bottom: 1px solid currentColor; }

/* works */
.works__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.works__list li { border-bottom: 1px solid var(--line); }
.works__row {
  appearance: none; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto 136px; align-items: center; gap: 16px;
  padding: clamp(18px, 2.6vw, 34px) 0; transition: padding .5s var(--ease), color .3s;
}
.works__list .t { font-size: clamp(28px, 5vw, 80px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; overflow-wrap: anywhere; text-transform: uppercase; font-variation-settings: "wdth" 90; transition: font-variation-settings .5s var(--ease), color .3s; }
.works__list .n, .works__list .c { color: var(--muted); }
.works__list .y { text-align: right; }
.works__row:hover, .works__row[aria-expanded="true"] { padding-left: 24px; }
.works__row:hover .t, .works__row[aria-expanded="true"] .t { font-variation-settings: "wdth" 125; color: var(--lime); }
.works__list:hover li:not(:hover) { opacity: .35; }
.works__list li { transition: opacity .3s; }
.works__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.works__detail > div { overflow: hidden; padding-left: 100px; max-width: 916px; } /* lines up with the title of an open row */
.works__detail p { margin: 0 0 14px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.works__detail p:first-child { margin-top: 4px; }
.works__detail strong { color: var(--fg); font-weight: 600; }
.works__row[aria-expanded="true"] + .works__detail { grid-template-rows: 1fr; }
.works__row[aria-expanded="true"] + .works__detail > div { padding-bottom: 34px; }
.works__link { display: inline-block; color: var(--lime); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.works__link + .works__link { margin-left: 24px; }
.pill { display: inline-block; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 99px; font-weight: 400; }
.pill--live { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.pill--live::before { content: "● "; }
.pill--pink { color: var(--ink); background: var(--pink); border-color: var(--pink); }
@media (max-width: 720px) {
  .works__row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .works__list .c { display: none; }
  .works__detail > div { padding-left: 70px; }
}


/* disciplines */
.disciplines { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.disciplines .section__head { grid-column: 1 / -1; }
.disc__row { display: grid; grid-template-columns: 70px 1fr 1.4fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.disc__row span:nth-child(2) { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.disc__row span:nth-child(3) { color: var(--muted); line-height: 1.5; }
.disc__row--head span { color: var(--muted) !important; font-size: 11px !important; font-weight: 400 !important; }
.side { display: grid; gap: 16px; align-self: start; position: sticky; top: 80px; }
.status { border: 1px solid var(--line); padding: 18px; background: var(--bg-2); }
.langs li { display: grid !important; grid-template-columns: 1fr auto; gap: 6px 10px; }
.langs em { font-style: normal; color: var(--muted); }
.langs b { grid-column: 1 / -1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.langs b::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.langs.in b::after, .status.in .langs b::after { transform: scaleX(var(--v)); }
.status__title { margin: 0 0 14px; color: var(--muted); }
.status ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.status li { display: flex; justify-content: space-between; align-items: center; }
.status li i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); }
.status li i.on { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 2.4s infinite; }
.status li:nth-child(2) i.on { animation-delay: .3s; } .status li:nth-child(3) i.on { animation-delay: .6s; }
.status li:nth-child(4) i.on { animation-delay: .9s; } .status li:nth-child(5) i.on { animation-delay: 1.2s; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 900px) { .disciplines { grid-template-columns: 1fr; } .disc__row { grid-template-columns: 40px 1fr; } .disc__row span:nth-child(3) { grid-column: 2; } }

/* right now */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); margin-right: 6px; animation: blink 1.6s infinite; }

/* recognition */
.awards__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.awards__list li {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.awards__list li::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.awards__list li:hover::before { transform: scaleY(1); }
.awards__list li:hover, .awards__list li:hover .y, .awards__list li:hover .o { color: var(--ink); }
.awards__list .y { color: var(--lime); transition: color .3s; }
.awards__list .t { font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; transition: color .3s; }
.awards__list .o { color: var(--muted); text-align: right; transition: color .3s; }
.awards__list li:first-child .t::after { content: " ★"; color: var(--pink); }
.awards { isolation: isolate; }
.awards__earlier { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 12px; }
.awards__earlier b { color: var(--lime); font-weight: 400; margin-right: 6px; }
.awards__earlier-label { color: var(--fg); }
@media (max-width: 720px) { .awards__list li { grid-template-columns: 56px 1fr; } .awards__list .o { grid-column: 2; text-align: left; } }

/* hero lede */
.hero__lede { margin: 12px 0 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 40ch; }

/* contact */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact__kicker { color: var(--muted); }
.contact__title { font-size: clamp(46px, 9vw, 160px); line-height: .9; letter-spacing: -0.045em; font-weight: 800; margin: 24px 0 48px; text-transform: uppercase; font-variation-settings: "wdth" 105; }
.contact__title em { font-family: var(--serif); font-weight: 400; text-transform: none; color: var(--pink); letter-spacing: -0.02em; }
.contact__mail {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 10px; padding: 26px 34px; border-radius: 999px; position: relative;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, translate .5s var(--ease), scale .15s var(--ease);
  max-width: 100%;
}
.contact__mail strong { font-size: clamp(16px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact__mail span.mono { color: var(--muted); }
.contact__mail:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.contact__mail:hover span.mono { color: var(--ink); }
.contact__copied { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); color: var(--lime) !important; }
.contact__links { list-style: none; padding: 0; margin: 48px 0 0; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.contact__links a:hover { color: var(--lime); }

.foot { border-top: 1px solid var(--line); overflow: hidden; }
.foot__mark {
  display: flex; justify-content: space-between; padding: 4vw var(--pad) 0;
  font-size: 18.5vw; line-height: .78; font-weight: 900; letter-spacing: -0.05em;
  font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1px rgba(237,230,217,.28);
}
.foot__mark span { display: inline-block; transform: translateY(60%); transition: transform 1.1s var(--ease), color .4s; }
.foot__mark.in span { transform: none; }
.foot__mark span:hover { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.foot__mark.in span:nth-child(2) { transition-delay: .05s; } .foot__mark.in span:nth-child(3) { transition-delay: .1s; }
.foot__mark.in span:nth-child(4) { transition-delay: .15s; } .foot__mark.in span:nth-child(5) { transition-delay: .2s; }
.foot__mark.in span:nth-child(6) { transition-delay: .25s; }
.foot__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px var(--pad); border-top: 1px solid var(--line); color: var(--muted); }
.foot__row a:hover { color: var(--fg); }

/* scroll-in */
[data-in] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-in].in { opacity: 1; transform: none; }

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

/* ---------- HERO CTA ---------- */
.hero__cta { margin-top: 26px; display: grid; gap: 14px; }
.hero__open { margin: 0; color: var(--fg); display: flex; align-items: center; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 99px;
  border: 1px solid rgba(237,230,217,.25); font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, gap .4s var(--ease), scale .15s var(--ease);
  backdrop-filter: blur(6px); background: rgba(15,14,13,.35);
}
.btn:hover { border-color: var(--lime); color: var(--lime); gap: 16px; }
.btn--solid { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--solid:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.hero__vitals { margin-top: 30px; }

/* ---------- CONTACT: open to ---------- */
.contact__open {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px);
  max-width: 900px; margin: 0 auto 48px; text-align: left;
}
.contact__open > div { border-top: 1px solid var(--line); padding-top: 20px; }
.contact__open span { color: var(--lime); }
.contact__open p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 700px) { .contact__open { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .hero__vitals { position: absolute !important; right: calc(var(--pad) + 28px); bottom: 110px; margin: 0; width: 300px; }
}

/* ---------- HERO GREETING (Szia · Hi · Salut) ---------- */
.hero__greet { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: clamp(12px, 1vw, 14px); }
.greet { position: relative; display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); background: var(--lime); padding: 3px 8px; font-weight: 600; min-width: 5.5em; }
.greet__word { display: inline-block; font-family: var(--serif); font-style: italic; text-transform: none; font-size: 1.45em; line-height: 1; letter-spacing: 0; font-weight: 400; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.greet__word.is-out { opacity: 0; transform: translateY(-6px); }
.greet__lang { font-style: normal; font-size: .8em; }
.greet__rest { color: var(--fg); }

/* ---------- ROUTE Miskolc → Antwerp ---------- */
.route {
  position: relative; margin: 0 0 clamp(50px, 7vw, 100px); height: clamp(250px, 24vw, 340px);
  border-block: 1px solid var(--line);
  /* faint map grid */
  background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 14%, transparent) 1px, transparent 1.2px);
  background-size: 28px 28px; background-position: center;
}
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route__ghost, .route__line { fill: none; stroke-linecap: round; }
.route__ghost { stroke: color-mix(in srgb, var(--fg) 22%, transparent); stroke-width: 1; stroke-dasharray: 2 6; }
.route__line { stroke: var(--lime); stroke-width: 1.6; }
.route__comet { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); opacity: 0; transition: opacity .4s; }
.route.is-drawing .route__comet { opacity: 1; }

.route__pin { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; border-radius: 50%; }
.route__pin--from { width: 14px; height: 14px; border: 1.5px solid var(--pink); background: var(--bg); }
.route__pin--from::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--pink); }
.route__pin--to { width: 12px; height: 12px; background: var(--lime); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease); }
.route.is-arrived .route__pin--to { opacity: 1; transform: none; animation: ping 2.4s .4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 55%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }

.route__label { position: absolute; left: var(--x); top: var(--y); width: max-content; display: grid; gap: 4px; margin: 0; color: var(--muted); }
.route__label b { color: var(--fg); font-weight: 700; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -0.01em; line-height: 1.1; }
.route__tag { color: var(--lime); }
.route__label--from .route__tag { color: var(--pink); }
.route__note { color: var(--fg); opacity: .7; }
.route__label--from { translate: -100% 0; text-align: right; }
.route__label--to { opacity: 0; transition: opacity .6s .2s; }
.route.is-arrived .route__label--to { opacity: 1; }

/* distance sits on the arc; its background masks the line behind it */
.route__dist {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  padding: 5px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent);
  background: var(--bg); color: var(--lime); letter-spacing: .16em; white-space: nowrap;
  opacity: 0; transition: opacity .5s;
}
.route.is-half .route__dist { opacity: 1; }
@media (max-width: 600px) {
  .route { height: 260px; background-size: 22px 22px; }
  .route__label b { font-size: 15px; }
  .route__label .mono { font-size: 10px; }
}

/* ---------- FOOTER print button ---------- */
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 0 var(--pad) 22px; color: var(--muted); font-size: 11px; }
/* placeholder marker: remove once the real enterprise number is in */
.todo { border-bottom: 1px dashed var(--lime); color: var(--lime); }

/* ---------- EASTER EGG notice ---------- */
.egg {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 0;
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 20px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid rgba(200,169,110,.4); color: var(--lime);
  box-shadow: 0 10px 40px rgba(0,0,0,.5); animation: eggIn .6s var(--ease);
}
.egg[hidden] { display: none; }
.egg button { appearance: none; border: 1px solid var(--line); background: none; color: var(--fg); font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.egg button:hover { border-color: var(--lime); color: var(--lime); }
@keyframes eggIn { from { opacity: 0; translate: -50% 20px; } }

/* ---------- PRINT: one-page CV ---------- */
.print-cv { display: none; }
@media print {
  @page { size: A4; margin: 13mm 14mm; }
  html, body { background: #fff !important; color: #1a1714 !important; overflow: visible !important; }
  body::after { display: none !important; }
  body > *:not(.print-cv) { display: none !important; }
  .print-cv { display: block; font-family: var(--sans); font-size: 9.3pt; line-height: 1.42; color: #1a1714; }
  .cv__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 2px solid #1a1714; padding-bottom: 8px; margin-bottom: 12px; }
  .cv__head h1 { margin: 0; font-size: 25pt; line-height: 1; font-weight: 800; letter-spacing: -0.03em; font-variation-settings: "wdth" 105; text-transform: uppercase; }
  .cv__role { margin: 5px 0 0; font-family: var(--serif); font-style: italic; font-size: 12pt; color: #8a6a32; }
  .cv__contact { list-style: none; margin: 0; padding: 0; text-align: right; font-family: var(--mono); font-size: 7.6pt; line-height: 1.55; }
  .print-cv h2 { font-family: var(--mono); font-size: 7.8pt; letter-spacing: .14em; text-transform: uppercase; color: #8a6a32; margin: 12px 0 5px; border-bottom: 1px solid #ddd3c2; padding-bottom: 3px; }
  .print-cv h3 { font-size: 9.6pt; margin: 8px 0 1px; font-weight: 700; }
  .print-cv h3 em { font-style: normal; font-family: var(--mono); font-size: 7pt; letter-spacing: .08em; text-transform: uppercase; color: #8a6a32; margin-left: 6px; font-weight: 400; }
  .print-cv p { margin: 0 0 4px; }
  .print-cv ul { margin: 0; padding-left: 14px; }
  .print-cv li { margin: 0 0 2px; }
  .cv__cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
  .cv__note { color: #6b6257; font-style: italic; }
}

/* ---------- From LinkedIn (click-to-load SociableKIT feed) ---------- */
.li__gate { display: grid; gap: 18px; max-width: 760px; }
.li__lede { margin: 0; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.01em; }
.li__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.li__note { margin: 0; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.li__feed:not(:empty) { margin-top: 28px; min-height: 200px; }
.linkedin.is-loaded .li__gate { display: none; }
/* .btn / .mono set display, which would otherwise override the hidden attribute */
.btn[hidden], .li__note[hidden] { display: none; }
