/* ============================================================
   AULLAIRE — neoclassical editorial design system
   Palette: marble ivory · ink · umber · antique gold · oxblood
   Type:    Playfair Display (display, matches the brand wordmark)
            · Marcellus (labels) · Archivo (body)
   ============================================================ */

:root {
  --ivory: #efeae0;
  --ivory-deep: #e5ded0;
  --ink: #16130e;
  --ink-soft: #3d3830;
  --wedgwood-pale: #aebfd1;
  --gold: #a07e3f;
  --gold-bright: #c9a25e;
  --oxblood: #6e2b25;
  --umber: #3a2b20;
  --night: #171c26;

  --font-display: "Playfair Display", "Didot", Georgia, serif;
  --font-label: "Marcellus", "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 7rem;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max-w: 84rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

html.menu-open { overflow: hidden; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.32 0 0 0 0 0.27 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--wedgwood-pale); color: var(--ink); }

/* The page slides over the sticky cover like a curtain */
.page {
  position: relative;
  z-index: 2;
  background: var(--ivory);
}

/* ============ Preloader ============ */

/* While the loader is up, freeze the page behind it */
html.loading { overflow: hidden; }
html.loading body { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  opacity: 1;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader--done {
  opacity: 0;
  visibility: hidden;
}

.loader__crest {
  width: clamp(4.5rem, 11vw, 7rem);
  height: auto;
  transform-origin: 50% 50%;
  animation: loader-spin 1.5s cubic-bezier(0.6, 0.05, 0.28, 0.95) infinite;
  filter: drop-shadow(0 6px 20px rgba(22, 19, 14, 0.18));
}

@keyframes loader-spin {
  0% { transform: rotate(0deg) scale(0.96); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(0.96); }
}

/* ============ Shared components ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-label);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
  touch-action: manipulation;
  will-change: transform;
}

.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: transparent; color: var(--ink); }

[data-parallax],
[data-parallax-slow] { overflow: hidden; }
[data-parallax] img,
[data-parallax-slow] img { will-change: transform; }

.section-head { max-width: var(--max-w); margin: 0 auto; }

.section-head__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: var(--space-3);
}

.section-head__label::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-head__title em { font-style: italic; color: var(--oxblood); }

.section-head--center { text-align: center; }
.section-head--center .section-head__label { justify-content: center; }
.section-head--center .section-head__label::before { display: none; }

/* ============ Navigation: two floating corner elements ============ */

/* The wrapper contributes no box: each corner element is fixed on its own. */
.nav { display: contents; }

/* Hamburger as an obvious button: an ink chip that reads on any background */
.nav__toggle {
  position: fixed;
  top: 1rem;
  left: var(--gutter);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--ivory) 30%, transparent);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    transform 0.25s ease, opacity 0.35s ease;
}

.nav__toggle:hover {
  border-color: var(--gold-bright);
  background: var(--ink);
  transform: scale(1.06);
}

/* The toggle belongs to the cover; it fades away with the crest on scroll */
.nav__toggle--hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* But never while the menu overlay is open (it is the close button) */
html.menu-open .nav__toggle,
html.menu-open .nav__toggle--hidden {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ivory);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__crest-link {
  position: fixed;
  top: 1rem;
  right: var(--gutter);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* The crest belongs to the cover only; it fades away once you scroll past */
.nav__crest-link--hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.nav__crest {
  height: 3rem;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

/* ============ Menu overlay ============ */

.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(5rem, 14vh, 8rem) var(--gutter) var(--space-4);
  background: color-mix(in srgb, var(--ink) 97%, transparent);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

html.menu-open .menu {
  opacity: 1;
  visibility: visible;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.4rem, 1.5vh, 1rem);
}

.menu__nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 6vh, 3.6rem);
  line-height: 1.15;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.25s ease;
}

html.menu-open .menu__nav a {
  opacity: 1;
  transform: translateY(0);
}

.menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.menu__nav a:nth-child(3) { transition-delay: 0.2s; }
.menu__nav a:nth-child(4) { transition-delay: 0.26s; }
.menu__nav a:nth-child(5) { transition-delay: 0.32s; }

.menu__nav a:hover { color: var(--gold-bright); }

