/* =====================================================================
   Migrated from index.html inline style. Kept before the active stylesheet
   rules to preserve the previous cascade without changing visuals.
   ===================================================================== */
    :root {
      --ink: #15140f;
      --charcoal: #1f1e1a;
      --charcoal-soft: #2b2a25;
      --paper: #f4efe6;
      --paper-soft: #ece5d6;
      --paper-deep: #e0d6c0;
      --white: #fffaf3;
      --gold: #b8965b;
      --gold-bright: #d6b87a;
      --gold-dark: #7c6537;
      --muted: #6e665b;
      --line: rgba(36, 36, 35, 0.14);
      --line-strong: rgba(36, 36, 35, 0.22);
      --shadow-soft: 0 18px 60px rgba(18, 18, 16, 0.12);
      --shadow-strong: 0 32px 90px rgba(18, 18, 16, 0.32);
      --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
      --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
      --container: 1320px;
      --header-h: 78px;
    }

    *, *::before, *::after { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; }

    ::selection { background: var(--gold); color: var(--ink); }

    /* ---------- Scroll progress bar ---------- */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      width: 0;
      background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
      z-index: 100;
      transition: width 80ms linear;
      will-change: width;
    }

    /* ---------- Header ---------- */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px clamp(20px, 4vw, 64px);
      background: rgba(21, 20, 15, 0.55);
      color: var(--white);
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      border-bottom: 1px solid rgba(255, 250, 243, 0.06);
      transition: background 320ms var(--ease-out), padding 320ms var(--ease-out), border-color 320ms var(--ease-out);
    }

    .site-header.is-scrolled {
      background: rgba(15, 14, 11, 0.92);
      padding-top: 12px;
      padding-bottom: 12px;
      border-bottom-color: rgba(184, 150, 91, 0.22);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-family: var(--serif);
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: opacity 200ms var(--ease-out);
    }

    .brand:hover { opacity: 0.85; }

    .brand img {
      width: 44px;
      height: 44px;
      object-fit: contain;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    }

    .brand span { display: inline-block; }

    .site-nav {
      display: flex;
      align-items: center;
      gap: clamp(18px, 2.4vw, 36px);
      font-size: 0.74rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    .site-nav a {
      position: relative;
      padding: 6px 0;
      opacity: 0.78;
      transition: opacity 240ms var(--ease-out), color 240ms var(--ease-out);
    }

    .site-nav a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: var(--gold);
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 320ms var(--ease-out);
    }

    .site-nav a:hover {
      opacity: 1;
      color: var(--gold-bright);
    }

    .site-nav a:hover::after { transform: scaleX(1); }

    .nav-cta {
      padding: 10px 20px !important;
      border: 1px solid rgba(255, 250, 243, 0.28);
      border-radius: 999px;
      transition: all 240ms var(--ease-out) !important;
    }

    .nav-cta:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink) !important;
    }

    .nav-cta::after { display: none !important; }

    .nav-check, .nav-toggle { display: none; }

    /* ---------- Layout helpers ---------- */
    .section {
      position: relative;
      padding: clamp(80px, 11vw, 160px) clamp(20px, 6vw, 96px);
    }

    .section-dark {
      color: var(--white);
      background:
        radial-gradient(ellipse at 16% 10%, rgba(184, 150, 91, 0.18), transparent 38%),
        radial-gradient(ellipse at 85% 80%, rgba(184, 150, 91, 0.08), transparent 50%),
        linear-gradient(140deg, #18171338 0%, #1f1e1a 50%, #100f0c 100%);
    }

    .section-light { background: var(--paper); }
    .section-paper { background: var(--white); }

    .container {
      max-width: var(--container);
      margin: 0 auto;
    }

    /* ---------- Typography ---------- */
    .eyebrow,
    .section-kicker,
    .panel-kicker {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 20px;
      color: var(--gold);
      font-family: var(--sans);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.28em;
      text-transform: uppercase;
    }

    .eyebrow::before,
    .section-kicker::before,
    .panel-kicker::before {
      content: "";
      width: 32px;
      height: 1px;
      background: currentColor;
      opacity: 0.6;
    }

    .eyebrow.dark,
    .section-kicker.dark,
    .panel-kicker.dark { color: var(--gold-dark); }

    h1, h2, h3, h4 {
      font-family: var(--serif);
      font-weight: 500;
      line-height: 1.04;
      letter-spacing: -0.015em;
      margin: 0;
    }

    h1 {
      font-size: clamp(2.6rem, 6.4vw, 6rem);
      letter-spacing: -0.025em;
      font-weight: 500;
    }

    h2 {
      font-size: clamp(1.9rem, 4.2vw, 4rem);
      letter-spacing: -0.02em;
    }

    h3 {
      font-size: clamp(1.25rem, 2vw, 1.7rem);
      letter-spacing: -0.01em;
      font-weight: 500;
    }

    p { margin: 0; }

    .lead {
      font-size: clamp(1.05rem, 1.4vw, 1.2rem);
      line-height: 1.7;
      color: rgba(255, 250, 243, 0.78);
      max-width: 620px;
    }

    .lead.dark { color: var(--muted); }

    /* ---------- Buttons ---------- */
    .button {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 54px;
      padding: 14px 28px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: 1px solid currentColor;
      border-radius: 999px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out);
    }

    .button::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--gold-bright);
      transform: translateY(101%);
      transition: transform 360ms var(--ease-out);
      z-index: -1;
    }

    .button:hover { transform: translateY(-2px); }
    .button:hover::before { transform: translateY(0); }

    .button-primary {
      color: var(--ink);
      background: var(--gold);
      border-color: var(--gold);
    }

    .button-primary:hover {
      color: var(--ink);
      border-color: var(--gold-bright);
    }

    .button-ghost {
      color: var(--white);
      border-color: rgba(255, 250, 243, 0.32);
      background: transparent;
    }

    .button-ghost:hover {
      color: var(--ink);
      border-color: var(--gold-bright);
    }

    .button-arrow {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 1.5;
      fill: none;
      transition: transform 320ms var(--ease-out);
    }

    .button:hover .button-arrow { transform: translateX(4px); }

    /* ---------- HERO ---------- */
    .hero {
      position: relative;
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr;
      align-items: end;
      padding: calc(var(--header-h) + 60px) clamp(20px, 6vw, 96px) clamp(60px, 7vw, 100px);
      overflow: hidden;
      isolation: isolate;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      /* Timbro ceralacca come sfondo cover + velatura blu per leggibilità testo */
      background:
        linear-gradient(135deg,
          rgba(15, 23, 42, 0.88) 0%,
          rgba(23, 37, 63, 0.72) 45%,
          rgba(15, 23, 42, 0.82) 100%),
        url('assets/studio-timbro-legale@0%2C75x.jpg') center / cover no-repeat;
      z-index: -2;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 250, 243, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 250, 243, 0.018) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
      z-index: -1;
      opacity: 0.5;
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.9fr);
      gap: clamp(40px, 6vw, 100px);
      align-items: end;
      max-width: var(--container);
      margin: 0 auto;
      width: 100%;
    }

    .hero-copy { color: var(--white); }

    .hero-copy h1 {
      color: var(--white);
    }

    .hero-copy h1 .accent {
      display: inline-block;
      font-style: italic;
      color: var(--gold-bright);
      font-weight: 500;
    }

    .hero-copy .lead { margin-top: 32px; }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 44px;
    }

    .hero-portrait {
      position: relative;
      margin: 0;
      justify-self: end;
      width: min(100%, 500px);
      aspect-ratio: 3 / 4;
      max-height: clamp(420px, calc(100vh - var(--header-h) - 200px), 700px);
      overflow: hidden;
    }

    .hero-portrait::before {
      content: "";
      position: absolute;
      inset: -22px 24px 24px -22px;
      border: 1px solid rgba(184, 150, 91, 0.42);
      z-index: 0;
      transition: inset 600ms var(--ease-out);
    }

    .hero-portrait::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 58%, rgba(15, 14, 11, 0.45) 100%);
      z-index: 2;
      pointer-events: none;
    }

    .hero-portrait img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 12%;
      filter: saturate(0.88) contrast(1.04);
    }

    .hero-portrait figcaption {
      position: absolute;
      z-index: 3;
      left: clamp(16px, 3vw, 32px);
      bottom: clamp(16px, 3vw, 28px);
      padding: 12px 18px;
      color: var(--white);
      background: rgba(21, 20, 15, 0.72);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(184, 150, 91, 0.35);
      font-family: var(--serif);
      font-size: 1.05rem;
      letter-spacing: 0.02em;
    }

    .hero-meta {
      position: absolute;
      bottom: clamp(20px, 3vw, 40px);
      left: clamp(20px, 6vw, 96px);
      right: clamp(20px, 6vw, 96px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      max-width: var(--container);
      margin: 0 auto;
      pointer-events: none;
      color: rgba(255, 250, 243, 0.55);
      font-size: 0.72rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

    .scroll-cue {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      pointer-events: auto;
    }

    .scroll-cue-line {
      width: 60px;
      height: 1px;
      background: rgba(255, 250, 243, 0.4);
      position: relative;
      overflow: hidden;
    }

    .scroll-cue-line::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--gold-bright);
      transform: translateX(-100%);
      animation: cueLine 2.4s ease-in-out infinite;
    }

    @keyframes cueLine {
      0% { transform: translateX(-100%); }
      50% { transform: translateX(0); }
      100% { transform: translateX(100%); }
    }

    /* ---------- Marquee / values strip ---------- */
    .marquee {
      overflow: hidden;
      padding: 28px 0;
      background: var(--charcoal);
      color: var(--white);
      border-top: 1px solid rgba(184, 150, 91, 0.18);
      border-bottom: 1px solid rgba(184, 150, 91, 0.18);
    }

    .marquee-track {
      display: flex;
      gap: 60px;
      animation: marquee 36s linear infinite;
      white-space: nowrap;
      will-change: transform;
    }

    .marquee-track > span {
      display: inline-flex;
      align-items: center;
      gap: 60px;
      font-family: var(--serif);
      font-size: clamp(1.4rem, 2.4vw, 2rem);
      font-weight: 500;
      letter-spacing: -0.005em;
      text-transform: uppercase;
    }

    .marquee-track > span::after {
      content: "✦";
      color: var(--gold);
      font-size: 0.9em;
    }

    @keyframes marquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    /* ---------- Statement ---------- */
    .statement {
      display: grid;
      grid-template-columns: 0.32fr 1fr;
      gap: clamp(28px, 6vw, 88px);
      border-bottom: 1px solid var(--line);
    }

    .statement-body {
      max-width: 920px;
    }

    .statement-body p {
      margin-top: 28px;
      color: var(--muted);
      font-size: clamp(1.1rem, 1.7vw, 1.45rem);
      line-height: 1.55;
      font-family: var(--serif);
    }

    .statement-body h2 {
      font-size: clamp(2rem, 4.2vw, 4rem);
    }

    /* ---------- Lex panels ---------- */
    .lex-panels {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      padding: 0 !important;
      background: var(--line);
      border-bottom: 1px solid var(--line);
    }

    .lex-panel {
      position: relative;
      min-height: 440px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 28px;
      padding: clamp(32px, 3.6vw, 56px);
      background:
        linear-gradient(180deg, rgba(184, 150, 91, 0.06), transparent 50%),
        var(--white);
      overflow: hidden;
      transition: background 360ms var(--ease-out);
    }

    .lex-panel-dark {
      color: var(--white);
      background:
        radial-gradient(circle at 18% 18%, rgba(184, 150, 91, 0.18), transparent 40%),
        linear-gradient(150deg, #1c1b17 0%, #2a2924 100%);
    }

    .lex-panel::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: var(--gold);
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 480ms var(--ease-out);
    }

    .lex-panel:hover::after { transform: scaleX(1); }

    .lex-panel h3 {
      font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    }

    .lex-panel p:not(.panel-kicker) {
      margin: auto 0 0;
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.65;
    }

    .lex-panel-dark .panel-kicker { color: var(--gold-bright); }
    .lex-panel-dark p:not(.panel-kicker) { color: rgba(255, 250, 243, 0.72); }

    .lex-panel-link {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
      color: var(--gold-dark);
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      transition: gap 320ms var(--ease-out), color 320ms var(--ease-out);
    }

    .lex-panel-link::after {
      content: "→";
      transition: transform 320ms var(--ease-out);
    }

    .lex-panel-link:hover { gap: 18px; color: var(--gold); }
    .lex-panel-dark .lex-panel-link { color: var(--gold-bright); }
    .lex-panel-dark .lex-panel-link:hover { color: var(--white); }

    /* ---------- Section heading ---------- */
    .section-heading {
      display: flex;
      justify-content: space-between;
      gap: 32px;
      align-items: end;
      margin-bottom: clamp(40px, 5vw, 72px);
      flex-wrap: wrap;
    }

    .section-heading h2 { max-width: 880px; }

    .section-heading-meta {
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-top: 12px;
    }

    /* ---------- Practice cards ---------- */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border-top: 1px solid var(--line);
      border-left: 1px solid var(--line);
    }

    .practice-card {
      position: relative;
      min-height: 340px;
      padding: clamp(28px, 3.4vw, 46px);
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(184, 150, 91, 0.06), transparent 50%);
      overflow: hidden;
      transition: background 480ms var(--ease-out);
    }

    .practice-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, var(--charcoal), var(--ink));
      transform: translateY(101%);
      transition: transform 520ms var(--ease-out);
      z-index: 0;
    }

    .practice-card > * { position: relative; z-index: 1; transition: color 360ms var(--ease-out); }

    .practice-card:hover::before { transform: translateY(0); }
    .practice-card:hover h3,
    .practice-card:hover .practice-num,
    .practice-card:hover p { color: var(--white); }
    .practice-card:hover .practice-num { color: var(--gold-bright); }

    .practice-num {
      display: inline-block;
      margin-bottom: 56px;
      color: var(--gold-dark);
      font-family: var(--serif);
      font-size: 1.2rem;
      font-style: italic;
      transition: color 360ms var(--ease-out);
    }

    .practice-card h3 { margin-bottom: 18px; }

    .practice-card p {
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.65;
    }

    /* ---------- Service list ---------- */
    .services-lead {
      max-width: 880px;
      margin: -16px 0 clamp(40px, 5vw, 72px);
      color: var(--muted);
      font-family: var(--serif);
      font-size: clamp(1.15rem, 1.8vw, 1.4rem);
      line-height: 1.55;
    }

    .service-list {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }

    .service-list article {
      padding: clamp(28px, 3vw, 42px);
      background: var(--paper);
      transition: background 320ms var(--ease-out);
    }

    .service-list article:hover { background: var(--paper-soft); }

    .service-list h3 {
      min-height: 90px;
      margin-bottom: 26px;
      padding-bottom: 22px;
      border-bottom: 1px solid var(--line);
    }

    .service-list ul {
      display: grid;
      gap: 14px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .service-list li {
      position: relative;
      padding-left: 26px;
      color: var(--muted);
      font-size: 0.96rem;
      line-height: 1.55;
    }

    .service-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.78em;
      width: 14px;
      height: 1px;
      background: var(--gold-dark);
    }

    /* ---------- Method ---------- */
    .method {
      display: grid;
      grid-template-columns: 0.85fr 1fr;
      gap: clamp(40px, 7vw, 110px);
      align-items: start;
    }

    .method-intro p {
      color: rgba(255, 250, 243, 0.74);
      max-width: 520px;
      margin-top: 28px;
      font-size: clamp(1rem, 1.5vw, 1.18rem);
      line-height: 1.7;
    }

    .method-steps {
      display: grid;
      gap: 18px;
    }

    .method-step {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 28px;
      padding: 32px;
      border: 1px solid rgba(255, 250, 243, 0.12);
      background: linear-gradient(135deg, rgba(255, 250, 243, 0.04), rgba(255, 250, 243, 0.01));
      transition: border-color 480ms var(--ease-out), background 480ms var(--ease-out);
    }

    .method-step:hover {
      border-color: rgba(184, 150, 91, 0.45);
      background: linear-gradient(135deg, rgba(184, 150, 91, 0.08), rgba(255, 250, 243, 0.02));
    }

    .method-step-num {
      font-family: var(--serif);
      font-style: italic;
      font-size: 2rem;
      color: var(--gold-bright);
      line-height: 1;
      align-self: start;
    }

    .method-step h3 {
      color: var(--white);
      margin-bottom: 10px;
    }

    .method-step p {
      color: rgba(255, 250, 243, 0.68);
      line-height: 1.65;
    }

    /* ---------- Focus (image cards) ---------- */
    .focus {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 32px;
    }

    .focus-card {
      position: relative;
      display: flex;
      flex-direction: column;
      background: var(--white);
      border: 1px solid var(--line);
      overflow: hidden;
      transition: transform 480ms var(--ease-out), box-shadow 480ms var(--ease-out);
    }

    .focus-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-soft);
    }

    .focus-visual {
      margin: 0;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: linear-gradient(135deg, var(--paper-deep), var(--paper-soft));
    }

    .focus-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.85) contrast(0.98);
      transition: transform 720ms var(--ease-out), filter 720ms var(--ease-out);
    }

    .focus-card:hover .focus-visual img {
      transform: scale(1.06);
      filter: saturate(0.95) contrast(1.02);
    }

    .focus-content {
      padding: clamp(26px, 3vw, 38px);
    }

    .focus-content h3 {
      font-size: clamp(1.5rem, 2.2vw, 2rem);
      margin: 8px 0 16px;
    }

    .focus-content p {
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.65;
    }

    /* ---------- Audience ---------- */
    .audience {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
      gap: clamp(36px, 6vw, 90px);
      align-items: start;
      border-bottom: 1px solid var(--line);
    }

    .audience-panel {
      position: relative;
      padding: clamp(34px, 4vw, 56px);
      background:
        linear-gradient(135deg, rgba(184, 150, 91, 0.12), transparent 50%),
        var(--paper);
      border: 1px solid var(--line-strong);
      overflow: hidden;
    }

    .audience-panel::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 120px;
      height: 120px;
      background: radial-gradient(circle, rgba(184, 150, 91, 0.18), transparent 70%);
      pointer-events: none;
    }

    .audience-panel p {
      position: relative;
      margin: 0;
      color: var(--ink);
      font-family: var(--serif);
      font-size: clamp(1.1rem, 1.6vw, 1.32rem);
      line-height: 1.6;
    }

    .audience-panel p + p {
      margin-top: 24px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 1rem;
      line-height: 1.7;
    }

    /* ---------- Stats ---------- */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      padding: 0 !important;
      background: rgba(184, 150, 91, 0.18);
    }

    .stat {
      padding: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 42px);
      background: var(--ink);
      color: var(--white);
      text-align: left;
      transition: background 480ms var(--ease-out);
    }

    .stat:hover { background: #0a0907; }

    .stat-num {
      display: block;
      font-family: var(--serif);
      font-size: clamp(3rem, 6vw, 5.4rem);
      font-weight: 500;
      line-height: 1;
      color: var(--gold-bright);
      letter-spacing: -0.02em;
    }

    .stat-suffix {
      font-style: italic;
      color: var(--gold);
      font-size: 0.65em;
      margin-left: 4px;
    }

    .stat-label {
      display: block;
      margin-top: 16px;
      font-size: 0.82rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255, 250, 243, 0.7);
    }

    /* ---------- Profile ---------- */
    .profile {
      display: grid;
      grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
      gap: clamp(36px, 7vw, 100px);
      align-items: start;
    }

    .profile-mark {
      position: sticky;
      top: 120px;
      aspect-ratio: 1;
      background:
        radial-gradient(circle at 30% 25%, rgba(255, 250, 243, 0.65), transparent 36%),
        linear-gradient(135deg, #b8b6ad 0%, #4d4b44 100%);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      border: 1px solid var(--line-strong);
    }

    .profile-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      padding: 0;
      filter: saturate(0.9) contrast(1.02);
      transition: transform 720ms var(--ease-out);
    }
    .profile-mark:hover img { transform: scale(1.03); }

    .profile-body p {
      max-width: 760px;
      margin-top: 24px;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.1rem);
      line-height: 1.75;
    }

    .profile-body p:first-of-type { margin-top: 32px; }

    /* ---------- Quote (placeholder for future) ---------- */
    .quote {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(30px, 5vw, 64px);
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      text-align: center;
    }

    .quote blockquote {
      margin: 0;
      font-family: var(--serif);
      font-style: italic;
      font-size: clamp(1.6rem, 3.2vw, 2.8rem);
      line-height: 1.3;
      color: var(--white);
      position: relative;
    }

    .quote blockquote::before,
    .quote blockquote::after {
      content: "";
      display: block;
      width: 50px;
      height: 1px;
      margin: 28px auto;
      background: var(--gold);
    }

    .quote-meta {
      color: var(--gold-bright);
      font-size: 0.78rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

    /* ---------- Facebook ---------- */
    .facebook-section {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(340px, 540px);
      gap: clamp(36px, 6vw, 90px);
      align-items: center;
    }

    .facebook-copy {
      max-width: 720px;
    }

    .facebook-copy p {
      margin: 24px 0 32px;
      color: var(--muted);
      font-size: clamp(1.05rem, 1.5vw, 1.22rem);
      line-height: 1.6;
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      color: var(--gold-dark);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      transition: gap 320ms var(--ease-out), color 320ms var(--ease-out);
    }

    .text-link::after {
      content: "→";
      font-size: 1.1em;
      transition: transform 320ms var(--ease-out);
    }

    .text-link:hover { gap: 22px; color: var(--gold); }
    .text-link:hover::after { transform: translateX(2px); }

    .facebook-frame-shell {
      position: relative;
      width: min(100%, 540px);
      justify-self: end;
      max-height: 760px;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 18px;
      background:
        linear-gradient(135deg, rgba(184, 150, 91, 0.14), transparent 40%),
        var(--white);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      -webkit-overflow-scrolling: touch;
    }

    .facebook-card-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 14px;
      color: var(--gold-dark);
      font-family: var(--serif);
      font-size: 1.1rem;
    }

    .facebook-card-label::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
    }

    .facebook-frame-shell iframe {
      display: block;
      width: 500px;
      max-width: 100%;
      min-height: 680px;
      margin: 0 auto;
      background: #fff;
    }

    /* ---------- CTA ---------- */
    .cta {
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta::before {
      content: "";
      position: absolute;
      inset: -10%;
      background:
        radial-gradient(ellipse at 50% 50%, rgba(184, 150, 91, 0.12), transparent 60%);
      pointer-events: none;
    }

    .cta-inner {
      position: relative;
      max-width: 920px;
      margin: 0 auto;
    }

    .cta h2 {
      max-width: 14ch;
      margin: 0 auto;
    }

    .cta p {
      max-width: 640px;
      margin: 28px auto 40px;
      color: rgba(255, 250, 243, 0.74);
      font-size: clamp(1.05rem, 1.5vw, 1.2rem);
      line-height: 1.7;
    }

    /* ---------- Footer ---------- */
    .site-footer {
      background: #0c0b08;
      color: rgba(255, 250, 243, 0.7);
      padding: clamp(50px, 6vw, 80px) clamp(20px, 6vw, 96px) 30px;
      border-top: 1px solid rgba(184, 150, 91, 0.18);
    }

    .footer-grid {
      max-width: var(--container);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(32px, 5vw, 80px);
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255, 250, 243, 0.08);
    }

    .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
      font-family: var(--serif);
      font-size: 1.1rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--white);
    }

    .footer-brand img {
      width: 44px;
      height: 44px;
      object-fit: contain;
    }

    .footer-grid p { font-size: 0.92rem; line-height: 1.7; }

    .footer-grid h4 {
      color: var(--gold-bright);
      font-family: var(--sans);
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .footer-grid ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }

    .footer-grid a {
      color: rgba(255, 250, 243, 0.72);
      transition: color 240ms var(--ease-out);
    }

    .footer-grid a:hover { color: var(--gold-bright); }

    .footer-meta {
      max-width: var(--container);
      margin: 24px auto 0;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      font-size: 0.82rem;
      flex-wrap: wrap;
    }

    /* ---------- Reveal animations ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
      will-change: transform, opacity;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-stagger > * {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
    }

    .reveal-stagger.is-visible > * {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
    .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
    .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
    .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
    .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
    .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

    .hero-copy.reveal,
    .hero-portrait.reveal {
      transition-duration: 1100ms;
    }

    /* Headline word animation */
    .word-reveal {
      display: inline-block;
      overflow: hidden;
      vertical-align: top;
    }

    .word-reveal > span {
      display: inline-block;
      transform: translateY(110%);
      transition: transform 1100ms var(--ease-out);
    }

    .reveal.is-visible .word-reveal > span,
    .is-loaded .hero-copy .word-reveal > span {
      transform: translateY(0);
    }

    .hero-copy .word-reveal > span { transition-delay: var(--delay, 0ms); }

    /* ---------- Image placeholder (for future images) ---------- */
    .placeholder-img {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold-dark);
      background:
        repeating-linear-gradient(
          135deg,
          rgba(184, 150, 91, 0.07) 0,
          rgba(184, 150, 91, 0.07) 12px,
          transparent 12px,
          transparent 24px
        ),
        linear-gradient(135deg, var(--paper-soft), var(--paper-deep));
      overflow: hidden;
    }

    .placeholder-img::before,
    .placeholder-img::after {
      content: "";
      position: absolute;
      width: 60%;
      height: 1px;
      background: var(--gold-dark);
      opacity: 0.4;
    }

    .placeholder-img::before { transform: rotate(-4deg); }
    .placeholder-img::after { transform: rotate(4deg); }

    .placeholder-label {
      position: relative;
      padding: 12px 18px;
      background: rgba(255, 250, 243, 0.85);
      border: 1px solid var(--line-strong);
      font-family: var(--serif);
      font-style: italic;
      font-size: 0.85rem;
      letter-spacing: 0.04em;
      color: var(--gold-dark);
      text-align: center;
      max-width: 80%;
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 1120px) {
      .hero-grid,
      .method,
      .audience,
      .facebook-section,
      .profile {
        grid-template-columns: 1fr;
      }

      .hero-portrait {
        justify-self: start;
        max-width: 540px;
        width: 100%;
      }

      .card-grid,
      .lex-panels,
      .service-list,
      .focus,
      .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .profile-mark {
        position: static;
        width: min(280px, 100%);
      }

      .facebook-frame-shell {
        justify-self: start;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 760px) {
      :root { --header-h: 70px; }

      .site-header {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 12px;
      }

      .brand { max-width: calc(100% - 64px); }
      .brand span { font-size: 0.72rem; letter-spacing: 0.14em; }
      .brand img { width: 38px; height: 38px; }

      .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0 12px;
        color: var(--white);
        background: transparent;
        border: 1px solid rgba(255, 250, 243, 0.22);
        border-radius: 999px;
        cursor: pointer;
        transition: all 240ms var(--ease-out);
      }

      .nav-toggle:hover {
        background: rgba(184, 150, 91, 0.12);
        border-color: var(--gold);
      }

      .nav-toggle span {
        display: block;
        width: 20px;
        height: 1px;
        background: currentColor;
        transition: transform 280ms var(--ease-out), opacity 200ms var(--ease-out);
      }

      .nav-check:checked + .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
      }

      .nav-check:checked + .nav-toggle span:nth-child(2) { opacity: 0; }

      .nav-check:checked + .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
      }

      .site-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;
        border-top: 1px solid transparent;
        transition: max-height 320ms var(--ease-out), opacity 240ms var(--ease-out), padding 240ms var(--ease-out), border-color 240ms var(--ease-out);
      }

      .nav-check:checked ~ .site-nav {
        max-height: 480px;
        padding: 12px 0 8px;
        opacity: 1;
        border-top-color: rgba(255, 250, 243, 0.1);
      }

      .site-nav a {
        padding: 14px 4px;
        font-size: 0.78rem;
        border-bottom: 1px solid rgba(255, 250, 243, 0.08);
      }

      .site-nav a:last-child { border-bottom: 0; }

      .nav-cta {
        margin-top: 12px;
        text-align: center;
      }

      .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 36px);
        padding-bottom: 60px;
      }

      .hero-meta { display: none; }

      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .button { width: 100%; }

      .statement { grid-template-columns: 1fr; }

      .section-heading { display: block; }

      .card-grid,
      .lex-panels,
      .service-list,
      .focus,
      .stats {
        grid-template-columns: 1fr;
      }

      .stat { padding: 36px 28px; }

      .lex-panel { min-height: 340px; }

      .service-list h3 { min-height: auto; }

      .practice-card,
      .focus article { min-height: auto; }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-meta {
        flex-direction: column;
      }

      .facebook-frame-shell {
        width: 100%;
        max-height: 660px;
        padding: 14px;
      }

      .facebook-frame-shell iframe { min-height: 640px; }

      .marquee-track > span { font-size: 1.2rem; gap: 36px; }
      .marquee-track { gap: 36px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }

      .word-reveal > span,
      .reveal,
      .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
      }
    }

