:root {
  --photo: #9dabc0;          /* exact backdrop tone of the portrait photos */
  --photo-deep: #8e9db3;
  --bg: #e5e7eb;             /* cool studio grey of the bio / chamber photo backdrops */
  --bg-2: #e9ecf0;
  --bg-chamber: #f2f3f6;      /* backdrop of chamber.jpg (median of its studio wall) */
  --ink: #24262b;
  --ink-2: #565a62;
  --ink-3: #62666e;          /* meta text: ≥ 4.6:1 on every light surface (page, chamber, white, map) */
  --accent: #9a4a1e;         /* viola varnish */
  --accent-2: #c87a3e;
  --kad: #02d2b3;           /* turquoise of the Karajan Academy (the Berlin Philharmonic's academy), used only for its logo mark in the CV */
  --line: rgba(21, 22, 26, 0.1);
  --serif: "Shippori Mincho", "Noto Serif JP", "Times New Roman", serif;
  --section-y: clamp(56px, 9vh, 120px);   /* one vertical rhythm: sections pad at the bottom only, so neighbours never add up (phones; larger on desktop, see below) */
  --serif-scale: .78;          /* Shippori Mincho runs larger than the Garamond it replaced */
  --sans: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --jp: "Noto Serif JP", serif;
  --gutter: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 500; color: var(--ink); }
