/* ==========================================================================
   style.css — shared foundation: design tokens, reset, base type, nav, footer.
   Design direction: "Modern Gallery" (Fraunces + Inter, bone paper / soft ink).
   Page-specific styles live in their own files; motion lives in premium.css.
   ========================================================================== */

/* ---- Design tokens --------------------------------------------------------
   Every colour, font, and rhythm value the site uses lives here. Change a
   token, change it everywhere. The accent is intentionally PLACEHOLDER — the
   real one gets pulled from Sari's paintings later; it's isolated to this one
   variable so that swap is a single edit.                                    */
:root {
  --paper: #f4f3f0;        /* page background — warm bone, never stark white   */
  --ink: #1a1a18;          /* primary text — soft ink, never pure black        */
  --near-black: #141414;   /* optional dark contrast moments / dark sections   */
  --muted: #6f6e67;        /* secondary text: captions, meta                   */
  --faint: #9a988f;        /* tertiary: hints, disabled                        */
  --line: #dddbd3;         /* hairline rules and borders                       */
  --paper-2: #eceae3;      /* very subtly recessed surface (skeletons, hovers) */
  --accent: #7a858a;       /* TENTATIVE slate — lock from the work later        */

  --font-display: 'Quicksand', 'Century Gothic', system-ui, sans-serif;
  --font-sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1280px;                       /* max content width                   */
  --gutter: clamp(1.25rem, 4.5vw, 4rem);/* responsive side padding             */
  --nav-h: 5.25rem;                     /* header height                       */

  --ease: cubic-bezier(0.22, 0.61, 0.22, 1);
  --dur: 0.6s;             /* base transition duration for reveals/hover       */
}

/* ---- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul {
  list-style: none;
  padding: 0;
}

/* ---- Typography ----------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
p {
  max-width: 62ch;
}

/* A small, tracked, uppercase label — the recurring "gallery" motif used for
   nav, section kickers, and meta. */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Accessibility helpers ------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--near-black);
  color: var(--paper);
  padding: 0.6rem 1rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(3.5rem, 9vw, 8rem);
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid {
  background: var(--near-black);
  color: var(--paper);
  border-color: var(--near-black);
}
.btn--solid:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* ==========================================================================
   Site header / navigation
   Mobile-first: name left, hamburger right. Links live in an overlay menu.
   At the desktop breakpoint the links sit inline, top-right, tracked + caps.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  /* NOTE: backdrop-filter is applied only at the desktop breakpoint below.
     On mobile it would create a containing block that traps the fixed overlay
     menu inside the 72px header, so we deliberately omit it here. */
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease),
    background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform 0.35s var(--ease);
}
/* premium.js adds .is-scrolled once the page leaves the very top */
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

/* Hides upward on scroll-down; JS adds/removes .is-hidden. */
.site-header.is-hidden {
  transform: translateY(-100%);
}
/* When the mobile overlay menu is open, force ink colours regardless of any
   other header state. */
.site-header .nav.is-open .nav__brand,
.site-header .nav.is-open .nav__link,
.site-header .nav.is-open .nav__social,
.site-header .nav.is-open .nav__toggle {
  color: var(--ink);
}
.site-header .nav.is-open .nav__brand {
  opacity: 1;
  pointer-events: auto;
}
/* Keep the brand + toggle painting above the fixed overlay menu, so the close
   button (and the brand) stay visible and clickable on top of it. */
.nav__brand,
.nav__toggle {
  position: relative;
  z-index: 2;
}
.nav__menu {
  z-index: 1;
}

/* Pages with a full-bleed hero opt out of reserving header space (the hero
   sits beneath the fixed, transparent header). Other pages push content down
   so the fixed header never overlaps it. */
