/* Maecens — shared stylesheet
   Dark photographic heroes (the original Maecens frame) over warm ivory pages.
   One display serif, one label sans, one accent. Letter-spaced text gets
   padding-left = half its tracking so it sits on true center. */

:root {
  --ink: #111111;
  --ink-2: #1a1917;
  --ivory: #f2ede4;
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --text: #24211d;
  --text-dim: #6b645a;
  --gold: #c9a86a;
  --line: rgba(36, 33, 29, .16);
  --line-light: rgba(242, 237, 228, .28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.wrap.narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding: 0 22px; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  padding-left: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; }
.display { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -.005em; }
.display em, .lead em { font-style: italic; color: var(--text-dim); }
h3 { font-size: 1.75rem; }
.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; }
p { margin: 0 0 1.1em; }
.dim { color: var(--text-dim); }

.text-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  padding-left: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link::after { content: "\2192"; font-family: var(--serif); font-size: 15px; letter-spacing: 0; }
.text-link:hover { border-color: var(--gold); gap: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  color: var(--ivory);
  transition: background .4s var(--ease), height .4s var(--ease);
}
.site-header.solid { background: rgba(17, 17, 17, .96); --header-h: 64px; height: 64px; }
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  padding: 0 44px;
}
.brand {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .34em;
  padding-left: .17em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  padding-left: .13em;
  text-transform: uppercase;
  opacity: .82;
  position: relative;
  transition: opacity .25s;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -9px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
}
.nav a.nav-apply {
  border: 1px solid var(--line-light);
  padding: 10px 18px 10px calc(18px + .13em);
  opacity: 1;
  transition: background .3s, color .3s;
}
.nav a.nav-apply:hover { background: var(--ivory); color: var(--ink); }
.nav a.nav-apply.active::after { display: none; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  color: inherit;
}
.menu-btn span {
  position: absolute; left: 9px; right: 9px; height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .site-header .wrap { padding: 0 22px; }
  .menu-btn { display: block; z-index: 2; }
  /* Drawer is a sibling of the header, not a child, so no ancestor
     filter/transform can hijack its fixed positioning. */
  .nav { display: none; }
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.drawer::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line-light);
  pointer-events: none;
}
.menu-open .drawer { opacity: 1; pointer-events: auto; }
.drawer a {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-open .drawer a { opacity: 1; transform: none; }
.menu-open .drawer a:nth-child(2) { transition-delay: .06s; }
.menu-open .drawer a:nth-child(3) { transition-delay: .12s; }
.menu-open .drawer a:nth-child(4) { transition-delay: .18s; }
.menu-open .drawer a:nth-child(5) { transition-delay: .24s; }
.drawer a.active { color: var(--gold); }
.drawer .drawer-foot {
  position: absolute;
  bottom: 40px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .32em;
  padding-left: .16em;
  text-transform: uppercase;
  opacity: .55;
}

/* ---------- Hero (photo carousel inside the Maecens frame) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
}
.hero.short { height: 72vh; height: 72svh; min-height: 460px; }
.hero .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease-in-out;
  transform: scale(1.04);
}
.hero .bg-layer.on { opacity: 1; animation: drift 9s linear forwards; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.frame-border {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 237, 228, .7);
  pointer-events: none;
  transition: border-color 1s ease, box-shadow 1s ease;
  z-index: 2;
}
.frame-border.glow {
  border-color: rgba(201, 168, 106, .9);
  box-shadow: 0 0 22px rgba(201, 168, 106, .3);
}
.hero-center {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 3;
  padding: 0 24px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: .3em;
  padding-left: .15em;
  text-transform: uppercase;
  line-height: 1;
  cursor: default;
  user-select: none;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: .04em;
  padding-left: .02em;
  margin-top: 14px;
  opacity: .92;
}
#wordmarkSecret {
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .1em;
  margin-top: 10px;
  opacity: 0;
  transition: opacity .8s ease;
}
#wordmarkSecret.show { opacity: .65; }

.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
}
.page-kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .34em;
  padding-left: .17em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 20px;
}
.hero.short .hero-center { top: 54%; }

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: none;
  border: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  opacity: .45;
  cursor: pointer;
  padding: 12px 18px;
  transition: opacity .2s ease;
}
.nav-arrow:hover { opacity: .95; }
.nav-arrow.prev { left: 16px; }
.nav-arrow.next { right: 16px; }
@media (max-width: 600px) { .nav-arrow { display: none; } }

.hero-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.square-btn {
  width: 2.4rem; height: 2.4rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(242, 237, 228, .55);
  background: none;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.square-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.invite-only {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .36em;
  padding-left: .18em;
  text-transform: uppercase;
  opacity: .85;
}
.scroll-cue {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(242,237,228,0), rgba(242,237,228,.8));
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section.tight { padding: 90px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--ivory); }
.section.dark .eyebrow, .section.dark .dim { color: rgba(242, 237, 228, .6); }
.section.dark .text-link { border-color: var(--line-light); }
@media (max-width: 760px) { .section { padding: 84px 0; } .section.tight { padding: 64px 0; } }

.intro { text-align: center; }
.intro .display { max-width: 900px; margin: 0 auto 30px; }
.intro p { max-width: 620px; margin-left: auto; margin-right: auto; }

.rule-ornament {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 46px auto 0;
  color: var(--gold);
}
.rule-ornament::before, .rule-ornament::after { content: ""; width: 60px; height: 1px; background: var(--line); }
.rule-ornament span { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* Split: image + text */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-media:hover img { transform: scale(1.03); }
.split-media::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(255, 237, 228, .55);
  pointer-events: none;
}
.split-body .display { margin-bottom: 28px; }
.split-body p { color: var(--text-dim); max-width: 470px; }
.split-body .text-link { margin-top: 16px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
}

