/* Francesca Granata – Psicologa Psicoterapeuta
   Palette "A+C chiara": crema, bordeaux, rosa tenue, cipria, vinaccia.
   Font: Atkinson Hyperlegible Next only (chosen for low-vision and dyslexic readers), self-hosted. */

/* Atkinson Hyperlegible Next: variable weight 200-800, split in latin / latin-ext (the latter has the schwa) */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext-Italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext-Italic-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #F4EADF;
  --wine: #2E0F1E;
  --rose: #EDDCD2;
  --blush: #F2A99F;
  --accent: #9E3446;
  --ink-soft: #4D2A38;
  --muted: #6E4E59;
  --line: #D2BFB4;
  --line-strong: #C9AFA3;
  --on-wine: #F4EADF;
  --on-wine-soft: #E5D3C8;
  --on-wine-muted: #C9B3AB;

  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (8px grid): every margin, padding and gap uses these steps */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout rhythm, redefined per breakpoint */
  --wrap: 1280px;
  --gutter: 48px;
  --section: var(--space-3xl);   /* vertical padding of a section */
  --block: var(--space-xl);      /* between a section heading and its content, or between two blocks */
  --cols: 80px;                  /* gap between side-by-side columns */
  --header-h: 80px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--wine :focus-visible, .site-footer :focus-visible { outline-color: var(--blush); }
main:focus { outline: none; }

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

h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link { position: absolute; left: var(--space-s); top: -60px; z-index: 100; padding: var(--space-xs) var(--space-s); background: var(--wine); color: var(--on-wine); text-decoration: none; }
.skip-link:focus { top: var(--space-s); color: var(--on-wine); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }

.eyebrow {
  margin: 0 0 var(--space-s);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 52px;
  padding: 0 var(--space-l);
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: var(--wine);
  color: var(--on-wine);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-wine); }
.btn--outline { background: transparent; color: var(--wine); }
.btn--outline:hover { background: var(--wine); border-color: var(--wine); color: var(--on-wine); }
.btn--light { background: var(--blush); border-color: var(--blush); color: var(--wine); }
.btn--light:hover { background: var(--on-wine); border-color: var(--on-wine); color: var(--wine); }
.btn svg { flex: none; }

/* Action bar: secondary actions first, the primary one last, so it always sits on the right,
   also when the bar is centered */
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-s); margin-top: var(--space-l); }
.actions--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--blush);
}

.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 154px; height: auto; }

.nav { display: flex; align-items: center; gap: var(--space-l); }
.nav__list { display: flex; align-items: center; gap: var(--space-m); margin: 0; padding: 0; list-style: none; }
.nav__list a, .nav__sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.nav__list a:hover, .nav__sub-toggle:hover { color: var(--accent); }
.nav__list a[aria-current="page"], .nav__item--sub:has([aria-current="page"]) .nav__sub-toggle { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__item--sub { position: relative; }
.nav__sub-toggle svg { transition: transform .2s; }
.nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute;
  top: 100%;
  left: calc(var(--space-s) * -1);
  min-width: 300px;
  margin: 0;
  padding: var(--space-xs) 0;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(46, 15, 30, .08);
  display: none;
}
.nav__sub a { display: flex; width: 100%; padding: 0 var(--space-s); letter-spacing: 0.04em; text-transform: none; font-size: 16px; }
.nav__sub a:hover { background: var(--rose); color: var(--wine); }
.nav__item--sub.is-open .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1001px) {
  .nav__item--sub:not(.is-dismissed):hover .nav__sub, .nav__item--sub:not(.is-dismissed):focus-within .nav__sub { display: block; }
}
.nav__cta { min-height: 44px; padding: 0 var(--space-m); font-size: 14px; letter-spacing: 0.08em; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  background: none;
  color: var(--wine);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
#contatti-titolo { text-align: center; }

@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .brand img { width: 128px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-m);
    padding: var(--space-s) var(--gutter) var(--space-l);
    background: var(--cream);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list a, .nav__sub-toggle { width: 100%; min-height: 56px; font-family: var(--sans); font-size: 24px; font-weight: 500; letter-spacing: 0; text-transform: none; justify-content: space-between; }
  .nav__sub { position: static; min-width: 0; padding: 0 0 var(--space-xs); border: 0; box-shadow: none; background: none; }
  .nav__sub a { min-height: 44px; padding: 0 0 0 var(--space-s); font-family: var(--sans); font-size: 17px; }
  .nav__cta { min-height: 52px; font-size: 15px; }
  body.nav-open { overflow: hidden; }
}

