:root {
  --cream: #f2e0ab;
  --cream-bright: #fff4d2;
  --navy: #11365f;
  --navy-deep: #071d35;
  --blue-rich: #184d82;
  --gold: #d5a43a;
  --gold-soft: #f2d27a;
  --ink: #10243f;
  --muted: #4f6175;
  --line: rgba(17, 54, 95, 0.18);
  --shadow: 0 24px 72px rgba(7, 29, 53, 0.18);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(17, 54, 95, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(213, 164, 58, 0.28), transparent 24%),
    linear-gradient(180deg, #f3dfaa 0%, #f0d99a 38%, #f8edc8 100%);
}

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

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

.page-shell {
  position: relative;
  overflow-x: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
}

.page-shell::before {
  top: 110px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(215, 171, 79, 0.5), transparent 68%);
}

.page-shell::after {
  bottom: 100px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(18, 50, 83, 0.12), transparent 72%);
}

.site-header,
.beers,
.spirit {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  width: min(1360px, calc(100% - 24px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 24px;
  border: 1px solid rgba(242, 210, 122, 0.38);
  background: linear-gradient(90deg, rgba(7, 29, 53, 0.98), rgba(17, 54, 95, 0.96));
  box-shadow: 0 16px 40px rgba(7, 29, 53, 0.2);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  color: var(--cream-bright);
  line-height: 0.9;
}

.brand-mark__crest {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold-soft);
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  color: rgba(255, 244, 210, 0.84);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 24px 0 92px;
}

.hero__copy,
.hero__visual,
.beer-card,
.spirit__content {
  animation: rise-in 800ms ease both;
}

.hero__copy,
.beer-card:nth-child(2) {
  animation-delay: 120ms;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

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

.section-intro {
  max-width: 44rem;
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(16, 36, 63, 0.86);
}

.section-heading--light .eyebrow {
  color: var(--gold-soft);
}

.section-heading--light h2 {
  color: var(--cream-bright);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  line-height: 0.94;
  max-width: 10.2ch;
  color: var(--navy-deep);
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.96;
  color: var(--navy-deep);
}

h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  line-height: 0.98;
}

.hero__lead,
.beer-card p,
.spirit__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(17, 34, 52, 0.84);
}

.hero__lead {
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 2px solid rgba(242, 210, 122, 0.45);
  background: #d8c394;
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 100%;
  height: auto;
}

.hero__copy {
  position: relative;
  width: min(760px, calc(100% - 96px));
  margin: -78px auto 0 48px;
  padding: 34px 38px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(213, 164, 58, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(7, 29, 53, 0.96), rgba(17, 54, 95, 0.96));
  border: 1px solid rgba(242, 210, 122, 0.34);
  box-shadow: 0 20px 48px rgba(7, 29, 53, 0.22);
  backdrop-filter: blur(12px);
}

.hero__copy h1 {
  color: var(--cream-bright);
}

.hero__copy .eyebrow {
  color: var(--gold-soft);
}

.hero__copy .hero__lead {
  color: rgba(255, 244, 210, 0.86);
}

.beers {
  padding: 8px 0 94px;
}

.beers .section-heading {
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(17, 54, 95, 0.12);
}

.beer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.beer-card {
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(213, 164, 58, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(17, 54, 95, 0.98), rgba(7, 29, 53, 0.98));
  border: 1px solid rgba(242, 210, 122, 0.22);
  box-shadow: 0 18px 42px rgba(7, 29, 53, 0.12);
}

.beer-card--outline {
  background:
    linear-gradient(180deg, rgba(255, 244, 210, 0.88), rgba(242, 224, 171, 0.92));
  border: 1px solid rgba(17, 54, 95, 0.16);
  box-shadow: 0 18px 42px rgba(7, 29, 53, 0.08);
}

.beer-card--wide {
  grid-column: 1 / -1;
}

.beer-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.beer-card h3 {
  color: var(--cream-bright);
}

.beer-card p {
  margin-top: 12px;
  color: rgba(255, 244, 210, 0.82);
}

.beer-card--outline .beer-card__tag,
.beer-card--outline h3,
.beer-card--outline p {
  color: var(--navy-deep);
}

.spirit {
  padding-bottom: 60px;
}

.spirit__content {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(242, 210, 122, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(213, 164, 58, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(17, 54, 95, 0.98), rgba(7, 29, 53, 0.98));
  border: 1px solid rgba(242, 210, 122, 0.22);
  box-shadow: 0 22px 56px rgba(7, 29, 53, 0.22);
}

.spirit__text {
  color: rgba(248, 239, 218, 0.85);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .beer-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero__copy {
    width: calc(100% - 48px);
    margin: -46px auto 0;
    padding: 30px;
  }

  .spirit__content,
  .beer-card {
    padding: 26px;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .site-header,
  .hero,
  .beers,
  .spirit {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .beers {
    padding-bottom: 70px;
  }

  .spirit {
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero__copy {
    width: 100%;
    margin: 16px 0 0;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
