/* NDATECH — layout e componenti.
   Usa solo i token di tokens.css. Nessun framework. */

/* ============ CONTENITORI ============ */
.wrap { width: min(100% - (var(--gutter) * 2), var(--shell-max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 52rem); margin-inline: auto; }

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--paper { background: var(--paper-50); }
.section--ink { background: var(--ink-900); color: var(--ink-100); }

.section__head { max-width: 48rem; margin-bottom: var(--space-l); }
.section__head h2 { margin-top: var(--space-2xs); }
.section__head p { margin-top: var(--space-s); color: var(--slate-600); font-size: var(--step-1); }
.section--ink .section__head p { color: var(--ink-300); }

.kicker {
  font-family: var(--font-mono); font-size: var(--step--1);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700);
}
.section--ink .kicker, .hero .kicker { color: var(--brand-300); }

/* ============ INTESTAZIONE ============ */
.site-head { position: sticky; top: 0; z-index: 60; }
.site-head__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-m); padding-block: var(--space-s);
}
.site-head__inner {
  background: color-mix(in srgb, var(--ink-900) 82%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  transition: background var(--dur) var(--ease-out);
}
.site-head.is-solid .site-head__inner { background: var(--ink-900); }
.brand { display: block; line-height: 0; }
.brand img { width: clamp(8.5rem, 13vw, 11.5rem); height: auto; }

.nav { display: flex; align-items: center; gap: var(--space-m); font-size: var(--step--1); }
.nav a { color: var(--ink-200); text-decoration: none; padding-block: .35em; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brand-300); transition: right var(--dur) var(--ease-out);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }
.nav a[aria-current="page"] { color: #fff; }

.lang { display: flex; gap: var(--space-2xs); align-items: center; font-family: var(--font-mono); }
.lang a, .lang span {
  padding: .2em .6em; border-radius: var(--radius-s); text-decoration: none;
  color: var(--ink-300); border: 1px solid transparent;
}
.lang a:hover { color: #fff; border-color: var(--ink-500); }
.lang [aria-current="true"] { color: var(--ink-900); background: var(--ink-300); }

/* pulsante a tre linee */
.burger {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--ink-500); border-radius: var(--radius-s);
  background: transparent; cursor: pointer; place-items: center;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.burger:hover { border-color: var(--ink-300); }
.burger span {
  display: block; width: 1.15rem; height: 1.5px; background: var(--ink-100); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* menu a schermo intero */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink-900);
  display: grid; align-content: center; gap: var(--space-3xs);
  padding: calc(var(--header-h) + var(--space-m)) var(--gutter) var(--space-xl);
  opacity: 0; visibility: hidden; transform: translateY(-1.5rem);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a {
  /* Dimensione propria del menu: piu' contenuta della scala dei titoli.
     Va da ~20 px su un telefono stretto a ~27 px su un tablet. */
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
  font-weight: 600;
  color: var(--ink-100); text-decoration: none; letter-spacing: -.015em;
  display: flex; align-items: baseline; gap: var(--space-s);
  padding-block: .55em; border-bottom: 1px solid var(--ink-700);
}
.menu a:hover { color: var(--brand-300); }
.menu a small { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-500); }
.menu__lang { margin-top: var(--space-m); display: flex; gap: var(--space-2xs); }
body.is-locked { overflow: hidden; }

/* ============ HERO ============ */
.hero { position: relative; display: grid; align-items: center; overflow: hidden;
        min-height: clamp(30rem, 78vh, 46rem); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center;
            background-image: url("/images/stock/soft-04-hmi-panel.webp"); }
.hero__veil { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,15,20,.95) 0%, rgba(11,15,20,.87) 42%, rgba(11,15,20,.55) 100%); }
.hero__in { position: relative; padding-block: var(--space-3xl); }
.hero h1 { max-width: 19ch; margin-top: var(--space-s); }
.hero__lead { margin-top: var(--space-m); font-size: var(--step-1); color: var(--ink-200); max-width: 56ch; }
.hero__actions { margin-top: var(--space-l); display: flex; flex-wrap: wrap; gap: var(--space-s); }