::selection { background: var(--accent); color: #fff; }

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.h2 {
  font-family: var(--serif); font-weight: 400; color: var(--ink-2);   /* a muted grey, so the headings sit back behind the content */
  font-size: calc(clamp(44px, 7vw, 96px) * var(--serif-scale, 1) * .9); line-height: .98; letter-spacing: .02em;
  margin: 0 0 2.5rem; width: fit-content;
}
/* a viola-varnish line under every section heading, as long as the heading itself (a string under the hand) */
.h2::after { content: ""; display: block; height: 1.5px; margin-top: .3em; background: var(--accent); opacity: .5; }

@media (min-width: 961px) { :root { --section-y: clamp(96px, 17vh, 190px); } 
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.nav.is-solid {
  background: rgba(229, 231, 235, .96);
  border-bottom: 1px solid var(--line);
}
/* scrolling through the hero: the photo passes under the links, so the bar takes the studio blue, flat like the rest of the page */
.nav.is-over-hero {
  background: var(--photo);
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo {
  font-family: var(--serif); font-size: 22px; text-decoration: none;
  /* hidden over the hero (the name is already there, big); slides in once it has scrolled away */
  opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .6s;
}
.nav__logo-i { font-style: italic; }
/* with the hero name docking into the bar, the logo takes over at the same instant (no fade) */
.nav.dock .nav__logo { transition: none; }
.dock-flyer {
  position: fixed; left: 0; top: 0; z-index: 60; margin: 0; pointer-events: none;
  white-space: nowrap; line-height: 1; transform-origin: 0 0; will-change: transform;
  font-family: var(--serif); font-weight: 300; display: none;
}
.dock-flyer--i { font-style: italic; }
.nav.logo-on .nav__logo, .nav.is-open .nav__logo { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.nav__links a {
  position: relative; padding: 6px 0;
  font-size: 13.5px; text-decoration: none; color: var(--ink); opacity: .85; transition: opacity .3s;
}
.nav__links a:hover { opacity: 1; }
/* where you are: full ink plus a varnish line that draws in */
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__lang { display: flex; gap: 2px; margin-left: clamp(16px, 2.6vw, 40px); padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.nav__lang a {
  font-size: 12px; letter-spacing: .06em; text-decoration: none; color: var(--ink);
  opacity: .78; padding: 6px 6px; transition: opacity .3s;
}
.nav__lang a:hover { opacity: 1; }
.nav__lang a[aria-current] { opacity: 1; color: var(--accent); }
@media (max-width: 1100px) { .nav__links { gap: 14px; } .nav__links a { font-size: 13px; } 

}
/* ---------- Burger (phones) ----------
   Two thin lines of different length, like two strings. They draw together into an X;
   the menu opens like a curtain from the top and the links rise in one after another,
   with the same ease as the rest of the page. */
.nav__toggle {
  display: none; position: relative; width: 44px; height: 44px; margin: -6px -10px -6px 8px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.nav__toggle span {
  position: absolute; left: 11px; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: transform .6s var(--ease), width .45s var(--ease), top .45s var(--ease), background .3s;
}
.nav__toggle span:nth-child(1) { top: 17px; width: 22px; }
.nav__toggle span:nth-child(2) { top: 26px; width: 14px; }
.nav__toggle:hover span:nth-child(2) { width: 22px; }
.nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 50%; }
.nav.is-open .nav__toggle span { top: 21.5px; width: 22px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: rotate(-45deg); background: var(--accent); }

@media (max-width: 760px) {
  .nav__lang { margin-left: auto; border-left: 0; padding-left: 0; position: relative; z-index: 2; }
  .nav__logo, .nav__toggle { position: relative; z-index: 2; }
  .nav__toggle { display: block; }
  .nav.is-open { transform: none; }
  .nav.is-open.is-solid, .nav.is-open.is-over-hero { background: transparent; border-bottom-color: transparent; }

  .nav__links {
    display: flex; flex-direction: column; justify-content: flex-start; gap: 0;   /* start right under the header; centring left a big empty band on tall phones */
    position: fixed; inset: 0; z-index: 1; margin: 0;
    height: 100vh; height: 100svh; padding: 104px var(--gutter) 48px;
    background: var(--bg);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s 0s; }

  .nav__links a {
    font-family: var(--serif); font-size: clamp(22px, 6.4vw, 28px); line-height: 1.15; letter-spacing: -.005em;
    padding: 14px 0; opacity: 0; transform: translateY(28px);
    border-bottom: 1px solid var(--line);
    transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: .18s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .23s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .28s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .33s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .38s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .43s; }
  .nav.is-open .nav__links a:nth-child(7) { transition-delay: .48s; }
  .nav__links a.is-active { color: var(--accent); }

}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .nav__links, .nav__links a, .nav__toggle span { transition: none !important; }

}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 70% 45%, #a5b2c5 0%, var(--photo) 55%, var(--photo-deep) 100%);
}
.hero__strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* the string names, in the left margin beside the text, resting on their string (still part, no swing) */
.hero__string-name {
  position: absolute; z-index: 2; transform: translate(-50%, -125%);   /* rests on its string like the text does */
  font: 500 11px/1 var(--sans); letter-spacing: .04em; color: rgba(21,22,26,.6);
  background: none; pointer-events: none; user-select: none;
}
/* the hero's bottom edge evens out into one studio blue, so the next section can take over from a flat colour */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(142,157,179,0) 0%, rgba(142,157,179,.5) 55%, var(--photo-deep) 100%);
}
.hero__photo {
  position: absolute; z-index: 1; margin: 0;
  right: 0; bottom: 0; height: 100%;
  width: min(62vw, calc(100vh * 0.72));
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%), linear-gradient(to top, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%), linear-gradient(to top, transparent 0%, #000 14%);
  mask-composite: intersect;
}
.hero__photo picture { display: contents; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero { --hero-fs: calc(clamp(68px, 11vw, 190px) * var(--serif-scale, 1)); }
/* the name sits on the D and G strings; "Viola" closes the G line, set on the same baseline right after "Furuichi" */
.hero__content {
  position: relative; z-index: 2; pointer-events: none; max-width: 52vw;
  display: grid; grid-template-columns: max-content max-content; align-items: last baseline;
  column-gap: calc(var(--hero-fs) * .2);
}
/* what she plays: upright serif, same baseline as the surname */
.hero__role {
  grid-column: 2; grid-row: 1; margin: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--serif); font-weight: 400; font-size: calc(var(--hero-fs) * .24);
  font-style: italic; line-height: 1; letter-spacing: .02em; color: var(--ink);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--hero-fs);
  line-height: .86; letter-spacing: -.035em; margin: 0; color: #fff; grid-column: 1; grid-row: 1;
}
.hero__title .line {
  display: block; overflow: hidden;
  /* the mask for the rise-in animation needs room for the i-dot above the tight line height
     and for the italic overhang on the right; the negative margins keep the layout unchanged */
  padding: .16em .22em .08em 0; margin: -.16em -.22em 0 0;
}
/* Furuichi steps in under Sara */
.hero__title .line:nth-child(2) { padding-left: .5em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:nth-child(2) > span { font-style: italic; color: var(--ink); }

@media (max-width: 760px) {
  .hero { align-items: flex-start; padding-top: 110px; }
  /* phones: the photo is a cut-out of Sara, fully opaque; the strings run through the backdrop behind her */
  .hero__photo { width: 100%; height: 72%;
    /* the cut-out's last pixel rows are dark and opaque; let it melt into the backdrop instead of ending in an edge */
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 9%); mask-image: linear-gradient(to top, transparent 0, #000 9%); }
  .hero__content { max-width: none; }

}

/* below the hero: studio blue melts into the page grey, entirely outside the photo */
/* ---------- HERO → PAGE ---------- */
.hero-fade {
  height: 32vh; pointer-events: none;
  background: linear-gradient(to bottom,
    var(--photo-deep) 0%, color-mix(in srgb, var(--photo-deep) 82%, var(--bg)) 14%,
    color-mix(in srgb, var(--photo-deep) 58%, var(--bg)) 32%, color-mix(in srgb, var(--photo-deep) 32%, var(--bg)) 54%,
    color-mix(in srgb, var(--photo-deep) 12%, var(--bg)) 76%, var(--bg) 100%);
}

/* ---------- FRAMES ---------- */
.frame {
  position: relative; margin: 0; overflow: hidden; border-radius: 6px;
  aspect-ratio: 4 / 3; background: var(--photo);
}
.frame--tall { aspect-ratio: 3 / 4; }
.frame img { position: relative; z-index: 1; width: 100%; height: 115%; object-fit: cover; }
.frame.no-img img { display: none; }
.frame.no-img .frame__fallback { display: grid; }   /* only when the photo fails */

/* studio photos on the grey page: no box, the backdrop fades into the page like in the hero */
.bio .frame, .rep__photo {
  border-radius: 0; background: var(--bg);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.frame__fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(80px, 12vw, 180px);
  color: rgba(255,255,255,.35);
}
.frame__fallback span[lang="ja"] { font-family: var(--jp); font-style: normal; }

/* ---------- BIO ---------- */
.bio {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px);
  padding: 4vh var(--gutter) 20vh; max-width: 1440px; margin: 0 auto; align-items: start;
}
/* the text is long: the photo stays in view beside it while it scrolls past */
.bio__media { position: sticky; top: 112px; }
.bio__media .frame { max-height: calc(100svh - 150px); }
.bio__text p:not(.eyebrow) { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); max-width: 38em; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio__media { position: static; } .bio__media .frame { max-height: none; } 
}

