@font-face { font-family: "DM Sans"; src: url("media/dm-sans.woff2") format("woff2"); font-display: swap; font-weight: 400 700; }
@font-face { font-family: "Instrument Serif"; src: url("media/instrument-serif.woff2") format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Instrument Serif"; src: url("media/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; font-weight: 400; }

:root {
  color-scheme: dark;
  --bg: #150d0e;
  --paper: #f3eadc;
  --ink: #261b1a;
  --type: #fff1e6;
  --muted: #d3bdb5;
  --red: #7d171e;
  --accent: #ff9a8d;
  --hairline: #ffffff30;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --pad: clamp(20px, 5.4vw, 92px);
  --progress: 0;
  background: var(--bg);
  color: var(--type);
  font: 16px/1.55 var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, address { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ee6f66; outline-offset: 5px; }
::selection { color: #fff5ec; background: #8d2932; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 15px; background: var(--paper); color: var(--ink); }
.wrap { width: min(100% - var(--pad) * 2, 1160px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .96; }
h2 { font-size: clamp(2.95rem, 5.5vw, 5.55rem); letter-spacing: -.037em; }
h3 { font-size: clamp(2.35rem, 4vw, 4.5rem); }
h2 em, h1 em { font-weight: inherit; }
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin-bottom: 16px; font-size: .82rem;
  font-weight: 650; letter-spacing: .115em; text-transform: uppercase;
}
.eyebrow span { background: currentColor; width: 25px; height: 1px; flex: none; }
.action { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; width: fit-content;
  border: 1px solid #f5ded7; background: #f5ded7; color: #261316;
  padding: 9px 23px; font-size: .91rem; font-weight: 700;
  transition: background .28s, color .28s, border-color .28s, transform .28s;
}
.action:hover { background: #ffd1bc; border-color: #ffd1bc; transform: translateY(-2px); }
.action-outline { background: transparent; color: inherit; border-color: #59242980; }
.action-outline:hover { color: #fff5ee; background: #6d222c; border-color: #6d222c; }
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between;
  align-items: center; gap: 22px; padding: 9px var(--pad); height: 75px; background: #1b1113f5;
  border-bottom: 1px solid #ffffff26; backdrop-filter: blur(12px); transition: background .3s;
}
.masthead[data-scrolled=true], .masthead[data-open=true] { background: #180e10f7; }
.brand { display: grid; align-items: center; min-width: 75px; min-height: 44px; }
.brand img, .footer-end img { object-fit: contain; width: 96px; height: auto; }
.masthead nav { display: flex; gap: clamp(16px,3vw,44px); align-items: center; }
.masthead nav a { position: relative; font-size: .91rem; font-weight: 600; padding-block: 10px; white-space: nowrap; }
.masthead nav a::after { content: ''; position: absolute; bottom: 4px; inset-inline: 0; height: 1px; background: #f79b88; transform: scaleX(0); transform-origin: left; transition: transform .24s; }
.masthead nav a:hover::after, .masthead nav a[aria-current]::after { transform: scaleX(1); }
.nav-booking { background: transparent; color: var(--type); border-color: #f6e1d88c; min-height: 43px; padding-inline: 15px; }
.nav-booking:hover { color: var(--ink); }
.menu-button { display: none; }
.progress { position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: #f28a78; transform: scaleX(var(--progress)); transform-origin: left; }

.hero { padding-block: clamp(109px, 9.5vw, 131px) clamp(32px, 4vw, 58px); background: var(--paper); color: var(--ink); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 66px); align-items: center; }
.hero-text { min-width: 0; padding-block: 12px 24px; }
.hero-label { color: #962126; }
.hero h1 { font-size: clamp(4.5rem, 8.5vw, 8.2rem); letter-spacing: -.05em; line-height: .87; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #991b26; margin-left: .35em; }
.hero-text > p:not(.hero-label) { margin-top: clamp(15px, 3vw, 31px); font-size: clamp(1rem, 1.45vw, 1.2rem); max-width: 32ch; color: #533a39; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 21px; }
.hero-action { gap: 15px; background: #991b26; border-color: #991b26; color: #fff6ea; }
.hero-action:hover { background: #66141e; border-color: #66141e; }
.hero-figure { min-width: 0; }
.stage-frame {
  --frame-mat: clamp(7px,.8vw,11px);
  --frame-edge: #dfb997;
  display: block; position: relative; isolation: isolate; min-width: 0;
  padding: var(--frame-mat); border: 1px solid #9a6d57;
  background: linear-gradient(135deg,#3b2729,#21151a 54%,#321e24);
  box-shadow: 0 12px 27px #20091030; color: #fff3e7;
  cursor: zoom-in; transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .42s, border-color .32s;
}
.stage-frame::before {
  content: ""; position: absolute; z-index: 2; inset: 3px; border: 1px solid #dcb89b55; pointer-events: none;
  background:
    linear-gradient(90deg,var(--frame-edge) 10px,transparent 10px calc(100% - 10px),var(--frame-edge) calc(100% - 10px)) top / 100% 1px no-repeat,
    linear-gradient(90deg,var(--frame-edge) 10px,transparent 10px calc(100% - 10px),var(--frame-edge) calc(100% - 10px)) bottom / 100% 1px no-repeat,
    linear-gradient(var(--frame-edge) 10px,transparent 10px calc(100% - 10px),var(--frame-edge) calc(100% - 10px)) left / 1px 100% no-repeat,
    linear-gradient(var(--frame-edge) 10px,transparent 10px calc(100% - 10px),var(--frame-edge) calc(100% - 10px)) right / 1px 100% no-repeat;
}
.stage-frame::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at var(--light-x,50%) var(--light-y,50%),#ffc68839,transparent 68%);
  opacity: 0; transition: opacity .32s;
}
.stage-frame img { display: block; width: 100%; height: auto; object-fit: contain; background: #1b1115; }
.frame-zoom {
  display: grid; place-items: center; position: absolute; z-index: 3;
  inset: auto calc(var(--frame-mat) + 7px) calc(var(--frame-mat) + 7px) auto;
  width: 36px; height: 36px; border: 1px solid #e8bfa69c; background: #211318ec;
  color: #ffe2c9; transition: background .25s, color .25s, border-color .25s;
}
.frame-zoom::before,.frame-zoom::after { content: ""; grid-area: 1/1; background: currentColor; width: 13px; height: 1px; }
.frame-zoom::after { transform: rotate(90deg); }
.stage-frame:is(:hover,:focus-visible,:active) .frame-zoom { background: #f0cbb0; color: #30171b; border-color: #f0cbb0; }
.stage-frame:focus-visible { outline-offset: 4px; }
.motion .revealed .stage-frame::before { animation: cornice-in .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes cornice-in { from { opacity: .42; clip-path: inset(44% 0); } to { opacity: 1; clip-path: inset(0); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .stage-frame:hover { z-index: 1; transform: perspective(860px) translateY(-4px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); border-color: #efbd98; box-shadow: 0 18px 34px #210c124d; }
  .stage-frame:hover::after { opacity: 1; }
}
.hero-caption { padding-top: 9px; color: #654948; font-size: .76rem; letter-spacing: .05em; }
html[data-intro] { overflow: hidden; }
.curtain { display: none; position: fixed; inset: 0; z-index: 40; overflow: hidden; isolation: isolate; }
[data-intro] .curtain { display: block; }
.curtain-leaf { position: absolute; inset-block: 0; width: 50.1%; overflow: hidden; background: #39090d; }
.curtain-left { inset-inline-start: 0; transform-origin: left center; --travel: -106%; }
.curtain-right { inset-inline-end: 0; transform-origin: right center; --travel: 106%; }
.curtain-leaf::before {
  content: ""; position: absolute; inset-block: 0; width: 199.6%;
  background: linear-gradient(180deg,#14060924 0%,transparent 36%,#1406095e 100%),
    radial-gradient(ellipse at 50% 12%,#fcb47c38,transparent 58%),
    url("media/sipario.webp") center center / cover no-repeat;
}
.curtain-left::before { left: 0; }
.curtain-right::before { right: 0; }
.curtain-leaf::after { content: ""; position: absolute; inset: 0; opacity: .9; }
.curtain-left::after { background: linear-gradient(90deg,#14060992,transparent 54%,#18060977 99%,#150509d1); }
.curtain-right::after { background: linear-gradient(270deg,#14060992,transparent 54%,#18060977 99%,#150509d1); }
.curtain-seam { position: absolute; inset: 0 auto 0 50%; width: 1px; background: #ffd2aa; opacity: 0; box-shadow: 0 0 12px 2px #f4aa79aa; pointer-events: none; }
.curtain-mark {
  position: absolute; top: 50%; left: 50%; width: clamp(115px, 14vw, 188px); height: auto;
  transform: translate(-50%, -50%); pointer-events: none;
  filter: drop-shadow(0 6px 12px #100507d9);
}
.curtain-skip {
  position: absolute; inset: auto var(--pad) max(18px, env(safe-area-inset-bottom)) auto;
  color: #fff3e9; background: #1c1012ed; border: 1px solid #ecb2a380;
  min-height: 44px; padding: 8px 14px; cursor: pointer; font-size: .83rem;
  transition: background .2s, border-color .2s;
}
.curtain-skip:hover, .curtain-skip:focus-visible { background: #58232a; border-color: #f3bbab; }
[data-intro=apertura] .curtain-leaf { animation: apri-sipario 1.94s .16s linear both; }
[data-intro=apertura] .curtain-seam { animation: luce-di-scena .94s .13s ease-out both; }
[data-intro=apertura] .curtain-mark { animation: logo-sipario .82s cubic-bezier(.2,.7,.25,1) both; }
@keyframes apri-sipario {
  0%, 15% { transform: none; }
  31% { transform: translate3d(calc(var(--travel) * .065),0,0) scaleX(.996); }
  50% { transform: translate3d(calc(var(--travel) * .44),0,0) scaleX(.986); }
  71% { transform: translate3d(calc(var(--travel) * .74),0,0) scaleX(.972); }
  88% { transform: translate3d(calc(var(--travel) * .89),0,0) scaleX(.953); }
  100% { transform: translate3d(var(--travel),0,0) scaleX(.935); }
}
@keyframes luce-di-scena { 0%, 15%, 100% { opacity: 0; } 41% { opacity: .72; } 67% { opacity: .24; } }
@keyframes logo-sipario { 0%, 29% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-46%) scale(1.035); } }
html[data-intro] .hero { --hero-enter-delay: .73s; }
.motion .hero-text > * { animation: hero-in .72s cubic-bezier(.2,.8,.2,1) calc(var(--hero-enter-delay, 0s) + var(--hero-item-delay, 0s)) both; }
.motion .hero h1 { --hero-item-delay: .10s; }
.motion .hero-text > p:not(.hero-label) { --hero-item-delay: .22s; }
.motion .hero-cta { --hero-item-delay: .34s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-action span, .programme-details .action span { display: inline-block; transition: transform .24s cubic-bezier(.16,1,.3,1); }
.hero-action:hover span { transform: translateY(3px); }
.programme-details .action:hover span { transform: translate(2px,-2px); }
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s, transform .75s cubic-bezier(.2,.8,.2,1); }
.motion .revealed { opacity: 1; transform: translateY(0); }

.programme { background: #63151d; color: #fff2e5; padding-block: clamp(42px, 6vw, 88px); }
.programme-copy {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "titolo locandina" "azioni locandina";
  align-items: start; column-gap: clamp(34px, 7vw, 110px); row-gap: 22px;
}
.programme-heading { grid-area: titolo; align-self: end; min-width: 0; }
.programme-details { grid-area: azioni; min-width: 0; }
.programme-image { grid-area: locandina; width: 100%; max-width: 360px; justify-self: center; align-self: center; }
.poster-link { padding-bottom: 0; }
.poster-link .frame-label { display: flex; align-items: center; min-height: 44px; padding: 5px 40px 5px 2px; color: #ffddc3; font-size: .84rem; font-weight: 670; }
.poster-link .frame-zoom { bottom: 8px; width: 29px; height: 29px; }
.programme-copy .eyebrow { color: #ffcebd; }
.programme-copy h2 { font-size: clamp(3.75rem, 6.5vw, 6rem); }
.programme-copy h2 :is(i,em) { color: #f2bfa8; }
.programme-heading > p:not(.eyebrow), .company-text > p:not(.eyebrow) { margin-block: 19px; max-width: 43ch; font-size: 1.04rem; }
.programme-copy .action { gap: 12px; }
.season-programme { max-width: 560px; margin-top: 29px; border-block: 1px solid #ffc9b66b; }
.season-programme summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; list-style: none; font-weight: 670; }
.season-programme summary::-webkit-details-marker { display: none; }
.season-programme summary::after { content: '+'; color: #f2bfa8; font-size: 1.25rem; }
.season-programme[open] summary::after { content: '−'; }
.season-programme[open] ol { animation: programma-entra .34s cubic-bezier(.16,1,.3,1) both; }
@keyframes programma-entra { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.season-programme ol { margin: 0; padding: 0; list-style: none; }
.season-programme li { display: grid; grid-template-columns: 7.7rem minmax(0, 1fr); gap: 10px; padding-block: 9px; border-top: 1px solid #ffc9b643; }
.season-programme time { font-weight: 650; color: #ffd1bf; font-size: .88rem; padding-top: 2px; }
.training { background: var(--paper); color: var(--ink); padding-block: clamp(42px,6.6vw,92px); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: clamp(21px,3.8vw,42px); }
.section-top .lead { max-width: 31ch; font-size: 1.03rem; margin-bottom: 7px; }
.training h2 em { color: #8c2731; }
.training-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(22px,4.2vw,62px); align-items: start; }
.training-visual > .action { margin-top: 21px; }
.training-image figcaption,.workshop-image figcaption { margin-top: 10px; font-size: .80rem; color: #6c4a49; }
.courses { background: #29171c; color: #fff2e5; border-block: 1px solid #935346; padding: 6px clamp(13px,2.1vw,25px); }
.courses details + details { border-top: 1px solid #daa68d3d; }
.courses summary {
  position: relative; min-height: 52px; display: grid; grid-template-columns: minmax(0,1fr) max-content 19px;
  gap: 8px 12px; align-items: center; cursor: pointer; list-style: none; padding-block: 9px;
}
.courses summary::-webkit-details-marker { display:none; }
.courses summary::after {
  content: ''; width: 8px; height: 8px; border: solid #f4bc9e; border-width: 0 1px 1px 0;
  justify-self: center; transform: translateY(-2px) rotate(45deg); transition: transform .24s;
}
.courses details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.courses summary strong { font-family: var(--serif); font-size: clamp(1.65rem,2.45vw,2.35rem); font-weight: 400; line-height: 1.08; }
.courses details[open] summary strong, .courses summary:hover strong { color: #ffd1b2; }
.courses summary small { font-size: .77rem; color: #efc3ab; text-align: right; }
.course-body { padding: 0 24px 12px 0; }
.course-body p { margin-block: 1px 3px; max-width: 48ch; font-size: .94rem; color: #efd7cb; }
.course-body a,.text-link,.links a { text-decoration: underline; text-underline-offset: .25em; }
.course-body a { display: inline-flex; min-height: 42px; align-items: center; font-size: .9rem; font-weight: 680; color: #ffd5b8; }
.courses details[open] .course-body { animation: programma-entra .31s cubic-bezier(.16,1,.3,1) both; }
.school { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-top: clamp(27px,4vw,47px); padding: 17px 0 0; border-top: 1px solid #59242955; }
.school h3 { margin-bottom: 7px; font-size: clamp(1.95rem,3vw,2.65rem); }

.company { background: #1a1011; padding-block: clamp(44px,6.6vw,89px); }
.company-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); align-items: center; gap: clamp(25px,6vw,88px); }
.company .eyebrow, .company h2 em, .gallery h2 em { color: var(--accent); }
.company-image { width: 100%; max-width: 450px; justify-self: end; }
.company-image img { max-height: 500px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.links a:hover, .text-link:hover { color: var(--accent); }
.gallery { padding-block: clamp(47px,6.5vw,86px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(11px,2vw,22px); align-items: start; }
.photo-note { margin-top: 14px; color: var(--muted); font-size: .81rem; }
.contact { background: #211316; padding-block: clamp(42px,6vw,80px) 25px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: end; }
.contact h2 em { color: #ffbead; }
.contact address { font-style: normal; font-size: 1rem; line-height: 1.65; }
.contact address a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .2em; }
.map-link { margin-block: 6px 12px; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(38px,7vw,85px); padding-top: 15px; border-top: 1px solid var(--hairline); }
.footer-end small { font-size: .85rem; }
.lightbox {
  width: min(94vw, 940px); max-height: 96dvh; padding: 10px 12px; border: 1px solid #bc796e;
  background: #1c1113; color: var(--type);
}
.lightbox::backdrop { background: #0a0507ed; }
.lightbox[open] { animation: compare-apertura .30s cubic-bezier(.16,1,.3,1) both; }
@keyframes compare-apertura { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.lightbox figure img { width: 100%; max-height: 68dvh; object-fit: contain; }
.lightbox figcaption { padding: 9px; text-align: center; }
.lightbox-bar { display: flex; justify-content: end; align-items: center; gap: 10px; margin-bottom: 7px; }
.lightbox .controls { justify-content: center; margin: 0; }
.lightbox button { background: #48222a; color: inherit; border: 1px solid #8a5360; min-height: 44px; min-width: 44px; font-size: 23px; cursor: pointer; }
.lightbox button:hover { background: #622e38; }
.lightbox [data-poster-zoom] { margin-inline-end: auto; padding: 6px 12px; font-size: .88rem; font-weight: 650; }
.lightbox[data-view=poster] { --image-space: calc(100dvh - 92px); width: min(96vw, 830px); }
.lightbox[data-view=poster] figcaption { display: none; }
.lightbox[data-view=poster] .lightbox-viewport { max-height: var(--image-space); }
.lightbox[data-view=poster] img { width: auto; height: auto; max-width: 100%; max-height: var(--image-space); margin-inline: auto; }
.lightbox[data-zoom=true] .lightbox-viewport { overflow: auto; overscroll-behavior: contain; scrollbar-color: #b97b78 #352026; }
.lightbox[data-zoom=true] img { width: max(620px, 132%); max-width: none; max-height: none; margin: 0; }
#contatto { scroll-margin-block: 12px; }
#contatto:target { animation: contatto-arrivo .96s ease-out both; }
@keyframes contatto-arrivo { 0% { box-shadow: 0 0 0 2px #f3b4a1bf; } 100% { box-shadow: 0 0 0 2px transparent; } }

@media (max-width: 760px) {
  .masthead { height: 66px; gap: 10px; }
  .brand { margin-right: auto; }
  .brand img { width: 78px; }
  .nav-booking { order: 2; min-height: 42px; font-size: .82rem; padding-inline: 11px; }
  .menu-button { order: 3; display: grid; place-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #f6e1d845; background: #29151a; cursor: pointer; }
  .menu-button span:not(.sr) { display: block; height: 1px; width: 18px; background: #fff3ef; transition: transform .23s; }
  .menu-button[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded=true] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .masthead nav { display: none; position: absolute; inset: 65px 0 auto; background: #180e10; padding: 9px var(--pad) 18px; flex-direction: column; align-items: stretch; gap: 2px; border-bottom: 1px solid var(--hairline); }
  .masthead[data-open=true] nav { display: flex; }
  .masthead nav a { min-height: 44px; border-bottom: 1px solid #ffffff21; }
  .hero { padding-block: 98px 30px; }
  .hero-layout, .programme-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 23px; }
  .hero-text { padding: 0; }
  .hero-cta { column-gap: 12px; }
  .hero h1 { font-size: clamp(4.15rem, 18vw, 7.25rem); }
  .hero-cta { margin-top: 14px; }
  .hero-label { font-size: .74rem; margin-bottom: 12px; }
  .programme-copy { grid-template-areas: "titolo" "locandina" "azioni"; row-gap: 19px; }
  .programme-copy h2 { font-size: clamp(4rem, 13.5vw, 6.8rem); }
  .programme-image { width: min(100%, 400px); }
  .season-programme li { grid-template-columns: 6.2rem minmax(0, 1fr); }
  .company-layout, .training-grid { grid-template-columns: minmax(0,1fr); }
  .company-image { justify-self: start; }
  .section-top { flex-direction: column; align-items: start; gap: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid .stage-frame:first-child { grid-column: 1 / -1; }
  .frame-zoom { width: 30px; height: 30px; }
  .contact-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .curtain { display: none !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

.sub-page { min-height: 85svh; padding-block: clamp(110px,14vw,180px) 65px; background: radial-gradient(ellipse at 87% 2%,#572026,transparent 55%); }
.sub-page h1 { font-size: clamp(4.6rem,11vw,11rem); letter-spacing: -.05em; }
.sub-lead { max-width: 46ch; margin-top: 21px; font-size: 1.12rem; }
.sub-index { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px; }
.sub-index a { border: 1px solid #aa747c; padding: 7px 12px; }
.sub-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 14px; }
.sub-list > *, .team li { padding: clamp(15px,3vw,27px); border: 1px solid var(--hairline); background: #28161a; min-width: 0; }
.sub-list h2 { font-size: clamp(2.7rem,5vw,4.5rem); }
.sub-list p, .sub-panel > p { margin-block: 10px 20px; max-width: 65ch; color: var(--muted); }
.sub-panel { margin-top: 38px; }
.sub-panel > h2 { margin-bottom: 14px; font-size: clamp(2.8rem,6.5vw,6.5rem); }
.team { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); list-style: none; gap: 10px; padding: 0; }
.team li span { display: block; color: var(--muted); }
.sub-footer { padding-block: 23px; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation-duration: .23s; }
::view-transition-new(root) { animation-duration: .35s; }
.news-open { min-height: 47px; background: transparent; color: #8d1d27; font-weight: 700; border: 0; padding-inline: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: .27em; }
.news-open:hover { color: #4d1a1b; }
.journal { padding-block: clamp(51px,8vw,114px); background: #271315; }
.journal h2 em { color: var(--accent); }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 16px; }
.journal-card { min-width: 0; overflow: hidden; border: 1px solid #a47774aa; background: #321b20; }
.journal-visual { margin: 13px; max-width: 420px; }
.journal-visual .journal-photo { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.journal-body { padding: clamp(17px,3vw,32px); }
.journal-body h3 { font-size: clamp(2.1rem, 5vw, 4rem); overflow-wrap: anywhere; }
.journal-body .eyebrow { color: #ffc0ad; margin-bottom: 12px; }
.journal-text { white-space: pre-line; overflow-wrap: anywhere; color: #efd5cb; margin: 14px 0 15px; max-width: 72ch; }
.journal-card .text-link { cursor: pointer; border: 0; background: none; padding: 6px 0; font-weight: 650; min-height: 42px; }
.journal-card.is-section { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; }
.journal-card.is-section:not(:has(img)) { grid-template-columns: minmax(0,1fr); }
.journal-card:only-child:not(.is-section) { max-width: none; background: transparent; border-width: 1px 0; }
body:has(.news-dialog[open]) { overflow: hidden; }
.news-dialog { box-sizing: border-box; padding: 0; width: min(94vw, 710px); max-height: 90dvh; color: var(--type); background: #2b1418; border: 1px solid #cf8578; }
.news-dialog::backdrop { background: #11080ad9; backdrop-filter: blur(7px); }
.news-dialog[open] { animation: news-reveal .42s cubic-bezier(.16,.85,.25,1) both; }
@keyframes news-reveal { from { opacity:0; transform: translateY(18px) scale(.97); } to { opacity:1; transform:none; } }
.news-dialog article { position: relative; }
.news-cover { width: 100%; max-height: min(45dvh, 350px); object-fit: contain; background: #1b1013; }
.news-close { position: absolute; z-index: 1; inset: 12px 12px auto auto; width: 45px; height: 45px; border: 1px solid #ffc0ad; background: #240e14; cursor: pointer; font-size: 23px; }
.news-content { padding: clamp(20px,5vw,42px); }
.news-content .eyebrow { padding-right: 42px; color: #ffd0bb; }
.news-content h2 { font-size: clamp(2.75rem,8vw,5.5rem); overflow-wrap: anywhere; }
.news-text { color: #f2d9d0; white-space: pre-line; overflow-wrap: anywhere; margin: 15px 0 19px; }
.contact-grid { align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.contact-intro address { margin-top: 21px; }
.contact-label { display: block; margin-top: 16px; color: #ffcfbb; }
#contatto { min-width: 0; display: grid; gap: 13px; padding: clamp(17px,3vw,33px); border: 1px solid #d59a973f; background: #2a1218; }
#contatto h3 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 6px; }
#contatto label { display: grid; gap: 5px; font-size: .91rem; font-weight: 620; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
#contatto input:not([type=hidden]),#contatto select,#contatto textarea { width: 100%; min-height: 46px; background: #1c0d12; border: 1px solid #ae747c99; border-radius: 0; color: #fff3e8; font: 400 1rem var(--sans); padding: 10px 11px; }
#contatto textarea { resize: vertical; }
#contatto :is(input,textarea,select):focus-visible { outline: 2px solid #f08981; outline-offset: 2px; }
#contatto button:disabled { opacity: .63; cursor: wait; }
.form-note,.form-result { color: #f5cbc4; font-size: .84rem; }
.form-note a { text-decoration: underline; text-underline-offset: .2em; }
.form-result:empty { display: none; }
.form-result[data-result=error] { color: #ffd29c; }
.form-result[data-result=success] { color: #acf4c2; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.social-links a { min-height: 44px; display: inline-flex; gap: 7px; align-items: center; padding: 6px 12px; border: 1px solid #dda099aa; background: #240f16; font-size: .88rem; font-weight: 640; transition: transform .24s,background .24s; }
.social-links a:hover { background:#762633; transform: translateY(-2px); }
.social-links img { display: block; flex: none; }
.developer-credit { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 3px 6px; border: 1px solid #ebafa9a6; padding: 7px 10px; min-height: 44px; color: #ffe6dd; font-size: .82rem; transition: background .22s; }
.developer-credit strong { color: white; }
.developer-credit span { color: #ffd0ba; }
.developer-credit:hover { background: #7d2736; }
.thanks-action { margin-top: 24px; }
@media (max-width: 760px) {
  .contact-grid, .journal-card.is-section { grid-template-columns: minmax(0,1fr); }
  .masthead nav a { white-space: normal; }
}
@media (max-width: 500px) { .contact-fields { grid-template-columns:minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),::view-transition-new(root) { animation: none !important; }
}

.workshop-page { background: var(--paper); color: var(--ink); padding-block: clamp(101px,10.8vw,138px) clamp(36px,6vw,78px); }
.workshop-heading {
  display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
  gap: clamp(27px,5.2vw,75px); align-items: center;
}
.workshop-heading h1 { font-size: clamp(3.55rem,7.3vw,6.7rem); letter-spacing: -.042em; }
.workshop-heading h1 em { display: block; color: #8c2731; }
.workshop-heading p { max-width: 32ch; }
.workshop-heading .action { margin-top: 22px; }
.workshop-image { width: 100%; max-width: 485px; justify-self: end; }
.workshop-index { margin-top: clamp(29px,4.8vw,60px); padding-block: 0 15px; border-bottom: 1px solid #65392a77; }
.workshop-index a { display: inline-flex; align-items: center; min-height: 44px; border-color: #65392a63; font-size: .86rem; font-weight: 650; transition: color .2s,background .2s; }
.workshop-index a:hover,.workshop-index a:focus-visible { color: #fff0e3; background: #6e202b; }
.workshop-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(21px,5vw,68px); }
.workshop-list > section { min-width: 0; border-bottom: 1px solid #65392a55; padding: 23px 6px 21px; }
.workshop-list > section:target { animation: corso-in-evidenza 1.4s ease-out both; }
@keyframes corso-in-evidenza { from { background: #a64e4130; } to { background: transparent; } }
.workshop-list .eyebrow { color: #82303a; margin-bottom: 8px; }
.workshop-list h2 { font-size: clamp(2.55rem,4.9vw,4.4rem); text-wrap: balance; }
.workshop-list section > p:not(.eyebrow) { margin-top: 11px; max-width: 45ch; color: #4c3538; }
.workshop-list .action { min-height: 44px; margin-top: 15px; background: transparent; color: #71222e; border-color: #95545c; padding-inline: 14px; }
.workshop-list .action:hover { background: #6e202b; color: #fff0e3; border-color: #6e202b; }
@media (max-width: 760px) {
  .workshop-heading,.workshop-list { grid-template-columns: minmax(0,1fr); }
  .workshop-image { justify-self: start; }
  .workshop-list > section { padding-inline: 2px; }
}
