:root {
  --black: #000000;
  --near-black: #050708;
  --surface: #0a0d0f;
  --surface-strong: #10161a;
  --panel: #111a20;
  --panel-light: #18252c;
  --line: rgba(236, 237, 238, 0.16);
  --line-strong: rgba(101, 239, 246, 0.4);
  --text: #ecedee;
  --text-soft: #c8d1d5;
  --muted: #8c989f;
  --cyan: #65eff6;
  --cyan-deep: #2fa9bc;
  --steel: #9da2a6;
  --steel-dark: #273a45;
  --white: #ffffff;
  --shadow-cyan: 0 0 32px rgba(101, 239, 246, 0.18);
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-height: 76px;
  padding: 0 5vw;
  color: var(--text);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(236, 237, 238, 0.08);
  backdrop-filter: blur(18px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-is-open {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: rgba(101, 239, 246, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 230px;
}

.nav-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  height: 44px;
  padding: 0.28rem 0.62rem;
  overflow: hidden;
  border-radius: 8px;
}

.brand .nav-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 38px;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.primary-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-nav a {
  padding: 0 0.8rem;
  color: var(--text-soft);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(101, 239, 246, 0.1);
}

.header-cta {
  padding: 0 1.1rem;
  color: var(--black);
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 8.5rem 5vw 4.5rem;
  overflow: hidden;
  color: var(--text);
  background: var(--black);
}

.hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-grid {
  pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(101, 239, 246, 0.24);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 3rem;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 900;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: 1.28rem;
}

.hero-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-logo-panel img {
  width: min(100%, 650px);
  filter: drop-shadow(0 0 32px rgba(101, 239, 246, 0.2));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--black);
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(236, 237, 238, 0.28);
  background: rgba(236, 237, 238, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(101, 239, 246, 0.58);
}

.signal-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.signal-list div {
  min-height: 118px;
  padding: 1.1rem;
  background: rgba(16, 22, 26, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.signal-list dt {
  margin-bottom: 0.3rem;
  color: var(--white);
  font-weight: 900;
}

.signal-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-shell {
  width: min(1120px, calc(100% - 10vw));
  margin: 0 auto;
}

.intro-section,
.services-section,
.process-section,
.fit-section,
.contact-section {
  padding: 6rem 0;
}

.intro-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 900;
}

.intro-copy {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.intro-copy p + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.services-section {
  background: var(--near-black);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 292px;
  padding: 1.35rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-panel);
}

.service-card:hover {
  border-color: rgba(101, 239, 246, 0.42);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  color: var(--black);
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 900;
}

.service-card:nth-child(2n) .service-icon {
  color: var(--white);
  background: var(--steel-dark);
  border: 1px solid rgba(157, 162, 166, 0.5);
}

.service-card:nth-child(3n) .service-icon {
  color: var(--black);
  background: var(--steel);
}

.service-card h3 {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.process-section {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.process-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.process-heading p:last-child {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.process-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 140px;
  padding: 1.3rem 1.3rem 1.3rem 4.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list li::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--black);
  background: var(--cyan);
  border-radius: 8px;
  counter-increment: process;
  content: counter(process);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(101, 239, 246, 0.16);
}

.process-list span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 900;
}

.process-list p {
  color: var(--muted);
}

.fit-section {
  background: var(--surface);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.fit-panel {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow-panel);
}

.fit-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text-soft);
}

.fit-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--cyan);
  border-radius: 2px;
  content: "";
  box-shadow: 0 0 16px rgba(101, 239, 246, 0.42);
}

.contact-section {
  background: var(--near-black);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.contact-copy {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.contact-copy .button {
  margin-top: 1.5rem;
}

.site-footer {
  padding: 1.4rem 0;
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-layout p {
  margin-bottom: 0;
}

.footer-layout a {
  color: var(--text);
  font-weight: 800;
}

.text-link {
  color: var(--white);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
}

.section-link-row {
  margin-top: 1.5rem;
}

.primary-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(101, 239, 246, 0.12);
}

.subpage {
  background: var(--black);
}

.page-hero {
  padding: 10rem 0 4rem;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(900px, 100%);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
}

.venture-grid {
  align-items: stretch;
}

.venture-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.venture-card-logo {
  width: auto;
}

.venture-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 238px;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.venture-card-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.venture-card-media-modern {
  background: #f7f3e8;
  border-color: rgba(212, 168, 74, 0.32);
  box-shadow: inset 0 0 0 1px rgba(2, 8, 23, 0.05);
}

.venture-card-media-modern img {
  max-height: 176px;
}

.venture-card-media-muse {
  background:
    radial-gradient(circle at 50% 24%, rgba(166, 124, 123, 0.24), transparent 11rem),
    #3e2f2f;
  border-color: rgba(220, 200, 179, 0.32);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 229, 0.05);
}

.venture-card-media-muse img {
  max-height: 162px;
}

.venture-card-media-loreloom {
  background:
    radial-gradient(circle at 70% 34%, rgba(200, 147, 47, 0.22), transparent 9rem),
    radial-gradient(circle at 28% 70%, rgba(123, 43, 125, 0.16), transparent 10rem),
    linear-gradient(135deg, #fff8ec 0%, #f4e6cf 100%);
  border-color: rgba(200, 147, 47, 0.38);
  box-shadow: inset 0 0 0 1px rgba(51, 19, 52, 0.05);
}

.venture-card-media-loreloom img {
  max-height: 164px;
  filter: drop-shadow(0 16px 24px rgba(51, 19, 52, 0.24));
}

.venture-card-copy {
  color: var(--text-soft);
}

.venture-card-status {
  color: var(--text-soft);
  font-weight: 800;
}

.venture-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.venture-card-logo-loreloom {
  width: min(100%, 360px);
  padding: 0.8rem;
  background:
    radial-gradient(circle at 76% 22%, rgba(200, 147, 47, 0.22), transparent 8rem),
    linear-gradient(135deg, #fff8ec, #f0dfc2);
  border: 1px solid rgba(200, 147, 47, 0.32);
  border-radius: 8px;
  filter: drop-shadow(0 16px 26px rgba(51, 19, 52, 0.24));
}

.venture-card-placeholder {
  justify-content: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-height: 220px;
  padding: 1.35rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-panel);
}

.project-card h3 {
  margin-bottom: 0.7rem;
  color: var(--white);
  font-size: 1.18rem;
}

.project-card p {
  color: var(--muted);
}

.project-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-process-section {
  padding: 6rem 0;
  background: var(--black);
}

.process-list-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-page-section {
  min-height: calc(100svh - 280px);
}

.modern-relic-page {
  --black: #020817;
  --near-black: #030917;
  --surface: #07101d;
  --surface-strong: #0b1421;
  --panel: #0f1825;
  --panel-light: #182433;
  --line: rgba(232, 237, 234, 0.16);
  --line-strong: rgba(212, 168, 74, 0.46);
  --text: #f7f3e8;
  --text-soft: #d8ddda;
  --muted: #a7b1ae;
  --cyan: #d4a84a;
  --cyan-deep: #97691b;
  --steel: #bdc3b1;
  --steel-dark: #3e5364;
  --shadow-cyan: 0 0 32px rgba(212, 168, 74, 0.2);
  background: var(--black);
}

.modern-relic-page .site-header.is-scrolled,
.modern-relic-page .site-header.nav-is-open {
  border-bottom-color: rgba(212, 168, 74, 0.32);
}

.modern-relic-page .nav-logo-wrap-modern {
  padding: 0.24rem 0.6rem;
  background: #f7f3e8;
  border: 1px solid rgba(212, 168, 74, 0.28);
  box-shadow: inset 0 0 0 1px rgba(2, 8, 23, 0.05);
}

.modern-relic-page .brand .nav-logo {
  max-height: 34px;
}

.modern-relic-page .primary-nav a:hover,
.modern-relic-page .primary-nav a:focus-visible,
.modern-relic-page .primary-nav a[aria-current="page"] {
  background: rgba(212, 168, 74, 0.12);
}

.modern-relic-hero {
  background: #020817;
}

.modern-relic-hero .hero-canvas {
  opacity: 0.28;
}

.modern-relic-hero .hero-grid {
  box-shadow: inset 0 -1px 0 rgba(212, 168, 74, 0.24);
}

.modern-relic-hero-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
}

.modern-relic-logo-plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 1.35rem;
  background: #f7f3e8;
  border: 1px solid rgba(212, 168, 74, 0.34);
  border-radius: 8px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.44),
    0 0 42px rgba(212, 168, 74, 0.1);
}