.section { padding: var(--section) 0; overflow-x: clip; }
.section--tight-top { padding-top: 0; }
.section--rose { background: var(--rose); }
.section--wine { background: var(--wine); color: var(--on-wine); }
.section--wine a { color: var(--on-wine); }
.section--wine a:hover { color: var(--blush); }
.section--wine .eyebrow { color: var(--blush); }
.section--wine p { color: var(--on-wine-soft); }

.h-display { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.h-section { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: var(--space-m); }
.h-sub { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; margin-bottom: var(--space-s); }
.section-heading { max-width: 900px; margin-bottom: var(--block); }
.lead { font-family: var(--sans); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; letter-spacing: 0; color: var(--wine); }
.text-soft { color: var(--ink-soft); }

/* Home hero */
.hero { padding: var(--block) 0 var(--section); overflow: hidden; }
.hero__kicker { margin: 0 0 var(--space-l); font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; color: var(--accent); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: end; }
.hero__text { position: relative; z-index: 2; margin-right: -28%; }
.hero__claim { font-size: clamp(48px, 7.0vw, 108px); line-height: 0.95; letter-spacing: -0.03em; }
.hero__claim em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero__body { max-width: 520px; margin-top: var(--space-l); font-size: 19px; color: var(--ink-soft); }
.hero__actions { max-width: 520px; }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; }
.hero__figure figcaption { margin-top: var(--space-xs); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creds a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-l); min-height: 64px; padding: var(--space-s) 0; font-size: 13px; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.creds a:hover { color: var(--accent); }
.creds .sep { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cols); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split img { width: 100%; object-fit: cover; }
.quote { margin: 0 0 var(--space-l); font-family: var(--sans); font-size: clamp(40px, 5.2vw, 68px); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; color: var(--on-wine); }
.quote em { color: var(--blush); }

/* Two columns separated by a rule: .two-col on Home, .cols-2 on the area pages and Contatti */
.two-col, .cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--wine); }
.two-col > div, .cols-2 > div { padding: var(--space-l) var(--space-xl) 0 0; border-bottom: 0;}
.two-col > div + div, .cols-2 > div + div { padding: var(--space-l) 0 0 var(--space-xl); border-left: 1px solid var(--line-strong); }
.cols-2 { margin-top: var(--space-s); }
.cols-2 h3 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 var(--space-s); }

.list-lines { margin: var(--space-s) 0 0; padding: 0; list-style: inside; }
.list-lines li { padding: 12px 0; }

.areas { border-bottom: 1px solid var(--line); }
.area-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 48px;
  gap: var(--space-l);
  align-items: baseline;
  padding: var(--space-l) 0;
  border-top: 1px solid var(--line);
  color: var(--wine);
  text-decoration: none;
  transition: background-color .2s;
}
.area-row:hover { background: var(--rose); color: var(--wine); }
.area-row__num { font-family: var(--sans); font-style: italic; font-size: 64px; line-height: 1; color: var(--accent); }
.area-row__title { display: flex; flex-direction: column; gap: var(--space-xs); }
.area-row__title h3, .area-row__title strong { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.area-row__title span { font-size: 13px; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; color: var(--muted); }
.area-row__desc { font-size: 17px; color: var(--ink-soft); }
.area-row__arrow { font-size: 28px; text-align: right; }

.faq-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-m); margin-top: var(--block); }
.faq-invite .h-sub { margin: 0; }

