/* ==========================================================================
   business.pavoni1975.com — Executive Dining single-page composition
   Pulls tokens.css. Section-specific composition + the definitive
   page-scoped three-font system.
   ========================================================================== */

html { scroll-behavior: smooth; }

/* ==========================================================================
   Definitive typography system (May 2026, rev. 3 — Fraunces retired)
   --------------------------------------------------------------------------
   Two families, rigidly separated roles:

     · --font-logo   Cormorant Garamond  — wordmark + sub-logo + claim
                     PAVONI 600 roman / 1975 300 italic
                     "Executive Dining" sub-logo: Regular Italic 400 on dark
                     "Business hospitality around the table" claim: Regular Italic 400 on dark
                     [legibility rule] Cormorant Italic on Verde Bosco Notturno
                     #172a1f uses 400; on cream #faf8f3 it stays at 300.
     · --font-title  Cormorant Garamond  — editorial section titles
                     Default weight 500 roman.
                     Italic emphasis (em): weight 500 italic.
                     One section title per section (single-accent rule).
     · --font-body   Inter                — everything else
                     300 long narrative / 400 UI, labels, eyebrows, nav, form
                     500 prices, fees, emphatic UI

   Tokens live in tokens.css; this surface inherits them as-is. The block
   below is intentionally empty of font overrides — if you ever need a
   page-scoped repoint, do it here. ========================================== */

body {
  background: var(--color-forest);
  color: var(--color-cream);
  font-family: var(--font-body);
}

/* Title slots — every editorial heading in the page funnels through this
   rule. Italic vs roman is set per-slot below. */
.ed-section__title,
.ed-section__lede,
.ed-pull,
.ed-curated__title,
.ed-closing__text,
.ed-form-intro {
  font-family: var(--font-title);
}

/* Logo lockup slots — sub-logo, claim, footer-sub.
   The wordmark itself is now an <img> (PNG) and no longer pulls in
   --font-logo. Cormorant Garamond remains for the editorial slots below. */
.ed-hero__sublogo,
.ed-hero__claim,
.ed-footer__sub {
  font-family: var(--font-logo);
}

::selection { background: var(--color-tan); color: var(--color-forest); }

/* ==========================================================================
   Top utility bar — language switch + mainsite link.
   Fixed, hairline, near-invisible until needed.
   ========================================================================== */

.utility {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--gutter);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  pointer-events: none;
  transition: background-color var(--duration-3) var(--ease),
              backdrop-filter var(--duration-3) var(--ease);
}
.utility > * { pointer-events: auto; }

.utility[data-stuck="true"] {
  background: color-mix(in oklab, var(--color-forest) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.utility a { color: var(--color-cream); text-decoration: none; }
.utility a:hover { color: var(--color-tan); }

.utility__home {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0.78;
  transition: opacity var(--duration-2) var(--ease);
}
.utility__home:hover { opacity: 1; }
.utility__home-arrow {
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.utility__home-arrow::before {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Language switch ------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--color-cream);
  opacity: 0.45;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  transition: opacity var(--duration-2) var(--ease);
}
.lang-switch button:hover { opacity: 0.85; }
.lang-switch button[aria-pressed="true"] { opacity: 1; }
.lang-switch__sep {
  width: 1px; height: 12px;
  background: color-mix(in oklab, var(--color-cream) 30%, transparent);
}

/* ==========================================================================
   Hero — full viewport, centered, sub-logo composition
   ========================================================================== */

.ed-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--color-forest);
  color: var(--color-cream);
  padding-block: clamp(var(--space-9), 14vh, var(--space-11));
  overflow: hidden;
}

.ed-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(var(--space-7), 8vh, var(--space-9));
  width: 100%;
}

.ed-hero__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(var(--space-5), 4vh, var(--space-7));
}

/* Logo wordmark — served as a PNG <img>. Sized by width on a fluid
   clamp() so the optical scale matches the previous Cormorant lockup.
   The PNG is 2880×880 (2× the declared 1440×440 box) for Retina sharpness. */
.ed-hero__wordmark {
  width: clamp(18rem, 50vw, 56rem);
  height: auto;
  max-width: 100%;
  display: block;
}

.ed-hero__rule {
  width: clamp(220px, 40vw, 520px);
  height: 1px;
  background: var(--color-tan);
  opacity: 0.85;
}

/* Sub-logo "Executive Dining" — part of the lockup, Cormorant Regular Italic 400.
   Bumped from 300 to 400: Cormorant Light Italic loses legibility on the
   Verde Bosco Notturno field (thin strokes lift off the dark ground). On
   cream the 300 is still preferred; here the hero is always forest. */
