/* Safe House — mid-century storyboard pitch */

:root {
  --cream: #f4ecd8;
  --cream-deep: #e8dcc4;
  --rust: #c45c3a;
  --rust-deep: #a84338;
  --charcoal: #2e2e2e;
  --ink: #252525;
  --teal-panel: #3d5a73;
  --sage: #6b7349;
  --gold: #d4a43b;
  --shadow: rgba(37, 37, 37, 0.12);
  /* Poster hero bands (Burgle-adjacent) */
  --hero-mustard: #c9aa4e;
  --hero-panel-cream: #ebe6d8;
  --hero-ember: #c24e32;
  --typewriter: "Special Elite", "Courier New", Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--typewriter);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(196, 92, 58, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(61, 90, 115, 0.07) 0%, transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(46, 46, 46, 0.03) 2px,
      rgba(46, 46, 46, 0.03) 3px
    );
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  z-index: 9999;
}

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

h1,
h2,
h3,
.panel-label {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.35em;
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
}

h2 {
  font-size: clamp(1.35rem, 2vw + 0.85rem, 1.85rem);
}

h3 {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.15rem);
  color: var(--rust-deep);
}

.mega-tagline {
  font-family: var(--typewriter);
  font-style: normal;
  font-size: clamp(1rem, 1vw + 0.85rem, 1.15rem);
  color: var(--rust-deep);
  margin: 0.25rem 0 0;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ----- Hero (poster tri-band + cast + aged paper tag bar) ----- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: 6px solid var(--rust);
  background-color: var(--hero-panel-cream);
  background-image: linear-gradient(
    90deg,
    #c4a348 0%,
    #c4a348 15%,
    var(--hero-panel-cream) 15%,
    var(--hero-panel-cream) 85%,
    #bb4a30 85%,
    #bb4a30 100%
  );
}

@supports (background: color-mix(in srgb, red 50%, blue)) {
  .hero {
    background-image: linear-gradient(
      90deg,
      color-mix(in srgb, var(--hero-mustard) 92%, #6b5c2e) 0%,
      color-mix(in srgb, var(--hero-mustard) 92%, #6b5c2e) 15%,
      var(--hero-panel-cream) 15%,
      var(--hero-panel-cream) 85%,
      color-mix(in srgb, var(--hero-ember) 94%, #5c2418) 85%,
      color-mix(in srgb, var(--hero-ember) 94%, #5c2418) 100%
    );
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='hn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23hn)' opacity='0.55'/%3E%3C/svg%3E");
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(255, 254, 248, 0.45) 0%, transparent 42%),
    radial-gradient(ellipse 70% 55% at 9% 88%, rgba(196, 92, 58, 0.14) 0%, transparent 48%),
    radial-gradient(ellipse 65% 50% at 91% 85%, rgba(61, 90, 115, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, transparent 55%, rgba(46, 46, 46, 0.06) 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.65rem) 0 clamp(0.25rem, 2vw, 0.75rem);
}

.hero-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0.55rem clamp(0.5rem, 2vw, 1rem) 0.65rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(0.58rem, 1.35vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(37, 37, 37, 0.82);
  border-bottom: 2px solid rgba(46, 46, 46, 0.28);
}

.hero-credits span {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.35rem clamp(0.35rem, 2vw, 1rem);
  border-left: 2px solid rgba(46, 46, 46, 0.28);
  min-width: fit-content;
}

.hero-credits span:first-child {
  border-left: none;
}

.hero-brand-mark-row {
  display: flex;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1rem) 0 0;
}

.hero-brand-mark-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-brand-mark-wrap::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 164, 59, 0.42) 0%,
    rgba(212, 164, 59, 0) 72%
  );
  z-index: 0;
  opacity: 0.85;
}

.hero-brand-mark-wrap .brand-mark {
  position: relative;
  z-index: 1;
  width: clamp(72px, 14vw, 104px);
  height: auto;
  display: block;
  filter: drop-shadow(4px 5px 0 rgba(46, 46, 46, 0.12));
}

.hero-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(0.35rem, 2vw, 1rem) 0 clamp(0.35rem, 2vw, 1rem);
}

.hero-title-zone {
  position: relative;
  z-index: 8;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 3vw, 1rem)
    clamp(0.65rem, 2.5vw, 1.35rem);
  text-align: center;
}

@media (max-width: 420px) {
  .hero-credits span {
    letter-spacing: 0.14em;
    font-size: 0.52rem;
    padding: 0.28rem 0.35rem;
  }
}

