/* ==========================================================================
   Ama_Ti Academy — Mockup v2 · "Scuro e caldo"
   ========================================================================== */

:root {
  --plum-950: #7e3a48;
  --plum-900: #8f4553;
  --plum-800: #a2525f;
  --plum-700: #b0606c;
  --plum-600: #bd6e79;
  --wine: #b04f5e;
  --wine-2: #c46a77;

  --cream: #fdf4f2;
  --sand: #fbe3e0;
  --sand-2: #f6d0cc;

  --ink: #5e2633;
  --ink-soft: #85606a;

  --gold: #f8c0c0;
  --gold-light: #ffdcd8;
  --gold-deep: #b04f5e;
  --rose: #ffe9e6;

  --light: #fff7f5;
  --light-soft: rgba(255, 247, 245, .9);
  --light-mute: rgba(255, 247, 245, .72);
  --line-dark: rgba(255, 220, 216, .32);
  --line-light: rgba(162,82,95, .13);
  --wa: #3f8f55;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17.5px; font-weight: 400; line-height: 1.72;
  color: var(--ink); background: var(--plum-800); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: italic; }
::selection { background: var(--gold); color: var(--plum-900); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }

main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.center { text-align: center; }

/* Section themes */
.s-dark { background: var(--plum-800); color: var(--light-soft); }
.s-dark h1, .s-dark h2, .s-dark h3 { color: var(--light); }
.s-dark h1 em, .s-dark h2 em, .s-dark h3 em { color: var(--gold-light); }
.s-deep { background: var(--plum-900); color: var(--light-soft); }
.s-deep h2, .s-deep h3 { color: var(--light); }
.s-deep h2 em { color: var(--gold-light); }
.s-light { background: var(--cream); color: var(--ink-soft); }
.s-light h1, .s-light h2, .s-light h3 { color: var(--ink); }
.s-light h1 em, .s-light h2 em, .s-light h3 em { color: var(--wine); }
.s-sand { background: var(--sand); color: var(--ink-soft); }
.s-sand h2, .s-sand h3 { color: var(--ink); }
.s-sand h2 em { color: var(--wine); }

/* Grain */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.t-hero { font-size: clamp(46px, 7.4vw, 112px); line-height: .98; letter-spacing: -.025em; }
.t-1 { font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; }
.t-2 { font-size: clamp(34px, 4.4vw, 62px); }
.lead { font-size: clamp(17.5px, 1.45vw, 20px); font-weight: 300; line-height: 1.7; max-width: 600px; }

.kicker {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 28px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}
.kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
.s-light .kicker, .s-sand .kicker { color: var(--gold-deep); }
.center .kicker::after { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }

.roman { font-family: var(--serif); font-style: italic; color: var(--gold); line-height: 1; }
.s-light .roman, .s-sand .roman { color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 58px; padding: 0 32px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--ink);
  font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1;
  transition: color .5s var(--ease), border-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--light);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { border-color: var(--light); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .6s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--light); border-color: rgba(255,247,245,.55); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--light); }
.btn--ink::before { background: var(--wine); }
.btn--ink:hover { border-color: var(--wine); color: var(--light); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(162,82,95,.35); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--light); border-color: var(--ink); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa::before { background: #2f7443; }
.btn--wa:hover { color: #fff; border-color: #2f7443; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 11.5px; }

.link {
  display: inline-flex; align-items: center; gap: 12px; position: relative; padding: 6px 0;
  font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.s-dark .link, .s-deep .link { color: var(--light); }
.s-light .link, .s-sand .link { color: var(--ink); }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(.35); }
.link svg { width: 18px; height: 18px; color: var(--gold); transition: transform .6s var(--ease); }
.link:hover svg { transform: translateX(6px); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; }

/* ---------- Frame (offset gold outline) ---------- */
.frame { position: relative; isolation: isolate; }
.frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: -1;
  transition: inset .8s var(--ease);
}
.frame:hover::before { inset: 12px -12px -12px 12px; }
.frame--left::before { inset: 22px 22px -22px -22px; }
.frame--left:hover::before { inset: 12px 12px -12px -12px; }
.frame__img { overflow: hidden; position: relative; background: var(--plum-700); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.px { position: absolute; left: 0; right: 0; top: -8%; height: 116%; will-change: transform; }
.px img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--light);
  transition: transform .7s var(--ease), background .5s, height .5s var(--ease), box-shadow .5s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header.is-scrolled {
  --header-h: 74px;
  background: rgba(143,69,83, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.logo { display: block; height: 68px; flex: none; transition: height .5s var(--ease); }
.logo img { height: 100%; width: auto; }
.is-scrolled .logo { height: 54px; }

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 12px 16px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--light-soft); transition: color .4s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .5s var(--ease);
}
.nav a:hover { color: var(--light); }
.nav a.is-active { color: var(--gold-light); }
.nav a.is-active::after, .nav a:hover::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }

