/* ============================================================
   IMPRENDITORIALMENTE — Ivano Della Tommasina
   Luxury / Executive system
   ============================================================ */

:root {
  /* paper / ink */
  --paper:    #F4F0E8;   /* warm ivory */
  --paper-2:  #FBF9F3;
  --card:     #FFFFFF;
  --ink:      #0F1C2B;   /* deep navy-black */
  --ink-2:    #16293D;
  --body:     #38454F;   /* body text on light */
  --muted:    #6E7A87;
  --line:     rgba(15,28,43,.14);
  --line-soft:rgba(15,28,43,.08);

  /* accent */
  --accent:   #1C4E84;   /* refined executive blue */
  --accent-bright: #2B6BAC;
  --accent-on-dark: #7FB0E0;
  --brass:    #B0935E;   /* whisper of warm metal */

  /* on dark */
  --on-dark:       #F4F0E8;
  --on-dark-soft:  rgba(244,240,232,.66);
  --on-dark-faint: rgba(244,240,232,.40);
  --line-dark:     rgba(244,240,232,.16);
  --line-dark-soft:rgba(244,240,232,.09);

  /* type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 30px 80px -48px rgba(15,28,43,.45);
  --shadow-soft: 0 18px 50px -30px rgba(15,28,43,.32);
}

/* heading font swap (tweak) */
body.font-sans h1, body.font-sans h2, body.font-sans h3,
body.font-sans .display { font-family: var(--sans); letter-spacing: -.025em; font-weight: 600; }

/* paper tone tweaks */
body.tone-cool { --paper: #FBFBFC; --paper-2: #FFFFFF; --card: #FFFFFF; --line: rgba(15,28,43,.11); }
body.tone-warm { --paper: #F1EBDF; --paper-2: #FBF7EE; }

/* accent tweak */
body.accent-brass { --accent: #9C7B45; --accent-bright: #B0935E; --accent-on-dark: #D8B987; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

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

/* ---------- shared editorial bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow.on-dark { color: var(--on-dark-soft); }
.eyebrow.idx { color: var(--accent); }
body.accent-brass .eyebrow.idx { color: var(--brass); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.01em;
 
  color: var(--ink);
}
.display em { font-style: italic; color: var(--accent); }
body.accent-brass .display em { color: var(--brass); }

.lede { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.65; color: var(--muted); }

/* buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
  border-radius: 6px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { --bg: var(--accent); --fg: #fff; box-shadow: 0 16px 40px -22px rgba(28,78,132,.85); }
.btn-primary:hover { --bg: var(--accent-bright); transform: translateY(-2px); }
.btn-dark { --bg: var(--ink); --fg: var(--paper); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { border-color: var(--on-dark); background: rgba(244,240,232,.06); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: .02em; color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.btn-link svg { transition: transform .3s var(--ease); }
.btn-link:hover { gap: 14px; border-color: var(--accent); color: var(--accent); }
.btn-link.on-dark { color: var(--on-dark); border-color: var(--line-dark); }
.btn-link.on-dark:hover { color: #fff; border-color: var(--on-dark); }
.btn-link.no-rule { border-bottom: none; padding-bottom: 6px; }
.btn-link.no-rule:hover { border-color: transparent; }

/* ---------- NAV (floating, refined) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-inline: var(--gutter);
  transition: height .4s var(--ease);
}
.nav.scrolled .nav-row { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  flex: 0 0 40px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  letter-spacing: .005em; line-height: 1; color: var(--on-dark);
  transition: color .35s var(--ease);
}
.brand-name small {
  display: block; font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--on-dark-faint); margin-top: 5px;
}
.nav.scrolled .brand-name { color: var(--ink); }
.nav.scrolled .brand-name small { color: var(--muted); }

.nav-menu { display: none; align-items: center; gap: 6px; }
@media (min-width: 940px) { .nav-menu { display: flex; } }
.nav-menu a {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-soft);
  padding: 10px 14px; border-radius: 6px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-menu a:hover { color: var(--on-dark); }
.nav.scrolled .nav-menu a { color: var(--muted); }
.nav.scrolled .nav-menu a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: none;
  padding: 11px 20px; border-radius: 6px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  background: var(--on-dark); color: var(--ink);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
@media (min-width: 560px) { .nav-cta { display: inline-flex; align-items: center; gap: 9px; } }
.nav.scrolled .nav-cta { background: var(--accent); color: #fff; }
.nav-cta:hover { transform: translateY(-2px); }

.burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 8px; cursor: pointer;
}
@media (min-width: 940px) { .burger { display: none; } }
.burger span { width: 18px; height: 1.5px; background: var(--on-dark); }
.nav.scrolled .burger { border-color: var(--line); }
.nav.scrolled .burger span { background: var(--ink); }

/* ---- services mega-dropdown (opens under the nav row) ---- */
.nav-services-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-services-toggle .chev { transition: transform .3s var(--ease); }
.nav-services-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-dropdown {
  overflow: hidden; max-height: 0;
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: max-height .42s var(--ease), border-color .42s var(--ease);
}
.nav-dropdown.open { max-height: 340px; border-bottom-color: var(--line-dark); }
.nav-dropdown-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--gutter) 22px;
  display: grid; gap: 10px;
}
@media (min-width: 760px) { .nav-dropdown-inner { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.nav-service {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 17px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.02);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.nav-service:hover { background: rgba(127,176,224,.09); border-color: var(--accent-on-dark); transform: translateY(-2px); }
.ns-idx { font-family: var(--serif); font-size: 20px; color: var(--accent-on-dark); line-height: 1.1; flex: 0 0 auto; }
.ns-main { display: flex; flex-direction: column; gap: 4px; }
.ns-main strong { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: #fff; }
.ns-main small { font-family: var(--sans); font-size: 12px; line-height: 1.45; color: var(--on-dark-soft); }

/* keep the whole header dark while the bar is open, even if scrolling turned the nav light */
.nav.menu-open { background: color-mix(in srgb, var(--ink) 94%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: transparent; }
.nav.menu-open .brand-name { color: var(--on-dark); }
.nav.menu-open .brand-name small { color: var(--on-dark-faint); }
.nav.menu-open .nav-menu a { color: var(--on-dark-soft); }
.nav.menu-open .nav-menu a:hover { color: #fff; }
.nav.menu-open .burger { border-color: var(--line-dark); }
.nav.menu-open .burger span { background: var(--on-dark); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-size: 34px; font-weight: 500;
  color: var(--on-dark); padding: 10px 0; border-bottom: 1px solid var(--line-dark-soft);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 8px;
  background: transparent; color: var(--on-dark); font-size: 22px; cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-top: clamp(96px, 12vh, 132px);
}
.hero::before { /* warm vignette, very subtle */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 12%, rgba(127,176,224,.10), transparent 55%),
    radial-gradient(90% 80% at 18% 100%, rgba(176,147,94,.07), transparent 60%);
}
.hero::after { display: none; }

.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-inline: var(--gutter);
  flex: 1;
  display: grid;
  /* mobile: headline + portrait side by side, the rest full width underneath */
  grid-template-columns: 1fr 40%;
  grid-template-areas:
    "headline figure"
    "body     body";
  align-items: end;
  column-gap: 16px;
  padding-block: 22px 30px;
}
.hero-headline { grid-area: headline; position: relative; z-index: 4; align-self: end; }
.hero-figure   { grid-area: figure; }
.hero-body     { grid-area: body; position: relative; z-index: 4; }
.hero-headline .eyebrow { margin-bottom: 20px; }

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 0.8fr 1.7fr;   /* give the portrait most of the right side */
    grid-template-areas:
      "headline figure"
      "body     figure";
    grid-template-rows: auto 1fr;          /* headline pinned to the top, body fills below */
    align-content: stretch;
    column-gap: clamp(24px, 4vw, 56px);
    padding-block: 28px 0;
  }
  /* text grouped at the TOP (small gap under the app bar) */
  .hero-headline { align-self: start; }
  .hero-body { align-self: start; }
  /* shorter header: cut off the lower body + empty space below the stats,
     while keeping the portrait the same big size (anchored at the top, the
     overflow at the bottom is clipped by the hero's overflow:hidden). */
  .hero { min-height: 86vh; }
  .hero .hero-figure {
    align-self: stretch;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 0;
  }
  .hero-headline .eyebrow { margin-bottom: 30px; }
  .hero .hero-portrait {
    height: 100svh; width: auto; max-width: none; flex: 0 0 auto;
    object-fit: contain; object-position: top center;
  }
  /* soft neon-azure GLOW behind the portrait — no ring/border, just light (z-index 0) */
  .hero .hero-ring {
    width: min(82%, 720px); aspect-ratio: 1; border-radius: 50%;
    left: auto; right: 2%; transform: none;
    bottom: auto; top: 6%;
    border: none; box-shadow: none;
    background: radial-gradient(circle at 50% 45%, rgba(80,205,255,.55), rgba(70,200,255,.22) 36%, rgba(70,200,255,.06) 56%, transparent 70%);
    filter: blur(36px);
    z-index: 0;
  }
  .hero .hero-ring::after { display: none; }
}
.hero h1 {
  font-size: clamp(54px, 9vw, 132px);
  line-height: .92;
  letter-spacing: -.015em;
  font-weight: 500;
  color: #fff;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-on-dark); }
.hero-sub {
  margin-top: 30px; max-width: 460px;
  font-family: var(--sans); font-size: 16.5px; line-height: 1.7;
  color: var(--on-dark-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 38px; }

.hero-stats {
  display: flex; gap: clamp(28px, 4vw, 52px); margin-top: 52px;
  padding-top: 30px; border-top: 1px solid var(--line-dark);
  max-width: 520px;
}
.hero-stat .n { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 500; color: #fff; line-height: 1; }
.hero-stat .n em { font-style: normal; color: var(--accent-on-dark); }
.hero-stat .l { font-family: var(--sans); font-size: 12.5px; color: var(--on-dark-faint); margin-top: 9px; max-width: 130px; line-height: 1.4; }

@media (max-width: 600px) {
  /* hero hugs its content and sits right under the app bar — no tall empty header */
  .hero { min-height: auto; padding-top: 84px; padding-bottom: 14px; }
  .hero-inner {
    grid-template-columns: 1fr auto;
    align-content: start;
    align-items: center;
    row-gap: 22px;
    column-gap: 16px;
    padding-block: 2px 0;
  }
  .hero-headline { align-self: center; }
  /* title is beside the portrait, so it must fit a narrower column */
  .hero h1 { font-size: clamp(28px, 8.5vw, 42px); }
  .hero-sub { margin-top: 18px; font-size: 15px; max-width: none; }
  .hero-actions { margin-top: 22px; gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-link { justify-content: center; }
  /* even three-column stats row, full width under the headline + photo */
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; margin-top: 26px; padding-top: 22px; max-width: none; }
  .hero-stat .n { font-size: clamp(26px, 8vw, 34px); }
  .hero-stat .l { font-size: 11px; margin-top: 5px; max-width: none; }

  /* circular portrait framed by a neon-azure glow ring — professional, not cut off.
     `.hero` prefix raises specificity so these win over the later base rules. */
  .hero .hero-figure {
    align-self: center; justify-self: end;
    width: clamp(140px, 40vw, 188px); aspect-ratio: 1; min-height: 0;
    border-radius: 50%; overflow: hidden;
    border: 1.5px solid rgba(70, 200, 255, .85);
    background: radial-gradient(circle at 50% 36%, rgba(70,200,255,.22), rgba(70,200,255,.05) 55%, transparent 72%);
    box-shadow:
      0 0 0 6px rgba(70,200,255,.08),
      0 0 30px 2px rgba(70,200,255,.50),
      inset 0 0 26px rgba(70,200,255,.16);
  }
  .hero .hero-portrait {
    width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: top center;
    filter: none;
  }
  .hero .hero-ring { display: none; }   /* the circle itself is the frame now */
}

/* hero portrait */
.hero-figure {
  position: relative; z-index: 2;
  align-self: end;
  height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 360px;
}
.hero-ring {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  width: min(112%, 560px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-dark);
  z-index: 0;
}
.hero-ring::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(127,176,224,.20), rgba(127,176,224,.05) 45%, transparent 70%);
  filter: blur(8px);
}
.hero-portrait {
  position: relative; z-index: 2;
  width: clamp(290px, 40vw, 480px);
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.5));
}
.hero-signature {
  position: absolute; z-index: 3;
  left: -6%; bottom: 8%;
  width: clamp(220px, 24vw, 340px);
  opacity: .9;
  filter: brightness(0) invert(1) opacity(.5);
  pointer-events: none;
}

/* hero footer strip */
.hero-foot {
  position: relative; z-index: 4;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--gutter) 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-dark-soft);
  font-family: var(--sans);
}
.hero-loc { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; letter-spacing: .04em; color: var(--on-dark-soft); }
.hero-loc .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 0 0 rgba(127,176,224,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(127,176,224,.45);} 70%{box-shadow:0 0 0 9px rgba(127,176,224,0);} 100%{box-shadow:0 0 0 0 rgba(127,176,224,0);} }
.hero-socials { display: flex; gap: 8px; }
.hero-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.hero-socials a:hover { color: #fff; border-color: var(--on-dark); }

/* HERO VARIANT: centered portrait */
body.hero-centered .hero-inner {
  grid-template-columns: 1fr;
  grid-template-areas: "headline" "body" "figure";
  justify-items: center; text-align: center;
}
body.hero-centered .hero-body { padding-bottom: 0; max-width: 900px; }
body.hero-centered .hero-sub { margin-inline: auto; }
body.hero-centered .hero-actions { justify-content: center; }
body.hero-centered .hero-stats { margin-inline: auto; justify-content: center; }
body.hero-centered .hero-figure { margin-top: 8px; }
body.hero-centered .hero-signature { left: 50%; transform: translateX(-50%); bottom: 2%; }
@media (min-width: 900px) {
  body.hero-centered .hero h1 { font-size: clamp(64px, 11vw, 168px); }
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lede { color: var(--on-dark-soft); }
/* On the dark (blue) background, accent text must use the lighter "on-dark" tone,
   otherwise the full-strength blue accent is unreadable. */
.section.dark .eyebrow.idx,
.section.dark .display em { color: var(--accent-on-dark); }

.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1.07; }
.sec-head .lede { margin-top: 22px; max-width: 620px; }
.sec-head.center .lede { margin-inline: auto; }

/* ============================================================
   MANIFESTO strip
   ============================================================ */
.manifesto { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.manifesto .wrap { display: grid; gap: 40px; }
@media (min-width: 880px) { .manifesto .wrap { grid-template-columns: auto 1fr; align-items: center; gap: 64px; } }
.manifesto .mark {
  font-family: var(--serif); font-size: clamp(90px, 13vw, 168px); line-height: .7;
  color: var(--accent); opacity: .22; font-weight: 600;
}
body.accent-brass .manifesto .mark { color: var(--brass); }
.manifesto blockquote { margin: 0; }
.manifesto p {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -.01em;
  color: var(--ink);
}
.manifesto p em { font-style: italic; color: var(--accent); }
body.accent-brass .manifesto p em { color: var(--brass); }
.manifesto cite {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 26px; font-family: var(--sans); font-style: normal;
  font-size: 13px; letter-spacing: .04em; color: var(--muted);
}
.manifesto cite::before { content: ""; width: 30px; height: 1px; background: var(--line); }

/* ============================================================
   ABOUT / CHI SONO
   ============================================================ */
.about-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 920px) { .about-grid { grid-template-columns: .82fr 1.18fr; } }

.about-figure { position: relative; }
.about-portrait {
  position: relative;
  aspect-ratio: 1/1; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1a3149 0%, var(--ink) 60%, #0a141f 100%);
  box-shadow: var(--shadow);
  display: flex; align-items: flex-end; justify-content: center;
}
.about-portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark-soft) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 20%, transparent 70%);
}
.about-portrait .glow {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(127,176,224,.20), transparent 66%);
  filter: blur(20px); z-index: 1;
}
.about-portrait img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.about-plate {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 4;
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px; border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
}
.about-plate .nm { font-family: var(--serif); font-weight: 600; font-size: 19px; color: #fff; line-height: 1; }
.about-plate .rl { font-family: var(--sans); font-size: 11.5px; letter-spacing: .04em; color: var(--on-dark-soft); margin-top: 6px; }
.about-yrs {
  position: absolute; top: 18px; right: 18px; z-index: 4;
  padding: 13px 16px; border-radius: 8px; text-align: right;
  background: color-mix(in srgb, var(--ink) 50%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
}
.about-yrs .n { font-family: var(--serif); font-size: 30px; font-weight: 600; color: #fff; line-height: 1; }
.about-yrs .n em { font-style: normal; color: var(--accent-on-dark); }
.about-yrs .l { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 6px; max-width: 92px; }

.about-body .eyebrow { margin-bottom: 22px; }
.about-body h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; margin-bottom: 28px; }
.about-lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--ink); font-weight: 500; }
.about-body p.copy { font-family: var(--sans); font-size: 16.5px; line-height: 1.75; color: var(--body); margin-top: 18px; }