.modern-relic-logo-plaque img {
  width: min(100%, 640px);
}

.modern-relic-page .button-primary {
  color: #020817;
  background: #d4a84a;
  box-shadow: var(--shadow-cyan);
}

.modern-relic-page .button-secondary:hover,
.modern-relic-page .button-secondary:focus-visible {
  border-color: rgba(212, 168, 74, 0.58);
}

.modern-relic-page .signal-list div,
.modern-relic-page .service-card,
.modern-relic-page .process-list li,
.modern-relic-page .fit-panel {
  border-color: rgba(212, 168, 74, 0.22);
}

.modern-relic-page .service-card:hover {
  border-color: rgba(212, 168, 74, 0.48);
}

.modern-relic-page .service-card:nth-child(2n) .service-icon {
  color: var(--white);
  background: #3e5364;
  border-color: rgba(189, 195, 177, 0.5);
}

.modern-relic-page .service-card:nth-child(3n) .service-icon {
  color: #020817;
  background: #bdc3b1;
}

.modern-relic-intro {
  background: #07101d;
}

.modern-relic-fit {
  background: #07101d;
}

.muses-emporium-page {
  --muse-espresso: #3e2f2f;
  --muse-dusty-rose: #a67c7b;
  --muse-parchment: #f3ede5;
  --muse-warm-gold: #8e7b5c;
  --muse-linen: #dcc8b3;
  --black: var(--muse-espresso);
  --near-black: #2d2323;
  --surface: var(--muse-parchment);
  --surface-strong: #fbf7f0;
  --panel: #fffaf3;
  --panel-light: var(--muse-linen);
  --line: rgba(62, 47, 47, 0.18);
  --line-strong: rgba(142, 123, 92, 0.5);
  --text: var(--muse-espresso);
  --text-soft: #5f4c47;
  --muted: #745f56;
  --cyan: var(--muse-warm-gold);
  --cyan-deep: var(--muse-dusty-rose);
  --steel: var(--muse-linen);
  --steel-dark: #6b4f4c;
  --white: #fffaf3;
  --shadow-cyan: 0 0 32px rgba(142, 123, 92, 0.18);
  --shadow-panel: 0 24px 80px rgba(62, 47, 47, 0.16);
  color-scheme: light;
  color: var(--muse-espresso);
  background: var(--muse-parchment);
}

.muses-emporium-page .site-header {
  color: #f3ede5;
  background: rgba(62, 47, 47, 0.82);
  border-bottom-color: rgba(220, 200, 179, 0.2);
}

.muses-emporium-page .site-header.is-scrolled,
.muses-emporium-page .site-header.nav-is-open {
  background: rgba(62, 47, 47, 0.96);
  border-bottom-color: rgba(142, 123, 92, 0.52);
}

.muses-emporium-page .primary-nav a {
  color: rgba(243, 237, 229, 0.82);
}

.muses-emporium-page .primary-nav a:hover,
.muses-emporium-page .primary-nav a:focus-visible,
.muses-emporium-page .primary-nav a[aria-current="page"] {
  color: #fffaf3;
  background: rgba(220, 200, 179, 0.14);
}

.muses-emporium-page .header-cta {
  color: var(--muse-espresso);
  background: var(--muse-parchment);
  box-shadow: 0 0 32px rgba(220, 200, 179, 0.16);
}

.muses-emporium-page .nav-logo-wrap-muse {
  padding: 0;
  background: transparent;
  border: 0;
}

.muses-emporium-page .brand .nav-logo {
  width: 176px;
  max-width: 176px;
  max-height: 44px;
}