/* Three doors (teasers) */
.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.door { display: block; }
.door-img { position: relative; overflow: hidden; margin-bottom: 26px; }
.door-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.door:hover .door-img img { transform: scale(1.05); filter: saturate(1); }
.door-num {
  position: absolute; top: 22px; left: 24px;
  color: var(--ivory);
  font-family: var(--sans); font-size: 11px; letter-spacing: .3em;
  z-index: 1;
}
.door h3 { margin-bottom: 10px; }
.door p { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 18px; }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; gap: 54px; }
  .door-img img { aspect-ratio: 16 / 10; }
}

/* Quote band */
.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.25;
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  padding-left: .15em;
  text-transform: uppercase;
  opacity: .6;
}

/* Principles (three columns) */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.principle { padding: 44px 40px 10px 0; }
.principle + .principle { padding-left: 40px; border-left: 1px solid var(--line); }
.principle .roman { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; display: block; margin-bottom: 18px; }
.principle h3 { margin-bottom: 14px; }
.principle p { color: var(--text-dim); font-size: 1.02rem; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 36px 0 6px; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--line); }
}

/* Privileges list */
.priv { padding: 70px 0; border-top: 1px solid var(--line); }
.priv:last-child { border-bottom: 1px solid var(--line); }
.priv-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.priv .roman { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 2.4rem; align-self: start; line-height: 1; }
.priv h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.priv p { color: var(--text-dim); max-width: 440px; }
.priv-img { overflow: hidden; position: relative; }
.priv-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.priv:hover .priv-img img { transform: scale(1.03); }
@media (max-width: 900px) {
  .priv { padding: 54px 0; }
  .priv-row { grid-template-columns: 1fr; gap: 24px; }
  .priv .roman { font-size: 1.8rem; }
  .priv-img { order: -1; }
}