.about-method { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.about-method .lbl { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper-2);
}
.about-tags span b { color: var(--accent); font-weight: 700; }
body.accent-brass .about-tags span b { color: var(--brass); }

.about-goals { list-style: none; margin: 30px 0 0; padding: 0; }
.about-goals li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 4px; border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 16.5px; color: var(--ink); font-weight: 500;
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.about-goals li:last-child { border-bottom: 1px solid var(--line); }
.about-goals li:hover { padding-left: 12px; color: var(--accent); }
.about-goals .n { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--accent); flex: 0 0 32px; }
body.accent-brass .about-goals .n, body.accent-brass .about-goals li:hover { color: var(--brass); }

/* ============================================================
   SERVIZI / PERCORSO
   ============================================================ */
.serv-grid { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid var(--line-dark); }
.serv-row {
  display: grid; grid-template-columns: auto 1fr; gap: 24px 40px;
  padding: 38px 0; border-bottom: 1px solid var(--line-dark);
  align-items: start;
  transition: background .4s var(--ease);
}
@media (min-width: 820px) { .serv-row { grid-template-columns: 130px 1fr auto; align-items: center; } }
.serv-row:hover { background: rgba(244,240,232,.03); }
.serv-idx { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 500; color: var(--accent-on-dark); line-height: 1; }
.serv-main { max-width: 640px; }
.serv-main h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 500; color: #fff; margin-bottom: 12px; }
.serv-main p { font-family: var(--sans); font-size: 15.5px; line-height: 1.65; color: var(--on-dark-soft); }
.serv-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.serv-tags span { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); padding: 5px 11px; border: 1px solid var(--line-dark); border-radius: 999px; }
.serv-go {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.serv-row:hover .serv-go { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(-45deg); }

/* SERVIZI VARIANT: cards */
.serv-cards { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .serv-cards { grid-template-columns: repeat(3, 1fr); } }
.serv-card {
  position: relative; padding: 34px 30px 30px;
  border: 1px solid var(--line-dark); border-radius: 10px;
  background: rgba(244,240,232,.02);
  transition: transform .4s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.serv-card:hover { transform: translateY(-6px); border-color: var(--line-dark); background: rgba(244,240,232,.05); }
.serv-card .serv-idx { font-size: 40px; margin-bottom: 22px; }
.serv-card h3 { font-family: var(--serif); font-size: 25px; color: #fff; margin-bottom: 12px; }
.serv-card p { font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--on-dark-soft); }
.serv-card .serv-tags { margin-top: 18px; }

/* toggle variants */
body.serv-cards-on .serv-grid { display: none; }
body:not(.serv-cards-on) .serv-cards { display: none; }

/* ============================================================
   VIDEO / REELS
   ============================================================ */
.reels-layout { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 940px) { .reels-layout { grid-template-columns: 1fr 1.04fr; } }

.reel-feature {
  position: relative; width: 100%; max-width: 360px; margin-inline: auto;
  aspect-ratio: 9/16; border-radius: 14px; overflow: hidden;
  background: #0b141d;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
  cursor: pointer;
}
.reel-feature video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-feature .ov {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(11,20,29,.05) 0%, rgba(11,20,29,.55) 100%);
  transition: opacity .35s var(--ease);
}
.reel-feature.playing .ov { opacity: 0; pointer-events: none; }
.reel-play {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(244,240,232,.95); color: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: transform .3s var(--ease);
}
.reel-feature:hover .reel-play { transform: scale(1.08); }
.reel-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(11,20,29,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  transition: opacity .3s var(--ease);
}
.reel-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #E0463C; }
.reel-feature.playing .reel-tag { opacity: 0; }

.reels-side .eyebrow { margin-bottom: 22px; }
.reels-side h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.07; }
.reels-side .lede { margin-top: 22px; }
.reels-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.reel-thumb {
  position: relative; aspect-ratio: 9/16; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-2);
  display: block; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.reel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-thumb .reel-thumb-play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  color: #fff; background: linear-gradient(180deg, rgba(11,20,29,.05) 0%, rgba(11,20,29,.5) 100%);
  opacity: .92; transition: opacity .3s var(--ease);
}
.reel-thumb:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.reel-thumb:hover .reel-thumb-play { opacity: 1; }
.reel-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.reel-thumb.active .reel-thumb-play { opacity: 0; }
.reels-meta { display: flex; gap: 28px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.reels-meta .m .n { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); line-height: 1; }
.reels-meta .m .l { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 7px; }