.muse-hero {
  color: var(--muse-espresso);
  background:
    radial-gradient(circle at 20% 18%, rgba(166, 124, 123, 0.24), transparent 34rem),
    linear-gradient(135deg, #fffaf3 0%, var(--muse-parchment) 52%, #e9d9c8 100%);
}

.muse-hero .hero-canvas {
  opacity: 0.18;
}

.muse-hero .hero-grid {
  background:
    linear-gradient(rgba(62, 47, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 47, 47, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  box-shadow: inset 0 -1px 0 rgba(142, 123, 92, 0.24);
}

.muse-hero h1,
.muse-hero .signal-list dt,
.muses-emporium-page h2,
.muses-emporium-page .service-card h3,
.muses-emporium-page .process-list span {
  color: var(--muse-espresso);
}

.muse-hero h1,
.muses-emporium-page h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.muse-hero .hero-lede,
.muse-hero .signal-list dd,
.muses-emporium-page .intro-copy,
.muses-emporium-page .process-heading p:last-child,
.muses-emporium-page .contact-copy {
  color: var(--text-soft);
}

.muses-emporium-page .eyebrow,
.muses-emporium-page .section-kicker,
.muses-emporium-page .project-label {
  color: var(--muse-dusty-rose);
  letter-spacing: 0.08em;
}

.muse-hero-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
}

.muse-logo-plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 1.15rem;
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid rgba(142, 123, 92, 0.34);
  border-radius: 8px;
  box-shadow:
    0 30px 90px rgba(62, 47, 47, 0.18),
    inset 0 0 0 1px rgba(255, 250, 243, 0.64);
}

.muse-logo-plaque img {
  width: min(100%, 640px);
}

.muses-emporium-page .button-primary {
  color: var(--muse-parchment);
  background: var(--muse-espresso);
  box-shadow: 0 18px 46px rgba(62, 47, 47, 0.2);
}

.muses-emporium-page .button-secondary {
  color: var(--muse-espresso);
  border-color: rgba(142, 123, 92, 0.5);
  background: rgba(255, 250, 243, 0.62);
}

.muses-emporium-page .button-secondary:hover,
.muses-emporium-page .button-secondary:focus-visible {
  border-color: rgba(166, 124, 123, 0.82);
}

.muses-emporium-page .signal-list div,
.muses-emporium-page .service-card,
.muses-emporium-page .process-list li,
.muses-emporium-page .fit-panel {
  background: rgba(255, 250, 243, 0.78);
  border-color: rgba(142, 123, 92, 0.26);
}

.muses-emporium-page .service-card:hover {
  border-color: rgba(166, 124, 123, 0.58);
}

.muses-emporium-page .service-card p,
.muses-emporium-page .process-list p {
  color: var(--muted);
}

.muses-emporium-page .service-icon,
.muses-emporium-page .process-list li::before {
  color: var(--muse-parchment);
  background: var(--muse-espresso);
  box-shadow: 0 0 22px rgba(62, 47, 47, 0.14);
}

.muses-emporium-page .service-card:nth-child(2n) .service-icon {
  color: var(--muse-espresso);
  background: var(--muse-linen);
  border-color: rgba(142, 123, 92, 0.5);
}

.muses-emporium-page .service-card:nth-child(3n) .service-icon {
  color: var(--muse-parchment);
  background: var(--muse-dusty-rose);
}

.muse-intro,
.muse-about {
  background:
    linear-gradient(135deg, rgba(220, 200, 179, 0.54), rgba(243, 237, 229, 0.94)),
    var(--muse-parchment);
}

.muses-emporium-page .services-section,
.muses-emporium-page .contact-section {
  background: #fffaf3;
}

.muse-process {
  background: var(--muse-espresso);
}

.muse-process h2,
.muse-process .section-kicker,
.muse-process .process-heading p:last-child {
  color: var(--muse-parchment);
}

.muse-process .process-list li {
  background: rgba(243, 237, 229, 0.96);
}

.muse-card-feature {
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(243, 237, 229, 0.95), rgba(220, 200, 179, 0.4)),
    var(--muse-parchment);
}

.muse-card-feature img {
  width: min(100%, 360px);
  margin-bottom: 1.2rem;
}

.muse-about-panel p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.muse-about-panel p + p,
.muse-about-panel .fit-list {
  margin-top: 1rem;
}

.muse-about-panel .button {
  margin-top: 1.6rem;
}

.muse-back-link {
  display: inline-block;
  margin-top: 1rem;
  margin-left: 1rem;
  color: var(--muse-espresso);
}

.muse-back-link:hover,
.muse-back-link:focus-visible,
.muses-emporium-page .text-link:hover,
.muses-emporium-page .text-link:focus-visible {
  color: var(--muse-dusty-rose);
}

.muse-footer-layout {
  align-items: center;
}

.muse-footer-layout img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.loreloom-page {
  --loreloom-plum: #331334;
  --loreloom-plum-bright: #7b2b7d;
  --loreloom-gold: #c8932f;
  --loreloom-parchment: #f6ead4;
  --loreloom-ink: #241325;
  --loreloom-brown: #76573a;
  --black: var(--loreloom-plum);
  --near-black: #2a102b;
  --surface: var(--loreloom-parchment);
  --surface-strong: #fff8ec;
  --panel: #fffaf1;
  --panel-light: #ead5b8;
  --line: rgba(51, 19, 52, 0.18);
  --line-strong: rgba(200, 147, 47, 0.52);
  --text: var(--loreloom-ink);
  --text-soft: #604660;
  --muted: #74576f;
  --cyan: var(--loreloom-gold);
  --cyan-deep: var(--loreloom-plum-bright);
  --steel: #ead5b8;
  --steel-dark: #5b315b;
  --white: #fffaf1;
  --shadow-cyan: 0 0 32px rgba(200, 147, 47, 0.18);
  --shadow-panel: 0 24px 80px rgba(51, 19, 52, 0.16);
  color-scheme: light;
  color: var(--loreloom-ink);
  background: var(--loreloom-parchment);
}

.loreloom-page .site-header {
  color: #fff8ec;
  background: rgba(51, 19, 52, 0.84);
  border-bottom-color: rgba(200, 147, 47, 0.22);
}

.loreloom-page .site-header.is-scrolled,
.loreloom-page .site-header.nav-is-open {
  background: rgba(51, 19, 52, 0.96);
  border-bottom-color: rgba(200, 147, 47, 0.52);
}

.loreloom-page .primary-nav a {
  color: rgba(255, 248, 236, 0.82);
}

.loreloom-page .primary-nav a:hover,
.loreloom-page .primary-nav a:focus-visible,
.loreloom-page .primary-nav a[aria-current="page"] {
  color: #fffaf1;
  background: rgba(200, 147, 47, 0.16);
}

.loreloom-page .header-cta {
  color: var(--loreloom-plum);
  background: var(--loreloom-gold);
  box-shadow: 0 0 32px rgba(200, 147, 47, 0.2);
}

.loreloom-page .nav-logo-wrap-loreloom {
  position: relative;
  width: 194px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 248, 236, 0.92);
  border: 1px solid rgba(200, 147, 47, 0.36);
}

.loreloom-page .brand .nav-logo {
  visibility: visible;
  display: block;
  position: absolute;
  top: -24px;
  left: 5px;
  width: auto;
  height: 110px;
  max-width: none;
  max-height: none;
}

