/* ==========================================================================
   Viola Conti — Magia d'amore e Tarocchi
   Design system: "premium esoterism" — ink, matt old gold, cream lime walls.
   All colors via CSS variables. No gradients, no glow, no #000.
   ========================================================================== */

/* Self-hosted fonts (Gloock, Outfit — SIL Open Font License). No third-party requests. */
@font-face { font-family: "Gloock"; src: url("/fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink:        #212B2C;
  --ink-soft:   #2A3536;
  --sand:       #DDBF80;
  --gold:       #D9B777;   /* gold ON DARK only */
  --bronze:     #9A7534;   /* gold ON LIGHT only */
  --white:      #FFFFFF;
  --cream:      #F5EFE4;
  --muted:      #6E7777;
  --muted-light:#9AA2A1;
  --line:       #E5E0D6;

  --f-display: "Gloock", "Playfair Display", Georgia, serif;
  --f-text: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1320px;
  --gutter: 48px;
  --section: clamp(72px, 10vw, 150px);
  --radius-card: 20px;

  /* SVG noise for light sections */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 600px) { :root { --gutter: 20px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-text); font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--sand); color: var(--ink); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
.is-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-header--overlay :focus-visible,
.site-footer :focus-visible, .menu-panel :focus-visible, .cookie :focus-visible { outline-color: var(--gold); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--gold); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: top .3s var(--ease); }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); overflow: hidden; }
.is-dark  { background: var(--ink); color: var(--muted-light); }
.is-cream { background: var(--cream); }
.is-sand  { background: var(--sand); }
.is-white { background: var(--white); }
.is-cream::before, .is-sand::before {
  content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .045;
  pointer-events: none; z-index: 0; mix-blend-mode: multiply;
}
.section > .container { position: relative; z-index: 2; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-block; font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); line-height: 1.4; }
.is-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }

.h2, .h3 { font-family: var(--f-display); font-weight: 400; color: var(--ink); }
.h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.is-dark .h2, .is-dark .h3 { color: var(--white); }
/* mixed heading: second part same size, light weight, grey */
.h-light { display: block; font-family: var(--f-text); font-weight: 200; color: var(--muted); letter-spacing: -.02em; line-height: 1.08; }
.is-dark .h-light { color: var(--muted-light); }

.lead { font-weight: 300; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; max-width: 52ch; }
.prose p { max-width: 65ch; }
.prose p + p { margin-top: 1.1em; }
.small { font-size: 14.5px; line-height: 1.55; }

.rule { display: block; width: 72px; height: 2px; background: var(--gold); border: 0; margin: 28px 0; }
.is-cream .rule, .is-white .rule, .is-sand .rule { background: var(--bronze); }
.dingbats { color: var(--bronze); letter-spacing: .6em; font-size: 14px; text-align: center; padding-left: .6em; }
.is-dark .dingbats { color: var(--gold); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 22px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead, .section-head--center .rule { margin-inline: auto; }

/* ---------- Quotes ---------- */
.quote { position: relative; max-width: 1000px; }
.quote__mark { display: block; font-family: var(--f-display); font-size: clamp(80px, 9vw, 128px); line-height: 1; height: .5em; color: var(--bronze); margin-bottom: 10px; }
.is-dark .quote__mark { color: var(--gold); }
.quote__text { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; color: var(--ink); }
.is-dark .quote__text { color: var(--white); }
.quote__cite { display: block; margin-top: 24px; font-style: normal; font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.is-dark .quote__cite { color: var(--gold); }
.quote--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 32px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-text); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-soft); }
.is-dark .btn--primary, .hero .btn--primary, .page-hero .btn--primary, .menu-panel .btn--primary, .cookie .btn--primary { background: var(--gold); color: var(--ink); }
.is-dark .btn--primary:hover, .hero .btn--primary:hover, .page-hero .btn--primary:hover, .menu-panel .btn--primary:hover, .cookie .btn--primary:hover { background: var(--sand); }

.btn--secondary { background: transparent; border-color: var(--bronze); color: var(--ink); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.btn--secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.is-dark .btn--secondary, .hero .btn--secondary, .page-hero .btn--secondary, .menu-panel .btn--secondary { border-color: var(--gold); color: var(--gold); }
.is-dark .btn--secondary:hover, .hero .btn--secondary:hover, .page-hero .btn--secondary:hover { background: var(--gold); color: var(--ink); }
.btn--small { --h: 44px; padding: 0 22px; font-size: 12.5px; }

.btn--wa { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--wa:hover { background: var(--ink); color: var(--white); }
.is-dark .btn--wa, .menu-panel .btn--wa { border-color: var(--gold); color: var(--gold); }
.is-dark .btn--wa:hover { background: var(--gold); color: var(--ink); }

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

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--bronze); padding: 12px 0 8px; border-bottom: 1px solid currentColor;
}
.is-dark .link-arrow { color: var(--gold); }
.link-arrow span { transition: transform .4s var(--ease); display: inline-block; }
.link-arrow:hover span { transform: translateX(6px); }

.round-btn {
  width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--gold); background: transparent;
  color: var(--gold); display: inline-grid; place-items: center; flex: none; text-decoration: none;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.round-btn .icon { width: 30px; height: 30px; }
