/* bretgold.com — layout shell (stage, HUD, masthead, foot) */

/* =========================================================
   STAGE
   ========================================================= */
.stage {
  position: relative;
  min-height: 100vh;
  padding: 60px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 2;
}

/* =========================================================
   HUD
   ========================================================= */
.hud-top {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 24px 40px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 50;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  gap: 20px;
  background: linear-gradient(to bottom, rgba(13,10,6,0.9), transparent);
}
.hud-top .brand { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.hud-top .brand .dot { width: 6px; height: 6px; background: var(--gold-hi); border-radius: 50%; box-shadow: 0 0 8px var(--gold-hi); }
.hud-top .brand b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 16px; letter-spacing: 0.02em; color: var(--parchment); text-transform: none; }
.hud-top .meta { display: flex; gap: 18px; align-items: center; pointer-events: auto; }

.sys-link-inline {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--parchment-muted);
  padding: 6px 10px;
  border: 1px solid rgba(138, 111, 46, 0.3);
  text-decoration: none;
  transition: all 200ms;
}
.sys-link-inline:hover { color: var(--gold-hi); border-color: var(--gold); }

/* =========================================================
   MASTHEAD — single line, plain prose, no framing
   ========================================================= */
/* =========================================================
   MASTHEAD — opening plate
   ========================================================= */
.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
}
.mh-seal {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  animation: sealIn 1800ms var(--ease-cinema) both;
}
.mh-seal-stack {
  position: relative; width: 100%; height: 100%;
}
.mh-star-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  mix-blend-mode: screen;
  opacity: 0.45;
  filter: drop-shadow(0 0 10px rgba(200,162,75,0.15));
}
.mh-monogram-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
@keyframes sealIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.mh-plate { max-width: 860px; margin: 0 auto; }
.mh-folio {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--gold-dim);
  letter-spacing: 0.25em; text-transform: lowercase;
  margin-bottom: 32px;
}
.masthead .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 12.5vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--parchment);
  max-width: 100%;
  overflow-wrap: normal;
}
.masthead .name .gold-letter {
  color: var(--gold-hi);
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.masthead .name .gold-letter::after {
  content: "";
  position: absolute; left: 10%; right: 10%; bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.mh-lede {
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
  color: var(--parchment-muted);
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.mh-descend {
  margin-top: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.35em; color: var(--gold-dim);
  text-transform: uppercase;
  animation: descendPulse 3200ms ease-in-out infinite;
}
.mh-descend .d-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes descendPulse {
  0%, 100% { opacity: 0.55; transform: none; }
  50% { opacity: 1; transform: translateY(6px); }
}

/* =========================================================
   FOOT
   ========================================================= */
.foot-scene {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 80px 40px 80px;
  text-align: center;
  position: relative;
  display: grid;
  place-items: center;
  gap: 28px;
}
.foot-rule {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, rgba(201,152,44,0.4), transparent);
}
.foot-seal { width: 72px; height: 72px; opacity: 0.8; }
.foot-seal svg { width: 100%; height: 100%; }
.foot-colophon {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--parchment-muted);
  max-width: 520px;
}
.foot-colophon .muted {
  display: block;
  color: var(--gold-dim);
  font-size: 13px; font-style: normal;
  font-family: var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 16px;
}
.foot-year {
  margin-top: 24px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; color: var(--gold-dim);
  text-transform: uppercase;
}
