/* Sound with Toya
   One visual world: a dusk sky that turns to night as you scroll.
   No inline styles anywhere (the Content Security Policy forbids them). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #f3ebdf;     /* light type: off-white with a faint sand warmth */
  --sand-muted: #d3c8b7; /* small light labels */
  --sand-dim: #b8ae9f;   /* footer text */
  --slate: #1d2632;     /* dark type on the pale middle sky */
  --slate-2: #2c3746;   /* secondary dark type */
  --night: #141b26;
  --night-deep: #0e131a;
  --mist: rgba(238, 240, 246, 0.34);
  --rule-dark: rgba(29, 38, 50, 0.25);
  --rule-light: rgba(243, 235, 223, 0.18);

  --serif: "Cormorant Garamond", Cormorant, Garamond, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
/* Without JavaScript, the browser's own smooth scroll stands in for the glide. */
html:not(.js) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--paper); color: var(--slate);
  font-size: 13px; transition: top .3s var(--ease);
}
.skip:focus { top: 12px; }

/* ── The sky ───────────────────────────────────────────── */

.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #9aa9c6;
}
.sky__img {
  position: absolute; left: 50%; top: 0;
  width: auto; max-width: none; min-width: 100%;
  height: 180vh;
  height: max(180lvh, 133.4vw);
  object-fit: cover;
  /* Without JavaScript the sky rests with the moon above the title. */
  transform: translate3d(-50%, var(--sky-y, -32vh), 0);
  will-change: transform;
}
html.js .sky__img {
  opacity: 0; filter: blur(16px) brightness(.85);
  transition: opacity 1.8s var(--ease), filter 2.2s var(--ease);
}
html.js.is-loaded .sky__img { opacity: 1; filter: none; }

/* ── Navigation ────────────────────────────────────────── */

.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--nav-h);
  color: var(--paper);
  transition: color .7s ease;
}
html.js .nav { position: fixed; }
.nav[data-ink="dark"] { color: var(--slate); }

.nav__veil {
  position: absolute; inset: 0 0 -24px 0; pointer-events: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
  mask-image: linear-gradient(to bottom, #000 45%, transparent);
  opacity: 0; transition: opacity .6s ease;
}
.nav.is-scrolled .nav__veil { opacity: 1; }
/* Over the night section the frosted strip takes on the night's colour, so it never reads as a grey band. */
.nav__veil { transition: opacity .6s ease, background-color .8s ease; }
.nav[data-over="contact"] .nav__veil { background-color: rgba(14, 19, 26, .12); }

.nav__inner {
  position: relative; height: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 24px;
}
.nav__mark {
  display: none; align-items: center; min-height: 44px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .6s ease;
}
html.js .nav__mark { opacity: 0; }
html.js .nav.is-past-hero .nav__mark { opacity: 1; }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  display: flex; align-items: center; min-height: 44px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 calc(50% + 11px);
  background-size: 0% 1px;
  transition: background-size .6s var(--ease), opacity .4s ease;
}
.nav__links a:hover, .nav__links a.is-active { background-size: 100% 1px; }

@media (min-width: 560px) {
  .nav__inner { justify-content: space-between; }
  .nav__mark { display: flex; }
  .nav__links { gap: 28px; }
}

/* ── Shared type ───────────────────────────────────────── */

.eyebrow {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--slate-2);
}
.eyebrow--light { color: var(--sand-muted); }
.h2 {
  margin: 12px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.18;
  text-wrap: balance;
}
.h2--light { font-weight: 300; font-size: clamp(32px, 4.4vw, 48px); }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; text-wrap: pretty; }

/* ── Buttons ───────────────────────────────────────────── */
/* Hover: a soft milky-white glaze slowly fades in. Nothing jumps or inverts. */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 32px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  text-shadow: none;
  transition: background-color 1.1s var(--ease), border-color 1.1s var(--ease), box-shadow 1.1s var(--ease);
}
.btn--ghost-light { border: 1px solid rgba(243, 235, 223, .85); color: var(--paper); }
.btn--ghost-dark  { border: 1px solid rgba(29, 38, 50, .75); color: var(--slate); }
.btn--solid       { min-height: 54px; padding: 0 38px; border: 1px solid var(--paper); background: rgba(243, 235, 223, .92); color: var(--night); font-weight: 500; }

