/* DARYOH / site-wide fixes. Loaded LAST on every page.
   1. One typeface system everywhere (Bodoni Moda + Jost). Before this, only the
      Home page loaded these fonts, so the logo, nav and headings changed font
      when you clicked from Home to any other page.
   2. Interior page headers now match the Home header (nav sits right, divider
      before EN / IT), so the menu no longer jumps around between pages.
   3. Small layout fixes (Music card on Home, release card links). */

:root{
  --display-face:'Bodoni Moda','Bodoni MT','Didot',Georgia,serif;
  --body-face:'Jost','Avenir Next',Avenir,Lato,Arial,sans-serif;
}

/* ---------- 1. Typography ---------- */
body{font-family:var(--body-face)}
h1,h2,h3,.brand,.tag,.pullquote,.about-subtitle,.section-title,.page-hero .lead,
.repertoire-list li,.repertoire-examples,.testimonial blockquote,.contact-mail,
.gallery-note,.experience-ribbon,.editorial-inline p,.record-art span,.record-art strong{
  font-family:var(--display-face)!important;
  font-optical-sizing:auto;
}
/* At large sizes Bodoni's automatic "display" cut has hairlines so thin that
   letters break up on normal laptop screens (the A and H crossbars in the logo
   vanish). Pin large text to a sturdier optical size. */
h1,h2,h3,.brand,.tag,.pullquote,.about-subtitle,.section-title,.page-hero .lead,
.repertoire-list li,.testimonial blockquote,.contact-mail,.editorial-inline p{
  font-variation-settings:'opsz' 24!important;
}
nav a,.language-switch,.language-switch a,.btn,.text-link,.video-link,.kicker,.eyebrow,
.about-prose,.about-prose p,.credential-line,.home-story-copy .lead,.panel p,.showreel-intro,
.quote-credit,.repertoire-section p,.body-copy,.format-detail,.label,.testimonials-intro,
.testimonial figcaption,.foot{
  font-family:var(--body-face)!important;
}