/* =====================================================================
   FDA Studio Legale — Stylesheet
   code by © Francesco Poltero
   Themes via [data-theme] on <html>.
   ===================================================================== */

:root,
[data-theme="nlex"] {
  --ink: #1e1e1e;
  --charcoal: #434343;
  --charcoal-soft: #5a5754;
  --paper: #ffffff;
  --paper-soft: #f6f4f0;
  --paper-deep: #e8e6e0;
  --white: #ffffff;
  --gold: #ac2c5d;
  --gold-bright: #c84278;
  --gold-dark: #82203f;
  --muted: #6a6a6a;
  --line: rgba(30, 30, 30, 0.12);
  --line-strong: rgba(30, 30, 30, 0.22);
  --gold-rgb: 172, 44, 93;
  --white-rgb: 255, 255, 255;
  --ink-rgb: 30, 30, 30;
  --dark-bg-1: #2a2a28;
  --dark-bg-2: #1c1b19;
  --dark-bg-3: #100f0e;
  --header-bg: rgba(28, 27, 25, 0.55);
  --header-bg-scrolled: rgba(15, 14, 13, 0.92);
}

[data-theme="dark-blue"] {
  --ink: #0e1729;
  --charcoal: #14213d;
  --charcoal-soft: #1e2d4f;
  --paper: #f0f3f8;
  --paper-soft: #dde4ee;
  --paper-deep: #c8d3e3;
  --white: #ffffff;
  --gold: #4a90e2;
  --gold-bright: #6aa9ee;
  --gold-dark: #1d4ed8;
  --muted: #5a6478;
  --line: rgba(14, 23, 41, 0.14);
  --line-strong: rgba(14, 23, 41, 0.22);
  --gold-rgb: 74, 144, 226;
  --white-rgb: 240, 243, 248;
  --ink-rgb: 14, 23, 41;
  --dark-bg-1: #14213d;
  --dark-bg-2: #0e1729;
  --dark-bg-3: #060b18;
  --header-bg: rgba(14, 23, 41, 0.6);
  --header-bg-scrolled: rgba(6, 11, 24, 0.94);
}

