@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --gold: #d4a650;
  --gold-bright: #e8c878;
  --gold-deep: #a47c2e;
  --silver: #d1d0ce;
  --silver-dim: #8d8b86;
  --text: #eceae4;
  --text-muted: #a9a69f;
  --line: rgba(212, 166, 80, 0.35);
  --card: rgba(255, 255, 255, 0.03);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
  --content: 38rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

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

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  overflow-x: hidden;
}

html.is-loading {
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
cite, em { font-style: italic; }
cite { font-style: italic; }

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 0.9rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ----- canvas + atmosphere ----- */
.scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 74% 42%, rgba(212, 166, 80, 0.18) 0%, rgba(212, 166, 80, 0.05) 26%, transparent 52%),
    radial-gradient(ellipse at 18% 80%, rgba(212, 166, 80, 0.05), transparent 40%),
    radial-gradient(ellipse at 70% 45%, transparent 0%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.16) 42%, rgba(0,0,0,0.05) 68%, rgba(0,0,0,0.42) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

html.no-webgl .vignette {
  background:
    radial-gradient(ellipse at 60% 30%, rgba(212,166,80,0.12), transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(200,200,210,0.06), transparent 45%),
    #000;
}

/* ----- loader ----- */
html:not(.js) .loader { display: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.loader__mark {
  width: min(46vw, 220px);
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  animation: mark-in 1.1s var(--ease) 0.15s forwards;
}

.loader__line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: line-in 1s var(--ease) 0.4s forwards;
}

.loader__word {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: 0;
  animation: word-in 1s var(--ease) 0.7s forwards;
  padding-left: 0.55em;
}

@keyframes mark-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes line-in {
  to { width: min(46vw, 220px); }
}
@keyframes word-in {
  to { opacity: 1; }
}

/* ----- header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--silver);
  z-index: 22;
}
.brand:hover { color: var(--gold-bright); }

.brand__mark {
  width: 2.4rem;
  height: auto;
}

.brand__name {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.35rem;
  z-index: 21;
}

.nav a {
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: var(--gold-bright); }
.nav a:hover::after,
.nav a.is-active::after { right: 0; }

.menu-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  z-index: 22;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0.28rem auto;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

body.menu-open .menu-toggle span:first-child { transform: translateY(0.29rem) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-0.29rem) rotate(-45deg); }

/* ----- sections ----- */
main { position: relative; z-index: 3; }

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) var(--pad) 5rem;
}

.section--hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 1.4rem);
  padding-bottom: 3.2rem;
}

.section--hero .section__content {
  width: min(44rem, 58%);
}

