/* AAA Foundation site styles. Mobile first; colours from context/brand.md. */

:root {
  --bright-red: #f91718;
  --mid-red: #c11a1b;
  --deep-red: #b20303;
  --darker-red: #7a0202;
  --pale-red: #fff1ee;
  --pale-text: #ffd7d7;
  --light-grey: #f3f3f3;
  --border-grey: #e0e0e0;
  --ink: #1f1a1a;
  --muted: #5a5050;
  --white: #ffffff;
  --radius: 12px;
  --wrap: 68rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.125rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

a { color: var(--deep-red); text-underline-offset: 0.15em; }
a:hover { color: var(--darker-red); }

:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--deep-red);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header and menu: logo and name on the left, the menu centred, social links on the right */

.site-header { border-bottom: 4px solid var(--bright-red); background: var(--white); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: none;
  padding: 0.5rem var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}
.brand img { width: 80px; height: auto; }
.brand span { font-size: 1.05rem; }
.brand small { display: none; font-weight: 600; font-size: 0.8rem; color: var(--muted); }
.site-header .wrap > .brand { flex: 1 1 auto; min-width: 0; }

.menu-toggle {
  display: none;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--deep-red);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--deep-red);
  cursor: pointer;
}
.js .menu-toggle { display: inline-block; }

.site-nav { width: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-menu { list-style: none; margin: 0; padding: 0.5rem 0; }
.site-menu a {
  display: block;
  padding: 0.7rem 0.25rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #eadcda;
}
.site-menu a:hover { color: var(--deep-red); }
.site-menu a[aria-current="page"] { color: var(--deep-red); text-decoration: underline; text-decoration-thickness: 3px; }
.site-nav .social { padding: 0.5rem 0 0.75rem; }

/* Social links, in the header menu and the footer */

.social { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--deep-red);
}
.social a:hover { color: var(--darker-red); }
.social svg { width: 22px; height: 22px; fill: currentColor; }

/* Buttons */

.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.buttons + p { margin-top: 1.25rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid var(--bright-red);
  border-radius: var(--radius);
  background: var(--bright-red);
  color: var(--white);
  font: inherit;
  font-size: 1.1875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--mid-red); border-color: var(--mid-red); color: var(--white); }
.button-outline { background: transparent; color: var(--bright-red); }
.button-outline:hover { background: var(--pale-red); color: var(--darker-red); }

/* Light grey sections and page heads, alternating with white */

.page-head, .section-alt { background: var(--light-grey); }
.page-head .wrap { padding-top: 2.5rem; padding-bottom: 2.25rem; }
.page-head p { font-size: 1.15rem; max-width: 38rem; }

/* Home page hero. Phones: the photo on top with an angled bottom edge, then the text on white.
   From 761px: the photo fills the hero, and the text sits on a see through white panel with a
   diagonal right edge and its bottom left corner cut off at the same angle, so the photo shows
   through there. The only angled elements on the site. The photo is a 4 panel montage, laid out
   panel by panel: panels that don't fit the width wrap out of sight, so whole panels show. The row
   starts at the right edge (panels are in reverse order in the HTML), so the painting panel always
   shows and the study group panel on the left is the first to go. */

.hero { display: grid; background: var(--white); }
.hero__photo { position: relative; height: 260px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.hero__panels { position: absolute; inset: 0; display: flex; flex-direction: row-reverse; flex-wrap: wrap; row-gap: 100vh; overflow: hidden; container-type: size; }
/* The large row gap keeps wrapped panels far out of sight, so no 1px sliver of them shows at the bottom */
/* Each panel may lose up to 15% from its sides before the next one wraps out of sight */
.hero__panels img { flex: 1 0 auto; width: auto; min-width: 0; height: 100%; object-fit: cover; }
@supports (width: 1cqh) {
  .hero__panels img { flex-basis: calc(var(--ratio) * 85cqh); }
}
.hero__text { padding: 1.5rem var(--gutter) 2.5rem; }
.hero .buttons > * { flex: 1 1 auto; }
.hero__title { font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--deep-red); }
.hero__lead { max-width: 40ch; font-size: clamp(1.0625rem, 1.4vw, 1.375rem); font-weight: 300; line-height: 1.45; color: var(--muted); }