@media (hover: hover) {
  .btn--ghost-light:hover { background-color: rgba(243, 235, 223, .16); }
  .btn--ghost-dark:hover  { background-color: rgba(255, 251, 245, .34); border-color: rgba(29, 38, 50, .55); }
  .btn--solid:hover       { background-color: rgba(250, 245, 237, 1); box-shadow: 0 0 44px rgba(243, 235, 223, .22); }
}
.btn--ghost-light:focus-visible { background-color: rgba(243, 235, 223, .16); }
.btn--ghost-dark:focus-visible  { background-color: rgba(255, 251, 245, .34); }

/* ── Hero ──────────────────────────────────────────────── */

.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 96px var(--gutter) 32px;
  display: flex; flex-direction: column; align-items: center;
  color: var(--paper); text-align: center;
  /* No veil: a soft, wide shadow on the letters alone keeps them legible. */
  text-shadow: 0 0 2px rgba(20, 27, 38, .12), 0 1px 30px rgba(20, 27, 38, .38);
}
.hero__centre { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.hero__place { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.hero__title {
  margin: 0; padding-left: .06em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero__line { max-width: 380px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; text-wrap: balance; }
.hero__foot { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.hero__foot .btn { text-shadow: none; min-height: 54px; padding: 0 38px; font-size: 12.5px; }

/* Scroll hint: a soft breath of light, not a loading bar. */
.cue { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cue__label { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: .04em; opacity: .85; }
.cue__wisp {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(243, 235, 223, 0), rgba(243, 235, 223, .95) 45%, rgba(243, 235, 223, 0));
  transform-origin: 50% 0;
  animation: breathe 5.2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .25; transform: scaleY(.55) translateY(0); }
  50% { opacity: 1; transform: scaleY(1) translateY(6px); }
}

/* Arrival: everything rises in once the sky has loaded. */
html.js .rise { opacity: 0; }
html.js.is-loaded .rise { animation: rise 1.4s var(--ease) forwards; }
html.js.is-loaded .d1 { animation-delay: .5s; }
html.js.is-loaded .d2 { animation: settle 2s var(--ease) .8s forwards; }
html.js.is-loaded .d3 { animation-delay: 1.3s; }
html.js.is-loaded .d4 { animation-delay: 1.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; letter-spacing: -.01em; } to { opacity: 1; letter-spacing: .06em; } }

/* Sections drift up the first time they come into view. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ── About ─────────────────────────────────────────────── */

.about {
  padding: 120px var(--gutter) 64px;
  background: radial-gradient(ellipse 90% 55% at 50% 50%, var(--mist), rgba(238, 240, 246, 0) 75%);
}
.about__grid {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.about__photo { margin: 0; width: 100%; max-width: 460px; justify-self: center; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(20, 27, 38, .45); }
.about__text { display: flex; flex-direction: column; max-width: 520px; }
.about__text .prose { margin-top: 24px; }
@media (min-width: 760px) { .about__photo { position: sticky; top: 120px; } }

/* ── Sessions ──────────────────────────────────────────── */

.sessions {
  padding: 56px var(--gutter) 220px;
  background: radial-gradient(ellipse 90% 50% at 50% 45%, rgba(238, 240, 246, .32), rgba(238, 240, 246, 0) 75%);
}
.sessions__inner { max-width: 720px; margin: 0 auto; }
.session-list { margin-top: 32px; border-bottom: 2px solid var(--rule-dark); }

.session { border-top: 2px solid var(--rule-dark); }
.session__head {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 14px;
  padding: 24px 0; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.session__head::-webkit-details-marker { display: none; }
.session__head::marker { content: ""; }
.session__title { display: flex; flex-direction: column; gap: 6px; }
.session__name {
  display: inline-block;
  font-family: var(--serif); font-size: 22px; line-height: 1.15;
  letter-spacing: .04em; text-transform: uppercase;
}
.session__meta { font-size: 13px; color: var(--slate-2); }
.session__line { font-size: 15px; line-height: 1.5; }

/* "Read more" is the only cue: no icons. The name and the line answer the hand. */
.more {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate-2);
  opacity: .72; transition: opacity .6s ease;
}
.more__labels { display: grid; justify-items: start; }
.more__open, .more__close { grid-area: 1 / 1; transition: opacity .6s ease; }
.more__close { opacity: 0; }
.more__line {
  display: block; width: 28px; height: 1px; background: currentColor;
  order: -1; /* phone: the line leads, the word follows */
  transform-origin: right center;
  transition: width .9s var(--ease), transform .9s var(--ease);
}
.session[open]:not(.is-closing) .more__open { opacity: 0; }
.session[open]:not(.is-closing) .more__close { opacity: 1; }
.session[open]:not(.is-closing) .more__line { width: 12px; }

@media (hover: hover) {
  .session__head:hover .more { opacity: 1; }
}

@media (min-width: 720px) {
  .session__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .more { justify-self: end; }
  .more__labels { justify-items: end; }
  .more__line { order: 0; transform-origin: left center; }
}

.session__body { overflow: hidden; }
.session__inner { display: flex; flex-direction: column; gap: 16px; padding: 0 0 26px; }
.session__inner > p { max-width: 600px; font-size: 15px; line-height: 1.65; }

.addon { display: flex; flex-direction: column; gap: 8px; padding: 16px 0 6px; border-top: 1px solid rgba(29, 38, 50, .16); }
.addon__label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate-2); }
.addon__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; }
.addon__name { font-family: var(--serif); font-size: 19px; letter-spacing: .02em; }
.addon__meta { display: flex; gap: 14px; font-size: 13px; color: var(--slate-2); }
.addon__link {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; color: var(--slate);
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 calc(50% + 11px); background-size: 100% 1px;
  transition: background-size .8s var(--ease);
}
.addon__link:hover { background-size: 40% 1px; }

