/* =====================================================================
   Studio Notarile Marchetti & Associati
   "The Notarial Monograph" — warm paper, ink, sealing-wax burgundy.
   Static · no build · animate only transform/opacity · reduced-motion safe.
   ===================================================================== */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  /* palette */
  --bg:      #F2EFE9;   /* warm paper            */
  --bg-2:    #ECE8DF;   /* slightly deeper paper */
  --fg:      #16140F;   /* ink                   */
  --muted:   #6B655B;   /* secondary ink         */
  --accent:  #7A1F2B;   /* sealing-wax burgundy  */
  --accent-2:#5E1721;   /* pressed burgundy      */
  --line:    #CFC8BB;   /* hairline              */
  --line-2:  #DDD7CB;   /* faint hairline        */
  --on-accent:#F4F1EA;

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono:  "Sometype Mono", ui-monospace, "SFMono-Regular", monospace;

  /* spacing on an 8px rhythm */
  --space-1: .5rem;  --space-2: 1rem;   --space-3: 1.5rem;
  --space-4: 2.5rem; --space-5: 3.5rem; --space-6: 5rem;
  --space-8: 7rem;   --space-12: 10rem;

  --content: 74rem;
  --header-h: 4.75rem;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-seal: cubic-bezier(.34,1.4,.5,1);
  --radius: 2px;
}

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ol, ul, dl { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.muted { color: var(--muted); }

/* paper grain — fixed overlay, transform/opacity-free, very faint */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(100% - 2.5rem, var(--content)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, var(--space-12)); scroll-margin-top: var(--header-h); position: relative; }
.section + .section { border-top: 1px solid var(--line-2); }

/* ---- Typography primitives ------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 var(--space-2);
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.06; letter-spacing: -.018em;
}
.section__head { max-width: 28ch; margin-bottom: clamp(2.5rem, 5vw, var(--space-5)); }
.prose p { color: var(--muted); max-width: 58ch; }
.prose p + p { margin-top: var(--space-2); }
.prose strong { color: var(--fg); }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  --pad: .85rem 1.5rem;
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  padding: var(--pad); border: 1px solid transparent; border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn__arr { color: currentColor; transition: transform .3s var(--ease); }
.btn:hover .btn__arr { transform: translateX(5px); }
.btn--solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--quiet { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--fg); }
.btn--block { display: flex; justify-content: space-between; width: 100%; }

/* ---- Skip link / focus ---------------------------------------------- */
.skip-link {
  position: fixed; left: -9999px; top: 0; z-index: 10000;
  background: var(--accent); color: var(--on-accent);
  padding: .7rem 1.1rem; border-radius: 2px; font-size: .9rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }

/* scroll-progress rule */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  z-index: 8000; will-change: transform;
}