@media (min-width: 761px) {
  /* The panel's right edge runs from 50% at the top to 70% at the bottom. The corner cut has the
     same slope: 6% wide over the bottom 30% (20% across for the full height, so 6% for 30%). */
  /* The panel runs 4px past the hero's bottom and the hero clips it there, so the panel and the
     photo end on the same edge: at zoom levels such as 125% the panel's own clip-path edge only
     part covered the last device pixel, which let a dark line of photo show through. The section
     after the hero also overlaps it by 1px, to cover any part pixel left at the join. */
  .hero {
    position: relative;
    overflow: hidden;
    align-items: center;
    min-height: min(78vh, 720px);
    --panel-top: 50%;
    --panel-bottom: 70%;
  }
  .hero__photo { position: absolute; inset: 0; height: auto; clip-path: none; }
  /* The painting panel (first in the HTML, on the right) keeps its natural width, so it is never
     cropped. The others share the rest of the row, and the 2 on the left give up space first. */
  @supports (width: 1cqh) {
    .hero__panels { flex-wrap: nowrap; }
    .hero__panels img { flex: 1 1 calc(var(--ratio) * 100cqh); }
    .hero__panels img:first-child { flex: 0 0 calc(var(--ratio) * 100cqh); }
    .hero__panels img:nth-child(n + 3) { flex-shrink: 10; }
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 0 -4px 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    clip-path: polygon(0 0, var(--panel-top) 0, var(--panel-bottom) 100%, 6% 100%, 0 70%);
  }
  .hero__text {
    position: relative;
    z-index: 2;
    max-width: calc(var(--panel-top) - 2rem);
    padding: 3rem 0 3.5rem calc(var(--gutter) + 1rem);
  }
  .hero .buttons > * { flex: 0 1 auto; }
  .hero + .section { position: relative; margin-top: -1px; }
}
/* From 1024px the 4 hero buttons sit in a 2 x 2 grid of equal width. They can't share 1 row in the
   panel: bright red buttons keep 19px bold text so they pass contrast (see brand.md). */
@media (min-width: 64rem) {
  .hero .buttons { display: grid; grid-template-columns: repeat(2, 1fr); width: max-content; }
  .hero .buttons .button { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* Partners ticker: each partner's logo (in the site's mid red, not recoloured here) with the
   organisation's name as alt, sized by shape so they look balanced: wide logos (at least 2.2 times
   as wide as tall) 44px tall, medium ones (1.3 to 2.2) 56px, squarish ones (under 1.3) 76px. js/site.js makes it scroll right to left at every width; it pauses on
   hover and focus, and stays still for reduced motion. */

