:root {
  --burgundy: #6b1531;
  --burgundy-dark: #21050d;
  --blue: #1b65b9;
  --blue-dark: #061427;
  --ink: #05070b;
  --gold: #d8b45e;
  --gold-soft: rgba(216, 180, 94, 0.58);
  --white: #f8fbff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100svh;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  padding: 28px;
  isolation: isolate;
  overflow: hidden;
}

.hero__image,
.hero__tone,
.hero__grain,
.hero__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__image {
  z-index: -5;
  background:
    linear-gradient(90deg, rgba(33, 5, 13, 0.52), rgba(5, 7, 11, 0.08), rgba(6, 20, 39, 0.62)),
    url("./assets/hero.png") center / cover no-repeat;
  transform: scale(1.03);
}

.hero__tone {
  z-index: -4;
  background:
    radial-gradient(circle at 50% 44%, rgba(216, 180, 94, 0.24), transparent 240px),
    radial-gradient(circle at 20% 44%, rgba(107, 21, 49, 0.82), transparent 420px),
    radial-gradient(circle at 82% 48%, rgba(27, 101, 185, 0.78), transparent 460px),
    linear-gradient(180deg, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.88));
}

.hero__grain {
  z-index: -3;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.hero__frame {
  inset: 28px;
  z-index: -2;
  border: 1px solid rgba(216, 180, 94, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(248, 251, 255, 0.05),
    inset 0 0 90px rgba(0, 0, 0, 0.36);
}

.hero__frame::before,
.hero__frame::after {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 92px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  content: "";
  opacity: 0.84;
}

.hero__frame::before {
  left: -1px;
  border-left: 2px solid var(--gold);
}

.hero__frame::after {
  right: -1px;
  border-right: 2px solid var(--gold);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 0 12px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__crest {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: "Inter Tight", "Inter", Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(107, 21, 49, 0.76), rgba(27, 101, 185, 0.5)),
    rgba(5, 7, 11, 0.56);
}

.topbar p {
  margin: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1180px);
  min-height: calc(88svh - 176px);
  margin: 0 auto;
  place-items: center;
  align-content: center;
  padding: 54px 20px 76px;
  text-align: center;
}

.hero__content::before {
  position: absolute;
  z-index: -1;
  color: rgba(248, 251, 255, 0.035);
  font-family: "Inter Tight", "Inter", Arial, Helvetica, sans-serif;
  font-size: 12.5rem;
  line-height: 0.8;
  content: "CAFEILGALA";
  transform: translateY(-104px);
  white-space: nowrap;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  position: relative;
  margin: 0;
  color: var(--white);
  font-family: "Inter Tight", "Inter", Arial, Helvetica, sans-serif;
  font-size: 8.2rem;
  font-style: normal;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 2px 0 rgba(216, 180, 94, 0.78),
    0 10px 0 rgba(27, 101, 185, 0.18),
    0 34px 64px rgba(0, 0, 0, 0.86);
}

h1::after {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.hero__subtitle {
  width: min(100%, 760px);
  margin: 44px auto 0;
  padding: 15px 20px 16px;
  border-top: 1px solid rgba(216, 180, 94, 0.7);
  border-bottom: 1px solid rgba(216, 180, 94, 0.7);
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(90deg, transparent, rgba(5, 7, 11, 0.5), transparent);
}

.hero__chant {
  margin: 20px 0 0;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__footer {
  position: absolute;
  right: 48px;
  bottom: 44px;
  left: 48px;
  z-index: 2;
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content;
  align-items: center;
  gap: 18px;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__footer p {
  margin: 0;
  white-space: nowrap;
}

.hero__footer span {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.premium-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  min-height: 18svh;
  border-top: 1px solid rgba(216, 180, 94, 0.42);
  background:
    linear-gradient(90deg, rgba(107, 21, 49, 0.96), rgba(5, 7, 11, 0.98) 52%, rgba(6, 20, 39, 0.98)),
    var(--blue-dark);
}

.premium-strip p {
  display: grid;
  min-height: 132px;
  margin: 0;
  place-items: center;
  padding: 20px;
  border-right: 1px solid rgba(216, 180, 94, 0.18);
  color: rgba(248, 251, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.premium-strip p:last-child {
  border-right: 0;
}

.premium-strip__lead {
  color: var(--gold);
  font-size: 1.7rem;
}

@media (max-width: 960px) {
  .hero {
    padding: 20px;
  }

  .hero__frame {
    inset: 20px;
  }

  .hero__content {
    min-height: calc(88svh - 148px);
  }

  .hero__content::before {
    font-size: 8rem;
    transform: translateY(-84px);
  }

  h1 {
    font-size: 5.25rem;
  }

  .hero__subtitle {
    width: min(100%, 660px);
    font-size: 1.55rem;
  }

  .hero__footer {
    right: 34px;
    bottom: 34px;
    left: 34px;
    gap: 12px;
  }

  .premium-strip {
    grid-template-columns: 1fr;
  }

  .premium-strip p {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 180, 94, 0.16);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 88svh;
    padding: 16px;
  }

  .hero__frame {
    inset: 16px;
  }

  .hero__frame::before,
  .hero__frame::after {
    width: 54px;
  }

  .topbar {
    gap: 14px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .brand {
    gap: 8px;
  }

  .brand__crest {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .topbar p {
    max-width: 112px;
    text-align: right;
  }

  .hero__content {
    min-height: calc(88svh - 128px);
    padding: 42px 10px 86px;
  }

  .hero__content::before {
    font-size: 4.2rem;
    transform: translateY(-70px);
  }

  .hero__eyebrow {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  h1::after {
    bottom: -18px;
  }

  .hero__subtitle {
    margin-top: 34px;
    padding: 12px 12px 13px;
    font-size: 1.12rem;
  }

  .hero__chant {
    font-size: 1rem;
  }

  .hero__footer {
    right: 28px;
    bottom: 28px;
    left: 28px;
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }

  .hero__footer span {
    display: none;
  }

  .hero__footer p:nth-of-type(2) {
    color: var(--gold);
  }

  .premium-strip__lead {
    font-size: 1.3rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.55rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }
}