/* Steps (membership) */
.steps { margin-top: 60px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line-light);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step .num { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.step h3 { font-size: 2rem; }
.step p { margin: 0; opacity: .72; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
}

/* The card */
.card-stage {
  display: flex; justify-content: center;
  perspective: 1200px;
  padding: 20px 0;
}
.member-card {
  width: min(440px, 100%);
  aspect-ratio: 1.586;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, #2a2724 0%, #121110 55%, #0b0b0a 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 0 0 1px rgba(242,237,228,.08);
  position: relative;
  color: var(--ivory);
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
  overflow: hidden;
}
.member-card::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(201, 168, 106, .35);
  border-radius: 8px;
}
.member-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 45%, transparent 60%);
  transform: translateX(var(--shine, -40%));
  transition: transform .2s ease-out;
}
.member-card .mc-word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center;
  font-family: var(--serif); font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: .34em; padding-left: .17em;
  color: var(--gold);
}
.member-card .mc-line {
  position: absolute; left: 28px; bottom: 26px;
  font-family: var(--sans); font-size: 9px; letter-spacing: .3em; opacity: .55;
  text-transform: uppercase;
}
.member-card .mc-chip {
  position: absolute; left: 28px; top: 28px;
  width: 34px; height: 26px; border-radius: 5px;
  background: linear-gradient(135deg, #b8975c, #e2cc98 50%, #9e7f48);
  opacity: .8;
}
.member-card .mc-no {
  position: absolute; right: 28px; bottom: 26px;
  font-family: var(--serif); font-style: italic; font-size: 13px; opacity: .55;
}

/* ---------- Forms ---------- */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 50px; } }
.apply-note { color: var(--text-dim); }
.apply-note ul { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.apply-note li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.apply-note li span { font-family: var(--sans); font-size: 11px; letter-spacing: .25em; color: var(--gold); padding-top: 6px; }

.m-form { position: relative; }
.field { position: relative; margin-bottom: 30px; }
.field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
  outline: none;
  border-radius: 0;
  transition: border-color .3s;
}
.field label {
  position: absolute; left: 0; top: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-dim);
  pointer-events: none;
  transition: top .3s var(--ease), font-size .3s var(--ease), color .3s;
}
.field input:focus { border-color: var(--text); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 0; font-size: 9.5px; color: var(--gold); }
.field .opt { text-transform: none; letter-spacing: .05em; opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 18px 44px 18px calc(44px + .15em);
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--paper);
  cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.btn:hover { background: transparent; color: var(--text); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.form-error {
  font-family: var(--sans); font-size: 12px; letter-spacing: .06em;
  color: #9a4a3a; min-height: 18px; margin: 14px 0 0;
}
.form-fine { font-size: .92rem; color: var(--text-dim); margin-top: 22px; font-style: italic; }

/* Success state (the original checkmark draw) */
.success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transform: scale(.94);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.is-sent .success { opacity: 1; transform: none; pointer-events: auto; }
.form-body { transition: opacity .3s ease, transform .3s ease; }
.is-sent .form-body { opacity: 0; transform: scale(.97); pointer-events: none; }
.success svg { margin-bottom: 20px; }
.success .ring { stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1) .25s; }
.success .check { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s ease-out .8s; }
.is-sent .success .ring, .is-sent .success .check { stroke-dashoffset: 0; }
.success .label {
  font-family: var(--sans); font-size: 12px; letter-spacing: .3em; padding-left: .15em;
  text-transform: uppercase;
}
.success p { margin-top: 14px; font-style: italic; opacity: .75; }

