/* Layout: a night over Giza. A luminous lapis sky of stars runs behind every page, darkening hard at the edges.
   The hero is a gate of lotus columns where a colossal split sphinx watches over a moonlit pyramid horizon.
   Headings are carved capitals; sections are open editorial typography divided by hieroglyph friezes.
   Boxes are reserved for things that are objects: stelae, the inquiry form, the publication file. */
:root {
  --night-0: #050a1c;      /* zenith */
  --night-1: #0a1432;      /* lapis night */
  --night-2: #132048;      /* horizon blue */
  --night-3: #1c2957;      /* lit horizon */
  --abyss: #02040c;        /* the dark at the edge of the frame */
  --platinum: #e8e7e3;     /* polished platinum — the man */
  --platinum-hi: #ffffff;
  --titanium: #a2abbd;     /* satin platinum — the lion */
  --text: #e9ecf3;
  --muted: #b0b9cc;
  --line: rgba(214, 222, 240, 0.18);
  --line-hi: rgba(232, 231, 227, 0.4);

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-caps: "Cinzel", "Trajan Pro", "Cormorant Garamond", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --s-1: 0.8125rem; --s0: 1.0625rem; --s1: 1.25rem; --s2: 1.5rem; --s3: 2.25rem; --s4: clamp(2rem, 4.2vw, 3.1rem); --s5: clamp(2.5rem, 6.6vw, 5.6rem);
  --wrap: 1200px;
  --logo: url("logo.png");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night-1);
  background-image: linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 40%, var(--night-2) 80%, var(--night-3) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--s0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night-0); }

/* the sky: canvas stars + milky way, fixed behind everything, with a hard vignette */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__milkyway {
  position: absolute; left: -20%; right: -20%; top: 6%; height: 50%;
  background:
    radial-gradient(40% 30% at 30% 50%, rgba(190, 205, 240, 0.17), transparent 70%),
    radial-gradient(30% 22% at 62% 46%, rgba(220, 210, 240, 0.13), transparent 70%),
    radial-gradient(50% 40% at 50% 50%, rgba(120, 150, 220, 0.13), transparent 70%);
  transform: rotate(-14deg); filter: blur(10px);
}
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(2, 4, 12, 0.55) 80%, rgba(2, 4, 12, 0.85) 100%); }

