/*
Theme Name: MaffeisLab
Description: Sito del Laboratorio Musicale Daniele Maffeis ETS.
Version: 1.0.0
Text Domain: maffeislab
*/
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .table {
    display: table;
  }
}
.annunciata-bg {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.hero-subtitle {
  margin: 30px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acid);
}
.hero-subtitle+.lead {
  margin-top: 22px;
}
.site-header {
  background: rgba(247,247,245,.94);
  color: #111;
  border-bottom: 1px solid #d9d9d6;
  backdrop-filter: blur(12px);
}
.brand-main {
  font-family: Rockwell,"Courier New",serif;
  font-size: 30px;
  letter-spacing: -2.6px;
}
.brand-sub {
  font-family: Rockwell,"Courier New",serif;
  font-size: 30px;
  line-height: .75;
  letter-spacing: -2.6px;
  color: #e61f3d;
  margin-left: 0;
}
.header-cta {
  border-color: #111;
}
.header-cta:hover {
  background: #e61f3d;
  border-color: #e61f3d;
  color: white;
}
.hero {
  background: #f1f1ef;
  color: #111;
  grid-template-columns: 55% 45%;
  min-height: 860px;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  padding: 170px 4vw 70px 7vw;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(78px,8.5vw,142px);
  line-height: .86;
  text-transform: uppercase;
  color: #e61f3d;
  letter-spacing: -.07em;
  max-width: 900px;
}
.hero h1 em {
  color: inherit;
}
.hero-subtitle {
  color: #111;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(18px,1.8vw,28px);
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 32px;
}
.lead {
  color: #4e4e4a;
  max-width: 650px;
  font-size: 16px;
}
.text-link {
  border-color: #aaa;
}
.button.primary {
  background: #e61f3d;
}
.hero-visual {
  background: linear-gradient(90deg,#ededeb 0%,#fff 48%,#e8e8e5 100%);
  min-height: 860px;
  overflow: hidden;
  perspective: 700px;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 9% 9% 7%;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px #ddd,inset 0 0 0 52px #f8f8f7,inset 0 0 0 54px #d8d8d5,inset 0 0 0 104px #f5f5f3,inset 0 0 0 106px #d5d5d2,inset 0 0 0 156px #f2f2ef;
  transform: perspective(600px) rotateX(1deg);
  background: linear-gradient(145deg,transparent 48%,rgba(0,0,0,.05) 49%,transparent 51%);
}
.hero-visual:after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 5%;
  height: 30%;
  background: linear-gradient(160deg,transparent 49%,rgba(0,0,0,.08) 50%,transparent 51%);
  clip-path: polygon(15% 0,85% 0,100% 100%,0 100%);
}
.graphic-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  transform: none;
  font-family: Georgia,serif;
  font-size: clamp(260px,31vw,470px);
  line-height: 1;
  color: transparent;
  background: linear-gradient(160deg,#f4ad00 0 38%,#e61f3d 39% 51%,#075b8f 52% 78%,#ee8aaa 79%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 12px 4px rgba(0,0,0,.16));
}
.graphic-note span {
  font-style: normal;
}
.graphic-note i {
  position: absolute;
  font-size: .45em;
  right: 13%;
  top: 42%;
  color: #075b8f;
  transform: rotate(15deg);
}
.photo-tag,.sound-lines {
  display: none;
}
.year {
  color: #444;
  z-index: 3;
}
.photo-tag strong {
  color: inherit;
}
@media (max-width:800px) {
  .brand-main,.brand-sub {
    font-size: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 130px 24px 50px;
  }
  .hero h1 {
    font-size: clamp(58px,18vw,88px);
  }
  .hero-subtitle {
    font-size: 18px;
    line-height: 1.25;
  }
  .hero-visual {
    min-height: 520px;
  }
  .graphic-note {
    font-size: 75vw;
  }
}
:root {
  --ink: #171714;
  --paper: #f3efe6;
  --cream: #e7dfcf;
  --red: #e34a34;
  --acid: #dce768;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 92px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.24);
  position: absolute;
  z-index: 5;
  width: 100%;
  color: white;
}
.brand {
  display: flex;
  align-items: flex-end;
  line-height: .75;
  width: max-content;
}
.brand-main {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.8px;
}
.brand-sub {
  font-size: 13px;
  font-weight: 800;
  margin-left: 3px;
  letter-spacing: -.5px;
}
nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
nav a:hover {
  color: var(--acid);
}
.header-cta {
  justify-self: end;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  padding: 12px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.header-cta span,.button span {
  margin-left: 24px;
}
.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: 46% 54%;
  background: #20241f;
  color: white;
}
.hero-copy {
  padding: 170px 5vw 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow,.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}