/* ---------- CONTACT ---------- */
.contact {
  position: relative; text-align: center; padding: 22vh var(--gutter) 18vh;
  min-height: calc(108svh - 142px);   /* tall enough that a jump from the nav can bring the strings up under the bar */
  background: var(--bg-chamber);   /* the page ends on the chamber photo's light wall; the studio blue belongs to the hero only */
  overflow: hidden;
}
.contact__wave { position: absolute; left: 0; right: 0; top: 8vh; height: 120px; }
.contact__wave svg { width: 100%; height: 100%; }
.contact__wave path { stroke: var(--accent); fill: none; opacity: .6; vector-effect: non-scaling-stroke; }
.contact__wave path:nth-child(1) { stroke-width: .7; }
.contact__wave path:nth-child(2) { stroke-width: .9; }
.contact__wave path:nth-child(3) { stroke-width: 1.15; }
.contact__wave path:nth-child(4) { stroke-width: 1.45; }
.contact__title {
  font-family: var(--serif); font-weight: 400; font-size: calc(clamp(56px, 10vw, 150px) * var(--serif-scale, 1));
  line-height: .92; letter-spacing: -.03em; margin: 0 0 6vh;
}
.contact__links { display: flex; flex-direction: column; align-items: center; gap: 30px; }
/* the address itself is the call to action: large serif, a hairline underline that warms on hover */
.contact__mailline { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.contact__mail {
  font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.3;
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: rgba(21,22,26,.3); transition: color .3s, text-decoration-color .3s;
  overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--accent); text-decoration-color: var(--accent); }
