/*
Theme Name: Zarart Studio
Theme URI: https://zarart.it/
Author: ZARART
Description: Editorial wedding & event photography theme for ZARART (Lazio, Italy). Matrimoni, battesimi, cerimonie, eventi.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zarart-studio
Tags: custom-logo, one-column, two-columns, portfolio, photography, wedding
*/

/* ============================================================
   ZARART — Design tokens · "Caldo cinematografico"
   Palette: warm cream / espresso ink / caramel + peach / blush
   Type:    Fraunces (display serif) + Manrope (body)
   ============================================================ */
:root {
  --bg:        #FBF7F1;   /* warm cream */
  --surface:   #F4ECE0;   /* cream */
  --surface-2: #EBDFCF;   /* deeper sand */
  --ink:       #2E2620;   /* warm espresso (body + heading) */
  --heading:   #271F18;
  --muted:     #6B5D50;   /* warm taupe (AA on cream) */
  --muted-2:   #8E8073;
  --line:      rgba(46, 38, 32, 0.14);
  --line-soft: rgba(46, 38, 32, 0.08);

  --gold:      #BE8A5C;   /* warm caramel accent */
  --gold-2:    #98683C;   /* deep caramel (hover) */
  --gold-soft: #E4B98A;   /* warm peach (fills on photos) */
  --blush:     #EBCBA8;   /* soft warm highlight */
  --white:     #ffffff;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 10px rgba(46, 38, 32, 0.06);
  --shadow-md: 0 18px 50px rgba(46, 38, 32, 0.14);
  --shadow-lg: 0 40px 90px rgba(46, 38, 32, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  color: var(--heading);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h4 { font-size: 1.18rem; letter-spacing: 0; }
p  { margin: 0 0 1.1em; max-width: 68ch; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip link — hidden until focused via keyboard */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--ink, #2b211b); color: #fff;
  padding: 0.7rem 1.1rem; border-radius: 8px;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Global keyboard focus ring for interactive elements */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Shared eyebrow / kicker */
.kicker, .meta {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker { display: inline-flex; align-items: center; gap: 0.7em; margin-bottom: 1rem; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }

.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.8em;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(46,38,32,0.14); }
.btn-primary:hover { background: var(--gold-2); box-shadow: 0 14px 30px rgba(46,38,32,0.22); }
.btn-gold { background: var(--gold-soft); color: #3A2A1C; box-shadow: 0 6px 16px rgba(143,104,60,0.20); }
.btn-gold:hover { background: #D7A877; color: #3A2A1C; box-shadow: 0 14px 30px rgba(143,104,60,0.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: clamp(16px, 2.4vw, 30px) 0;
}
.site-header.is-solid {
  position: fixed; background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.45s var(--ease);
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Inner pages: solid header from the top (dark text on cream) */
.site-header.is-inner {
  position: fixed; background: rgba(251, 247, 241, 0.96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.site-header.is-inner .brand a { color: var(--ink); }
.site-header.is-inner .brand small { color: var(--muted); }
.site-header.is-inner .primary-nav a { color: var(--ink); }
.site-header.is-inner .header-cta { border-color: var(--gold); color: var(--gold-2); }
.site-header.is-inner .header-cta:hover { background: var(--gold); color: #fff; }
.site-header.is-inner .nav-toggle { color: var(--ink); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand a { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.16em; color: #fff; }
.brand small { display: block; font-family: var(--ff-body); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 2px; }
.site-header.is-solid .brand a { color: var(--ink); }
.site-header.is-solid .brand small { color: var(--muted); }
.brand .logo img { max-height: 54px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); margin: 0; padding: 0; }
.primary-nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); position: relative; padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.primary-nav a:hover::after, .current-menu-item > a::after { width: 100%; }
.site-header.is-solid .primary-nav a { color: var(--ink); }

.header-cta {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.78em 1.5em; border: 1px solid rgba(255,255,255,0.55); border-radius: 2px; color: #fff;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.site-header.is-solid .header-cta { border-color: var(--gold); color: var(--gold-2); }
.site-header.is-solid .header-cta:hover { background: var(--gold); color: #fff; }

.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; padding: 6px;
}
.site-header.is-solid .nav-toggle { color: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; left: 0; right: 0; top: -14%; height: 128%; z-index: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.2) contrast(1.1) brightness(0.96); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(54,38,26,0.30) 0%, rgba(54,38,26,0.18) 45%, rgba(46,32,22,0.52) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(46,32,22,0.40), transparent 65%);
}
.hero .container { position: relative; z-index: 2; max-width: 1000px; padding-top: 120px; padding-bottom: clamp(56px, 8vh, 100px); }
.hero .kicker { color: #fff; justify-content: center; }
.hero .kicker::before { background: var(--gold-soft); opacity: 1; }
.hero h1 { color: #fff; max-width: 18ch; margin-inline: auto; font-weight: 400; text-shadow: 0 2px 36px rgba(30,20,12,0.34); }
.hero h1 em { font-style: italic; color: var(--blush); }
.hero .lead { color: rgba(255,255,255,0.92); max-width: 54ch; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Hero entrance — staggered fade-up (ease-out) */
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .kicker { animation: heroRise 0.9s var(--ease) 0.05s both; }
.hero h1       { animation: heroRise 0.9s var(--ease) 0.16s both; }
.hero .lead    { animation: heroRise 0.9s var(--ease) 0.30s both; }
.hero-actions  { animation: heroRise 0.9s var(--ease) 0.44s both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero__scroll  { animation: heroFade 1s var(--ease) 0.7s both; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.hero__scroll span { width: 1px; height: 46px; background: rgba(255,255,255,0.6); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   Sections / shared
   ============================================================ */
.section { padding: clamp(72px, 11vh, 150px) 0; }
.section.alt { background: var(--surface); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink .lead { color: rgba(255,255,255,0.78); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vh, 72px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { margin-inline: auto; }
.section-head.left p { margin-inline: 0; }

/* ---------- Intro statement ---------- */
.statement { text-align: center; max-width: 980px; margin: 0 auto; }
.statement p {
  font-family: var(--ff-display); font-size: clamp(1.5rem, 3.2vw, 2.45rem); line-height: 1.32;
  color: var(--heading); font-weight: 400; max-width: none; margin: 0 auto;
}
.statement .sig { display: block; margin-top: 1.4rem; font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; background: var(--bg); padding: 40px 30px 34px; overflow: hidden;
  transition: background-color 0.4s var(--ease); min-height: 320px;
}
.service__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,0.25), rgba(20,16,13,0.78)); }
.service > :not(.service__img) { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.service .num { font-family: var(--ff-display); font-size: 0.95rem; color: var(--gold); font-style: italic; }
.service h4 { margin: 1.6rem 0 0.5rem; font-size: 1.42rem; font-family: var(--ff-display); font-weight: 500; }
.service p { font-size: 0.96rem; color: var(--muted); margin: 0; }
.service .more { display: inline-block; margin-top: 1.4rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.service:hover .service__img { opacity: 1; }
.service:hover h4, .service:hover .num, .service:hover .more { color: #fff; }
.service:hover p { color: rgba(255,255,255,0.85); }

/* ---------- Services — image-forward tiles ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-tile { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; color: #fff; box-shadow: var(--shadow-sm); isolation: isolate; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.svc-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); z-index: 0; }
.svc-tile:hover img { transform: scale(1.06); }
.svc-tile__grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(26,18,12,0) 26%, rgba(26,18,12,0.42) 60%, rgba(26,18,12,0.86) 100%); }
.svc-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; display: flex; flex-direction: column; }
.svc-tile__num { font-family: var(--ff-display); font-style: italic; font-size: 0.95rem; color: var(--blush); }
.svc-tile__title { font-family: var(--ff-display); font-weight: 500; font-size: 1.55rem; line-height: 1.1; margin-top: 0.25rem; color: #fff; }
.svc-tile__desc { color: rgba(255,255,255,0.88); font-size: 0.94rem; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.45s var(--ease), margin-top 0.5s var(--ease); }
.svc-tile__more { margin-top: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.svc-tile:hover .svc-tile__desc, .svc-tile:focus-within .svc-tile__desc { max-height: 170px; opacity: 1; margin-top: 0.7rem; }
.svc-tile:hover .svc-tile__more, .svc-tile:focus-within .svc-tile__more { opacity: 1; transform: none; }
.svc-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Editorial gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 9vw; gap: 14px;
}
.g-item { overflow: hidden; position: relative; border-radius: 2px; background: var(--surface-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item::after {
  content: attr(data-label); position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.g-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(20,16,13,0.5));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.g-item:hover::after { opacity: 1; transform: translateY(0); }
.g-item:hover::before { opacity: 1; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.row-2 { grid-row: span 2; } .row-3 { grid-row: span 3; }
.gallery-cta { text-align: center; margin-top: clamp(32px, 5vh, 56px); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-md); }
.split__media .badge {
  position: absolute; right: -22px; bottom: 34px; background: var(--bg); padding: 22px 26px; border-radius: 2px;
  box-shadow: var(--shadow-md); text-align: center; border: 1px solid var(--line-soft);
}
.split__media .badge strong { display: block; font-family: var(--ff-display); font-size: 2.4rem; color: var(--gold-2); line-height: 1; }
.split__media .badge span { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.signature { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem; color: var(--gold-2); margin-top: 1rem; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat strong { display: block; font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 0.7rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 3px; padding: 34px 30px; box-shadow: var(--shadow-sm); }
.testi-card .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.9rem; margin-bottom: 1rem; }
.testi-card blockquote { margin: 0 0 1.4rem; font-family: var(--ff-display); font-style: italic; font-size: 1.18rem; line-height: 1.5; color: var(--heading); }
.testi-card .who { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.testi-card .who b { color: var(--ink); font-weight: 600; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.step .num { font-family: var(--ff-display); font-style: italic; font-size: 2.4rem; color: var(--gold); }
.step h4 { margin: 0.6rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band__media { position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: 0; will-change: transform; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20,16,13,0.62); }
.cta-band .container { position: relative; z-index: 2; padding-block: clamp(80px, 14vh, 160px); }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band .lead { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: clamp(56px, 8vh, 90px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 70px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .mark { font-family: var(--ff-display); font-size: 1.7rem; letter-spacing: 0.18em; color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.62); margin-top: 1rem; font-size: 0.96rem; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; font-family: var(--ff-body); font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: inline-flex; }
.footer-social svg { width: 19px; height: 19px; fill: rgba(255,255,255,0.7); transition: fill 0.2s var(--ease); }
.footer-social a:hover svg { fill: var(--gold); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ============================================================
   Generic pages / prose
   ============================================================ */
.page-hero { padding: clamp(150px, 22vh, 240px) 0 clamp(48px, 7vh, 90px); background: var(--surface); text-align: center; }
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Inner pages — hero, cards, team, services, forms
   ============================================================ */
.page-hero { position: relative; }
.page-hero .kicker { justify-content: center; }
.page-hero h1 { margin: 0; }
.page-hero .lead { margin: 1.1rem auto 0; max-width: 60ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.info-card { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px; padding: 34px 30px; box-shadow: var(--shadow-sm); }
.info-card .ic { width: 38px; height: 38px; color: var(--gold); margin-bottom: 18px; }
.info-card .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }
.info-card h4 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 500; margin: 0 0 0.5rem; }
.info-card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.info-card a { color: var(--gold-2); }

.split + .split { margin-top: clamp(48px, 8vh, 110px); }
.split--reverse .split__media { order: 2; }
.svc-num { font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.svc-list { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0.7rem; }
.svc-list li { position: relative; padding-left: 26px; color: var(--muted); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 1px; background: var(--gold); }
.price { font-family: var(--ff-display); font-style: italic; color: var(--gold-2); font-size: 1.15rem; }
.split__media.media-43 img { aspect-ratio: 4/3; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; }
.person img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; margin-bottom: 16px; }
.person .name { font-family: var(--ff-display); font-size: 1.3rem; }
.person .role { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); font: inherit; font-size: 0.98rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(190,138,92,0.18); }
textarea.input { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.notice { padding: 14px 18px; border-radius: 3px; font-size: 0.95rem; margin-bottom: 22px; }
.notice.ok { background: #EAF3E2; color: #3A5A22; border: 1px solid #C5DDAE; }
.notice.err { background: #F8E9E5; color: #8A3320; border: 1px solid #E6C3B7; }

.form-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form-aside { display: grid; gap: 20px; }
.form-aside img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-md); }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ic { color: var(--gold); width: 22px; height: 22px; flex: none; margin-top: 3px; }
.info-row .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.info-row .lbl { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.info-row .val { font-size: 1.02rem; color: var(--ink); }
.info-row a { color: var(--ink); }

/* ---------- Blog / posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; }
.post-card { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--surface-2); display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .date { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.post-card h4 { font-family: var(--ff-display); font-size: 1.32rem; font-weight: 500; margin: 0; }
.post-card h4 a { color: var(--heading); }
.post-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.post-card .more { margin-top: auto; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.pagination { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); font-size: 0.9rem; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.entry-meta { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.single-featured { width: 100%; max-height: 60vh; object-fit: cover; border-radius: 4px; margin-bottom: 2.4rem; box-shadow: var(--shadow-md); }

/* ---------- Founder note (no fake faces) ---------- */
.founder-note { max-width: 820px; margin: 0 auto; text-align: center; }
.founder-note .kicker { justify-content: center; }
.founder-note blockquote { margin: 0; font-family: var(--ff-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.42; color: var(--heading); }
.founder-sign { margin-top: 1.6rem; font-family: var(--ff-display); font-size: 1.5rem; color: var(--gold-2); }
.founder-sign span { display: block; font-family: var(--ff-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Reviews invite (honest, no fake reviews) ---------- */
.reviews-invite { max-width: 760px; margin: 0 auto; text-align: center; }
.reviews-invite .kicker { justify-content: center; }
.reviews-invite__mark { font-family: var(--ff-display); font-size: clamp(4rem, 9vw, 6rem); line-height: 0.5; color: var(--gold); opacity: 0.45; height: 0.5em; }
.reviews-invite h2 { margin-top: 0.4rem; }
.reviews-invite p { margin: 0 auto; }
.reviews-invite__actions { margin-top: 1.9rem; }

/* ---------- Pricing / listino ---------- */
.pricing-group + .pricing-group { margin-top: clamp(40px, 6vh, 70px); }
.pricing-group__head { margin-bottom: 10px; }
.pricing-group__head h3 { margin: 0 0 6px; }
.pricing-group__head p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.price-row:last-child { border-bottom: 0; }
.price-row .pr-name { font-family: var(--ff-display); font-size: 1.28rem; color: var(--heading); }
.price-row .pr-desc { color: var(--muted); font-size: 0.95rem; margin-top: 4px; max-width: 64ch; }
.price-row .pr-price { font-family: var(--ff-display); color: var(--gold-2); font-size: 1.5rem; white-space: nowrap; }
.price-note { margin-top: clamp(28px, 4vh, 44px); color: var(--muted); font-size: 0.96rem; max-width: 70ch; }
.price-note strong { color: var(--ink); font-weight: 600; }

/* ---------- Eventi (portfolio) ---------- */
.ev-cover { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.ev-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.12) contrast(1.06); }
.ev-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,20,12,0.12) 30%, rgba(30,20,12,0.74)); }
.ev-cover .container { position: relative; z-index: 2; padding-top: 130px; padding-bottom: clamp(40px, 6vh, 64px); }
.ev-cover .kicker { color: #fff; }
.ev-cover h1 { color: #fff; margin: 0; max-width: 18ch; }
.ev-cover h1 em { font-style: italic; color: var(--blush); }
.ev-meta { margin-top: 14px; font: 600 0.78rem/1 var(--ff-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.82); display: flex; gap: 16px; flex-wrap: wrap; }
.ev-intro { max-width: 760px; }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ev-shot { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 3/2; box-shadow: var(--shadow-sm); background: var(--surface-2); }
.ev-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ev-shot:hover img { transform: scale(1.05); }
.ev-shot.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.fb-embed { display: flex; justify-content: center; }
.fb-embed iframe { max-width: 100%; border: 0; }

.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { display: block; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event-card .thumb { aspect-ratio: 4/3; overflow: hidden; display: block; background: var(--surface-2); }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.event-card:hover .thumb img { transform: scale(1.05); }
.event-card .body { padding: 18px 22px 22px; display: block; }
.event-card .cat { font: 600 0.66rem/1 var(--ff-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.event-card h3 { font-family: var(--ff-display); font-weight: 500; font-size: 1.3rem; margin: 0.4rem 0 0; color: var(--heading); }
.event-card .date { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 5px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 16vw; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px;
    background: var(--bg); padding: 40px var(--gutter);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 60;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .primary-nav a, .site-header .primary-nav a { color: var(--ink); font-size: 0.95rem; }
  .header-cta, .site-header .header-cta { color: var(--gold-2); border-color: var(--gold); }
  .hero__scroll { display: none; }
  .svc-tile__desc { max-height: 170px; opacity: 1; margin-top: 0.7rem; }
  .svc-tile__more { opacity: 1; transform: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .badge { right: 18px; }
  .testi { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-split { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-tile { aspect-ratio: 4/3; }
  .ev-grid { grid-template-columns: 1fr; }
  .ev-shot.wide { aspect-ratio: 3/2; }
  .events-grid { grid-template-columns: 1fr; }
  .ev-cover { min-height: 58vh; }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 30vw; }
  .gallery .g-item { grid-column: span 6 !important; grid-row: span 1 !important; }
  .stats { grid-template-columns: 1fr 1fr; }
  .price-row { flex-direction: column; gap: 6px; }
  .price-row .pr-price { font-size: 1.35rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
