:root {
  --cream: #f5e4d0;
  --cream-2: #ebd0b7;
  --paper: #fffaf2;
  --red: #b5121b;
  --red-deep: #700203;
  --gold: #d9b25a;
  --roast: #e27521;
  --pine: #2f5a32;
  --ink: #3a1a0e;
  --display: "Fraunces", Georgia, serif;
  --body: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1180px;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.55 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--red); }

.kicker {
  margin: 0 0 14px;
  font: 700 13px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-deep);
}

/* ---------- header ---------- */
.mast {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 48px;
  background: rgba(245, 228, 208, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(112, 2, 3, .12);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 22px/1 var(--display); }
.brand img { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--red); }
.mast-links { display: flex; align-items: center; gap: 14px; }
.x-link {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--paper); transition: transform .2s;
}
.x-link:hover { transform: rotate(-8deg) scale(1.06); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--red); color: var(--paper);
  font: 700 17px/1 var(--body); text-decoration: none;
  box-shadow: 0 4px 0 var(--red-deep), 0 14px 28px -10px rgba(112, 2, 3, .55);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--red-deep), 0 18px 30px -10px rgba(112, 2, 3, .6); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-deep); }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--cream-2), 0 0 0 2px var(--ink) inset; }
.btn-ghost:hover { box-shadow: 0 6px 0 var(--cream-2), 0 0 0 2px var(--ink) inset; }
.actions { display: flex; gap: 14px; margin-top: 26px; }

/* ---------- CA ---------- */
.ca { margin-top: 30px; max-width: 560px; }
.ca-label { display: block; margin-bottom: 8px; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.ca-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px; border-radius: 16px;
  background: var(--paper); border: 2px dashed rgba(112, 2, 3, .35);
}
.ca-row code { flex: 1; min-width: 0; font: 500 15px/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace; word-break: break-all; }
.copy {
  flex: none; cursor: pointer; border: 0; border-radius: 11px;
  padding: 12px 20px; background: var(--pine); color: var(--paper);
  font: 700 15px/1 var(--body); transition: background .2s;
}
.copy:hover { background: #244a27; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center;
  min-height: calc(100vh - 69px);
  padding: 40px 48px 56px 72px;
  background:
    radial-gradient(60% 70% at 72% 50%, rgba(255, 214, 150, .75), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(181, 18, 27, .08), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.hero h1 { font-size: clamp(72px, 7.4vw, 128px); }
.hero h1 em { display: inline-block; }
.tagline { margin: 22px 0 0; max-width: 30ch; font-size: 22px; }
.hero-art { margin: 0; justify-self: center; width: min(100%, 820px); }
.hero-art img {
  width: 100%;
  filter: drop-shadow(0 34px 34px rgba(90, 30, 5, .32));
  animation: breathe 5.5s ease-in-out infinite;
  transform-origin: 50% 85%;
}
@keyframes breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.025) rotate(-.6deg); } }

/* ---------- full-bleed scenes ---------- */
.scene, .finale { position: relative; overflow: hidden; }
.scene-img { width: 100%; }
.scene-card {
  position: absolute; top: 50%; translate: 0 -50%;
  width: min(34vw, 520px);
  padding: 38px 40px;
  border-radius: 26px;
  background: rgba(255, 250, 242, .9);
  box-shadow: 0 30px 60px -24px rgba(40, 12, 2, .55);
}
.scene-left .scene-card { left: 5vw; }
.scene-right .scene-card { right: 5vw; }
.scene-card h2 { font-size: clamp(44px, 4vw, 64px); }
.scene-card p:last-child { margin: 16px 0 0; font-size: 19px; }
.scene-cool .scene-card { background: rgba(244, 249, 255, .9); }
.scene-cool .kicker { color: #2b4f7a; }

/* ---------- close-ups ---------- */
.faces { padding: 110px 48px; text-align: center; background: var(--paper); }
.faces h2 { font-size: 72px; margin-bottom: 48px; }
.face-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.face-row figure { margin: 0; position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(60, 20, 4, .5); }
.face-row img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.face-row figure:hover img { transform: scale(1.05); }
.face-row figcaption {
  position: absolute; left: 18px; bottom: 18px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper); font: 800 20px/1 var(--display);
}
.face-row figure:nth-child(2) { transition-delay: .12s; }
.face-row figure:nth-child(3) { transition-delay: .24s; }

/* ---------- banner ---------- */
.banner-strip { position: relative; background: var(--cream); }
.banner-strip img { width: 100%; }
.banner-title {
  position: absolute; left: 50%; bottom: 7%; translate: -50% 0;
  padding: 14px 30px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 250, 242, .92); font-size: 44px;
  box-shadow: 0 18px 30px -18px rgba(60, 20, 4, .5);
}

/* ---------- finale ---------- */
.finale-copy { position: absolute; top: 50%; left: 6vw; translate: 0 -50%; width: min(42vw, 620px); color: var(--paper); }
.finale-copy h2 { font-size: clamp(56px, 5.4vw, 92px); text-shadow: 0 4px 24px rgba(40, 12, 2, .55); }
.finale-copy h2 em { color: #ffd98a; }
.finale-copy .kicker { color: #ffd98a; }
.finale-copy .ca-label { opacity: .9; }
.finale-copy .ca-row { color: var(--ink); }

/* ---------- footer ---------- */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 48px; background: var(--ink); color: var(--cream); font-size: 15px;
}
.foot .brand { font-size: 18px; }
.foot a:last-child { font-weight: 700; text-decoration: none; }

/* ---------- copy pop + toast ---------- */
.pop {
  position: fixed; left: 50%; bottom: -260px; z-index: 50;
  width: 220px; translate: -50% 0; pointer-events: none; visibility: hidden;
  filter: drop-shadow(0 16px 20px rgba(60, 20, 4, .4));
}
.pop.go { visibility: visible; animation: pop 1.6s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes pop {
  0% { bottom: -260px; rotate: -12deg; }
  30%, 70% { bottom: 70px; rotate: 6deg; }
  100% { bottom: -260px; rotate: -12deg; }
}
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 51; margin: 0;
  translate: -50% 20px; opacity: 0; transition: .3s;
  padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- reveal (opacity only) ---------- */
.js .reveal { opacity: 0; transition: opacity .9s ease; }
.js .reveal.in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .pop.go { visibility: visible; animation: none; }
  .js .reveal { opacity: 1; transition: none; }
}