/* ============================================================
   RISULTATI
   ============================================================ */
.results-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 920px) { .results-grid { grid-template-columns: 1fr 1fr; } }
.results-copy h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; }
.results-copy .lede { margin-top: 22px; max-width: 480px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.kpi { padding: 30px 28px; border-bottom: 1px solid var(--line); }
.kpi:first-child { padding-left: 0; }
.kpi:last-child { padding-right: 0; }
.kpi + .kpi { border-left: 1px solid var(--line); }
@media (max-width: 620px) {
  .kpis { grid-template-columns: 1fr; }
  .kpi { padding: 26px 0; }
  .kpi + .kpi { border-left: 0; }
}
.kpi .n { font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.kpi .n em { font-style: normal; color: var(--accent); }
body.accent-brass .kpi .n em { color: var(--brass); }
.kpi .l { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 200px; }

/* ============================================================
   TESTIMONIANZE
   ============================================================ */
.test-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }
.test-card {
  display: flex; flex-direction: column; gap: 22px;
  padding: 34px 30px;
  border: 1px solid var(--line-dark); border-radius: 10px;
  background: rgba(244,240,232,.02);
}
.test-card .mk { font-family: var(--serif); font-size: 60px; line-height: .4; color: var(--accent-on-dark); height: 26px; }
.test-card p { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: #fff; font-weight: 500; flex: 1; }
.test-auth { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.test-auth .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.test-auth .who strong { display: block; font-family: var(--sans); font-size: 14.5px; color: #fff; font-weight: 600; }
.test-auth .who span { font-family: var(--sans); font-size: 12.5px; color: var(--on-dark-faint); }

/* ============================================================
   CTA / CONTATTI
   ============================================================ */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr minmax(380px, 460px); } }
.contact-copy h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; }
.contact-copy .lede { margin-top: 22px; max-width: 460px; }
.contact-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-steps li:last-child { border-bottom: 1px solid var(--line); }
.contact-steps .s { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--accent); }
.contact-steps strong { display: block; font-family: var(--sans); font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 5px; }
.contact-steps small { font-family: var(--sans); font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.contact-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .contact-assure { grid-template-columns: 1fr; } }
.contact-assure .ca { padding: 22px 22px 4px 0; }
.contact-assure .ca + .ca { padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 520px) { .contact-assure .ca + .ca { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 18px; } }
.contact-assure .ca-n { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1; }
.contact-assure .ca-l { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 9px; line-height: 1.4; }