.menu__nav a span {
  font-size: 0.4em;
  color: var(--gold);
  font-weight: 400;
  min-width: 1.6em;
}

.menu__cta {
  margin-top: var(--space-3);
  font-style: italic;
  border-bottom: 1px solid color-mix(in srgb, var(--ivory) 45%, transparent);
  padding-bottom: 0.1em;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity 0.5s ease 0.35s;
}

html.menu-open .menu__foot { opacity: 1; }

.menu__wordmark { height: 2rem; width: auto; }

.menu__contact {
  display: flex;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 75%, transparent);
}

.menu__contact a:hover { color: var(--ivory); }

/* ============ Cover ============ */

.cover {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
  text-align: center;
}

.cover__bg {
  position: absolute;
  inset: 0;
}

.cover__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  will-change: transform;
}

.cover__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--ink) 62%, transparent),
    color-mix(in srgb, var(--ink) 38%, transparent) 45%,
    color-mix(in srgb, var(--ink) 78%, transparent)
  );
}

.cover__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
}

.cover__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.cover__letters { display: inline-block; white-space: nowrap; }

.cover__letters .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* The underline flourish, cut straight from the brand wordmark */
.cover__underline {
  display: block;
  width: min(74%, 46rem);
  height: auto;
  margin: clamp(0.6rem, 1.8vh, 1.3rem) auto 0;
}

.cover__scrollcue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 80%, transparent);
}

.cover__scrollline {
  width: 1px;
  height: 3rem;
  background: color-mix(in srgb, var(--ivory) 70%, transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ Intro ============ */

.intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) var(--gutter) var(--space-6);
  text-align: center;
}

.intro__tagline {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0.04em;
  color: var(--oxblood);
  margin-bottom: var(--space-3);
}

.intro__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 62rem;
  margin: 0 auto;
}

.intro__title em { font-style: italic; color: var(--oxblood); }

.intro__lede {
  max-width: 44rem;
  margin: var(--space-4) auto 0;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

/* ============ Approach ============ */

.approach {
  background: var(--ivory-deep);
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

/* Full-bleed split: the umber band owns the whole left side */
.approach__pin {
  display: grid;
  grid-template-columns: minmax(16rem, 32vw) 1fr;
}

.approach__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--umber);
  color: var(--ivory);
  padding: var(--space-6) var(--space-4) var(--space-6) var(--gutter);
}

.approach__stage {
  padding: var(--space-6) var(--gutter) var(--space-6) var(--space-5);
}

.approach__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.approach__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold-bright);
  margin-top: var(--space-3);
}

.principles { list-style: none; }