[data-theme="black-orange"] {
  --ink: #0a0a0a;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2a2a2a;
  --paper: #f5f5f5;
  --paper-soft: #ebebeb;
  --paper-deep: #d8d8d8;
  --white: #ffffff;
  --gold: #ff7a00;
  --gold-bright: #ff9a3c;
  --gold-dark: #cc5e00;
  --muted: #5a5a5a;
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.22);
  --gold-rgb: 255, 122, 0;
  --white-rgb: 255, 255, 255;
  --ink-rgb: 10, 10, 10;
  --dark-bg-1: #1a1a1a;
  --dark-bg-2: #0e0e0e;
  --dark-bg-3: #050505;
  --header-bg: rgba(10, 10, 10, 0.62);
  --header-bg-scrolled: rgba(5, 5, 5, 0.96);
}

[data-theme="black-red"] {
  --ink: #0a0a0a;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2a2a2a;
  --paper: #f5f5f5;
  --paper-soft: #ebebeb;
  --paper-deep: #d8d8d8;
  --white: #ffffff;
  --gold: #d62828;
  --gold-bright: #e74c3c;
  --gold-dark: #a01818;
  --muted: #5a5a5a;
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.22);
  --gold-rgb: 214, 40, 40;
  --white-rgb: 255, 255, 255;
  --ink-rgb: 10, 10, 10;
  --dark-bg-1: #1a1a1a;
  --dark-bg-2: #0e0e0e;
  --dark-bg-3: #050505;
  --header-bg: rgba(10, 10, 10, 0.62);
  --header-bg-scrolled: rgba(5, 5, 5, 0.96);
}