.burger { display: none; position: relative; width: 52px; height: 52px; border: 1px solid rgba(255,247,245,.45); z-index: 2; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--light); transition: transform .6s var(--ease), top .6s var(--ease), opacity .3s, left .6s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 32px; left: 22px; }
.menu-open .burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 25px; left: 14px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--plum-900); color: var(--light);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: calc(var(--header-h) + 30px) var(--gutter) 34px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .9s var(--ease-io), visibility 0s .9s; visibility: hidden;
}
.menu-open .mobile-menu { transform: none; visibility: visible; transition: transform .9s var(--ease-io); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.2; color: var(--light);
  opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease), color .3s;
}
.mobile-menu nav a .roman { font-size: 15px; width: 34px; flex: none; }
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { color: var(--gold-light); font-style: italic; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .4s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .45s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .5s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .55s; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--light-soft); font-size: 15px; opacity: 0; transition: opacity .6s .6s; }
.menu-open .mobile-menu__foot { opacity: 1; }
.menu-open .site-header { z-index: 115; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
body.menu-open { overflow: hidden; }

/* ---------- Curtain (page transition) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--plum-900);
  display: grid; place-items: center; transform-origin: right; transition: transform 1s var(--ease-io);
}
.curtain::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--gold); }
.curtain img { width: 130px; transition: opacity .4s, transform 1s var(--ease); }
.is-loaded .curtain { transform: scaleX(0); }
.is-loaded .curtain img { opacity: 0; transform: scale(.9); }
.is-leaving .curtain { transform: scaleX(1); transform-origin: left; transition-duration: .7s; }

.progress { position: fixed; left: 0; top: 0; z-index: 130; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--gold);
  display: grid; place-items: center; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--plum-900);
  transition: opacity .3s, width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s;
}
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(248,192,192,.16); }
.cursor-ring.is-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); }
.cursor-ring span { opacity: 0; transition: opacity .3s; }
.cursor-ring.is-label span { opacity: 1; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--d, 0s); }
[data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }
[data-reveal="wipe"] img { transform: scale(1.3); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="wipe"].in img { transform: scale(1); }
[data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io); transition-delay: var(--d, 0s); }
[data-reveal="line"].in { transform: scaleX(1); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .14em; margin: 0 -.03em -.14em; }
.split .wi { display: inline-block; transform: translateY(108%) rotate(5deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.split.in .wi { transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--plum-800); color: var(--light-soft); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: kenburns 24s ease-in-out infinite alternate; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--plum-800) 8%, rgba(162,82,95,.82) 42%, rgba(162,82,95,.35) 100%),
    linear-gradient(0deg, var(--plum-800) 0%, rgba(162,82,95,0) 40%);
}
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px circle at var(--gx, 72%) var(--gy, 38%), rgba(255,220,216,.25), transparent 60%); }
.hero__inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
.hero__inner > * { min-width: 0; }
.hero h1 { color: var(--light); margin-bottom: 32px; }
.hero h1 em { color: var(--gold-light); }
.hero .lead { color: var(--light-soft); margin-bottom: 44px; }
.hero__portrait { justify-self: end; width: 100%; max-width: 360px; margin-right: 22px; }
.hero__portrait .frame__img { aspect-ratio: 3 / 4.2; }
.hero__portrait figcaption { margin-top: 44px; display: flex; gap: 14px; align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--light-mute); }
.hero__portrait figcaption::before { content: ""; width: 7px; height: 7px; background: var(--rose); transform: rotate(45deg); flex: none; }
.hero__bar { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); }
.hero__bar .wrap { display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; }
.hero__bar .stat { padding: 26px 46px 26px 0; margin-right: 46px; border-right: 1px solid var(--line-dark); display: flex; align-items: center; gap: 16px; }
.hero__bar .stat strong { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; color: var(--gold-light); }
.hero__bar .stat strong sup { font-size: .5em; vertical-align: .8em; }
.hero__bar .stat span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--light-mute); max-width: 150px; line-height: 1.5; }
.scroll-cue { justify-self: end; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--light-mute); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line-dark); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--plum-800); color: var(--light-soft);
  padding: calc(var(--header-h) + clamp(70px, 10vw, 150px)) 0 clamp(70px, 8vw, 120px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; animation: kenburns 30s ease-in-out infinite alternate; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--plum-800) 15%, rgba(162,82,95,.55)), linear-gradient(0deg, var(--plum-800), transparent 55%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--light); margin: 26px 0 30px; max-width: 1000px; }
.page-hero h1 em { color: var(--gold-light); }
.page-hero .lead { color: var(--light-soft); max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--light-mute); }
.crumbs a:hover { color: var(--light); }
.crumbs i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.crumbs span:last-child { color: var(--gold-light); }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__text { max-width: 1060px; margin: 0 auto; font-family: var(--serif); font-size: clamp(27px, 3.5vw, 50px); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.manifesto__text .mw { opacity: .14; transition: opacity .5s; }
.manifesto__text .mw.on { opacity: 1; }
.manifesto__text em { color: var(--wine); }
.manifesto__sign { margin-top: 50px; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.manifesto__sign b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; color: var(--ink); }
.manifesto__sign small { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.ornament { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 44px; color: var(--gold-deep); }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.ornament i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.s-dark .ornament { color: var(--gold); }

/* ---------- Head rows ---------- */
.head-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.head-row > * { min-width: 0; }
.head-row .lead { margin-bottom: 28px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.pillar { position: relative; padding: 50px 42px 56px; border-right: 1px solid var(--line-dark); transition: background .6s var(--ease), opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .roman { display: block; font-size: 56px; margin-bottom: 38px; transition: transform .7s var(--ease); }
.pillar:hover .roman { transform: translateX(10px); }
.pillar h3 { font-size: clamp(26px, 2.2vw, 31px); margin-bottom: 16px; }
.pillar p { font-weight: 300; }
.s-light .pillars, .s-sand .pillars, .s-light .pillar, .s-sand .pillar { border-color: var(--line-light); }

/* ---------- About / split ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 130px); align-items: center; }
.about > * { min-width: 0; }
.about--rev > :first-child { order: 2; }
.about .frame { margin-right: 22px; }
.about--rev .frame { margin-right: 0; margin-left: 22px; }
.about .frame__img { aspect-ratio: 4 / 5; }
.about h2 { margin-bottom: 30px; }
.about .lead { margin-bottom: 34px; }

.quote-block { position: relative; margin: 0 0 40px; padding-top: 40px; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.5; color: var(--ink); }
.quote-block::before { content: "“"; position: absolute; top: -20px; left: -4px; font-size: 110px; line-height: 1; color: var(--gold); font-style: normal; }
.s-dark .quote-block { color: var(--light); }

.diamonds { display: grid; gap: 18px; margin-bottom: 44px; }
.diamonds li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.diamonds li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border: 1px solid var(--gold-deep); transform: rotate(45deg); }
.diamonds b { font-weight: 500; color: var(--ink); }
.s-dark .diamonds b { color: var(--light); }
.s-dark .diamonds li::before { border-color: var(--gold); }
/* Servizi: nome del percorso su una riga, formato (incontri) sotto la descrizione */
.svc-detail .diamonds b { display: block; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.post-tags span { font-size: 13px; letter-spacing: .06em; padding: 4px 12px; border: 1px solid var(--line-light); border-radius: 99px; color: var(--gold-deep); }
.diamonds small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }

.signature { margin-top: 40px; }
.signature b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--ink); }
.signature small { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Services hover list ---------- */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 90px 1fr auto 62px; gap: 30px; align-items: center;
  padding: 40px 18px; border-bottom: 1px solid var(--line-dark); isolation: isolate;
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
}
.svc-row > * { min-width: 0; }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--plum-700); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row .roman { font-size: 28px; }
.svc-row h3 { font-size: clamp(28px, 3.4vw, 50px); color: var(--light); transition: transform .7s var(--ease), color .5s; }
.svc-row p { margin-top: 10px; font-weight: 300; max-width: 560px; color: var(--light-mute); transition: color .5s; }
.svc-row:hover h3 { transform: translateX(18px); color: var(--gold-light); }
.svc-row:hover p { color: var(--light-soft); }
.svc-row .tag-txt { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.svc-row .arrow { width: 62px; height: 62px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--light); transition: background .5s, color .5s, border-color .5s; }
.svc-row .arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .7s var(--ease); }
.svc-row:hover .arrow { background: var(--gold); border-color: var(--gold); color: var(--plum-900); }
.svc-row:hover .arrow svg { transform: rotate(0); }
.svc-row .thumb { display: none; }
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 50; width: 280px; height: 360px; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity .5s; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.svc-float__in { position: absolute; inset: 0; transform: scale(.6) rotate(-6deg); transition: transform .8s var(--ease); }
.svc-float.is-on { opacity: 1; }
.svc-float.is-on .svc-float__in { transform: none; }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .5s, transform 1s var(--ease); }
.svc-float img.is-on { opacity: 1; transform: none; }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); }
.counters > div { padding: 10px clamp(18px, 3vw, 44px); border-left: 1px solid var(--line-light); }
.counters > div:first-child { border-left: 0; padding-left: 0; }
.counters strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 7vw, 110px); line-height: 1; color: var(--wine); margin-bottom: 16px; letter-spacing: -.03em; }
.counters strong sup { font-size: .4em; vertical-align: .9em; color: var(--gold-deep); }
.counters span { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; display: block; max-width: 220px; }