.hero-tag-bar {
  --bar-shield: #3d5a73;
  --bar-cream: #e8e6df;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background-color: var(--bar-shield);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0 1px,
      transparent 1px 4px
    );
  border-top: 3px solid var(--rust);
  border-bottom: 1px solid rgba(61, 90, 115, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 254, 248, 0.18);
}

.hero-tag-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='ht'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ht)' opacity='0.45'/%3E%3C/svg%3E");
}

.hero-tag-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(46, 46, 46, 0.04) 0 1px,
      transparent 1px 3px
    );
  background-size: 3px 3px;
}

.hero-tag-bar-inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.15rem, 3vw, 1.85rem) 0 clamp(1.35rem, 3.5vw, 2rem);
  text-align: center;
}

.hero-tag-bar-sub {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--gold);
  letter-spacing: 0.38em;
  text-shadow: 0 1px 2px rgba(37, 37, 37, 0.28);
}

.hero-tag-bar-tagline {
  margin: 0.85rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.2rem, 1.4vw + 0.85rem, 1.5rem);
  line-height: 1.55;
  color: var(--rust);
  text-shadow: 0 1px 2px rgba(37, 37, 37, 0.22);
}

.hero-badge-row--dark {
  margin-top: 1.15rem;
  gap: 0.35rem 1.25rem;
}

.hero-badge-row--dark .badge {
  font-size: 0.85rem;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(37, 37, 37, 0.28);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw + 0.85rem, 3.5rem);
}

.hero-copy-lead {
  display: block;
  font-size: clamp(1.35rem, 2.6vw + 0.45rem, 2rem);
  margin-bottom: 0.12em;
}

.hero-copy-rest {
  display: block;
}

.hero-copy-tagline {
  color: var(--rust-deep);
}

.brand-wordmark-wrap {
  display: inline-block;
  margin-inline: auto;
  text-align: left;
}

.brand-wordmark {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Condensed", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.35rem, 12vw, 7rem);
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #252525;
  text-shadow:
    1px 1px 0 #fffef8,
    2px 2px 0 var(--cream),
    3px 3px 0 var(--cream),
    4px 4px 0 var(--cream),
    5px 5px 0 var(--cream-deep),
    6px 6px 0 var(--cream-deep),
    7px 7px 0 #dccfaf,
    8px 8px 0 rgba(46, 46, 46, 0.07),
    9px 9px 0 rgba(46, 46, 46, 0.05);
  -webkit-text-stroke: 0.012em rgba(252, 248, 238, 0.4);
}

.brand-wordmark-line {
  display: block;
}

.brand-wordmark-line--shift {
  padding-left: clamp(0.45rem, 5vw, 3rem);
}

.brand-sub {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.35em;
  color: var(--teal-panel);
  margin-top: 0.35rem;
}

.hero-tag-bar-sub.brand-sub {
  margin-top: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(37, 37, 37, 0.28);
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  justify-content: center;
}

.badge {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--charcoal);
  background: linear-gradient(180deg, #fffef8 0%, var(--cream-deep) 100%);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
}

/* Plain cream labels on banner (must follow .badge) */
.badge.badge--on-dark {
  border: none;
  background: none;
  box-shadow: none;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(37, 37, 37, 0.28);
}

.script-lede {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.story-slug {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  background: var(--rust);
  color: #fffef8;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

/* ----- Storyboard panels ----- */

.storyboard {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, #fffef8 0%, var(--cream) 100%);
  border: 3px solid var(--charcoal);
  box-shadow:
    8px 8px 0 var(--gold),
    14px 14px 0 var(--shadow);
  position: relative;
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--charcoal);
  pointer-events: none;
}

.panel::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.panel::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.panel:nth-child(even) {
  box-shadow:
    8px 8px 0 var(--teal-panel),
    14px 14px 0 var(--shadow);
}

@media (min-width: 780px) {
  .panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    padding: clamp(1.75rem, 3vw, 2.5rem);
  }

  .panel.flip .panel-visual {
    order: 2;
  }

  .panel.flip .panel-copy {
    order: 1;
  }
}

.panel-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.panel-number {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow:
    2px 2px 0 var(--charcoal),
    -1px -1px 0 var(--cream-deep);
  line-height: 1;
}

.panel-label {
  font-size: 0.82rem;
  color: var(--teal-panel);
  letter-spacing: 0.28em;
}

.panel-visual {
  position: relative;
}

.panel-visual figure {
  margin: 0;
}

.panel-visual img {
  border: 3px solid var(--charcoal);
  background: var(--cream-deep);
}

.panel-caption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--rust-deep);
}

.pitch-hook {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--rust);
  background: rgba(196, 92, 58, 0.08);
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Twist panel — vault dossier */