[data-theme="grey-blue"] {
  --ink: #1f2937;
  --charcoal: #2d3748;
  --charcoal-soft: #4a5568;
  --paper: #eef2f7;
  --paper-soft: #dbe2eb;
  --paper-deep: #c2cad8;
  --white: #ffffff;
  --gold: #3b82f6;
  --gold-bright: #60a5fa;
  --gold-dark: #1e40af;
  --muted: #64748b;
  --line: rgba(31, 41, 55, 0.14);
  --line-strong: rgba(31, 41, 55, 0.22);
  --gold-rgb: 59, 130, 246;
  --white-rgb: 247, 250, 252;
  --ink-rgb: 31, 41, 55;
  --dark-bg-1: #2d3748;
  --dark-bg-2: #1f2937;
  --dark-bg-3: #0f1722;
  --header-bg: rgba(31, 41, 55, 0.6);
  --header-bg-scrolled: rgba(15, 23, 34, 0.94);
}

[data-theme="grey-orange"] {
  --ink: #1f2937;
  --charcoal: #2d3748;
  --charcoal-soft: #4a5568;
  --paper: #f4f1ec;
  --paper-soft: #e8e2d8;
  --paper-deep: #d4ccbe;
  --white: #ffffff;
  --gold: #ff7a00;
  --gold-bright: #ff9a3c;
  --gold-dark: #cc5e00;
  --muted: #64748b;
  --line: rgba(31, 41, 55, 0.14);
  --line-strong: rgba(31, 41, 55, 0.22);
  --gold-rgb: 255, 122, 0;
  --white-rgb: 247, 250, 252;
  --ink-rgb: 31, 41, 55;
  --dark-bg-1: #2d3748;
  --dark-bg-2: #1f2937;
  --dark-bg-3: #0f1722;
  --header-bg: rgba(31, 41, 55, 0.6);
  --header-bg-scrolled: rgba(15, 23, 34, 0.94);
}