.ed-hero__sublogo {
  font-style: italic;
  font-weight: var(--w-regular);
  font-size: clamp(1.25rem, 2.6vw, 2.25rem);
  letter-spacing: 0.04em;
  color: var(--color-cream);
  opacity: 1;
}

/* Hero claim "Business hospitality around the table" — part of the lockup,
   Cormorant Regular Italic 400 (treated as claim, not as a title). Bumped
   from 300 to 400 for legibility on the Verde Bosco Notturno field. */
.ed-hero__claim {
  font-style: italic;
  font-weight: var(--w-regular);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--color-cream);
  max-width: 22ch;
  text-wrap: balance;
}

/* Hero CTAs ---------------------------------------------------------------
   Two parallel anchors sitting under the claim in natural document flow
   (not absolute-positioned — the brief puts them "sotto il claim" as
   primary actions, not as a peripheral scroll affordance pinned to the
   viewport bottom). Equal-weight: same caps, same hairline; the rule
   under each link is what signals interactivity.

   Layout: inline-flex with a thin vertical separator on desktop; on
   narrow viewports the rule collapses to a typographic middle-dot. */
.ed-hero__ctas {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 6vw, 56px);
  margin-top: clamp(40px, 7vh, 72px);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: var(--w-regular);
  white-space: nowrap;
}
.ed-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in oklab, var(--color-cream) 85%, transparent);
  text-decoration: none;
  padding: 6px 2px 8px;
  border-bottom: 0.5px solid color-mix(in oklab, var(--color-tan) 55%, transparent);
  transition: color var(--duration-2) var(--ease),
              border-color var(--duration-2) var(--ease);
}
.ed-hero__cta:hover,
.ed-hero__cta:focus-visible {
  color: var(--color-cream);
  border-color: var(--color-tan);
  outline: none;
}
.ed-hero__cta svg {
  transition: transform var(--duration-2) var(--ease);
}
.ed-hero__cta:hover svg,
.ed-hero__cta:focus-visible svg {
  transform: translateY(2px);
}
.ed-hero__cta-sep {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: color-mix(in oklab, var(--color-cream) 25%, transparent);
}
@media (max-width: 520px) {
  .ed-hero__ctas {
    gap: 16px;
    font-size: 11px;
  }
  .ed-hero__cta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--color-cream) 40%, transparent);
  }
}

/* ==========================================================================
   Section primitives
   ========================================================================== */

.ed-section {
  position: relative;
  padding-block: clamp(var(--space-9), 14vh, var(--space-11));
  padding-inline: var(--gutter);
}

.ed-section--cream  { background: var(--color-cream);  color: var(--color-ink); }
.ed-section--forest { background: var(--color-forest); color: var(--color-cream); }

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

.ed-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 5fr);
  gap: clamp(var(--space-6), 6vw, var(--space-9));
  align-items: start;
}
@media (max-width: 880px) {
  .ed-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.ed-section__index {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}
.ed-section--forest .ed-section__index {
  color: color-mix(in oklab, var(--color-cream) 60%, transparent);
}
.ed-section__index-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}

.ed-section__title {
  font-weight: var(--w-medium); /* Cormorant 500 — section title default */
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 clamp(var(--space-6), 5vh, var(--space-8)) 0;
  text-wrap: balance;
}
.ed-section__title em {
  font-style: italic;
  font-weight: var(--w-medium); /* Cormorant 500 italic emphasis */
}

.ed-section__lede {
  /* Acts as the visible section heading in this editorial layout —
     Cormorant 500 italic, treated as an em-flavoured opener. */
  font-weight: var(--w-medium);
  font-style: italic;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  margin: 0 0 var(--space-7) 0;
  max-width: 36ch;
  color: inherit;
  opacity: 1;
}
/* On forest, the lede stays Cream at 100% opacity for legibility against #172a1f. */
.ed-section--forest .ed-section__lede {
  color: var(--color-cream);
  opacity: 1;
}

.ed-prose {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  font-weight: var(--w-light); /* Inter 300 — long narrative */
  max-width: 62ch;
}
.ed-prose p { margin: 0 0 1em 0; }
.ed-prose p:last-child { margin-bottom: 0; }
/* Cream prose on forest — 100% opacity for legibility against #172a1f.
   Reduced opacities (80/90%) are forbidden on dark: they collapse legibility. */
.ed-section--forest .ed-prose { color: var(--color-cream); opacity: 1; }

