:root {
  color-scheme: dark;
  --black: #050403;
  --ink: #111111;
  --ivory: #f5efe6;
  --bone: #ddd1bf;
  --brass: #c49d53;
  --blood: #b3222e;
  --blood-deep: #691820;
  --rum: #5b3520;
  --line: rgba(245, 239, 230, 0.22);
  --shadow: rgba(0, 0, 0, 0.58);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.age-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 16px;
  background: var(--blood);
  color: var(--ivory);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 4, 3, 0.86);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--bone);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ivory);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 130px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    rgba(0, 0, 0, 0.48);
}

.hero-content {
  width: min(940px, calc(100% - 36px));
  align-self: center;
  margin: 0 auto;
  padding: clamp(52px, 9vw, 110px) 0 clamp(86px, 12vw, 140px);
  text-align: center;
  text-shadow: 0 3px 18px var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blood);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 10vw, 9rem);
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: normal;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
  line-height: 1.02;
}

.hero-copy {
  max-width: 610px;
  margin: 22px auto 0;
  color: var(--bone);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary,
.signup-form button {
  background: var(--ivory);
  color: var(--black);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(5, 4, 3, 0.68);
  color: var(--ivory);
}

.button:hover,
.signup-form button:hover {
  transform: translateY(-1px);
}

.cumming-soon {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 42px);
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 3.5rem);
  font-style: italic;
  text-shadow: 0 3px 18px var(--shadow);
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.intro-section,
.product-section,
.signup-section {
  background: var(--ivory);
  color: var(--ink);
}

.intro-section {
  padding: clamp(56px, 9vw, 108px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro-grid p:last-child,
.signup-layout > div p {
  margin: 0;
  color: #3f342c;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 650;
}

.product-section {
  padding: clamp(58px, 9vw, 110px) 0;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flavour-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background: #fffaf0;
}

.flavour-card:nth-child(2) {
  background: #f1dfc5;
}

.flavour-card:nth-child(3) {
  background: #f7eee4;
}

.batch-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  border: 1px solid var(--blood);
  color: var(--blood);
  font-size: 0.78rem;
  font-weight: 950;
}

.flavour-card p {
  margin: 0;
  color: #44372d;
  font-weight: 650;
}

.notes-section {
  padding: clamp(58px, 9vw, 112px) 0;
  background: var(--blood-deep);
  color: var(--ivory);
  border-block: 1px solid var(--line);
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
}

.notes-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(245, 239, 230, 0.2);
}

.notes-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: rgba(5, 4, 3, 0.18);
  color: var(--bone);
  font-weight: 700;
}

.notes-list span {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.signup-section {
  padding: clamp(62px, 10vw, 124px) 0;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
}

.signup-form {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 8px;
  background: #fffaf0;
}

.signup-form label {
  color: #3f342c;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  outline: 3px solid rgba(179, 34, 46, 0.28);
  outline-offset: 1px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--blood);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  background: var(--black);
  color: var(--bone);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brass);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 116px);
  }

  .hero-content {
    width: min(560px, calc(100% - 28px));
    padding-top: 42px;
  }

  .hero-art {
    object-position: center top;
  }

  .intro-grid,
  .notes-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .flavour-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 460px) {
  .age-ribbon {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 4.8rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cumming-soon {
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .notes-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .signup-form {
    padding: 18px;
  }
}
