/* Bosco notte: a dramatic photographic opening, graphite and forest, light pauses. */
:root[data-theme=night]{--orange:#c7ddc0;--orange-dark:#c7ddc0;--ink:#f2f5ee;--muted:#b5c0b7;--line:#33463a;--paper:#14231a;--green:#c7ddc0;--white:#0c1410}
[data-theme=night] body{background:radial-gradient(ellipse 65% 38% at 0% 20%,#153a2340,transparent),#0c1410;color:var(--ink)}
[data-theme=night] .demo-strip{background:#080e0a;color:#e4eadf}
[data-theme=night] .header{background:#0c1410ed;border-bottom-color:#ffffff12}
[data-theme=night] .header.is-scrolled{background:#0c1410f2;box-shadow:0 10px 30px #0002;border-bottom-color:#ffffff16}
[data-theme=night] .brand-mark{border-color:#b9d0bb35;color:#d1e1c9}
[data-theme=night] .header-progress{background:#c7ddc0}
[data-theme=night] .theme-picker summary{background:#17251c;border-color:#91b69b50}
[data-theme=night] .theme-picker[open] summary{border-color:#cfdfc5}
[data-theme=night] .theme-orb{background:conic-gradient(#edf2e7 0 25%,#4a6b51 25% 45%,#0c1410 45% 100%);border-color:#c3d6bd70}
[data-theme=night] .menu-toggle{color:#f2f5ee}
[data-theme=night] .skip-link{color:#152219}
[data-theme=night] .button.primary{background:#d8e8ce;color:#102b1d;border-color:#d8e8ce;box-shadow:0 6px 24px #c6e0b908}
[data-theme=night] .button.primary:hover{background:#eef5e8;box-shadow:0 10px 28px #d8e8ce15}
[data-theme=night] .button.ghost{background:#ffffff05;border-color:#ffffff55;color:#fff}

/* The photo grows into the page instead of sitting in a white framed card. */
[data-theme=night] .hero{margin:0;min-height:690px;border-radius:0;border-bottom:1px solid #ffffff12;background:#0c1410}
[data-theme=night] .hero-scene{inset:0 0 0 22%}
[data-theme=night] .hero-image{object-position:58% 54%;filter:saturate(.82)}
[data-theme=night] .hero:after{background:linear-gradient(90deg,#0c1410 0%,#0c1410f7 22%,#0c1410a8 44%,#0c141014 100%),linear-gradient(0deg,#0c1410 0%,#0c141000 28%)}
[data-theme=night] .hero-content{padding-block:92px 128px}
[data-theme=night] .hero h1{font-size:clamp(72px,7.6vw,112px);line-height:1.08;max-width:850px;font-weight:400;letter-spacing:-.035em}
[data-theme=night] .hero h1 .hero-line.accent{color:#d4e4cb}
[data-theme=night] .hero .eyebrow{color:#cfdfc7;letter-spacing:.22em}
[data-theme=night] .hero p{max-width:400px;color:#e1e8dfcf;line-height:1.9;margin-top:30px}
[data-theme=night] .hero-actions{margin-top:36px}
[data-theme=night] .hero-actions .button{min-height:55px;padding-inline:25px}
[data-theme=night] .hero-foot{left:max(48px,calc((100vw - var(--max))/2));bottom:31px;color:#d2dfc7b5}
[data-theme=night] .hero-scroll{right:max(48px,calc((100vw - var(--max))/2));bottom:28px}
[data-theme=night] .intro-bar{padding-block:40px;border-bottom-color:#ffffff1c}
[data-theme=night] .intro-point{border-left-color:#ffffff1c}
[data-theme=night] .service-photo{border-radius:15px}
[data-theme=night] .service-content h2,[data-theme=night] .about-block h2{font-size:clamp(44px,4.9vw,70px);font-weight:400;letter-spacing:-.03em}
[data-theme=night] .service-row h3{font-weight:400}
[data-theme=night] .service-row:hover h3{color:#d6e7cd}
[data-theme=night] .about-art{border:1px solid #b1cfa42b;border-radius:15px;background:radial-gradient(ellipse at 100% 100%,#29432a,#14261a 70%)}
[data-theme=night] .about-art .eyebrow{color:#d4e6c8}
[data-theme=night] .about-art blockquote{color:#f3f6ec}
[data-theme=night] .signature{color:#d2dfc9a8}

/* Every white surface owns its text and control colors. */
[data-theme=night] :is(.paper,.event-card,.booking-layout,.detail-layout,dialog:not(.lightbox),.theme-popover,.cta-band){--orange:#153f32;--orange-dark:#153f32;--ink:#152219;--muted:#59685d;--line:#dce4d9;--paper:#f0f4ec;--green:#153f32;--white:#fff;color:var(--ink)}
[data-theme=night] .paper{background:#f0f3eb}
[data-theme=night] .paper .section-heading h2{font-weight:400;letter-spacing:-.03em}
[data-theme=night] .event-card{border-color:#dce4d9;border-radius:14px;box-shadow:none}
[data-theme=night] .event-card h3{font-weight:400}
[data-theme=night] .event-tag{background:#102b20ed;border-color:#ffffff2a;color:#fff}
[data-theme=night] .booking-layout,[data-theme=night] .detail-layout{background:#fff;border-radius:19px;padding:46px;margin-top:18px;margin-bottom:70px}
[data-theme=night] .booking-layout{gap:55px}
[data-theme=night] .detail-layout{gap:60px}
[data-theme=night] .lesson-intro-photo{border-radius:15px}
[data-theme=night] .booking-layout .button.primary,[data-theme=night] .detail-layout .button.primary,[data-theme=night] dialog:not(.lightbox) .button.primary,[data-theme=night] .cta-band .button.primary{background:#153f32;color:#fff;border-color:#153f32;box-shadow:0 5px 16px #153f3210}
[data-theme=night] .step-number{background:#f0f5ee;border-color:#153f3240}
[data-theme=night] .lesson-option input:checked+span{background:#f1f6ee;box-shadow:inset 0 0 0 1px #153f32,0 6px 22px #153f3208}
[data-theme=night] .date-buttons button[aria-pressed=true],[data-theme=night] .time-buttons button[aria-pressed=true]{box-shadow:0 4px 14px #153f3214;color:#fff}
[data-theme=night] .coach-note{background:#f0f4ec}
[data-theme=night] .coach-note .brand-mark{color:#153f32;border-color:#dce4d9}
[data-theme=night] .detail-overline .pill.orange{color:#d8e6d0;border-color:#5c785a88;background:#18301e}
[data-theme=night] .gallery{border-radius:15px}
[data-theme=night] .gallery-main span{color:#152219}
[data-theme=night] .filter-pills button{background:#ffffff06;color:#e9f0e3;border-color:#49604c}
[data-theme=night] .filter-pills button[aria-pressed=true]{background:#d8e8ce;color:#102b1d;border-color:#d8e8ce}
[data-theme=night] .cta-band{background:#edf2e5;padding-block:78px}
[data-theme=night] .cta-band:after{background:none}
[data-theme=night] .cta-inner h2{font-size:52px;font-weight:400}
[data-theme=night] .cta-inner p{color:#59685d}
[data-theme=night] .theme-popover{background:#fff;box-shadow:0 18px 60px #0005}
[data-theme=night] dialog:not(.lightbox){background:#fff}
[data-theme=night] dialog::backdrop{background:#030b07ba}
[data-theme=night] .footer{background:#080e0a;color:#edf3e5;border-top:1px solid #ffffff12}
[data-theme=night] .mobile-action{background:#101d15f5;border-top-color:#ffffff22;color:#f0f5e9;box-shadow:0 -8px 30px #0002}
[data-theme=night] .mobile-action small{color:#b5c0b7}
[data-theme=night] .mobile-action .button.primary{background:#d8e8ce;color:#102b1d;border-color:#d8e8ce}

@media(hover:hover) and (pointer:fine){
  [data-theme=night] .brand:hover .brand-mark{background:#203c2d;border-color:#c4dcbb70;color:#d1e1c9}
  [data-theme=night] .booking-layout .button.primary:hover,[data-theme=night] .detail-layout .button.primary:hover,[data-theme=night] dialog:not(.lightbox) .button.primary:hover,[data-theme=night] .cta-band .button.primary:hover{background:#0e3025}
  [data-theme=night] .date-buttons button:not([aria-pressed=true]):hover,[data-theme=night] .time-buttons button:not(:disabled):not([aria-pressed=true]):hover{background:#f0f5ec;border-color:#153f3270}
  [data-theme=night] .event-card:hover{box-shadow:0 20px 45px #0b1b171c;border-color:#b5c7ad}
}
@media(max-width:1100px){
  [data-theme=night] .hero{min-height:650px}
  [data-theme=night] .hero h1{font-size:83px}
  [data-theme=night] .booking-layout,[data-theme=night] .detail-layout{padding:35px;gap:35px}
  [data-theme=night] .service-content h2,[data-theme=night] .about-block h2{font-size:56px}
}
@media(max-width:850px){
  [data-theme=night] .hero{min-height:650px}
  [data-theme=night] .hero h1{font-size:75px}
  [data-theme=night] .hero-scene{inset:0 0 0 10%}
  [data-theme=night] .hero-foot{left:30px}
  [data-theme=night] .hero-scroll{right:30px}
  [data-theme=night] .service-content h2,[data-theme=night] .about-block h2{font-size:47px}
  [data-theme=night] .cta-inner h2{font-size:43px}
  [data-theme=night] .booking-layout{gap:30px}
}
@media(max-width:640px){
  [data-theme=night] .header.menu-visible .nav-links{background:#0c1811}
  [data-theme=night] .hero{margin:0;min-height:640px}
  [data-theme=night] .hero-scene{inset:0}
  [data-theme=night] .hero:after{background:linear-gradient(90deg,#0c1410f2,#0c14108a 100%),linear-gradient(0deg,#0c1410 0%,#0c141000 50%)}
  [data-theme=night] .hero .wrap{width:calc(100% - 40px)}
  [data-theme=night] .hero-content{padding-block:76px 120px}
  [data-theme=night] .hero h1{font-size:clamp(46px,13.6vw,62px);line-height:1.12;font-weight:400}
  [data-theme=night] .hero .eyebrow{font-size:8px;letter-spacing:.17em;margin-bottom:28px}
  [data-theme=night] .hero p{font-size:12px;line-height:1.95;margin-top:27px}
  [data-theme=night] .hero-actions{margin-top:31px;gap:10px}
  [data-theme=night] .hero-actions .button{min-height:48px;padding-inline:19px;font-size:11px}
  [data-theme=night] .hero-scroll{left:20px;right:auto;bottom:31px}
  [data-theme=night] .intro-bar{padding-block:30px}
  [data-theme=night] .service-content h2,[data-theme=night] .about-block h2{font-size:46px}
  [data-theme=night] .service-photo{aspect-ratio:1.14}
  [data-theme=night] .booking-layout,[data-theme=night] .detail-layout{border-radius:13px;padding:26px 18px;margin-top:10px;margin-bottom:45px;gap:30px}
  [data-theme=night] .booking-layout>.price-card{padding:23px 19px}
  [data-theme=night] .lesson-options{grid-template-columns:1fr;gap:12px}
  [data-theme=night] .lesson-option>span{min-height:0;padding-block:19px;padding-left:40px}
  [data-theme=night] .lesson-option input{left:14px;top:23px}
  [data-theme=night] .lesson-option strong{font-size:12px}
  [data-theme=night] .lesson-option small{margin-top:5px;font-size:10px}
  [data-theme=night] .step-title{gap:10px}
  [data-theme=night] .step-title h2{font-size:25px}
  [data-theme=night] .step-number{flex-shrink:0}
  [data-theme=night] .date-buttons{gap:5px}
  [data-theme=night] .date-buttons button{padding-inline:3px}
  [data-theme=night] .time-buttons{grid-template-columns:repeat(3,1fr)}
  [data-theme=night] .quick-facts{gap:9px}
  [data-theme=night] .quick-fact{padding-left:8px}
  [data-theme=night] .quick-fact strong{font-size:21px}
  [data-theme=night] .quick-fact span{font-size:8px}
  [data-theme=night] .cta-band{padding-block:53px}
  [data-theme=night] .cta-inner h2{font-size:40px}
}