.session__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@media (min-width: 720px) { .session__cta { justify-content: space-between; } }
.price { font-family: var(--serif); font-size: 30px; line-height: 1; }

.small-print { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; font-size: 13px; line-height: 1.55; color: var(--slate-2); }

/* ── Contact: the sky turns to night ───────────────────── */

.contact {
  min-height: 100vh; min-height: 100svh;
  padding: 140px var(--gutter) 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
  color: var(--paper);
  /* An eased fade (many small steps) so dusk turns to night without a visible edge,
     and stays light enough for the treeline to show through. */
  background: linear-gradient(to bottom,
    rgba(16, 22, 32, 0) 0,
    rgba(16, 22, 32, .05) 60px,
    rgba(16, 22, 32, .13) 130px,
    rgba(16, 22, 32, .23) 210px,
    rgba(16, 22, 32, .33) 300px,
    rgba(16, 22, 32, .41) 400px,
    rgba(16, 22, 32, .47) 55%,
    rgba(14, 19, 26, .56) 85%,
    rgba(14, 19, 26, .66) 100%);
  text-shadow: 0 1px 18px rgba(14, 19, 26, .45);
}
.contact__inner { width: 100%; max-width: 560px; margin: auto auto 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.contact__inner .h2 { margin-top: 0; }
.contact__inner .btn { margin: 8px 0 20px; }
.contact__links { display: flex; gap: 8px 32px; flex-wrap: wrap; justify-content: center; }
.contact__links a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.contact__links a:hover { opacity: .78; }
.contact__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-muted); }

/* ── Words from past sessions ──────────────────────────── */
/* One snippet at a time, dissolving into the next like a held note fading.
   All snippets share one grid cell, so the height never jumps. */

.voices {
  width: 100%; max-width: 680px; margin: 0 auto auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.voices__title { position: relative; padding-top: 28px; }
.voices__title::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 32px; height: 1px;
  background: var(--rule-light); transform: translateX(-50%);
}
.voices__stage { display: grid; width: 100%; }
.voice { grid-area: 1 / 1; margin: 0; display: grid; place-items: center; }
.voice blockquote { margin: 0; }
.voice p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.3vw, 28px); line-height: 1.35; letter-spacing: .005em;
  color: var(--paper); text-wrap: balance;
}
/* Without JavaScript the snippets simply stack. */
html:not(.js) .voices__stage { gap: 18px; }
html:not(.js) .voice { grid-area: auto; }