/* ============ PULSANTI ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.45em; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: var(--step--1);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-900); color: #fff; }
.btn--ghost { border-color: var(--ink-500); color: var(--ink-100); }
.btn--ghost:hover { border-color: var(--ink-300); color: #fff; }
.btn--ghost-light { border-color: var(--paper-200); color: var(--slate-900); }
.btn--ghost-light:hover { border-color: var(--slate-400); color: var(--slate-900); }

/* ============ SERVIZI ============ */
.svc { display: grid; gap: var(--space-m); grid-template-columns: 1fr 1fr; }
.svc__card {
  background: var(--paper-0); border: 1px solid var(--paper-200);
  border-radius: var(--radius-l); padding: var(--space-m);
  display: flex; flex-direction: column; gap: var(--space-xs);
}
.svc__card h3 { font-size: var(--step-2); }
.svc__card p { color: var(--slate-600); font-size: var(--step--1); }
.svc__card--lead {
  grid-column: 1 / -1; padding: var(--space-l);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-l); align-items: center;
}
.svc__shot { border-radius: var(--radius-m); overflow: hidden; background: var(--ink-900); }
.svc__shot img { width: 100%; display: block; }
/* Card alternata: immagine a sinistra, testo a destra. */
.svc__card--flip > div:first-child { order: 2; }
.svc__card--flip > .svc__shot { order: 1; }
.svc__note { margin-top: var(--space-m); color: var(--slate-600); font-size: var(--step--1); }

/* ============ COMPETENZE ============ */
.tech { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.tech__group h3 {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300);
  padding-bottom: var(--space-2xs); border-bottom: 1px solid var(--ink-700); margin-bottom: var(--space-s);
}
.tech__group ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.tech__group li {
  font-family: var(--font-mono); font-size: var(--step--1);
  padding: .3em .75em; border-radius: var(--radius-pill);
  background: var(--ink-700); color: var(--ink-200);
}
/* Gruppo di esperienza pregressa: presente e leggibile, ma visivamente distinto
   da cio' che offro oggi. */
.tech__group--past li { background: transparent; border: 1px dashed var(--ink-500); color: var(--ink-300); }
.tech__note { margin-top: var(--space-m); color: var(--ink-300); font-size: var(--step--1); max-width: var(--measure); }

/* ============ INTESTAZIONE PAGINA INTERNA ============ */
/* Fascia delle pagine interne. Con --ph-image diventa un banner fotografico,
   senza resta a tinta unita: la stessa regola serve entrambi i casi. */
.pagehead {
  position: relative;
  background-color: var(--ink-900);
  background-image: var(--ph-image, none);
  background-size: cover;
  background-position: center;
  color: var(--ink-100);
  padding-block: var(--space-xl) var(--space-2xl);
  min-height: 21rem;
  display: grid;
  align-content: center;
}
/* Velo scuro sopra la foto: il testo deve restare leggibile qualunque cosa ci sia sotto. */
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,15,20,.95) 0%, rgba(11,15,20,.88) 42%, rgba(11,15,20,.62) 100%);
}
.pagehead > .wrap { position: relative; }
.pagehead h1 { max-width: 24ch; margin-top: var(--space-3xs); }
.pagehead__lead { margin-top: var(--space-m); color: var(--ink-300); font-size: var(--step-1); max-width: 56ch; }
.crumbs {
  font-family: var(--font-mono); font-size: var(--step--1);
  color: var(--ink-500); margin-bottom: var(--space-m); display: flex; gap: .6em;
}
.crumbs a { color: var(--ink-300); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .18em; }