/* social: just the marks, thin and quiet like the strings above */
.contact__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.contact__social li { display: flex; align-items: center; gap: 4px; }
.contact__social .ph { margin-left: 0; }
.contact__social a {
  display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink);
  transition: color .3s;
}
.contact__social a:hover { color: var(--accent); }
.contact__social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.contact__social a[data-ph] { cursor: default; }
.contact__social svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.contact__social svg .dot, .contact__social svg .fill { fill: currentColor; stroke: none; }
.contact__social a[aria-label^="X"] svg, .contact__social a[aria-label^="Facebook"] svg { width: 22px; height: 22px; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px var(--gutter); font-size: 13px; color: var(--ink-2); background: var(--bg-chamber);
  border-top: 1px solid var(--line);
}

/* keep faces in frame while the parallax moves the image */
.bio .frame img { object-position: 50% 0%; height: 108%; }

/* ---------- Placeholder badge ---------- */
.ph {
  display: inline-flex; align-items: center; vertical-align: middle;
  font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: #9e3c15; background: rgba(255, 196, 120, .22);
  border: 1px dashed #c8662e; border-radius: 4px; padding: 4px 6px; margin-left: 8px;
  white-space: nowrap; font-style: normal;
}

/* ---------- LEBENSLAUF (compact CV) ---------- */
.cv { padding: 4vh var(--gutter) var(--section-y); max-width: 1440px; margin: 0 auto; }
.cv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vh clamp(32px, 6vw, 96px); }
.cv__group--wide { grid-column: 1 / -1; }
.cv__list, .cv__teachers { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cv__list li {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cv__when { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv__what { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.42; }
/* education: the institution is the entry, the degree and teacher sit beneath it */
/* the current position carries the Berlin Philharmonic's pentagon in varnish on the right */
.cv__now { grid-template-columns: 7.5em 1fr auto !important; align-items: center !important; }
.cv__mark-link { display: block; line-height: 0; }
.cv__mark { width: 54px; height: 52px; color: var(--ink); overflow: visible; }   /* ink for legibility; the running highlight carries the Karajan Academy's turquoise */
.cv__mark path { fill: none; stroke: currentColor; stroke-width: 1.83; stroke-linejoin: miter; stroke-miterlimit: 6; stroke-linecap: butt; }
.cv__mark-base { opacity: 1; }
/* every few seconds a bright stretch runs once around each of the three pentagons, the outer one first */
/* once in a while a light runs round each pentagon: a long turquoise line, brighter at its front, flat like the rest of the page; the middle pentagon runs against the others */
.cv__mark-run path { stroke: var(--kad); stroke-dasharray: var(--ln) 200; stroke-dashoffset: var(--o0); animation: bp-run 9s cubic-bezier(.42, .02, .2, 1) calc(1.2s + var(--i) * 350ms) infinite; }
.cv__mark-run .trail { opacity: .45; }
@keyframes bp-run { 0% { stroke-dashoffset: var(--o0); } 40% { stroke-dashoffset: var(--o1); } 100% { stroke-dashoffset: var(--o1); } }
.cv__mark:not(.is-live) .cv__mark-run path { animation-play-state: paused; }   /* only runs while it is on screen */
.no-anim .cv__mark-run { display: none; }
.cv__group--edu .cv__what { font-size: calc(clamp(19px, 1.5vw, 23px) * 1.1); }
.cv__group--edu .cv__what small { font-size: 14px; }
.cv__what small, .cv__teachers small {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.cv__teachers small { margin-top: 0; white-space: nowrap; }
/* the institution behind a prize or scholarship links to its own page: hairline underline that warms on hover */
.cv__link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); transition: color .3s, text-decoration-color .3s; }
/* a small arrow in varnish says "this opens another page" */
.cv__link::after {
  content: ""; display: inline-block; width: .72em; height: .72em; margin-left: .35em; vertical-align: -.02em;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.cv__link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.cv__link:hover::after { transform: translate(1px, -1px); }
.cv__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.cv__teachers li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.42;
}
@media (max-width: 860px) { .cv__grid { grid-template-columns: 1fr; } 

}
@media (max-width: 520px) {
  .cv__list li { grid-template-columns: 1fr; gap: 2px; }
  .cv__now { grid-template-columns: 1fr auto !important; }
  .cv__now .cv__when { grid-column: 1; }
  .cv__now .cv__what { grid-column: 1; }
  .cv__now .cv__mark-link { grid-column: 2; grid-row: 1 / span 2; }

}

/* ---------- REPERTOIRE ---------- */
.repertoire { position: relative; padding: var(--section-y) var(--gutter); max-width: 1440px; margin: 0 auto; }
/* the section takes on the photo's lighter studio wall, fading in over its top padding; the page then stays on it down to the footer */
.repertoire::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
    var(--bg) 0, color-mix(in srgb, var(--bg-chamber) 35%, var(--bg)) 5vh,
    color-mix(in srgb, var(--bg-chamber) 80%, var(--bg)) 10vh, var(--bg-chamber) 16vh,
    var(--bg-chamber) 100%);
}
/* heading and photo stay put on the left while the list scrolls past on the right */
.repertoire__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.repertoire__aside { position: sticky; top: 14vh; }
.repertoire__aside .h2 { margin-bottom: 4vh; }
.rep__photo {
  background: var(--bg-chamber); aspect-ratio: 4 / 5; max-height: 66vh; width: 100%;
  /* lit brighter in the middle, so it needs a longer fade to dissolve */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
}
.rep__photo img { height: 112%; object-position: 62% 30%; }
/* the list: composer as the key (one row per composer), the works under it */
/* each part folds: Solo und Duo is open, Kammermusik is closed until the visitor asks for it */
.rep__fold.is-open + .rep__fold { margin-top: 6vh; }
.rep__part {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
  margin: 0; padding: 22px 0; border-top: 1px solid rgba(21,22,26,.35);
  font: 400 clamp(26px, 2.6vw, 38px)/1.1 var(--serif); color: var(--ink); transition: color .3s;
}
.rep__part::-webkit-details-marker { display: none; }
.rep__title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rep__sel { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.rep__more { margin: 0; padding: 20px 0 0; font: italic 400 clamp(17px, 1.3vw, 20px)/1.4 var(--serif); color: var(--ink-3); }
.rep__dots { font-family: var(--sans); font-style: normal; }   /* the Mincho ellipsis floats at mid-height; the sans one sits on the baseline */
.rep__part:hover { color: var(--accent); }
.rep__part svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.rep__fold.is-open > .rep__part svg { transform: rotate(180deg); }
.rep__fold:last-child:not(.is-open) > .rep__part { border-bottom: 1px solid rgba(21,22,26,.35); }
.rep__part:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.rep__fold-body > .rep__group:first-child { margin-top: 3vh; }
.rep__group + .rep__group { margin-top: 8vh; }
.rep__head { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; color: var(--ink); }
.rep__group { border-top: 0; }
.rep__row {
  display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 8px 24px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.rep__group .rep__row:last-child { border-bottom: 1px solid var(--line); }
.rep__comp { margin: 0; font: 400 clamp(19px, 1.5vw, 23px)/1.3 var(--serif); color: var(--ink); }
.rep__works { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 400 clamp(16px, 1.2vw, 18px)/1.45 var(--serif); color: var(--ink-2); font-variant-numeric: lining-nums; }
.rep__works small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-left: 6px; }
@media (max-width: 860px) {
  .repertoire__layout { grid-template-columns: minmax(0, 1fr); }
  .repertoire__aside { position: static; }
  .rep__photo { aspect-ratio: 1 / 1; max-height: none; }
  .rep__row { grid-template-columns: 1fr; }

}

/* ---------- MEDIA ---------- */
.media { padding: 0 var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
/* carousel: the track runs out to the right edge of the screen, the next card always peeks in */
.carousel { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - 1440px) / 2))); }
.carousel__track {
  display: flex; gap: clamp(16px, 2.5vw, 32px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-right: var(--gutter); scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.mcard { text-decoration: none; display: block; flex: 0 0 clamp(280px, 30vw, 440px); scroll-snap-align: start; }
.carousel__ui { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-right: var(--gutter); }
.carousel__progress {
  position: relative; flex: 1; height: 2px; margin-right: 16px; overflow: hidden;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}
.carousel__progress span {
  position: absolute; left: 0; top: 0; height: 2px; width: 30%; background: var(--accent);
  transform-origin: left; transition: transform .5s var(--ease), width .5s var(--ease);
}
.carousel__btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(21,22,26,.3); background: transparent; color: var(--ink);
  transition: background .35s var(--ease), color .35s, border-color .35s, opacity .3s;
}
.carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.carousel__btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel__btn[data-dir="1"]:hover:not(:disabled) svg { transform: translateX(3px); }
.carousel__btn[data-dir="-1"]:hover:not(:disabled) svg { transform: translateX(-3px); }
.carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel.is-static .carousel__ui { display: none; }
.mcard__thumb { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 10; background: var(--photo); }
.mcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mcard__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgba(255,255,255,.9);
}
.mcard[data-ph] .mcard__play { display: none; }
.mcard[data-ph] { cursor: default; }
.mcard__play::after {
  content: ""; position: absolute; left: 26px; top: 21px;
  border-left: 16px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.mcard__meta { padding-top: 16px; }
.mcard__meta .ph { margin-left: 0; }
.mcard__meta h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 10px 0 4px; }
.mcard__meta p { margin: 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .mcard { flex-basis: 78vw; } 

}