/* Tokens shared across all themes */
:root {
  --shadow-soft: 0 18px 60px rgba(18, 18, 16, 0.12);
  --shadow-strong: 0 32px 90px rgba(18, 18, 16, 0.32);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1320px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 380ms var(--ease-out), color 380ms var(--ease-out);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--white); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  z-index: 100;
  transition: width 80ms linear;
  will-change: width;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px clamp(20px, 4vw, 64px);
  background: var(--header-bg);
  color: var(--white);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.06);
  transition: background 320ms var(--ease-out), padding 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(var(--gold-rgb), 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-right: auto;
  transition: opacity 200ms var(--ease-out);
}

.brand:hover { opacity: 0.85; }

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.brand span { display: inline-block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--white);
  opacity: 0.78;
  transition: opacity 240ms var(--ease-out), color 240ms var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}

.site-nav a:hover {
  opacity: 1;
  color: var(--gold-bright);
}

.site-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px !important;
  border: 1px solid rgba(var(--white-rgb), 0.28);
  border-radius: 999px;
  transition: all 240ms var(--ease-out) !important;
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

.nav-check, .nav-toggle { display: none; }

/* ---------- Theme dock (DEV TOOL — remove in production) ---------- */
/* Theme dock — colori fissi grigio-blu indipendenti dal tema attivo */
/* ═══ DEBUG: rimuovere "display:none !important" per rendere visibile il selettore ═══ */
.theme-dock { display: none !important; }
/* ═══ FINE BLOCCO DEBUG ═══ */
.theme-dock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 4px 6px 4px 12px;
  border: 1px dashed rgba(96, 165, 250, 0.5);
  border-radius: 999px;
  background: rgba(45, 55, 72, 0.55);
  color: #f1f5f9;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}

.theme-dock:hover {
  border-color: rgba(96, 165, 250, 0.85);
  background: rgba(45, 55, 72, 0.78);
}

.theme-dock-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #60a5fa;
  white-space: nowrap;
}

.theme-dock-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.75);
  animation: dockBlink 1.6s ease-in-out infinite;
}

@keyframes dockBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.theme-dock select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #f1f5f9;
  border: 0;
  padding: 8px 26px 8px 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%2360a5fa' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  outline: none;
}

.theme-dock select:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
  border-radius: 4px;
}

.theme-dock select option {
  color: #1f2937;
  background: #ffffff;
}

/* ---------- Layout helpers ---------- */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 160px) clamp(20px, 6vw, 96px);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(ellipse at 16% 10%, rgba(var(--gold-rgb), 0.18), transparent 38%),
    radial-gradient(ellipse at 85% 80%, rgba(var(--gold-rgb), 0.08), transparent 50%),
    linear-gradient(140deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 50%, var(--dark-bg-3) 100%);
}

