/* ============================================================
   Atelier Doidé — Anna Morchio, comburente della genialità
   ============================================================ */

:root {
  /* --- palette (committed: paper warm + ink + giallo comburente accent) --- */
  --paper:      oklch(0.985 0.012 88);   /* sfondo principale, crema caldo */
  --paper-2:    oklch(0.962 0.018 86);   /* sezione alternata, lievemente più ambrata */
  --paper-3:    oklch(0.94  0.025 84);   /* card / contenitori */
  --ink:        oklch(0.20  0.018 60);   /* testo principale, nero caldo */
  --ink-soft:   oklch(0.42  0.015 60);   /* testo secondario */
  --ink-mute:   oklch(0.58  0.012 60);   /* meta */
  --line:       oklch(0.86  0.014 80);   /* hairline */
  --accent:     oklch(0.86  0.18  87);   /* giallo caldo del logo (non sole) */
  --accent-deep:oklch(0.72  0.20  72);   /* ambra per hover/contrast su giallo */
  --accent-ink: oklch(0.30  0.05  70);   /* ink che vive bene SOPRA il giallo */
  --dark-bg:    oklch(0.20  0.012 55);   /* dark band "lo spazio" - nero lavagna */
  --chalk:      oklch(0.96  0.006 95);   /* bianco gesso */
  --chalk-soft: oklch(0.80  0.012 90);   /* gesso opaco */

  /* --- type --- */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;

  /* --- spacing scale --- */
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --max: 1240px;

  /* --- radii --- */
  --r-sm: 0.5rem;
  --r-md: 1rem;
  --r-lg: 1.75rem;
  --r-xl: 2.5rem;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* warm grain — soft noise via SVG filter, very subtle */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, oklch(0.97 0.04 80 / 0.55), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, oklch(0.97 0.02 60 / 0.40), transparent 70%);
  background-attachment: fixed;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: oklch(0.985 0.012 88 / 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid oklch(0.86 0.014 80 / 0.6);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  min-height: 44px;
}
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.2vw, 2rem);
}
.primary-nav a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 160ms ease;
  padding: 0.85rem 0.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.primary-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: var(--ink);
}

.hamburger {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  position: relative;
}
.hamburger-bar {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}
.hamburger-bar:nth-child(1) { top: 17px; }
.hamburger-bar:nth-child(2) { top: 23px; }
.hamburger-bar:nth-child(3) { top: 29px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.hero-claim {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 1.6rem;
  color: var(--ink);
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-line:nth-child(2) { animation-delay: 140ms; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-accent {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero-accent::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.38em;
  background: var(--accent);
  z-index: -1;
  transform: skew(-6deg);
  border-radius: 4px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 220ms ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 24px -10px oklch(0.20 0.018 60 / 0.5);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* hero visual: foto Anna + donnina */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-photo {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px oklch(0.20 0.018 60 / 0.4),
    0 2px 0 oklch(0.86 0.014 80);
  transform: rotate(-1.5deg);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, var(--accent) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.35;
  z-index: -1;
}

.doidegirl {
  position: absolute;
  top: 2%;
  right: -10%;
  width: 130px;
  height: auto;
  transform: rotate(8deg);
  z-index: 2;
  pointer-events: none;
}
.doidegirl-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2200ms 400ms cubic-bezier(0.5, 0.05, 0.2, 1) forwards;
}
.doidegirl-cheek {
  fill: var(--accent);
  opacity: 0;
  animation: fadein 400ms 2400ms forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.hero-caption {
  position: absolute;
  top: 38%;
  right: -12%;
  max-width: 170px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-soft);
  font-style: normal;
  background: var(--paper);
  padding: 0.65rem 0.85rem 0.7rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transform: rotate(-2deg);
  z-index: 3;
}
.hero-caption strong { color: var(--ink); font-weight: 600; }
.hero-caption-arrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-right: 0.25rem;
  transform: translateY(-1px);
}

/* ============================================================
   COMBURENTE — l'equazione
   ============================================================ */
.comburente {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin: 0 0 0.9rem;
}
.section-kicker strong { color: var(--ink); font-weight: 600; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 3rem;
  color: var(--ink);
  max-width: 22ch;
}

.ink-mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.ink-mark::after {
  content: "";
  position: absolute;
  inset: auto -0.05em 0.07em;
  height: 0.36em;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  transform: skew(-5deg);
}

.reaction {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
}
.reactant {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.reactant-symbol {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.reactant-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin: 0;
}
.reactant-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.reactant-accent {
  background: var(--accent);
  border-color: var(--accent-deep);
}
.reactant-accent .reactant-symbol,
.reactant-accent .reactant-label,
.reactant-accent .reactant-desc { color: var(--accent-ink); }
.reactant-result {
  border-style: dashed;
  border-color: var(--ink);
  background: var(--paper-3);
}
.reaction-plus, .reaction-equals {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ink-mute);
}

.comburente-foot {
  margin: 3rem 0 0;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============================================================
   COSA OFFRO
   ============================================================ */
.offro {
  padding: var(--section-y) 0;
}
.offerings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.offer {
  grid-column: span 3;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px oklch(0.20 0.018 60 / 0.18);
}
.offer-feature {
  grid-column: span 6;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding: 2.5rem 2rem;
}
.offer-feature .offer-tag {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.offer-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.offer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.4rem;
}
.offer-feature .offer-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.offer-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.offer-feature .offer-body { color: oklch(0.85 0.008 60); }
.offer-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
.offer-feature .offer-cta { color: var(--accent); }

/* ============================================================
   LO SPAZIO — dark band (richiamo lavagna)
   ============================================================ */
.spazio {
  padding: var(--section-y) 0;
  background: var(--dark-bg);
  color: var(--chalk);
  /* very subtle chalk dust effect */
  background-image:
    radial-gradient(circle at 18% 22%, oklch(0.30 0.012 60) 0%, transparent 28%),
    radial-gradient(circle at 80% 70%, oklch(0.28 0.012 60) 0%, transparent 35%);
}
.spazio-kicker { color: var(--chalk-soft); }
.spazio-kicker strong { color: var(--chalk); }
.spazio-title { color: var(--chalk); }
.chalk-mark {
  position: relative;
  z-index: 0;
}
.chalk-mark::after {
  content: "";
  position: absolute;
  inset: auto -0.05em 0.07em;
  height: 0.36em;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  transform: skew(-5deg);
}
.spazio-lede {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--chalk-soft);
  margin: 0 0 3rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  position: relative;
  grid-column: span 2;
  grid-row: span 1;
  overflow: hidden;
  border-radius: var(--r-md);
  background: oklch(0.28 0.012 60);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 4; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--chalk);
  background: linear-gradient(0deg, oklch(0.18 0.012 55 / 0.92), transparent);
  font-family: var(--font-body);
}

/* ============================================================
   ANNA — chi sono
   ============================================================ */
.anna {
  padding: var(--section-y) 0;
}
.anna-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.anna-text p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
  max-width: 56ch;
}
.anna-facts {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  position: sticky;
  top: 100px;
}
.anna-facts dl {
  margin: 0;
  display: grid;
  gap: 1.4rem;
}
.fact dt {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 0.25rem;
  text-transform: none;
}
.fact dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ============================================================
   INIZIARE
   ============================================================ */