.loreloom-hero {
  color: var(--loreloom-ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(123, 43, 125, 0.16), transparent 30rem),
    radial-gradient(circle at 78% 26%, rgba(200, 147, 47, 0.2), transparent 28rem),
    linear-gradient(135deg, #fffaf1 0%, var(--loreloom-parchment) 58%, #e9d2ae 100%);
}

.loreloom-hero h1,
.loreloom-page h2,
.loreloom-page .service-card h3,
.loreloom-page .process-list span {
  color: var(--loreloom-ink);
}

.loreloom-page h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
}

.loreloom-hero .hero-lede,
.loreloom-page .intro-copy,
.loreloom-page .process-heading p:last-child,
.loreloom-page .contact-copy {
  color: var(--text-soft);
}

.loreloom-page .eyebrow,
.loreloom-page .section-kicker,
.loreloom-page .project-label {
  color: var(--loreloom-plum-bright);
  letter-spacing: 0.08em;
}

.loreloom-page .button-primary {
  color: #fffaf1;
  background: var(--loreloom-plum);
  box-shadow: 0 18px 46px rgba(51, 19, 52, 0.22);
}

.loreloom-page .button-secondary {
  color: var(--loreloom-plum);
  border-color: rgba(200, 147, 47, 0.54);
  background: rgba(255, 250, 241, 0.62);
}

.loreloom-page .button-secondary:hover,
.loreloom-page .button-secondary:focus-visible {
  border-color: rgba(123, 43, 125, 0.72);
}

.loreloom-page .signal-list div,
.loreloom-page .service-card,
.loreloom-page .process-list li,
.loreloom-page .fit-panel {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.88), rgba(246, 234, 212, 0.72)),
    var(--panel);
  border-color: rgba(200, 147, 47, 0.28);
}

.loreloom-page .service-card:hover {
  border-color: rgba(123, 43, 125, 0.5);
}

.loreloom-page .service-card p,
.loreloom-page .process-list p {
  color: var(--muted);
}

.loreloom-page .service-icon,
.loreloom-page .process-list li::before {
  color: #fffaf1;
  background: var(--loreloom-plum);
  box-shadow: 0 0 22px rgba(51, 19, 52, 0.14);
}

.loreloom-page .service-card:nth-child(2n) .service-icon {
  color: var(--loreloom-plum);
  background: var(--loreloom-gold);
  border-color: rgba(51, 19, 52, 0.24);
}

.loreloom-page .service-card:nth-child(3n) .service-icon {
  color: #fffaf1;
  background: var(--loreloom-plum-bright);
}

.loreloom-intro,
.loreloom-beliefs {
  background:
    radial-gradient(circle at 86% 14%, rgba(200, 147, 47, 0.16), transparent 20rem),
    linear-gradient(135deg, rgba(234, 213, 184, 0.52), rgba(246, 234, 212, 0.94)),
    var(--loreloom-parchment);
}

.loreloom-page .services-section,
.loreloom-page .contact-section {
  background: #fffaf1;
}

.loreloom-process {
  background:
    radial-gradient(circle at 16% 20%, rgba(123, 43, 125, 0.28), transparent 26rem),
    var(--loreloom-plum);
}

.loreloom-process h2,
.loreloom-process .section-kicker,
.loreloom-process .process-heading p:last-child {
  color: var(--loreloom-parchment);
}

.loreloom-process .process-list li {
  background: rgba(255, 250, 241, 0.96);
}

.loreloom-card-feature {
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 147, 47, 0.24), transparent 10rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.95), rgba(234, 213, 184, 0.5)),
    var(--loreloom-parchment);
}

.loreloom-beliefs-panel .fit-list li::before {
  background: var(--loreloom-gold);
  box-shadow: 0 0 16px rgba(200, 147, 47, 0.38);
}

.loreloom-beta .hero-actions {
  margin-top: 1.5rem;
}

.loreloom-back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--loreloom-plum);
}

.loreloom-back-link:hover,
.loreloom-back-link:focus-visible,
.loreloom-page .text-link:hover,
.loreloom-page .text-link:focus-visible {
  color: var(--loreloom-plum-bright);
}

.loreloom-footer-layout {
  align-items: center;
}