a { color: var(--platinum); text-decoration-color: var(--line-hi); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--platinum-hi); text-decoration-color: var(--platinum); }
:focus-visible { outline: 2px solid var(--platinum); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* type: carved capitals for headings, a scholar's italic for the voice */
h1, h2, h3 { font-weight: 400; color: var(--platinum-hi); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-caps); letter-spacing: 0.035em; line-height: 1.08; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 214, 245, 0.18); }
h1 { font-size: var(--s5); }
h2 { font-size: var(--s4); }
h3 { font-family: var(--f-display); font-size: var(--s2); line-height: 1.12; }
h1 em, h2 em { font-family: var(--f-display); font-style: italic; font-weight: 300; letter-spacing: 0; text-transform: none; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { font-family: var(--f-caps); font-size: var(--s-1); letter-spacing: 0.32em; text-transform: uppercase; color: var(--titanium); }
.lede { font-size: var(--s1); color: var(--text); max-width: 60ch; line-height: 1.65; }
.muted { color: var(--muted); }
.tag { font-family: var(--f-caps); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--titanium); }
.metal {
  background: linear-gradient(100deg, #aab1bf 0%, #ffffff 22%, #cfd3db 40%, #ffffff 52%, #b2b9c6 70%, #f2f1ee 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

/* header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 10, 28, 0.88), rgba(5, 10, 28, 0.6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--platinum-hi); }
.brand .sigil { width: 46px; --split: 1.5px; }
.brand__name { font-family: var(--f-caps); font-size: 0.84rem; letter-spacing: 0.24em; line-height: 1.25; text-transform: uppercase; }
.brand__name small { display: block; font-size: 0.6rem; letter-spacing: 0.42em; color: var(--titanium); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--f-caps); font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding-block: 12px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--platinum-hi); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-hi); color: var(--platinum); border-radius: 999px; padding: 10px 16px; min-height: 44px; font: inherit; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 10, 28, 0.97); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font-family: var(--f-caps); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-hi); color: var(--platinum-hi); background: rgba(232, 231, 227, 0.04);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:hover { background: rgba(232, 231, 227, 0.1); border-color: var(--platinum); box-shadow: 0 0 36px rgba(200, 214, 245, 0.22); }
.btn--solid { background: linear-gradient(120deg, #cfd3da, #ffffff 45%, #b9bfc9); color: #0a1432; border-color: transparent; }
.btn--solid:hover { color: #0a1432; background: linear-gradient(120deg, #dde0e6, #ffffff 45%, #ccd1d9); }
.nav .btn { color: var(--platinum-hi); padding: 10px 20px; min-height: 44px; }
.link-arrow { font-family: var(--f-caps); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: var(--platinum); display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform 0.25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* the one panel style, used sparingly */
.panel {
  background: linear-gradient(160deg, rgba(232, 231, 227, 0.09), rgba(232, 231, 227, 0.025) 65%);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* ===== The split sigil: the logo always appears as two halves, man and lion ===== */
.sigil { position: relative; display: inline-block; aspect-ratio: 1; width: 100%; --split: 4px; }
.sigil__half { position: absolute; inset: 0; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.sigil__half--man {
  clip-path: inset(0 50% 0 0);
  background: linear-gradient(115deg, #b9bfc9 0%, #ffffff 30%, #e2e1dd 46%, #ffffff 58%, #c3c8d0 80%, #f6f5f2 100%);
  background-size: 260% 100%;
  animation: sheen 7s linear infinite;
  transform: translateX(calc(var(--split) * -1));
}
.sigil__half--lion {
  clip-path: inset(0 0 0 50%);
  background: linear-gradient(200deg, #7f8797 0%, #aeb6c5 40%, #6f7787 70%, #9aa2b2 100%);
  transform: translateX(var(--split));
}
.sigil__seam {
  position: absolute; left: 50%; top: 2%; bottom: 2%; width: 1px; transform: translateX(-0.5px);
  background: linear-gradient(to bottom, transparent, rgba(232, 240, 255, 0.95) 25%, rgba(232, 240, 255, 0.95) 75%, transparent);
  box-shadow: 0 0 14px 1px rgba(200, 214, 245, 0.7);
  opacity: 0.85;
}
.sigil--inverse .sigil__half--man { background: linear-gradient(200deg, #7f8797, #aeb6c5 40%, #6f7787 70%, #9aa2b2); animation: none; }
.sigil--inverse .sigil__half--lion { background: linear-gradient(115deg, #b9bfc9, #ffffff 30%, #e2e1dd 46%, #ffffff 58%, #c3c8d0 80%); background-size: 260% 100%; animation: sheen 7s linear infinite; }
@property --split { syntax: "<length>"; inherits: true; initial-value: 4px; }

/* ===== Hero: the gate at Giza, guarded ===== */
.hero { position: relative; padding-block: 28px 0; overflow: hidden; isolation: isolate; }
.moon {
  position: absolute; top: 40px; right: max(24px, 8vw); width: clamp(54px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 38% 36%, #ffffff, #e9ecf2 40%, #c3cad8 75%, #9aa4b8);
  box-shadow: 0 0 60px 18px rgba(214, 224, 248, 0.22), 0 0 180px 70px rgba(160, 180, 230, 0.12);
}
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 64% 60%, rgba(130, 140, 165, 0.35) 0 9%, transparent 10%), radial-gradient(circle at 40% 70%, rgba(130, 140, 165, 0.25) 0 6%, transparent 7%), radial-gradient(circle at 58% 30%, rgba(130, 140, 165, 0.22) 0 5%, transparent 6%); }
.hero__stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 600px) 1fr; align-items: end; gap: 12px; }
.pillar { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; color: var(--titanium); padding-bottom: 8px; }
.pillar svg { width: min(112px, 100%); height: auto; filter: drop-shadow(0 0 18px rgba(200, 214, 245, 0.15)); }
.pillar__letter { font-family: var(--f-caps); font-size: var(--s2); color: var(--platinum); letter-spacing: 0.1em; }
.pillar__name { font-family: var(--f-caps); font-size: 0.64rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted); }
.hero__altar { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 100%; }
.hero__altar::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(200, 214, 245, 0.2), transparent 68%); }
.hero__altar::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 6%; height: 18%; background: radial-gradient(50% 50% at 50% 50%, rgba(2, 4, 12, 0.8), transparent 70%); z-index: -1; }
.hero__altar .ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--titanium); }
.ring__outer { transform-origin: 50% 50%; animation: turn 160s linear infinite; }
.ring__inner { transform-origin: 50% 50%; animation: turn 100s linear infinite reverse; }
.ring__rays { transform-origin: 50% 50%; animation: breathe 7s ease-in-out infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: 0.3; } }
.hero__altar .sigil { width: 64%; --split: 0px; filter: drop-shadow(0 0 30px rgba(200, 214, 245, 0.35)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); animation: split 3s 0.8s cubic-bezier(0.2, 0.7, 0.1, 1) forwards; }
.hero__altar .sigil__seam { opacity: 0; animation: seam 3s 1.1s ease forwards; }
@keyframes split { to { --split: 11px; } }
@keyframes seam { to { opacity: 0.95; } }
.hero__labels { position: absolute; bottom: 10%; left: 0; right: 0; display: flex; justify-content: space-between; padding-inline: 2%; pointer-events: none; }
.hero__labels span { font-family: var(--f-caps); font-size: 0.64rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--titanium); }
.hero__labels span:first-child { color: var(--platinum); }
.hero__copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 24px; padding-block: 18px 36px; }
.hero__copy .lede { margin-inline: auto; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.warning { font-family: var(--f-caps); font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--platinum); display: inline-flex; align-items: center; gap: 14px; }
.warning::before, .warning::after { content: ""; width: 36px; height: 1px; background: var(--line-hi); }
.horizon { display: block; width: 100%; height: clamp(120px, 18vw, 240px); margin-top: -10px; }
@media (max-width: 720px) {
  .hero__stage { grid-template-columns: 60px minmax(0, 1fr) 60px; gap: 4px; }
  .pillar__name { display: none; }
  .hero__labels span { font-size: 0.52rem; letter-spacing: 0.22em; }
  .moon { top: 16px; right: 16px; }
  .warning { letter-spacing: 0.26em; font-size: 0.66rem; }
}