.round-btn:hover { background: var(--gold); color: var(--ink); }
.is-cream .round-btn, .is-white .round-btn { border-color: var(--bronze); color: var(--bronze); }
.is-cream .round-btn:hover, .is-white .round-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.round-btn--sm { width: 56px; height: 56px; border-width: 1.5px; }
.round-btn--sm .icon { width: 22px; height: 22px; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center;
  transition: transform .4s var(--ease), background-color .4s var(--ease), bottom .4s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); background: var(--ink-soft); }
body.cookie-open .wa-float { bottom: calc(var(--cookie-h, 0px) + 32px); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.logo__mark { width: 38px; height: 38px; color: var(--gold); flex: none; }
.logo__words { display: flex; flex-direction: column; }
.logo__name { font-family: var(--f-display); font-size: 22px; line-height: .95; }
.logo__tag { margin-top: 7px; font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.site-header--light .logo { color: var(--ink); }
.site-header--light .logo__mark, .site-header--light .logo__tag { color: var(--bronze); }

/* ==========================================================================
   Header
   ========================================================================== */
.nav-link { position: relative; font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 12px 2px; display: inline-block; }
.nav-link::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* overlay header (home) */
.site-header--overlay { position: absolute; inset: 0 0 auto 0; z-index: 50; padding-top: 28px; }
.site-header--overlay .header-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header--overlay .nav-main { display: flex; gap: 32px; margin-left: auto; }
.site-header--overlay .nav-link { color: var(--gold); }
.pill-cta { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold); text-decoration: none; font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s var(--ease); }
.pill-cta:hover { background: var(--gold); color: var(--ink); }

/* light header (inner pages): two levels */
.site-header--light { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-l1 { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header-l1 .nav-group { display: flex; gap: 30px; align-items: center; }
.header-l1 .nav-group--right { justify-content: flex-end; }
.site-header--light .nav-link { color: var(--ink); }
.site-header--light .nav-link[aria-current="page"]::after { background: var(--bronze); height: 1.5px; }
.site-header--light .logo__mark { width: 32px; height: 32px; }
.site-header--light .logo__name { font-size: 20px; }
.site-header--light .pill-cta { border-color: var(--ink); color: var(--ink); height: 42px; padding: 0 18px; }
.site-header--light .pill-cta:hover { background: var(--ink); color: var(--white); }
.header-l2 { border-top: 1px solid var(--line); }
.header-l2 ul { height: 44px; display: flex; justify-content: center; align-items: center; overflow-x: auto; scrollbar-width: none; }
.header-l2 ul::-webkit-scrollbar { display: none; }
.header-l2 li + li::before { content: ""; display: inline-block; width: 1px; height: 14px; background: var(--line); margin: 0 22px; vertical-align: middle; }
.header-l2 a { font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .3s var(--ease); padding: 10px 0; }
.header-l2 a:hover { color: var(--ink); }

/* mobile bar */
.mobile-bar { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; align-content: center; justify-items: end; gap: 7px; padding: 0; }
.burger span { display: block; height: 1.5px; background: currentColor; transition: width .4s var(--ease); }
.burger span:first-child { width: 28px; }
.burger span:last-child { width: 17px; }
.burger:hover span:last-child { width: 28px; }

@media (max-width: 1080px) {
  .site-header--overlay .header-row, .header-l1, .header-l2 { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; }
  .mobile-bar__mark { width: 44px; height: 44px; display: grid; place-items: center; }
  .mobile-bar__mark svg { width: 32px; height: 32px; }
  .mobile-bar__name { text-align: center; font-family: var(--f-display); font-size: 22px; text-decoration: none; }
  .site-header--overlay { padding-top: 8px; }
  .site-header--overlay .mobile-bar { color: var(--gold); }
  .site-header--overlay .mobile-bar__name { color: var(--white); }
  .site-header--light .mobile-bar { color: var(--bronze); }
  .site-header--light .mobile-bar__name { color: var(--ink); }
}

/* fullscreen menu */
.menu-panel {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--white); overflow: hidden;
  display: flex; flex-direction: column; padding: 8px var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; height: 64px; color: var(--gold); position: relative; z-index: 2; }
.menu-panel__top svg { width: 32px; height: 32px; }
.menu-close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--gold); display: grid; place-items: center; }
.menu-close .icon { width: 26px; height: 26px; }
.menu-panel nav { margin-top: 5vh; position: relative; z-index: 2; }
.menu-panel nav a {
  display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-size: clamp(40px, 11vw, 64px);
  line-height: 1.15; color: var(--white); text-decoration: none; padding: 4px 0;
  opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu-panel nav a small { font-family: var(--f-text); font-size: 12px; letter-spacing: .12em; color: var(--gold); min-width: 28px; }
.menu-panel nav a[aria-current="page"] { color: var(--gold); }
.menu-panel.is-open nav a { opacity: 1; transform: none; }
.menu-panel.is-open nav a:nth-child(2) { transition-delay: .06s; }
.menu-panel.is-open nav a:nth-child(3) { transition-delay: .12s; }
.menu-panel.is-open nav a:nth-child(4) { transition-delay: .18s; }
.menu-panel.is-open nav a:nth-child(5) { transition-delay: .24s; }
.menu-panel__foot { margin-top: auto; position: relative; z-index: 2; display: grid; gap: 12px; }
.menu-panel__foot .btn { width: 100%; }
.menu-panel .astro { width: 130vw; right: -70vw; bottom: -45vw; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Decor: natal circle, stars, photo frames
   ========================================================================== */
.astro { position: absolute; aspect-ratio: 1; pointer-events: none; z-index: 1; color: var(--gold); opacity: 0; transition: opacity 1.8s var(--ease); }
.astro.is-ready { opacity: var(--astro-o, .75); }
.astro svg { width: 100%; height: 100%; overflow: visible; }
.astro .spin { animation: astro-spin 270s linear infinite; transform-origin: 0 0; }
.astro text { fill: currentColor; stroke: none; font-family: var(--f-text); font-weight: 500; letter-spacing: .24em; }
.astro .sym { font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", sans-serif; letter-spacing: 0; }
.astro circle, .astro path, .astro line { vector-effect: non-scaling-stroke; }

.astro--tone { color: var(--bronze); --astro-o: .28; }
.astro--faint { --astro-o: .15; }
@keyframes astro-spin { to { transform: rotate(360deg); } }

.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; color: var(--gold); }
.is-cream .stars, .is-white .stars { color: var(--bronze); }
.stars svg { width: 100%; height: 100%; }
.stars .star { transform-box: fill-box; transform-origin: center; animation: twinkle var(--d, 5s) var(--delay, 0s) ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }

/* photo frame: shape + a second thin gold outline 12px outside */
.frame { position: relative; margin: 12px; }
.frame::before { content: ""; position: absolute; inset: -12px; border: 1px solid var(--gold); pointer-events: none; z-index: 3; }
.is-cream .frame::before, .is-white .frame::before { border-color: var(--bronze); }
.is-sand .frame::before { border-color: var(--ink); opacity: .55; }
.frame--arch, .frame--arch .frame__clip { border-radius: 999px 999px 16px 16px; }
.frame--arch::before { border-radius: 999px 999px 28px 28px; }
.frame--rect, .frame--rect .frame__clip { border-radius: 16px; }
.frame--rect::before { border-radius: 28px; }
.frame__clip { position: absolute; inset: 0; overflow: hidden; background: var(--ink-soft); z-index: 2; }
.frame picture, .frame img { width: 100%; height: 100%; }
.frame img { object-fit: cover; filter: saturate(.85) contrast(1.03); }
.frame__ph { display: none; position: absolute; inset: 0; place-items: center; color: var(--gold); background: var(--ink-soft); }
.frame__ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); border-radius: inherit; opacity: .6; }
.frame__ph svg { width: 36%; max-width: 140px; opacity: .8; }
.frame.is-missing .frame__ph { display: grid; }
.frame.is-missing picture { visibility: hidden; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: var(--muted-light); overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 130px; }
.hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; width: 100%; }
.hero__copy { position: relative; z-index: 4; }
.hero__copy > .eyebrow { margin-bottom: 34px; }
.hero__title { font-family: var(--f-display); font-weight: 400; color: var(--white); font-size: clamp(56px, 9vw, 160px); line-height: .88; letter-spacing: -.02em; position: relative; isolation: isolate; }
.hero__title .l { display: block; position: relative; z-index: 2; }
.hero__title .l2 { display: inline; padding-left: 0; }
/* the gold ampersand sits BELOW the letters and is partly covered */
.hero__title .amp { position: static; display: inline-block; font-size: 1em; line-height: 1; margin-right: .1em; color: var(--gold); }
.hero__sub { margin-top: 40px; font-weight: 200; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.2; color: var(--muted-light); max-width: 19em; }
.hero__copy .btn-row { margin-top: 44px; }
.hero__media { position: relative; z-index: 3; justify-self: end; width: min(420px, 100%); }
.hero__media .frame { aspect-ratio: 3 / 4.1; }
.hero .astro--hero { width: min(1180px, 95vw); right: calc(-1 * min(440px, 32vw)); top: 50%; margin-top: calc(-1 * min(590px, 47.5vw)); }
.hero .stars { opacity: .7; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 4; }
.hero__foot .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__foot .eyebrow { color: var(--muted-light); }
.hero__foot .round-btn { width: 64px; height: 64px; }
.hero__foot .round-btn .icon { width: 24px; height: 24px; }