.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(28px, 3vw, 38px);
  box-shadow: var(--shadow-soft);
}
.contact-card .ch { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-card .ch .eyebrow { color: var(--accent); margin-bottom: 14px; }
body.accent-brass .contact-card .ch .eyebrow { color: var(--brass); }
.contact-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.1; }
.contact-card .ch p { font-family: var(--sans); font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.ci {
  display: flex; align-items: center; gap: 15px; padding: 15px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--paper-2);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.ci:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--card); }
.ci .ico { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px; display: grid; place-items: center; background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line-soft); }
.ci.wa .ico { background: #25D366; color: #fff; box-shadow: 0 6px 16px -6px rgba(37,211,102,.6); }
.ci.ig .ico { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; box-shadow: 0 6px 16px -6px rgba(214,36,159,.6); }
.ci.tt .ico { background: #010101; color: #fff; box-shadow: 0 6px 16px -6px rgba(1,1,1,.6); }
.ci small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ci strong { font-family: var(--sans); font-size: 15.5px; color: var(--ink); font-weight: 600; }
.contact-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--ink); color: var(--on-dark); padding: clamp(40px, 5vw, 64px) 0 32px; position: relative; overflow: hidden; }
.foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 85% 0%, rgba(127,176,224,.10), transparent 55%);
}
.foot .wrap { position: relative; z-index: 1; }