/* hieroglyph frieze divider */
.frieze { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); color: var(--titanium); justify-content: center; }
.frieze::before, .frieze::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--line-hi)); }
.frieze::after { background: linear-gradient(to left, transparent, var(--line-hi)); }
.frieze svg { height: 30px; width: 24px; flex: none; opacity: 0.9; }
.frieze svg.wide { width: 46px; }
@media (max-width: 600px) { .frieze svg:nth-of-type(n+6) { display: none; } }

/* the oath: a stern band */
.oath { text-align: center; display: grid; gap: 34px; justify-items: center; }
.oath h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.laws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); width: 100%; text-align: center; }
.law { display: grid; gap: 10px; justify-items: center; }
.law__num { font-family: var(--f-caps); color: var(--titanium); font-size: 0.8rem; letter-spacing: 0.3em; }
.law strong { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.7rem; line-height: 1.2; color: var(--platinum-hi); }
.law p { color: var(--muted); max-width: 32ch; }
@media (max-width: 860px) { .laws { grid-template-columns: 1fr; } }

/* the registry names, carved in cartouches */
.cartouches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.cartouche {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 32px 8px 22px;
  border: 1px solid var(--line-hi); border-radius: 999px; font-family: var(--f-display); font-size: 1.22rem; font-style: italic;
  color: var(--platinum); text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cartouche::after { content: ""; position: absolute; right: 13px; top: 22%; bottom: 22%; width: 1px; background: var(--line-hi); box-shadow: 4px 0 0 var(--line-hi); }
.cartouche:hover { background: rgba(232, 231, 227, 0.08); border-color: var(--platinum); color: var(--platinum-hi); }

/* sections */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-top: 0; }
.section__head { display: grid; gap: 18px; max-width: 800px; margin-bottom: 56px; }
.section__head--center { text-align: center; justify-items: center; margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

/* the rite */
.rite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.rite__step { display: grid; gap: 14px; align-content: start; text-align: center; justify-items: center; }
.rite__step svg { width: 58px; height: 58px; color: var(--platinum); }
.rite__num { font-family: var(--f-caps); font-size: var(--s3); color: var(--platinum); line-height: 1; }
.rite__step h3 { font-size: 1.9rem; }
.rite__step p { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .rite { grid-template-columns: 1fr; } }

/* duality */
.duality { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 5vw, 72px); }
.duality__side { display: grid; gap: 12px; min-width: 0; }
.duality__side--lion { text-align: right; justify-items: end; }
.duality__side h3 { font-size: var(--s3); font-weight: 300; }
.duality__side--lion h3 { color: var(--titanium); }
.duality .sigil { width: clamp(180px, 28vw, 340px); --split: 14px; filter: drop-shadow(0 0 26px rgba(200, 214, 245, 0.25)); }
@media (max-width: 760px) {
  .duality { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .duality__side--lion { text-align: center; justify-items: center; }
}

/* the five houses: an open ledger */
.houses { display: grid; border-top: 1px solid var(--line); }
.house { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding-block: 30px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background 0.3s; }
.house:hover { background: linear-gradient(to right, transparent, rgba(232, 231, 227, 0.05), transparent); color: inherit; }
.house__num { font-family: var(--f-caps); font-size: 2rem; color: var(--titanium); }
.house h3 { font-size: 2rem; display: flex; align-items: center; gap: 14px; }
.house h3 svg { width: 34px; height: 34px; color: var(--platinum); flex: none; }
.house p { color: var(--muted); }
.house__go { font-family: var(--f-caps); font-size: 1.2rem; color: var(--titanium); transition: transform 0.25s; }
.house:hover .house__go { transform: translateX(6px); color: var(--platinum); }
@media (max-width: 860px) { .house { grid-template-columns: 56px 1fr; } .house p { grid-column: 2; } .house__go { display: none; } }

/* degrees as stelae */
.degrees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; }
.stela {
  padding: 64px 32px 36px; display: grid; gap: 16px; align-content: start; position: relative; text-align: center; justify-items: center;
  border: 1px solid var(--line); border-radius: 240px 240px 8px 8px;
  background: linear-gradient(180deg, rgba(232, 231, 227, 0.08), rgba(232, 231, 227, 0.02) 70%);
}
.stela::before { content: ""; position: absolute; inset: 10px 10px auto; height: 50%; border: 1px solid var(--line); border-bottom: 0; border-radius: 230px 230px 0 0; pointer-events: none; }
.stela h3 { font-family: var(--f-caps); font-size: 1.4rem; letter-spacing: 0.08em; }
.stela__mark { font-family: var(--f-caps); font-size: 3.4rem; line-height: 1; color: var(--platinum); }
.stela__mark sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.25em; }
.stela--sovereign { border-color: var(--line-hi); background: linear-gradient(180deg, rgba(232, 231, 227, 0.16), rgba(232, 231, 227, 0.03) 75%); padding-top: 88px; }
.stela--sovereign .stela__mark { background: linear-gradient(100deg, #aab1bf, #fff 40%, #d0d4dc 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stela ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text); font-size: 0.98rem; text-align: left; justify-self: stretch; }
.stela li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.stela li::before { content: "☥"; font-size: 0.8rem; color: var(--titanium); padding-top: 0.2em; }
.stela .btn { margin-top: 8px; }
@media (max-width: 960px) { .degrees { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* eye band */
.eye-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.eye-band svg.eye { width: 100%; max-width: 440px; justify-self: center; color: var(--platinum); filter: drop-shadow(0 0 22px rgba(200, 214, 245, 0.25)); }
.eye__lid { transform-box: fill-box; transform-origin: center; animation: blink 7s ease-in-out infinite; }
.eye__pupil { transition: transform 0.35s ease-out; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.08); } }
.eye__rays line { animation: breathe 4s ease-in-out infinite; }
.eye__rays line:nth-child(odd) { animation-delay: -2s; }
.capstone { animation: hover 6s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-5px); } }
.draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw 3.2s 0.3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.figures { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); padding-top: 8px; }
.figure { display: grid; gap: 4px; }
.figure strong { font-family: var(--f-caps); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--platinum-hi); }
.figure span { color: var(--muted); font-size: 0.95rem; max-width: 22ch; }
@media (max-width: 860px) { .eye-band { grid-template-columns: 1fr; } }