.js .hero [data-seq] { opacity: 0; transform: translateY(24px); }
.js .hero .amp[data-seq] { transform: scale(.92); }
.js .hero .hero__media[data-seq] { transform: scale(1.04); }
.hero.is-in [data-seq] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--sd, 0s); }

@media (max-width: 900px) {
  .hero { padding: 104px 0 110px; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { font-size: clamp(52px, 15vw, 96px); }
  .hero__media { justify-self: center; width: min(320px, 76vw); }
  .hero .astro--hero { width: 150vw; right: -75vw; top: -40vw; margin-top: 0; }
  .hero__foot .round-btn { display: none; }
}
@media (max-width: 600px) {
  .hero__copy .btn-row .btn { width: 100%; }
  .hero__foot { bottom: 26px; }
  .hero__foot .eyebrow { font-size: 10.5px; }
}

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { position: relative; background: var(--ink); color: var(--muted-light); overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(100px, 11vw, 160px); }
.page-hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero h1 { font-family: var(--f-display); font-weight: 400; color: var(--white); font-size: clamp(46px, 6.4vw, 100px); line-height: .95; letter-spacing: -.015em; }
.page-hero h1 .h-light { color: var(--muted-light); margin-top: .1em; }
.page-hero .lead { margin-top: 30px; color: var(--muted-light); }
.page-hero__media { justify-self: end; width: min(360px, 100%); }
.page-hero__media .frame { aspect-ratio: 3 / 4; }
.page-hero .astro { width: min(980px, 85vw); right: calc(-1 * min(380px, 28vw)); top: 50%; margin-top: calc(-1 * min(490px, 42.5vw)); }
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; text-align: center; }
.page-hero--center .lead, .page-hero--center .rule { margin-inline: auto; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--photo .page-hero__bg picture, .page-hero--photo .page-hero__bg img { width: 100%; height: 100%; }
.page-hero--photo .page-hero__bg img { object-fit: cover; filter: saturate(.85) contrast(1.03); }
.page-hero--photo .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .7; }
.rating { margin-top: 40px; display: inline-flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.rating__num { font-family: var(--f-display); font-size: clamp(64px, 7vw, 96px); line-height: 1; color: var(--white); }
.rating__stars { display: flex; gap: 6px; color: var(--gold); }
.rating__stars svg { width: 20px; height: 20px; }
.rating__meta { font-size: 14.5px; color: var(--muted-light); margin-top: 8px; text-align: left; }

@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { justify-self: start; width: min(280px, 70vw); }
  .page-hero .astro { width: 140vw; right: -75vw; top: -45vw; margin-top: 0; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card { position: relative; background: var(--white); border-radius: var(--radius-card); padding: 32px; }
.is-white .card { background: var(--cream); }
.card--shadow { box-shadow: 0 1px 2px rgba(33, 43, 44, .04), 0 22px 44px -28px rgba(33, 43, 44, .28); }

.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.situation { display: flex; flex-direction: column; gap: 30px; min-height: 220px; }
.situation__num { font-family: var(--f-display); font-size: 22px; color: var(--bronze); line-height: 1; display: flex; align-items: center; gap: 14px; }
.situation__num::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.situation p { font-family: var(--f-display); font-size: clamp(22px, 2vw, 27px); line-height: 1.22; margin-top: auto; }
.situations-quote { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .situations { grid-template-columns: 1fr; } .situation { min-height: 0; } }

/* ==========================================================================
   Split layouts (Chi sono, principles, CTA)
   ========================================================================== */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split--rev { grid-template-columns: 1.15fr .85fr; }
.split__media { position: relative; }
.split__media .frame { aspect-ratio: 3 / 4; width: min(440px, calc(100% - 24px)); margin-inline: auto; position: relative; z-index: 2; }
.split__media .astro { width: 200%; left: -50%; top: 50%; margin-top: -100%; }
.signature { font-family: var(--f-display); font-size: 58px; color: var(--bronze); margin-top: 26px; line-height: 1; display: inline-block; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.fact__num { font-family: var(--f-display); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--ink); }
.fact__label { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .split__media .frame { width: min(330px, 78%); }
}
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: 22px; } }

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline { position: relative; }
.timeline__svg { position: absolute; pointer-events: none; overflow: visible; }
.timeline__svg line { stroke: var(--gold); stroke-width: 1.5; }
.timeline__svg .base { stroke: var(--muted-light); opacity: .25; }
.timeline__svg--h { left: 0; top: 11px; width: 100%; height: 2px; }
.timeline__svg--v { display: none; }
.timeline ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; position: relative; }
.tl-item { position: relative; padding-top: 54px; }
.tl-item::before { content: ""; position: absolute; top: 5px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--muted-light); transition: background-color .6s var(--ease), border-color .6s var(--ease); }
.tl-item.is-lit::before { background: var(--gold); border-color: var(--gold); }
.tl-item__when { font-family: var(--f-display); font-size: 26px; line-height: 1.1; color: var(--white); }
.tl-item__what { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--muted-light); }
@media (max-width: 1080px) {
  .timeline__svg--h { display: none; }
  .timeline__svg--v { display: block; left: 6px; top: 12px; width: 2px; height: calc(100% - 24px); }
  .timeline ol { grid-template-columns: 1fr; gap: 40px; padding-left: 44px; }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -44px; top: 8px; }
}