/* Rose section, the same on every page: centered buttons, email (secondary) on the left, WhatsApp (primary) on the right */
.contact-cta { justify-content: center; }
.contact-cta .btn { min-width: 280px; }
/* Number and address in full above the buttons, in the same order (email left, WhatsApp right) */
.contact-cta__direct { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s) var(--space-xl); margin: var(--space-l) 0 0; padding: var(--space-m) 0 0; list-style: none; border-top: 1px solid var(--line-strong); text-align: center; }
.contact-cta__direct a { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-2xs); min-height: 44px; color: var(--wine); text-decoration: none; }
.contact-cta__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; color: var(--accent); }
.contact-cta__label svg { flex: none; }
.contact-cta__value { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; border-bottom: 2px solid var(--blush); }
.contact-cta__direct a:hover .contact-cta__value { color: var(--accent); border-color: var(--accent); }

/* Opening of the inner pages: title, intro text and image in one grid.
   Desktop: centered title, then text | image. Single column: image, title, text. */
.page-intro { padding: var(--space-2xl) 0 var(--section); overflow: hidden; }
.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head head" "text media";
  gap: var(--block) var(--cols);
  align-items: start;
}
.page-intro--contact .page-intro__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.page-intro .page-head { grid-area: head; padding: 0; }
.page-intro__text { grid-area: text; }
.page-intro__text .lead { margin-bottom: var(--space-m); }
.page-intro__media { grid-area: media; width: 100%; margin: 0; }
img.page-intro__media, .page-intro__media img { width: 100%; object-fit: cover; }
.page-intro--contact .page-intro__media img { aspect-ratio: 4 / 3; }
.page-intro__media figcaption { margin-top: var(--space-xs); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.channels { margin-top: var(--space-xs); border-bottom: 1px solid var(--line); }
.channel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  gap: var(--space-m);
  align-items: center;
  padding: var(--space-m) 0;
  border-top: 1px solid var(--line);
  color: var(--wine);
  text-decoration: none;
  transition: background-color .2s;
}
.channel:hover { background: var(--rose); color: var(--wine); }
.channel__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--wine); color: var(--on-wine); }
.channel__text { display: flex; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.channel__label { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; color: var(--accent); }
.channel__value { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.channel__arrow { font-size: 26px; text-align: right; }

.box { padding: var(--space-2xl); background: var(--rose); }
.box .h-section { margin-bottom: var(--space-m); }

/* "In breve" box on Chi sono: collapsed, opens on click/tap */
.box.box--toggle { padding: 0; }
.box.box--toggle summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); padding: var(--space-xl) var(--space-2xl); list-style: none; cursor: pointer; }
.box.box--toggle summary::-webkit-details-marker { display: none; }
.box.box--toggle summary .h-section { margin: 0; }
.box.box--toggle summary::after {
  content: "";
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: linear-gradient(var(--wine), var(--wine)) center / 18px 2px no-repeat, linear-gradient(var(--wine), var(--wine)) center / 2px 18px no-repeat;
  transition: background-color .2s;
}
.box.box--toggle summary:hover::after { background-color: var(--cream); }
/* open: the plus becomes a minus */
.box.box--toggle[open] summary::after { background-size: 18px 2px, 0 0; }
.box.box--toggle[open] { padding-bottom: var(--space-2xl); }
.box.box--toggle .facts { margin: 0 var(--space-2xl); }

.page-head { padding: var(--space-2xl) 0 var(--block); text-align: center; }
.page-head h1 { max-width: 1000px; margin: 0 auto; }
.page-head__rule { width: 56px; height: 1px; margin: var(--space-l) auto 0; background: var(--accent); }
.page-head__intro { max-width: 760px; margin: var(--space-m) auto 0; font-size: 20px; color: var(--ink-soft); }
.page-head--solo { padding-bottom: var(--section); }