.panel-twist {
  overflow: hidden;
  border-top: 6px solid var(--gold);
  background-color: var(--teal-panel);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='vt'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vt)' opacity='0.35'/%3E%3C/svg%3E"),
    linear-gradient(rgba(212, 164, 59, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 164, 59, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #3d5a73 0%, #283845 42%, #334858 68%, #3d5a73 100%);
  background-size: auto, 28px 28px, 28px 28px, 100% 100%;
  color: var(--cream);
  border-color: var(--ink);
  box-shadow:
    8px 8px 0 var(--gold),
    14px 14px 0 rgba(0, 0, 0, 0.28);
}

.panel.panel-twist::before,
.panel.panel-twist::after {
  width: 26px;
  height: 26px;
  border-color: var(--gold);
  border-width: 4px;
}

.panel-twist__stamp {
  position: absolute;
  top: clamp(0.85rem, 2.5vw, 1.35rem);
  right: clamp(0.85rem, 2.5vw, 1.35rem);
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.85rem;
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
  border: 3px solid var(--rust);
  transform: rotate(-12deg);
  opacity: 0.88;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 254, 248, 0.12);
}

.panel-twist h2 {
  position: relative;
  padding-bottom: 0.65rem;
  color: var(--cream);
}

.panel-twist h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(12rem, 55%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--rust) 100%);
  box-shadow: 0 1px 0 rgba(255, 254, 248, 0.15);
}

.panel-twist h3,
.panel-twist .panel-label {
  color: var(--cream);
}

.panel-twist .panel-number {
  color: var(--gold);
  text-shadow:
    2px 2px 0 var(--ink),
    -1px -1px 0 rgba(255, 255, 255, 0.15);
}

.panel-twist ul {
  margin: 1.15rem 0 0;
  padding: 0.85rem 0 0.85rem 1rem;
  list-style: none;
  border-top: 1px dashed rgba(212, 164, 59, 0.35);
  border-bottom: 1px dashed rgba(212, 164, 59, 0.35);
}

.panel-twist li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.35rem;
}

.panel-twist li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--gold);
  font-size: 0.65em;
}

.panel-twist li:last-child {
  margin-bottom: 0;
}

.panel-twist .mega-tagline {
  color: var(--cream-deep);
  font-style: italic;
}

.panel-copy--briefing {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: rgba(18, 24, 30, 0.38);
  border: 2px solid rgba(212, 164, 59, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 254, 248, 0.06),
    4px 4px 0 rgba(0, 0, 0, 0.22);
}

.panel-copy--briefing::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  border: 1px solid rgba(255, 254, 248, 0.08);
  pointer-events: none;
}

.briefing-tag {
  margin: 0 0 0.85rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel-twist .pitch-hook {
  border-left-color: var(--gold);
  background: rgba(255, 254, 248, 0.1);
  color: var(--cream);
}

.panel-twist .pitch-hook--wire {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border-left-width: 6px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 254, 248, 0.04) 0 2px,
      transparent 2px 4px
    ),
    rgba(196, 92, 58, 0.14);
  box-shadow: inset 0 0 0 1px rgba(212, 164, 59, 0.2);
}

.panel-twist .alarm-strip {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  background: rgba(10, 14, 18, 0.42);
  border: 1px solid rgba(212, 164, 59, 0.32);
  border-left: 5px solid var(--rust);
  box-shadow: inset 0 1px 0 rgba(255, 254, 248, 0.06);
}

@media (min-width: 780px) {
  .panel-copy--primary {
    padding-right: clamp(1rem, 2vw, 1.75rem);
    border-right: 1px dashed rgba(212, 164, 59, 0.28);
  }
}

.alarm-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
}

.alarm-strip span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    opacity: 0.25;
  }
}

/* Footer CTA */

.site-footer {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  background: var(--charcoal);
  color: var(--cream);
  border-top: 8px solid var(--rust);
}

.site-footer h2 {
  color: var(--cream);
}

.cta-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .cta-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.phone-ring {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.06em;
  color: var(--gold);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
  background: var(--rust);
  color: #fffef8;
  box-shadow: 4px 4px 0 var(--gold);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream-deep);
}

.btn-ghost:hover {
  background: rgba(255, 254, 248, 0.08);
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.78rem;
  opacity: 0.78;
  max-width: 36rem;
}

/* Decorative divider */

.mid-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  width: min(560px, 88vw);
}

.mid-rule::before,
.mid-rule::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--charcoal), transparent);
}

.mid-rule span {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  white-space: nowrap;
  color: var(--teal-panel);
}
