/* Screenshot-driven masthead and first scene. Logo uses currentColor; red stays red. */
:root { --font: "nudista-web", Arial, Helvetica, sans-serif; --header-inset: clamp(1.25rem, 3.34vw, 4rem); }
body { font-weight: 400; }
.header-actions .main-nav { order:0;width:auto;flex:0 0 auto; }
.visually-hidden { position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
.site-header { position:relative;z-index:30;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;width:100%;min-height:0;padding:clamp(1.5rem,3.2vw,3.9rem) var(--header-inset);border:0;margin:0;color:#111;background:#fff; }
.site-header--over-hero { position:absolute;inset:0 0 auto;background:none;pointer-events:none; }

.site-header--over-hero a,.site-header--over-hero details { pointer-events:auto; }
.site-header[data-tone="light"] { color:#fff; }
.site-header[data-tone="dark"] { color:#151515; }
.brand { display:block;width:clamp(11rem,18vw,21.5rem);max-width:48vw;flex-shrink:0;line-height:0;color:inherit; }
.brand svg { display:block;width:100%;height:auto; }
.header-actions { display:flex;align-items:flex-start;gap:clamp(1.25rem,2vw,2.5rem);padding-top:.05rem; }
.main-nav { margin:0;display:block; }
.main-nav a { display:inline-flex;align-items:center;min-height:44px;padding:0;text-transform:uppercase;white-space:nowrap;font-size:clamp(1rem,1.15vw,1.35rem);font-weight:400;line-height:1.25;text-decoration:none; }
.main-nav a:hover { text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.4em; }
.language-switch { font-weight:400;position:relative;font-size:clamp(1rem,1.15vw,1.35rem);line-height:1.25; }
.language-switch summary { min-height:44px;display:flex;align-items:center;gap:.65rem;list-style:none;cursor:pointer; }
.language-switch summary::-webkit-details-marker { display:none; }
.language-switch summary svg { transition:transform .2s ease; }
.language-switch[open] summary svg { transform:rotate(180deg); }
.language-switch summary { padding-inline:.5rem;margin-inline:-.5rem;border-radius:.3rem; }
.language-switch summary:hover { background:rgba(127,127,127,.13); }
.language-options { position:absolute;right:-.6rem;top:calc(100% + .75rem);width:13.5rem;padding:.45rem;border:1px solid rgba(255,255,255,.22);border-radius:.65rem;background:rgba(240,240,240,.96);color:#191919;box-shadow:0 18px 55px rgba(0,0,0,.16);font-weight:400; }
@supports(backdrop-filter:blur(16px)) { .language-options { background:rgba(240,240,240,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); } }
.language-options a { display:grid;grid-template-columns:2rem 1fr 1rem;align-items:center;gap:.75rem;min-height:52px;padding:.6rem .7rem;border-radius:.35rem;text-decoration:none;transition:background .2s ease; }
.language-options a+a { margin-top:.15rem; }
.language-options a:hover,.language-options a:focus-visible { background:rgba(18,25,30,.055); }
.language-options [aria-current] { background:rgba(18,25,30,.045); }
.language-option__code { font-size:.7rem;letter-spacing:.06em;line-height:1;color:#73736f; }
.language-option__name { font-size:1rem;line-height:1.2; }
.language-option__check { opacity:0;color:#b31c17; }
[aria-current]>.language-option__check { opacity:1; }
@media(prefers-reduced-motion:no-preference) { .language-switch[open] .language-options { animation:language-enter .2s var(--ease) both; } @keyframes language-enter { from { opacity:0;transform:translateY(-5px); } to { opacity:1;transform:translateY(0); } } }
.journey-hero { position:relative;isolation:isolate;container-type:size;overflow:hidden;height:100svh;min-height:38rem;color:#fff;background:#313d42; }
.journey-hero__image { position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 73%;z-index:-3; }
.journey-hero__shade { position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(5,10,16,.8) 0%,rgba(8,15,22,.61) 16%,rgba(10,17,23,.34) 38%,rgba(10,17,23,.20) 62%,rgba(10,17,23,.29) 100%); }
.hero-episode { position:absolute;left:var(--header-inset);bottom:clamp(10rem,24.1vh,17rem);z-index:2; }
.hero-episode__number { font-size:clamp(1rem,1.05vw,1.3rem);font-weight:400;line-height:1.3; }
.hero-episode__number strong { font-weight:700; }
.hero-episode h2 { margin:.2rem 0 1.05rem;font-family:var(--font);font-size:clamp(3rem,4.2vw,5.2rem);font-weight:700;letter-spacing:-.035em;line-height:1;text-transform:uppercase; }
.hero-episode__link { display:inline-flex;align-items:center;gap:1rem;min-height:44px;font-size:clamp(.95rem,1.05vw,1.2rem);font-weight:400;letter-spacing:.16em;text-transform:uppercase;text-decoration:none; }
.hero-episode__arrow { display:block;flex:0 0 auto;width:1.65rem;height:1.15rem;align-self:center;transition:transform .3s ease; }
.hero-episode__link:hover .hero-episode__arrow { transform:translateX(.4rem); }
.hero-wordmark { position:absolute;left:.4vw;bottom:-.065em;font-family:var(--font);font-size:clamp(7rem,17.35vw,24rem);line-height:.82;letter-spacing:-.045em;font-weight:700;color:rgba(255,255,255,.18);z-index:0;white-space:nowrap;pointer-events:none;user-select:none;filter:none; }
.hero-scroll { z-index:3;position:absolute;right:var(--header-inset);bottom:1.15rem;display:flex;gap:.6rem;align-items:center;min-height:44px;min-width:9rem; }
.hero-scroll span { display:block;width:2.5rem;height:2px;background:#ffffff50; }
.hero-scroll span:first-child { background:white; }
.page-home #main { outline:none; }
.page-home #episodes { scroll-margin-top:12rem; }

@media(max-width:48rem) {
 .site-header { gap:1rem;padding-top:1.5rem; }
 .brand { width:clamp(8rem,31vw,14rem);max-width:40vw; }
 .header-actions { gap:1rem; }
 .main-nav a,.language-switch { font-size:.875rem; }
 .journey-hero { min-height:36rem; }
 .journey-hero__image { object-position:53% center; }
 .journey-hero__shade { background:linear-gradient(180deg,rgba(5,10,16,.82) 0%,rgba(8,15,22,.6) 20%,rgba(10,17,23,.32) 43%,rgba(10,17,23,.22) 65%,rgba(10,17,23,.36) 100%); }
 .hero-episode { bottom:9rem; }
 .hero-episode h2 { font-size:clamp(2.6rem,9vw,4rem); }
 .hero-wordmark { font-size:18vw;bottom:1.8rem; }
 .hero-scroll { bottom:.3rem;right:var(--header-inset); }
 .page-home #episodes { scroll-margin-top:8rem; }
}
@media(max-width:24rem) { .header-actions { gap:.55rem; }.main-nav a,.language-switch{font-size:.8rem}.language-switch summary{gap:.3rem} }
@media(prefers-reduced-motion:no-preference) { .brand { transition:width .35s var(--ease),color .25s ease; }.main-nav,.language-switch { transition:color .25s ease; }.hero-episode { animation:hero-enter .85s var(--ease) both; }@keyframes hero-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}} }
@media(prefers-reduced-motion:reduce) { .hero-episode__arrow,.language-switch summary svg { transition:none; } }

/* User-supplied alpha cutout, registered to the 2000 × 1333 photograph.
   Exact crop: x=719, y=231, width=601, height=939 source pixels.
   The same original photo + shade is rendered through this alpha mask so colours
   and gradient remain identical at the edges. No regenerated image pixels. */
.journey-hero__foreground {
 --photo-width:max(100cqw,calc(100cqh * 1.500375094));
 --photo-height:max(100cqh,calc(100cqw * .6665));
 --cutout-width:calc(var(--photo-width) * .3005);
 --cutout-height:calc(var(--photo-height) * .704426107);
 --cutout-x:calc((100cqw - var(--photo-width)) * .5 + var(--photo-width) * .3595);
 --cutout-y:calc((100cqh - var(--photo-height)) * .73 + var(--photo-height) * .173293323);
 display:none;position:absolute;inset:0;z-index:1;pointer-events:none;
 mask-image:url('../images/hero/tdsr-zurich-foreground.webp');
 -webkit-mask-image:url('../images/hero/tdsr-zurich-foreground.webp');
 mask-mode:alpha;mask-size:var(--cutout-width) var(--cutout-height);
 -webkit-mask-size:var(--cutout-width) var(--cutout-height);
 mask-position:var(--cutout-x) var(--cutout-y);
 -webkit-mask-position:var(--cutout-x) var(--cutout-y);
 mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;
}
@supports (width:1cqw) and (mask-image:linear-gradient(black,black)) { .journey-hero__foreground { display:block; } }
.journey-hero__foreground .journey-hero__image { z-index:0; }
.journey-hero__foreground .journey-hero__shade { z-index:1; }
@media(max-width:48rem) {
 .journey-hero__foreground {
  --cutout-x:calc((100cqw - var(--photo-width)) * .53 + var(--photo-width) * .3595);
  --cutout-y:calc((100cqh - var(--photo-height)) * .5 + var(--photo-height) * .173293323);
 }
}

/* One entrance, then a completely still and sharp wordmark. */
@media(prefers-reduced-motion:no-preference) {
 .hero-wordmark { animation:episodes-focus-in 1.8s cubic-bezier(.16,1,.3,1) .2s both; }
 @keyframes episodes-focus-in {
  0% { opacity:0;filter:blur(22px); }
  35% { opacity:.45; }
  100% { opacity:1;filter:blur(0); }
 }
}
@media(prefers-reduced-motion:reduce) {
 .hero-wordmark { animation:none;opacity:1;filter:none; }
}


.journey-hero--balloon>.journey-hero__image{object-position:center center}
@media(max-width:47rem){.journey-hero--balloon>.journey-hero__image{object-position:55% center}}

.hero-wordmark__mobile{display:none}
@media(max-width:47rem){
 .hero-wordmark{left:0;right:0;bottom:-1px;width:100%;font-size:0;line-height:0;letter-spacing:0}
 .hero-wordmark__desktop{display:none}
 .hero-wordmark__mobile{display:block;width:100%;height:auto;overflow:visible;fill:currentColor}
 .hero-wordmark__mobile text{font-family:var(--font);font-weight:700;letter-spacing:0}
}