/* ---------- EVENTS ---------- */
/* lessons: Japanese page only */
.lesson {   /* same light wall as the end of Repertoire and the contact, so the background does not jump */
  background: var(--bg-chamber);
  padding: 0 max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))) var(--section-y);
}
.lesson__body { border-top: 1px solid var(--line); padding-top: 28px; }
.lesson__body p { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); max-width: 38em; margin: 0 0 1em; }
.lesson__cta { font-size: 16px !important; }
.lesson__cta .cv__link::after { display: none; }   /* the ↗ marks outside links; this one stays on the page */
.events { padding: 0 var(--gutter) var(--section-y); max-width: 1200px; margin: 0 auto; }
.events__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 150px 1fr 240px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.event:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.event__date { font-family: var(--serif); font-size: 24px; color: var(--accent); }
.event__date small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.event__main { display: flex; flex-direction: column; gap: 6px; }
.event__title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.event__detail { font-size: 14px; color: var(--ink-2); }
.event__place { color: var(--ink-2); font-size: 14px; }
.event--empty { grid-template-columns: 1fr; color: var(--ink-2); }
.events__sub { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 10vh 0 16px; }
.events__list--past .event__date, .events__list--past .event__title { color: var(--ink-2); }
/* Japanese dates (2026年7月11日) are wider than the Latin ones: wider column, never wrapped */
@media (min-width: 761px) { html[lang="ja"] .event { grid-template-columns: 190px 1fr 240px; } }
html[lang="ja"] .event__date { white-space: nowrap; }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; gap: 6px; } 

}
.press__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .press__grid { grid-template-columns: 1fr 1fr; } 

}
@media (max-width: 520px) { .press__grid { grid-template-columns: 1fr; } 

}