.iniziare {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.path {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.path-primary {
  background: var(--paper-3);
  border-color: var(--ink);
}
.path-num {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0;
}
.path-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.path-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.path-foot {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--ink-mute);
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}

.contatti {
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.contatti-intro {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 2rem;
  color: var(--ink);
}
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.contatto-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 0.4rem;
}
.contatto-value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: oklch(0.78 0.008 60);
  padding: 3rem 0 2rem;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--chalk);
}
.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}
.footer-meta {
  text-align: right;
  font-size: 0.85rem;
}
.footer-meta p { margin: 0.25rem 0; }
.footer-credit a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 160ms ease;
}
.footer-credit a:hover { color: var(--paper); }

/* ============================================================
   DRAWER (mobile menu)
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}
.drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: oklch(0.20 0.018 60 / 0.5);
  backdrop-filter: blur(2px);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: 2;
  width: min(360px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: -20px 0 60px -30px oklch(0.20 0.018 60 / 0.4);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-close {
  align-self: flex-end;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}
.drawer-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 0.8rem 0;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}
.drawer-nav .drawer-cta {
  margin-top: 0.6rem;
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-size: 1.1rem;
  border-bottom: none;
}
.drawer-foot {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-family: var(--font-display);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-wrap { gap: 2.5rem; }
  .reaction {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.8rem;
  }
  .reaction-plus, .reaction-equals { display: none; }
  .offer { grid-column: span 6; }
  .gallery-item { grid-column: span 3; }
  .gallery-item--wide { grid-column: span 6; }
  .anna-wrap { grid-template-columns: 1fr; }
  .anna-facts { position: static; }
  .paths { grid-template-columns: 1fr 1fr; }
  .path-primary { grid-column: span 2; }
  .contatti-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .primary-nav { display: none; }
  .hamburger { display: inline-grid; place-items: center; }

  .hero {
    padding-top: 1.5rem;
  }
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-claim { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero-photo { transform: rotate(-1deg); margin: 0 auto; }
  .doidegirl {
    width: 84px;
    right: -2%;
    top: 1%;
  }
  .hero-caption {
    position: absolute;
    top: 28%;
    right: -2%;
    max-width: 150px;
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem 0.6rem;
  }

  .reaction {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-auto-rows: 220px;
  }
  .gallery-item, .gallery-item--wide {
    grid-column: span 6;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
  .paths { grid-template-columns: 1fr; }
  .path-primary { grid-column: span 1; }
  .contatti-grid { grid-template-columns: 1fr; }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .header-wrap { height: 64px; }
  .brand-logo { height: 34px; }
  .hero-photo { width: min(320px, 100%); }
  .doidegirl { width: 78px; }
  .offer-feature { padding: 1.8rem 1.4rem; }
  .reactant { padding: 1.3rem 1.2rem; }
  .gallery { gap: 0.75rem; grid-auto-rows: 200px; }
}

@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;
  }
  .hero-line { opacity: 1; transform: none; }
  .doidegirl-line { stroke-dashoffset: 0; }
  .doidegirl-cheek { opacity: 1; }
}