/* ==========================================================================
   Full-width quote band (nonna Rosa)
   ========================================================================== */
.quote-band { text-align: center; }
.quote-band .quote__text { font-size: clamp(34px, 4.4vw, 56px); max-width: 22ch; margin-inline: auto; }
.quote-band__texture { position: absolute; inset: 0; z-index: 0; }
.quote-band__texture picture, .quote-band__texture img { width: 100%; height: 100%; }
.quote-band__texture img { object-fit: cover; filter: grayscale(1) contrast(1.1); }
.quote-band__texture::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .82; }

/* ==========================================================================
   Principles
   ========================================================================== */
.principles { display: grid; gap: 36px; }
.principle { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.principle:last-child { border-bottom: 0; padding-bottom: 0; }
.principle__num { font-family: var(--f-display); font-size: 64px; line-height: .9; color: var(--bronze); }
.principle h3 { margin-bottom: 12px; }
.principle p { max-width: 56ch; }
.principles-quote { margin-top: 52px; }
.principles-quote .quote__text { font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 600px) { .principle { grid-template-columns: 1fr; gap: 8px; } .principle__num { font-size: 52px; } }

/* ==========================================================================
   Method (dark)
   ========================================================================== */
.method__media { position: relative; }
.method__media .frame { aspect-ratio: 4 / 5; width: min(500px, calc(100% - 24px)); }
.method__media .astro { width: 180%; left: -40%; top: 58%; margin-top: -90%; }
.steps { position: relative; display: grid; gap: 44px; }
.steps::before { content: ""; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 1px; background: var(--gold); opacity: .45; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; align-items: start; position: relative; }
.step__num { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.step h3 { color: var(--white); margin: 10px 0 8px; }
.step p { max-width: 50ch; }
.step q { font-family: var(--f-display); color: var(--gold); quotes: "«" "»"; }



/* ==========================================================================
   Card of the day (oracle)
   ========================================================================== */
.oracle { padding-bottom: 0; }
.oracle__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.oracle__media .frame { aspect-ratio: 3 / 4; width: min(380px, calc(100% - 24px)); }
.oracle__intro .lead { margin-top: 20px; color: var(--muted-light); }
.oracle__reading { position: relative; margin-top: 36px; display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center; min-height: 310px; }
.oracle__slot { width: 180px; aspect-ratio: 7 / 12; border-radius: 12px; border: 1px dashed rgba(217, 183, 119, .4); display: grid; place-items: center; color: var(--gold); font-family: var(--f-display); font-size: 40px; }
.oracle__msg { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.oracle__msg.is-shown { opacity: 1; transform: none; transition-delay: .6s; }
.oracle__msg .eyebrow { margin-bottom: 10px; }
.oracle__msg .h3 { margin-bottom: 14px; }
.oracle__msg p { max-width: 44ch; }
.oracle__msg .btn-row { margin-top: 26px; gap: 8px 28px; }
.oracle__idle p { max-width: 36ch; }
.oracle__reading.is-drawn .oracle__idle { display: none; }
.oracle__reading:not(.is-drawn) .oracle__msg { display: none; }
.text-btn { background: none; border: 0; padding: 12px 0; color: var(--muted-light); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: var(--white); }

.fan-wrap { position: relative; height: 320px; margin-top: 8px; overflow: hidden; margin-inline: -24px; }
.fan { position: absolute; left: 50%; bottom: -40px; width: 0; height: 0; }
.fan__card {
  position: absolute; left: -80px; bottom: 0; width: 160px; aspect-ratio: 7 / 12; padding: 0; border: 0; background: transparent; border-radius: 12px;
  transform-origin: 50% 190%; transform: rotate(var(--a)) translateY(var(--lift, 0px));
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.fan__card:hover, .fan__card:focus-visible, .fan__card.is-lift { --lift: -28px; }
.fan__card.is-taken { opacity: 0; pointer-events: none; }
.fan__card svg { width: 100%; height: 100%; }
.fan.is-done .fan__card { pointer-events: none; }

.drawn { position: absolute; z-index: 20; width: 180px; aspect-ratio: 7 / 12; perspective: 1400px; pointer-events: none; transition: transform .8s var(--ease); }
.drawn__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.drawn.is-flipped .drawn__inner { transform: rotateY(180deg); }
.drawn__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.drawn__face svg { width: 100%; height: 100%; }
.drawn__face--front { transform: rotateY(180deg); }

@media (max-width: 900px) {
  .oracle__grid { grid-template-columns: 1fr; }
  .oracle__media .frame { width: min(280px, 70vw); }
  .oracle__reading { grid-template-columns: 140px 1fr; gap: 24px; min-height: 250px; }
  .oracle__slot, .drawn { width: 140px; }
  .fan__card { width: 112px; left: -56px; }
  .fan { bottom: -70px; }
  .fan-wrap { height: 280px; margin-inline: calc(-1 * var(--gutter)); }
}
@media (max-width: 520px) {
  .oracle__reading { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { display: flex; flex-direction: column; gap: 16px; }
.service__art { width: 92px; aspect-ratio: 1; margin-bottom: 4px; }
.service__art svg { width: 100%; height: 100%; }
.service h3 { font-size: clamp(24px, 2vw, 28px); padding-right: 40px; }
.service p { font-size: 16px; }
.service__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.service__meta span + span::before { content: "·"; margin-right: 14px; color: var(--bronze); }
.service__foot { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.price { font-family: var(--f-display); font-size: 30px; line-height: 1; color: var(--ink); }
.price--text { font-size: 19px; line-height: 1.2; }
.badge { position: absolute; top: 26px; right: 26px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--sand); padding: 7px 12px; border-radius: 999px; }
.service--featured { outline: 1.5px solid var(--bronze); outline-offset: -1.5px; }
.services-note { margin-top: 32px; font-size: 14.5px; color: var(--ink-soft); }
.services-more { margin-top: 48px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

.overlap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(64px, 7vw, 100px)); }
.intro-card { max-width: 920px; padding: clamp(32px, 4vw, 56px); }
.intro-card .quote__text { font-size: clamp(24px, 2.6vw, 34px); }
.intro-card p.small { margin-top: 18px; color: var(--ink-soft); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-card); padding: 30px; }
.mode .icon { width: 30px; height: 30px; color: var(--bronze); margin-bottom: 22px; }
.mode h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; margin-bottom: 8px; }
.mode p { font-size: 15.5px; }
@media (max-width: 1080px) { .modes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modes { grid-template-columns: 1fr; } }

.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.howto li { border-top: 1px solid var(--gold); padding-top: 26px; }
.howto__num { font-family: var(--f-display); font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 18px; display: block; }
.howto h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--white); margin-bottom: 10px; }
.howto-cta { margin-top: 56px; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr; } }