html.js .voice {
  opacity: 0; transform: translateX(18px); filter: blur(3px);
  transition: opacity 1.8s var(--ease), transform 2.2s var(--ease), filter 1.8s var(--ease);
  pointer-events: none;
}
html.js .voice.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
html.js .voice.is-leaving { opacity: 0; transform: translateX(-18px); filter: blur(3px); }

.voices__controls { display: flex; align-items: center; gap: 18px; }
.voices__controls[hidden] { display: none; }
.voices__dots { display: flex; }
.voices__dot {
  width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.voices__dot::after {
  content: ""; display: block; height: 1px; width: 12px;
  background: var(--paper); opacity: .35;
  transition: width 1s var(--ease), opacity 1s var(--ease);
}
.voices__dot[aria-current="true"]::after { width: 22px; opacity: .95; }
.voices__dot:focus-visible { outline: 1px solid var(--paper); outline-offset: -6px; }

.footer {
  width: 100%; max-width: calc(1200px - 2 * var(--gutter)); margin: 0 auto; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--rule-light); font-size: 12px; color: var(--sand-dim);
}
.footer__links { display: flex; gap: 18px; }
.footer__links a { display: flex; align-items: center; min-height: 44px; }
.footer__links a:hover { color: var(--paper); }

/* ── Plain pages (Impressum, Datenschutz, 404) ─────────── */

.page {
  min-height: 100vh; padding: 96px var(--gutter) 48px;
  background: linear-gradient(to bottom, #2a3445, var(--night) 40%, var(--night-deep));
  color: var(--paper);
}
.page__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.page__back { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-muted); }
.page__back:hover { color: var(--paper); }
.page h1 { margin: 24px 0 8px; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; }
.page h2 { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.page p { color: #e2d9cb; }

/* ── Reduced motion: still, calm, immediate ────────────── */

@media (prefers-reduced-motion: reduce) {
  html:not(.js) { scroll-behavior: auto; }
  html.js .sky__img { opacity: 1; filter: none; transition: none; }
  html.js .rise, html.js.is-loaded .rise, html.js.is-loaded .d2 { opacity: 1; animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .cue__wisp { animation: none; opacity: .7; }
  .more__line, .nav__links a, .btn { transition: none; }
}

/* ── Hero label wraps gracefully on small phones ───────── */
.hero__place { font-size: clamp(10.5px, 1vw, 12px); letter-spacing: .24em; line-height: 1.9; max-width: 92vw; text-wrap: balance; }

/* ── Sessions intro ────────────────────────────────────── */
.intro { margin-top: 16px; max-width: 560px; font-size: 16px; line-height: 1.6; }
.sessions { padding-bottom: 72px; }

/* ── FAQ: same quiet language as the sessions, smaller ── */
.faq {
  padding: 40px var(--gutter) 220px;
  background: radial-gradient(ellipse 90% 50% at 50% 45%, rgba(238, 240, 246, .30), rgba(238, 240, 246, 0) 75%);
}
.faq__inner { max-width: 720px; margin: 0 auto; }
.faq-list { margin-top: 28px; border-bottom: 1px solid var(--rule-dark); }
.qa { border-top: 1px solid var(--rule-dark); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; padding: 16px 0; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa__q { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.qa__mark { flex: none; width: 14px; height: 1px; background: currentColor; opacity: .6; transition: width .8s var(--ease), opacity .6s ease; }
.qa[open]:not(.is-closing) .qa__mark { width: 6px; opacity: .9; }
@media (hover: hover) { .qa summary:hover .qa__mark { width: 22px; opacity: 1; } }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 20px; max-width: 620px; font-size: 15px; line-height: 1.7; }
.qa__a strong { font-weight: 500; }

/* Over the lighter night sky the small labels need full strength to stay readable. */
.contact .eyebrow--light, .contact .contact__label { color: var(--paper); opacity: .9; }