.loreloom-footer-layout img {
  width: 96px;
  height: 54px;
  object-fit: contain;
  padding: 0.2rem 0.3rem;
  background: #fffaf1;
  border: 1px solid rgba(200, 147, 47, 0.28);
  border-radius: 8px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand img {
    width: 210px;
  }

  .brand .nav-logo {
    max-width: 190px;
    max-height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-is-open {
    align-items: start;
    grid-template-columns: 1fr auto;
    min-height: 100svh;
    padding-top: 1rem;
  }

  .site-header.nav-is-open .primary-nav,
  .site-header.nav-is-open .header-cta {
    display: flex;
  }

  .site-header.nav-is-open .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-top: 2rem;
  }

  .site-header.nav-is-open .primary-nav a {
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 0.8rem;
    font-size: 1.35rem;
  }

  .site-header.nav-is-open .header-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-top: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-logo-panel {
    order: -1;
    justify-content: flex-start;
  }

  .hero-logo-panel img {
    width: min(100%, 520px);
  }

  .modern-relic-logo-plaque {
    order: -1;
    width: min(100%, 720px);
    justify-content: flex-start;
  }

  .muse-logo-plaque {
    order: -1;
    width: min(100%, 720px);
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 3.9rem;
  }

  .page-hero h1 {
    font-size: 3.3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .intro-grid,
  .process-layout,
  .fit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-grid,
  .process-list-compact {
    grid-template-columns: 1fr;
  }

  .process-heading {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-logo-panel img {
    width: min(100%, 380px);
  }

  .modern-relic-logo-plaque img,
  .muse-logo-plaque img {
    max-height: 260px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 0 1rem;
  }

  .brand img {
    width: 180px;
  }

  .nav-logo-wrap {
    max-width: 190px;
    height: 40px;
    padding: 0.24rem 0.5rem;
  }

  .loreloom-page .nav-logo-wrap-loreloom {
    width: 168px;
    height: 42px;
    padding: 0;
  }

  .loreloom-page .brand .nav-logo {
    top: -20px;
    left: 4px;
    height: 96px;
  }

  .brand .nav-logo {
    max-width: 170px;
    max-height: 32px;
  }

  .hero {
    padding: 6.4rem 1rem 3.3rem;
  }

  .hero-canvas {
    opacity: 0.34;
  }

  .hero h1 {
    font-size: 2.7rem;
    line-height: 1;
  }

  .page-hero {
    padding: 8rem 0 3rem;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-logo-panel img {
    width: min(100%, 340px);
  }

  .modern-relic-logo-plaque img {
    max-height: 220px;
  }

  .muse-logo-plaque img {
    max-height: 220px;
  }

  .modern-relic-logo-plaque,
  .muse-logo-plaque {
    padding: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .section-shell {
    width: calc(100% - 2rem);
  }

  .intro-section,
  .services-section,
  .process-section,
  .fit-section,
  .contact-section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 2.05rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .venture-card-media {
    min-height: 192px;
    padding: 0.9rem;
  }

  .venture-card-media img {
    max-height: 136px;
  }

  .venture-card-media-modern img {
    max-height: 126px;
  }

  .venture-card-media-muse img {
    max-height: 120px;
  }

  .venture-card-media-loreloom img {
    max-height: 118px;
  }

  .service-card {
    min-height: 0;
  }

  .process-list li {
    padding: 4.7rem 1rem 1.1rem;
  }

  .process-list li::before {
    left: 1rem;
  }

  .fit-panel {
    padding: 1.25rem;
  }

  .footer-layout {
    flex-direction: column;
  }

  .muse-back-link {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === LoreLoom private-alpha hero (redesign) ===================== */

.loreloom-page {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
}

.loreloom-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(123, 43, 125, 0.10), transparent 55%),
    radial-gradient(100% 80% at 92% 96%, rgba(200, 147, 47, 0.12), transparent 55%),
    radial-gradient(60% 50% at 78% 18%, rgba(140, 74, 63, 0.06), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}

.loreloom-hero {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(123, 43, 125, 0.10), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(200, 147, 47, 0.12), transparent 60%),
    linear-gradient(180deg, #eddfc3 0%, var(--loreloom-parchment) 100%);
}

.loreloom-hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
}

.loreloom-hero-copy {
  position: relative;
  max-width: 620px;
}

.loreloom-hero .loreloom-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--loreloom-plum);
  background: rgba(90, 49, 73, 0.07);
  border: 1px solid rgba(90, 49, 73, 0.22);
  border-radius: 2px;
}

.loreloom-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--loreloom-gold);
  box-shadow: 0 0 0 3px rgba(200, 147, 47, 0.25);
}

.loreloom-hero h1 {
  max-width: none;
  margin-top: 1.4rem;
  margin-bottom: 0;
  color: var(--loreloom-ink);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.loreloom-hero .loreloom-em {
  position: relative;
  white-space: nowrap;
  color: var(--loreloom-plum-bright);
  font-style: italic;
}

.loreloom-hero .loreloom-em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.34em;
  background:
    no-repeat center/100% 100%
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'><path d='M2 7 C 40 2, 70 11, 110 6 S 180 3, 198 8' fill='none' stroke='%23c8932f' stroke-width='2.4' stroke-linecap='round'/></svg>");
  opacity: 0.85;
}

.loreloom-hero .loreloom-sub {
  max-width: 30em;
  margin-top: 1.6rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.62;
}

.loreloom-hero .loreloom-sub b {
  color: var(--loreloom-ink);
  font-weight: 500;
}

.loreloom-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.loreloom-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.loreloom-trust-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c3b18a;
}

.loreloom-margin-note {
  font-family: "Caveat", cursive;
  font-size: 1.32rem;
  line-height: 1.15;
  color: #8c4a3f;
  pointer-events: none;
}

.loreloom-mn-1 {
  position: absolute;
  top: -0.4rem;
  right: -1.4rem;
  width: 9.4rem;
  transform: rotate(4deg);
  text-align: left;
}

/* The loom: warp + branching weft + pinned fragments */
.loreloom-loom {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 5.6;
  justify-self: end;
}

.loreloom-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loreloom-frag {
  position: absolute;
  width: 11.75rem;
  padding: 0.7rem 0.9rem 0.75rem;
  background: #f3ead2;
  border: 1px solid #c3b18a;
  border-radius: 3px;
  box-shadow: 2px 4px 12px rgba(36, 31, 26, 0.16);
  transform-origin: left center;
}