/* inquiry */
.inquiry { display: grid; gap: 26px; justify-items: center; text-align: center; }
.inquiry .horus { width: 130px; height: auto; color: var(--platinum); filter: drop-shadow(0 0 18px rgba(200, 214, 245, 0.3)); }
.email-chip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 8px 8px 8px 22px; border: 1px solid var(--line-hi); border-radius: 999px; background: rgba(5, 10, 28, 0.35); max-width: 100%; }
.email-chip a { font-family: var(--f-display); font-size: 1.4rem; text-decoration: none; overflow-wrap: anywhere; }
.email-chip .btn { min-height: 44px; padding: 10px 20px; }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 64px); display: grid; gap: 22px; position: relative; }
.page-hero .compass-bg { position: absolute; right: max(16px, 4vw); top: 40px; width: clamp(140px, 22vw, 280px); height: auto; aspect-ratio: 1; color: rgba(214, 222, 240, 0.22); z-index: -1; }
.crumbs { font-size: var(--s-1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { color: var(--titanium); }

/* filters: typographic tabs */
.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.chip { font-family: var(--f-caps); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 0; min-height: 44px; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; color: var(--muted); cursor: pointer; }
.chip[aria-pressed="true"], .chip:hover { color: var(--platinum-hi); border-bottom-color: var(--platinum); }

/* registry */
.registry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 48px; }
.pub { display: grid; gap: 6px; padding-block: 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; }
.pub:hover { color: inherit; }
.pub:hover .pub__name { color: var(--platinum-hi); }
.pub__name { font-family: var(--f-display); font-size: 1.75rem; color: var(--platinum); line-height: 1.1; transition: color 0.2s; }
.pub__beat { color: var(--muted); font-size: 0.95rem; }
.pub[hidden] { display: none !important; }

/* blog */
.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: 24px 64px; text-decoration: none; color: inherit; }
.featured:hover { color: inherit; }
.featured__art { aspect-ratio: 4 / 3; border-radius: 240px 240px 8px 8px; border: 1px solid var(--line-hi); display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(200, 214, 245, 0.22), transparent 60%), linear-gradient(180deg, var(--night-0), var(--night-3)); }
.featured__art .horizon { position: absolute; bottom: 0; left: 0; height: 40%; margin: 0; }
.featured__art .sigil { width: 40%; margin-bottom: 16%; }
.featured h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px 44px; }
.post { display: grid; gap: 10px; align-content: start; padding-block: 28px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; }
.post:hover { color: inherit; }
.post h3 { font-size: 1.65rem; transition: color 0.2s; }
.post:hover h3 { color: var(--platinum); text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 5px; }
.post p { color: var(--muted); font-size: 0.97rem; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--titanium); }
.post[hidden] { display: none !important; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 96px; }
.prose { max-width: 68ch; display: grid; gap: 22px; font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-top: 30px; }
.prose h3 { font-size: 1.5rem; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--titanium); }
.prose strong { color: var(--platinum-hi); font-weight: 600; }
.prose blockquote { margin: 8px 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--platinum); font-family: var(--f-display); font-size: 1.6rem; font-style: italic; line-height: 1.35; color: var(--platinum); }
.angle-list { list-style: none; padding: 0 !important; gap: 0 !important; border-top: 1px solid var(--line); }
.angle-list li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.35rem; font-style: italic; color: var(--platinum); position: relative; }
.angle-list li::before { content: "☥"; position: absolute; left: 4px; top: 17px; font-style: normal; color: var(--titanium); font-size: 1rem; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; gap: 16px !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s, upper-roman); font-family: var(--f-caps); font-size: 1.05rem; color: var(--platinum); border: 1px solid var(--line-hi); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; min-height: 44px; font-weight: 600; color: var(--platinum-hi); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-caps); color: var(--titanium); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 28px; }
.aside .panel { padding: 28px; display: grid; gap: 12px; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 0.94rem; }
.facts dt { font-family: var(--f-caps); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--titanium); padding-top: 0.3em; }
.facts dd { margin: 0; }
.related { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.related a { font-family: var(--f-display); font-size: 1.2rem; text-decoration: none; display: block; padding-block: 6px; }
.cta-end { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-hi); margin-top: 16px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

/* services */
.svc-group { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-block: 64px; border-top: 1px solid var(--line); }
.svc-group__head { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.svc-group__head svg { width: 58px; height: 58px; color: var(--platinum); }
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 44px; }
.svc { padding-block: 22px; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: 1.5rem; }
.svc p { color: var(--muted); font-size: 0.98rem; }
.svc--flag h3 { display: flex; gap: 10px; align-items: baseline; }
.svc--flag h3::before { content: "☥"; font-size: 1.1rem; color: var(--platinum); }
.svc--flag p { color: var(--text); }
@media (max-width: 860px) { .svc-group { grid-template-columns: 1fr; } .svc-group__head { position: static; } }

/* form */
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-caps); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--titanium); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--platinum-hi); background: rgba(5, 10, 28, 0.45); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; min-height: 48px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(176, 185, 204, 0.6); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--platinum); box-shadow: 0 0 0 3px rgba(200, 214, 245, 0.18); }
.form-note { font-size: 0.92rem; color: var(--muted); }
.form-note[data-state="ok"] { color: var(--platinum); }