.prose h3 { font-size: clamp(24px, 2.4vw, 30px); margin: var(--block) 0 var(--space-s); }
.prose .closing { margin-top: var(--space-l); font-family: var(--sans); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.4; }

.facts { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; margin: 0; border-top: 2px solid var(--wine); }
.facts dt, .facts dd { margin: 0; padding: var(--space-s) 0; border-bottom: 1px solid var(--line-strong); overflow-wrap: break-word; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.9; text-transform: uppercase; color: var(--accent); }

.button-stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-s); margin-top: var(--space-l); }
.button-stack .btn { min-height: 56px; text-transform: none; letter-spacing: 0.01em; font-size: 17px; font-weight: 600; text-align: left; justify-content: flex-start; }

.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-l) 0;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h2, .faq__question { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: linear-gradient(var(--wine), var(--wine)) center / 16px 2px no-repeat, linear-gradient(var(--wine), var(--wine)) center / 2px 16px no-repeat;
  transition: background-color .2s;
}
.faq__item summary:hover::after { background-color: var(--rose); }
.faq__item[open] summary::after { background-size: 16px 2px, 0 0; }
.faq__body { padding: 0 calc(44px + var(--space-m)) var(--space-l) 0; }
.faq__item ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq__item li { margin-bottom: 0.6em; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: var(--space-l); }
.legal h3 { margin: var(--space-l) 0 var(--space-xs); font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }

.site-footer { padding: var(--space-xl) 0 var(--space-l); background: var(--wine); border-top: 1px solid #6B3A4E; color: var(--on-wine-muted); font-size: 14px; line-height: 1.6; }
.site-footer a { color: var(--on-wine-muted); }
.site-footer a:hover { color: var(--blush); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-m); padding-bottom: var(--space-m); margin-bottom: var(--space-m); border-bottom: 1px solid #6B3A4E; }
.site-footer__name { font-family: var(--sans); font-size: 28px; color: var(--on-wine); text-decoration: none; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-m); margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; text-decoration: none; }
.site-footer__nav a[aria-current="page"], .site-footer__name[aria-current="page"] { color: var(--on-wine); text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { margin: 0 0 var(--space-xs); }
.map { width: 100%; min-height: 350px; border: 0; }
.site-footer__bottom { text-align: center; }

/* Single column (tablet and phone): every image comes before the text it belongs to */
@media (max-width: 1000px) {
  :root { --gutter: 32px; --section: 72px; --block: 40px; --cols: 40px; }
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); gap: var(--block); }
  .split--reverse .split__media { order: -1; }
  .split img { max-width: 560px; }
  .box { padding: var(--space-xl) var(--space-l); }
  .box.box--toggle summary { padding: var(--space-l); }
  .box.box--toggle[open] { padding-bottom: var(--space-xl); }
  .box.box--toggle .facts { margin: 0 var(--space-l); }

  /* Home hero: photo, kicker, claim, text, button. The photo is capped in height so that
     photo, title and first paragraph fit in the first screen */
  .hero { padding-top: 0; }
  .hero > .wrap { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__figure { order: -1; margin: 0 calc(var(--gutter) * -1) var(--space-m); }
  .hero__figure img { aspect-ratio: auto; height: clamp(180px, 40svh, 480px); object-position: center 55%; }
  .hero__figure figcaption { padding: 0 var(--gutter); }
  .hero__kicker { margin-bottom: var(--space-s); }
  .hero__text { margin-right: 0; }
  .hero__body { margin-top: var(--space-m); }

  /* Inner pages: image, then title, then text */
  .page-intro { padding-top: 0; }
  .page-intro__grid, .page-intro--contact .page-intro__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "head" "text"; gap: var(--space-m); }
  .page-intro__media { width: auto; margin: 0 calc(var(--gutter) * -1); }
  img.page-intro__media, .page-intro__media img, .page-intro--contact .page-intro__media img { width: 100%; aspect-ratio: auto; height: clamp(180px, 40svh, 480px); }
  img.page-intro__media { width: calc(100% + var(--gutter) * 2); max-width: none; }
  .page-intro__media figcaption { padding: 0 var(--gutter); }
  .page-intro .page-head__rule { display: none; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; --section: var(--space-xl); --block: var(--space-l); }
  body { font-size: 17px; }

  .h-display { font-size: clamp(30px, 8.4vw, 44px); line-height: 1.08; }
  .h-section { font-size: clamp(28px, 7.6vw, 34px); }
  .lead { font-size: 20px; }
  .split img { aspect-ratio: 1; max-width: none; }

  .hero__kicker { font-size: 12px; }
  .hero__claim { font-size: clamp(40px, 11.6vw, 48px); }
  .hero__body { margin-top: var(--space-s); font-size: 18px; }

  .page-head { padding: var(--space-l) 0 var(--space-m); text-align: left; }
  .page-head h1 { margin: 0; }
  .page-head .eyebrow { margin-bottom: var(--space-xs); }
  .page-head__rule { margin: var(--space-m) 0 0; }
  .page-head__intro { margin: var(--space-s) 0 0; font-size: 18px; }
  .page-intro .page-head { padding: 0; }
  .page-intro__text .lead { margin-bottom: var(--space-s); }

  /* Buttons go full width and stack: the primary one stays last */
  .actions { flex-direction: column; gap: var(--space-xs); margin-top: var(--space-m); }
  .actions .btn, .contact-cta .btn, .button-stack .btn, .faq-invite .btn { width: 100%; min-width: 0; }
  .contact-cta__direct { flex-direction: column; align-items: stretch; gap: var(--space-m); margin-top: var(--space-m); }

  .two-col, .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .two-col > div, .two-col > div + div, .cols-2 > div, .cols-2 > div + div { padding: var(--space-m) 0 0; border-left: 0; }
  .two-col > div + div, .cols-2 > div + div { margin-top: var(--space-m); border-top: 1px solid var(--line-strong); }

  .area-row { grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-xs) var(--space-s); padding: var(--space-m) 0; }
  .area-row__num { font-size: 40px; }
  .area-row__desc, .area-row__arrow { grid-column: 2; }
  .faq-invite { gap: var(--space-s); }

  .box { padding: var(--space-l) var(--gutter); margin: 0 calc(var(--gutter) * -1); }
  .box.box--toggle summary { padding: var(--space-m) var(--gutter); }
  .box.box--toggle summary::after { width: 44px; height: 44px; }
  .box.box--toggle[open] { padding-bottom: var(--space-l); }
  .box.box--toggle .facts { margin: 0 var(--gutter); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: var(--space-2xs); }

  .channel { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: var(--space-s); padding: var(--space-s) 0; }
  .channel__icon { width: 48px; height: 48px; }
  .channel__arrow { font-size: 22px; }

  .button-stack { gap: var(--space-xs); margin-top: var(--space-m); }
  .faq__item summary { gap: var(--space-s); padding: var(--space-m) 0; }
  .faq__body { padding: 0 0 var(--space-m); }
  .prose h3 { margin-top: var(--space-l); }
  .prose .closing { margin-top: var(--space-m); }
  .legal h3 { margin-top: var(--space-m); }
  .site-footer { padding: var(--space-l) 0 var(--space-m); }
  .site-footer__top { padding-bottom: var(--space-s); margin-bottom: var(--space-s); gap: var(--space-xs); }
}

/* Phones: the opening image takes 40% of the screen, but leaves ~490px for header, title and
   first paragraph, so on shorter screens it gets lower and they still fit in the first screen */
@media (max-width: 700px) {
  .hero__figure img, img.page-intro__media, .page-intro__media img, .page-intro--contact .page-intro__media img { height: clamp(150px, min(40svh, 100svh - 490px), 480px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