.section--index {
  min-height: 0;
  align-items: flex-start;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.section__content {
  position: relative;
  width: min(var(--content), 100%);
  z-index: 2;
}
.section__content::before {
  content: "";
  position: absolute;
  inset: -1.9rem -2.2rem -2.1rem -2rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 1.35rem;
  background:
    linear-gradient(165deg, rgba(255, 248, 230, 0.11) 0%, rgba(255, 248, 230, 0.03) 24%, rgba(10, 10, 10, 0.2) 55%, rgba(8, 8, 8, 0.3) 100%);
  border: 1px solid rgba(212, 166, 80, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 230, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.section--hero .section__content::before {
  inset: -1.7rem -0.7rem -2rem -2rem;
  background:
    linear-gradient(165deg, rgba(255, 248, 230, 0.12) 0%, rgba(255, 248, 230, 0.03) 28%, rgba(10, 10, 10, 0.16) 58%, rgba(8, 8, 8, 0.26) 100%);
}

.section__content--wide {
  width: min(72rem, 100%);
}
.section__content--wide::before { display: none; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.headline {
  margin: 0 0 1.4rem;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #f3f1ea;
}

.headline--hero {
  font-size: clamp(1.7rem, 3.55vw, 2.95rem);
  line-height: 1.12;
  font-weight: 500;
  text-wrap: unset;
  max-width: none;
}

.headline--hero .line {
  display: block;
  white-space: nowrap;
}

.subtitle {
  margin: -0.6rem 0 1.4rem;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-dim);
  font-weight: 400;
}

.lede {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.section p {
  margin: 0 0 1.15rem;
  color: var(--silver);
}

.section p.fine,
.fine {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.subhead {
  margin: 1.8rem 0 0.7rem;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.plain-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.4rem 0;
  color: var(--silver);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 1px;
  background: var(--gold);
}

.link-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: inline-block;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--silver);
}

.link-list a:hover { color: var(--gold-bright); border-color: var(--gold); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  margin: 1.6rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.35rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}

.btn--gold {
  background: var(--gold);
  color: #111;
}

.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #111;
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
}

.btn--ghost:hover {
  background: rgba(212, 166, 80, 0.12);
  color: var(--gold-bright);
}

button.btn { font: inherit; }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: var(--pad);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ----- pillar index ----- */
.section-heading {
  margin: 0 0 2rem;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  color: #f3f1ea;
}

.pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: transparent;
  border: none;
}

.pillar-card {
  background: transparent;
  margin: 0;
}

.pillar-card a {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.45rem 1.35rem 1.35rem;
  color: var(--silver);
  height: 100%;
  border-radius: 1.1rem;
  border: 1px solid rgba(212, 166, 80, 0.3);
  background:
    linear-gradient(165deg, rgba(255, 248, 230, 0.1) 0%, rgba(10, 10, 10, 0.28) 46%, rgba(8, 8, 8, 0.42) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 230, 0.22),
    0 14px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.pillar-card a:hover {
  background:
    linear-gradient(165deg, rgba(232, 200, 120, 0.16) 0%, rgba(12, 10, 6, 0.36) 50%, rgba(8, 8, 8, 0.46) 100%);
  border-color: rgba(232, 200, 120, 0.5);
  color: var(--silver);
}

.pillar-card__name {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: #f3f1ea;
  letter-spacing: 0.04em;
}

.pillar-card__text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pillar-card__more {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ----- form ----- */
.contact-form {
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(212, 166, 80, 0.3);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.35rem;
  appearance: none;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.field--honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0.2rem 0 0;
  color: var(--gold-bright);
  font-size: 0.95rem;
}

.form-status.is-error { color: #e8b4a0; }

.direct-email {
  color: var(--text-muted);
}

.direct-email a { border-bottom: 1px solid var(--line); }

/* ----- footer ----- */
.footer {
  position: relative;
  z-index: 3;
  padding: 4.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(to top, #000 40%, rgba(0,0,0,0.55));
}

.footer__brand {
  display: inline-block;
  margin: 0 auto 1.2rem;
}

.footer__brand img {
  width: min(16rem, 70vw);
  margin-inline: auto;
}

.footer__promise {
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  color: var(--silver);
  margin: 0 0 1.4rem;
}

.footer__nav,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.15rem;
  margin: 0 0 0.9rem;
}

.footer__nav a,
.footer__links a {
  color: var(--silver-dim);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav a:hover,
.footer__links a:hover { color: var(--gold-bright); }

.footer__links span { color: var(--silver-dim); }

.footer__copy {
  margin: 1.4rem 0 0;
  font-size: 0.78rem;
  color: var(--silver-dim);
}


/* ----- hero emblem wordmark ----- */
.hero-emblem {
  position: absolute;
  left: 72%;
  right: auto;
  top: 50%;
  width: min(46vw, 34rem);
  transform: translate(-50%, 13.8rem);
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.hero-emblem__fallback {
  display: none;
  width: min(100%, 22rem);
  margin: 0 auto 0.8rem;
}

html.no-webgl .hero-emblem {
  transform: translate(-50%, -42%);
}

html.no-webgl .hero-emblem__fallback {
  display: block;
}

.hero-emblem__word {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.05vw, 1.7rem);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  line-height: 1;
}

.ch-omni, .ch-a { color: #d4a650; }
.ch-verm {
  background: linear-gradient(90deg, #c5c7cb 0%, #e8e8ea 45%, #b4b6bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- custom cursor ----- */
.cursor {
  display: none;
}

@media (pointer: fine) and (min-width: 821px) {
  html.has-cursor, html.has-cursor * { cursor: none; }
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor select,
  html.has-cursor input *,
  html.has-cursor textarea * { cursor: text; }

  .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  html.has-cursor .cursor.is-on { opacity: 1; }

  .cursor__ring,
  .cursor__dot {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid rgba(212, 166, 80, 0.85);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s, background 0.25s;
  }
  .cursor__dot {
    width: 4px;
    height: 4px;
    background: #e8c878;
    box-shadow: 0 0 8px rgba(232, 200, 120, 0.7);
  }
  .cursor.is-hover .cursor__ring {
    width: 2.4rem;
    height: 2.4rem;
    border-color: #e8c878;
    background: rgba(212, 166, 80, 0.08);
  }
}

/* ----- motion ----- */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

html.js .reveal.is-in,
html.reduce-motion .reveal {
  opacity: 1;
  transform: none;
}

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


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .section__content::before,
  .pillar-card a,
  .field input,
  .field select,
  .field textarea {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 8, 8, 0.82);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .section__content::before,
  .pillar-card a {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 8, 8, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.16);
  }
  .field input,
  .field select,
  .field textarea {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.86);
  }
}

/* ----- responsive ----- */
@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .vignette {
    background:
      radial-gradient(ellipse at 72% 36%, rgba(212, 166, 80, 0.16) 0%, transparent 46%),
      radial-gradient(ellipse at 50% 48%, transparent 0%, rgba(0,0,0,0.22) 58%, rgba(0,0,0,0.72) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.1) 32%, rgba(0,0,0,0.42) 100%);
  }
}

@media (max-width: 820px) {
  .section__content::before {
    inset: -1.35rem -1.2rem -1.5rem -1.2rem;
    border-radius: 1.1rem;
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    background:
      linear-gradient(165deg, rgba(255, 248, 230, 0.08) 0%, rgba(8, 8, 8, 0.34) 48%, rgba(8, 8, 8, 0.46) 100%);
  }
  .pillar-card a {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a { font-size: 1rem; letter-spacing: 0.2em; }

  /* 2D monogram on top, then the glass panel, so phones see the logo clearly. */
  .section--hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: calc(var(--header-h) + 0.55rem);
    padding-bottom: 2rem;
  }
  .hero-emblem {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: min(56vw, 12.5rem);
    margin: 0.15rem auto 1.05rem;
    order: -1;
    z-index: 3;
  }
  .hero-emblem__fallback {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 0.45rem;
  }
  .hero-emblem__word {
    font-size: clamp(0.8rem, 3.5vw, 1.02rem);
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }
  .section--hero .section__content { width: min(var(--content), 100%); }
}

/* Keep the frosted hero panel from colliding with the 3D emblem at mid widths. */
@media (max-width: 1360px) and (min-width: 821px) {
  .section--hero .section__content::before {
    inset: -1.7rem 0 -2rem -2rem;
  }
  .hero-emblem {
    width: min(44vw, 32rem);
  }
}

@media (max-width: 640px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .headline--hero { font-size: clamp(1.5rem, 6.4vw, 1.95rem); }
  .headline--hero .line { white-space: nowrap; }
  .section--hero .section__content { width: min(var(--content), 100%); }
  .hero-emblem { width: min(58vw, 11.75rem); }
  .section { padding-bottom: 4.5rem; }
  .scroll-hint { display: none; }
}

@media (max-width: 380px) {
  .headline--hero { font-size: clamp(1.35rem, 6vw, 1.7rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .scroll-hint::after { animation: none; }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
  .cursor { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}