.loreloom-frag::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--loreloom-gold);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.loreloom-frag-kind {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--loreloom-gold);
  font-family: "Spectral", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.loreloom-frag-txt {
  color: var(--loreloom-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.25;
}

.loreloom-f1 { left: 46%; top:  4%; transform: rotate(-2.4deg); --r: -2.4deg; }
.loreloom-f2 { left: 54%; top: 31%; transform: rotate(1.8deg);  --r:  1.8deg; }
.loreloom-f3 { left: 44%; top: 58%; transform: rotate(-1.4deg); --r: -1.4deg; }
.loreloom-f4 { left: 50%; top: 83%; transform: rotate(2.2deg);  --r:  2.2deg; }

.loreloom-loom-note {
  position: absolute;
  left: -4%;
  bottom: 40%;
  font-family: "Caveat", cursive;
  font-size: 1.16rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.85;
  transform: rotate(-90deg);
  transform-origin: left;
}

/* Thread draw-in */
.loreloom-thread {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: loreloom-draw 1.5s ease forwards;
}
.loreloom-t2 { animation-delay: 0.18s; }
.loreloom-t3 { animation-delay: 0.34s; }
.loreloom-t4 { animation-delay: 0.5s; }
@keyframes loreloom-draw { to { stroke-dashoffset: 0; } }

/* Fragment settle-in */
.loreloom-frag {
  opacity: 0;
  animation: loreloom-settle 0.7s ease forwards;
}
.loreloom-f1 { animation-delay: 0.55s; }
.loreloom-f2 { animation-delay: 0.72s; }
.loreloom-f3 { animation-delay: 0.88s; }
.loreloom-f4 { animation-delay: 1.04s; }
@keyframes loreloom-settle {
  from { opacity: 0; transform: translateY(10px) rotate(var(--r, 0deg)); }
  to   { opacity: 1; }
}

/* Copy rise-in */
.loreloom-hero-copy > * {
  opacity: 0;
  animation: loreloom-rise 0.8s ease forwards;
}
.loreloom-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.loreloom-hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.loreloom-hero-copy > *:nth-child(3) { animation-delay: 0.27s; }
.loreloom-hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.loreloom-hero-copy > *:nth-child(5) { animation-delay: 0.49s; }
@keyframes loreloom-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons: warmer, on-brand override */
.loreloom-page .button {
  min-height: 0;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  font-family: "Spectral", Georgia, serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.loreloom-page .button-primary {
  color: #f6ecd6;
  background: var(--loreloom-plum);
  border: 1px solid #3f2233;
  box-shadow:
    0 2px 0 #3f2233,
    3px 5px 14px rgba(63, 34, 51, 0.28);
}

.loreloom-page .button-primary:hover,
.loreloom-page .button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 4px 0 #3f2233,
    4px 8px 20px rgba(63, 34, 51, 0.32);
}

.loreloom-page .button-secondary {
  color: var(--loreloom-ink);
  background: transparent;
  border-color: #c3b18a;
}

.loreloom-page .button-secondary:hover,
.loreloom-page .button-secondary:focus-visible {
  color: var(--loreloom-plum);
  background: rgba(200, 147, 47, 0.10);
  border-color: var(--loreloom-gold);
}

/* Body fonts everywhere on LoreLoom page */
.loreloom-page h2,
.loreloom-page .service-card h3,
.loreloom-page .process-list span {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
}

@media (max-width: 1060px) {
  .loreloom-hero-inner {
    grid-template-columns: 1fr;
  }
  .loreloom-loom {
    order: -1;
    margin: 0 auto;
    max-width: 26rem;
    justify-self: center;
  }
  .loreloom-mn-1 { right: 0; }
}

@media (max-width: 680px) {
  .loreloom-loom { max-width: 22rem; }
  .loreloom-frag { width: 10.5rem; }
  .loreloom-loom-note { font-size: 1rem; }
  .loreloom-mn-1 {
    position: static;
    display: block;
    margin-top: 0.4rem;
    transform: rotate(2deg);
  }
}

.loreloom-platform-aside .text-link,
.loreloom-support-aside .text-link,
.loreloom-download-tip .text-link {
  color: var(--loreloom-plum);
  border-bottom: 1px solid rgba(200, 147, 47, 0.6);
}

.loreloom-platform-aside .text-link:hover,
.loreloom-platform-aside .text-link:focus-visible,
.loreloom-support-aside .text-link:hover,
.loreloom-support-aside .text-link:focus-visible,
.loreloom-download-tip .text-link:hover,
.loreloom-download-tip .text-link:focus-visible {
  color: var(--loreloom-plum-bright);
  border-bottom-color: var(--loreloom-plum-bright);
}

.loreloom-download-tip {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.loreloom-support-aside {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* === LoreLoom hero downloads (alpha) ============================ */

.loreloom-downloads {
  margin-top: 2rem;
}

.loreloom-dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.loreloom-page .loreloom-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  min-height: 0;
  text-align: left;
  font-family: "Spectral", Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 4px;
}

.loreloom-dl-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
}

.loreloom-dl-label {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.loreloom-dl-platform {
  font-size: 1.02rem;
  font-weight: 600;
}

.loreloom-dl-meta {
  margin-top: 0.18rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

/* Default (no OS detected yet, or "other") — both look equal:
   muted-primary plum frame so neither feels demoted. */
.loreloom-page .loreloom-dl {
  color: var(--loreloom-plum);
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(123, 43, 125, 0.32);
  box-shadow: 0 2px 0 rgba(63, 34, 51, 0.16);
}

.loreloom-page .loreloom-dl:hover,
.loreloom-page .loreloom-dl:focus-visible {
  transform: translateY(-2px);
  border-color: var(--loreloom-plum);
  background: rgba(255, 250, 241, 0.95);
  box-shadow:
    0 4px 0 rgba(63, 34, 51, 0.22),
    4px 8px 20px rgba(63, 34, 51, 0.18);
}

/* OS-detected: matching button gets the full plum primary lift.
   Other button quiets down to a ghost. */
.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="mac"],
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="windows"] {
  color: #f6ecd6;
  background: var(--loreloom-plum);
  border-color: #3f2233;
  box-shadow:
    0 2px 0 #3f2233,
    3px 5px 14px rgba(63, 34, 51, 0.28);
}

.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="mac"]:hover,
.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="mac"]:focus-visible,
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="windows"]:hover,
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="windows"]:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 4px 0 #3f2233,
    4px 8px 20px rgba(63, 34, 51, 0.32);
}

.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="windows"],
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="mac"] {
  color: var(--loreloom-ink);
  background: transparent;
  border-color: #c3b18a;
  box-shadow: none;
}

.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="windows"]:hover,
.loreloom-downloads[data-os="mac"] .loreloom-dl[data-os-target="windows"]:focus-visible,
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="mac"]:hover,
.loreloom-downloads[data-os="windows"] .loreloom-dl[data-os-target="mac"]:focus-visible {
  color: var(--loreloom-plum);
  border-color: var(--loreloom-gold);
  background: rgba(200, 147, 47, 0.10);
}

/* Install notes (<details>) */
.loreloom-install-notes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.loreloom-install {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(195, 177, 138, 0.7);
  border-radius: 4px;
  overflow: hidden;
}

.loreloom-install > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  list-style: none;
  font-family: "Spectral", Georgia, serif;
  font-size: 0.95rem;
  color: var(--loreloom-ink);
  user-select: none;
}

.loreloom-install > summary::-webkit-details-marker {
  display: none;
}

.loreloom-install > summary::after {
  content: "+";
  margin-left: auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--loreloom-plum);
  transition: transform 200ms ease;
}

.loreloom-install[open] > summary::after {
  content: "\2212"; /* minus sign */
}

.loreloom-install:hover > summary,
.loreloom-install > summary:focus-visible {
  background: rgba(200, 147, 47, 0.08);
}

.loreloom-install-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  font-family: "Spectral", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--loreloom-plum);
  background: rgba(123, 43, 125, 0.08);
  border: 1px solid rgba(123, 43, 125, 0.22);
  border-radius: 2px;
}

.loreloom-install-body {
  padding: 0.2rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
  border-top: 1px solid rgba(195, 177, 138, 0.45);
}

.loreloom-install-body p {
  margin-top: 0.7rem;
  margin-bottom: 0;
}

.loreloom-install-body p:first-child {
  margin-top: 0.9rem;
}

.loreloom-install-head {
  margin-top: 1.1rem !important;
  color: var(--loreloom-ink);
}

.loreloom-install-body ol {
  margin: 0.6rem 0 0;
  padding-left: 1.3rem;
}

.loreloom-install-body ol li {
  margin-top: 0.35rem;
}

.loreloom-install-body strong {
  color: var(--loreloom-ink);
  font-weight: 600;
}