.pay { display: flex; flex-wrap: wrap; gap: 14px; }
.pay li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 15px; background: var(--white); min-height: 48px; }
.pay .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review { display: flex; flex-direction: column; gap: 16px; }
.review__mark { font-family: var(--f-display); font-size: 76px; line-height: 1; height: 38px; color: var(--bronze); }
.review__stars { display: flex; gap: 4px; color: var(--bronze); }
.review__stars svg { width: 16px; height: 16px; }
.review__text { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.review__who { font-family: var(--f-display); font-size: 20px; margin-top: auto; }
.review__meta { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }

.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 14px; align-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }
.slider-foot { margin-top: 44px; }
@media (max-width: 1080px) { .slider__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .slider__track { grid-auto-columns: 86%; } }

.masonry { columns: 3 300px; column-gap: 24px; }
.masonry .review { margin-bottom: 24px; break-inside: avoid; }

/* ==========================================================================
   Oltre le carte
   ========================================================================== */
.loves { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.love { text-align: center; }
.love__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid var(--bronze); display: grid; place-items: center; color: var(--bronze); }
.love__icon .icon { width: 32px; height: 32px; }
.love p { font-size: 15.5px; line-height: 1.4; }
.loves-family { margin-top: 56px; text-align: center; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
@media (max-width: 900px) { .loves { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 480px) { .loves { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Final CTA (sand)
   ========================================================================== */
.cta-final .h2 .h-light { color: var(--ink-soft); }
.cta-final .lead { margin-top: 22px; }
.cta-final .btn-row { margin-top: 36px; }
@media (max-width: 600px) { .cta-final .btn-row .btn { width: 100%; } }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { max-width: 920px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; background: transparent; border: 0; padding: 28px 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 24px); line-height: 1.25; color: var(--ink); }
.faq__icon { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--bronze); transition: transform .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 15px; top: 21px; width: 14px; height: 1.5px; background: var(--bronze); transition: transform .5s var(--ease), background-color .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__q[aria-expanded="true"] .faq__icon::before, .faq__q[aria-expanded="true"] .faq__icon::after { background: var(--white); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a .prose { padding: 0 68px 32px 0; }
.faq__a q { font-family: var(--f-display); quotes: "«" "»"; }
@media (max-width: 600px) { .faq__a .prose { padding-right: 0; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 52px); }
.form-card > .h3 { margin-bottom: 8px; }
.form-card > p { margin-bottom: 32px; color: var(--ink-soft); }
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; margin-bottom: 10px; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field label .opt { color: var(--ink-soft); letter-spacing: .02em; text-transform: none; font-weight: 300; font-size: 13px; }
.input, .select, .textarea { width: 100%; height: 56px; border: 2px solid var(--bronze); border-radius: 12px; background: var(--white); color: var(--ink); padding: 0 18px; font: 400 16px/1.4 var(--f-text); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
.textarea { height: auto; min-height: 160px; padding: 16px 18px; resize: vertical; line-height: 1.6; }
.select { padding-right: 50px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23212B2C' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(154, 117, 52, .15); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .field.has-error .check input { border-color: var(--ink); border-style: dashed; }
.field__error { display: none; margin-top: 8px; font-size: 14px; color: var(--ink); }
.field__error::before { content: "✦ "; color: var(--bronze); }
.field.has-error .field__error { display: block; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--bronze); border-radius: 6px; display: grid; place-items: center; cursor: pointer; background: var(--white); }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { box-shadow: 0 0 0 4px rgba(154, 117, 52, .25); outline: none; }
.check a { color: var(--ink); text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.form .btn { width: 100%; }
.form__status { font-size: 15px; min-height: 1em; }
.form-success { display: none; text-align: center; padding: 32px 0; }
.form-success .h3 { margin: 18px 0 14px; }
.form-success .icon { width: 44px; height: 44px; margin-inline: auto; color: var(--bronze); }
.form-card.is-sent .form, .form-card.is-sent > .h3, .form-card.is-sent > p { display: none; }
.form-card.is-sent .form-success { display: block; }
.hp { position: absolute !important; left: -9999px; }

.contact-side .frame { aspect-ratio: 3 / 4; width: min(340px, calc(100% - 24px)); margin-bottom: 56px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: 18px; padding: 16px 0; text-decoration: none; min-height: 44px; }
.contact-list .icon { color: var(--bronze); flex: none; }
.contact-list small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.contact-list strong { font-weight: 400; font-size: 17px; }
.contact-note { margin-top: 28px; font-size: 15.5px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: var(--muted-light); overflow: hidden; padding: clamp(72px, 8vw, 110px) 0 36px; }
.site-footer .astro { width: 820px; right: -300px; bottom: -400px; }
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
.footer-brand .logo { align-items: flex-start; }
.footer-brand .logo__name { font-size: 34px; }
.footer-quote { margin-top: 30px; font-family: var(--f-display); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--muted-light); max-width: 30ch; }
.footer-quote span { display: block; margin-top: 10px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-col h2 { font-family: var(--f-text); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: inline-block; padding: 7px 0; text-decoration: none; font-size: 15.5px; color: var(--muted-light); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { position: relative; z-index: 2; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(154, 162, 161, .2); font-size: 13.5px; color: var(--muted-light); }
.footer-bottom__row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a, .footer-bottom button { color: var(--muted-light); text-decoration: underline; text-decoration-color: rgba(154,162,161,.4); text-underline-offset: 3px; background: none; border: 0; padding: 0; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--white); }
.disclaimer { margin-top: 16px; max-width: 115ch; line-height: 1.6; font-size: 13px; opacity: .85; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } .site-footer { padding-bottom: 100px; } }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 1000px; margin-inline: auto; background: var(--ink); color: var(--muted-light); border: 1px solid rgba(217, 183, 119, .35); border-radius: 20px; padding: 24px 28px; display: none; gap: 18px 32px; align-items: center; grid-template-columns: 1fr auto; box-shadow: 0 20px 50px -24px rgba(33, 43, 44, .6); }
.cookie.is-visible { display: grid; }
.cookie h2 { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--white); margin-bottom: 6px; }
.cookie p { font-size: 14.5px; line-height: 1.55; }
.cookie a { color: var(--gold); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie__actions .btn { --h: 48px; padding: 0 22px; font-size: 14.5px; min-width: 124px; }
.cookie .btn--equal { background: transparent; border-color: var(--gold); color: var(--gold); }
.cookie .btn--equal:hover { background: var(--gold); color: var(--ink); }
.cookie .btn--text { background: transparent; color: var(--muted-light); text-decoration: underline; text-underline-offset: 4px; padding: 0 10px; min-width: 0; }
.cookie__prefs { grid-column: 1 / -1; display: none; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(154, 162, 161, .2); }
.cookie.show-prefs .cookie__prefs { display: grid; }
.cookie__prefs label { display: flex; gap: 12px; align-items: center; font-size: 14.5px; min-height: 44px; }
.cookie__prefs input { width: 20px; height: 20px; accent-color: var(--gold); }
@media (max-width: 820px) {
  .cookie { grid-template-columns: 1fr; padding: 22px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn:not(.btn--text) { flex: 1 1 40%; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 30px; margin: 44px 0 14px; }
.placeholder-box { border: 1.5px dashed var(--bronze); border-radius: 16px; padding: 28px; margin-top: 32px; background: var(--white); }

/* ==========================================================================
   Scroll reveal + page transitions
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.page-veil { position: fixed; inset: 0; z-index: 300; background: var(--ink); pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.page-veil.is-on { opacity: 1; }

/* ==========================================================================
   Reduced motion — everything off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero [data-seq] { opacity: 1 !important; transform: none !important; }
  .astro .spin, .stars .star { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Content always sits above decorative star layers */
.section .stars { opacity: .6; }
.hero .stars { opacity: .7; }
h1, h2, h3, .h1, .h2, .h3 { text-wrap: balance; }
/* Hero stacks below following sections so overlapping cards stay on top */
.page-hero { isolation: isolate; z-index: 1; }
.section:has(.overlap) { position: relative; z-index: 2; overflow: visible; overflow-x: clip; }
/* Rating stars are filled (flat, matte) — the only filled glyphs besides constellations */
.review__stars svg, .rating__stars svg { fill: currentColor; }
.field .check { display: flex; }

/* Star dust layer (see buildStarDust in script.js) */
.stars--dust { z-index: 0; opacity: 1 !important; }
.is-sand .stars--dust { color: var(--bronze); }
.site-footer > *:not(.stars):not(.astro) { position: relative; z-index: 1; }

/* Real client messages */
.review__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.review__body { display: flex; flex-direction: column; gap: 12px; }
.review__body .review__text { font-size: 16px; }
.review__reply { align-self: flex-end; max-width: 85%; margin: 4px 0; padding: 12px 16px; border: 1px solid var(--bronze); border-radius: 16px 16px 4px 16px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.review__reply-who { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.review__more { font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 4px; margin-top: auto; }
.review__more + .review__meta { margin-top: 0; }
.review__meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.masonry { columns: 2 380px; }
.masonry .review { padding: clamp(28px, 3vw, 40px); }
.rating__note { max-width: 46ch; margin: 28px auto 0; font-size: 16px; line-height: 1.6; color: var(--muted-light); }
.slider__track .review { min-height: 100%; }

/* Magic seal replaces the natal wheel (see buildAstro in script.js) */
.astro .seal { display: block; width: 100%; height: 100%; max-width: none; transform-origin: 50% 50%; user-select: none; }
.astro { --astro-o: .6; }
.astro--tone { --astro-o: .32; }
.astro--faint { --astro-o: .15; }

/* Cookie banner: close = reject, richer preference rows */
.cookie { position: fixed; }
.cookie__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted-light); cursor: pointer; border-radius: 50%; }
.cookie__close:hover, .cookie__close:focus-visible { color: var(--gold); }
.cookie__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cookie h2 { padding-right: 40px; }
.cookie__prefs label { align-items: flex-start; padding-block: 8px; line-height: 1.5; }
.cookie__prefs label input { flex: none; margin-top: 2px; }
.cookie__prefs b { color: var(--white); font-weight: 500; }

/* Legal pages */
.legal { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.legal h2:first-of-type { margin-top: 36px; }
.legal h3 { font-family: var(--f-text); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 28px 0 10px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--bronze); }
.legal b { font-weight: 500; color: var(--ink); }
.legal a, .link-btn { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal code { font-size: .9em; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.legal__updated { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal__table { overflow-x: auto; margin: 8px 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { white-space: nowrap; }
.legal__intro { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.legal h2 + .legal__updated { margin-top: -6px; margin-bottom: 14px; }
/* Comfortable tap targets for inline links on touch screens */
@media (pointer: coarse) {
  .site-footer a, .site-footer button, .review__more, .legal a, .link-btn, .cookie a { display: inline-block; padding-block: 6px; margin-block: -6px; }
}


/* Quotes: guillemets around the text instead of the large hanging mark */
.quote__mark { display: none; }
.quote__text::before { content: "« "; color: var(--bronze); }
.quote__text::after { content: " »"; color: var(--bronze); }
.is-dark .quote__text::before, .is-dark .quote__text::after { color: var(--gold); }

/* Reviews: real screenshots, swipeable */
.shots { list-style: none; padding: 0; margin: 0; grid-auto-columns: 360px; align-items: start; }
.shot__frame { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 10px; box-shadow: 0 18px 40px rgba(33, 43, 44, .08); }
.shot__frame img { display: block; width: 100%; height: auto; border-radius: 20px; }
.shot__cap { font-family: var(--f-display); font-size: 17px; color: var(--ink); text-align: center; padding: 14px 8px 6px; }
@media (max-width: 680px) { .shots { grid-auto-columns: 78%; } }
#recensioni { scroll-margin-top: 96px; }
@media (max-width: 900px) { #recensioni { scroll-margin-top: 72px; } }

/* ==========================================================================
   Mobile fixes (≤ 600px)
   ========================================================================== */
@media (max-width: 600px) {
  /* Hero: «&» inline before «Magia», no overlap */
  .hero__sub { margin-top: 26px; }

  /* Facts: three in a row */
  .facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .fact__num { font-size: 32px; }
  .fact__label { font-size: 12.5px; margin-top: 8px; }
}

@media (max-width: 900px) {
  /* Card of the day: centred */
  .oracle__media { display: flex; justify-content: center; }
  .oracle__media .frame { margin-inline: auto; }
  .oracle__intro { text-align: center; }
}
@media (max-width: 520px) {
  .oracle__reading { justify-items: center; text-align: center; }
  .oracle__msg .btn-row { justify-content: center; }
}

@media (max-width: 600px) {
  /* Footer brand block: centred */
  .footer-brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-brand .logo { flex-direction: column; align-items: center; gap: 10px; }
  .footer-brand .logo__words { align-items: center; }
  .footer-quote { text-align: center; }
}

.hero__sub { margin-top: clamp(24px, 3vw, 40px); }

/* ==========================================================================
   Chi sono — versione compatta (storia + principi + vita quotidiana)
   ========================================================================== */
.bio { font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 60ch; }
.bio q { font-style: italic; color: var(--ink); }
.bio-principles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.bio-principles li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; }
.bio-principles span { font-family: var(--f-display); font-size: 20px; color: var(--bronze); }
.bio-principles p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.bio-principles b { font-weight: 500; color: var(--ink); }
#chi-sono .facts { margin-top: 30px; padding-top: 26px; }
.bio-life { margin-top: 26px; font-size: 15px; line-height: 1.6; font-style: italic; color: var(--ink-soft); max-width: 60ch; }
#chi-sono .signature { margin-top: 18px; }

/* ==========================================================================
   Contatti — 4 canali
   ========================================================================== */
.channels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 520px; }
.channel { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.channel:hover, .channel:focus-visible { border-color: var(--bronze); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(33, 43, 44, .08); }
.channel__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--bronze); display: grid; place-items: center; color: var(--bronze); }
.channel__icon .icon { width: 22px; height: 22px; }
.channel__txt { display: flex; flex-direction: column; gap: 2px; }
.channel__txt strong { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.channel__txt small { font-size: 13.5px; color: var(--muted); }
.channel__arrow { color: var(--bronze); font-size: 18px; }
.channel--main { background: var(--ink); border-color: var(--ink); color: var(--white); }
.channel--main .channel__icon { border-color: var(--gold); color: var(--gold); }
.channel--main .channel__txt small { color: var(--muted-light); }
.channel--main .channel__arrow { color: var(--gold); }
.contact-grid { align-items: center; }
.contact-note { margin-top: 24px; max-width: 52ch; font-size: 15px; color: var(--ink-soft); }

/* ==========================================================================
   Cookie banner — compatto
   ========================================================================== */
.cookie { max-width: 720px; padding: 16px 20px; gap: 12px 20px; grid-template-columns: 1fr auto; align-items: center; }
.cookie h2 { font-size: 17px; margin-bottom: 2px; }
.cookie p { font-size: 13.5px; line-height: 1.5; }
.cookie__actions .btn { --h: 40px; padding: 0 16px; font-size: 13.5px; min-width: 0; }
.cookie .btn--text { padding: 0 6px; }
.cookie__close { top: 4px; right: 4px; width: 40px; height: 40px; }
@media (max-width: 760px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px 12px; grid-template-columns: 1fr; gap: 10px; border-radius: 16px; }
  .cookie__actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
  .cookie__actions .btn:not(.btn--text) { flex: none; }
}
