:root {
  color-scheme: light;
  --ink:#321e18;
  --muted:#604740;
  --purple:#922e19;
  --dark:#542219;
  --violet:#a13e25;
  --lavender:#faece0;
  --lime:#f8e6d6;
  --peach:#f5e1cf;
  --line:#ead1bd;
  --paper:#fff;
  font: 16px/1.6 system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--paper);
}
*,*::before,*::after {box-sizing:border-box}
body,figure {margin:0}
[hidden] {display:none!important}
img {display:block;max-width:100%;height:auto}
a {color:var(--purple);text-underline-offset:.2em}
a:hover {color:#72311e}
:focus-visible {outline:3px solid #a34a2d;outline-offset:4px}
.skip {position:absolute;top:-5rem;left:1rem;z-index:5;background:white;padding:.75rem}
.skip:focus {top:1rem}
.wrap {width:min(1190px,calc(100% - 4.5rem));margin-inline:auto}
.top {background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:2}
.bar {min-height:126px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.brand {display:inline-flex;align-items:center;gap:.45rem;color:var(--ink);text-decoration:none;width:max-content;max-width:100%;flex:none}
.brand-owl {display:block;position:relative;width:3.1rem;height:5.25rem;overflow:hidden;flex:none;mix-blend-mode:multiply;clip-path:polygon(0 0,100% 0,100% 50%,93% 50%,93% 100%,0 100%)}
.brand-owl img {position:absolute;left:0;top:0;width:23.68rem;height:5.25rem;max-width:none}
.brand-name {font-family:Georgia,serif;font-size:clamp(1.45rem,3vw,2.1rem);font-weight:bold;line-height:1;letter-spacing:-.08em}
.brand-lockup {display:grid;gap:.22rem}
.bar .brand-owl {width:4rem;height:6.75rem}
.bar .brand-owl img {width:30.45rem;height:6.75rem}
.bar .brand-name {font-size:clamp(2.2rem,4vw,2.9rem);letter-spacing:-.025em}
.brand-credit {font-size:.77rem;line-height:1.2;color:var(--muted);letter-spacing:.015em}
.brand-name em {font-weight:normal;color:var(--violet)}
.bar nav {display:flex;align-items:center;gap:clamp(.35rem,1.5vw,1.25rem)}
.bar nav>a {font-size:.94rem;color:var(--ink);font-weight:700;text-decoration:none;white-space:nowrap;padding:.55rem .65rem;border-radius:.5rem}
.bar nav>a:not(.nav-contact):is(:hover,:focus-visible,[aria-current]) {background:var(--lavender);color:var(--purple)}
.button {display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:.65rem 1.18rem;border:1px solid transparent;border-radius:.5rem;font:inherit;font-weight:750;text-decoration:none;transition:background .16s,color .16s}
.primary {background:var(--purple);color:white}
.primary:hover {background:var(--dark);color:white}
.outline {background:transparent;color:var(--ink);border-color:currentColor}
.outline:hover {background:var(--lavender);color:var(--ink)}
.nav-contact {background:var(--lime);border-color:var(--ink)}
.actions {display:flex;flex-wrap:wrap;gap:.65rem}
.front {color:var(--ink);background:#f9e3cf;overflow:hidden}
.hero {display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:clamp(2rem,4vw,4.2rem);padding-block:clamp(2.6rem,6.3vw,6rem)}
.front .hero {min-height:500px}
h1,h2,h3 {line-height:1.03;letter-spacing:-.055em;margin:0;text-wrap:balance;font-family:system-ui,-apple-system,sans-serif;font-weight:720}
h1 {font-size:clamp(2.85rem,5.25vw,5.4rem)}
.front h1 {text-wrap:initial}
.front h1 span {font-size:.76em}
h1 em {color:var(--purple);font-weight:inherit;font-style:normal}
h2 {font-size:clamp(1.8rem,3.4vw,2.85rem)}
h3 {font-size:clamp(1.35rem,2.2vw,1.85rem)}
.eyebrow {color:var(--purple);font-size:.85rem;font-weight:750;letter-spacing:.115em;margin:0 0 1.15rem;display:flex;align-items:center;gap:.65rem}
.eyebrow::before {content:"";width:1.7rem;border-top:1px solid currentColor}
.lead {font-size:clamp(1.08rem,1.8vw,1.23rem);color:var(--muted);max-width:43ch;margin:1.15rem 0 1.55rem}
.front .lead {color:#604740}
.front .primary {background:var(--purple);color:white}
.front .primary:hover {background:var(--dark)}
.front .outline {color:var(--purple)}
.front .outline:hover {color:var(--dark)}
.hero-art {position:relative;isolation:isolate;padding:1.18rem 1.1rem 1.4rem}
.hero-art::before {content:"";position:absolute;inset:0 2.85rem 2.65rem 0;z-index:-1;background:repeating-linear-gradient(45deg,transparent 0 8px,#dfc0a980 8px 9px);border-radius:50% 50% 1rem 1rem}
.hero-photo {border-radius:.85rem;overflow:hidden;border:1px solid var(--line);background:var(--peach)}
.hero-photo img {width:100%;aspect-ratio:1.06;object-fit:cover}
.mascot {position:absolute;right:-.2rem;bottom:-.2rem;width:clamp(4.5rem,8vw,6.1rem);aspect-ratio:1;display:grid;place-items:center;background:var(--lime);border:1px solid #dcc0a9;border-radius:50%;box-shadow:0 3px 14px #54221920}
.mascot .brand-owl {margin-right:.55rem;width:2.24rem;height:3.8rem}
.mascot .brand-owl img {width:17.14rem;height:3.8rem}
.wand {position:absolute;top:19%;right:23%;font-size:1.28rem;line-height:1;color:var(--purple)}
.wand::after {content:"";position:absolute;width:2px;height:1.25rem;background:currentColor;top:.9rem;left:.3rem;transform:rotate(25deg)}
.audiences {background:var(--lime);border-block:1px solid var(--line)}
.audiences>div {display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;text-align:center}
.audiences a {padding:1rem .5rem;color:var(--ink);font-weight:750;text-decoration:none;display:grid;place-items:center}
.audiences a:hover {background:#f5e1cf}
.audiences a+a {border-left:1px solid #ead1bd}
.block {padding-block:clamp(2.65rem,6vw,5.75rem)}
.cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;margin-top:1.55rem}
.card {background:#fff;border:1px solid var(--line);border-radius:1rem;overflow:hidden;transition:transform .18s,box-shadow .18s}
.card:hover,.card:focus-within {box-shadow:0 9px 24px #5422191a;transform:translateY(-2px)}
.card a {display:block;height:100%;text-decoration:none;color:var(--ink)}
.card a:focus-visible {outline-offset:-4px}
.card img {width:100%;aspect-ratio:1.8;object-fit:cover;border-bottom:1px solid var(--line)}
.card img[src*="gufo-che-legge"] {object-fit:contain;padding:.65rem}
.card div {padding:1.2rem 1.25rem}
.card p {margin:.6rem 0 0;color:var(--muted)}
.about {background:var(--lavender);padding-block:clamp(2.8rem,6vw,5.2rem);border-block:1px solid var(--line)}
.split {display:grid;grid-template-columns:.87fr 1fr;gap:clamp(2rem,7vw,5.8rem);align-items:center}
.split img {width:100%;border-radius:1rem;box-shadow:0 8px 26px #54221926}
.copy {max-width:72ch;font-size:1.06rem;overflow-wrap:anywhere}
.copy p {margin:.85rem 0}
.copy h2 {font-size:clamp(1.8rem,4vw,3.35rem);margin:1.7rem 0 .65rem}
.copy h2:first-child {margin-top:0}
.copy address {font-style:normal;margin:.8rem 0}
.copy .actions {margin:1rem 0}
.note {padding:.92rem 1.1rem;background:var(--lavender);border-inline-start:4px solid var(--violet);border-radius:.25rem}
.gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:1rem;margin-top:1.5rem}
.gallery figure {overflow:hidden;display:grid;place-items:center;min-height:120px;border-radius:.9rem;background:#faece0}
.gallery img {width:100%;height:clamp(140px,20vw,240px);object-fit:contain}
details {margin-top:1.45rem}
summary {cursor:pointer;font-weight:720;color:var(--purple)}
.article-grid {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(1.5rem,6vw,4.25rem);align-items:start}
.article-grid .gallery {margin-top:.65rem;grid-template-columns:1fr}
.article-grid .gallery img {height:auto;max-height:300px;min-height:95px;object-fit:contain}
.article-grid .gallery img:is([src$="/studentessa-libro-aperto.webp"], [src$="/studentessa-libro-italiano.webp"], [src$="/gufo-messaggero.webp"], [src$="/gufo-orologio.webp"]) {object-fit:cover}
.gallery img[src*="bandiera-italiana"] {width:1.5rem;min-height:0}
.contact-band {background:var(--peach);padding:clamp(1.35rem,4vw,2.8rem);margin-bottom:3.6rem;border:1px solid var(--line);border-radius:1rem;display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between}
.contact-band h2 {font-size:clamp(1.8rem,4vw,3rem)}
.contact-band p {margin:.35rem 0 0}
footer {background:var(--dark);color:white;padding-block:2.8rem}
.foot {display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:1.6rem}
.foot a {color:white;text-decoration:none}
.foot-links {list-style:none;padding:0;margin:0;display:grid;gap:.22rem}
.foot-links a {display:inline-flex;align-items:center;min-height:2.15rem;padding:.24rem .58rem;margin-inline-start:-.58rem;border-radius:.4rem;color:#f8e6d6;font-weight:600;transition:background .16s,color .16s}
.foot-links a:is(:hover,:focus-visible) {background:#ffffff1a;color:white}
.foot-contact {display:flex;flex-wrap:wrap;column-gap:1rem}
.foot .brand:hover {background:#faece0}
.foot :focus-visible {outline-color:#efc4a6}
.foot .brand {color:var(--ink);background:var(--lime);padding:.25rem .95rem .25rem .65rem;border-radius:.65rem}
.foot h2 {font:750 1.04rem/1.3 system-ui,sans-serif;letter-spacing:normal;margin-bottom:.6rem}
.socials {display:flex;gap:.55rem;margin-top:.85rem}
.socials a {display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--purple);color:white}
.socials a:hover {background:var(--violet)}
.foot .socials a {background:var(--lime);color:var(--dark)}
.foot .socials a:hover {background:white}
.socials svg {width:20px;height:20px}
.sub {background:var(--lavender);border-bottom:1px solid var(--line)}
.crumb {list-style:none;display:flex;flex-wrap:wrap;gap:.48rem;padding:1.15rem 0 0;margin:0;font-size:.92rem;color:var(--muted)}
.crumb li+li::before {content:"/";margin-right:.48rem;color:#725146}
.subhero {padding-block:1.5rem 3.45rem}
.subhero h1 {font-size:clamp(2.85rem,6vw,5.45rem)}
.cover img {width:100%;height:clamp(175px,23vw,300px);object-fit:contain;border-radius:1rem;background:#faece0}
.cover-photo img {object-fit:cover}
.related {padding-top:0}
@media(max-width:850px) {
  .wrap {width:calc(100% - 2.5rem)}
  .bar nav {gap:.25rem}
  .front .hero {min-height:0}
}
@media(max-width:760px) {
  .bar {flex-wrap:wrap;gap:.6rem;padding-block:.42rem;min-height:76px}
  .bar .brand-name {font-size:clamp(1.55rem,5.25vw,2.2rem)}
  .bar .brand-owl {width:3rem;height:5.05rem}
  .bar .brand-owl img {width:22.78rem;height:5.05rem}
  .hero,.split,.article-grid {grid-template-columns:1fr}
  .hero-art {max-width:510px;width:100%;margin-inline:auto}
  .hero-photo img {aspect-ratio:1.4}
  .desktop {display:none}
  .cards {grid-template-columns:repeat(2,minmax(0,1fr))}
  .audiences a {font-size:.86rem}
  .foot {grid-template-columns:1fr 1fr}
  .foot>div:first-child {grid-column:1/-1}
}
@media(max-width:480px) {
  .wrap {width:calc(100% - 2rem)}
  .cards {grid-template-columns:1fr}
  .hero {gap:1.45rem}
  .front h1 {font-size:clamp(2.4rem,10vw,3.4rem)}
  .hero-art {padding:.8rem .75rem 1rem}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {transition:none!important}
}

.price-grid,.price-terms {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;margin-top:1.25rem}
.price-panel,.price-terms section {border:1px solid var(--line);border-radius:.75rem;padding:clamp(.85rem,2.5vw,1.5rem)}
.price-panel.adults {grid-column:2;grid-row:1 / span 2}
.pricing h2,.map-heading h2 {font-size:clamp(1.3rem,3vw,1.85rem);letter-spacing:-.03em}
.price-panel table {width:100%;border-collapse:collapse;margin-top:.85rem}
.price-panel thead {background:#faece0}
.price-panel th,.price-panel td {padding:.58rem .55rem;text-align:left;border-bottom:1px solid var(--line)}
.price-panel tbody th {font-weight:550}
.price-panel td,.price-panel thead th:last-child {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.price-panel p,.price-terms p {color:var(--muted);margin:.75rem 0 0}
.map-dialog {width:min(900px,calc(100% - 1.5rem));max-height:calc(100% - 1.5rem);padding:0;border:1px solid var(--line);border-radius:.85rem;color:var(--ink);box-shadow:0 15px 70px #54221966}
.map-dialog::backdrop {background:#43251bb5}
.map-heading {display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:1rem}
.map-heading p {font-size:.92rem;color:var(--muted);margin:.2rem 0 0}
.map-view {background:#faece0}
.map-view iframe {display:block;width:100%;height:min(57vh,510px);border:0}
@media(max-width:680px) {
  .price-grid,.price-terms {grid-template-columns:1fr}
  .price-panel.adults {grid-column:auto;grid-row:auto}
}

.platforms {list-style:none;padding:0;margin:.65rem 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.platforms li {display:grid;justify-items:center;align-content:center;gap:.45rem;padding:1rem .5rem;min-height:110px;text-align:center;border:1px solid var(--line);border-radius:.9rem;background:#fffaf4;font-size:.92rem;font-weight:650}
.platforms img {width:72px;height:48px;object-fit:contain}

.archive-gallery {margin-bottom:clamp(2.5rem,5vw,4.75rem)}
.archive-panel {padding:clamp(1rem,3.8vw,2.8rem);border:1px solid var(--line);border-radius:1.15rem;background:#faece0}
.archive-panel h2 {margin-bottom:clamp(1rem,2.5vw,1.8rem)}
.archive-previews {grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.5rem,1.4vw,1rem);margin:0}
.archive-previews figure {min-height:0;aspect-ratio:4/3}
.archive-previews img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.archive-previews img[src$="/galleria-esercizi-geometria-anteprima.webp"] {object-position:center 34%}
.archive-previews img[src$="/galleria-studentessa-ingresso-anteprima.webp"] {object-position:center 47%}
.archive-previews img[src$="/galleria-studentessa-quaderno-anteprima.webp"] {object-position:center 28%}
.gallery-preview {position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
@media(max-width:700px) {
  .archive-previews {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.gallery-preview:is(:hover,:focus-visible) {background:#f5e1cf}
.gallery-preview:focus-visible {outline-offset:-4px}
.photo-dialog {width:min(1440px,calc(100% - 1rem));max-height:calc(100dvh - 1rem);border:1px solid var(--line);border-radius:.9rem;padding:1rem;color:var(--ink);background:var(--paper)}
.photo-dialog[open] {display:flex;flex-direction:column}
.photo-dialog::backdrop {background:#43251bb5}
.photo-dialog-header,.photo-dialog-controls {display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:.45rem}
.photo-dialog-header h3 {font-size:clamp(1.15rem,4vw,1.5rem)}
.photo-full {width:auto;max-width:100%;min-height:0;max-height:88dvh;margin:.55rem auto;object-fit:contain}
.photo-position {font-size:.875rem;white-space:nowrap;color:var(--muted)}
.photo-dialog-controls .button {padding-inline:.65rem}

.cookie-banner {position:fixed;z-index:20;inset:auto 1rem 1rem;margin-inline:auto;width:min(760px,calc(100% - 2rem));display:flex;align-items:center;gap:1.2rem;padding:1rem 1.15rem;border:1px solid var(--line);border-radius:.85rem;background:white;color:var(--ink);box-shadow:0 12px 45px #54221945}
.cookie-banner h2 {font-size:1.2rem;letter-spacing:-.02em}
.cookie-banner p {margin:.3rem 0 0;font-size:.94rem}
.cookie-actions {display:flex;gap:.45rem;flex-shrink:0}
.cookie-actions .button {min-width:5.25rem}
.cookie-settings-link {padding:.24rem .58rem;margin:.22rem 0 0 -.58rem;min-height:2.15rem;border:0;border-radius:.4rem;background:transparent;color:#f8e6d6;font:inherit;font-weight:600;cursor:pointer}
.cookie-settings-link:is(:hover,:focus-visible) {background:#ffffff1a;color:white}
.map-consent-note {padding:1.25rem 1rem; text-align:center}
.map-consent-note p {margin:0 0 .75rem}
@media(max-width:620px) {
  .cookie-banner {align-items:stretch;flex-direction:column;gap:.65rem}
  .cookie-actions .button {flex:1}
}

.cookie-banner {display:grid;gap:.8rem;max-height:calc(100dvh - 2rem);overflow:auto}
.cookie-options {display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin:0;padding:0;border:0}
.cookie-options legend {margin-bottom:.25rem;font-size:.9rem;font-weight:650}
.cookie-options label {display:inline-flex;align-items:center;gap:.35rem;min-height:32px}
.cookie-options input {width:1.15rem;height:1.15rem;accent-color:var(--ink)}
.cookie-actions {flex-wrap:wrap}

.whatsapp-button {gap:.55rem}
.whatsapp-button img {flex:none}

.mobile-nav {display:none;margin:0}
@media (max-width:1024px), (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .bar {min-height:76px;padding-block:.4rem;gap:.45rem}
  .bar .desktop-nav {display:none}
  .mobile-nav {display:block}
  .mobile-nav summary {display:flex;list-style:none;padding-inline:.85rem;white-space:nowrap;cursor:pointer}
  .mobile-nav summary::-webkit-details-marker {display:none}
  .mobile-nav nav {position:absolute;inset:auto 0 auto;top:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:.75rem max(1rem,env(safe-area-inset-left));background:white;border-bottom:1px solid var(--line);box-shadow:0 12px 24px #5422191a}
  .mobile-nav:not([open]) nav {display:none}
  .mobile-nav nav>a {display:flex;align-items:center;min-height:48px;white-space:normal;background:var(--lavender)}
  .mobile-nav nav .nav-contact {grid-column:1/-1;background:var(--lime)}
  .bar .brand {gap:.6rem}
  .bar .brand-name {font-size:clamp(1.7rem,5.7vw,3rem)}
  .bar .brand-credit {font-size:clamp(.85rem,1.9vw,1.15rem)}
  .mobile-nav summary,.mobile-nav nav>a,
  .front .actions .button,.contact-band .actions .button,
  .audiences a,.contact-band p,.foot {font-size:clamp(1.125rem,2.7vw,1.65rem);line-height:1.4}
  .mobile-nav nav>a,.contact-band .actions .button,.front .actions .button,.audiences a {min-height:54px}
  .contact-band .actions .button {padding:.72rem 1rem}
  .foot h2 {font-size:clamp(1.2rem,2.8vw,1.75rem)}
  .foot-links a,.cookie-settings-link {padding-block:.45rem;min-height:44px}
  .hero,.split,.article-grid {grid-template-columns:minmax(0,1fr)}
  .copy {max-width:none}
  .copy,.lead,.card p,.pricing {font-size:clamp(1.15rem,2.7vw,1.65rem);line-height:1.6}
  .subhero h1 {font-size:clamp(2rem,6.8vw,4.2rem);overflow-wrap:anywhere}
  .hero-art {width:100%;max-width:680px;margin-inline:auto}
  .article-grid .gallery {grid-template-columns:minmax(0,1fr)}
  .article-grid .gallery img {max-height:clamp(250px,52vw,520px)}
}
@media (min-width:761px) and (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .copy,.lead,.card p,.pricing {font-size:clamp(1.25rem,3vw,2rem)}
}
@media(max-width:600px) {
  .hero {padding-block:1.55rem 2rem;line-height:1.4}
  .hero-art {padding:.4rem .35rem .65rem}
  .lead {margin:.8rem 0 1.15rem}
  .subhero h1 {font-size:clamp(2rem,8vw,2.85rem);overflow-wrap:anywhere}
  .block {padding-block:2.1rem}
  .related {padding-top:0}
  .actions {width:100%;gap:.55rem}
  .actions .button {flex:1 1 11rem;text-align:center}
  .copy .whatsapp-button {width:100%;text-align:center}
  .bar .brand {gap:.4rem}
  .bar .brand-name {font-size:clamp(1.55rem,5.7vw,2.5rem)}
  .mobile-nav summary {padding-inline:.65rem}
  .mobile-nav nav,.audiences>div {grid-template-columns:minmax(0,1fr)}
  .front .actions .button,.contact-band .actions .button {flex-basis:100%}
  .audiences a {justify-items:start;text-align:start;padding:.75rem .45rem}
  .audiences a+a {border-left:0;border-top:1px solid #ead1bd}
  .price-grid,.price-terms {grid-template-columns:minmax(0,1fr)}
  .price-panel th,.price-panel td {padding:.48rem .35rem;font-size:.94rem}
  .foot {gap:1.15rem;grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-links a,.cookie-settings-link {min-height:44px;overflow-wrap:anywhere}
  .photo-dialog {padding:.72rem}
  .photo-dialog-controls {gap:.3rem}
  .map-view iframe {height:min(56dvh,450px)}
  .cookie-banner {inset:auto .6rem max(.6rem,env(safe-area-inset-bottom));width:calc(100% - 1.2rem);padding:.8rem;max-height:min(65dvh,calc(100dvh - 1.2rem))}
  .cookie-options {gap:.15rem .8rem}
  .cookie-options label {min-height:44px}
  .cookie-actions {gap:.35rem}
  .cookie-actions .button {min-width:0;padding-inline:.46rem;font-size:.9rem}
}

@media (max-width:380px) {
  .foot {grid-template-columns:minmax(0,1fr)}
}

.cookie-banner .cookie-required {margin:0;color:var(--muted)}
@media (max-width:1024px), (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .copy,.lead,.card p,.pricing,.contact-band p,.foot {
    font-size:clamp(1.25rem,3.2vw,2rem);
    line-height:1.55;
  }
  .mobile-nav summary,.mobile-nav nav>a,.audiences a,
  .front .actions .button,.contact-band .actions .button,.whatsapp-button {
    font-size:clamp(1.2rem,3.1vw,1.9rem);
    line-height:1.35;
  }
  .copy h2,.contact-band h2 {line-height:1.15}
  .price-panel table,.cookie-banner p,.cookie-options label {font-size:clamp(1.05rem,2.4vw,1.5rem)}
}
@media (max-width:600px) {
  .price-panel th,.price-panel td {font-size:1.05rem}
  .mobile-nav nav {max-height:70dvh;overflow:auto}
}

@media (hover:hover) and (pointer:fine) {
  .front h1,.subhero h1 {font-size:clamp(2rem,4.2vw,4.15rem);line-height:1.07}
  h2,.copy h2,.contact-band h2 {font-size:clamp(1.65rem,2.7vw,2.5rem);line-height:1.15}
  h3 {font-size:clamp(1.2rem,1.8vw,1.6rem)}
  .lead {font-size:1.125rem;line-height:1.55}
  .copy,.card p,.pricing,.contact-band p {font-size:1rem;line-height:1.6}
  .price-panel table,.price-panel th,.price-panel td {font-size:1rem}
  .mobile-nav summary,.mobile-nav nav>a,.audiences a,
  .front .actions .button,.contact-band .actions .button,.whatsapp-button {font-size:1rem}
  .foot {font-size:.9375rem;line-height:1.5}
  .foot h2 {font-size:1.0625rem}
  .foot-links a,.cookie-settings-link {min-height:2.15rem;padding-block:.24rem}
}

@media (hover:hover) and (pointer:fine) {
  .cookie-banner {width:min(640px,calc(100% - 2rem));gap:.5rem;padding:.75rem .9rem}
  .cookie-banner h2 {font-size:1.05rem}
  .cookie-banner p,.cookie-options label,.cookie-options legend {font-size:.875rem;line-height:1.4}
  .cookie-options label {min-height:30px}
  .cookie-options input {width:1rem;height:1rem}
  .cookie-actions .button {font-size:.875rem;min-height:40px;padding:.4rem .8rem}
}

/* ScuolAmica · palette terracotta */
:root {
  --ink:#321e18;
  --muted:#604740;
  --purple:#922e19;
  --dark:#542219;
  --violet:#a13e25;
  --lavender:#faece0;
  --lime:#f8e6d6;
  --peach:#f5e1cf;
  --line:#ead1bd;
  --paper:#fffaf4;
}
.brand .brand-name, .brand .brand-name em {color:#102d53;font-family:inherit;font-style:normal;font-weight:800;letter-spacing:-.05em}
footer .brand {background:#fffaf4}
a:hover {color:#72311e}
:focus-visible {outline-color:#a34a2d}
.front, .page-cover {background:#f8e5d3}
.front .lead {color:var(--muted)}
main h1, .card h3 {color:var(--purple)}
.front .button, .page-cover .button {border-radius:999px}
.front .hero-art {padding:0}
.front .hero-art::before {display:none}
.front .hero-photo, .page-cover .cover {background:var(--peach);border:0}
.front .hero-photo img, .page-cover .cover img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.card {background:var(--lavender)}
.audiences a:hover {background:var(--peach)}
.audiences a+a {border-color:var(--line)}
/* Composizione del mockup Terracotta */
.top {background:#fcf1e4;border-bottom:0}
.bar {min-height:105px}
.brand .brand-owl, .bar .brand-owl {width:clamp(2.4rem,6.1vw,5.25rem);height:auto;clip-path:none}
.brand .brand-owl img, .bar .brand-owl img {position:static;width:100%;height:auto}
.bar .brand-name {font-size:clamp(1.35rem,3.8vw,3rem)}
.brand .brand-lockup {gap:.22rem}
.bar nav>a {font-size:1rem;font-weight:600;border-radius:999px}
.bar nav>a[aria-current] {background:#f5d2b8;color:#8e2c17}
.front, .page-cover {background:#f9e3cf;border:0}
.front h1,.page-cover h1 {font-weight:800;letter-spacing:-.045em}
.front .lead,.page-cover .lead {color:#321e18}
.showcase {padding-block:clamp(1.4rem,3.8vw,3rem)}
.showcase .cards {margin:0}
.showcase .card {border:0;background:#f8e9d8}
.showcase .card img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.showcase .card a>div {padding:.8rem 1rem}
.showcase .card h3 {font-size:clamp(1.25rem,2.4vw,2rem);text-wrap:initial}
.language-showcase .cards {grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1025px) and (hover:hover) and (pointer:fine) {
  .front .hero,.page-cover .hero {position:relative;display:flex;align-items:center;width:100%;min-height:clamp(415px,43vw,550px);padding:0;isolation:isolate}
  .front .hero-copy,.page-cover .hero-copy {position:relative;z-index:1;max-width:49%;padding:3rem 0 3rem max(2.25rem,calc((100vw - 1190px)/2))}
  .front .hero-art,.page-cover .cover {position:absolute;inset:0 0 0 43%;margin:0;padding:0;border-radius:0;overflow:hidden}
  .front .hero-photo {height:100%;border:0;border-radius:0}
  .front .hero-photo img,.page-cover .cover img {width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
  .front .hero::after,.page-cover .hero::after {content:"";position:absolute;inset:0 auto 0 0;width:51%;background:#f9e3cf;border-radius:0 23% 60% 0 / 0 42% 62% 0;pointer-events:none}
}
@media (max-width:700px) {
  .bar {min-height:76px}
  .language-showcase .cards {grid-template-columns:minmax(0,1fr)}
}

.page-cover .crumb {padding:0;margin:0 0 .85rem}
.page-cover .cover {width:100%;overflow:hidden;border-radius:30% .95rem .95rem .95rem / 18% .95rem .95rem .95rem}
.page-cover .cover img {border-radius:0;background:var(--peach)}
.page-cover .cover-contained img {object-fit:contain;padding:clamp(.65rem,2vw,1.5rem)}
@media (min-width:1025px) and (hover:hover) and (pointer:fine) {
  .page-cover .cover {width:auto;border-radius:0}
  .page-cover .cover-contained img {padding-inline:15% 5%}
}

@media (min-width:1025px) and (hover:hover) and (pointer:fine) {
  .front .hero,.page-cover .hero {min-height:clamp(460px,45vw,610px)}
  .front .hero-art,.page-cover .cover {
    inset:.65rem .65rem .65rem 38%;
    border-radius:34% 1.4rem 1.4rem 26% / 38% 1.4rem 1.4rem 36%;
    overflow:hidden;
  }
  .front .hero::after,.page-cover .hero::after {width:48%}
  .page-cover .cover img {object-position:58% center}
  .page-cover .cover-contained img {padding-inline:19% 5%;object-position:center}
}
@media (max-width:1024px), (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .front .hero-photo,.page-cover .cover {border-radius:24% 1.35rem 1.35rem 1.35rem / 24% 1.35rem 1.35rem 1.35rem}
}

.sede-gallery .gallery figure {min-height:0;border-radius:1rem}
.sede-gallery .gallery img {height:auto;aspect-ratio:8/5;object-fit:cover}

.languages-cover .cover img {object-position:58% center}
@media (max-width:1024px), (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .languages-cover .cover img {aspect-ratio:4/3}
}

.card img[src$="/lezione-online-su-mac-terracotta.webp"] {object-fit:contain;background:#f2dfcc}

@media (max-width:1024px), (max-width:1280px) and (hover:none) and (pointer:coarse) {
  .bar {padding-block:.65rem;gap:.65rem}
  .bar .brand-owl {width:clamp(3.35rem,12vw,5.25rem)}
  .bar .brand-name {font-size:clamp(1.95rem,7.7vw,3.8rem)}
  .bar .brand-credit {font-size:clamp(.95rem,3.6vw,1.25rem)}
  .bar .mobile-nav summary,
  .bar .mobile-nav nav>a {font-size:clamp(1.4rem,5vw,1.85rem);line-height:1.2;min-height:60px;padding:.7rem 1rem}
  .bar .mobile-nav nav {max-height:calc(100dvh - 11rem);overflow:auto;background:var(--paper)}
}
@media (max-width:540px) {
  .bar {flex-direction:column;align-items:stretch}
  .bar .brand {align-self:center}
  .bar .mobile-nav summary {width:100%}
  .bar .mobile-nav nav {grid-template-columns:minmax(0,1fr)}
}