/* ============ TESTO LUNGO ============ */
.prose { max-width: var(--measure); display: grid; gap: var(--space-s); }
.prose h2 { margin-top: var(--space-m); font-size: var(--step-3); }
.prose h3 { margin-top: var(--space-s); font-size: var(--step-2); }
.prose ul, .prose ol { display: grid; gap: var(--space-2xs); }
.prose > * + * { margin-top: 0; }

/* Elenco competenze su due colonne */
.cols2 { columns: 2; column-gap: var(--space-l); list-style: none; padding: 0; display: block; }
.cols2 li { break-inside: avoid; padding-left: 1.4em; position: relative; margin-bottom: var(--space-2xs); }
.cols2 li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5em; height: 1px; background: var(--brand-500); }
@media (max-width: 44rem) { .cols2 { columns: 1; } }

/* ============ CASI DI STUDIO ============ */
.cases { display: grid; gap: var(--space-2xs); }
.case {
  background: var(--paper-0); border: 1px solid var(--paper-200);
  border-radius: var(--radius-m); overflow: hidden;
}
.case[open] { border-color: var(--brand-500); }
.case > summary {
  cursor: pointer; list-style: none; position: relative;
  padding: var(--space-s) var(--space-l) var(--space-s) var(--space-m);
  display: grid; gap: var(--space-3xs);
  transition: background var(--dur-fast) var(--ease-out);
}
.case > summary::-webkit-details-marker { display: none; }
.case > summary:hover { background: var(--paper-50); }
.case > summary::after {
  content: "+"; position: absolute; right: var(--space-m); top: 50%;
  transform: translateY(-50%); font-family: var(--font-mono);
  font-size: var(--step-2); color: var(--brand-700); line-height: 1;
}
.case[open] > summary::after { content: "\2013"; }
.case__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-1); letter-spacing: -.015em; color: var(--slate-900);
}
.case__tech {
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--slate-400);
}
.case__body {
  padding: 0 var(--space-m) var(--space-m);
  display: grid; gap: var(--space-s); color: var(--slate-600);
  border-top: 1px solid var(--paper-100); padding-top: var(--space-s);
}
.case__body ul { display: grid; gap: var(--space-3xs); padding-inline-start: 1.1em; }
.case__body strong { color: var(--slate-900); }

/* ============ GALLERIA A SCORRIMENTO ============ */
.gallery {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 21rem); gap: var(--space-s);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--space-s); margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.gallery > * { scroll-snap-align: start; }
.gallery img {
  border-radius: var(--radius-m); width: 100%; height: auto;
  border: 1px solid var(--paper-200); background: var(--paper-0);
}

/* ============ PAGINA DI ERRORE ============ */
.errorpage { max-width: 44rem; }
.errorpage__code {
  font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: clamp(5rem, 3rem + 12vw, 11rem); letter-spacing: -.05em;
  color: var(--paper-200);
}
.errorpage h2 { font-size: var(--step-3); margin-top: calc(var(--space-m) * -1); }
.errorpage__text { margin-top: var(--space-s); color: var(--slate-600); font-size: var(--step-1); max-width: 52ch; }
.errorpage__actions { margin-top: var(--space-l); display: flex; flex-wrap: wrap; gap: var(--space-s); }
.errorpage__hint {
  margin-top: var(--space-l); padding-top: var(--space-m);
  border-top: 1px solid var(--paper-100);
  color: var(--slate-600); font-size: var(--step--1);
}