/* ---------- Testimonials slider ---------- */
.quotes { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }
.quotes__mark { font-family: var(--serif); font-size: 180px; line-height: .9; color: var(--gold); height: 90px; overflow: hidden; }
.quotes__track { display: grid; }
.quote-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), visibility .9s; }
.quote-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.quote-slide blockquote { margin: 0 0 40px; font-family: var(--serif); font-size: clamp(25px, 3vw, 42px); line-height: 1.35; color: var(--light); }
.quote-slide b { display: block; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; font-size: 13px; color: var(--gold-light); }
.quote-slide small { font-size: 15px; color: var(--light-mute); }
.quotes__ctrl { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.quotes__ctrl button { width: 56px; height: 56px; border: 1px solid var(--line-dark); color: var(--light); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.quotes__ctrl button:hover { background: var(--gold); color: var(--plum-900); border-color: var(--gold); }
.quotes__ctrl button svg { width: 18px; height: 18px; }
.quotes__ctrl .prev svg { transform: rotate(180deg); }
.quotes__count { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--light-soft); min-width: 70px; }
.quotes__bar { width: 220px; height: 1px; margin: 26px auto 0; background: var(--line-dark); overflow: hidden; }
.quotes__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.quotes__bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Blog cards ---------- */
.mag { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4vw, 60px); }
.mag > * { min-width: 0; }
.mag__side { display: grid; gap: clamp(30px, 3vw, 44px); align-content: start; }
.card { display: block; color: var(--ink-soft); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.card__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 24px 0 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.card__meta .cat { color: var(--wine); font-weight: 500; }
.card__meta i { width: 4px; height: 4px; background: var(--gold-deep); transform: rotate(45deg); }
.card h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.18; color: var(--ink); transition: color .4s; }
.card:hover h3 { color: var(--wine); }
.card p { margin-top: 14px; font-weight: 300; }
.card .link { margin-top: 22px; }
.card--big .card__img { aspect-ratio: 4 / 3.2; }
.card--big h3 { font-size: clamp(30px, 3vw, 44px); }
.card--row { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; }
.card--row > * { min-width: 0; }
.card--row .card__img { aspect-ratio: 1; }
.card--row .card__meta { margin-top: 0; }
.card--row p { display: none; }
.card.is-hidden { display: none; }
.card .new { padding: 3px 10px; background: var(--wine); color: var(--light); font-size: 10px; letter-spacing: .18em; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px clamp(26px, 3vw, 44px); }
.posts-grid > * { min-width: 0; }
.posts-grid .card--feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.posts-grid .card--feat > * { min-width: 0; }
.posts-grid .card--feat .card__img { aspect-ratio: 4 / 3; }
.posts-grid .card--feat h3 { font-size: clamp(32px, 3.4vw, 50px); }