.loreloom-install-body code {
  padding: 0.05rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: var(--loreloom-plum);
  background: rgba(123, 43, 125, 0.08);
  border: 1px solid rgba(123, 43, 125, 0.18);
  border-radius: 3px;
}

.loreloom-install-body pre {
  margin: 0.6rem 0 0;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  background: rgba(51, 19, 52, 0.92);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(200, 147, 47, 0.2);
}

.loreloom-install-body pre code {
  padding: 0;
  font-size: 0.88rem;
  color: #f4e6c5;
  background: transparent;
  border: 0;
}

.loreloom-platform-aside {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

@media (max-width: 680px) {
  .loreloom-dl-buttons {
    flex-direction: column;
  }
  .loreloom-page .loreloom-dl {
    width: 100%;
    justify-content: flex-start;
  }
}

/* === Modern Relic redesign ====================================== */

.modern-relic-page {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.modern-relic-page h1,
.modern-relic-page h2,
.modern-relic-page h3,
.modern-relic-page .service-card h3,
.modern-relic-page .process-list span:not(.modern-relic-step-num) {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.modern-relic-page .eyebrow,
.modern-relic-page .section-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--cyan);
}

/* Hero: midnight w/ grain + drafting grid, no canvas */
.modern-relic-hero {
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(212, 168, 74, 0.18), transparent 55%),
    radial-gradient(80% 60% at 8% 100%, rgba(62, 83, 100, 0.32), transparent 60%),
    linear-gradient(180deg, #060d1c 0%, #020817 100%);
  overflow: hidden;
}

.modern-relic-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(212, 168, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 74, 0.05) 1px, transparent 1px),
    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 0.83 0 0 0 0 0.66 0 0 0 0 0.29 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 56px 56px, 56px 56px, 160px 160px;
  mix-blend-mode: screen;
}

.modern-relic-hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 3rem;
}

.modern-relic-hero-copy {
  position: relative;
  max-width: 620px;
}

.modern-relic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 0;
  border: 1px solid rgba(212, 168, 74, 0.42);
  border-radius: 1px;
  background: rgba(212, 168, 74, 0.07);
}

.modern-relic-eyebrow-mark {
  color: var(--cyan);
  font-size: 0.95rem;
  line-height: 1;
}

.modern-relic-hero h1 {
  margin: 1.6rem 0 0;
  max-width: none;
  color: #f7f3e8;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.modern-relic-em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--cyan);
}

.modern-relic-sub {
  margin-top: 1.5rem;
  margin-bottom: 0;
  max-width: 32em;
  color: var(--text-soft);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
}

.modern-relic-actions {
  margin-top: 2rem;
  gap: 1rem;
}

.modern-relic-page .button {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: 2px;
}

.modern-relic-page .button-primary {
  color: #020817;
  background: #d4a84a;
  border: 1px solid #d4a84a;
  box-shadow: 0 2px 0 #97691b, 3px 5px 18px rgba(212, 168, 74, 0.28);
}

.modern-relic-page .button-primary:hover,
.modern-relic-page .button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #97691b, 4px 8px 22px rgba(212, 168, 74, 0.36);
}

.modern-relic-page .button-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(212, 168, 74, 0.4);
}

.modern-relic-page .button-secondary:hover,
.modern-relic-page .button-secondary:focus-visible {
  color: #f7f3e8;
  border-color: var(--cyan);
  background: rgba(212, 168, 74, 0.08);
}

.modern-relic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-top: 1.75rem;
  margin-bottom: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.modern-relic-meta-sep {
  color: rgba(212, 168, 74, 0.55);
}

.modern-relic-meta-pipe {
  margin: 0 0.4rem;
  color: rgba(212, 168, 74, 0.3);
}

/* Display case (vitrine) */
.modern-relic-display {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  padding: 1.4rem 1.4rem 0;
}

.modern-relic-tag {
  position: absolute;
  top: -0.4rem;
  right: 0;
  padding: 0.32rem 0.6rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4a84a;
  background: rgba(2, 8, 23, 0.92);
  border: 1px solid rgba(212, 168, 74, 0.55);
  border-radius: 1px;
}

.modern-relic-vitrine {
  position: relative;
  padding: 1.2rem 1.6rem 1.4rem;
  background:
    radial-gradient(circle at 50% 8%, rgba(212, 168, 74, 0.15), transparent 60%),
    linear-gradient(180deg, #f7f3e8 0%, #eee5cf 100%);
  border: 1px solid rgba(212, 168, 74, 0.6);
  border-radius: 2px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(151, 105, 27, 0.18);
}

.modern-relic-vitrine::before,
.modern-relic-vitrine::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(212, 168, 74, 0.7);
  background: rgba(247, 243, 232, 0.9);
}

.modern-relic-vitrine::before {
  top: 6px;
  left: 6px;
  border-right: 0;
  border-bottom: 0;
}

.modern-relic-vitrine::after {
  bottom: 6px;
  right: 6px;
  border-left: 0;
  border-top: 0;
}

.modern-relic-bust {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(2, 8, 23, 0.22));
}

.modern-relic-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -0.45rem;
  padding: 0.55rem 0.8rem 0.6rem;
  background:
    linear-gradient(180deg, #d4a84a 0%, #c19531 55%, #97691b 100%);
  border: 1px solid #5e3f0b;
  border-radius: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 215, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.modern-relic-plate-title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  color: #1a1004;
  text-shadow: 0 1px 0 rgba(255, 245, 215, 0.35);
}

.modern-relic-plate-sub {
  margin-top: 0.18rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3b2706;
}

/* Dimension callouts */
.modern-relic-dim {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(212, 168, 74, 0.85);
  white-space: nowrap;
  pointer-events: none;
}

.modern-relic-dim-line {
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  background: rgba(212, 168, 74, 0.55);
  position: relative;
}

.modern-relic-dim-line::before,
.modern-relic-dim-line::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 1px;
  height: 5px;
  background: rgba(212, 168, 74, 0.7);
}

.modern-relic-dim-line::before { left: 0; }
.modern-relic-dim-line::after { right: 0; }

.modern-relic-dim-h {
  top: 38%;
  right: -3.4rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
}

.modern-relic-dim-w {
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Studio note section (parchment) */
.modern-relic-studio {
  position: relative;
  padding: 6rem 0 5.5rem;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(212, 168, 74, 0.16), transparent 55%),
    linear-gradient(180deg, #f4ecd5 0%, #ebdfbe 100%);
  color: #2a1f0c;
}

.modern-relic-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.24 0 0 0 0 0.08 0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.42;
}