/* ---------- Press photos ---------- */
.press__grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-bottom: 24px; }
.press__photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 960px) { .press__photos { grid-template-columns: 1fr 1fr; } 

}
@media (max-width: 520px) { .press__grid { grid-template-columns: 1fr; } 

}

/* ---------- Japanese version ----------
   No fake italics on kana/kanji, no tight negative tracking, looser reading leading. */
html[lang="ja"] body { font-weight: 400; line-height: 1.85; }
html[lang="ja"] em { font-style: normal; }
html[lang="ja"] .h2, html[lang="ja"] .contact__title { letter-spacing: 0; line-height: 1.15; font-weight: 400; }
html[lang="ja"] .h2 { font-size: clamp(31px, 4.5vw, 65px); }
html[lang="ja"] .contact__title { font-size: clamp(44px, 7.5vw, 112px); }
html[lang="ja"] .rep__head, html[lang="ja"] .events__sub { letter-spacing: .12em; }
html[lang="ja"] .cv__what,
html[lang="ja"] .cv__teachers li,
html[lang="ja"] .event__title { letter-spacing: .02em; line-height: 1.5; } /* Latin name keeps its italic */

/* ---------- Readability: serif list entries ----------
   Shippori Mincho is sturdy enough at list sizes (17–30px): entries use the regular cut. */
