/* V12: smooth scroll module. V11: small centered intro logo that docks into the header on scroll; hero photo path fixed. */
/* MATILDE Bar Catering — V9: centered mark docks into header; minimal CTAs; text-only occasions. */
/* V4: simplified package labels, coverglass gallery and original favicon. */
/* MATILDE Bar Catering · V2 · centered responsive prototype */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{margin:0;background:var(--color-bg);color:var(--color-text);font:400 var(--font-body)/1.6 var(--font-ui);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--color-active);outline-offset:4px}
.container{width:min(calc(100% - 2*var(--gutter)),var(--layout-max));margin-inline:auto}

/* Centered masthead, with the contact route still accessible */
.site-header{position:relative;z-index:10;border-bottom:1px solid rgba(255,255,255,.08);background:#000}
.header__inner{display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:clamp(12px,1.8vw,25px);padding-block:14px;min-height:70px}
.brand{display:block;width:113px;flex:none}.brand img{width:100%;height:auto}
.header__navigation{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.7vw,28px);margin:0;flex-wrap:nowrap}
.header__navigation a,.header__call{font-size:10.5px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;transition:color .2s}
.header__navigation a:hover,.header__call:hover{color:var(--color-action)}
.header__call{display:inline-flex;align-items:center;gap:0;color:var(--color-muted)}

.menu-toggle,.mobile-nav{display:none}
.mobile-nav[hidden]{display:none!important}