/* Static layout: a plain flowing list (no JS, reduced motion) */
.principle {
  position: relative;
  padding: var(--space-4) 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.principle:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.principle__ghost {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.principle__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: var(--space-2);
}

.principle__body p {
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.approach__rail { display: none; }

/* Pinned scrolly layout, enabled by JS when motion is allowed */
.approach--pinned .approach__pin {
  height: 100vh;
  height: 100dvh;
}

.approach--pinned .approach__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach--pinned .principles {
  position: relative;
  height: min(56vh, 30rem);
}

.approach--pinned .principle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
}

.approach--pinned .principle__ghost {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(10rem, 32vh, 19rem);
  color: color-mix(in srgb, var(--gold) 16%, transparent);
  margin: 0;
  pointer-events: none;
}

.approach--pinned .approach__rail {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.approach__track {
  position: absolute;
  left: 50%;
  top: -1.25rem;
  bottom: -1.25rem;
  width: 1px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  z-index: -1;
}

.approach__progress {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
}

.approach__tick {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.35;
  background: var(--ivory-deep);
  padding: 0.2rem 0;
}

@media (max-width: 900px) {
  .approach__pin { grid-template-columns: 1fr; }
  .approach__head { padding: var(--space-5) var(--gutter); }
  .approach__stage { padding: var(--space-5) var(--gutter); }
  .approach--pinned .principle__ghost { font-size: clamp(7rem, 22vh, 12rem); right: 0; }
  .approach--pinned .approach__rail { display: none; }
  .approach--pinned .approach__pin { grid-template-rows: auto 1fr; }
  .approach--pinned .approach__head { padding-top: 6rem; }
}

/* ============ About ============ */

.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: var(--space-2);
}

.about__intro p {
  max-width: 34rem;
  margin-top: var(--space-3);
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.about__intro .btn { margin-top: var(--space-4); }

/* ---- About: interactive Q&A ---- */

.faq {
  border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.faq__item {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.faq__q:hover { color: var(--oxblood); }

.faq__icon {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq__item.open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner { overflow: hidden; }

.faq__a p {
  padding-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 34rem;
}

/* ============ Focus ============ */

.focus {
  position: relative;
  z-index: 1;
  padding: var(--space-6) var(--gutter);
  background: var(--ivory-deep);
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max-w);
  margin: var(--space-5) auto;
  background: color-mix(in srgb, var(--ink) 25%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.focus__card {
  background: var(--ivory-deep);
  padding: var(--space-4);
  transition: background-color 0.35s ease;
}

.focus__card:hover { background: var(--ivory); }

.focus__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.focus__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  margin-bottom: var(--space-2);
}

.focus__card p { color: var(--ink-soft); }

.focus__art {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Darkens the frozen Focus section while the closing hero slides over it.
   A separate layer, so it never fights the content's own reveal animations. */
.focus__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
}

.focus__art img { aspect-ratio: 1536 / 1226; object-fit: cover; }

/* ============ Closing hero ============ */

.cta {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
  text-align: center;
}

.cta__art {
  position: absolute;
  inset: -12% 0;
}

.cta__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}

.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--night) 80%, transparent),
    color-mix(in srgb, var(--night) 62%, transparent) 50%,
    color-mix(in srgb, var(--night) 88%, transparent)
  );
}

.cta__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--gutter) var(--space-4);
}

.cta__kicker {
  font-family: var(--font-label);
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wedgwood-pale);
  margin-bottom: var(--space-3);
}


/* Quiet, premium invitation: modest italic type over a tapered rule */
.cta__button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
  transition: color 0.35s ease;
  will-change: transform;
}

.cta__button-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.1;
}

.cta__button-underline {
  width: 100%;
  height: 3px;
  background: var(--gold-bright);
  clip-path: ellipse(50% 50% at 50% 50%);
  transform: scaleX(0.55);
  opacity: 0.75;
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.cta__button:hover,
.cta__button:focus-visible {
  color: var(--gold-bright);
}

.cta__button:hover .cta__button-underline,
.cta__button:focus-visible .cta__button-underline {
  transform: scaleX(1);
  opacity: 1;
}

.cta__arrow {
  font-style: normal;
  font-size: 0.6em;
  transform: translateY(-0.08em);
  transition: transform 0.35s ease;
}

.cta__button:hover .cta__arrow { transform: translateY(-0.08em) translateX(0.3em); }

/* Footer, folded into the closing hero */

.cta__footer {
  position: relative;
  z-index: 2;
  padding: var(--space-3) var(--gutter) var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  background: color-mix(in srgb, var(--night) 30%, transparent);
}

.cta__footer-wordmark { height: 1.9rem; width: auto; }

.cta__footer-crest { height: 2.6rem; width: auto; }

.cta__footer-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.cta__footer-nav,
.cta__footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-family: var(--font-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta__footer-nav { font-size: 0.85rem; }

.cta__footer-contact {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--ivory) 65%, transparent);
}

.cta__footer-nav a,
.cta__footer-contact a {
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s ease;
}

.cta__footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.cta__footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.cta__footer-contact a:hover { color: var(--ivory); }

.cta__trademark {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--ivory) 55%, transparent);
}

/* ============ Reveal (pre-animation state, JS applies motion) ============ */

.js [data-reveal] { opacity: 0; }

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .focus__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cta__body { padding-top: var(--space-5); }
  .cta__footer { grid-template-columns: 1fr; justify-items: center; gap: var(--space-2); }
  .cta__footer-wordmark { order: 1; }
  .cta__footer-mid { order: 2; }
  .cta__footer-crest { order: 3; }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover { position: relative; }
  .cover__scrollline { animation: none; transform: none; }
  .loader__crest { animation: none; transform: none; }
  .js [data-reveal] { opacity: 1; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