/* ---------- Filters (underline tabs) ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; margin-bottom: clamp(50px, 6vw, 80px); }
.filters button { position: relative; padding: 10px 0; font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .5; transition: opacity .4s; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .6s var(--ease); }
.filters button:hover, .filters button.is-active { opacity: 1; }
.filters button.is-active::after { transform: scaleX(1); }
.s-dark .filters { color: var(--light); }
.s-light .filters { color: var(--ink); }

/* ---------- Photo CTA ---------- */
.cta-photo { position: relative; overflow: hidden; background: var(--plum-900); color: var(--light-soft); text-align: center; padding: clamp(120px, 15vw, 220px) 0; }
.cta-photo__bg { position: absolute; inset: -14% 0; }
.cta-photo__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(143,69,83,.5), rgba(143,69,83,.94) 78%); }
.cta-photo .wrap { position: relative; z-index: 2; }
.cta-photo h2 { color: var(--light); max-width: 940px; margin: 0 auto 28px; }
.cta-photo h2 em { color: var(--gold-light); }
.cta-photo p { max-width: 620px; margin: 0 auto 48px; font-weight: 300; font-size: 19px; }
.cta-photo .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--plum-950); color: var(--light-mute); font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding-bottom: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-top h2 { font-size: clamp(38px, 5vw, 76px); color: var(--light); max-width: 820px; }
.footer-top h2 em { color: var(--gold-light); }
.form-error { margin-top: 18px; color: var(--wine); font-size: 15px; }
.form-error a { text-decoration: underline; }
.prose--legal { font-size: 17px; line-height: 1.75; }
.prose--legal > p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.prose--legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.prose--legal a { color: var(--wine); text-decoration: underline; }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.legal-table th { font-weight: 500; color: var(--ink); background: var(--sand); }
.legal-table code { font-size: 13.5px; color: var(--wine); white-space: nowrap; }
.legal-date { font-size: 14px; color: var(--ink-soft); font-style: italic; }
.cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 440px; display: grid; gap: 16px; padding: 22px 24px; background: var(--cream); color: var(--ink); border: 1px solid var(--line-light); box-shadow: 0 18px 50px rgba(94, 38, 51, .22); font-size: 15px; line-height: 1.55; }
.cookie-notice a { color: var(--wine); text-decoration: underline; }
.cookie-notice .btn { justify-self: start; }
@media (max-width: 600px) { .cookie-notice { left: 12px; right: 12px; bottom: 86px; max-width: none; } }
.about .frame--ritratto { width: 100%; max-width: 300px; justify-self: end; margin-right: clamp(0px, 3vw, 40px); }
.bio { margin-top: clamp(70px, 9vw, 130px); }
.bio__head { max-width: 720px; margin: 0 auto 40px; }
.footer-admin { margin-top: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 50px; padding: clamp(50px, 6vw, 80px) 0; }
.footer-brand img { width: 180px; margin-bottom: 26px; }
.footer-brand p { max-width: 290px; margin-bottom: 28px; }
.footer-col h4 { font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--light); }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 5px; color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 50px; height: 50px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--light); transition: background .4s, border-color .4s, color .4s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--plum-900); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-bottom a:hover { color: var(--light); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; background: var(--wa); color: #fff;
  display: grid; place-items: center; transform: translateY(120px); transition: transform .8s var(--ease);
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.5);
}
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--wa); animation: wa 2.4s var(--ease) infinite; }
@keyframes wa { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Servizi page ---------- */
.subnav { position: sticky; top: 0; z-index: 60; background: rgba(253,244,242,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-light); transition: top .7s var(--ease); }
body.header-shown .subnav { top: 74px; }
.subnav .wrap { display: flex; gap: 6px 40px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 22px 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.subnav a .roman { font-size: 15px; margin-right: 8px; letter-spacing: 0; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wine); transform: scaleX(0); transition: transform .6s var(--ease); }
.subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: scaleX(1); }