body:not(.has-hero) .site-header {
  position: sticky;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
}
.nav__toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}
.nav__toggle .icon-close {
  display: none;
}
.nav__menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
/* Mobile-only: items start hidden for stagger animation */
@media (max-width: 767px) {
  .nav__list li,
  .nav__social {
    opacity: 0;
    transform: translateY(18px);
    transition: none;
  }
  .nav.is-open .nav__list li,
  .nav.is-open .nav__social {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.55s var(--ease) calc(var(--i, 0) * 0.09s + 0.18s),
      transform 0.55s var(--ease) calc(var(--i, 0) * 0.09s + 0.18s);
  }
  /* Larger editorial links in the mobile overlay */
  .nav__menu .nav__link {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
    font-weight: 400;
  }
}
.nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.nav__link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  width: fit-content;
}
/* Animated underline on hover / current page */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}
.nav__social {
  display: inline-flex;
  align-items: center;
}
.nav__social svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Open state (toggled by premium.js) */
body.menu-open {
  overflow: hidden;
}
.nav.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
}
.nav.is-open .nav__toggle .icon-open {
  display: none;
}
.nav.is-open .nav__toggle .icon-close {
  display: block;
}

/* Desktop navigation */
@media (min-width: 768px) {
  /* Safe to add the glass blur here — the menu is static at this width, so
     there's no fixed overlay to trap. */
  .site-header {
    backdrop-filter: saturate(140%) blur(8px);
  }
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
    padding: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
  }
  .nav__list {
    flex-direction: row;
    gap: 2.25rem;
  }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.site-footer {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-footer__meta a:hover {
  color: var(--ink);
}
.site-footer__credit {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}
@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Home page
   ========================================================================== */
/* Full-bleed hero: the slideshow fills the viewport, the name floats over it
   and dissolves on scroll (premium.js drives the fade). */
.home-hero {
  position: relative;
  height: 100svh;
  min-height: 30rem;
  width: 100%;
  overflow: hidden;
}
/* Subtle top/bottom scrim so white nav + name stay legible over any image. */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 16, 0.34) 0%,
    rgba(20, 20, 16, 0) 28%,
    rgba(20, 20, 16, 0) 62%,
    rgba(20, 20, 16, 0.32) 100%
  );
}

.home-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.home-hero__cue-line {
  width: 1px;
  height: 2.75rem;
  background: currentColor;
  transform-origin: top;
  animation: cue-drift 2.4s var(--ease) infinite;
}
@keyframes cue-drift {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Layered scroll (home only): the hero stays fixed while the closing band +
   footer scroll up and over it — a calm, premium reveal. The fixed hero sits
   at z-index 0; everything after it is paper-backed at z-index 1 so it cleanly
   covers the image as it rises. #main reserves the hero's height up top. */
body.has-hero .home-hero {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100svh;
  z-index: 0;
}
body.has-hero #main {
  padding-top: 100svh;
}
body.has-hero #intro,
body.has-hero .site-footer {
  position: relative;
  z-index: 1;
  background: var(--paper);
}
/* On home the closing band's own padding gives the footer breathing room, so
   drop the global footer margin (its transparent gap would reveal the hero). */
body.has-hero .site-footer {
  margin-top: 0;
}

/* The closing band after the hero: a centred, contained statement + two clear
   actions, so a wide desktop viewport reads as composed rather than left-heavy
   with an empty void. */
.home-intro {
  text-align: center;
  width: 100%;
  padding-inline: var(--gutter);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.home-statement {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: 38ch;
  margin-inline: auto;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.home-cta__note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
  text-align: center;
}

/* ==========================================================================
   Paintings page — section intros + masonry gallery grids
   ========================================================================== */
/* Top padding clears the fixed header on inner (no-hero) pages. */
.page-top {
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem));
}
.page-intro {
  max-width: 60ch;
}
.page-intro__kicker {
  margin-bottom: 1.25rem;
}
.page-intro h1 {
  font-size: clamp(1.85rem, 3.45vw, 2.4rem);
  margin-bottom: 1.25rem;
}
.page-intro p {
  font-size: 1.05rem;
  color: var(--muted);
}
.page-intro a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
.page-intro a:hover {
  color: var(--accent);
}

