@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* pietra di Luserna, verde dei portoni, ottone delle targhe, rosso del labirinto */
  --ground: #E1E3DF;
  --ground-2: #D5D8D3;
  --ink: #1F2B26;
  --muted: #46524C;
  --on-ink: #E9EBE7;
  --on-ink-muted: #BFC6C1;
  --brass: #B5945F;
  --sage: #AEB8AF;
  --stone: #C6C9C2;
  --accent: #E30613;
  --accent-press: #B8040F;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 3vw, 4rem);
  --step-display: clamp(3rem, 1.6rem + 5.4vw, 6.25rem);

  --m: clamp(16px, 4vw, 56px);
  --gap-section: clamp(96px, 12vw, 200px);
  --arch: 999px 999px 0 0;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--step-body)/1.55 "Switzer", system-ui, sans-serif; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--on-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h3 { font-weight: 500; font-size: var(--step-body); line-height: 1.3; letter-spacing: -0.01em; }

.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* bottone: la sagoma ad arco dei portoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 28px 12px; border: 0; border-radius: 26px 26px 0 0;
  font: 500 var(--step-body)/1 "Switzer", sans-serif; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn:active { transform: translateY(2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-press); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #0F1814; }
.btn--small { min-height: 44px; padding: 12px 20px 10px; font-size: var(--step-small); }
.btn--block { width: 100%; min-height: 56px; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 0.45em; }

/* barra flottante */
.bar { position: absolute; inset: 0 0 auto; z-index: 30; padding: 12px var(--m); }
.bar__inner { display: flex; align-items: center; gap: 32px; height: var(--bar-h); max-width: 1680px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: var(--step-small); line-height: 1.15; margin-right: auto; }
.mark { display: block; flex: none; width: 40px; aspect-ratio: 1; overflow: hidden; }
.mark img { height: 100%; width: auto; max-width: none; }
.bar__links { display: flex; gap: 28px; font-size: var(--step-small); font-weight: 500; }
.bar__links a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: .4em; padding: 8px 0; transition: text-decoration-color .2s, text-underline-offset .25s var(--ease); }
.bar__links a:hover { text-decoration-color: currentColor; text-underline-offset: .25em; }
.bar__cta { min-height: 46px; padding: 12px 22px 10px; font-size: var(--step-small); }
.bar.is-floating { position: fixed; padding: 10px var(--m); transform: translateY(0); transition: transform .45s var(--ease); }
.bar.is-floating .bar__inner { background: var(--ground); padding: 0 12px 0 20px; height: 64px; box-shadow: 0 12px 32px -12px rgba(20, 30, 25, .35); } /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
.bar.is-hidden { transform: translateY(-110%); }

/* hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--m); }
.hero__text { grid-column: 1 / 7; align-self: center; position: relative; z-index: 2; padding-top: calc(var(--bar-h) + 24px); }
.hero h1 { font-size: var(--step-display); max-width: 9.5em; }
.hero__lead { font-size: var(--step-lead); line-height: 1.4; max-width: 28em; margin-top: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero__arch {
  position: absolute; z-index: 1; right: calc(var(--m) * -1 + var(--m)); top: 16vh; width: min(50vw, 820px); height: 104vh;
  border-radius: var(--arch); overflow: hidden; background: var(--stone);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: grayscale(1) sepia(.18) contrast(1.05); transform-origin: 50% 80%; }

/* lo studio: pannello verde portone */
.studio { padding: var(--gap-section) 20px 0; }
.studio__panel { background: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'title right' 'arch right'; gap: 56px; padding: 56px; min-height: 100svh; overflow: hidden; }
.studio__title { grid-area: title; }
.studio h2 { font-size: var(--step-head); max-width: 11em; }
.studio__arch { grid-area: arch; align-self: end; width: min(40vw, 580px); aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; margin-bottom: -40px; }
.studio__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; filter: grayscale(1) sepia(.18) contrast(1.05); }
.studio__right { grid-area: right; display: flex; flex-direction: column; gap: 56px; padding-top: 8px; max-width: 30rem; justify-self: end; }
.studio__right h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 14px; }
.studio__right p { color: var(--on-ink-muted); }
.studio__right .btn { align-self: flex-start; }

/* liste a due colonne con il piccolo arco come punto elenco */
.servizi, .disturbi { padding: var(--gap-section) var(--m) 0; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 56px; }
.list-head h2 { font-size: var(--step-head); }
.list-head span { color: var(--muted); font-size: var(--step-body); white-space: nowrap; }
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 40px; }
.menu li { position: relative; padding-left: 40px; max-width: 40rem; }
.menu li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 22px; border-radius: var(--arch); background: var(--ink); }
.menu h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 8px; }
.menu p { color: var(--muted); }
.menu--compact li::before { background: var(--brass); }
.menu--compact h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: .25em; transition: text-decoration-color .2s; }
.menu--compact h3 a:hover { text-decoration-color: currentColor; }
.disturbi__more { margin-top: 56px; padding-left: 40px; }