/* Hairline rule that opens a section -------------------------------------- */
.ed-section__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--rule);
  border: 0;
  margin-bottom: clamp(var(--space-6), 5vh, var(--space-8));
}
.ed-section--forest .ed-section__rule {
  background: color-mix(in oklab, var(--color-tan) 70%, transparent);
}

/* ==========================================================================
   Lists — formats, criteria, target, inclusions
   ========================================================================== */

.ed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.ed-list > li {
  display: grid;
  grid-template-columns: minmax(40px, 60px) 1fr;
  gap: var(--space-5);
  align-items: baseline;
  padding-block: clamp(var(--space-4), 2.4vh, var(--space-5));
  border-top: 1px solid var(--rule-faint);
  font-family: var(--font-sans);
}
.ed-list > li:last-child { border-bottom: 1px solid var(--rule-faint); }
.ed-section--forest .ed-list > li,
.ed-section--forest .ed-list > li:last-child {
  border-color: color-mix(in oklab, var(--color-cream) 16%, transparent);
}

.ed-list__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--color-tan);
  padding-top: 0.35em;
}

.ed-list__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ed-list__title {
  font-family: var(--font-body); /* list items are body, not title — Inter */
  font-weight: var(--w-regular);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: 0;
}
.ed-list__title em {
  font-style: italic;
  font-weight: var(--w-regular); /* Inter italic 400 */
}

.ed-list__desc {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  line-height: 1.6;
  max-width: 58ch;
  opacity: 0.85;
}

/* Tight list variant — one-line items (criteria, target) ------------------- */
.ed-list--tight > li {
  grid-template-columns: minmax(32px, 44px) 1fr;
  padding-block: var(--space-4);
}
.ed-list--tight .ed-list__title {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: var(--w-regular);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  letter-spacing: 0;
  line-height: 1.5;
}

/* ==========================================================================
   "Perché conta" — typographic emphasis section
   ========================================================================== */

.ed-pull {
  /* Section title for "Why matters" — Cormorant 500 italic, the editorial
     em-style anchor for this section. Tan italic accent on the tail. */
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: clamp(2rem, 5.4vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(var(--space-6), 6vh, var(--space-8)) 0;
  max-width: 22ch;
  text-wrap: balance;
  color: var(--color-cream);
}
.ed-pull__accent { color: var(--color-tan); font-style: italic; }

.ed-pull-rule {
  width: 64px;
  height: 1px;
  background: var(--color-tan);
  margin-bottom: var(--space-7);
}

/* ==========================================================================
   Pricing block — modello di collaborazione
   ========================================================================== */

.ed-pricing {
  margin-top: clamp(var(--space-7), 6vh, var(--space-8));
  border-top: 1px solid color-mix(in oklab, var(--color-cream) 16%, transparent);
}
.ed-section--cream .ed-pricing {
  border-top-color: var(--rule-faint);
}

.ed-pricing__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: baseline;
  padding-block: var(--space-5);
  border-bottom: 1px solid color-mix(in oklab, var(--color-cream) 16%, transparent);
  font-family: var(--font-sans);
}
.ed-section--cream .ed-pricing__row { border-bottom-color: var(--rule-faint); }

@media (max-width: 640px) {
  .ed-pricing__row { grid-template-columns: 1fr; gap: var(--space-2); }
}

.ed-pricing__label {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  letter-spacing: 0;
}
.ed-pricing__value {
  text-align: right;
  font-family: var(--font-body); /* Inter 500 — prices = emphatic UI */
  font-style: normal;
  font-weight: var(--w-medium);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  letter-spacing: 0;
  color: var(--color-tan);
}
@media (max-width: 640px) {
  .ed-pricing__value { text-align: left; }
}

.ed-pricing__note {
  margin-top: var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.7;
  max-width: 56ch;
}

/* ==========================================================================
   The Curated Table — editorial card
   ========================================================================== */

.ed-curated {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
  padding: clamp(var(--space-7), 6vw, var(--space-9));
  border: 1px solid color-mix(in oklab, var(--color-cream) 22%, transparent);
}
.ed-section--cream .ed-curated {
  border-color: color-mix(in oklab, var(--color-ink) 14%, transparent);
}

.ed-curated__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-tan);
}

.ed-curated__title {
  /* Box title — Cormorant 500 roman. Italic emphasis goes 500 italic. */
  font-weight: var(--w-medium);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.005em;
}
.ed-curated__title em {
  font-style: italic;
  font-weight: var(--w-medium); /* Cormorant 500 italic */
}

.ed-curated__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  font-weight: var(--w-light); /* Inter 300 — narrative body */
  max-width: 58ch;
  opacity: 1; /* 100% on forest for legibility on #172a1f */
}
.ed-curated__body p { margin: 0 0 0.85em 0; }
.ed-curated__body p:last-child { margin-bottom: 0; }