/* ============ MODULO DI CONTATTO ============ */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: var(--space-xl); align-items: start; }
.contact h2 { font-size: var(--step-3); margin-bottom: var(--space-m); }
.contact__aside { display: grid; gap: var(--space-m); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); margin-top: var(--space-m); }
.field { display: grid; gap: var(--space-3xs); align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field label span { color: var(--err-500); }
.field input, .field textarea {
  padding: .75em .9em; border: 1px solid var(--paper-200); border-radius: var(--radius-s);
  background: var(--paper-0); width: 100%; font-size: var(--step-0);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus { border-color: var(--brand-500); }
.field textarea { resize: vertical; min-height: 10rem; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: var(--space-2xs); }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: .22em; accent-color: var(--brand-700); }
.checkbox label { font-weight: 400; color: var(--slate-600); }
.form__note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--slate-400); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  padding: var(--space-s) var(--space-m); border-radius: var(--radius-m);
  border: 1px solid; margin-bottom: var(--space-m); font-size: var(--step--1);
}
.alert--ok  { background: #f2f9f4; border-color: #cfe8d8; color: #1e6b3a; }
.alert--err { background: #fdf3f3; border-color: #f2d4d4; color: #8f2b2b; }

@media (max-width: 62rem) {
  .contact { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* ============ DOWNLOAD ============ */
.dl {
  background: var(--paper-0); border: 1px solid var(--paper-200);
  border-radius: var(--radius-l); overflow: hidden; margin-bottom: var(--space-m);
}
.dl__head {
  display: flex; align-items: center; gap: var(--space-s);
  padding: var(--space-m); background: var(--paper-50);
  border-bottom: 1px solid var(--paper-200);
}
.dl__head img { width: 2.75rem; height: 2.75rem; object-fit: contain; flex: none; }
.dl__head h2 { font-size: var(--step-2); }
.dl__head p { color: var(--slate-600); font-size: var(--step--1); margin-top: .1em; }
.dl__head .tag { margin-left: auto; flex: none; }
.dl__body { padding: var(--space-m); }
.dl__body > * + * { margin-top: var(--space-s); }
.dl__sub {
  font-size: var(--step-1); padding-top: var(--space-s);
  border-top: 1px solid var(--paper-100);
}
.dl__sub small { font-family: var(--font-body); font-weight: 400; font-size: var(--step--1); color: var(--slate-400); }
.dl__latest { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-s); }
.dl__badge {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-700);
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  padding: .22em .7em; border-radius: var(--radius-pill);
}
.dl__list { list-style: none; padding: 0; display: grid; gap: var(--space-3xs); font-size: var(--step--1); }
.dl__note { color: var(--slate-600); font-size: var(--step--1); max-width: var(--measure); }
.dl__tag {
  font-family: var(--font-mono); font-size: .7rem; color: var(--slate-400);
  border: 1px solid var(--paper-200); padding: .1em .45em; border-radius: var(--radius-s);
}
@media (max-width: 40rem) { .dl__head { flex-wrap: wrap; } .dl__head .tag { margin-left: 0; } }

/* ============ PAGINA PRODOTTO ============ */
.product { display: grid; grid-template-columns: 1.45fr .55fr; gap: var(--space-xl); align-items: start; }
.product__aside {
  display: grid; gap: var(--space-m);
  position: sticky; top: calc(var(--header-h) + var(--space-m));
}
.fact {
  background: var(--paper-50); border: 1px solid var(--paper-200);
  border-radius: var(--radius-m); padding: var(--space-m);
}
.fact h3 {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400);
  margin-bottom: var(--space-2xs);
}
.fact p, .fact li { font-size: var(--step--1); color: var(--slate-600); }
.fact ul { display: grid; gap: var(--space-3xs); padding-inline-start: 1.1em; }
.fact .btn { width: 100%; margin-top: var(--space-2xs); }
.fact--paid { background: #fdf8f1; border-color: #f0e2cc; }
.fact--free { background: #f2f9f4; border-color: #d6ebdc; }

/* titolo di prodotto con icona */
.prodtitle { display: flex; align-items: center; gap: var(--space-m); }
.prodtitle img { width: 3.5rem; height: 3.5rem; object-fit: contain; flex: none; }

@media (max-width: 62rem) {
  .product { grid-template-columns: 1fr; }
  .product__aside { position: static; }
}

/* ============ TIMELINE ============ */
.timeline {
  list-style: none; padding: 0; margin: 0;
  border-left: 2px solid var(--paper-200); margin-left: .35rem;
  display: grid; gap: var(--space-l);
}
.timeline__item { position: relative; padding-left: var(--space-l); }
.timeline__item::before {
  content: ""; position: absolute; left: -6px; top: .5em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper-0); border: 2px solid var(--slate-400);
}
.timeline__item--now::before {
  background: var(--brand-500); border-color: var(--brand-700);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-500) 18%, transparent);
}
.timeline__years {
  font-family: var(--font-mono); font-size: var(--step--1);
  letter-spacing: .06em; color: var(--brand-700);
}
.timeline__item h3 { font-size: var(--step-2); margin-top: .1em; }
.timeline__item p { margin-top: var(--space-2xs); color: var(--slate-600); }
.timeline__note {
  margin-top: var(--space-l); padding-top: var(--space-m);
  border-top: 1px solid var(--paper-100);
  color: var(--slate-600); font-size: var(--step--1); max-width: 62ch;
}