/* footer */
.site-foot { padding-block: 40px; position: relative; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; }
.foot-grid h4 { font-family: var(--f-caps); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--titanium); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.foot-grid ul a { color: var(--muted); text-decoration: none; }
.foot-grid ul a:hover { color: var(--platinum-hi); }
.foot-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.foot-brand .sigil { width: 100px; --split: 3px; }
.foot-motto { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--platinum); }
.foot-brand .email-chip a { font-size: 1.1rem; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; color: var(--muted); }
.foot-base .seal { font-family: var(--f-caps); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.66rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__altar .sigil { --split: 11px; }
  .hero__altar .sigil__seam { opacity: 0.95; }
  .draw { stroke-dashoffset: 0; }
}

/* email: one line in the pill; stacks cleanly on phones; plain text in the footer */
.email-chip { display: inline-flex; flex-wrap: nowrap; justify-content: space-between; width: fit-content; }
.email-chip .btn { flex: none; }
@media (max-width: 520px) {
  .email-chip { flex-direction: column; align-items: stretch; width: 100%; border-radius: 22px; padding: 16px; gap: 12px; text-align: center; }
  .email-chip a { font-size: 1.15rem; }
}
.foot-email { display: grid; gap: 4px; justify-items: start; }
.foot-email a { font-family: var(--f-display); font-size: 1.25rem; text-decoration: none; overflow-wrap: anywhere; }
.copy-link { background: none; border: 0; padding: 8px 0; min-height: 44px; font-family: var(--f-caps); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--titanium); cursor: pointer; }
.copy-link:hover { color: var(--platinum-hi); }
.contact-block { display: grid; gap: 14px; padding-block: 8px 28px; border-bottom: 1px solid var(--line); }
.contact-block h3 { font-size: 1.7rem; }
.page-hero .compass-bg { color: rgba(214, 222, 240, 0.1); top: auto; bottom: 0; }
@media (max-width: 720px) { .moon { display: none; } }