/* Square, compact CTAs; #ec522b and Jost derived from the live homepage */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:44px;padding:12px 19px;background:var(--color-action);border:1px solid var(--color-action);border-radius:var(--radius-button);color:#fff;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;text-align:center;transition:background .2s,color .2s,border-color .2s}
.cta:hover{background:#f06943;border-color:#f06943}
.cta--secondary{background:transparent;border-color:rgba(255,255,255,.39)}
.cta--secondary:hover{background:#fff;border-color:#fff;color:#080808}


/* The main area intentionally uses one central axis, including on desktop. */
.hero{text-align:center;overflow:hidden}
.hero__layout{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:43px;padding-block:72px 88px;min-height:0}
.hero__content{max-width:var(--content-max);width:100%;display:flex;flex-direction:column;align-items:center}
.hero h1{margin:0;max-width:680px;font-family:var(--font-ui);font-size:var(--font-display);font-weight:600;letter-spacing:.005em;line-height:1.3}
.hero h1 span{color:var(--color-text)}
.hero__lead{margin:18px auto 0;max-width:590px;font-size:var(--font-body);line-height:1.65;color:var(--color-muted)}
.hero__actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:27px}
.hero__media{align-self:center;position:relative;margin:0;width:min(100%,350px)}
.hero__image-frame{width:100%;aspect-ratio:4/5.15;position:relative;background:var(--color-surface);overflow:hidden}
.hero__image-frame::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(0,0,0,.26),transparent 36%)}
.hero__image-frame img{width:100%;height:100%;object-fit:cover;object-position:57% 42%}
.hero__media-corner{position:absolute;left:0;bottom:0;width:3px;height:67px;background:var(--color-action);z-index:1}
.hero__media figcaption{margin:12px 0 0;text-align:center;font-size:10px;font-weight:500;letter-spacing:.12em;color:#949494}

/* Uniform centered sections */
.section{border-top:1px solid rgba(255,255,255,.095);padding-block:var(--space-section);text-align:center}


.section h2{margin:0 auto;max-width:750px;color:var(--color-text);font-size:var(--font-section);font-weight:600;letter-spacing:.005em;line-height:1.35}
.identity__layout,.contact__layout{display:flex;flex-direction:column;align-items:center;gap:0}
.identity__content{width:100%;max-width:var(--content-max)}
.identity__content p{max-width:620px;margin:18px auto 0;font-size:var(--font-body);line-height:1.65;color:var(--color-muted)}
.experiences__intro{max-width:var(--content-max);margin:0 auto 30px}
.experiences__intro p{max-width:660px;margin:16px auto 0;color:var(--color-muted);font-size:var(--font-body);line-height:1.65}
.experience-switcher{width:min(100%,900px);margin-inline:auto}
.experience-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.experience-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:70px;padding:13px 12px;border:1px solid var(--color-divider);border-radius:var(--radius-card);background:var(--color-surface);color:#fff;cursor:pointer;text-align:center;transition:border-color .2s,color .2s}
.experience-tab span{font-size:var(--font-card-title);font-weight:600;line-height:1.25}
.experience-tab[aria-selected=true]{border-color:var(--color-active)}
.experience-tab[aria-selected=true] span{color:var(--color-active)}
.experience-panel{display:flex;flex-direction:column;align-items:center;gap:30px;min-height:0;padding:34px clamp(18px,4vw,45px) 38px;background:var(--color-surface);border-radius:var(--radius-card);margin-top:10px}
.experience-panel[hidden]{display:none!important}
.experience-panel__primary{max-width:550px}
.experience-panel__eyebrow{margin:0 0 10px;font-size:10px;letter-spacing:.13em;font-weight:600;color:var(--color-action)}
.experience-panel h3{font-size:var(--font-card-title);line-height:1.38;margin:0;font-weight:600;letter-spacing:0}
.experience-panel__features{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0}
.experience-panel__features div{border-top:1px solid var(--color-divider);padding-top:15px;text-align:center}
.experience-panel dt{font-size:10px;letter-spacing:.11em;color:var(--color-action);font-weight:600}
.experience-panel dd{font-size:13px;line-height:1.55;margin:9px 0 0;color:var(--color-muted)}
.experience__link{display:inline-flex;gap:0;align-items:center;justify-content:center;margin-top:24px;padding-bottom:5px;border-bottom:1px solid var(--color-action);font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}

.contact__layout>div:last-child{width:100%;max-width:var(--content-max)}
.contact p{max-width:570px;color:var(--color-muted);margin:18px auto 25px;font-size:var(--font-body);line-height:1.65}

.site-footer{border-top:1px solid var(--color-divider)}
.site-footer__inner{display:flex;justify-content:center;align-items:center;gap:14px 30px;flex-wrap:wrap;padding-block:28px;color:#9b9b9b;font-size:10px;letter-spacing:.08em;text-align:center}

@media(max-width:960px) and (min-width:761px){.experience-panel__features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  :root{--font-display:28px;--font-section:24px;--font-card-title:17px;--font-body:14px;--space-section:74px}
  html{scroll-padding-top:80px}
  .header__inner{min-height:78px;padding-block:14px;position:relative;justify-content:center}
  .brand{width:125px}
  .header__navigation,.header__call{display:none}
  .menu-toggle{display:flex;position:absolute;right:0;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;align-items:center;justify-content:center;gap:6px;flex-direction:column;cursor:pointer}
  .menu-toggle span{display:block;width:17px;height:1.5px;background:#fff;transition:transform .2s}
  .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
  .mobile-nav:not([hidden]){display:flex;position:absolute;left:0;right:0;top:100%;background:#101010;border-bottom:1px solid rgba(255,255,255,.2);padding:15px var(--gutter) 23px;flex-direction:column;gap:0;align-items:center}
  .mobile-nav a{width:100%;font-size:12px;text-align:center;text-transform:uppercase;letter-spacing:.065em;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .hero__layout{padding-block:58px 70px;gap:32px}
  .hero h1{line-height:1.33;letter-spacing:0;max-width:460px}
  .desktop-only{display:none}
  .hero__lead{margin-top:15px;max-width:420px;line-height:1.65}
  .hero__actions{gap:9px;margin-top:23px}
  .hero__actions .cta{min-height:44px}
  .hero__media{width:min(100%,325px)}
  .hero__media figcaption{font-size:9px}
  
  .identity__content p{margin-top:17px;line-height:1.7}
  .experiences__intro{margin-bottom:26px}
  .experiences__intro p{margin-top:13px}
  .experience-tabs{gap:7px}
  .experience-tab{min-height:63px;padding:11px 4px}
  .experience-tab span{font-size:13px}
  .experience-panel{padding:28px 17px;gap:27px}
  .experience-panel__features{grid-template-columns:1fr;gap:17px}
  .experience-panel__features div{padding-top:14px}
  .contact p{margin:18px auto 25px}
}
@media(max-width:430px){
  .hero__actions{width:100%;flex-direction:column}
  .hero__actions .cta{width:min(100%,310px)}
  .site-footer__inner{flex-direction:column;gap:9px}
}
@media(max-width:350px){:root{--font-display:26px;--font-section:23px}.brand{width:115px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:0.01ms!important;animation-duration:0.01ms!important}}


/* V4 · Editorial cover glass gallery; original MATILDE photographs, restrained motion. */
.identity__content{max-width:960px}
.identity__content>p{max-width:620px}
.coverglass{position:relative;isolation:isolate;width:100%;max-width:960px;margin:38px auto 34px;overflow:hidden;height:290px;display:flex;align-items:center;justify-content:center;--photo-width:196px;--photo-height:258px;--photo-gap:13px;mask-image:linear-gradient(to right,transparent,black 7%,black 93%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,black 7%,black 93%,transparent)}
.coverglass__track{display:flex;width:max-content;align-items:center;position:absolute;top:50%;left:50%;transform:translate3d(-25%,-50%,0);animation:coverglass-drift 30s linear infinite;will-change:transform}
.coverglass__group{display:flex;flex:0 0 auto;gap:var(--photo-gap);padding-right:var(--photo-gap)}
.coverglass__slide{flex:0 0 var(--photo-width);width:var(--photo-width);height:var(--photo-height);overflow:hidden;background:var(--color-surface);border-radius:6px}
.coverglass__slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 44%}
.coverglass__mark{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:108px;height:108px;background:rgba(0,0,0,.92);border:1px solid rgba(255,255,255,.24);border-radius:50%;box-shadow:0 0 0 12px rgba(0,0,0,.55);pointer-events:none}
.coverglass__mark img{display:block;max-width:62px;max-height:65px;width:auto;height:auto;filter:brightness(0) invert(1);object-fit:contain}
@keyframes coverglass-drift{from{transform:translate3d(-25%,-50%,0)}to{transform:translate3d(calc(-25% - 836px),-50%,0)}}
@media(max-width:760px){.coverglass{height:220px;--photo-width:145px;--photo-height:198px;--photo-gap:10px;margin:31px auto 29px}.coverglass__mark{width:88px;height:88px;box-shadow:0 0 0 9px rgba(0,0,0,.55)}.coverglass__mark img{max-width:49px;max-height:52px}@keyframes coverglass-drift{from{transform:translate3d(-25%,-50%,0)}to{transform:translate3d(calc(-25% - 620px),-50%,0)}}}
@media(max-width:400px){.coverglass{width:calc(100% + 16px);margin-left:-8px}}
@media(prefers-reduced-motion:reduce){.coverglass__track{animation:none!important;transform:translate3d(-25%,-50%,0)!important;will-change:auto}}

/* V6 — scroll-controlled image masks and scale. Fallback remains fully visible. */
html.motion-ready [data-scroll-mask="hero"] {
  --mask-progress:1;
  --photo-zoom:1.06;
  clip-path: inset(calc((1 - var(--mask-progress)) * 18%) calc((1 - var(--mask-progress)) * 16%) round calc((1 - var(--mask-progress)) * 16px));
  transform: scale(calc(.91 + var(--mask-progress) * .09));
  transform-origin: center center;
  will-change: clip-path, transform;
}
html.motion-ready [data-scroll-mask="hero"] [data-mask-photo] {
  transform: scale(var(--photo-zoom));
  transform-origin: 52% 46%;
  will-change: transform;
}
html.motion-ready [data-scroll-mask="gallery"] {
  --mask-progress:1;
  clip-path: inset(calc((1 - var(--mask-progress)) * 19%) calc((1 - var(--mask-progress)) * 24%) round calc((1 - var(--mask-progress)) * 22px));
  transform: scale(calc(.89 + var(--mask-progress) * .11));
  transform-origin:center center;
  will-change: clip-path, transform;
}
html.motion-ready [data-scroll-mask="gallery"] .coverglass__mark {
  opacity:calc(.38 + var(--mask-progress) * .62);
  transform:scale(calc(.83 + var(--mask-progress) * .17));
}
/* On smaller screens the reveal is less intrusive and respects natural touch scrolling. */
@media(max-width:760px){
  html.motion-ready [data-scroll-mask="hero"]{
    clip-path: inset(calc((1 - var(--mask-progress)) * 10%) calc((1 - var(--mask-progress)) * 9%) round calc((1 - var(--mask-progress)) * 9px));
  }
  html.motion-ready [data-scroll-mask="gallery"] {
    clip-path: inset(calc((1 - var(--mask-progress)) * 12%) calc((1 - var(--mask-progress)) * 15%) round calc((1 - var(--mask-progress)) * 12px));
  }
}
@media(prefers-reduced-motion:reduce){
  html.motion-ready [data-scroll-mask]{clip-path:none!important;transform:none!important;will-change:auto!important}
  html.motion-ready [data-scroll-mask] [data-mask-photo]{transform:none!important;will-change:auto!important}
  html.motion-ready [data-scroll-mask="gallery"] .coverglass__mark{opacity:1!important;transform:none!important}
}

/* V9 · Quiet logo-to-header morph. Scroll drives the actual logo geometry,
   while the Hero arrives before the logo finishes docking. */
.intro-journey{position:relative;height:100svh;min-height:520px;background:#000}
.intro-stage{position:relative;isolation:isolate;width:100%;height:100svh;min-height:520px;overflow:hidden;background:#000;display:grid;place-items:center;text-align:center}
.intro-full-photo{position:absolute;inset:0;z-index:0;background-image:linear-gradient(90deg,rgba(0,0,0,.54),rgba(0,0,0,.21) 50%,rgba(0,0,0,.54)),var(--intro-photo);background-position:center,center 48%;background-size:cover;opacity:1}
.intro-hero-content{z-index:3;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px var(--gutter);max-width:800px}
.intro-hero-content h1{margin:0;font-size:var(--font-display);line-height:1.3;font-weight:600;letter-spacing:0;max-width:710px}
.intro-hero-content>p{max-width:590px;margin:19px auto 0;color:#e7e7e7;font-size:var(--font-body);line-height:1.7}
.intro-hero-content .hero__actions{margin-top:26px}
.intro-flying-mark{display:none}
html.intro-enabled .intro-journey{height:170svh;min-height:0}
html.intro-enabled .intro-stage{position:sticky;top:0}
html.intro-enabled .intro-full-photo{opacity:var(--intro-full-opacity,0)}
html.intro-enabled .intro-hero-content{opacity:var(--intro-text-opacity,0);transform:translateY(var(--intro-text-shift,14px));pointer-events:none;will-change:opacity,transform}
html.intro-enabled body.intro-story-ready .intro-hero-content{pointer-events:auto}
html.intro-enabled .site-header{position:fixed;left:0;right:0;top:0;z-index:30;opacity:var(--header-opacity,0);pointer-events:none;transition:none;box-shadow:0 10px 28px rgba(0,0,0,.22)}
html.intro-enabled .site-header .brand img{opacity:var(--header-logo-opacity,0)}
html.intro-enabled body.intro-story-ready .site-header{pointer-events:auto}
html.intro-enabled .intro-flying-mark{display:block;position:fixed;z-index:40;left:var(--fly-x,50vw);top:var(--fly-y,50svh);width:clamp(250px,29vw,410px);aspect-ratio:835/265;max-width:none;transform:translate(-50%,-50%) scale(var(--fly-scale,1));transform-origin:center;opacity:var(--fly-opacity,1);pointer-events:none;will-change:left,top,transform,opacity}
.intro-flying-mark__white,.intro-flying-mark__photo{position:absolute;inset:0;width:100%;height:100%}
.intro-flying-mark__white{display:block;object-fit:fill}
.intro-flying-mark__photo{background-image:var(--fly-photo);background-size:cover;background-position:54% 40%;opacity:var(--fly-photo-opacity,0);mask-image:var(--fly-mask);-webkit-mask-image:var(--fly-mask);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
@media(max-width:760px){
  .intro-journey,.intro-stage{min-height:0}
  html.intro-enabled .intro-journey{height:166svh;min-height:0}
  .intro-stage{height:100svh}
  .intro-hero-content{padding:28px 23px}
  .intro-hero-content h1{font-size:28px;line-height:1.35}
  .intro-hero-content>p{font-size:14px;line-height:1.63;max-width:390px}
  .intro-hero-content .hero__actions{flex-direction:column;width:100%}
  .intro-hero-content .hero__actions .cta{width:min(100%,310px)}
  html.intro-enabled .intro-flying-mark{width:min(75vw,335px)}
  .intro-full-photo{background-position:center,54% center}
}
@media(max-width:350px){.intro-hero-content h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){
  .intro-journey{height:100svh!important}
  .intro-stage{position:relative!important}
  .intro-flying-mark{display:none!important}
  .intro-full-photo{opacity:1!important}
  .intro-hero-content{opacity:1!important;transform:none!important;pointer-events:auto!important}
}

/* V7 · Remaining approved sections, same centered MATILDE system */
.locations h2,.occasions h2,.professional h2,.portfolio h2{margin-bottom:35px}
.locations__grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;max-width:1040px;margin-inline:auto;align-items:start}
.occasions__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1100px;margin:auto}
.editorial-card{min-width:0;text-align:center}
.editorial-card__media{width:100%;height:320px;overflow:hidden;background:#0f0f0f;border-radius:var(--radius-card);position:relative}
.editorial-card__media img,.portfolio__gallery img{width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}
.location-card--primary .editorial-card__media{height:350px}
.location-card:not(.location-card--primary) .editorial-card__media{height:350px}
.editorial-card h3{font-size:var(--font-card-title);font-weight:600;margin:20px 0 8px;line-height:1.3}
.editorial-card p{color:var(--color-muted);font-size:14px;line-height:1.65;margin:0 auto;max-width:440px}
.occasion-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:215px;padding:34px 25px;background:var(--color-surface);border:1px solid var(--color-divider);border-radius:var(--radius-card)}
.occasion-card h3{margin:0 0 12px}
.occasion-card p{max-width:325px}
.professional__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:980px;margin:0 auto 10px}
.professional-card{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:38px 26px;background:#0f0f0f;border:1px solid rgba(255,255,255,.08);border-radius:10px;min-height:215px}
.professional-card h3{font-size:var(--font-card-title);font-weight:600;margin:0 0 12px;line-height:1.3}
.professional-card p{font-size:14px;line-height:1.65;color:var(--color-muted);margin:0;max-width:375px}
.portfolio__gallery{max-width:1030px;margin:0 auto;display:grid;grid-template-columns:1.25fr .9fr;grid-template-rows:180px 180px;gap:14px}
.portfolio__gallery figure{margin:0;overflow:hidden;border-radius:10px;background:var(--color-surface);min-width:0;min-height:0}
.portfolio__feature{grid-row:1/3}
html.intro-enabled [data-reveal-media]{--local-reveal:1;clip-path:inset(calc((1 - var(--local-reveal)) * 11%) calc((1 - var(--local-reveal)) * 9%) round 10px);transform:scale(calc(.94 + var(--local-reveal) * .06));will-change:clip-path,transform}
html.intro-enabled [data-reveal-media] img{transform:scale(calc(1.12 - var(--local-reveal) * .12));will-change:transform}
@media(max-width:760px){
  .locations h2,.occasions h2,.professional h2,.portfolio h2{margin-bottom:27px}
  .locations__grid,.occasions__grid,.professional__grid{grid-template-columns:1fr;gap:27px}
  .editorial-card__media,.location-card--primary .editorial-card__media,.location-card:not(.location-card--primary) .editorial-card__media{height:265px}
  .occasion-card{min-height:0;padding:29px 23px}
  .editorial-card p,.professional-card p{font-size:13px}
  .professional-card{min-height:0;padding:32px 22px}
  .portfolio__gallery{grid-template-columns:1fr 1fr;grid-template-rows:220px 170px;gap:10px}
  .portfolio__feature{grid-column:1/3;grid-row:1}
}
@media(prefers-reduced-motion:reduce){html.intro-enabled [data-reveal-media]{clip-path:none!important;transform:none!important}html.intro-enabled [data-reveal-media] img{transform:none!important}}

/* V8 · Single-row desktop navigation, restrained extra within Experience. */
@media(min-width:761px){
  .header__inner{flex-direction:row;justify-content:space-between;flex-wrap:nowrap}
  .header__navigation{white-space:nowrap;min-width:0}
  .site-header .brand{width:113px}
}
.extra-inline{
  max-width:700px;margin:58px auto 0;padding:27px clamp(14px,3vw,28px) 0;
  border-top:1px solid rgba(255,255,255,.16);text-align:center;
}
.extra-inline__eyebrow{margin:0 0 10px!important;color:var(--color-muted)!important;font-size:10px!important;font-weight:500;letter-spacing:.12em;text-transform:uppercase}
.extra-inline h3{font-size:18px;line-height:1.4;margin:0;font-weight:600;color:#fff}
.extra-inline>p:not(.extra-inline__eyebrow){max-width:560px;margin:12px auto 0;font-size:13px;color:var(--color-muted);line-height:1.7}
.extra-inline .extra-inline__availability{font-size:11px!important;color:var(--color-action)!important;margin-top:12px!important}
@media(max-width:760px){.extra-inline{margin-top:40px;padding-top:24px}.extra-inline h3{font-size:17px}}
section[id]{scroll-margin-top:100px}
@media(max-width:760px){section[id]{scroll-margin-top:85px}}

/* V10 — genuine single-logo morph, with the logo exactly centered in header.
   Overrides the V9 flyover without changing existing components elsewhere. */
.site-header{position:relative;background:#000;z-index:60}
.header__inner{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;position:relative;min-height:78px;gap:12px;
}
.header__navigation{grid-column:1;grid-row:1;justify-self:start;margin:0;gap:clamp(10px,1.1vw,19px)}
.header__brand-slot{display:none}
.site-header .brand--morph{grid-column:2;grid-row:1;justify-self:center;width:113px;position:relative;display:block}
.site-header .brand--morph img{display:block;width:100%;height:auto}
.site-header .brand__photo{display:none}
.header__call{grid-column:3;grid-row:1;justify-self:end}
.menu-toggle{grid-column:3;grid-row:1;justify-self:end}

html.intro-enabled .site-header{
  position:fixed;inset:0 0 auto 0;background:transparent;border:0;
  z-index:60;opacity:1;pointer-events:none;box-shadow:none;
}
html.intro-enabled .site-header::before{
  content:'';position:absolute;inset:0;background:#000;
  border-bottom:1px solid rgba(255,255,255,.09);
  opacity:var(--header-chrome-opacity,0);pointer-events:none;
}
html.intro-enabled .site-header .header__navigation,
html.intro-enabled .site-header .header__call,
html.intro-enabled .site-header .menu-toggle{
  opacity:var(--header-ui-opacity,0);pointer-events:none;
}
html.intro-enabled body.intro-story-ready .site-header,
html.intro-enabled body.intro-story-ready .site-header .header__navigation,
html.intro-enabled body.intro-story-ready .site-header .header__call,
html.intro-enabled body.intro-story-ready .site-header .menu-toggle,
html.intro-enabled body.intro-story-ready .site-header .brand--morph{pointer-events:auto}
html.intro-enabled .site-header .header__brand-slot{
  display:block;grid-column:2;grid-row:1;justify-self:center;
  width:113px;aspect-ratio:835/265;pointer-events:none;
}
html.intro-enabled .site-header .brand--morph{
  grid-column:auto;grid-row:auto;justify-self:auto;
  position:fixed;z-index:65;
  left:var(--brand-x,50vw);top:var(--brand-y,50svh);width:113px;
  transform:translate(-50%,-50%) scale(var(--brand-scale,4));
  transform-origin:center center;opacity:1;pointer-events:none;
  will-change:left,top,transform;
}
html.intro-enabled .site-header .brand__photo{
  display:block;position:absolute;inset:0;
  background:var(--logo-photo) 50% 37% / cover no-repeat;
  -webkit-mask-image:var(--logo-mask);mask-image:var(--logo-mask);
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  filter:brightness(1.45) contrast(1.07);
  opacity:var(--brand-photo-opacity,0);
  pointer-events:none;
}
html.intro-enabled .intro-journey{height:160svh}
html.intro-enabled .intro-stage{position:sticky;top:0}
html.intro-enabled .intro-full-photo{opacity:var(--intro-full-opacity,0)}
html.intro-enabled .intro-hero-content{
  opacity:var(--intro-text-opacity,0);
  transform:translateY(var(--intro-text-shift,12px));
  pointer-events:none;
}
html.intro-enabled body.intro-story-ready .intro-hero-content{pointer-events:auto}
/* V9's flying-mark widget must never appear again. */
.intro-flying-mark{display:none!important}

@media(max-width:1050px){
  .site-header .header__navigation,.site-header .header__call{display:none}
  .site-header .menu-toggle{
    display:flex;position:relative;right:auto;top:auto;transform:none;
    width:44px;height:44px;border:1px solid rgba(255,255,255,.2);
    background:transparent;color:#fff;align-items:center;justify-content:center;
    gap:6px;flex-direction:column;cursor:pointer;
  }
  .site-header .mobile-nav:not([hidden]){
    display:flex;position:absolute;left:0;right:0;top:100%;background:#101010;
    border-bottom:1px solid rgba(255,255,255,.2);padding:15px var(--gutter) 23px;
    flex-direction:column;gap:0;align-items:center;
  }
  .site-header .mobile-nav a{
    width:100%;font-size:12px;text-align:center;text-transform:uppercase;
    letter-spacing:.065em;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.08);
  }
  html.intro-enabled .site-header .header__brand-slot{width:125px}
  .site-header .brand--morph,html.intro-enabled .site-header .brand--morph{width:125px}
}
@media(max-width:760px){
  .header__inner{min-height:78px;display:grid;justify-content:stretch}
  html.intro-enabled .intro-journey{height:155svh}
}
@media(max-width:350px){
  .site-header .brand--morph,html.intro-enabled .site-header .brand--morph{width:115px}
  html.intro-enabled .site-header .header__brand-slot{width:115px}
}
@media(prefers-reduced-motion:reduce){
  .site-header{position:relative!important;background:#000!important;pointer-events:auto!important}
  .header__navigation,.header__call,.menu-toggle{opacity:1!important;pointer-events:auto!important}
  .brand__photo{display:none!important}
  .intro-journey{height:100svh!important}
}

/* V10 fix: legacy V9 hid the image while waiting for a duplicate logo.
   This is now the ONLY logo, so it must remain visible throughout the morph. */
html.intro-enabled .site-header .brand--morph img{opacity:1}

/* V11 · Intro logo: small and centered on load, docks into the header on scroll.
   The brand keeps its natural size equal to the intro size and is only ever
   scaled DOWN towards the header (stays sharp). Position is driven by
   transform only (no left/top relayout per frame). */
:root{--brand-intro-w:clamp(170px,15vw,230px)}
@media(max-width:760px){:root{--brand-intro-w:170px}}

/* Fix: url() inside inline custom properties resolved against css/, so the
   Hero photo returned 404. Paths are now declared here, relative to this file. */
.intro-full-photo{
  background-image:linear-gradient(90deg,rgba(0,0,0,.54),rgba(0,0,0,.21) 50%,rgba(0,0,0,.54)),url('../media/matilde-bartender.webp');
}
html.intro-enabled .intro-full-photo{
  transform:scale(calc(1.06 - var(--intro-full-opacity,0) * .06));
  transform-origin:50% 45%;will-change:opacity,transform;
}

html.intro-enabled .site-header .brand--morph{
  position:fixed;left:0;top:0;z-index:65;
  width:var(--brand-intro-w);
  transform:translate3d(var(--brand-x,50vw),var(--brand-y,50svh),0) translate(-50%,-50%) scale(var(--brand-scale,1));
  transform-origin:center center;will-change:transform;
}
html.intro-enabled .site-header .brand__photo{display:none}
html.intro-enabled .site-header .brand--morph img{
  animation:brand-intro-in 1.2s cubic-bezier(.22,.61,.36,1) .15s both;
}
/* V17: no opacity in the intro — elements starting at opacity:0 are not
   eligible as Largest Contentful Paint, which left the page with no LCP. */
@keyframes brand-intro-in{
  from{filter:blur(10px) brightness(.35);transform:translateY(6px) scale(.97)}
  to{filter:none;transform:none}
}
/* Reduced motion: <head> never sets .intro-enabled, so none of the above applies. */

/* V12 · JS smooth scroll drives window.scrollTo every frame: CSS smooth
   behaviour must be off, otherwise each write would be animated twice. */
html.smooth-scroll{scroll-behavior:auto}

/* V13 · Header menu scroll-spy: grey by default, white on the section being crossed. */
.header__navigation a,.mobile-nav a[href^="#"]{color:rgba(255,255,255,.5);transition:color .35s ease}
.header__navigation a.is-active,.mobile-nav a.is-active{color:#fff}
.header__navigation a:hover,.mobile-nav a[href^="#"]:hover{color:var(--color-action)}

/* V14 · Text reveals inspired by ristorantecracco.it (see js/reveal.js).
   Hidden states apply only once JS has prepared the page (.reveal-ready). */
.rv-word{display:inline-block;white-space:nowrap}
.rv-char{display:inline-block}
html.reveal-ready .rv-title .rv-char{
  opacity:0;
  transform:perspective(600px) rotateX(-35deg) translateY(.22em);
  transform-origin:50% 100%;
  transition:opacity .8s ease var(--rv-delay,0ms),transform .9s cubic-bezier(.2,.7,.2,1) var(--rv-delay,0ms);
}
html.reveal-ready .rv-title.is-in .rv-char{opacity:1;transform:none}

html.reveal-ready .rv-text{
  opacity:0;
  transform:perspective(900px) rotateX(10deg) translateY(40px);
  transform-origin:50% 50%;
  transition:opacity .8s ease var(--rv-delay,100ms),transform .8s cubic-bezier(.2,.7,.2,1) var(--rv-delay,100ms);
}
html.reveal-ready .rv-text.is-in{opacity:1;transform:none}
html.reveal-ready .rv-instant,html.reveal-ready .rv-instant .rv-char{transition:none!important}
@media(prefers-reduced-motion:reduce){
  html.reveal-ready .rv-title .rv-char,html.reveal-ready .rv-text{opacity:1!important;transform:none!important;transition:none!important}
}

/* V15 · Original Matilde photographs placed by content. */
/* Cover glass gallery: 12 slides, seamless loop at a constant speed whatever the count. */
.coverglass__track{left:0;transform:translate3d(0,-50%,0);animation:coverglass-loop calc(var(--slides,4) * 7.5s) linear infinite}
@keyframes coverglass-loop{from{transform:translate3d(0,-50%,0)}to{transform:translate3d(-50%,-50%,0)}}
@media(max-width:760px){.coverglass__track{animation-duration:calc(var(--slides,4) * 5.6s)}}
@media(prefers-reduced-motion:reduce){.coverglass__track{transform:translate3d(-12%,-50%,0)!important}}

/* Events gallery: one feature + four squares */
.portfolio__gallery{grid-template-columns:1.15fr 1fr 1fr;grid-template-rows:225px 225px}
.portfolio__feature{grid-column:1;grid-row:1/3}
.portfolio__feature img{object-position:50% 45%}
@media(max-width:760px){
  .portfolio__gallery{grid-template-columns:1fr 1fr;grid-template-rows:300px 165px 165px}
  .portfolio__feature{grid-column:1/3;grid-row:1}
}

/* V18 · Desktop header, Cracco approach: logo alone at the top; the menu is a
   separate bar resting on the bottom of the Hero, which scrolls up with the
   page and sticks under the logo header, where a fine line fades in. */
.menu-bar{display:none}
@media(min-width:1051px){
  .menu-bar{
    display:block;position:sticky;top:0;z-index:55;
    height:60px;margin-top:-60px;background:#000;
    border-bottom:1px solid transparent;transition:border-color .8s ease;
  }
  html.intro-enabled .menu-bar{top:78px}
  .menu-bar.is-stuck{border-bottom-color:rgba(255,255,255,.22)}
  .menu-bar__inner{position:relative;height:100%;width:min(calc(100% - 2*var(--gutter)),var(--layout-max));margin-inline:auto;display:flex;align-items:center;justify-content:center}
  .menu-bar__links{display:flex;align-items:center;justify-content:center;gap:clamp(22px,2.6vw,42px)}
  .menu-bar a{font-size:10.5px;font-weight:500;letter-spacing:.21em;text-transform:uppercase;white-space:nowrap;color:rgba(255,255,255,.5);transition:color .35s ease}
  .menu-bar a.is-active{color:#fff}
  .menu-bar a:hover{color:var(--color-action)}
  .menu-bar__call{position:absolute;right:0;top:50%;transform:translateY(-50%)}
  /* Logo-only header on desktop; the bar takes the place of the old menu row. */
  .site-header .header__inner{grid-template-columns:1fr auto 1fr}
  .intro-hero-content{padding-bottom:90px}
  section[id]{scroll-margin-top:150px}
}

/* V19 · Instagram reference and legal line */
.contact .contact__social{margin:22px auto 0;font-size:12px;letter-spacing:.04em;color:var(--color-muted)}
.contact__social a{color:#fff;border-bottom:1px solid var(--color-action);padding-bottom:2px;transition:color .2s}
.contact__social a:hover{color:var(--color-action)}
.site-footer__inner a{transition:color .2s}
.site-footer__inner a:hover{color:var(--color-action)}
.site-footer__legal{display:flex;justify-content:center;padding:0 0 26px;margin-top:-10px;color:#6f6f6f;font-size:10px;letter-spacing:.08em;text-align:center}

/* V20 · Footer typography aligned with matildecocktails.com:
   Jost 500, uppercase, normal tracking; main items 17px white, legal line 13px grey. */
.site-footer__inner{
  gap:14px 44px;padding-block:44px 22px;
  font-family:var(--font-ui);font-size:17px;font-weight:500;line-height:1;
  letter-spacing:normal;text-transform:uppercase;color:#fff;
}
.site-footer__inner a,.site-footer__inner span{color:#fff}
.site-footer__inner a:hover{color:var(--color-action)}
.site-footer__legal{
  margin-top:0;padding:4px 0 40px;
  font-family:var(--font-ui);font-size:13px;font-weight:500;line-height:1.3;
  letter-spacing:normal;text-transform:uppercase;color:#7a7a7a;
}
@media(max-width:760px){
  .site-footer__inner{flex-direction:column;gap:16px;padding-block:40px 20px}
  .site-footer__legal{padding-bottom:34px}
}

/* V21 · Desktop: the docked menu bar becomes the only header; the logo turns
   into the compact Matilde mark and moves to the left inside the bar. */
.brand__mark{display:none}
@media(min-width:1051px){
  html.intro-enabled .menu-bar{top:0}
  html.intro-enabled .site-header::before{transform:translateY(var(--header-push,0px))}
  /* the header box is transparent: it must never block clicks on the bar */
  html.intro-enabled .site-header,
  html.intro-enabled body.intro-story-ready .site-header{pointer-events:none}
  html.intro-enabled body.intro-story-ready .site-header .brand--morph{pointer-events:auto}
  html.intro-enabled .site-header .brand--morph img.brand__wordmark{opacity:calc(1 - var(--brand-mark,0))}
  html.intro-enabled .site-header .brand--morph img.brand__mark{
    display:block;position:absolute;left:0;top:0;width:auto;height:100%;
    opacity:var(--brand-mark,0);animation:none;
  }
  section[id]{scroll-margin-top:84px}
}

/* V22 · Type sizes unified.
   All paragraphs (cards included) = identity paragraph size (var(--font-body)). */
main .section p:not(.experience-panel__eyebrow):not(.extra-inline__eyebrow):not(.extra-inline__availability):not(.contact__social),
main .section dd{font-size:var(--font-body)!important;line-height:1.65}
/* Small texts = size of the "P.IVA … TRONCI DESIGN" line (13px). */
.contact .contact__social{font-size:13px}
.site-footer__inner{font-size:13px;gap:12px 36px;padding-block:40px 14px}
@media(max-width:760px){.site-footer__inner{gap:12px}}

/* Events gallery: four equal photos (Hurricane removed). */
.portfolio__gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto}
.portfolio__gallery figure{aspect-ratio:1/1}
@media(max-width:760px){.portfolio__gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}}
/* V22 fix: the compact mark exists only on desktop (an older rule displayed every logo img). */
.site-header .brand--morph img.brand__mark{display:none}

/* V23 · Everything uppercase; only regular paragraphs (and package descriptions) keep lowercase. */
h1,h2,h3,
.experience-tab span,
.contact .contact__social,
.extra-inline .extra-inline__availability,
.experience-panel__eyebrow,.extra-inline__eyebrow,
.experience-panel dt,.experience__link,.cta,
.site-footer__inner,.site-footer__legal{text-transform:uppercase}
h1,h2,h3{letter-spacing:.02em}

/* V24 · Section headings (Hero + section titles) in title case, not all caps.
   Card titles (h3) stay uppercase. */
h1,h2{text-transform:none}

/* V24 · Desktop footer in three columns: left / centre / right, legal line below. */
@media(min-width:761px){
  .site-footer__inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0 24px;text-align:left}
  .site-footer__col--left{justify-self:start}
  .site-footer__col--center{justify-self:center;text-align:center}
  .site-footer__col--right{justify-self:end;text-align:right}
}

/* V25 · Sackers Gothic Heavy for labels: menu bar (+ Chiamaci), mobile menu,
   package feature labels, eyebrows ("Servizio extra", package name).
   The face is very wide: sizes and tracking are reduced to keep the same footprint. */
.menu-bar a,
.mobile-nav a,
.experience-panel dt,
.experience-panel__eyebrow,
.extra-inline__eyebrow{font-family:var(--font-label);font-weight:800;text-transform:uppercase}
@media(min-width:1051px){.menu-bar a{font-size:9.5px;letter-spacing:.14em}}
.mobile-nav a{font-size:10.5px;letter-spacing:.1em}
.experience-panel dt{font-size:9px;letter-spacing:.1em}
.experience-panel__eyebrow,.extra-inline .extra-inline__eyebrow{font-size:9px!important;letter-spacing:.12em}

/* V26 · Animated Lottie icons in the package tabs (see js/icons.js). */
.experience-tab{gap:10px;padding-block:16px 14px}
.experience-tab .experience-tab__icon{display:block;width:30px;height:38px;color:#fff;transition:color .2s}
.experience-tab[aria-selected=true] .experience-tab__icon{color:var(--color-active)}
.experience-tab__icon svg{display:block;width:100%!important;height:100%!important;overflow:visible}
.experience-tab__icon .ink path{fill:currentColor}
@media(max-width:760px){.experience-tab{gap:8px;padding-block:13px 11px}.experience-tab .experience-tab__icon{width:24px;height:30px}}

/* V29 · Package panels without eyebrow/title: features only. */
.experience-panel{padding-top:30px}
/* Bigger animated icons. */
.experience-tab{gap:12px;padding-block:20px 16px}
.experience-tab .experience-tab__icon{width:46px;height:58px}
@media(max-width:760px){.experience-tab{gap:9px;padding-block:15px 12px}.experience-tab .experience-tab__icon{width:34px;height:43px}}
/* Instagram next to "Chiamaci" in the desktop menu bar. */
@media(min-width:1051px){
  .menu-bar__aside{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:clamp(22px,2.6vw,42px)}
  .menu-bar__aside .menu-bar__call{position:static;transform:none}
}
/* Footer: © year | Matilde Cocktails Emporium | P.IVA – Designed by (grey, 13px). */
.site-footer__legal-text{color:#7a7a7a!important;font-size:13px}
.site-footer__inner{padding-block:40px 40px}

/* V31 · Intro tagline: bottom-centre of the opening screen; indexable text
   (also the meta description). Scroll-linked exit driven by js/motion.js. */
.intro-tagline{display:none}
html.intro-enabled .intro-tagline{
  display:block;position:absolute;z-index:4;left:50%;bottom:clamp(28px,6svh,64px);
  width:min(calc(100% - 2*var(--gutter)),560px);margin:0;text-align:center;
  font-size:var(--font-body);line-height:1.65;color:var(--color-muted);
  opacity:calc(1 - var(--tagline-out,0));
  transform:translate(-50%,calc(var(--tagline-out,0) * 18px));
  filter:blur(calc(var(--tagline-out,0) * 4px));
  pointer-events:none;will-change:opacity,transform,filter;
  animation:tagline-in 1.2s cubic-bezier(.22,.61,.36,1) .45s backwards;
}
/* entrance without opacity (keeps the text eligible as LCP) */
@keyframes tagline-in{from{filter:blur(8px) brightness(.3);translate:0 8px}to{filter:none;translate:0 0}}

/* V32 · All footer items grey (#7a7a7a), like the P.IVA line; links turn orange on hover. */
.site-footer__inner .site-footer__col,
.site-footer__inner .site-footer__col span{color:#7a7a7a!important}
.site-footer__inner a.site-footer__col:hover{color:var(--color-action)!important}

/* V33 · Content blocks as wide as the header container
   (width:min(100% - 2*gutter, --layout-max)); text paragraphs keep a readable measure. */
.identity__content{max-width:none}
.coverglass{max-width:none}
.locations__grid,.occasions__grid,.professional__grid,.portfolio__gallery,.experience-switcher{max-width:none;width:100%}
.locations__grid{gap:24px}
.location-card--primary .editorial-card__media,.location-card:not(.location-card--primary) .editorial-card__media{height:clamp(320px,34vw,440px)}
.occasions__grid,.professional__grid{gap:18px}
.portfolio__gallery{gap:18px}
@media(max-width:760px){
  .location-card--primary .editorial-card__media,.location-card:not(.location-card--primary) .editorial-card__media{height:265px}
  .portfolio__gallery{gap:10px}
}

/* V34 · Wordmark → mark without overlap: wordmark fades out first, then the
   mark fades in growing slightly from its left edge. Bigger intro logo. */
@media(min-width:1051px){
  html.intro-enabled .site-header .brand--morph img.brand__wordmark{opacity:var(--brand-word,1)}
  html.intro-enabled .site-header .brand--morph img.brand__mark{
    opacity:var(--brand-mark,0);
    transform:scale(calc(.72 + var(--brand-mark,0) * .28));transform-origin:0 50%;
  }
}

/* V35 · Visible phone number in Contatti. */
.contact .contact__phone{margin:20px auto 0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--color-muted)}
.contact__phone a{color:#fff;transition:color .2s}
.contact__phone a:hover{color:var(--color-action)}
.contact .contact__social{margin-top:10px}

/* V36 · "Oltre il Suo Cocktail Bar" fused into the Hero (after the logo intro):
   title (h1) + paragraph + cover glass gallery + paragraph, over a darker photo. */
.intro-hero-content--identity{
  width:min(calc(100% - 2*var(--gutter)),var(--layout-max));max-width:none;
  padding:96px 0 90px;
}
.intro-hero-content--identity>p{max-width:620px;margin:16px auto 0;color:#e2e2e2}
.intro-hero-content--identity .coverglass--hero{
  width:100%;max-width:none;margin:30px auto 26px;
  height:clamp(200px,30svh,290px);
  --photo-height:calc(clamp(200px,30svh,290px) - 32px);--photo-width:calc(var(--photo-height) * .76);
}
.coverglass--hero .coverglass__mark{width:clamp(80px,10svh,108px);height:clamp(80px,10svh,108px)}
/* darker backdrop so text and gallery read well over the photo */
.intro-full-photo{
  background-image:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,.6) 45%,rgba(0,0,0,.78)),url('../media/matilde-bartender.webp');
}
@media(max-width:760px){
  .intro-hero-content--identity{padding:86px 0 40px}
  .intro-hero-content--identity>p{margin-top:13px}
  .intro-hero-content--identity .coverglass--hero{margin:22px auto 18px;height:clamp(170px,26svh,220px);--photo-height:calc(clamp(170px,26svh,220px) - 22px)}
}
@media(max-height:700px) and (min-width:761px){
  .intro-hero-content--identity{padding-top:84px}
  .intro-hero-content--identity .coverglass--hero{margin:18px auto 14px}
}

/* V37 · Mobile menu: borderless toggle; full-screen animated overlay with the
   links in the middle and contacts anchored at the bottom. */
.site-header .menu-toggle,html.intro-enabled .site-header .menu-toggle{border:0}
@media(max-width:1050px){
  .site-header .header__inner{position:relative;z-index:2}
  .site-header .mobile-nav,
  .site-header .mobile-nav:not([hidden]){
    display:flex;position:fixed;inset:0;z-index:1;flex-direction:column;justify-content:space-between;align-items:center;
    padding:calc(78px + 6svh) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background:#000;border:0;
    clip-path:inset(0 0 100% 0);transition:clip-path .6s cubic-bezier(.77,0,.18,1);
    pointer-events:none;overflow-y:auto;
  }
  .site-header .mobile-nav[hidden]{display:none!important}
  .site-header .mobile-nav.is-open{clip-path:inset(0 0 0 0);pointer-events:auto}
  html.menu-open,html.menu-open body{overflow:hidden}
  html.intro-enabled.menu-open .site-header{pointer-events:auto}
  html.intro-enabled.menu-open .site-header .menu-toggle{opacity:1;pointer-events:auto}
  html.intro-enabled.menu-open .site-header::before{opacity:1}
  .mobile-nav__links{display:flex;flex-direction:column;align-items:center;gap:6px;margin:auto 0;width:100%}
  .site-header .mobile-nav .mobile-nav__links a{
    width:auto;border:0;padding:12px 0;font-size:15px;letter-spacing:.14em;
    opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.7,.2,1),color .3s;
  }
  .site-header .mobile-nav.is-open .mobile-nav__links a{opacity:1;transform:none}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(1){transition-delay:.22s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(2){transition-delay:.28s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(3){transition-delay:.34s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(4){transition-delay:.40s}
  .mobile-nav__contacts{
    display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;
    padding-top:22px;border-top:1px solid rgba(255,255,255,.12);
    opacity:0;transition:opacity .5s ease;
  }
  .mobile-nav.is-open .mobile-nav__contacts{opacity:1;transition-delay:.48s}
  .site-header .mobile-nav .mobile-nav__contact{
    display:flex;flex-direction:column;align-items:center;gap:3px;width:auto;border:0;padding:0;
    font-family:var(--font-ui);font-size:13px;font-weight:500;letter-spacing:.03em;text-transform:none;color:#fff;
  }
  .mobile-nav__contact span{font-family:var(--font-label);font-size:8.5px;letter-spacing:.14em;text-transform:uppercase;color:#7a7a7a}
  .mobile-nav__contact:hover{color:var(--color-action)}
  /* close icon (X) animation on the toggle */
  .site-header .menu-toggle span{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
}
@media(prefers-reduced-motion:reduce){
  .site-header .mobile-nav,.site-header .mobile-nav .mobile-nav__links a,.mobile-nav__contacts{transition:none!important}
}

/* V38 · Smoother mobile menu: GPU-composited slide (transform) instead of clip-path
   (not accelerated on iOS Safari), softer curves, longer staggered entrances. */
@media(max-width:1050px){
  .site-header .mobile-nav,
  .site-header .mobile-nav:not([hidden]){
    clip-path:none;
    transform:translate3d(0,-100%,0);
    transition:transform .55s cubic-bezier(.65,0,.35,1);
    will-change:transform;backface-visibility:hidden;
  }
  .site-header .mobile-nav.is-open{
    transform:translate3d(0,0,0);
    transition:transform .8s cubic-bezier(.16,1,.3,1);
  }
  .site-header .mobile-nav .mobile-nav__links a{
    transform:translate3d(0,22px,0);filter:blur(4px);
    transition:opacity .35s ease,transform .35s ease,filter .35s ease,color .3s;
  }
  .site-header .mobile-nav.is-open .mobile-nav__links a{
    opacity:1;transform:none;filter:none;
    transition:opacity .7s ease,transform .9s cubic-bezier(.16,1,.3,1),filter .7s ease,color .3s;
  }
  .mobile-nav.is-open .mobile-nav__links a:nth-child(1){transition-delay:.28s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(2){transition-delay:.36s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(3){transition-delay:.44s}
  .mobile-nav.is-open .mobile-nav__links a:nth-child(4){transition-delay:.52s}
  .mobile-nav__contacts{transform:translate3d(0,14px,0);transition:opacity .3s ease,transform .3s ease}
  .mobile-nav.is-open .mobile-nav__contacts{opacity:1;transform:none;transition:opacity .8s ease .6s,transform .9s cubic-bezier(.16,1,.3,1) .6s}
  .site-header .menu-toggle span{transition:transform .5s cubic-bezier(.65,0,.35,1)}
}
@media(prefers-reduced-motion:reduce){
  .site-header .mobile-nav,.site-header .mobile-nav.is-open{transition:none!important}
}

/* V40 · Mobile menu contacts = footer type (Jost 500, 13px, uppercase, normal tracking):
   grey labels (#7a7a7a), white values. */
@media(max-width:1050px){
  .site-header .mobile-nav .mobile-nav__contact,
  .site-header .mobile-nav .mobile-nav__contact span{
    font-family:var(--font-ui);font-size:13px;font-weight:500;line-height:1.3;
    letter-spacing:normal;text-transform:uppercase;
  }
  .site-header .mobile-nav .mobile-nav__contact{color:#fff;gap:2px}
  .site-header .mobile-nav .mobile-nav__contact span{color:#7a7a7a}
}
/* Package features: labels grey, values white. */
.experience-panel dt{color:#7a7a7a}
.experience-panel dd{color:#fff}
/* Footer on mobile: © … / A PROJECT BY MATILDE COCKTAILS / P.IVA … */
@media(max-width:760px){
  .site-footer__col--left{order:1}
  .site-footer__col--right{order:2}
  .site-footer__col--center{order:3}
}

/* V41 · Mobile menu without stutter + contact labels removed + grey labels. */
@media(max-width:1050px){
  html.menu-ready .site-header .mobile-nav{
    display:flex!important;visibility:hidden;
    transform:translate3d(0,-100%,0);
    transition:transform .55s cubic-bezier(.65,0,.35,1),visibility 0s linear .55s;
    overscroll-behavior:contain;contain:layout paint;
  }
  html.menu-ready .site-header .mobile-nav.is-open{
    visibility:visible;transform:translate3d(0,0,0);
    transition:transform .8s cubic-bezier(.16,1,.3,1),visibility 0s;
  }
  /* no blur on the items (expensive on iOS): opacity + transform only */
  .site-header .mobile-nav .mobile-nav__links a,
  .site-header .mobile-nav.is-open .mobile-nav__links a{filter:none}
  html.menu-open,html.menu-open body{overflow:visible}
  html.menu-lock,html.menu-lock body{overflow:hidden}
  .mobile-nav__contacts{gap:12px}
}
/* lighter scroll-linked work on phones: tagline fades/slides without blur */
@media(max-width:760px){html.intro-enabled .intro-tagline{filter:none}}
/* package feature labels: same grey as "SERVIZIO EXTRA" */
.experience-panel dt{color:var(--color-muted)}

/* V43 · Contatti: "Chiamaci" + "Scrivici" side by side. */
.contact__actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}
.contact__actions .cta{margin:0}
.contact__actions .cta--secondary:hover{border-color:var(--color-action);color:var(--color-action)}