/* ============ BLOCCO A DUE COLONNE ============ */
.split { display: grid; gap: var(--space-l); grid-template-columns: 1.15fr .85fr; align-items: start; }
.split__aside img { border-radius: var(--radius-m); width: 100%; height: auto; display: block; }
.split__caption { margin-top: var(--space-s); font-size: var(--step--1); color: var(--slate-600); }

/* ============ PRODOTTI E LAVORI ============ */
.grid3 { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.tile {
  background: var(--paper-0); border: 1px solid var(--paper-200); border-radius: var(--radius-l);
  padding: var(--space-m); display: flex; flex-direction: column; gap: var(--space-xs);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.tile:hover { border-color: var(--brand-500); box-shadow: var(--shadow-m); }
.tile__icon { width: 3rem; height: 3rem; object-fit: contain; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--slate-600); font-size: var(--step--1); }
.tile__foot { margin-top: auto; padding-top: var(--space-s); display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: center; }
.tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  padding: .25em .7em; border-radius: var(--radius-pill);
  background: var(--paper-100); color: var(--slate-700);
}
.tag--free { background: #e6f4ea; color: #1e6b3a; }
.tag--paid { background: #fdf0e3; color: #8a5210; }
.tag--oss { background: #e8eefc; color: #2a4a8a; }

/* ============ CTA ============ */
.cta { display: grid; gap: var(--space-m); grid-template-columns: 1.2fr auto; align-items: center; }
.cta p { color: var(--ink-300); margin-top: var(--space-xs); max-width: 46ch; }

/* ============ FOOTER ============ */
.site-foot { background: var(--ink-900); color: var(--ink-300); padding-block: var(--space-xl) var(--space-l); }
.site-foot__in { display: grid; gap: var(--space-l); grid-template-columns: 1.4fr 1fr 1fr; }
.site-foot h2 { font-family: var(--font-mono); font-size: var(--step--1); font-weight: 400;
                letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: var(--space-s); }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: var(--space-2xs); font-size: var(--step--1); }
.site-foot a { color: var(--ink-200); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: .18em; }
.site-foot__legal { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--ink-700);
                    display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-m);
                    justify-content: space-between; font-size: var(--step--1); }
.site-foot__credit { color: var(--ink-500); font-size: .75rem; max-width: 62ch; }
.site-foot__credit a { color: var(--ink-300); }

/* ============ RESPONSIVE ============ */
@media (max-width: 62rem) {
  .nav { display: none; }
  .burger { display: grid; }
  .svc { grid-template-columns: 1fr; }
  .svc__card--lead { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .site-foot__in { grid-template-columns: 1fr; }
  .hero { min-height: 32rem; }
}
/* Telefono in orizzontale: poco spazio in altezza, il menu deve starci tutto. */
@media (max-height: 32rem) {
  .menu { align-content: start; }
  .menu a { font-size: 1.1rem; padding-block: .4em; }
}
