/* ==========================================================================
   Hi-Construct Investment Limited
   main.css — custom styles that sit on top of the compiled Tailwind build.
   Load order:  tailwind.css  →  main.css

   Everything below lives in Tailwind's `components` layer. This matters:
   unlayered CSS beats *every* layered utility no matter the specificity, so
   a bare `.surface { background:#fff }` would silently override `bg-ink`, and
   `.img-reveal { position:relative }` would override `absolute`. Declaring
   the layer keeps utilities winning, which is what the markup expects.

   The reduced-motion block at the bottom is intentionally left unlayered —
   its !important declarations must beat everything.
   ========================================================================== */

@layer components {

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bone);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--color-brand-800);
  color: #fff;
}

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

/* Lock scroll when a full-screen overlay is open */
body.is-locked {
  overflow: hidden;
}

/* Optical fix: display type reads tighter than body copy */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
   2. Reusable text + surface treatments
   -------------------------------------------------------------------------- */

/* A quiet label, used only where the heading beneath it doesn't already say
   what the block is (Our Mission / Our Vision / GMD's Corner). Sentence case,
   no dot, no letter-spacing — it should read as a caption, not a badge. */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-800);
}

/* Second clause of a headline, dimmed — the editorial device from the brief */
.headline-muted {
  color: var(--color-ink-400);
}

.surface {
  background: #fff;
  border: 1px solid rgb(23 18 15 / 0.07);
  border-radius: 1.5rem;
}

/* Hairline that draws itself in when scrolled into view */
.rule {
  height: 1px;
  background: rgb(23 18 15 / 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out-expo);
}

.rule.is-revealed {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background-color 0.35s ease,
    color 0.35s ease, border-color 0.35s ease, box-shadow 0.4s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-brand-800);
  color: #fff;
  box-shadow: 0 1px 2px rgb(103 0 1 / 0.2);
}

.btn-primary:hover {
  background: var(--color-brand-900);
  box-shadow: 0 12px 28px -12px rgb(103 0 1 / 0.55);
}

.btn-gold {
  background: var(--color-gold-400);
  color: var(--color-ink);
}

.btn-gold:hover {
  background: var(--color-gold-300);
  box-shadow: 0 12px 28px -12px rgb(255 204 42 / 0.75);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid rgb(23 18 15 / 0.15);
}

.btn-ghost:hover {
  border-color: var(--color-ink);
}

.btn-ghost-light {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.28);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: #fff;
}

/* Arrow inside a button nudges forward on hover */
.btn .btn-arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  transition: background-color 0.45s ease, box-shadow 0.45s ease,
    backdrop-filter 0.45s ease, padding 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgb(250 249 247 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgb(23 18 15 / 0.08);
  box-shadow: 0 8px 30px -22px rgb(23 18 15 / 0.5);
}

/* Nav link with an underline that wipes in from the left */
.nav-link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-600);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-brand-800);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--color-ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link[aria-current="page"] {
  color: var(--color-ink);
}

/* Hamburger → X */
.burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.25s ease;
}

.burger-line + .burger-line {
  margin-top: 5px;
}

.is-open .burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.is-open .burger-line:nth-child(2) {
  opacity: 0;
}

.is-open .burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Mobile navigation panel
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--color-bone);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease-out-expo), visibility 0.7s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 11vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo),
    color 0.3s ease;
}

.mobile-nav.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  /* index set inline via style="--i:n" */
  transition-delay: calc(120ms + var(--i, 0) * 70ms);
}

.mobile-nav-link:hover {
  color: var(--color-brand-800);
}

.mobile-nav-link .idx {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-ink-400);
  vertical-align: super;
  margin-right: 0.75rem;
}

/* --------------------------------------------------------------------------
   6. Hero slider
   -------------------------------------------------------------------------- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease-out-expo), visibility 1.2s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* Slow Ken Burns push — only while the slide is on screen */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 8s linear;
}

.hero-slide.is-active img {
  transform: scale(1);
}

/* Each line of the hero headline masks up independently */
.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out-expo);
}

.hero-slide.is-active .hero-line > span {
  transform: translateY(0);
  transition-delay: calc(220ms + var(--i, 0) * 110ms);
}

.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out-expo);
}

.hero-slide.is-active .hero-fade {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 620ms;
}

/* Autoplay progress bar */
.hero-progress {
  height: 2px;
  width: 100%;
  background: rgb(255 255 255 / 0.22);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--color-gold-400);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-progress span.is-running {
  animation: hero-progress-fill var(--hero-duration, 6500ms) linear forwards;
}

