/*
Theme Name: Rome Gallery Tours
Theme URI: https://romegallerytours.com
Author: Rome Gallery Tours
Description: Premium editorial WordPress theme for Rome Gallery Tours — private contemporary art gallery experiences in Rome. Minimal, gallery-grade design with a single scarlet accent, Spectral + Hanken Grotesk type, a request form, and Customizer controls for the logo, gallery images and contact email.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rome-gallery-tours
*/


/* ════════ tokens/colors.css ════════ */
/* ── Rome Gallery Tours · Color tokens ──────────────────────────
   Premium editorial gallery palette. A near-white contemporary
   gallery canvas, warm ink, refined warm-grays, and the scarlet
   accent (#ff2b06) used sparingly for emphasis — never as fill noise.
*/
:root {
  /* ── Brand · Scarlet accent ── */
  --scarlet-050: #FFF1ED;
  --scarlet-100: #FFE0D8;
  --scarlet-200: #FFC1B2;
  --scarlet-400: #FF5C3D;
  --scarlet-500: #FF2B06;  /* the accent — CTAs, bold emphasis, rules */
  --scarlet-600: #E62300;  /* hover */
  --scarlet-700: #BE1D00;  /* press */

  /* ── Ink (warm near-black) ── */
  --ink-900: #16130F;
  --ink-800: #221E18;
  --ink-700: #3B362F;
  --ink-600: #59524A;

  /* ── Warm gallery neutrals ── */
  --paper:     #FBFAF7;  /* page — soft gallery white */
  --paper-2:   #F3F1EC;  /* alternating section / recessed */
  --card:      #FFFFFF;
  --stone-100: #F0EDE7;
  --stone-200: #E5E1D9;
  --stone-300: #D4CEC3;
  --stone-400: #B3AB9D;
  --stone-500: #8B8273;
  --stone-600: #6A6356;

  /* ── Hairlines ── */
  --line-strong: rgba(22,19,15,0.20);
  --line:        rgba(22,19,15,0.12);
  --line-soft:   rgba(22,19,15,0.07);

  /* ── Semantic aliases ── */
  --accent:        var(--scarlet-500);
  --accent-hover:  var(--scarlet-600);
  --accent-press:  var(--scarlet-700);

  --text-strong:   var(--ink-900);
  --text-body:     var(--ink-700);
  --text-muted:    var(--stone-500);
  --text-inverse:  #F7F4EE;
  --text-on-accent:#FFFFFF;

  --surface-page:   var(--paper);
  --surface-alt:    var(--paper-2);
  --surface-card:   var(--card);
  --surface-ink:    var(--ink-900);
  --surface-accent: var(--scarlet-500);

  --border:        var(--line);
  --border-strong: var(--line-strong);

  --success: #4F6A33;
  --warning: #9C6F1F;
  --danger:  var(--scarlet-700);
}


/* ════════ tokens/typography.css ════════ */
/* ── Rome Gallery Tours · Typography tokens ─────────────────────
   Spectral (editorial serif: headlines, lede, quotes)
   Hanken Grotesk (UI, nav, labels, eyebrows, buttons)
   Editorial, premium, generous. Headlines run light-to-medium weight.

   Note: font-SIZE / line-height / tracking tokens are tagged `@kind other`
   (they are typographic but not font *families*); the family tokens below
   auto-classify as fonts.
*/
:root {
  --font-serif:   'Spectral', Georgia, 'Times New Roman', serif;
  --font-sans:    'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Spectral', Georgia, serif; /* alias: large editorial headlines */

  /* Weights */
  --fw-light:   300; /* @kind other */
  --fw-regular: 400; /* @kind other */
  --fw-medium:  500; /* @kind other */
  --fw-semibold:600; /* @kind other */
  --fw-bold:    700; /* @kind other */

  /* Fluid editorial size scale */
  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); /* @kind other */
  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);        /* @kind other */
  --fs-h2: clamp(1.75rem, 1.25rem + 1.8vw, 2.6rem);      /* @kind other */
  --fs-h3: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);      /* @kind other */
  --fs-h4: 1.2rem;        /* @kind other */
  --fs-lede: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);    /* @kind other */
  --fs-body-lg: 1.1875rem;/* @kind other */
  --fs-body: 1.0625rem;   /* @kind other */
  --fs-small: 0.9375rem;  /* @kind other */
  --fs-label: 0.8125rem;  /* @kind other */
  --fs-micro: 0.6875rem;  /* @kind other */

  /* Line heights */
  --lh-tight: 1.04; /* @kind other */
  --lh-snug: 1.16;  /* @kind other */
  --lh-body: 1.66;  /* @kind other */
  --lh-meta: 1.35;  /* @kind other */

  /* Tracking */
  --tracking-display: -0.018em; /* @kind other */
  --tracking-tight: -0.01em;    /* @kind other */
  --tracking-normal: 0;         /* @kind other */
  --tracking-label: 0.2em;      /* @kind other */
  --tracking-wide: 0.32em;      /* @kind other */
}