.section-light { background: var(--paper); }
.section-paper { background: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
.eyebrow,
.section-kicker,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before,
.panel-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow.dark,
.section-kicker.dark,
.panel-kicker.dark { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  letter-spacing: -0.025em;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
  font-weight: 500;
}

p { margin: 0; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: rgba(var(--white-rgb), 0.78);
  max-width: 620px;
}

.lead.dark { color: var(--muted); }

/* ---------- Buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-bright);
  transform: translateY(101%);
  transition: transform 360ms var(--ease-out);
  z-index: -1;
}

.button:hover { transform: translateY(-2px); }
.button:hover::before { transform: translateY(0); }

.button-primary {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover {
  color: var(--white);
  border-color: var(--gold-bright);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(var(--white-rgb), 0.32);
  background: transparent;
}

.button-ghost:hover {
  color: var(--white);
  border-color: var(--gold-bright);
}

.button-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 320ms var(--ease-out);
}

.button:hover .button-arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: calc(var(--header-h) + 60px) clamp(20px, 6vw, 96px) clamp(60px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Timbro ceralacca come sfondo cover + velatura blu per leggibilità testo */
  background:
    linear-gradient(135deg,
      rgba(15, 23, 42, 0.88) 0%,
      rgba(23, 37, 63, 0.72) 45%,
      rgba(15, 23, 42, 0.82) 100%),
    url('assets/studio-timbro-legale@0%2C75x.jpg') center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--white-rgb), 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--white-rgb), 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  z-index: -1;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.9fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-copy { color: var(--white); }
.hero-copy h1 { color: var(--white); }

.hero-copy h1 .accent {
  display: inline-block;
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}

.hero-copy .lead { margin-top: 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 500px);
  /* Ritratto verticale; max-height impedisce overflow nel grid del hero */
  aspect-ratio: 3 / 4;
  max-height: clamp(420px, calc(100vh - var(--header-h) - 200px), 700px);
  overflow: hidden;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -22px 24px 24px -22px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  z-index: 0;
  transition: inset 600ms var(--ease-out);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mostra il viso: il soggetto occupa la zona 15-70% dell'immagine */
  object-position: 50% 12%;
  filter: saturate(0.88) contrast(1.04);
}

.hero-portrait figcaption {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 28px);
  padding: 12px 18px;
  color: var(--white);
  background: rgba(var(--ink-rgb), 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero-meta {
  position: absolute;
  bottom: clamp(20px, 3vw, 40px);
  left: clamp(20px, 6vw, 96px);
  right: clamp(20px, 6vw, 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  pointer-events: none;
  color: rgba(var(--white-rgb), 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.scroll-cue-line {
  width: 60px;
  height: 1px;
  background: rgba(var(--white-rgb), 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-bright);
  transform: translateX(-100%);
  animation: cueLine 2.4s ease-in-out infinite;
}

@keyframes cueLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- Marquee / values strip ---------- */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.18);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.marquee-track > span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.9em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Statement ---------- */
.statement {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.statement-body { max-width: 920px; }

.statement-body p {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  font-family: var(--serif);
}

.statement-body h2 { font-size: clamp(2rem, 4.2vw, 4rem); }

/* ---------- Lex panels ---------- */
.lex-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 !important;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.lex-panel {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 3.6vw, 56px);
  background:
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), transparent 50%),
    var(--white);
  overflow: hidden;
  transition: background 360ms var(--ease-out);
}

.lex-panel-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--gold-rgb), 0.18), transparent 40%),
    linear-gradient(150deg, var(--dark-bg-1) 0%, var(--charcoal-soft) 100%);
}

.lex-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms var(--ease-out);
}

.lex-panel:hover::after { transform: scaleX(1); }

.lex-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.lex-panel p:not(.panel-kicker) {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.lex-panel-dark .panel-kicker { color: var(--gold-bright); }
.lex-panel-dark p:not(.panel-kicker) { color: rgba(var(--white-rgb), 0.72); }

.lex-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: gap 320ms var(--ease-out), color 320ms var(--ease-out);
}

.lex-panel-link::after {
  content: "→";
  transition: transform 320ms var(--ease-out);
}

.lex-panel-link:hover { gap: 18px; color: var(--gold); }
.lex-panel-dark .lex-panel-link { color: var(--gold-bright); }
.lex-panel-dark .lex-panel-link:hover { color: var(--white); }

/* ---------- Section heading ---------- */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
  flex-wrap: wrap;
}

.section-heading h2 { max-width: 880px; }

.section-heading-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ---------- Practice cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  position: relative;
  min-height: 340px;
  padding: clamp(28px, 3.4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), transparent 50%);
  overflow: hidden;
  transition: background 480ms var(--ease-out);
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--charcoal), var(--ink));
  transform: translateY(101%);
  transition: transform 520ms var(--ease-out);
  z-index: 0;
}

.practice-card > * { position: relative; z-index: 1; transition: color 360ms var(--ease-out); }

.practice-card:hover::before { transform: translateY(0); }
.practice-card:hover h3,
.practice-card:hover .practice-num,
.practice-card:hover p { color: var(--white); }
.practice-card:hover .practice-num { color: var(--gold-bright); }

.practice-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  opacity: 0.78;
  filter: sepia(0.4) saturate(1.3);
  transition: opacity 360ms var(--ease-out), filter 360ms var(--ease-out), transform 360ms var(--ease-out);
}

.practice-card:hover .practice-icon {
  opacity: 1;
  filter: brightness(0) invert(1);
  transform: translateY(-2px);
}

.practice-num {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  transition: color 360ms var(--ease-out);
}

.practice-card h3 { margin-bottom: 18px; }

.practice-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- Service list ---------- */
.services-lead {
  max-width: 880px;
  margin: -16px 0 clamp(40px, 5vw, 72px);
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  padding: clamp(28px, 3vw, 42px);
  background: var(--paper);
  transition: background 320ms var(--ease-out);
}

.service-list article:hover { background: var(--paper-soft); }

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  opacity: 0.72;
  filter: sepia(0.4) saturate(1.2);
}

.service-list h3 {
  min-height: 90px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.service-list ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 1px;
  background: var(--gold-dark);
}

/* ---------- Method ---------- */
.method {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.method-intro p {
  color: rgba(var(--white-rgb), 0.74);
  max-width: 520px;
  margin-top: 28px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.method-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.method-steps {
  display: grid;
  gap: 18px;
}

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 32px;
  border: 1px solid rgba(var(--white-rgb), 0.12);
  background: linear-gradient(135deg, rgba(var(--white-rgb), 0.04), rgba(var(--white-rgb), 0.01));
  transition: border-color 480ms var(--ease-out), background 480ms var(--ease-out);
}

.method-step:hover {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), rgba(var(--white-rgb), 0.02));
}

.method-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold-bright);
  line-height: 1;
  align-self: start;
}

.method-step h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.method-step p {
  color: rgba(var(--white-rgb), 0.68);
  line-height: 1.65;
}

/* ---------- Focus (image cards) ---------- */
.focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 480ms var(--ease-out), box-shadow 480ms var(--ease-out);
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.focus-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper-soft));
}

.focus-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.98);
  transition: transform 720ms var(--ease-out), filter 720ms var(--ease-out);
}

.focus-card:hover .focus-visual img {
  transform: scale(1.06);
  filter: saturate(0.95) contrast(1.02);
}

.focus-content { padding: clamp(26px, 3vw, 38px); }

.focus-content h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 8px 0 16px;
}

.focus-content p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- Pattern-backed editorial sections ---------- */
.quote-section,
.studio-section {
  overflow: hidden;
}

.quote-section::before,
.studio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: 520px 520px;
  opacity: 0.12;
}

.quote-section::before {
  /* Pattern diagonale CSS — no file esterno */
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 28px
  );
  background-size: 40px 40px;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.studio-section::before {
  /* Pattern griglia CSS — no file esterno */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
}

.quote-section > *,
.studio-section > * {
  position: relative;
  z-index: 1;
}