@keyframes hero-progress-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-dot {
  position: relative;
  height: 2px;
  width: 28px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.3);
  transition: width 0.5s var(--ease-out-expo), background-color 0.4s ease;
  cursor: pointer;
}

.hero-dot.is-active {
  width: 52px;
  background: var(--color-gold-400);
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 0.35s ease, border-color 0.35s ease,
    transform 0.35s var(--ease-out-expo);
}

.hero-arrow:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-ink);
  transform: scale(1.06);
}

/* Down-scroll cue */
.scroll-cue span {
  animation: scroll-cue 2.2s var(--ease-out-expo) infinite;
}

@keyframes scroll-cue {
  0% {
    transform: translateY(-60%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(160%);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   7. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.95s ease, transform 0.95s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="zoom"] {
  transform: scale(0.94);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Image reveals from behind a sliding curtain */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bone);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 1.1s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.img-reveal.is-revealed::after {
  transform: scaleY(0);
}

.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.4s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.img-reveal.is-revealed img {
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.value-card,
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.55s var(--ease-out-expo), border-color 0.45s ease,
    box-shadow 0.55s ease;
}

.value-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgb(23 18 15 / 0.14);
  box-shadow: 0 30px 60px -40px rgb(23 18 15 / 0.45);
}

/* Gold wash that rises from the bottom of a service card */
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--color-gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--color-brand-50);
  color: var(--color-brand-800);
  transition: background-color 0.45s ease, color 0.45s ease,
    transform 0.55s var(--ease-out-expo);
}

.service-card:hover .service-icon,
.value-card:hover .service-icon {
  background: var(--color-brand-800);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

/* --------------------------------------------------------------------------
   Chamfered media (the "cut corner" panels from the inspiration board)
   border-radius still rounds the other three corners; clip-path slices one.
   -------------------------------------------------------------------------- */
.cut {
  --cut: 1.75rem;
}

@media (min-width: 640px) {
  .cut {
    --cut: 2.75rem;
  }
}

.cut-tr {
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    0 100%
  );
}

.cut-tl {
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 var(--cut)
  );
}

.cut-br {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%
  );
}

/* Image-led tile used by the services grid */
.tile img {
  transition: transform 0.9s var(--ease-out-expo);
}

.tile:hover img {
  transform: scale(1.06);
}

.tile-scrim {
  background: linear-gradient(
    to top,
    rgb(43 0 0 / 0.9) 0%,
    rgb(43 0 0 / 0.45) 40%,
    rgb(43 0 0 / 0.05) 72%
  );
}

.tile-badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 0.22);
  transition: background-color 0.45s ease, color 0.45s ease,
    transform 0.55s var(--ease-out-expo);
}

.tile:hover .tile-badge {
  background: var(--color-gold-400);
  color: var(--color-ink);
  transform: rotate(-6deg);
}

/* Compact "reason" row — a rule instead of a card, so the images carry the eye */
.reason {
  border-top: 1px solid rgb(23 18 15 / 0.12);
  transition: border-color 0.4s ease;
}

.reason:hover {
  border-top-color: var(--color-brand-800);
}

.reason .reason-icon {
  color: var(--color-brand-800);
  transition: transform 0.5s var(--ease-out-expo);
}

.reason:hover .reason-icon {
  transform: translateY(-2px);
}

/* Numbered process steps */
.step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-bone-300);
  transition: color 0.5s ease;
}

.step:hover .step-num {
  color: var(--color-gold-400);
}

/* --------------------------------------------------------------------------
   9. Marquee (trust strip)
   -------------------------------------------------------------------------- */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.marquee__track {
  display: flex;
  flex: none;
  gap: 3rem;
  min-width: 100%;
  align-items: center;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 3rem));
  }
}

/* --------------------------------------------------------------------------
   10. Accordion
   -------------------------------------------------------------------------- */
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out-expo);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-icon {
  transition: transform 0.5s var(--ease-out-expo);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-trigger {
  transition: color 0.3s ease;
}

.accordion-item.is-open .accordion-trigger {
  color: var(--color-brand-800);
}

/* --------------------------------------------------------------------------
   11. Gallery + lightbox
   -------------------------------------------------------------------------- */
.filter-btn {
  position: relative;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ink-600);
  border: 1px solid rgb(23 18 15 / 0.1);
  transition: color 0.35s ease, background-color 0.35s ease,
    border-color 0.35s ease;
}