.ed-curated__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-cream) 60%, transparent);
}
.ed-section--cream .ed-curated__meta { color: var(--color-ash); }
.ed-curated__meta-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--color-tan);
  border-radius: 999px;
}

/* ==========================================================================
   Closing statement — full-bleed typographic
   ========================================================================== */

.ed-closing {
  padding-block: clamp(var(--space-10), 22vh, var(--space-11));
  text-align: left;
}
.ed-closing__text {
  /* Approved closing-statement treatment — Cormorant 500 roman,
     mixed with em italic 500 in tan for the accent clause. */
  font-weight: var(--w-medium);
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.ed-closing__text em {
  font-style: italic;
  font-weight: var(--w-medium); /* Cormorant 500 italic */
  color: var(--color-tan);
}
.ed-closing__seal {
  margin-top: clamp(var(--space-7), 6vh, var(--space-9));
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-cream) 50%, transparent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.ed-closing__seal::before {
  content: "";
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--color-tan);
}

/* ==========================================================================
   Form
   ========================================================================== */

.ed-form-wrap { max-width: 820px; }

.ed-form-intro {
  /* Section title slot for the contact section — Cormorant 500 italic,
     functions as an editorial invitation rather than a hard heading. */
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.4;
  margin: 0 0 clamp(var(--space-7), 6vh, var(--space-8)) 0;
  max-width: 38ch;
  opacity: 1;
}

.ed-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-6);
}
.ed-form__row--full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .ed-form { grid-template-columns: 1fr; }
}

.ed-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ed-field label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-cream) 70%, transparent);
}
.ed-section--cream .ed-field label { color: var(--text-muted); }

.ed-field label .req {
  color: var(--color-tan);
  margin-left: 0.25em;
}

.ed-field input,
.ed-field select,
.ed-field textarea {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--color-cream) 30%, transparent);
  padding: var(--space-3) 0;
  border-radius: 0;
  transition: border-color var(--duration-2) var(--ease);
}
.ed-section--cream .ed-field input,
.ed-section--cream .ed-field select,
.ed-section--cream .ed-field textarea {
  border-bottom-color: color-mix(in oklab, var(--color-ink) 25%, transparent);
}
.ed-field input:focus,
.ed-field select:focus,
.ed-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-tan);
}
.ed-field textarea {
  resize: vertical;
  min-height: 120px;
}
.ed-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(-45deg, transparent 50%, currentColor 50%);
  background-position:
    calc(100% - 12px) calc(50% + 2px),
    calc(100% - 6px)  calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.ed-field select option {
  background: var(--color-forest);
  color: var(--color-cream);
}
.ed-section--cream .ed-field select option {
  background: var(--color-cream);
  color: var(--color-ink);
}

.ed-form__submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
@media (max-width: 640px) {
  .ed-form__submit-row { flex-direction: column; align-items: stretch; }
}

.ed-submit {
  appearance: none;
  background: var(--color-tan);
  color: var(--color-forest);
  border: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: var(--w-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 1.25rem 2.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  transition: background-color var(--duration-2) var(--ease),
              color var(--duration-2) var(--ease);
}
.ed-submit:hover { background: var(--color-cream); color: var(--color-forest); }
.ed-section--cream .ed-submit { color: var(--color-cream); background: var(--color-forest); }
.ed-section--cream .ed-submit:hover { background: var(--color-ink); }

.ed-form__hint {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.6;
  max-width: 38ch;
}

.ed-form__sent {
  grid-column: 1 / -1;
  padding: var(--space-6);
  border: 1px solid color-mix(in oklab, var(--color-tan) 70%, transparent);
  font-family: var(--font-body); /* confirmation message — body, not title */
  font-style: italic;
  font-weight: var(--w-regular);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* GDPR consent ----------------------------------------------------------
   Tappable row with the privacy checkbox + label. The checkbox itself is
   styled to look intentional on the cream surface; the row clears 44px
   tap-target on mobile. */
.ed-form__consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-top: var(--space-4);
  font-family: var(--font-sans);
  font-size: 0.8125rem; /* 13px — smaller than body, per brief */
  font-weight: var(--w-light);
  line-height: 1.55;
  color: color-mix(in oklab, var(--color-ink) 78%, transparent);
  cursor: pointer;
  min-height: 44px;
}
.ed-form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid color-mix(in oklab, var(--color-ink) 40%, transparent);
  background: var(--color-cream);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color var(--duration-2) var(--ease),
              background-color var(--duration-2) var(--ease);
}
.ed-form__consent input[type="checkbox"]:hover { border-color: var(--color-forest); }
.ed-form__consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}
.ed-form__consent input[type="checkbox"]:checked {
  background: var(--color-forest);
  border-color: var(--color-forest);
}
.ed-form__consent input[type="checkbox"]:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--color-cream);
  border-bottom: 1.5px solid var(--color-cream);
  transform: translateY(-1px) rotate(-45deg);
}
.ed-form__consent a {
  color: var(--color-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ed-form__consent.is-error input[type="checkbox"] {
  border-color: #b3452e; /* validation red — used only here */
}

.ed-form__consent-error {
  grid-column: 1 / -1;
  margin: var(--space-2) 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--w-regular);
  color: #b3452e;
}

/* Submit disabled state (used while AJAX request is in flight) */
.ed-submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}
.ed-submit[disabled]:hover { background: var(--color-tan); color: var(--color-forest); }
.ed-section--cream .ed-submit[disabled]:hover { background: var(--color-forest); color: var(--color-cream); }