/* ════════ tokens/spacing.css ════════ */
/* ── Rome Gallery Tours · Spacing & layout tokens ───────────────
   8px base rhythm. Generous, gallery-like whitespace.
*/
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;   /* editorial reading measure */
  --gutter: clamp(20px, 5vw, 64px);          /* @kind spacing */
  --section-y: clamp(56px, 9vw, 128px);      /* @kind spacing */
}


/* ════════ tokens/effects.css ════════ */
/* ── Rome Gallery Tours · Effects: radii, shadows, motion ───────
   Premium minimal. Hairline borders and whitespace do the work;
   shadows are soft and rare. Corners are near-sharp (gallery, not app).
*/
:root {
  /* Radii — restrained */
  --r-xs: 1px;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-pill: 999px;

  /* Soft shadows — overlays / floating only */
  --shadow-sm:  0 1px 2px rgba(22,19,15,0.05);
  --shadow-card:0 1px 2px rgba(22,19,15,0.04), 0 18px 40px -24px rgba(22,19,15,0.22);
  --shadow-pop: 0 24px 64px -28px rgba(22,19,15,0.40);

  /* Focus ring — scarlet, offset */
  --ring: 0 0 0 2px var(--surface-page), 0 0 0 4px var(--scarlet-500);

  /* Motion — gentle, editorial */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);  /* @kind other */
  --ease-io:  cubic-bezier(0.6, 0, 0.2, 1);     /* @kind other */
  --dur-fast: 140ms; /* @kind other */
  --dur: 240ms;      /* @kind other */
  --dur-slow: 520ms; /* @kind other */
}


/* ════════ tokens/base.css ════════ */
/* ── Rome Gallery Tours · Base & helpers ────────────────────────
   Premium editorial defaults. Soft gallery-white canvas, Spectral
   editorial body, Hanken Grotesk for structure. Scarlet stays scarce.
*/
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-strong);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: var(--tracking-display); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }

p { margin: 0 0 1em; max-width: 68ch; }

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-out);
}

::selection { background: var(--scarlet-500); color: #fff; }

img { display: block; max-width: 100%; }

/* ── Brand helpers ─────────────────────────────────────────────── */

/* Uppercase grotesque eyebrow — the editorial section label. */
.rgt-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  white-space: nowrap;
}
.rgt-eyebrow--accent { color: var(--accent); }

/* The three-dot mark — subtle nod to the logo. Use as a quiet motif. */
.rgt-dots { display: inline-flex; gap: 0.42em; align-items: center; }
.rgt-dots > i,
.rgt-dots::before,
.rgt-dots::after {
  content: "";
  display: block;
  width: 0.42em; height: 0.42em;
  border-radius: 50%;
  background: var(--scarlet-500);
}

/* Accent emphasis for important bold words (use sparingly). */
.rgt-accent { color: var(--accent); font-weight: var(--fw-semibold); }

/* Hairline rule. */
.rgt-rule { height: 1px; background: var(--border); border: 0; margin: 0; }
.rgt-rule--ink { background: var(--ink-900); }
.rgt-rule--accent { background: var(--accent); }

/* Editorial link with scarlet underline reveal on hover. */
.rgt-link {
  color: var(--ink-900);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
  padding-bottom: 2px;
}
.rgt-link:hover { background-size: 100% 1px; color: var(--accent); }