/* Home popup (the original "−" application card) */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, background .35s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; background: rgba(0,0,0,.6); }
.pop-card {
  width: 90%; max-width: 380px;
  background: rgba(13,13,13,.95);
  border: 1px solid rgba(242,237,228,.25);
  color: var(--ivory);
  padding: 2.4rem 1.8rem 2.2rem;
  text-align: center;
  position: relative;
  transform: scale(.94) translateY(8px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.overlay.open .pop-card { transform: none; }
.pop-close {
  position: absolute; top: .5rem; right: .8rem;
  background: none; border: 0; color: var(--ivory); opacity: .6;
  font-family: var(--serif); font-size: 1.4rem; cursor: pointer;
}
.pop-word {
  font-size: .95rem; letter-spacing: .3em; padding-left: .15em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.pop-card p { font-size: 1rem; line-height: 1.55; opacity: .9; margin-bottom: 1.4rem; }
.pop-card input {
  width: 100%; margin-bottom: .7rem;
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(242,237,228,.35);
  color: var(--ivory);
  font-family: var(--serif); font-size: 1.05rem;
  padding: .5rem .25rem; text-align: center; outline: none; border-radius: 0;
}
.pop-card input:focus { border-color: rgba(242,237,228,.8); }
.pop-card input::placeholder { color: rgba(242,237,228,.5); }
.pop-card .btn { margin-top: 1rem; padding: 13px 30px 13px calc(30px + .15em); }
.pop-card .form-error { color: #e0a08f; }
.pop-card .success { background: rgba(13,13,13,.95); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 90px 0 34px;
  position: relative;
  border-top: 1px solid rgba(242, 237, 228, .12);
}
.foot-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-light);
}
.foot-word { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .3em; margin-left: -.02em; text-transform: uppercase; line-height: 1; }
.foot-tag { font-style: italic; opacity: .7; margin: 14px 0 0; }
.foot-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-nav a {
  font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .7;
  transition: opacity .25s;
}
.foot-nav a:hover { opacity: 1; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  opacity: .5;
}
@media (max-width: 760px) {
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
#sigDot {
  position: absolute; bottom: 22px; right: 22px;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(242,237,228,.18);
  cursor: pointer; z-index: 5;
}
#sigTooltip {
  position: absolute; bottom: 32px; right: 20px;
  font-family: var(--serif); font-size: .75rem; letter-spacing: .05em;
  color: var(--ivory); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .6s ease; z-index: 5;
}
#sigTooltip.show { opacity: .75; }

/* ---------- 404 ---------- */
.lost .hero-center p { font-style: italic; opacity: .85; margin: 18px 0 34px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.hero-in > *:not(#wordmarkSecret) { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .18s; }
.hero-in > *:nth-child(3) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .hero-in > * { opacity: 1; transform: none; }
  .hero .bg-layer { transform: none; }
}

.section.dark .display em, .section.dark .lead em { color: rgba(242, 237, 228, .62); }
.hero-center { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero.short .scrim { background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.42) 0%, rgba(0,0,0,.22) 60%), linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,.3)); }

/* ---------- Cities line (cover) ---------- */
.cities {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.8rem, 1.4vw, .95rem);
  letter-spacing: .14em;
  padding-left: .07em;
  margin-top: 26px;
  opacity: .78;
}
.cities .sep { color: var(--gold); margin: 0 .5em; font-style: normal; }
@media (max-width: 600px) { .cities { max-width: 290px; margin-left: auto; margin-right: auto; line-height: 1.9; } }

/* ---------- Rooms gallery ---------- */
.rooms {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.room { position: relative; overflow: hidden; margin: 0; background: var(--ink); }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; opacity: .96; }
.room:hover img { transform: scale(1.04); opacity: 1; }
.room figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
  color: var(--ivory);
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
}
.room.w7 { grid-column: span 7; aspect-ratio: 7 / 5; }
.room.w5 { grid-column: span 5; aspect-ratio: 5 / 5; }
.room.w4 { grid-column: span 4; aspect-ratio: 4 / 5; }
.room.w8 { grid-column: span 8; aspect-ratio: 8 / 5; }
.room.w6 { grid-column: span 6; aspect-ratio: 6 / 5; }
.room.w5, .room.w7 { aspect-ratio: auto; height: 520px; }
@media (max-width: 860px) {
  .rooms { grid-template-columns: 1fr 1fr; gap: 12px; }
  .room.w7, .room.w5, .room.w4, .room.w8, .room.w6 { grid-column: span 1; aspect-ratio: 4 / 5; height: auto; }
  .room.w8 { grid-column: span 2; aspect-ratio: 16 / 10; }
  .room figcaption { padding: 30px 12px 12px; font-size: 9px; letter-spacing: .2em; }
}