/* finale band */
.foot-finale {
  display: grid; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 820px) { .foot-finale { grid-template-columns: 1fr auto; gap: 56px; } }
.foot-finale-copy .eyebrow { margin-bottom: 20px; }
.foot-statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 6vw, 72px); line-height: 1.02; letter-spacing: -.015em;
  color: #fff;
}
body.font-sans .foot-statement { font-family: var(--sans); letter-spacing: -.025em; font-weight: 600; }
.foot-statement em { font-style: italic; color: var(--accent-on-dark); }
.foot-bigcta {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 14px 14px 14px 30px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 20px 50px -22px rgba(28,78,132,.9);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.foot-bigcta .ic {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px;
  display: grid; place-items: center; background: rgba(255,255,255,.16);
  transition: transform .35s var(--ease);
}
.foot-bigcta:hover { transform: translateY(-3px); background: var(--accent-bright); }
.foot-bigcta:hover .ic { transform: rotate(-45deg); }

.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.7fr .8fr .8fr 1fr; } }
.foot-brand { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.foot-brand .brand-name { color: #fff; }
.foot-about p { font-family: var(--sans); font-size: 14.5px; line-height: 1.7; color: var(--on-dark-soft); max-width: 340px; }
.foot-sign { margin-top: 26px; width: 230px; filter: brightness(0) invert(1) opacity(.5); }
.foot-col h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 18px; }
.foot-col nav, .foot-col .list { display: flex; flex-direction: column; gap: 12px; }
.foot-col a, .foot-col .list span { font-family: var(--sans); font-size: 14.5px; color: var(--on-dark-soft); transition: color .25s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid var(--line-dark-soft); font-family: var(--sans); font-size: 12.5px; color: var(--on-dark-faint); }
.foot-credo { color: var(--on-dark-soft); }

/* ============================================================
   reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
body.motion-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