/* ---------- 2. Header: same layout on every page ---------- */
.brand{
  font:400 clamp(39px,3.6vw,57px)/1 var(--display-face);
  letter-spacing:.20em;color:#F5EDE4;display:inline-flex;white-space:nowrap;
}
body.interior-page header{
  min-height:84px;
  padding:13px clamp(45px,4.8vw,85px);
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:20px;
}
body.interior-page nav{gap:clamp(14px,2.2vw,35px);margin-left:auto;flex-wrap:nowrap}
body.interior-page nav a,
body.interior-page .language-switch{font:400 13px/1.25 var(--body-face);letter-spacing:.006em;color:#f0e8ee;white-space:nowrap}
body.interior-page nav a:hover{color:#efb2e4}
body.interior-page nav a[aria-current="page"]{color:#f3e9f3;border-bottom:2px solid #D69EC6;padding-bottom:6px}
body.interior-page .language-switch{border-left:1px solid rgba(235,217,242,.50);padding-left:18px;margin-left:22px}
body.interior-page .language-switch a[aria-current="true"]{color:#efb2e4;font-weight:600}
@media(max-width:1000px){
 body.interior-page header{min-height:76px;padding:14px 4.5%;flex-wrap:wrap}
 .brand{font-size:40px}
 body.interior-page nav{gap:15px}
 body.interior-page nav a,body.interior-page .language-switch{font-size:12px}
 body.interior-page .language-switch{margin-left:8px;padding-left:10px}
}
@media(max-width:768px){
 body.interior-page header{gap:13px;justify-content:space-between}
 body.interior-page nav{order:3;width:100%;justify-content:space-between;margin:0;gap:10px}
 body.interior-page nav a{font-size:11px}
 .brand{font-size:36px}
}
@media(max-width:430px){
 body.interior-page header{padding:17px 5%;gap:13px}
 .brand{font-size:29px;letter-spacing:.15em}
 body.interior-page .language-switch{font-size:11px;margin-left:0}
 body.interior-page nav{gap:6px}
 body.interior-page nav a{font-size:10px}
}

/* ---------- 3. Layout fixes ---------- */
/* Home "Music" card: the old photo left the card ~70% black with a tiny head in
   the corner. Use the closer sunglasses portrait from the same shoot. */
body.home-page .home-card-music::before{
  background-image:url('portrait-sunglasses.jpg');
  background-position:50% 22%;
  filter:none;
}
/* Music page release cards: "Search on Spotify" sat at different heights. */
.record .text-link{margin-top:4px}

/* Music page header: the portrait used to sit as a hard-edged black rectangle
   on the blue background. Size the box to the photo and fade its edges. */
@media(min-width:651px){
 .music-photo-hero .music-hero-portrait{
  left:auto!important;right:5%!important;top:0!important;bottom:0!important;
  height:100%!important;max-height:none!important;width:auto!important;aspect-ratio:1365/2048;
  background-size:cover!important;background-position:50% 50%!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 93%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 16%,#000 80%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 93%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 16%,#000 80%,transparent 100%)!important;
  -webkit-mask-composite:source-in;mask-composite:intersect;
 }
}

/* ---------- 4. Round 2 (DARYOH's copy changes, Nov 2026) ---------- */
/* Instagram link between Contact and EN / IT */
.social-link{font:400 13px/1.25 var(--body-face);letter-spacing:.006em;color:#f0e8ee;white-space:nowrap;margin-left:max(0px,calc(clamp(14px,2.2vw,35px) - 20px));display:inline-flex;align-items:center}
.social-link:hover{color:#efb2e4}
@media(max-width:1000px){.social-link{font-size:12px;margin-left:0}}
@media(max-width:768px){
 header .social-link{margin-left:auto}
 body.home-page .language-switch,body.interior-page .language-switch{margin-left:14px}
}
@media(max-width:430px){.social-link{font-size:11px}}
/* Instagram icon: white glyph in assets/instagram.png (if the file is ever missing,
   the word "Instagram" shows instead because the image removes itself). */
.social-link .social-icon{display:block;width:18px;height:18px;opacity:.92;transition:opacity .2s}
.social-link:hover .social-icon{opacity:1}
.social-link:has(.social-icon) .social-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:430px){.social-link .social-icon{width:17px;height:17px}}

/* Live page, "Where he sings": engagement list and venue groups */
.live-formats-section .panel .engagement-list,
.live-formats-section .panel .venue-groups{grid-column:1;list-style:none;margin:12px 0 0;padding:0;max-width:600px}
.live-formats-section .engagement-list li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid rgba(214,188,139,.22)}
.live-formats-section .engagement-list li:first-child{border-top:0;padding-top:4px}
.live-formats-section .engagement-list strong{font:500 17px/1.4 var(--body-face);color:#f4e8f1}
.live-formats-section .engagement-list em{font-style:italic}
.live-formats-section .engagement-list span{font:500 11px/1.5 var(--body-face);letter-spacing:.09em;text-transform:uppercase;color:var(--gold)}
.live-formats-section .panel .venue-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;margin-top:16px}
.live-formats-section .venue-groups ul{list-style:none;margin:0;padding:0}
.live-formats-section .venue-groups li{font:400 15px/1.8 var(--body-face);color:#f4e8f1}
.live-formats-section .panel .venue-group-title{margin:0 0 8px;max-width:none;padding-bottom:8px;font:500 11px/1.5 var(--body-face)!important;letter-spacing:.09em;text-transform:uppercase;color:var(--gold);border-bottom:1px solid rgba(214,188,139,.22)}
@media(max-width:1000px){.live-formats-section .panel .venue-groups{grid-template-columns:1fr 1fr}}
@media(max-width:650px){
 .live-formats-section .panel .engagement-list,.live-formats-section .panel .venue-groups{max-width:290px}
 .live-formats-section .panel .venue-groups{grid-template-columns:1fr;gap:16px}
 .live-formats-section .engagement-list strong{font-size:15px}
 .live-formats-section .venue-groups li{font-size:14px;line-height:1.7}
}

/* Contact: only the email address remains beside the photos, so centre it */
.contact-page .contact-grid{align-items:center!important}
.contact-page .contact-email-col .contact-mail{display:inline-block;margin-bottom:10px}
/* Phones: the longer card text sits over the photo, so deepen the shade behind it */
@media(max-width:650px){
 .live-formats-section .panel:after{background:linear-gradient(90deg,#0e203f 0%,rgba(15,34,62,.94) 55%,rgba(15,34,62,.6) 100%)}
}

/* ---------- 5. Light trails redrawn to match the mockup (Nov 2026) ----------
   Artwork lives in pink-waves.svg, home-story-ribbons.svg, trail-where.svg and the
   two inline SVGs in the Home hero. Thin pink/lilac strands fan out from a soft
   glowing flare, always behind photos and text. */
body.home-page .hero-ribbons--behind{opacity:1}
body.home-page .hero-ribbons--front{opacity:1}
body.home-page .home-story::before{opacity:1}
body.home-page .home-story-main::after{display:none}
/* "Where he sings" header gets the sweep shown in the mockup */
.live-formats-section{position:relative;isolation:isolate}
.live-formats-section::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:0;left:50%;width:100vw;height:clamp(200px,26.4vw,380px);transform:translateX(-50%);background:url('trail-where.svg') center top/100% 100% no-repeat}
/* Phones: draw the ribbons at their true shape instead of stretching them */
@media(max-width:650px){
 body.home-page .home-story::before{background:url('pink-waves.svg') center 36%/150% auto no-repeat,url('pink-waves.svg') center 99%/150% auto no-repeat!important;opacity:.85}
 .about-cinematic::after{background:url('pink-waves.svg') center 76%/160% auto no-repeat,url('pink-waves.svg') center bottom/160% auto no-repeat!important}
 .page-hero::after{background-position:center calc(100% + 30px)!important}
 body.home-page .hero-ribbons--behind,body.home-page .hero-ribbons--front{opacity:.7}
}
/* Keep the trails clear of the text: under the bio, and mirrored under "Classical roots" */
@media(min-width:651px){
 .about-cinematic::after{background:url('pink-waves.svg') center 74%/100% auto no-repeat,url('pink-waves.svg') center bottom/100% auto no-repeat!important}
 .content-section.about-sound::after{transform:scaleX(-1)}
}
@media(min-width:651px){
 /* Music and Contact headers: let the ribbon rise from the bottom edge, clear of the text */
 .page-hero::after{background-position:center calc(100% + 80px)!important}
 .music-photo-hero .music-hero-portrait{z-index:0}
 .music-photo-hero .music-hero-text{z-index:1}
 /* Music, songwriter block: mirrored and lowered so it passes under the closing line */
 .content-section.songwriter-section::after{transform:scaleX(-1);background-position:center calc(100% + 50px)}
}
@media(min-width:651px){.repertoire-section::after{background-position:center calc(100% + 90px)!important}}

/* ---------- 6. "Where he sings" cards: more colour (Nov 2026) ----------
   Site palette only: orchid pink, gold and lilac on the existing navy. */
.live-formats-section .panel h3::after{content:"";display:block;width:120px;height:2px;margin-top:14px;border-radius:2px;background:linear-gradient(90deg,#e8a6e7,#efcf9e 55%,rgba(239,207,158,0))}
/* Cruises & yachts */
.live-formats-section .engagement-list li{position:relative;padding-left:22px;border-top-color:rgba(232,166,231,.26)}
.live-formats-section .engagement-list li::before{content:"◆";position:absolute;left:0;top:17px;font-size:9px;line-height:1;color:#e8a6e7;text-shadow:0 0 10px rgba(232,166,231,.9)}
.live-formats-section .engagement-list li:first-child::before{top:9px}
.live-formats-section .engagement-list .eng-place{color:#f7ede4}
.live-formats-section .engagement-list .eng-dash{color:#e8a6e7}
.live-formats-section .engagement-list .eng-detail{color:#f2bdee}
.live-formats-section .engagement-list .eng-detail em{color:#f7cdf3}
.live-formats-section .engagement-list .eng-role{flex-direction:row;flex-wrap:wrap;display:block}
.live-formats-section .engagement-list .eng-role-title{color:#efcf9e}
.live-formats-section .engagement-list .eng-role-detail{color:#c9b6ec}
/* Stage & cabaret */
.live-formats-section .panel .venue-intro{color:#dcc8f2}
.live-formats-section .panel .venue-group-title{color:#eba9e8;border-bottom:0;background:linear-gradient(90deg,rgba(232,166,231,.8),rgba(239,207,158,.45) 55%,rgba(239,207,158,0)) left bottom/100% 1px no-repeat}
.live-formats-section .venue-groups li{position:relative;padding-left:16px}
.live-formats-section .venue-groups li::before{content:"";position:absolute;left:1px;top:.9em;width:5px;height:5px;transform:translateY(-50%) rotate(45deg);background:#e8a6e7;box-shadow:0 0 6px rgba(232,166,231,.8)}
.live-formats-section .venue-groups>div:nth-child(2) li::before{background:#efcf9e;box-shadow:0 0 6px rgba(239,207,158,.8)}
.live-formats-section .venue-groups>div:nth-child(3) li::before{background:#c9b6ec;box-shadow:0 0 6px rgba(201,182,236,.8)}
.live-formats-section .venue-groups .venue-city{color:#c9b6ec}
/* Private events */
.live-formats-section .panel h3+p:not(.venue-intro){color:#eadff4}
.live-formats-section .engagement-list strong span{font:inherit;letter-spacing:inherit;text-transform:none}
/* Sharper, brighter photos in the "Where he sings" cards: higher-resolution images
   (cruises/private/cabaret-ambience.jpg) and a lighter shade over the photo side. */
@media(min-width:651px){
 .live-formats-section .panel:after{background:linear-gradient(90deg,#0e203f 0%,rgba(15,34,62,.96) 34%,rgba(15,34,62,.6) 50%,rgba(15,34,62,.15) 66%,rgba(15,34,62,0) 82%)}
}
/* soften the hard vertical edge where each card photo starts */
.live-formats-section .panel .occasion-image{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%);mask-image:linear-gradient(90deg,transparent 0,#000 16%)}
/* Phones: keep the yacht in frame on the Cruises & yachts card */
@media(max-width:650px){.live-formats-section .panel:first-child .occasion-image img{object-position:82% 50%!important}}
/* About: the new bio is longer, so only the lower trail is kept (clear of the text) */
@media(min-width:651px){.about-cinematic::after{background:url('pink-waves.svg') center calc(100% + 20px)/100% auto no-repeat!important}}