.modern-relic-studio-shell {
  position: relative;
  max-width: 760px;
}

.modern-relic-kicker {
  color: var(--cyan-deep);
}

.modern-relic-kicker-light {
  color: var(--cyan);
}

.modern-relic-studio h2 {
  margin-top: 0.7rem;
  color: #1a1004;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: 0.02em;
}

.modern-relic-studio-body {
  margin-top: 1.6rem;
  font-size: 1.18rem;
  line-height: 1.7;
  color: #3a2c14;
}

.modern-relic-studio-body p + p {
  margin-top: 1.1rem;
}

.modern-relic-studio-body i {
  color: var(--cyan-deep);
  font-weight: 500;
}

/* Three kinds of work (dark) */
.modern-relic-types {
  background: linear-gradient(180deg, #020817 0%, #050e1f 100%);
}

.modern-relic-types h2 {
  color: #f7f3e8;
}

.modern-relic-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.modern-relic-page .modern-relic-card {
  position: relative;
  padding: 2.4rem 1.6rem 1.6rem;
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.02) 0%, rgba(212, 168, 74, 0.05) 100%),
    #0a1322;
  border: 1px solid rgba(212, 168, 74, 0.28);
}

.modern-relic-page .modern-relic-card:hover {
  border-color: rgba(212, 168, 74, 0.6);
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.04) 0%, rgba(212, 168, 74, 0.08) 100%),
    #0c1626;
}

.modern-relic-numeral {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cyan);
  opacity: 0.55;
}

.modern-relic-page .modern-relic-card h3 {
  margin: 0;
  color: #f7f3e8;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.modern-relic-page .modern-relic-card p {
  margin-top: 0.8rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Hide the legacy auto-numbered icon on these cards */
.modern-relic-page .modern-relic-card .service-icon {
  display: none;
}

/* Process (parchment, journal-style) */
.modern-relic-process {
  position: relative;
  padding: 6rem 0 5.5rem;
  background:
    radial-gradient(120% 70% at 12% 10%, rgba(212, 168, 74, 0.14), transparent 55%),
    linear-gradient(180deg, #ebdfbe 0%, #e0d2a6 100%);
  color: #2a1f0c;
}

.modern-relic-process h2,
.modern-relic-process .process-heading p:last-child {
  color: #1a1004;
}

.modern-relic-process h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.modern-relic-process .process-heading p:last-child {
  color: #4a3919;
  font-style: italic;
  font-size: 1.08rem;
}

.modern-relic-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-relic-process-list li {
  position: relative;
  padding: 1.5rem 1.5rem 1.4rem 4.5rem;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(151, 105, 27, 0.28);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(151, 105, 27, 0.16);
}

/* Suppress base process-list ::before counter — we're using our own numerals */
.modern-relic-process-list li::before {
  display: none;
}

.modern-relic-step-num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  background: linear-gradient(180deg, #d4a84a 0%, #b78b30 55%, #97691b 100%);
  border: 1px solid #5e3f0b;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 215, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(151, 105, 27, 0.35);
}

/* Pseudo-element gives pixel-perfect geometric centering — bypasses
   all font-metric quirks that flex/grid centering can't compensate for. */
.modern-relic-step-num::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
  color: #f7f3e8;
}

.modern-relic-process-list li span:not(.modern-relic-step-num) {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  color: #1a1004;
  text-transform: uppercase;
}

.modern-relic-process-list li p {
  margin-top: 0.45rem;
  color: #4a3919;
  font-size: 1rem;
  line-height: 1.55;
}

/* Fit list (dark) */
.modern-relic-fit {
  background: linear-gradient(180deg, #050e1f 0%, #020817 100%);
}

.modern-relic-fit h2 {
  color: #f7f3e8;
  font-family: "Cinzel", serif;
}

.modern-relic-page .modern-relic-fit-panel {
  padding: 2rem 2.2rem;
  background: rgba(212, 168, 74, 0.05);
  border: 1px solid rgba(212, 168, 74, 0.28);
}

.modern-relic-fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-relic-fit-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.8rem;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--text-soft);
  border-bottom: 1px dashed rgba(212, 168, 74, 0.18);
}

.modern-relic-fit-list li:last-child {
  border-bottom: 0;
}

.modern-relic-fit-list li::before {
  content: "\2756";
  position: absolute;
  left: 0;
  top: 0.85rem;
  color: var(--cyan);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Contact (parchment) */
.modern-relic-contact {
  position: relative;
  padding: 6rem 0;
  background:
    radial-gradient(120% 70% at 88% 90%, rgba(212, 168, 74, 0.18), transparent 55%),
    linear-gradient(180deg, #e0d2a6 0%, #d6c389 100%);
  color: #2a1f0c;
}

.modern-relic-contact h2 {
  color: #1a1004;
  font-family: "Cinzel", serif;
  font-weight: 500;
}

.modern-relic-contact .contact-copy p {
  color: #4a3919;
  font-size: 1.12rem;
  line-height: 1.6;
}

.modern-relic-contact-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-top: 1.4rem;
  margin-bottom: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #5b4516;
}

.modern-relic-contact-aside .modern-relic-meta-sep {
  color: rgba(151, 105, 27, 0.45);
}

.modern-relic-back-link {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--cyan-deep);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(151, 105, 27, 0.45);
  padding-bottom: 2px;
}

.modern-relic-back-link:hover,
.modern-relic-back-link:focus-visible {
  color: #1a1004;
  border-bottom-color: #1a1004;
}

/* Header CTA - inherit modern-relic styling but tune for the page */
.modern-relic-page .header-cta {
  color: #020817;
  background: var(--cyan);
  font-family: "Cinzel", serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: 0 0 32px rgba(212, 168, 74, 0.2);
}

/* Responsive */
@media (max-width: 980px) {
  .modern-relic-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .modern-relic-display {
    margin: 0 auto;
    justify-self: center;
    order: -1;
    max-width: 320px;
  }

  .modern-relic-dim-h {
    display: none;
  }

  .modern-relic-type-grid {
    grid-template-columns: 1fr;
  }

  .modern-relic-process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .modern-relic-studio,
  .modern-relic-process,
  .modern-relic-contact {
    padding: 4rem 0;
  }

  .modern-relic-process-list li {
    padding: 1.3rem 1.2rem 1.2rem 3.8rem;
  }

  .modern-relic-step-num {
    top: 1.1rem;
    left: 1rem;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.9rem;
  }
}
