:root {
  --bg: #0d0b09;
  --ink: #fff8eb;
  --muted: #d7c5a5;
  --gold: #f7b733;
  --orange: #ff6a2a;
  --card: rgba(20, 16, 12, 0.74);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.58) 48%, #0d0b09 88%),
    url("assets/hero-portrait.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.45rem, 4vw, 2.3rem);
  text-shadow: 0 3px 24px rgba(0,0,0,0.75);
}

.brand-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.nav-pill {
  display: none;
  padding: 10px 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: var(--muted);
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: 54px 0 36px;
}

.hero-card {
  max-width: 780px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--stroke);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(11,9,7,0.84), rgba(35,20,12,0.6));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #160d05; }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--ink); }

.section {
  padding: 64px 0 74px;
  background: linear-gradient(180deg, rgba(13,11,9,0.2), #0d0b09 18%);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-head p, .fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.tile {
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.tile-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.tile-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.tile-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.joke-box {
  margin-top: 26px;
  padding: 24px;
  border-radius: 26px;
  border: 1px dashed rgba(247,183,51,0.45);
  background: rgba(255,255,255,0.055);
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

footer {
  padding: 28px 0 44px;
  color: rgba(255,248,235,0.62);
  background: #0d0b09;
  text-align: center;
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .page {
    background-image:
      linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 42%, rgba(0,0,0,0.62)),
      linear-gradient(180deg, rgba(0,0,0,0.1), #0d0b09 92%),
      url("assets/hero-wide.png");
    background-position: center center;
  }

  .nav-pill { display: inline-flex; }
  .hero { min-height: 86vh; align-items: center; padding: 52px 0 78px; }
  .tiles { grid-template-columns: 1fr 1fr; align-items: start; }
  .tile-body { padding: 26px; }
  .tile-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .tile-wide img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
  }

  .tile-wide .tile-body {
    align-content: end;
  }

  .lore-section {
    padding-top: 10px;
  }

  .lore-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
      linear-gradient(180deg,
        rgba(18,15,12,0.92),
        rgba(10,9,8,0.98)
      );
    box-shadow: var(--shadow);
  }

  .lore-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top right,
        rgba(247,183,51,0.08),
        transparent 40%);
    pointer-events: none;
  }

  .lore-eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .lore-intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .lore-fade {
    position: relative;
    max-width: 760px;
  }

  .lore-fade p {
    margin: 0 0 20px;
    color: rgba(255,248,235,0.88);
    line-height: 1.8;
    font-size: 1.04rem;
  }

  .lore-fade::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(
      to bottom,
      rgba(13,11,9,0),
      rgba(13,11,9,1)
    );
    pointer-events: none;
  }

  .lore-btn {
    margin-top: 18px;
  }
}