/* professionisti: ritratti su campi di colore */
.team { padding: var(--gap-section) var(--m) 0; }
.team__head { grid-column: span 2; padding-right: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.team__head h2 { font-size: var(--step-head); }
.team__head p { color: var(--muted); max-width: 30ch; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 10px; }
.tile__fig { aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.tile__fig img { width: 86%; aspect-ratio: 1; object-fit: cover; border-radius: var(--arch); filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.tile:hover .tile__fig img { transform: translateY(-6px); }
.tile--double { grid-column: span 2; }
.tile__fig--pair { aspect-ratio: 8 / 5; gap: 4%; padding: 0 5%; }
.tile__fig--pair img { width: 48%; }
.tile h3 { font-size: var(--step-lead); margin-top: 16px; }
.tile p { color: var(--muted); margin-top: 4px; font-size: var(--step-body); }
.f-brass { background: var(--brass); }
.f-sage { background: var(--sage); }
.f-stone { background: var(--stone); }

/* dallo studio: un arco, un elenco */
.showcase { padding: var(--gap-section) var(--m) 0; min-height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.showcase__list { grid-column: 1 / 6; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.showcase__list h2, .showcase__list button { font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
.showcase__list h2 { color: var(--muted); margin-bottom: 4px; }
.showcase__list button { background: none; border: 0; padding: 0; text-align: left; color: var(--muted); font-family: inherit; cursor: pointer; transition: color .2s; }
.showcase__list button[aria-selected="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.showcase__list button:hover { color: var(--ink); }
.showcase__all { margin-top: 28px; }
.showcase__stage { grid-column: 6 / 13; grid-row: 1; display: grid; grid-template-columns: 1fr 15rem; gap: 32px; align-items: end; }
.showcase__arch { height: 78vh; max-height: 780px; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--stone); justify-self: end; }
.showcase__arch img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.18) contrast(1.05); transition: opacity .3s; }
.showcase__fact { font-size: var(--step-body); }

/* tirocini: campo ottone */
.tirocini { padding: var(--gap-section) 0 0; }
.tirocini__inner { background: var(--brass); padding: clamp(56px, 8vw, 120px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.tirocini h2 { grid-column: 1 / 6; font-size: var(--step-head); }
.tirocini__inner > div { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; font-size: var(--step-lead); line-height: 1.45; }
.tirocini__inner .btn { margin-top: 12px; }

/* richiesta: il tagliando */
.richiesta { padding: var(--gap-section) var(--m); }
.coupon {
  --notch: 18px; position: relative; display: grid; grid-template-columns: 46fr 54fr; max-width: 1360px; margin: 0 auto; background: var(--ink); color: var(--on-ink);
  -webkit-mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
          mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
}
.coupon__left { padding: 56px 48px; border-right: 5px dotted var(--ground); display: flex; flex-direction: column; gap: 32px; }
.coupon h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
.choice { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { font-weight: 500; margin-bottom: 12px; color: var(--on-ink); }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 11px 16px 10px; background: #2E3C36; color: var(--on-ink); font-size: var(--step-small); font-weight: 500; transition: background-color .2s, color .2s; }
.choice label:hover span { background: #3A4A43; }
.choice input:checked + span { background: var(--on-ink); color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.coupon__answer { font-size: var(--step-lead); line-height: 1.4; max-width: 26em; }
.coupon__right { padding: 56px 48px; display: flex; flex-direction: column; gap: 12px; }
.field span { display: block; font-size: var(--step-small); color: var(--on-ink-muted); margin-bottom: 6px; }
.field input { width: 100%; height: 54px; border: 0; border-radius: 0; background: #34433C; color: var(--on-ink); padding: 0 16px; font: 400 var(--step-body) "Switzer", sans-serif; caret-color: var(--accent); }
.field input:focus { outline: 3px solid var(--on-ink); outline-offset: 0; background: #3C4C45; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-small); color: var(--on-ink-muted); margin-top: 8px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.coupon__note { font-size: var(--step-small); color: var(--on-ink-muted); }
.coupon .btn--block { margin-top: auto; }

/* chiusura */
.foot { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 8vw, 112px) var(--m) calc(32px + env(safe-area-inset-bottom)); }
.foot__mark { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px); }
.mark--big { width: clamp(120px, 30svh, 300px); }
.foot__name { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; max-width: 9em; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; font-size: var(--step-small); }
.foot__cols nav { display: flex; flex-direction: column; gap: 10px; }
.foot__cols a { text-decoration: none; color: var(--on-ink); }
.foot__cols a:hover { text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.7; }
.foot__credits { margin-top: 56px; font-size: var(--step-small); color: var(--on-ink-muted); max-width: 70em; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; font-size: var(--step-small); color: var(--on-ink-muted); }

/* pulsantiera flottante e menu a foglio: solo su schermi stretti */
.dock, .sheet { display: none; }


/* schermi larghi: titolo, arco e testi su tre colonne, senza vuoto al centro */
@media (min-width: 1600px) {
  .studio__panel { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: 'title arch right'; column-gap: clamp(40px, 4vw, 80px); min-height: 0; align-items: start; }
  .studio h2 { font-size: clamp(2.25rem, 2.6vw, 4rem); }
  .studio__arch { width: min(26vw, 520px); margin-top: 24px; margin-bottom: -56px; }
  .studio__right { justify-self: start; }
}

@media (max-width: 980px) {
  :root { --bar-h: 64px; }
  .bar__links, .bar__cta { display: none; }
  .bar.is-floating .bar__inner { padding: 0 16px; height: 56px; }
  .dock {
    display: grid; grid-template-columns: auto 1fr auto; gap: 6px; position: fixed; z-index: 40;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; background: var(--ink);
    box-shadow: 0 14px 36px -10px rgba(15, 24, 20, .55); transition: transform .45s var(--ease); /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
  }
  .dock.is-away { transform: translateY(calc(100% + 24px)); }
  .dock .dock__mail, .dock a, .dock button { min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; font: 500 1rem/1 "Switzer", sans-serif; text-decoration: none; color: var(--on-ink); background: #2E3C36; cursor: pointer; }
  .dock .dock__cta { background: var(--accent); color: #fff; border-radius: 26px 26px 0 0; }
  .dock a:active, .dock button:active { transform: scale(.97); }
  .sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(15, 24, 20, .45); }
  .sheet__panel { position: absolute; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--ground); padding: 28px 24px 16px; box-shadow: 0 -10px 40px -10px rgba(15, 24, 20, .5); animation: sheet-in .45s var(--ease); max-height: calc(100svh - 40px); overflow: auto; } /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
  .sheet nav { display: flex; flex-direction: column; }
  .sheet nav a { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; padding: 10px 0; }
  .sheet__addr { margin-top: 20px; color: var(--muted); font-size: 1rem; }
  .sheet__close { width: 100%; min-height: 52px; margin-top: 20px; border: 0; background: var(--ink); color: var(--on-ink); font: 500 1rem "Switzer", sans-serif; cursor: pointer; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  .hero { display: block; min-height: 100svh; padding: 0 16px; }
  .hero__text { padding-top: calc(var(--bar-h) + 6svh); }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero__lead { font-size: 1.125rem; margin-top: 24px; }
  .hero__actions { margin-top: 28px; gap: 20px; }
  .hero__arch { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 36px 0 0; }
  .hero { min-height: 0; padding-bottom: 0; }

  .studio { padding: var(--gap-section) 10px 0; }
  .studio__panel { grid-template-columns: 1fr; grid-template-areas: 'title' 'right' 'arch'; padding: 40px 22px; gap: 40px; min-height: 0; }
  .studio h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .studio__right { gap: 36px; justify-self: stretch; }
  .studio__arch { width: 86vw; max-width: 100%; aspect-ratio: 4 / 5; justify-self: center; margin: 0 auto -32px; }
  .studio__panel { padding-bottom: 0; }

  .servizi, .disturbi { padding: var(--gap-section) 16px 0; }
  .list-head { flex-direction: column; gap: 8px; margin-bottom: 36px; }
  .list-head h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .menu { grid-template-columns: 1fr; row-gap: 28px; }
  .menu li { padding-left: 32px; }
  .menu li::before { width: 13px; height: 18px; }
  .disturbi__more { padding-left: 32px; }

  .team { padding: var(--gap-section) 16px 0; }
  .team__head { padding: 0 0 8px; }
  .team__head h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .tile h3 { font-size: 1.0625rem; margin-top: 10px; }
  .tile p { font-size: 0.9375rem; }

  .showcase { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: var(--gap-section) 0 0; min-height: 0; }
  .showcase__stage { display: block; padding: 0 16px; }
  .showcase__arch { height: auto; width: 86vw; max-width: 100%; margin: 0 auto; }
  .showcase__fact { margin-top: 18px; }
  .showcase__list { padding: 0 16px; gap: 4px; }
  .showcase__list h2, .showcase__list button { font-size: clamp(1.375rem, 6vw, 2rem); line-height: 1.18; }
  .showcase__list { gap: 10px; }
  .showcase__all { margin-top: 20px; font-size: 1rem; }

  .tirocini__inner { display: block; padding: 56px 16px; }
  .tirocini h2 { font-size: clamp(2rem, 8.5vw, 3rem); margin-bottom: 24px; }
  .tirocini__inner > div { font-size: 1.125rem; }

  .richiesta { padding: var(--gap-section) 10px; }
  .coupon { grid-template-columns: 1fr;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
            mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; } /* taste-skill-ignore: barra e pulsantiera flottanti, tacche del tagliando */
  .coupon__left { border-right: 0; border-bottom: 5px dotted var(--ground); padding: 36px 20px; }
  .coupon__right { padding: 36px 20px; }
  .coupon h2 { font-size: clamp(2rem, 8.5vw, 3rem); }

  .foot { padding: 56px 16px calc(110px + env(safe-area-inset-bottom)); }
  .foot__mark { flex-direction: column; align-items: flex-start; }
  .mark--big { width: 42vw; }
  .foot__name { font-size: clamp(2rem, 8.5vw, 3rem); }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__last { flex-direction: column; align-items: flex-start; }
}


/* ---------- pagine interne ---------- */
.bar--page { position: relative; }
.tile__link { text-decoration: none; display: block; }
.tile__link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.tile__fig--pair a { display: contents; }
.tile--double h3 a { text-decoration: none; }
.tile--double h3 a:hover { text-decoration: underline; }
.team--archivio { padding-top: clamp(32px, 6vw, 96px); }
.team--archivio h1 { font-size: var(--step-head); }
.crumbs { font-size: var(--step-small); font-weight: 500; margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

.persona { padding: clamp(32px, 6vw, 96px) var(--m) 0; }
.persona__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.persona__text { grid-column: 1 / 8; padding-bottom: 24px; }
.persona h1 { font-size: var(--step-display); }
.persona__ruolo { font-size: var(--step-lead); margin-top: 24px; max-width: 28em; }
.persona__azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.persona__contatti { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; color: var(--muted); }
.persona__arch { grid-column: 8 / 13; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; display: flex; align-items: flex-end; }
.persona__arch img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.persona .prose { margin-top: clamp(56px, 8vw, 120px); }
.persona__articoli, .correlati { max-width: 1360px; margin: clamp(72px, 9vw, 140px) auto 0; }
.persona__articoli h2, .correlati h2 { font-size: var(--step-head); margin-bottom: 40px; }

.articolo { padding: clamp(32px, 6vw, 96px) var(--m) 0; }
.articolo__head { max-width: 1100px; }
.articolo h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1.02; }
.articolo__meta, .articolo__lead { font-size: var(--step-lead); color: var(--muted); margin-top: 24px; max-width: 34em; }
.articolo__meta a { color: var(--ink); font-weight: 500; }
.articolo__head .btn { margin-top: 28px; }
.articolo__fig { margin-top: clamp(40px, 6vw, 80px); max-width: 1100px; }
.articolo__fig img { width: 100%; height: auto; }
.articolo__cta { max-width: 44rem; margin: clamp(72px, 9vw, 140px) auto 0; padding: 40px; background: var(--ground-2); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.prose { max-width: 44rem; margin: clamp(40px, 6vw, 80px) auto 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.12; margin-top: 2em; }
.prose h3 { font-size: var(--step-lead); margin-top: 1.6em; }
.prose a { color: var(--ink); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 28px; position: relative; font-size: var(--step-lead); line-height: 1.45; }
.prose blockquote::before { content: ""; position: absolute; left: 0; top: .25em; width: 12px; height: 18px; border-radius: var(--arch); background: var(--brass); }
.prose blockquote cite { display: block; margin-top: 12px; font-size: var(--step-small); font-style: normal; color: var(--muted); }
.prose figure img, .prose .wp-block-image img { width: 100%; height: auto; }
.prose figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }
.prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

.elenco { padding: clamp(32px, 6vw, 96px) var(--m) 0; }
.elenco__head { max-width: 1100px; }
.elenco h1 { font-size: var(--step-display); }
.elenco__desc { font-size: var(--step-lead); color: var(--muted); margin-top: 20px; max-width: 34em; }
.filtri { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filtri a { padding: 10px 16px 9px; background: var(--ground-2); text-decoration: none; font-size: var(--step-small); font-weight: 500; }
.filtri a:hover, .filtri a[aria-current] { background: var(--ink); color: var(--on-ink); }
.voci { list-style: none; padding: 0; margin: clamp(48px, 7vw, 96px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; }
.voce a { display: grid; grid-template-columns: 5.5rem 1fr; column-gap: 20px; text-decoration: none; }
.voce__data { grid-row: span 2; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; color: var(--brass); font-variant-numeric: tabular-nums; }
.voce h2 { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.voce p { color: var(--muted); margin-top: 8px; }
.voce a:hover h2 { text-decoration: underline; text-underline-offset: .2em; }
.pagine { display: flex; gap: 8px; margin-top: 64px; flex-wrap: wrap; }
.pagine .page-numbers { padding: 12px 16px; background: var(--ground-2); text-decoration: none; font-weight: 500; }
.pagine .current { background: var(--ink); color: var(--on-ink); }
.vuoto { margin-top: 48px; font-size: var(--step-lead); }
.search-form { display: flex; gap: 8px; margin-top: 32px; max-width: 32rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 52px; border: 0; background: var(--ground-2); padding: 0 16px; font: inherit; }
.search-submit { min-height: 52px; border: 0; padding: 0 22px; background: var(--ink); color: var(--on-ink); font: 500 1rem "Switzer", sans-serif; cursor: pointer; }

/* moduli: esiti, trappola, varianti */
.esito { max-width: 1360px; margin: 0 auto 16px; padding: 18px 24px; font-weight: 500; }
.esito--ok { background: var(--sage); }
.esito--errore { background: var(--accent); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field select, .field textarea { width: 100%; border: 0; border-radius: 0; background: #34433C; color: var(--on-ink); padding: 14px 16px; font: 400 var(--step-body) "Switzer", sans-serif; }
.field select { height: 54px; padding-block: 0; }
.field textarea { resize: vertical; min-height: 120px; }
.coupon--brass { background: var(--brass); color: var(--ink); }
.coupon--brass .field span, .coupon--brass .check, .coupon--brass .coupon__note { color: var(--ink); }
.coupon--brass .field input, .coupon--brass .field select, .coupon--brass .field textarea { background: #C9AE80; color: var(--ink); }
.coupon--brass .field input:focus { outline-color: var(--ink); background: #D3BC93; }
.check a { color: inherit; }
.showcase__fact .link { margin-left: 4px; }

@media (max-width: 980px) {
  .persona { padding: 24px 16px 0; }
  .persona__head { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .persona h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .persona__arch { width: 86vw; max-width: 100%; align-self: center; }
  .persona__azioni .btn { flex: 1 1 auto; }
  .articolo, .elenco { padding: 24px 16px 0; }
  .elenco h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .voci { grid-template-columns: 1fr; gap: 36px; }
  .voce a { display: block; }
  .voce__data { display: block; font-size: var(--step-body); margin-bottom: 6px; }
  .articolo__cta { padding: 28px 20px; }
}

/* entrate: il contenuto resta visibile se lo script non parte */
.js [data-reveal] > *, .js .tile[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in > *, .js .tile[data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: .24s; }
.js .menu[data-reveal].is-in > *:nth-child(n+5) { transition-delay: .32s; }
.js .hero__arch { clip-path: inset(100% 0 0 0); }
.js .hero__arch img { transform: scale(1.12); }
.js.is-loaded .hero__arch { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) .1s; }
.js.is-loaded .hero__arch img { transform: scale(var(--drift, 1)); transition: transform 1.4s var(--ease) .1s; }
.js.is-loaded.is-settled .hero__arch img { transition: none; }

@keyframes sheet-in { from { transform: translateY(30px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] > *, .js .tile[data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__arch { clip-path: none; }
  .js .hero__arch img, .js.is-loaded .hero__arch img { transform: none; transition: none; }
  .sheet__panel { animation: none; }
}

/* moduli inseriti dentro una pagina: escono dalla colonna di testo */
.prose > .richiesta { width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(48px, 6vw, 96px) var(--m) 0; }
.prose > .richiesta .coupon h2 { margin-top: 0; }
.prose .coupon p, .prose .coupon legend { margin-top: 0; }
.prose .coupon a { color: inherit; }
@media (max-width: 980px) { .prose > .richiesta { padding-inline: 10px; } }
/* elenchi di servizi e voci della guida dentro le pagine */
.prose h2[id] { scroll-margin-top: 96px; }
.prose .indice { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.prose .indice a { display: inline-block; padding: 9px 14px 8px; background: var(--ground-2); text-decoration: none; font-size: var(--step-small); font-weight: 500; }
.prose .indice a:hover { background: var(--ink); color: var(--on-ink); }