/* The works section heading sits above each grid. */
.works-section {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.works-section__heading {
  font-size: clamp(1.85rem, 3.45vw, 2.4rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

/* Masonry via JS-distributed flex columns — left-to-right reading order. */
.works-grid {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: flex-start;
}
.works-grid__col {
  flex: 1;
  min-width: 0;
}

.work-card {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
}
.work-card__frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.work-card__frame img {
  width: 100%;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .work-card__frame img {
  transform: scale(1.045);
}
.work-card__sold {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: color-mix(in srgb, var(--near-black) 85%, transparent);
  padding: 0.35rem 0.7rem;
}
.work-card__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}
.work-card__year {
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
}
/* Skeleton placeholder cards keep layout from jumping during the fetch. */
.work-card__frame.is-skeleton {
  aspect-ratio: 4 / 5;
}

/* Tasteful empty state when a category has no works yet. */
.works-empty {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  padding-block: 2rem;
}

/* ==========================================================================
   Artwork detail page — single painting view
   ========================================================================== */
.artwork {
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3.5rem));
}
.artwork__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.artwork__back:hover {
  color: var(--ink);
}
.artwork__back svg {
  width: 1rem;
  height: 1rem;
}

.artwork__layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
@media (min-width: 900px) {
  .artwork__layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}
/* Small works read as a single, centred column — more intimate. */
.artwork--small .artwork__layout {
  max-width: 760px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .artwork--small .artwork__layout {
    grid-template-columns: 1fr;
  }
}

.artwork__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.artwork__primary {
  overflow: hidden;
  background: var(--paper-2);
}
.artwork__primary img {
  width: 100%;
}
.artwork__primary--zoom {
  cursor: zoom-in;
}
.artwork__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.artwork__thumb {
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
}
.artwork__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.artwork__thumb:hover img {
  transform: scale(1.06);
}

@media (min-width: 900px) {
  .artwork:not(.artwork--small) .artwork__details {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}
.artwork__title {
  font-size: clamp(1.85rem, 3.45vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.artwork__meta {
  margin-bottom: 2rem;
}
.artwork__meta div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.artwork__meta dt {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.artwork__meta dd {
  margin: 0;
  text-align: right;
}
.artwork__desc {
  color: #36352f;
  margin-bottom: 2rem;
}
.artwork__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.artwork__price--sold {
  color: var(--muted);
}

/* Prev / next within the same category */
.artwork-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.artwork-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 45%;
}
.artwork-nav__link--next {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}
.artwork-nav__dir {
  color: var(--muted);
}
.artwork-nav__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  transition: color var(--dur) var(--ease);
}
.artwork-nav__link:hover .artwork-nav__name {
  color: var(--accent);
}

/* Not-found state */
.artwork-error {
  padding-top: calc(var(--nav-h) + clamp(4rem, 12vw, 9rem));
  padding-bottom: clamp(4rem, 12vw, 9rem);
  text-align: center;
}
.artwork-error h1 {
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   About page — two-column: text + CV (left), studio photo (right)
   ========================================================================== */
.about__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .about__layout {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "bio  photo"
      "cv   photo";
    gap: clamp(3rem, 6vw, 6rem);
    row-gap: 0;
  }
  .about__bio   { grid-area: bio; }
  .about__cv    { grid-area: cv; }
  /* Photo spans both rows as a sticky sidebar. */
  .about__photo {
    grid-area: photo;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    align-self: start;
  }
}
.about__photo img {
  width: 100%;
  background: var(--paper-2);
}
.about__block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.about__block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}
.about__block p + p {
  margin-top: 1rem;
}

/* CV — grouped lists (Education, Exhibitions, etc.) */
.cv__group {
  margin-bottom: 2.25rem;
}
.cv__group h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.cv__item {
  display: flex;
  gap: 1.25rem;
  padding-block: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.cv__year {
  flex: 0 0 4.5rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cv__era {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Contact page — portrait + the two ways to reach her
   ========================================================================== */
.contact__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 800px) {
  .contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.contact__photo img {
  width: 100%;
  background: var(--paper-2);
}
.contact__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 2.5rem;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__link {
  display: block;
}
.contact__link .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}
.contact__link a {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  position: relative;
}
.contact__link a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.contact__link a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Reduced motion — honour the OS setting everywhere.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
