@font-face {
  font-family: "Caveat";
  src: url("./fonts/caveat-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("./fonts/caveat-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face { font-family: "Fira Sans"; src: url("./fonts/fira-sans-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f3e8d4;
  --muted: #b5aa96;
  --accent: #d6c3a5;
  --line: #302c24;
  --paper: #f3e8d4;
  --header: 76px;
  --offset: 100px;
  --text: 20px;
  --lead: 20px;
  --divider-ink: #918675;
  --heading: clamp(64px, 7vw, 104px);
  --columns-gap: 7vw;
  --end-gap: 36px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: var(--offset); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Fira Sans", sans-serif; font-size: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 12px; transform: translateY(-200%); z-index: 40; background: var(--paper); color: #000; padding: 14px; }
.skip:focus { transform: none; }
.header { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header); margin-inline: 4vw; background: #000; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.identity { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 116px; height: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.footer-brand img { display: block; width: 56px; height: auto; }
.header-contact { padding: 14px 0; display: inline-flex; align-items: center; gap: 10px; }
.experience { max-width: 1600px; margin: 100px auto 0; padding: 0 4vw; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); column-gap: var(--columns-gap); align-items: start; }
.visual-track { grid-column: 2; grid-row: 1; align-self: stretch; min-width: 0; position: relative; margin-bottom: var(--end-gap); }
.visual { position: sticky; top: var(--offset); height: var(--stage-height,calc(100svh - var(--offset) - 24px)); isolation: isolate; }
.visual::before { content: ""; position: absolute; top: var(--rail-start,160px); height: var(--rail-span,400px); left: 50%; width: 1px; background: var(--line); pointer-events: none; }
.portrait { width: 100%; aspect-ratio: 16/9; position: relative; z-index: 2; transform: translateY(var(--travel,0px)); border: 1px solid var(--line); overflow: hidden; background: #000; pointer-events: none; }
.portrait video, .portrait .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; }
.portrait video { opacity: 0; }
.portrait.ready video { opacity: 1; }
.portrait.ready .fallback { visibility: hidden; }
.portrait video, .portrait .fallback { transition: opacity 180ms ease; }
.portrait.is-fading video, .portrait.is-fading .fallback { opacity: 0; }
.portrait::before, .portrait::after { content: ""; position: absolute; z-index: 2; width: 16px; height: 16px; border-color: var(--accent); border-style: solid; pointer-events: none; }
.portrait::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.portrait::after { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
.rail-nav { position: absolute; inset: 0; }
.rail-nav a { position: absolute; top: var(--node-y,0px); left: 50%; transform: translate(-50%,-50%); z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; }
.rail-nav a::after { content: ""; width: 10px; height: 10px; border: 1px solid var(--accent); background: #000; }
.rail-nav a:hover::after { background: #26221d; border-color: var(--ink); }
.rail-nav a[aria-current]::after { background: var(--paper); }
.rail-nav a:focus-visible { outline-offset: -4px; z-index: 3; }
.chapters { grid-column: 1; grid-row: 1; min-width: 0; position: relative; }
.chapters::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--columns-gap) / -2); width: 1px; background: var(--line); }
.chapter { position: relative; padding: 64px 0 72px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.chapter::after { content: ""; position: absolute; top: -4px; right: calc(var(--columns-gap) / -2 - 4px); width: 9px; height: 9px; border: 1px solid var(--accent); background: #000; z-index: 1; }
.chapter:focus { outline: none; }
.chapter:not(.invitation):not(.join) { padding-top: 76.8px; padding-bottom: 86.4px; }
.join { padding-bottom: var(--end-gap); }
.invitation { padding-top: 32px; border-top: 0; }
h1, h2 { font-family: "Caveat", "Sofia Sans Semi Condensed", sans-serif; font-size: var(--heading); font-weight: 700; letter-spacing: 0; line-height: 1; }
h1, h2 { max-width: 100%; text-wrap: wrap; }
h1 span, h2 span { color: var(--accent); }
.lead { font-size: var(--lead); font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.chapter > p { max-width: 550px; }
.chapter > .lead { color: var(--divider-ink); }
.chapter > h1 + .lead, .chapter > h2 + .lead { margin-top: -16px; }
.chapter > p:not(.lead) { color: var(--ink); }
.dates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 12px; margin-top: 8px; }
.date-card { min-height: 96px; padding: 16px 20px; background: var(--paper); color: #000; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.date-number { font-family: "Caveat", "Sofia Sans Semi Condensed", sans-serif; font-weight: 700; font-size: 42px; line-height: 1.1; }
.date-card:first-child { transform: rotate(-1deg); }
.date-card:hover { text-decoration: none; background: var(--ink); }
.button { font-family: "Caveat", "Sofia Sans Semi Condensed", sans-serif; font-size: 32px; font-weight: 400; line-height: 1; transform-origin: center; transition: transform 240ms ease; min-height: 58px; display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 16px 22px; background: var(--paper); color: #000; width: 100%; }
.button:hover { background: var(--ink); text-decoration: none; }
.button:focus-visible { transform: rotate(-1deg); }
.cta-arrow { display: block; flex: 0 0 20px; overflow: visible; }
.cta-tip { transition: transform 240ms ease; }
.button:focus-visible .cta-tip { transform: translate(4px,-4px); }
@media (hover:hover) and (pointer:fine) {
  .button:hover { transform: rotate(-1deg); }
  .button:hover .cta-tip { transform: translate(4px,-4px); }
  .practical:hover { transform: rotate(0); border-color: var(--accent); background: #0b0a08; }
}
[data-map] a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.practical { width: calc(100% - 12px); margin-inline: 6px; border: 1px solid #675d4c; background: var(--bg); color: var(--ink); transform: rotate(-1deg); transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease; }
.practical[open], .practical:focus-within { transform: rotate(0); border-color: var(--accent); }
.practical summary { font-family: "Caveat", "Sofia Sans Semi Condensed", sans-serif; font-size: 32px; font-weight: 400; line-height: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; cursor: pointer; list-style: none; }
.practical summary::-webkit-details-marker { display: none; }
.practical summary:focus-visible { outline-offset: -6px; }
.practical-icon { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; }
.practical-icon .ui-icon { grid-area: 1 / 1; transition: transform 260ms ease, opacity 180ms ease; }
.practical-icon .ui-icon--plus { --icon: url("/assets/icons/plus.svg"); opacity: 1; transform: rotate(0); }
.practical-icon .ui-icon--minus { opacity: 0; transform: rotate(-90deg); }
.practical[open] .practical-icon .ui-icon--plus { --icon: url("/assets/icons/plus.svg"); opacity: 0; transform: rotate(90deg); }
.practical[open] .practical-icon .ui-icon--minus { opacity: 1; transform: rotate(0); }
.practical > div { padding: 6px 22px 22px; color: var(--ink); }
.practical p + p { margin-top: 16px; }
.host { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: center; gap: 28px; width: 100%; padding: 24px 0; background: var(--bg); color: var(--ink); border-block: 1px solid var(--line); }
.host-portrait { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; isolation: isolate; color: var(--accent); }
.host-portrait::after { content: ""; position: absolute; inset: 11%; border: 1px solid var(--line); border-radius: 50%; z-index: 1; pointer-events: none; }
.host-photo { position: absolute; inset: 14.615%; border: 1px solid #675d4c; border-radius: 50%; background: var(--bg); overflow: hidden; z-index: 1; }
.host-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.host-orbit { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.host-orbit-back { z-index: 0; clip-path: inset(-4% -4% 50% -4%); }
.host-orbit-front { z-index: 2; clip-path: inset(50% -4% -4% -4%); }
.orbit-track { fill: none; stroke: currentColor; stroke-width: .8; opacity: .5; }
.orbit-marker, .orbit-still { fill: #000; stroke: currentColor; stroke-width: 1; }
.orbit-still { display: none; }
.host-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.host h3 { font-family: "Caveat", "Sofia Sans Semi Condensed", sans-serif; font-weight: 700; font-size: 42px; line-height: 1; margin: 0; }
.host .host-role { font-size: var(--lead); line-height: 1.35; color: var(--muted); margin-top: -10px; }
.host p { color: var(--ink); }
footer { margin: 20px 4vw 0; padding: 28px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.footer-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-project { color: var(--muted); }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-link { position: relative; isolation: isolate; display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); transition: transform 240ms ease, color 240ms ease; }
.social-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleX(0); transform-origin: left center; transition: transform 300ms ease; pointer-events: none; }
.social-link::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); opacity: 0; transition: opacity 240ms ease; pointer-events: none; }
.social-link:is(:hover,:focus-visible,:active)::before { transform: scaleX(1); }
.social-link:is(:hover,:focus-visible,:active)::after { opacity: 1; }
.social-link:hover, .social-link:focus-visible, .social-link:active { color: #000; transform: rotate(-1deg); }
.social-icon { display: block; width: 22px; height: 22px; background: currentColor; mask: var(--social-icon) center / contain no-repeat; -webkit-mask: var(--social-icon) center / contain no-repeat; }
.social-icon--instagram { --social-icon: url('./icons/instagram.svg'); }
.social-icon--threads { --social-icon: url('./icons/threads.svg'); }
.social-icon--telegram { --social-icon: url('./icons/telegram.svg'); }
@media (min-width:1700px) { :root { --columns-gap: 100px; } }
@media (max-width:1000px) and (min-width:761px) { .experience { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); } :root { --columns-gap: 4vw; --heading: 64px; } .host { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); } }
@media (max-width:760px) {
  :root { --header: 64px; --heading: clamp(48px,13vw,76px); --offset: 290px; }
  .header { margin-inline: 20px; gap: 12px; }
  .identity { gap: 8px; }
  .brand-logo { width: 116px; }
  .experience { display: block; margin-top: var(--header); padding: 0 20px; }
  .visual-track { position: sticky; top: var(--header); margin-bottom: 16px; background: #000; z-index: 10; }
  .visual::before, .chapters::after, .chapter::after { display: none; }
  .visual { position: static; height: auto; padding-top: 10px; }
  .portrait { width: min(100%,calc((35svh - 24px)*16/9)); margin-inline: auto; transform: none; }
  .rail-nav { display: none; }
  .chapter { padding: 40px 0 52px; gap: 24px; }
  .chapter:not(.invitation):not(.join) { padding-top: 48px; padding-bottom: 62.4px; }
  .date-number { font-size: 38px; }
  .chapter > h1 + .lead, .chapter > h2 + .lead { margin-top: -12px; }
  .join { padding-bottom: var(--end-gap); }
  .invitation { padding-top: 16px; justify-content: flex-start; }
  .dates { gap: 10px; }
  .date-card { padding: 12px; min-height: 80px; }
  .host { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 16px; }
  .host h3 { font-size: 38px; }
  footer { margin-inline: 20px; }
}
/* Rectangular navigation surfaces: mouse, keyboard and touch. */
.header a, footer a { position: relative; isolation: isolate; padding: 12px; border-radius: 0; transition: color 280ms ease; }
.header a::before, footer a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleX(0); transform-origin: left center; transition: transform 340ms cubic-bezier(.22,.61,.36,1); pointer-events: none; }
.header a:is(:hover,:focus-visible,:active)::before, footer a:is(:hover,:focus-visible,:active)::before { transform: scaleX(1); }
.header a img, footer a img { transition: filter 280ms ease; }
.header .header-contact { padding: 14px 12px; }
.header a:hover, .header a:focus-visible, .header a:active,
footer a:hover, footer a:focus-visible, footer a:active { background: transparent; color: #000; text-decoration: none; transform: none; }
.header a:is(:hover,:focus-visible,:active) img,
footer a:is(:hover,:focus-visible,:active) img { filter: brightness(0); }
@media (max-width:760px) { .header a { padding-inline: 8px; } .header .header-contact { padding-inline: 8px; } }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; }
  .button:hover, .button:focus-visible, .button:hover .cta-tip, .button:focus-visible .cta-tip, .practical, .social-link:hover, .social-link:focus-visible, .social-link:active { transform: none; }
  .orbit-marker { display: none; animation: none; }
  .orbit-still { display: block; }
}