.svc-detail { scroll-margin-top: 150px; }
.svc-detail .frame__img { aspect-ratio: 1 / 1; }
.svc-detail .big-roman { display: block; font-size: clamp(70px, 8vw, 120px); margin-bottom: 18px; }
.svc-detail h2 { margin-bottom: 26px; }
.svc-detail .body { margin-bottom: 34px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 60px); }
.steps > * { min-width: 0; }
.steps__line { position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: var(--gold); opacity: .55; }
.step { position: relative; }
.step__n { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; margin: 0 0 38px 0; background: var(--plum-800); border: 1px solid var(--gold); transform: rotate(45deg); }
.step__n span { transform: rotate(-45deg); font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-light); }
.step h3 { font-size: 28px; margin-bottom: 14px; }
.step p { font-weight: 300; }

.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); color: var(--ink); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq .pm { position: relative; flex: none; width: 46px; height: 46px; border: 1px solid var(--line-light); transition: background .4s, border-color .4s, transform .7s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: background .4s; }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--wine); border-color: var(--wine); transform: rotate(135deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--light); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 70px 32px 0; font-weight: 300; font-size: 18px; }

/* ---------- Galleria ---------- */
.masonry { columns: 3; column-gap: 24px; }
.m-item { position: relative; break-inside: avoid; margin: 0 0 24px; overflow: hidden; cursor: zoom-in; background: var(--plum-700); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.m-item img { width: 100%; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.85); }
.m-item::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); opacity: 0; transition: opacity .6s, inset .8s var(--ease); pointer-events: none; }
.m-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 24px 20px; background: linear-gradient(transparent, rgba(126,58,72,.85)); color: var(--light); font-family: var(--serif); font-style: italic; font-size: 22px; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease); }
.m-item figcaption small { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.m-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.m-item:hover::after { opacity: 1; inset: 14px; }
.m-item:hover figcaption { opacity: 1; transform: none; }
.m-item.is-out { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(126,58,72,.96); display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 20px; min-width: 0; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; opacity: 0; transform: scale(.96); transition: opacity .5s, transform .8s var(--ease); }
.lightbox img.is-ready { opacity: 1; transform: none; }
.lightbox figcaption { color: var(--light); font-family: var(--serif); font-style: italic; font-size: 22px; }
.lightbox figcaption span { margin-left: 14px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .24em; color: var(--gold); }
.lb-btn { width: 56px; height: 56px; justify-self: center; border: 1px solid var(--line-dark); color: var(--light); display: grid; place-items: center; transition: background .4s, color .4s; }
.lb-btn:hover { background: var(--gold); color: var(--plum-900); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { position: absolute; top: 24px; right: 24px; }
.lb-prev svg { transform: rotate(180deg); }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; }
.contact > * { min-width: 0; }
.contact__info { background: var(--plum-700); color: var(--light-soft); padding: clamp(60px, 7vw, 110px) clamp(24px, 5vw, 80px); position: relative; overflow: hidden; }
.contact__info h2 { color: var(--light); font-size: clamp(32px, 3vw, 44px); margin-bottom: 40px; }
.contact__info h2 em { color: var(--gold-light); }
.c-list li { border-top: 1px solid var(--line-dark); }
.c-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.c-list a, .c-list .row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 22px 0; }
.c-list .row > *, .c-list a > * { min-width: 0; }
.c-list .ico { width: 48px; height: 48px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--gold); transition: background .4s, color .4s; }
.c-list .ico svg { width: 20px; height: 20px; }
.c-list a:hover .ico { background: var(--gold); color: var(--plum-900); }
.c-list small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.c-list span { color: var(--light); font-size: 17px; overflow-wrap: anywhere; }
.contact__note { margin-top: 36px; font-weight: 300; font-size: 15.5px; }
.contact__info .btn { margin-top: 36px; }
.contact__form { background: var(--cream); padding: clamp(60px, 7vw, 110px) clamp(24px, 5vw, 90px); position: relative; overflow: hidden; }
.contact__form h2 { font-size: clamp(32px, 3vw, 46px); color: var(--ink); margin-bottom: 14px; }
.contact__form h2 em { color: var(--wine); }
.contact__form > p { margin-bottom: 50px; color: var(--ink-soft); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px; }
.form-grid > *, .field select { min-width: 0; }
.field { position: relative; display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: transparent;
  padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(162,82,95,.25); border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237d3149' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 30px; }
.field textarea { min-height: 120px; resize: vertical; }
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field input:focus ~ .bar, .field select:focus ~ .bar, .field textarea:focus ~ .bar { transform: scaleX(1); }
.field textarea ~ .bar { bottom: 7px; }
.field .err { position: absolute; top: 100%; margin-top: 6px; font-size: 12.5px; color: #b0344c; display: none; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #b0344c; }
.field.invalid .err { display: block; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 14px; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wine); }
.consent a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.consent.invalid { color: #b0344c; }
.form-actions { margin-top: 44px; }

.form-success { position: absolute; inset: 0; background: var(--cream); display: grid; place-content: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.form-success.is-on { opacity: 1; visibility: visible; }
.form-success .tick { width: 90px; height: 90px; margin: 0 auto 34px; border: 1px solid var(--gold-deep); display: grid; place-items: center; color: var(--wine); transform: rotate(45deg); }
.form-success .tick svg { width: 40px; height: 40px; transform: rotate(-45deg); stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success.is-on .tick svg { animation: draw .9s .3s var(--ease) forwards; }
.form-success h3 { font-size: 40px; color: var(--ink); margin-bottom: 14px; }
.form-success h3 em { color: var(--wine); }
.form-success p { max-width: 380px; margin: 0 auto 28px; color: var(--ink-soft); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Articolo ---------- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--light-mute); }
.article-meta .cat { color: var(--gold-light); }
.article-meta i { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.article-wrap { background: linear-gradient(var(--plum-800) 0, var(--plum-800) 90px, var(--cream) 90px); padding-bottom: clamp(80px, 10vw, 140px); }
.article-cover { position: relative; aspect-ratio: 21 / 9; overflow: hidden; margin-bottom: clamp(60px, 7vw, 100px); background: var(--plum-700); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.85; font-weight: 300; color: var(--ink); }
.prose > * + * { margin-top: 1.3em; }
.prose > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 5em; line-height: .82; padding: 8px 14px 0 0; color: var(--wine); }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 26px; margin-top: 1.6em; color: var(--ink); }
.prose strong, .prose b { font-weight: 500; }
.prose ul, .prose ol { display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border: 1px solid var(--gold-deep); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 34px; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--serif); font-style: italic; color: var(--wine); }
.prose blockquote { margin: 2em 0; padding: 26px 0 26px 34px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.45; color: var(--wine); }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.author { max-width: 720px; margin: 70px auto 0; padding-top: 34px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.author .mono { width: 64px; height: 64px; border: 1px solid var(--gold-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: var(--wine); }
.author b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.author small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.author .link { margin-left: auto; }
.not-found { text-align: center; padding: 60px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */.docs { border-top: 1px solid var(--line-light); }
.doc-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center; padding: 36px 18px; border-bottom: 1px solid var(--line-light); }
.doc-row > * { min-width: 0; }
.doc-row .roman { font-size: 28px; }
.doc-row h3 { font-size: clamp(26px, 3vw, 40px); }
.doc-row p { margin-top: 8px; font-weight: 300; }
.doc-soon { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }

@media (max-width: 1140px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__portrait { display: none; }
  .hero__bar .wrap { grid-template-columns: repeat(3, 1fr); }
  .hero__bar .stat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 14px 22px 0; margin-right: 14px; }
  .hero__bar .stat:nth-child(3) { border-right: 0; }
  .scroll-cue { display: none; }
  .head-row, .about, .mag, .contact { grid-template-columns: 1fr; }
  .about--rev > :first-child { order: 0; }
  .about .frame { max-width: 560px; }
  .about--rev .frame { margin-left: 0; margin-right: 22px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 40px 0; }
  .s-light .pillar { border-color: var(--line-light); }
  .counters { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .counters > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc-row { grid-template-columns: 90px 1fr 50px; gap: 20px; padding: 26px 0; }
  .svc-row .roman, .svc-row .tag-txt { display: none; }
  .svc-row .thumb { display: block; width: 90px; height: 90px; overflow: hidden; }
  .svc-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-row .arrow { width: 50px; height: 50px; }
  .svc-row:hover h3 { transform: none; }
  .svc-float { display: none; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid .card--feat { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .steps { grid-template-columns: 1fr; }
  .steps__line { left: 36px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .steps__line[data-reveal="line"] { transform: scaleY(0); }
  .steps__line[data-reveal="line"].in { transform: scaleY(1); }
  .step { padding-left: 110px; min-height: 80px; }
  .step__n { position: absolute; left: 0; top: 0; }
}
@media (max-width: 720px) {
  .doc-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  :root { --header-h: 76px; }
  body { font-size: 16.5px; }
  .logo { height: 56px; }
  .is-scrolled .logo { height: 48px; }
  .hero__bar .stat strong { font-size: 30px; }
  .hero__bar .stat span { font-size: 10px; letter-spacing: .12em; }
  .btn-row .btn { width: 100%; }
  .card--row { grid-template-columns: 110px 1fr; gap: 18px; }
  .card--row h3 { font-size: 21px; }
  .svc-row { grid-template-columns: 72px 1fr; }
  .svc-row .thumb { width: 72px; height: 72px; }
  .svc-row .arrow { display: none; }
  .svc-row p { font-size: 15px; }
  .posts-grid { grid-template-columns: 1fr; }
  .masonry { column-gap: 12px; }
  .m-item { margin-bottom: 12px; }
  .m-item figcaption { font-size: 17px; padding: 40px 14px 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq .answer p { padding-right: 0; }
  .lightbox { grid-template-columns: 1fr; padding: 80px 16px 100px; }
  .lightbox figure { grid-column: 1; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 68px); }
  .lb-next { right: calc(50% - 68px); }
  .article-cover { aspect-ratio: 4 / 3; }
  .prose { font-size: 17.5px; }
  .author .link { margin-left: 0; }
  .frame::before, .frame--left::before { inset: 14px -14px -14px 14px; }
  .about .frame, .about--rev .frame { margin-right: 14px; margin-left: 0; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .quotes__mark { font-size: 130px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .split .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .manifesto__text .mw { opacity: 1; }
}
html:not(.js) [data-reveal], html:not(.js) .split .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html:not(.js) .manifesto__text .mw { opacity: 1; }

/* Centered kicker used as a standalone element */
.kicker.center { display: flex; justify-content: center; }
.kicker.center::after { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
.cta-photo p.kicker { font-size: 12.5px; font-weight: 500; max-width: none; margin: 0 0 28px; }

/* Logo-pink accents need a deeper tone on light backgrounds */
.s-light .link::after, .s-sand .link::after { background: var(--wine-2); }
.s-light .link svg, .s-sand .link svg { color: var(--wine); }
.s-light .frame::before, .s-sand .frame::before { border-color: #e39aa2; }
.s-light .filters button::after { background: var(--wine); }
.card .link::after { background: var(--wine-2); }
.card .link svg { color: var(--wine); }