/* ---------- Studio gallery ---------- */
.studio-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.studio-shot {
  position: relative;
  min-height: clamp(260px, 28vw, 420px);
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  isolation: isolate;
}

.studio-shot-large {
  grid-row: span 2;
  min-height: clamp(420px, 48vw, 720px);
}

.studio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(0.98);
  transition: transform 800ms var(--ease-out), filter 800ms var(--ease-out);
}

.studio-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.54));
  z-index: 1;
  pointer-events: none;
}

.studio-shot figcaption {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 24px);
  z-index: 2;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.studio-shot:hover img {
  transform: scale(1.035);
  filter: saturate(0.95) contrast(1.02);
}

/* ---------- Audience ---------- */
.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.audience-panel {
  position: relative;
  padding: clamp(34px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.12), transparent 50%),
    var(--paper);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.audience-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.18), transparent 70%);
  pointer-events: none;
}

.audience-panel p {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.6;
}

.audience-panel p + p {
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 !important;
  background: rgba(var(--gold-rgb), 0.18);
}

.stat {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 42px);
  background: var(--ink);
  color: var(--white);
  text-align: left;
  transition: background 480ms var(--ease-out);
}

.stat:hover { background: var(--charcoal); }

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-style: italic;
  color: var(--gold);
  font-size: 0.65em;
  margin-left: 4px;
}

.stat-label {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), 0.7);
}

/* ---------- Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.profile-mark {
  position: sticky;
  top: 120px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 25%, rgba(var(--white-rgb), 0.65), transparent 36%),
    linear-gradient(135deg, var(--paper-deep) 0%, var(--charcoal-soft) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.profile-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  padding: 0;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 720ms var(--ease-out);
}

.profile-mark:hover img {
  transform: scale(1.03);
}

.profile-body p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
}

.profile-body p:first-of-type { margin-top: 32px; }

/* ---------- Quote ---------- */
.quote {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  color: var(--white);
  position: relative;
}

.quote blockquote::before,
.quote blockquote::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  margin: 28px auto;
  background: var(--gold);
}

.quote-meta {
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Facebook ---------- */
.facebook-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 540px);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.facebook-copy { max-width: 720px; }

.facebook-copy p {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: gap 320ms var(--ease-out), color 320ms var(--ease-out);
}

.text-link::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 320ms var(--ease-out);
}

.text-link:hover { gap: 22px; color: var(--gold); }
.text-link:hover::after { transform: translateX(2px); }

.facebook-frame-shell {
  position: relative;
  width: min(100%, 540px);
  justify-self: end;
  max-height: 760px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.14), transparent 40%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

.facebook-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.facebook-card-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.facebook-frame-shell iframe {
  display: block;
  width: 500px;
  max-width: 100%;
  min-height: 680px;
  margin: 0 auto;
  background: #fff;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--gold-rgb), 0.12), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.cta h2 {
  max-width: 14ch;
  margin: 0 auto;
}

.cta p {
  max-width: 640px;
  margin: 28px auto 40px;
  color: rgba(var(--white-rgb), 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* ---------- Dove siamo ---------- */
.dove-siamo-header {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.dove-siamo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.dove-siamo-info {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Contact item row */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-item > svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
  margin-top: 4px;
  opacity: 0.9;
}

.contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), 0.45);
  margin-bottom: 6px;
}

.contact-item a {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.55;
  transition: color 240ms var(--ease-out);
}

.contact-item a:hover { color: var(--gold-bright); }

/* WhatsApp button */
.button-whatsapp {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 26px;
  background: #1fad54;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.25);
  transition: transform 320ms var(--ease-out), background 240ms var(--ease-out), box-shadow 320ms var(--ease-out);
  align-self: flex-start;
}

.button-whatsapp:hover {
  transform: translateY(-3px);
  background: #17963f;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.button-whatsapp-main {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.button-whatsapp-main svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wa-number {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  padding-left: 34px;
  line-height: 1;
}

/* Social pill links */
.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(var(--white-rgb), 0.2);
  border-radius: 999px;
  color: rgba(var(--white-rgb), 0.78);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 240ms var(--ease-out), color 240ms var(--ease-out), background 240ms var(--ease-out);
}

.social-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(var(--gold-rgb), 0.08);
}

/* Map container */
.dove-siamo-map {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  height: clamp(380px, 52vh, 560px);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 4px;
  overflow: hidden;
  background: #e8e4dc;
}

.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-full-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  color: rgba(var(--white-rgb), 0.6);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 240ms var(--ease-out);
}

.map-full-link svg {
  width: 14px;
  height: 14px;
  transition: transform 240ms var(--ease-out);
}

.map-full-link:hover { color: var(--gold-bright); }
.map-full-link:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1120px) {
  .dove-siamo-grid {
    grid-template-columns: 1fr;
  }

  .dove-siamo-map {
    position: static;
  }

  .map-frame-wrap {
    height: clamp(300px, 50vw, 440px);
  }
}

@media (max-width: 760px) {
  .map-frame-wrap {
    height: 280px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-bg-3);
  color: rgba(var(--white-rgb), 0.7);
  padding: clamp(50px, 6vw, 80px) clamp(20px, 6vw, 96px) 30px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-grid p { font-size: 0.92rem; line-height: 1.7; }

.footer-grid h4 {
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-grid a {
  color: rgba(var(--white-rgb), 0.72);
  transition: color 240ms var(--ease-out);
}

.footer-grid a:hover { color: var(--gold-bright); }

.footer-meta {
  max-width: var(--container);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

.hero-copy.reveal,
.hero-portrait.reveal {
  transition-duration: 1100ms;
}

/* Headline word animation */
.word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1100ms var(--ease-out);
}

.reveal.is-visible .word-reveal > span,
.is-loaded .hero-copy .word-reveal > span {
  transform: translateY(0);
}

.hero-copy .word-reveal > span { transition-delay: var(--delay, 0ms); }

/* ---------- Image placeholder ---------- */
.placeholder-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(var(--gold-rgb), 0.07) 0,
      rgba(var(--gold-rgb), 0.07) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(135deg, var(--paper-soft), var(--paper-deep));
  overflow: hidden;
}

.placeholder-img::before,
.placeholder-img::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 1px;
  background: var(--gold-dark);
  opacity: 0.4;
}

.placeholder-img::before { transform: rotate(-4deg); }
.placeholder-img::after { transform: rotate(4deg); }