.partners { padding: 2rem 0; }
.partners h2 { font-size: 1.25rem; text-align: center; }
.partners__viewport { overflow: hidden; }
/* The still row (reduced motion, or no JavaScript) stays inside the content width */
.partners:not(.is-scrolling) .partners__list { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
/* The scrolling row runs edge to edge, fading in and out at each side of the screen */
.partners.is-scrolling .partners__viewport {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.partners__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2.5rem;
  margin: 0;
  padding: 0;
  font-weight: 700;
  text-align: center;
}
.partners__item { display: flex; align-items: center; justify-content: center; min-height: 76px; white-space: nowrap; }
.partners__list img { height: 56px; width: auto; max-width: none; }
.partners__list .partners__logo--wide { height: 44px; }
.partners__list .partners__logo--medium { height: 56px; }
.partners__list .partners__logo--square { height: 76px; }
.partners.is-scrolling .partners__list { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: partners-scroll 35s linear infinite; }
.partners.is-scrolling .partners__item { margin-right: 2.5rem; }
.partners.is-scrolling .partners__viewport:hover .partners__list,
.partners.is-scrolling .partners__viewport:focus-within .partners__list { animation-play-state: paused; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partners.is-scrolling .partners__list { animation: none; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; width: auto; }
  .partners.is-scrolling .partners__item { margin-right: 0; }
  .partners__list [aria-hidden="true"] { display: none; }
}

/* Sections */

.section { padding: 3rem 0; }
.split { display: grid; gap: 1.75rem; align-items: center; }
.split img, .figure img { border-radius: var(--radius); }
.split .split__landscape { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; }
.split .split__logo { width: min(240px, 60%); justify-self: center; border-radius: 0; }
.figure { margin: 0; }
.prose { max-width: 42rem; }

/* Home intro under the partner logos: a pull quote beside the detail, stacked on phones */
.intro { display: grid; gap: 1rem; }
.intro__quote {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 6px solid var(--bright-red);
  color: var(--deep-red);
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}
.intro__detail { margin: 0; color: var(--muted); }
@media (min-width: 761px) {
  .intro { grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
}
.lead { font-size: 1.2rem; font-weight: 700; }
.more { font-weight: 700; }
.more::after { content: " \2192"; }

.facts { list-style: none; padding: 0; margin: 0 0 1.25rem; font-weight: 700; }
.facts li { padding: 0.15rem 0; }

.ticks { padding-left: 1.25rem; margin: 0 0 1rem; }
.ticks li { margin-bottom: 0.4rem; }
.ticks li::marker { color: var(--bright-red); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 1rem 0; }
.chips li {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--bright-red);
  color: var(--darker-red);
  font-weight: 700;
}

/* Our values: the first letters spell ANTOIN down the page */

.values { list-style: none; padding: 0; margin: 0 0 1rem; }
.values li { margin-bottom: 0.9rem; }
.values__initial { font-size: 2.25rem; line-height: 1; font-weight: 800; color: var(--deep-red); }

/* QR code for the gala tickets, on a white tile (with a light grey border to show on white sections) so it scans on any background */

.qr { margin: 0; justify-self: start; text-align: center; }
.qr img { width: 180px; height: 180px; padding: 12px; background: var(--white); border: 1px solid var(--border-grey); border-radius: var(--radius); }
.qr figcaption { margin-top: 0.5rem; font-weight: 700; }
/* Phones can't scan their own screen, so the QR code shows from 761px only */
@media (max-width: 760px) { .qr { display: none; } }

/* News posts: written from content/news.json by node scripts/render-news.mjs (or the /admin page) */

.posts { display: grid; gap: 1.5rem; }
.post {
  display: grid;
  gap: 1rem 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(31, 26, 26, 0.12);
}
.post__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post__image--logo { object-fit: contain; padding: 1rem; background: var(--white); }
.post__date { margin-bottom: 0.25rem; font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.post__title { font-size: 1.35rem; }
.post :last-child { margin-bottom: 0; }
/* A QR code as a post's picture: the logo's box, on a white tile with a light grey border, captioned.
   Hidden on phones, which can't scan their own screen; the post's link does the job there, and a
   phone picture (.post__phone-image, loaded straight away so there's no gap) shows instead. Only 1 of
   the 2 is ever shown. */
.post__qr { margin: 0; text-align: center; }
.post__qr img { border: 1px solid var(--border-grey); }
.post__qr figcaption { margin-top: 0.5rem; font-size: 0.95rem; font-weight: 700; }
@media (max-width: 760px) { .post__qr { display: none; } }
@media (min-width: 761px) { .post__phone-image { display: none; } }

/* Cards on the home page (Join us): light grey on the white section, equal height, with the
   buttons lined up at the bottom */

.cards { display: grid; gap: 1.5rem; }
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--light-grey);
  box-shadow: 0 1px 3px rgba(31, 26, 26, 0.12);
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.card__subtitle { font-weight: 700; color: var(--deep-red); }
.card .buttons { margin-top: auto; padding-top: 0.5rem; margin-bottom: 0; }
/* A partner's logo just above a card's button, in its own colours; it takes the push to the bottom */
.card__logo { align-self: flex-start; width: auto; height: 24px; margin-top: auto; margin-bottom: 1rem; }
.card__logo + .buttons { margin-top: 0; padding-top: 0; }
@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Gallery mosaic: up to 12 photos, never more */

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
.gallery li { overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery__wide { grid-column: span 2; }
.gallery__tall { grid-row: span 2; }
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery__full { grid-column: 1 / -1; }
/* For a photo with words in it: shown whole at its own shape, never cropped */
.gallery__whole { display: grid; place-items: center; border-radius: 0; }
.gallery__whole img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }

/* Contact form */

.enquiry-form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--muted);
  border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--deep-red); }