.eyebrow {
  color: #d9d7cf;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span {
  width: 32px;
  height: 1px;
  background: var(--acid);
  display: block;
}
h1,h2 {
  font-family: Georgia,'Times New Roman',serif;
  font-weight: 400;
  letter-spacing: -.055em;
  margin: 0;
  line-height: .87;
}
h1 {
  font-size: clamp(72px,8vw,126px);
}
h1 em,h2 em,.manifesto em {
  color: var(--acid);
  font-weight: 400;
}
.lead {
  max-width: 510px;
  margin: 38px 0 32px;
  color: #c7c8c0;
  line-height: 1.65;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}
.button {
  padding: 16px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  width: max-content;
}
.button.primary {
  background: var(--red);
  color: white;
}
.button.dark {
  background: var(--ink);
  color: white;
  margin-top: 18px;
}
.text-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid #777;
  padding-bottom: 5px;
}
.hero-visual {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  background: var(--red);
}
.hero-visual:before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 2px solid rgba(23,23,20,.8);
  border-radius: 50%;
  left: 15%;
  top: 17%;
  box-shadow: 0 0 0 80px rgba(220,231,104,.13),0 0 0 160px rgba(23,23,20,.09);
}
.hero-visual:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 120%;
  background: rgba(23,23,20,.55);
  left: 50%;
  top: -10%;
  transform: rotate(35deg);
}
.graphic-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia,serif;
  font-size: clamp(250px,32vw,520px);
  line-height: 1;
  color: var(--ink);
  transform: rotate(-8deg);
  z-index: 1;
}
.photo-tag {
  position: absolute;
  right: 0;
  top: 28%;
  z-index: 2;
  background: var(--acid);
  color: var(--ink);
  padding: 22px 30px;
  transform: rotate(3deg);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.35;
}
.photo-tag strong {
  font-family: Georgia,serif;
  font-style: italic;
  font-size: 26px;
  text-transform: none;
}
.sound-lines {
  display: flex;
  gap: 5px;
  position: absolute;
  left: 38px;
  bottom: 50px;
  align-items: center;
  z-index: 2;
}
.sound-lines i {
  width: 3px;
  height: 30px;
  background: white;
  display: block;
  border-radius: 3px;
}
.sound-lines i:nth-child(2) {
  height: 55px;
}
.sound-lines i:nth-child(3) {
  height: 36px;
}
.sound-lines i:nth-child(4) {
  height: 68px;
}
.sound-lines i:nth-child(5) {
  height: 22px;
}
.year {
  position: absolute;
  right: 34px;
  bottom: 48px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.5;
  text-align: right;
}
.intro {
  padding: 120px 9vw 140px;
  display: grid;
  grid-template-columns: 25% 75%;
}
.section-label {
  padding-top: 8px;
}
.manifesto {
  font-family: Georgia,serif;
  font-size: clamp(42px,5vw,76px);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 0;
  max-width: 1040px;
}
.manifesto em {
  color: var(--red);
}
.courses {
  background: var(--cream);
  padding: 110px 8vw;
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 5vw;
}
.section-heading h2,.event h2,footer h2 {
  font-size: clamp(58px,7vw,102px);
}
.section-heading h2 em,.event h2 em {
  color: var(--red);
}
.course-list {
  border-top: 1px solid #918d84;
}
.course-card {
  min-height: 190px;
  border-bottom: 1px solid #918d84;
  display: grid;
  grid-template-columns: 55px 1fr 45px;
  gap: 15px;
  align-items: center;
  transition: .25s ease;
}
.course-card:hover {
  padding-left: 12px;
  background: rgba(255,255,255,.18);
}
.course-number {
  align-self: start;
  padding-top: 28px;
  font-size: 11px;
}
.course-card h3 {
  font-family: Georgia,serif;
  font-size: 35px;
  margin: 0 0 10px;
  font-weight: 400;
}
.course-card p {
  max-width: 520px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #58564f;
}
.course-card small {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 9px;
  font-weight: 700;
}
.course-arrow {
  font-size: 25px;
}
.event {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 700px;
}
.event-image {
  background: var(--acid);
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.event-image:before,.event-image:after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 440px;
  height: 440px;
}
.event-image:before {
  left: -100px;
  bottom: -110px;
}
.event-image:after {
  right: -150px;
  top: -140px;
}
.event-image span {
  position: absolute;
  left: 35px;
  top: 35px;
  background: var(--red);
  color: white;
  padding: 11px 15px;
  font-size: 10px;
  letter-spacing: .13em;
}
.event-image b {
  position: absolute;
  left: 8%;
  bottom: 10%;
  font-size: clamp(68px,8vw,130px);
  line-height: .78;
  letter-spacing: -.08em;
}
.event-image>i {
  position: absolute;
  right: 9%;
  top: 20%;
  font: italic 160px Georgia,serif;
  color: var(--red);
  transform: rotate(12deg);
}
.event-copy {
  padding: 110px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-copy p:not(.section-label) {
  line-height: 1.7;
  max-width: 500px;
  color: #5b5953;
}
footer {
  background: #1b1d19;
  color: white;
  padding: 100px 8vw 30px;
  display: grid;
  grid-template-columns: 65% 35%;
}
footer h2 em {
  color: var(--acid);
}
.section-label.light {
  color: #aaa;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: end;
  padding-bottom: 12px;
}
.contact-block a:first-child {
  color: var(--acid);
  font-size: 18px;
}
.contact-block p {
  color: #999;
  line-height: 1.5;
}
.footer-base {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #444;
  margin-top: 80px;
  padding-top: 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #888;
}
@media (max-width:800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 74px;
  }
  .site-header nav {
    display: none;
  }
  .header-cta {
    font-size: 9px;
    padding: 10px 12px;
  }
  .header-cta span {
    margin-left: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 130px 24px 55px;
  }
  .hero-visual {
    min-height: 470px;
  }
  .lead {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .intro {
    padding: 80px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .courses {
    padding: 75px 24px;
    grid-template-columns: 1fr;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .course-card {
    grid-template-columns: 38px 1fr 30px;
  }
  .course-card h3 {
    font-size: 29px;
  }
  .event {
    grid-template-columns: 1fr;
  }
  .event-image {
    min-height: 480px;
  }
  .event-copy {
    padding: 75px 24px;
  }
  footer {
    padding: 75px 24px 25px;
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .footer-base {
    margin-top: 30px;
  }
}

.site-header {
  position: absolute;
  background: linear-gradient(180deg, rgba(8, 12, 9, .66), transparent);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .28);
  backdrop-filter: none;
}

.site-header .brand-sub { color: #f04747; }
.site-header .brand { align-items: baseline; line-height: 1; }
.site-header .brand-main,
.site-header .brand-sub {
  font-family: Breton, Rockwell, "Roboto Slab", Georgia, serif !important;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -.07em;
}
.site-header .header-cta { border-color: rgba(255, 255, 255, .78); }
.site-header nav {
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(247, 244, 235, .92);
  color: #171714;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}
.site-header nav a { font-weight: 700; }
.site-header nav a:hover { color: #e61f3d; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 14, 11, .38) 0%, rgba(10, 14, 11, .12) 55%, transparent 80%),
    linear-gradient(0deg, rgba(3, 10, 5, .96) 0%, rgba(3, 10, 5, .78) 32%, rgba(3, 10, 5, .18) 58%, transparent 70%),
    url('assets/annunciata-hero.png') center center / cover no-repeat;
}

.hero-copy {
  min-height: 100vh;
  max-width: none;
  padding: 34vh 6vw 40px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-family: Breton, Rockwell, "Roboto Slab", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
  font-size: clamp(62px, 6.5vw, 108px);
  text-shadow: 0 3px 8px rgba(0, 0, 0, .72), 0 10px 32px rgba(0, 0, 0, .58);
}

html body,
html body * {
  font-family: Breton, Rockwell, "Roboto Slab", Georgia, serif !important;
}

.hero h1 em { color: #fff; }
.hero-subtitle {
  width: max-content;
  max-width: 100%;
  padding: 10px 14px;
  color: #111;
  background: #f4df67;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-shadow: none;
}
.hero .lead { color: #fff; font-weight: 500; text-shadow: 0 2px 8px rgba(0, 0, 0, .85); }
.hero .text-link { color: #fff; text-shadow: 0 2px 7px rgba(0, 0, 0, .9); }
.hero .text-link { border-color: rgba(255, 255, 255, .66); }
.hero-visual { display: none; }
.event {
  display: flex;
  flex-direction: column;
  background: #e6ded0;
}
.event-copy {
  justify-content: flex-start;
  align-items: center;
  padding: 72px 8vw 20px;
  text-align: center;
  background: #e6ded0;
}
.event-image {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 22px;
  width: 100%;
  padding: 32px 8vw 72px;
  background: #e6ded0;
  color: var(--ink);
}
.event-image > img { width: 100%; max-width: 500px; height: 700px; object-fit: contain; }
.event-image::before,
.event-image::after { display: none; }
.event-image > i { color: #f4df67; opacity: .88; }
.event-image b { text-shadow: 0 3px 18px rgba(0, 0, 0, .85); }
@media (max-width: 800px) {
  .event-image { grid-template-columns: 1fr; }
  .event-image > img { height: min(125vw, 700px); }
}
footer {
  background: #f7f3eb;
  color: var(--ink);
}
footer h2 em,
footer .contact-block a:first-child { color: var(--red); }
footer .section-label.light,
footer .contact-block p { color: #656159; }
footer .footer-base { border-top-color: #aaa398; color: #656159; }
.about-detail {
  max-width: 720px;
  margin: 44px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: #59564f;
}
.intro .about-text {
  grid-column: 2;
  text-align: right;
}
.intro .about-text .about-detail { margin-left: auto; }
.about-photo {
  grid-column: 1 / -1;
  margin: 70px 0 0;
}
.about-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 560px);
  object-fit: cover;
}
.about-concert-photo img { height: auto; object-fit: contain; }
.about-photo figcaption,
.ensemble-gallery figcaption {
  margin-top: 10px;
  color: #656159;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ensemble-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 64px;
}
.ensemble-gallery figure { margin: 0; }
.ensemble-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 800px) {
  .intro .about-text { grid-column: 1; }
  .ensemble-gallery { grid-template-columns: 1fr; }
}
.about-sections { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; margin-top: 72px; }
.about-section { border-top: 1px solid #aaa398; padding: 24px 0; min-width: 0; }
.about-number { color: var(--red); font-size: 12px; letter-spacing: .12em; }
.about-section h3 { margin: 22px 0 16px; font-size: clamp(24px, 3vw, 42px); font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
.about-section p { margin: 0; color: #59564f; font-size: 17px; line-height: 1.7; }
#storia { grid-column: auto; }
.about-disclosure summary { cursor: pointer; list-style: none; }
.about-disclosure summary::-webkit-details-marker { display: none; }
.about-disclosure summary:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.about-disclosure summary h3 { display: flex; align-items: center; justify-content: space-between; }
.about-disclosure[open] .bio-toggle { transform: rotate(180deg); }
.about-story { max-width: 850px; text-align: justify; hyphens: auto; overflow-wrap: break-word; }
.about-story p + p { margin-top: 20px; }
@media (max-width: 600px) { .about-sections { grid-template-columns: 1fr; gap: 16px; margin-top: 44px; } }
.course-arrow { text-decoration: none; }
.courses .section-label {
  display: block;
  margin: 0 0 28px;
  padding: 0;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.courses .section-heading .courses-title { font-size: 15px; line-height: 1.2; }
.courses-photo { display: block; width: 100%; max-width: 390px; height: auto; }
.teachers-section {
  padding: 110px 8vw 130px;
  background: #f4f0e7;
  border-top: 1px solid #cfc8bb;
}
.teachers-heading {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 4vw;
  align-items: end;
  margin-bottom: 70px;
}
.introductory-section .teachers-heading { align-items: start; }
.introductory-section .teachers-heading > p:last-child {
  justify-self: end;
  text-align: justify;
}
#docenti-corsi-base .teachers-heading { align-items: start; }
#docenti-corsi-base .teachers-heading > p:last-child {
  justify-self: end;
  text-align: justify;
}
.ensemble-section .teachers-heading { align-items: start; }
.ensemble-section .teachers-heading > p:last-child {
  justify-self: end;
  text-align: justify;
}
.ensemble-section .teachers-heading h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  white-space: nowrap;
}
.coming-card {
  max-width: 720px;
  padding: 34px;
  background: #e3dccf;
}
.coming-card > span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.coming-card h3 { margin: 26px 0 10px; font: 400 34px/1.1 Georgia, serif; }
.coming-card p { margin: 0; color: #656159; line-height: 1.6; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 24px; margin-bottom: 64px; }
.program-card { position: relative; aspect-ratio: 1; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: #dfd8ca; color: #3b3a36; overflow: hidden; }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-card > span { position: relative; z-index: 1; align-self: flex-start; padding: 6px 8px; background: rgba(244, 240, 231, .9); color: var(--red); font-size: 11px; letter-spacing: .15em; }
.program-meta { padding: 16px 2px 0; color: #3b3a36; }
.program-meta h3 { margin: 0 0 8px; font-size: clamp(18px, 1.65vw, 26px); line-height: 1; font-weight: 400; white-space: nowrap; }
.program-meta > p:not(.program-teacher) { margin: 0; color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.program-teacher { margin: 8px 0 0; color: #5c5952; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.program-details summary { list-style: none; cursor: pointer; }
.program-details summary::-webkit-details-marker { display: none; }
.program-details summary:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.program-details .program-card { transition: transform .25s ease, box-shadow .25s ease; }
.program-details summary:hover .program-card { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(45, 39, 30, .14); }
.program-card b { position: relative; z-index: 1; align-self: flex-end; padding: 6px 8px; background: rgba(244, 240, 231, .9); color: var(--red); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.program-details[open] .program-card b { transform: rotate(180deg); }
.program-description {
  margin-top: 8px;
  padding: 8px 2px 18px;
  border-top: 1px solid #c8c0b4;
  color: #777168;
  font-size: 14px;
  line-height: 1.5;
}
.program-description p {
  margin: 0;
  text-align: justify;
}
.teachers-heading h2 {
  margin: 0;
  font: 400 clamp(58px, 7vw, 104px)/.88 Georgia, serif;
  letter-spacing: -.055em;
}
.teachers-heading h2 em { color: var(--red); font-weight: 400; }
.teachers-heading > p:last-child { max-width: 380px; color: #656159; line-height: 1.6; }
.advanced-section .teachers-heading > .section-label { display: none; }
.advanced-section .teachers-heading h2 { grid-column: 1 / 3; }
.advanced-section .teachers-heading > p:last-child { grid-column: 3; }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 24px;
}
@media (min-width: 901px) {
  #docenti-corsi-base .teachers-grid,
  .compact-teacher-section .teachers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1100px;
  }
}
.instrument-groups { display: grid; gap: 80px; }
.instrument-group { scroll-margin-top: 110px; }
.instrument-title {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #989185;
  color: var(--red);
  font: 400 34px/1.1 Georgia, serif;
}
.teacher-card { padding-top: 0; }
.teacher-card summary { list-style: none; cursor: pointer; }
.teacher-card summary::-webkit-details-marker { display: none; }
.teacher-card summary:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.teacher-card summary:hover .teacher-photo { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(45, 39, 30, .14); }
.teacher-card summary:hover h4 { color: var(--red); }
.teacher-photo {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: #dfd8ca;
  color: #b3aa9b;
  font: 400 clamp(52px, 7vw, 96px)/1 Didot, Georgia, serif;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-instrument { margin: 0 0 8px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.teacher-card h3,
.teacher-card h4 { margin: 0 0 12px; font: 400 28px/1.1 Georgia, serif; }
.teacher-card h4 { display: flex; justify-content: space-between; gap: 14px; transition: color .2s ease; }
.base-teacher-card .teacher-name-top {
  margin-bottom: 10px;
  color: #656159;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
#docenti-corsi-base .base-teacher-card summary {
  height: 130px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #989185;
  background: #dfd8ca;
  transition: transform .25s ease, background .25s ease;
}
.compact-teacher-section .base-teacher-card summary {
  height: 130px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #989185;
  background: #dfd8ca;
  transition: transform .25s ease, background .25s ease;
}
.compact-teacher-section .base-teacher-card summary:hover {
  transform: translateY(-4px);
  background: #e8e1d5;
}
.compact-teacher-section .base-teacher-card .teacher-course {
  margin: auto 0 0;
  color: #3b3a36;
  font-size: 22px;
  line-height: 1.05;
}
.compact-teacher-section .base-teacher-card .teacher-name-top {
  font-size: 10px;
  line-height: 1.15;
}
#alta-formazione .base-teacher-card:nth-child(n+6) .teacher-course {
  font-size: 16px;
}
#docenti-corsi-base .base-teacher-card summary:hover {
  transform: translateY(-4px);
  background: #e8e1d5;
}
#docenti-corsi-base .base-teacher-card .teacher-course {
  margin: auto 0 0;
  color: #3b3a36;
  font-size: 22px;
  line-height: 1.05;
}
#docenti-corsi-base .base-teacher-card:nth-child(7) .teacher-course {
  font-size: 17px;
  line-height: 1.05;
}
#docenti-corsi-base .base-teacher-card:nth-child(4) .teacher-course {
  font-size: 17px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
#docenti-corsi-base .base-teacher-card .teacher-name-top {
  font-size: 10px;
  line-height: 1.15;
}
.base-teacher-card .teacher-course {
  margin: 0 0 12px;
  color: var(--ink);
  font: 400 28px/1.1 Georgia, serif;
}
.bio-toggle { font: 400 22px/1 Arial, sans-serif; color: var(--red); transition: transform .25s ease; }
.teacher-card[open] .bio-toggle { transform: rotate(180deg); }
.teacher-bio-panel { padding: 8px 0 18px; border-top: 1px solid #c8c0b4; }
.teacher-bio { margin: 0; color: #777168; font-size: 14px; line-height: 1.5; }
#docenti-corsi-base .teacher-card:first-child .teacher-bio {
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
  word-spacing: normal;
}
@media (max-width: 900px) {
  .teachers-heading { grid-template-columns: 1fr; gap: 24px; }
  .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .teachers-section { padding: 75px 24px 90px; }
  .teachers-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .program-meta h3 { white-space: normal; }
  .ensemble-section .teachers-heading h2 { white-space: normal; }
}
.hero-symbol {
  display: block;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 17vh;
  width: clamp(150px, 16vw, 260px);
  max-height: 34vh;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .38));
}

@media (max-width: 800px) {
  .hero { background-position: 58% center; }
  .hero-copy { padding: 32vh 24px 40px; justify-content: center; max-width: none; }
  .hero h1 { font-size: clamp(54px, 17vw, 80px); }
  .hero-symbol { display: block; width: 30vw; left: 50%; top: 18vh; transform: translateX(-50%); }
  .site-header .brand-main,
  .site-header .brand-sub { font-size: 27px; }
}

body.admin-bar .site-header { top: 32px; }
@media(max-width:782px){body.admin-bar .site-header{top:46px;}}