.cv__what,
.cv__teachers li,
.event__title,
.event__date,
.mcard__meta h3 { font-weight: 400; }
/* lining figures for dates and ranks so „1.“ never reads as „I.“ */
.cv__what,
.event__title,
.event__date { font-variant-numeric: lining-nums; }
.bio__text p:not(.eyebrow),
.event__detail,
.event__place { font-weight: 400; }

/* Japanese: the name is set in kanji, family name first; Shippori Mincho (medium, Noto Serif JP as fallback), upright (no synthetic italic) */
html[lang="ja"] { --serif-scale: 1; }
html[lang="ja"] .hero__title, html[lang="ja"] .nav__logo { font-family: "Shippori Mincho", var(--jp); font-weight: 500; letter-spacing: .04em; }
html[lang="ja"] .hero__title { letter-spacing: .2em; }
html[lang="ja"] .hero__role { position: relative; top: calc(var(--hero-fs) * .085); } /* rests on the same string as the kanji */
html[lang="ja"] .hero__role { font-size: calc(var(--hero-fs) * .4); font-style: italic; letter-spacing: 0; } /* "Viola" carries the weight of the kanji name */
html[lang="ja"] .hero__title .line:nth-child(2) > span, html[lang="ja"] .nav__logo-i { font-style: normal; }

/* ---------- Contact form: folded away until asked for, below the direct contacts ---------- */
.cform { width: 100%; text-align: center; }
.cform__toggle, .cform__send {
  display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1 var(--sans); letter-spacing: .08em; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 999px; padding: 16px 28px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cform__toggle { list-style: none; color: var(--ink); background: none; }
.cform__toggle::-webkit-details-marker { display: none; }
.cform__toggle:hover { background: var(--ink); color: #fff; }
.cform__toggle svg, .cform__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.cform[open] .cform__toggle svg { transform: rotate(180deg); }
.cform__send { color: #fff; background: var(--ink); }
.cform__send:hover { background: none; color: var(--ink); }
.cform__send:hover svg { transform: translateX(3px); }
.cform__toggle:focus-visible, .cform__send:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cform__form { max-width: 640px; margin: 44px auto 0; text-align: left; display: grid; gap: 28px; }
.cform[open] .cform__form { animation: cform-in .5s var(--ease); }
@keyframes cform-in { from { opacity: 0; transform: translateY(12px); } }
.cform__field { display: grid; gap: 6px; }
.cform__label { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.cform__form input, .cform__form textarea, .cform__form select {
  font: 400 clamp(20px, 1.6vw, 24px)/1.4 var(--serif); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid rgba(21,22,26,.4); border-radius: 0; padding: 8px 0; appearance: none; -webkit-appearance: none;
}
.cform__form select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161a' stroke-width='1.3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center / 20px no-repeat;
  padding-right: 28px; cursor: pointer;
}
.cform__form textarea { min-height: 7.5em; resize: vertical; }
.cform__form :is(input, textarea, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-bottom-color: var(--accent); }
.cform__form :is(input, textarea):user-invalid { border-bottom-color: var(--accent); }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cform__status { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .cform[open] .cform__form { animation: none; } 
}

/* ---------- Impressum / legal pages ---------- */
.legal { max-width: 1000px; margin: 0 auto; padding: calc(72px + 12vh) var(--gutter) 14vh; }
.legal section + section { margin-top: 5vh; }
.legal section h2 { margin: 0 0 12px; font: 400 clamp(20px, 1.6vw, 24px)/1.3 var(--serif); color: var(--ink); }
.legal p { margin: 0; max-width: 46em; font: 400 16px/1.75 var(--sans); color: var(--ink-2); }
.legal__link, .footer__link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(36,38,43,.3); transition: color .3s, text-decoration-color .3s; }
.legal__link:hover, .footer__link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.legal__back { margin-top: 8vh !important; }
.legal-page { background: var(--bg-chamber); }

/* text for screen readers and search engines only; says the same as the visible page */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