.field [aria-invalid="true"] { border-color: var(--deep-red); box-shadow: 0 0 0 2px var(--deep-red); }
.field-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 0.95rem; color: var(--muted); }
.enquiry-form .button { justify-self: start; }
.enquiry-form .button:disabled { opacity: 0.7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { padding: 0.85rem 1rem; border-radius: var(--radius); font-weight: 700; background: var(--white); border-left: 6px solid var(--muted); }
.form-status.is-success { border-left-color: #1d6b34; color: #14532a; }
.form-status.is-error { border-left-color: var(--deep-red); color: var(--darker-red); }
.form-fallback { padding: 1rem; border-radius: var(--radius); background: var(--white); font-weight: 700; }
.footer-note { color: var(--muted); font-size: 0.95rem; }

/* Footer, the logo's mid red */

.site-footer { background: var(--mid-red); color: var(--white); border-top: 6px solid var(--bright-red); }
.site-footer .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; display: grid; gap: 1.5rem; }
.site-footer a, .site-footer .social a { color: var(--white); }
.site-footer a:hover, .site-footer .social a:hover { color: var(--pale-text); }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer p { margin: 0 0 0.5rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-menu a { display: inline-block; padding: 0.35rem 0; }
.site-footer .social { margin-top: 0.75rem; margin-left: -10px; }
.footer-name { font-weight: 800; font-size: 1.1rem; }
.footer-small { color: var(--pale-text); font-size: 0.95rem; }
/* Bottom row: copyright and the LodeTec credit, stacked on phones, side by side from 761px */
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}
.site-footer .footer-bottom p { margin: 0; }
/* The LodeTec credit: a white outline pill holding the white LodeTec mark and the words, with a
   faint white fill on hover. White text is 6.1:1 on the mid red footer. */
.site-footer .credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 10px 4px 7px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: none;
  color: var(--white);
  text-decoration: none;
}
.site-footer .credit:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); color: var(--white); }
.credit__mark { flex: none; }
/* Centre the words on their capital height, not on the line box with its room for descenders */
.credit__text {
  line-height: 1;
  text-box: trim-both cap alphabetic;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
@supports not (text-box: trim-both cap alphabetic) {
  /* measured: 1px matches the trimmed result (11.7px above the capitals, 12px below the baseline) */
  .credit__text { position: relative; top: 1px; }
}
@media (min-width: 761px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Larger screens */

@media (min-width: 30rem) {
  .brand small { display: block; }
}

@media (min-width: 48rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split-reverse > :first-child { order: 2; }
  .post { grid-template-columns: 220px 1fr; align-items: start; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .gallery__full { grid-row: span 2; }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr; }
  .section { padding: 4.5rem 0; }
  .partners { padding: 2.5rem 0; }
}

/* Full menu from 1024px: logo and name on the left, socials on the right, the menu centred.
   1024 to 1279px: the menu sits centred on its own row under the logo and socials (text 1rem).
   From 1280px: 1 row, with 2 equal side columns so the menu sits in the centre of the header.
   1280 to 1599px: the small name line is hidden to make room (text 1rem, gaps 1.4rem).
   From 1600px: the small name line shows again (text 1.0625rem, gaps 1.75rem). */
@media (min-width: 64rem) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; column-gap: 0.75rem; row-gap: 0; }
  .js .menu-toggle { display: none; }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; position: relative; z-index: 1; }
  .site-nav, .js .site-nav { grid-column: 1 / 4; grid-row: 1 / 3; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; align-items: center; width: auto; }
  .site-menu { grid-column: 1 / 4; grid-row: 2; justify-self: center; display: flex; gap: 1.25rem; padding: 0; }
  .site-menu a { border-bottom: 0; padding: 0.5rem 0; font-size: 1rem; white-space: nowrap; }
  .site-nav .social { grid-column: 3; grid-row: 1; justify-self: end; flex-wrap: nowrap; padding: 0; }
}
@media (min-width: 80rem) {
  .site-header .wrap { grid-template-rows: auto; column-gap: 1.5rem; }
  .site-nav, .js .site-nav { grid-column: 2 / 4; grid-row: 1; grid-template-rows: none; }
  .site-menu { grid-column: 1; grid-row: 1; gap: 1.4rem; }
  .site-nav .social { grid-column: 2; grid-row: 1; gap: 0.125rem; }
  .brand small { display: none; }
}
@media (min-width: 100rem) {
  .brand small { display: block; }
  .site-menu { gap: 1.75rem; }
  .site-menu a { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .site-menu a, .social a { transition: background-color 0.15s ease, color 0.15s ease; }
  html { scroll-behavior: smooth; }
}