/* Inline error message — surfaces below the submit row when the AJAX
   POST fails. Uses the tan accent on the word "errore" / "error" per the
   approved error treatment; the rest is the section's ink color so it
   reads naturally on the cream background. */
.ed-form__error {
  grid-column: 1 / -1;
  margin: var(--space-5) 0 0;
  max-width: 56ch;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--w-regular);
  line-height: 1.55;
  color: var(--color-ink);
}
.ed-form__error-accent {
  color: var(--color-tan);
  font-weight: var(--w-medium);
}
.ed-form__error a {
  color: var(--color-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ed-footer {
  background: var(--color-forest);
  color: var(--color-cream);
  border-top: 1px solid color-mix(in oklab, var(--color-tan) 60%, transparent);
  padding-block: clamp(var(--space-9), 12vh, var(--space-10)) var(--space-7);
}

.ed-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 960px) {
  .ed-footer__grid { grid-template-columns: 1fr 1fr; }
  .ed-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ed-footer__grid { grid-template-columns: 1fr; }
}

.ed-footer__brand {
  display: flex;
  flex-direction: column;
  /* Cluster the lockup (wordmark + "Executive Dining" sub) tightly: the
     block shrinks to its widest child (the wordmark) so the sub line can
     center under the logo instead of running the full width of the
     footer-brand cell. align-self: flex-start prevents the parent column
     flex from stretching it back to full width. */
  align-self: flex-start;
  align-items: center;
  gap: var(--space-4);
}

.ed-footer__wordmark {
  /* Footer wordmark — PNG <img>, discreet width to match prior scale. */
  width: clamp(8.75rem, 13.75vw, 13.75rem);
  height: auto;
  display: block;
}
.ed-footer__sub {
  font-style: italic;
  font-weight: var(--w-regular); /* Cormorant Regular Italic 400 on dark */
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  text-align: center; /* centered under the wordmark in the footer lockup */
}

.ed-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ed-footer__col-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-cream) 55%, transparent);
  margin-bottom: var(--space-2);
}
.ed-footer__col a {
  color: var(--color-cream);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--color-cream) 22%, transparent);
  padding-bottom: 2px;
  width: max-content;
  transition: border-color var(--duration-2) var(--ease), color var(--duration-2) var(--ease);
}
.ed-footer__col a:hover { color: var(--color-tan); border-color: var(--color-tan); }

/* City list — one column inside the footer's city slot.
   Active cities (Roma, Napoli) render plain; the "coming soon" annotation
   sits inline in Cormorant italic at a muted tone, so it reads as a hint
   rather than a peer to the active cities. */
.ed-footer__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ed-footer__city {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  opacity: 0.85;
}
.ed-footer__city-note {
  font-family: var(--font-logo); /* Cormorant Garamond */
  font-style: italic;
  font-weight: var(--w-regular);   /* 400 italic on dark — matches the claim register */
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  color: color-mix(in oklab, var(--color-cream) 55%, transparent);
}

.ed-footer__base {
  margin-top: clamp(var(--space-8), 8vh, var(--space-9));
  padding-top: var(--space-5);
  border-top: 1px solid color-mix(in oklab, var(--color-cream) 18%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-cream) 55%, transparent);
}
.ed-footer__base a { color: inherit; text-decoration: none; }
.ed-footer__base a:hover { color: var(--color-tan); }
.ed-footer__base-links {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
@media (max-width: 640px) {
  .ed-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ed-hero__cta svg { transition: none; }
}