.placeholder-label {
  position: relative;
  padding: 12px 18px;
  background: rgba(var(--white-rgb), 0.85);
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  text-align: center;
  max-width: 80%;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid,
  .method,
  .audience,
  .facebook-section,
  .profile {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    justify-self: start;
    max-width: 680px;
    width: 100%;
  }

  .card-grid,
  .lex-panels,
  .service-list,
  .focus,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .studio-shot-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: clamp(320px, 56vw, 520px);
  }

  .profile-mark {
    position: static;
    width: min(280px, 100%);
  }

  .facebook-frame-shell {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }

  .site-header {
    padding: 14px 20px;
    gap: 10px;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand span {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand img { width: 36px; height: 36px; }

  .theme-dock {
    padding: 3px 4px 3px 8px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .theme-dock-tag { display: none; }

  .theme-dock select {
    padding: 6px 22px 6px 6px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 12px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(var(--white-rgb), 0.22);
    border-radius: 999px;
    cursor: pointer;
    transition: all 240ms var(--ease-out);
  }

  .nav-toggle:hover {
    background: rgba(var(--gold-rgb), 0.12);
    border-color: var(--gold);
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 280ms var(--ease-out), opacity 200ms var(--ease-out);
  }

  .nav-check:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }

  .nav-check:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    border-top: 1px solid transparent;
    transition: max-height 320ms var(--ease-out), opacity 240ms var(--ease-out), padding 240ms var(--ease-out), border-color 240ms var(--ease-out);
  }

  .nav-check:checked ~ .site-nav {
    max-height: 480px;
    padding: 12px 0 8px;
    opacity: 1;
    border-top-color: rgba(var(--white-rgb), 0.1);
  }

  .site-nav a {
    padding: 14px 4px;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
  }

  .site-nav a:last-child { border-bottom: 0; }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 60px;
  }

  .hero-meta { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }

  .hero-portrait {
    aspect-ratio: 3 / 4;
    max-height: 72vw;
  }

  .statement { grid-template-columns: 1fr; }

  .section-heading { display: block; }

  .card-grid,
  .lex-panels,
  .service-list,
  .focus,
  .stats,
  .studio-gallery {
    grid-template-columns: 1fr;
  }

  .stat { padding: 36px 28px; }

  .lex-panel { min-height: 340px; }

  .service-list h3 { min-height: auto; }

  .practice-card,
  .focus article { min-height: auto; }

  .practice-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 22px;
  }

  .practice-num { margin-bottom: 22px; }

  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
  }

  .studio-gallery {
    box-shadow: none;
  }

  .studio-shot,
  .studio-shot-large {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
  }

  .facebook-frame-shell {
    width: 100%;
    max-height: 660px;
    padding: 14px;
  }

  .facebook-frame-shell iframe { min-height: 640px; }

  .marquee-track > span { font-size: 1.2rem; gap: 36px; }
  .marquee-track { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .word-reveal > span,
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =====================================================================
   Privacy page rules migrated from privacy.html inline style. Kept after
   shared rules to preserve the previous page-specific cascade.
   ===================================================================== */
    /* ─── Page hero ─── */
    .page-hero {
      padding-top: calc(var(--header-h) + clamp(56px, 9vw, 100px));
      padding-bottom: clamp(56px, 9vw, 100px);
    }
    .page-hero h1 {
      font-size: clamp(2.2rem, 5.2vw, 4.6rem);
      max-width: 860px;
      margin-top: 12px;
    }
    .page-hero .lead { margin-top: 22px; max-width: 700px; }
    .page-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px 40px;
      margin-top: 32px;
    }
    .page-meta span {
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(var(--white-rgb), 0.5);
    }
    .page-meta span strong { color: rgba(var(--white-rgb), 0.85); font-weight: 600; }

    /* ─── Back link ─── */
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--gold-dark);
      font-size: 0.76rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: clamp(36px, 5vw, 60px);
      transition: gap 280ms var(--ease-out), color 280ms var(--ease-out);
    }
    .back-link:hover { gap: 14px; color: var(--gold); }
    .back-link svg { width: 14px; height: 14px; flex-shrink: 0; }

    /* ─── Bootstrap collapse (without Bootstrap CSS) ─── */
    .collapse { display: none; }
    .collapse.show { display: block; }
    .collapsing {
      display: block;
      height: 0;
      overflow: hidden;
      transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ─── Accordion ─── */
    .accordion {
      border: 1px solid var(--line-strong);
      border-radius: 2px;
      overflow: hidden;
    }
    .accordion-item {
      background: var(--white);
      border: 0;
      border-bottom: 1px solid var(--line);
    }
    .accordion-item:last-child { border-bottom: 0; }
    .accordion-header { margin: 0; }

    .accordion-button {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: clamp(16px, 2vw, 22px) clamp(20px, 3vw, 38px);
      background: var(--white);
      border: 0;
      font-family: var(--serif);
      font-size: clamp(0.98rem, 1.55vw, 1.2rem);
      font-weight: 500;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
      line-height: 1.3;
      transition: background 240ms var(--ease-out), color 240ms var(--ease-out);
    }
    .accordion-button:hover { background: var(--paper-soft); color: var(--gold-dark); }
    .accordion-button:not(.collapsed) { background: var(--paper-soft); color: var(--gold-dark); }
    .accordion-button:focus-visible {
      outline: 2px solid var(--gold-bright);
      outline-offset: -2px;
      position: relative;
      z-index: 1;
    }
    .accordion-button::after {
      content: "";
      flex-shrink: 0;
      width: 9px;
      height: 9px;
      border-right: 1.5px solid var(--gold-dark);
      border-bottom: 1.5px solid var(--gold-dark);
      transform: rotate(45deg) translate(-2px, -2px);
      transition: transform 300ms var(--ease-out);
    }
    .accordion-button:not(.collapsed)::after {
      transform: rotate(-135deg) translate(-2px, -2px);
    }

    .acc-num {
      font-style: italic;
      font-size: 0.82em;
      color: var(--gold-dark);
      opacity: 0.55;
      margin-right: 6px;
    }

    .accordion-body {
      padding: clamp(20px, 2.8vw, 32px) clamp(20px, 3vw, 38px) clamp(22px, 3vw, 36px);
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.97rem;
      line-height: 1.78;
    }
    .accordion-body > p { margin: 0 0 14px; }
    .accordion-body > p:last-child { margin-bottom: 0; }

    .accordion-body h4 {
      font-family: var(--sans);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--gold-dark);
      margin: 28px 0 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--line);
    }
    .accordion-body h4:first-child { margin-top: 0; }

    .accordion-body ul {
      margin: 8px 0 16px;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
    }
    .accordion-body ul li {
      position: relative;
      padding-left: 22px;
    }
    .accordion-body ul li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.77em;
      width: 11px;
      height: 1px;
      background: var(--gold-dark);
    }
    .accordion-body ul ul {
      margin-top: 8px;
      margin-bottom: 0;
    }
    .accordion-body ul ul li { padding-left: 18px; }
    .accordion-body ul ul li::before { width: 8px; background: rgba(var(--ink-rgb), 0.25); }

    .accordion-body a {
      color: var(--gold-dark);
      text-decoration: underline;
      text-underline-offset: 2px;
      transition: color 200ms;
    }
    .accordion-body a:hover { color: var(--gold); }

    .accordion-body strong { color: var(--ink); font-weight: 600; }

    .accordion-body .norma {
      font-size: 0.83rem;
      font-style: italic;
      color: rgba(var(--ink-rgb), 0.42);
      margin-top: 18px;
    }

    .accordion-body table {
      width: 100%;
      border-collapse: collapse;
      margin: 14px 0 18px;
      font-size: 0.88rem;
    }
    .accordion-body table th {
      text-align: left;
      padding: 9px 12px;
      background: var(--paper-soft);
      color: var(--ink);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      border: 1px solid var(--line-strong);
    }
    .accordion-body table td {
      padding: 9px 12px;
      border: 1px solid var(--line);
      vertical-align: top;
      line-height: 1.55;
    }
    .accordion-body table tr:nth-child(even) td { background: var(--paper-soft); }

    @media (max-width: 760px) {
      .accordion-button { font-size: 0.93rem; }
      .accordion-body table { font-size: 0.82rem; }
      .accordion-body table th,
      .accordion-body table td { padding: 7px 9px; }
    }

/* =====================================================================
   Utility rules migrated from inline style attributes.
   ===================================================================== */
.delay-60 { --delay: 60ms; }
.delay-140 { --delay: 140ms; }
.delay-220 { --delay: 220ms; }
.delay-320 { --delay: 320ms; }
.delay-400 { --delay: 400ms; }
.delay-480 { --delay: 480ms; }
.delay-560 { --delay: 560ms; }
.embed-borderless { border: 0; overflow: hidden; }
.footer-policy-link { color: var(--gold-bright); }