/* ===================================================================== */
/* HEADER                                                                 */
/* ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--fg); }
.brand__mark { width: 38px; height: 38px; color: var(--accent); flex: none; }
.brand__m { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; letter-spacing: -.01em; }
.brand__text em { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .28rem; }

.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__list a { text-decoration: none; color: var(--fg); font-size: .94rem; position: relative; padding-block: .3rem; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .55rem 1.1rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 2px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle__bar { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ===================================================================== */
/* HERO                                                                   */
/* ===================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: stretch;
  padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(2rem, 5vh, 3.5rem);
  /* ruled deed-paper hairlines, whisper faint */
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 100% 2.75rem; background-position: 0 -1px;
  isolation: isolate;
  overflow: hidden;
}
.hero::before { /* paper wash so the rules stay subtle */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); opacity: .93;
}
.hero__inner {
  position: relative; width: min(100% - 2.5rem, var(--content)); margin-inline: auto;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 0;
}
.reg {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.reg__seal { color: var(--accent); }
.rule { height: 1px; background: var(--fg); margin-top: 1.3rem; transform: scaleX(0); transform-origin: left; }

.hero__plate { align-self: center; max-width: min(100%, 40rem); padding-block: clamp(2.5rem, 6vh, 4rem); }
.hero__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 10vw, 6.4rem); line-height: .96; letter-spacing: -.025em;
}
.hero__name .line { display: block; overflow: hidden; padding-block: .02em; }
.hero__name .line > span { display: inline-block; }
.hero__name i { font-style: italic; color: var(--muted); font-weight: 300; }
.hero__lede { margin-top: 1.7rem; max-width: 44ch; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__foot { align-self: end; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; }
.meta__item dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta__item dd { margin: .28rem 0 0; font-size: .94rem; font-weight: 500; }

.hero__seal {
  position: absolute; top: clamp(3rem, 9vh, 6rem); right: 0;
  width: clamp(108px, 13vw, 140px); height: auto; color: var(--accent);
  transform: rotate(-4deg);
}
.seal-ring { fill: none; stroke: currentColor; stroke-width: 1; }
.seal-legend { font-family: var(--mono); font-size: 7.4px; letter-spacing: .06em; fill: currentColor; }
.seal-letter { font-family: var(--serif); font-style: italic; font-size: 40px; fill: currentColor; }

/* ===================================================================== */
/* LO STUDIO                                                              */
/* ===================================================================== */
.studio__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.studio__figure { margin: 0; }
.studio__figure svg { width: 100%; height: auto; }
.portico { color: var(--fg); }
.portico__col { opacity: .55; }
.portico__far { color: var(--muted); }
.studio__figure figcaption { margin-top: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 32ch; }

.studio__body .section__title { margin: .4rem 0 var(--space-3); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-4); margin-top: clamp(2rem, 4vw, var(--space-4)); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* ===================================================================== */
/* AREE DI ATTIVITÀ — numbered index                                      */
/* ===================================================================== */
.index { border-top: 1px solid var(--line); }
.index__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4.5rem 1fr; column-gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline;
  padding: clamp(1.4rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.index__row::before { /* burgundy ink swell on hover */
  content: ""; position: absolute; left: -1.5rem; right: -1.5rem; top: 0; bottom: 0;
  background: var(--bg-2); opacity: 0; transition: opacity .35s var(--ease); z-index: -1; border-radius: 2px;
}
.index__num { font-family: var(--mono); font-size: .82rem; color: var(--accent); letter-spacing: .05em; padding-top: .5rem; transition: transform .35s var(--ease); }
.index__title { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -.015em; transition: transform .35s var(--ease); }
.index__desc { grid-column: 2; margin-top: .6rem; color: var(--muted); max-width: 60ch; }
@media (hover: hover) {
  .index__row:hover::before { opacity: 1; }
  .index__row:hover .index__num { transform: translateX(4px); color: var(--accent-2); }
  .index__row:hover .index__title { transform: translateX(8px); }
}

/* ===================================================================== */
/* IL METODO                                                              */
/* ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.step { position: relative; padding-top: 2.5rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.step__num { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--accent); line-height: 1; display: block; }
.step__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 1rem 0 .6rem; }
.step__desc { color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; margin-top: clamp(2.5rem, 5vw, var(--space-5)); padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.values li span { color: var(--fg); font-weight: 600; }

/* ===================================================================== */
/* INFORMAZIONI UTILI — FAQ                                               */
/* ===================================================================== */
.info__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.info__head .section__title { margin: .4rem 0 var(--space-3); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq__answer { overflow: hidden; padding-bottom: clamp(1.1rem, 2vw, 1.5rem); }
.faq__answer p { color: var(--muted); max-width: 62ch; }
/* gentle open animation */
.js .faq__item[open] .faq__answer { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===================================================================== */
/* SEDE & CONTATTI                                                        */
/* ===================================================================== */
.contatti__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.colophon { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 4vw, 3rem); }
.colophon__item h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; font-weight: 500; }
.colophon__item p { font-size: 1.02rem; line-height: 1.7; }
.colophon__item a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.colophon__item a:hover { border-color: var(--accent); color: var(--accent); }
.colophon__item .muted { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

.appointment { background: color-mix(in srgb, var(--fg) 84%, var(--accent)); color: var(--on-accent); padding: clamp(1.8rem, 4vw, 2.75rem); border-radius: var(--radius); }
.appointment .eyebrow { color: #D9A3AB; }
.appointment__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.appointment p { color: color-mix(in srgb, var(--on-accent) 74%, transparent); margin-bottom: 1.5rem; }
/* paper-on-wax primary CTA: pops against the dark card regardless of surface */
.appointment .btn--solid { margin-bottom: .7rem; background: var(--on-accent); color: var(--accent-2); border-color: var(--on-accent); }
.appointment .btn--solid:hover { background: #fff; border-color: #fff; }
.appointment .btn--quiet { color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 32%, transparent); }
.appointment .btn--quiet:hover { border-color: var(--on-accent); }

/* ===================================================================== */
/* FOOTER                                                                 */
/* ===================================================================== */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, var(--space-5)); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--space-3) var(--space-4); align-items: start; }
.site-footer__brand .brand__text { line-height: 1.1; }
.site-footer__brand .brand__text strong { font-family: var(--serif); font-size: 1.15rem; }
.site-footer__brand .brand__text em { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-footer__brand p { margin-top: .7rem; font-size: .86rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: .55rem; }
.site-footer__nav a { text-decoration: none; color: var(--muted); font-size: .92rem; transition: color .25s var(--ease); }
.site-footer__nav a:hover { color: var(--fg); }
.site-footer__legal { font-size: .8rem; line-height: 1.7; }
.site-footer__legal .disclaimer { margin-top: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; }

/* ===================================================================== */
/* MOTION ENGINE                                                          */
/* ===================================================================== */
/* Reveal on scroll — only hidden when JS is present (no-JS sees content). */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* Hero entrance — choreographed, gated by JS + .is-loaded. */
.js .hero [data-hero] { opacity: 0; transform: translateY(14px); }
.js .hero .hero__name .line > span { transform: translateY(110%); }
.js .hero .hero__seal { opacity: 0; transform: rotate(-4deg) scale(1.1); }

/* Compact, composed entrance (~1s total) — befits a notaio, not a showreel. */
.js .hero.is-loaded .rule { transform: scaleX(1); transition: transform .7s var(--ease) .1s; }
.js .hero.is-loaded [data-hero] {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .hero.is-loaded .reg     { --d: 0ms; }
.js .hero.is-loaded .eyebrow { --d: 240ms; }
.js .hero.is-loaded .hero__lede   { --d: 380ms; }
.js .hero.is-loaded .hero__actions{ --d: 470ms; }
.js .hero.is-loaded .hero__foot   { --d: 540ms; }
.js .hero.is-loaded .hero__name .line > span {
  transform: translateY(0);
  transition: transform .6s var(--ease);
}
.js .hero.is-loaded .hero__name .line:nth-child(1) > span { transition-delay: .12s; }
.js .hero.is-loaded .hero__name .line:nth-child(2) > span { transition-delay: .21s; }
.js .hero.is-loaded .hero__seal {
  opacity: 1; transform: rotate(-4deg) scale(1);
  transition: opacity .5s var(--ease) .56s, transform .6s var(--ease-seal) .56s;
}

[data-magnetic] { transition: transform .25s var(--ease); }

/* ---- Reduced motion: everything in final state, instantly ----------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .hero [data-hero],
  .js .hero .hero__name .line > span,
  .js .hero .hero__seal { opacity: 1; transform: none; transition: none; }
  .js .hero .hero__seal { transform: rotate(-4deg); }
  .rule { transform: scaleX(1); }
  .js .faq__item[open] .faq__answer { animation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ===================================================================== */
/* RESPONSIVE                                                             */
/* ===================================================================== */
@media (max-width: 900px) {
  .studio__grid, .info__grid, .contatti__grid { grid-template-columns: 1fr; }
  .studio__figure { max-width: 30rem; }
  .contatti__grid { gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 1.8rem; }
  .step + .step { border-top: 1px solid var(--line-2); }
  .step::before { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-2);
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: var(--space-3) clamp(1.25rem, 5vw, 2rem) var(--space-4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: 0 24px 40px -28px rgba(20,18,12,.35);
  }
  .site-header.is-nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-header.is-nav-open { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-2); }
  .nav__list a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav__list a::after { display: none; }
  .nav__cta { justify-content: center; margin-top: var(--space-1); }
}

@media (max-width: 620px) {
  .reg__ref { display: none; }
  .stats, .colophon { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav a { padding-block: .5rem; }
  .hero__seal { display: none; } /* decorative; avoids overlapping the hero meta on phones */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .index__row { grid-template-columns: 2.6rem 1fr; }
  .index__desc { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .stats, .colophon { grid-template-columns: 1fr; }
}