.filter-btn:hover {
  color: var(--color-ink);
  border-color: rgb(23 18 15 / 0.28);
}

.filter-btn.is-active {
  background: var(--color-brand-800);
  border-color: var(--color-brand-800);
  color: #fff;
}

.gallery-item {
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.gallery-item.is-filtered {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}

.gallery-media img {
  transition: transform 0.9s var(--ease-out-expo);
}

.gallery-item:hover .gallery-media img {
  transform: scale(1.07);
}

/* The scrim is always on: captions are white, and half the project photos are
   pale. Hover deepens it rather than introducing it — otherwise the captions
   would be unreadable on touch devices, which never hover. */
.gallery-overlay {
  background: linear-gradient(
    to top,
    rgb(43 0 0 / 0.88) 0%,
    rgb(43 0 0 / 0.42) 42%,
    rgb(43 0 0 / 0.05) 78%
  );
  opacity: 0.82;
  transition: opacity 0.6s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  transform: translateY(0);
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(-4px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgb(15 8 8 / 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  border-radius: 1rem;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.45s ease;
}

.lightbox.is-open img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.lightbox-btn:hover {
  background: rgb(255 255 255 / 0.14);
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.field {
  position: relative;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(23 18 15 / 0.16);
  padding: 1.5rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color 0.4s ease;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field label {
  position: absolute;
  left: 0;
  top: 1.35rem;
  font-size: 0.95rem;
  color: var(--color-ink-400);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s ease;
}

/* Float the label when focused or filled (:not(:placeholder-shown)) */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  transform: translateY(-1.35rem) scale(0.78);
  color: var(--color-brand-800);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--color-brand-800);
}

/* Animated focus underline */
.field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--color-brand-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field .error-msg {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-brand-600);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.field.has-error .error-msg {
  opacity: 1;
  transform: translateY(0);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-bottom-color: var(--color-brand-600);
}

/* --------------------------------------------------------------------------
   13. Counter + misc
   -------------------------------------------------------------------------- */
.counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Subtle grain over dark sections so flat colour never looks plasticky */
.grain {
  position: relative;
  isolation: isolate;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

/* Blueprint grid used behind the 404 + CTA blocks */
.blueprint {
  background-image: linear-gradient(
      rgb(255 255 255 / 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* Page-load fade so nothing "pops" on first paint */
.page-fade {
  opacity: 0;
  animation: page-in 0.8s var(--ease-out-expo) forwards;
}

@keyframes page-in {
  to {
    opacity: 1;
  }
}

/* Floating crane hook on the 404 */
.float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

} /* end @layer components */

/* --------------------------------------------------------------------------
   14. Overlay header (home page only)

   The home header floats over the dark hero photography, where the default
   maroon wordmark and near-black burger lines are invisible. These rules flip
   the header to white until the page scrolls and the frosted light bar takes
   over (.is-stuck), at which point the normal colours return.

   Deliberately UNLAYERED: they must override the Tailwind colour utilities
   (`text-brand-800`, `text-ink-400`) sitting on the markup itself.
   -------------------------------------------------------------------------- */
.site-header.is-overlay:not(.is-stuck) .logo-word {
  color: #fff;
}

.site-header.is-overlay:not(.is-stuck) .logo-sub {
  color: rgb(255 255 255 / 0.45);
}

.site-header.is-overlay:not(.is-stuck) .nav-link {
  color: rgb(255 255 255 / 0.72);
}

.site-header.is-overlay:not(.is-stuck) .nav-link:hover,
.site-header.is-overlay:not(.is-stuck) .nav-link[aria-current="page"] {
  color: #fff;
}

.site-header.is-overlay:not(.is-stuck) .nav-link::after {
  background: var(--color-gold-400);
}

.site-header.is-overlay:not(.is-stuck) .burger-line {
  background: #fff;
}

.site-header.is-overlay:not(.is-stuck) .nav-toggle {
  border-color: rgb(255 255 255 / 0.32);
}

/* --------------------------------------------------------------------------
   15. Reduced motion — honour the OS preference everywhere.
       Unlayered on purpose so these !important rules win outright.
   -------------------------------------------------------------------------- */
@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;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  .hero-line > span,
  .hero-fade,
  .img-reveal img {
    opacity: 1 !important;
    transform: none !important;
  }

  .img-reveal::after {
    display: none;
  }

  .hero-slide img {
    transform: none !important;
  }
}