/* ════════ Homepage layout ════════ */

  /* ── Page layout (uses design-system tokens) ───────────────── */
  html { scroll-behavior: smooth; }
  body { overflow-x: hidden; }
  .wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
  .wrap--narrow { max-width: 920px; }
  section { padding-block: var(--section-y); }
  .eyebrow-row { display: flex; align-items: center; gap: 0.85em; margin-bottom: 1.4rem; }
  .section-head { max-width: 760px; }
  .section-head h2 { margin: 0 0 0.5rem; }
  .section-head .lede { font-size: var(--fs-lede); color: var(--ink-600); font-weight: var(--fw-light); margin: 0; }
  .muted { color: var(--text-muted); }
  .serif-light { font-weight: var(--fw-light); }

  /* Image placeholder frame — owner replaces with real gallery photography */
  .img-frame {
    position: relative; background: var(--stone-200); overflow: hidden;
    display: grid; place-items: center; isolation: isolate;
  }
  .img-frame::after {
    content: ""; position: absolute; inset: 12px; border: 1px solid rgba(22,19,15,0.14); pointer-events: none;
  }
  .img-frame__cap {
    font-family: var(--font-sans); font-size: var(--fs-micro); font-weight: 600;
    letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--stone-500);
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  }

  /* ── Header ─────────────────────────────────────────────────── */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.1) blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
  /* LOGO SLOT — replace with the official Rome Gallery Tours logo */
  .brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
  .brand__dots { display: inline-flex; gap: 5px; }
  .brand__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--scarlet-500); display: block; }
  .brand__name { font-family: var(--font-serif); font-size: 1.18rem; letter-spacing: 0.01em; color: var(--ink-900); line-height: 1; }
  .brand__name b { font-weight: var(--fw-medium); }
  .nav { display: flex; align-items: center; gap: 2rem; }
  .nav a { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--ink-700); letter-spacing: 0.01em; }
  .nav a:hover { color: var(--ink-900); }
  .btn-request {
    font-family: var(--font-sans); font-size: var(--fs-small); font-weight: var(--fw-medium);
    background: var(--scarlet-500); color: #fff; padding: 0.7em 1.25em; border-radius: var(--r-sm);
    transition: background var(--dur-fast) var(--ease-out);
  }
  .btn-request:hover { background: var(--scarlet-600); color: #fff; }
  .nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink-900); margin: 5px 0; transition: 0.2s; }

  /* ── Buttons (page-level, mirrors DS Button) ────────────────── */
  .btn {
    font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: var(--fs-body);
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    height: 52px; padding: 0 1.6em; border-radius: var(--r-sm); border: 1px solid transparent;
    cursor: pointer; transition: all var(--dur-fast) var(--ease-out); text-decoration: none;
  }
  .btn--primary { background: var(--scarlet-500); color: #fff; }
  .btn--primary:hover { background: var(--scarlet-600); color: #fff; }
  .btn--secondary { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
  .btn--secondary:hover { background: var(--ink-900); color: var(--text-inverse); border-color: var(--ink-900); }
  .btn--ghost {
    padding: 0; height: auto; background: none; color: var(--ink-900); font-size: var(--fs-small);
    border-radius: 0; background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
  }
  .btn--ghost:hover { background-size: 100% 1px; color: var(--accent); }
  .arrow { transition: transform var(--dur) var(--ease-out); }
  .btn--ghost:hover .arrow { transform: translateX(4px); }

  /* ── Hero ───────────────────────────────────────────────────── */
  .hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
  .hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .hero h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.25rem); font-weight: var(--fw-light); margin: 0 0 1.4rem; }
  .hero h1 em { font-style: italic; color: var(--ink-900); }
  .hero__sub { font-size: var(--fs-lede); color: var(--ink-700); font-weight: var(--fw-regular); margin: 0 0 1.4rem; max-width: 36ch; }
  .hero__text { font-size: var(--fs-body); color: var(--ink-600); max-width: 46ch; margin: 0 0 2.2rem; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .hero__media { position: relative; aspect-ratio: 4/5; }
  .hero__tagline { display: inline-flex; align-items: center; gap: 0.8em; margin-bottom: 1.8rem; }

  /* ── What we do ─────────────────────────────────────────────── */
  .cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); }
  .pillar { padding: 2rem 2rem 2rem 0; border-top: 1px solid var(--ink-900); }
  .pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line); }
  .pillar__no { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); color: var(--scarlet-500); }
  .pillar h3 { margin: 1.2rem 0 0.6rem; font-weight: var(--fw-regular); }
  .pillar p { color: var(--ink-600); font-size: var(--fs-body); margin: 0; }

  /* ── Who it's for ───────────────────────────────────────────── */
  .audience { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
  .audience__support { font-size: var(--fs-body-lg); color: var(--ink-600); font-weight: var(--fw-light); max-width: 40ch; }
  .who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px,3vw,48px); }
  .who-list .who-item { display: flex; align-items: center; gap: 0.9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: var(--fs-body-lg); color: var(--ink-800); }
  .who-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--scarlet-500); flex: 0 0 auto; }

  /* ── How it works ───────────────────────────────────────────── */
  .steps { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink-900); }
  .step { display: grid; grid-template-columns: 88px 1fr; gap: clamp(16px,3vw,40px); padding: 1.9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
  .step__no { font-family: var(--font-serif); font-size: 2rem; font-weight: var(--fw-light); color: var(--scarlet-500); line-height: 1; }
  .step__body { max-width: 60ch; }
  .step h3 { font-size: var(--fs-h4); font-weight: var(--fw-medium); margin: 0 0 0.35rem; }
  .step p { margin: 0; color: var(--ink-600); }
  .note {
    margin-top: 2.2rem; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lede);
    color: var(--ink-700); text-align: left;
  }
  .note b { font-style: normal; color: var(--scarlet-600); font-weight: var(--fw-semibold); }

  /* ── Services ───────────────────────────────────────────────── */
  .services { background: var(--surface-alt); }
  .service { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(28px,4vw,64px); padding-block: clamp(40px,5vw,68px); border-bottom: 1px solid var(--line); align-items: start; }
  .service:last-of-type { border-bottom: 0; }
  .service__media { aspect-ratio: 5/4; order: 2; }
  .service__no { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); color: var(--scarlet-500); }
  .service h3 { font-size: var(--fs-h2); font-weight: var(--fw-regular); margin: 1rem 0 0.4rem; }
  .service__kicker { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-muted); margin: 0 0 1.2rem; }
  .service p.desc { color: var(--ink-700); font-size: var(--fs-body-lg); max-width: 52ch; }
  .service ul { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.7rem; max-width: 52ch; }
  .service li { display: flex; align-items: baseline; gap: 0.8rem; color: var(--ink-700); font-size: var(--fs-body); }
  .service li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--scarlet-500); transform: translateY(-2px); flex: 0 0 auto; }

  /* ── Why ────────────────────────────────────────────────────── */
  .why { background: var(--surface-ink); color: var(--text-inverse); }
  .why .eyebrow-row .rgt-eyebrow { color: var(--scarlet-400); }
  .why h2 { color: var(--text-inverse); font-weight: var(--fw-light); max-width: 18ch; }
  .why p { color: rgba(247,244,238,0.78); font-size: var(--fs-body-lg); font-weight: var(--fw-light); }
  .why .why-link a { color: #fff; border-bottom: 1px solid var(--scarlet-500); padding-bottom: 2px; }
  .why .why-link a:hover { color: var(--scarlet-400); }
  .why__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px,5vw,72px); align-items: start; }

  /* ── Request form ───────────────────────────────────────────── */
  .request { background: var(--surface-page); }
  .form-shell { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px,5vw,72px); align-items: start; }
  .form-aside .lede { font-size: var(--fs-body-lg); color: var(--ink-600); font-weight: var(--fw-light); }
  .form-aside .availability { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-muted); }
  form.rgt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; }
  .field { display: flex; flex-direction: column; gap: 0.55rem; }
  .field--full { grid-column: 1 / -1; }
  .field > label, .fieldset > legend {
    font-family: var(--font-sans); font-size: var(--fs-label); font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); padding: 0;
  }
  .field input, .field select, .field textarea {
    font-family: var(--font-sans); font-size: var(--fs-body); color: var(--ink-900);
    background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    padding: 0 0.9em; height: 50px; width: 100%; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  }
  .field textarea { padding: 0.7em 0.9em; height: auto; min-height: 120px; resize: vertical; font-family: var(--font-serif); line-height: 1.55; }
  .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 6L8 10.5L12.5 6' stroke='%233B362F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95em center; padding-right: 2.4em; cursor: pointer; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--scarlet-500); box-shadow: 0 0 0 1px var(--scarlet-500); }
  .field input::placeholder, .field textarea::placeholder { color: var(--stone-400); }

  .fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
  /* Segmented + chip controls */
  .seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
  .seg label, .chips label {
    font-family: var(--font-sans); font-size: var(--fs-small); color: var(--ink-700);
    border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.5em 0.95em; cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out); user-select: none;
  }
  .seg input, .chips input { position: absolute; opacity: 0; width: 0; height: 0; }
  .seg label:hover, .chips label:hover { border-color: var(--ink-700); color: var(--ink-900); }
  .seg input:checked + label, .seg label:has(input:checked) { background: var(--ink-900); color: var(--text-inverse); border-color: var(--ink-900); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips label:has(input:checked) { background: var(--scarlet-050); border-color: var(--scarlet-500); color: var(--scarlet-700); }
  .form-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.4rem; }
  .form-note { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-muted); max-width: 42ch; }
  .form-thanks { grid-column: 1/-1; padding: 2.5rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--card); display: none; }
  .form-thanks h3 { font-weight: var(--fw-regular); margin: 0 0 0.5rem; }
  .form-thanks p { margin: 0; color: var(--ink-600); }

  /* ── Footer ─────────────────────────────────────────────────── */
  .site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px,6vw,80px) 2rem; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,3vw,48px); }
  .footer-brand .brand { margin-bottom: 1.1rem; }
  .footer-brand p { color: var(--ink-600); font-size: var(--fs-small); max-width: 32ch; }
  .footer-col h4 { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); margin: 0 0 1.1rem; }
  .footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
  .footer-col a { font-size: var(--fs-small); color: var(--ink-700); }
  .footer-col a:hover { color: var(--scarlet-600); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(40px,5vw,72px); padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .footer-bottom, .footer-bottom a { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--text-muted); }
  .footer-bottom a:hover { color: var(--ink-900); }
  .footer-legal { display: flex; gap: 1.5rem; }

  /* ── Reveal ─────────────────────────────────────────────────── */
  @media (prefers-reduced-motion: no-preference) {
    .has-js .reveal { } /* reveal disabled — minimal-animation brief; content always visible */
  }

  /* ── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 960px) {
    .hero__grid, .audience, .service, .why__grid, .form-shell { grid-template-columns: 1fr; }
    .cols-3 { grid-template-columns: 1fr; }
    .pillar { border-left: 0 !important; padding-left: 0 !important; }
    .pillar + .pillar { border-left: 0; padding-left: 0; }
    .service__media { order: 0; }
    form.rgt-form { grid-template-columns: 1fr; }
    .who-list { grid-template-columns: 1fr; }
    .hero__media { aspect-ratio: 16/10; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 720px) {
    .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; transform: translateY(-130%); transition: transform var(--dur) var(--ease-io); }
    .nav.open { transform: translateY(0); }
    .nav a { padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav .btn-request { width: 100%; text-align: center; margin-top: 0.8rem; }
    .nav-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
  }


/* ════════ WordPress integration ════════ */
.custom-logo, .custom-logo-link img { max-height: 42px; width: auto; display: block; }
.custom-logo-link { display: inline-flex; align-items: center; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px){ body.admin-bar .site-header { top: 46px; } }
@media (max-width: 720px){ body.admin-bar .nav { top: calc(78px + 46px); } }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink-900); color:#fff; padding: 10px 14px; border-radius: var(--r-sm); }
/* Hero/service images supplied via Customizer fill their frame */
.img-frame > img.rgt-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.img-frame > img.rgt-photo + .img-frame__cap { display:none; }
.img-frame:has(img.rgt-photo)::after { display:none; }
/* Form feedback */
.form-thanks.is-visible { display:block; }
.form-error { grid-column:1/-1; color: var(--scarlet-700); font-family: var(--font-sans); font-size: var(--fs-small); }