/* ---------- Journal index ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 50px; margin-top: 60px; }
.post-card .door-img img { aspect-ratio: 4 / 3; }
.post-meta {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.post-card h3 { font-size: 2rem; margin-bottom: 12px; }
.post-card p { color: var(--text-dim); }
.post-card.lead-post { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.post-card.lead-post .door-img { margin: 0; }
.post-card.lead-post h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; gap: 54px; }
  .post-card.lead-post { grid-column: span 1; grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- Article ---------- */
.article-head { text-align: center; padding: 170px 0 60px; }
.article-head .post-meta { margin-bottom: 22px; }
.article-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 900px; margin: 0 auto 24px; }
.article-head .lead { max-width: 680px; margin: 0 auto; color: var(--text-dim); font-style: italic; }
.article-hero { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.article-hero img { width: 100%; max-height: 82vh; object-fit: cover; }
@media (max-width: 600px) { .article-head { padding: 130px 0 40px; } .article-hero { padding: 0; } }
.prose { max-width: 700px; margin: 0 auto; padding: 80px 0 40px; font-size: 1.22rem; line-height: 1.75; }
.prose h2 { font-size: 2rem; margin: 2em 0 .6em; }
.prose p:first-of-type::first-letter {
  float: left; font-size: 4.4em; line-height: .82; padding: .06em .1em 0 0; color: var(--gold);
}
.prose figure { margin: 2.6em -120px; }
.prose figure img { width: 100%; }
.prose figcaption { font-family: var(--sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); margin-top: 14px; text-align: center; }
@media (max-width: 1000px) { .prose figure { margin: 2.2em 0; } }
.prose blockquote { margin: 2em 0; padding-left: 28px; border-left: 1px solid var(--gold); font-style: italic; font-size: 1.5rem; line-height: 1.45; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.article-foot { max-width: 700px; margin: 0 auto; padding: 40px 0 120px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.solid-start .site-header { background: rgba(17, 17, 17, .96); }
@media (max-width: 860px) { .rooms { grid-auto-flow: dense; } }
.article-hero img { object-position: center 70%; }

/* =====================================================================
   Elevated / royal pass (2026-10-11): gilt hairlines, deeper ivory,
   warm "old master" grade on photography, slower, statelier motion.
   ===================================================================== */
:root {
  --paper: #f3eee4;
  --paper-2: #e9e0cf;
  --gold: #b8955a;
  --gold-deep: #8f6f3a;
  --gilt: linear-gradient(90deg, rgba(184,149,90,0) 0%, #b8955a 22%, #e6cf98 50%, #b8955a 78%, rgba(184,149,90,0) 100%);
  --ink: #0d0b09;
}
::selection { background: rgba(184, 149, 90, .35); }

/* Hero: double gilt frame, deeper vignette, slower drift */
.frame-border { inset: 16px; border-color: rgba(230, 207, 152, .55); box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px rgba(230, 207, 152, .28); }
.hero .bg-layer { transition: opacity 1.8s ease-in-out; }
.hero .bg-layer.on { animation: drift 14s linear forwards; }
.hero .bg-layer { filter: saturate(.92) contrast(1.05) sepia(.08); }
.hero .scrim {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 35%, rgba(8,6,4,.55) 100%),
    linear-gradient(to bottom, rgba(8,6,4,.5) 0%, rgba(8,6,4,.15) 32%, rgba(8,6,4,.25) 65%, rgba(8,6,4,.7) 100%);
}
.wordmark { letter-spacing: .38em; padding-left: .19em; font-weight: 300; }
.tagline, .page-kicker { color: #efe2c2; }
.page-title { font-weight: 300; letter-spacing: .01em; }

/* Header: near-black lacquer with a gilt hairline */
.site-header.solid { background: rgba(13, 11, 9, .97); box-shadow: 0 1px 0 rgba(184, 149, 90, .35); }
.brand { letter-spacing: .42em; padding-left: .21em; }

/* Type: gilt eyebrows, gold-leaf italics */
.eyebrow { color: var(--gold-deep); letter-spacing: .38em; }
.eyebrow::before { width: 40px; background: var(--gilt); }
.eyebrow.center { gap: 16px; }
.eyebrow.center::before, .eyebrow.center::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gilt); }
.display em, .lead em { color: var(--gold-deep); }
.section.dark .display em, .section.dark .lead em { color: #d9bf86; }
.section.dark .eyebrow { color: #d9bf86; }

/* Sections: parchment and lacquer */
.section.alt { background: var(--paper-2); }
.section.dark { background: radial-gradient(ellipse at 50% 0%, #2a2117 0%, #0d0b09 70%); }
.rule-ornament::before, .rule-ornament::after { width: 90px; background: var(--gilt); }
.rule-ornament span { border-color: var(--gold); background: rgba(184, 149, 90, .18); }

/* Photography: one warm, painterly grade + a gilt mat inset in every frame */
.split-media img, .door-img img, .priv-img img, .post-card .door-img img { filter: saturate(.9) contrast(1.05) sepia(.08); }
.split-media, .door-img, .priv-img { position: relative; }
.split-media::before, .door-img::before, .priv-img::before {
  content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(230, 207, 152, .55);
}
.roman { color: var(--gold); font-style: italic; }
.step .num { color: var(--gold-deep); }

/* Links and buttons */
.text-link { border-bottom-color: rgba(184, 149, 90, .45); }
.btn { letter-spacing: .3em; }
.site-footer { box-shadow: inset 0 1px 0 rgba(184, 149, 90, .3); }

/* regal-2 centering: photos always cropped from the middle */
.hero .bg-layer { background-position: center center; }
.split-media img, .door-img img, .priv-img img, .post-card .door-img img { object-position: center center; }
/* lighter grade so the gilt and colour read true */
.hero .bg-layer, .split-media img, .door-img img, .priv-img img, .post-card .door-img img { filter: saturate(.97) contrast(1.04) sepia(.04); }

/* focal points: on narrow screens each photo is cropped around its subject, not just its middle */
.hero .bg-layer[style*="/images/28.jpg"] { background-position: 40% center; }
img[src="/images/28.jpg"] { object-position: 40% center; }
.hero .bg-layer[style*="/images/70.jpg"] { background-position: 30% center; }
img[src="/images/70.jpg"] { object-position: 30% center; }
.hero .bg-layer[style*="/images/24.jpg"] { background-position: 56% center; }
img[src="/images/24.jpg"] { object-position: 56% center; }
.hero .bg-layer[style*="/images/01.jpg"] { background-position: 76% center; }
img[src="/images/01.jpg"] { object-position: 76% center; }
.hero .bg-layer[style*="/images/72.jpg"] { background-position: 80% center; }
img[src="/images/72.jpg"] { object-position: 80% center; }
.hero .bg-layer[style*="/images/23.jpg"] { background-position: 45% center; }
img[src="/images/23.jpg"] { object-position: 45% center; }
.hero .bg-layer[style*="/images/58.jpg"] { background-position: 24% center; }
img[src="/images/58.jpg"] { object-position: 24% center; }
.hero .bg-layer[style*="/images/73.jpg"] { background-position: 56% center; }
img[src="/images/73.jpg"] { object-position: 56% center; }

/* 2026-10-11: no gold borders anywhere (hero frame and photo mats), desktop and mobile */
.frame-border { display: none !important; }
.split-media::before, .door-img::before, .priv-img::before { display: none !important; }

/* 2026-10-25: no accent colour, square standard type (Archivo), no italics */
:root {
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gold: currentColor;
  --gold-deep: var(--text);
  --gilt: var(--line);
}
body { font-size: 17px; font-weight: 400; }
h1, h2, h3, .display, .page-title, .wordmark, .brand, .foot-word { font-weight: 500; }
.display, .page-title { letter-spacing: -.015em; }
*, em, i, cite { font-style: normal !important; }
::selection { background: rgba(36, 33, 29, .18); color: inherit; }
.eyebrow { color: var(--text-dim); }
.display em, .lead em { color: var(--text-dim); }
.tagline, .page-kicker { color: var(--ivory); }
.section.dark .display em, .section.dark .lead em,
.section.dark .eyebrow { color: rgba(242, 237, 228, .62); }
.section.dark { background: var(--ink); }
.site-header.solid { box-shadow: 0 1px 0 rgba(242, 237, 228, .12); }
.site-footer { box-shadow: none; }
.text-link { border-bottom-color: var(--line); }
.text-link:hover { border-color: currentColor; }
.section.dark .text-link { border-color: var(--line-light); }
.rule-ornament span { background: none; }
.drawer a.active { color: var(--ivory); opacity: .6; }
.roman, .step .num, .apply-note li span, .principle .roman, .priv .roman { color: var(--text-dim); }
.section.dark .step .num { color: rgba(242, 237, 228, .62); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { color: var(--text-dim); }
.prose p:first-of-type::first-letter { color: inherit; }
.prose blockquote { border-left-color: var(--line); }

/* 2026-10-29: Inson asked for a fancy face. Cinzel (Roman inscription capitals) on titles only; body stays Archivo. Delete this block to undo. */
:root { --display: "Cinzel", "Trajan Pro", Georgia, serif; }
h1, h2, h3, .display, .page-title, .wordmark, .brand, .foot-word, .pop-word, .tagline, .page-kicker, blockquote, .roman, .door-num {
  font-family: var(--display); font-weight: 400;
}
.wordmark { letter-spacing: .14em; }
.display, .page-title { letter-spacing: .01em; line-height: 1.18; }
.tagline { letter-spacing: .16em; line-height: 1.7; }
.photo-credit { position: absolute; right: 10px; bottom: 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .04em; color: rgba(255, 255, 255, .72); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); pointer-events: none; }
.priv-img { position: relative; }

/* 2026-10-29: tagline as a matched pair, card line and key line either side of a small diamond. Delete to undo. */
.tagline { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; line-height: 1; }
.tag-line { display: block; font-size: clamp(.82rem, 1.25vw, 1.02rem); letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; white-space: nowrap; }
.tag-line b { font-weight: 400; opacity: .6; margin: 0 .2em; }
.tag-orn { display: flex; align-items: center; gap: 12px; opacity: .7; }
.tag-orn i { display: block; width: clamp(34px, 5vw, 70px); height: 1px; background: currentColor; }
.tag-orn em { display: block; width: 6px; height: 6px; border: 1px solid currentColor; transform: rotate(45deg); }
@media (max-width: 480px) { .tag-line { letter-spacing: .22em; padding-left: .22em; } }

/* 2026-10-30: Inson -- same fancy font on the quote lines and the footer line, and a full Garcia interior behind the quote bands (no blank black). Delete to undo. */
.quote-band blockquote { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.3; }
.foot-tag { font-family: var(--display); letter-spacing: .08em; }
.photo-band { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; justify-content: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: var(--band) center / cover no-repeat; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 12, 10, .62) 0%, rgba(14, 12, 10, .42) 60%, rgba(14, 12, 10, .6) 100%); }
.photo-band .wrap { position: relative; z-index: 1; }
.photo-band blockquote { text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.photo-band .photo-credit { z-index: 1; }
@media (max-width: 760px) { .photo-band { min-height: 78vh; } }
/* The house: three-up estate row under the gate split */
.estate-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.estate-row .split-media img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .estate-row { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; } }

/* Hero: no vignette, lighter scrim; estate opener shown whole on phones */
.hero .scrim { background: linear-gradient(to bottom, rgba(8,6,4,.38) 0%, rgba(8,6,4,.08) 30%, rgba(8,6,4,.12) 65%, rgba(8,6,4,.5) 100%); }
.hero .bg-layer { filter: none; }
@media (max-aspect-ratio: 3/4) {
  .hero .bg-layer[style*="/images/28.jpg"] { background-image: url('/images/28m.jpg') !important; background-position: center !important; }
  .hero .bg-layer.on { animation: none; transform: none; }
}
