:root {
  --ink: #171717;
  --paper: #f6f3ec;
  --white: #ffffff;
  --blue: #1ea3d8;
  --blue-deep: #12769c;
  --gold: #f7bf1b;
  --gold-deep: #cfa500;
  --red: #ff2a1d;
  --green: #0db646;
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --title-font: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body-font: "Arial Narrow", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(30, 163, 216, 0.14), transparent 28%),
    linear-gradient(180deg, #faf7f2 0%, var(--paper) 100%);
}

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

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: clip;
  padding-bottom: 3.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(247, 191, 27, 0.18), rgba(30, 163, 216, 0.14));
}

.hero__band {
  position: absolute;
  inset: auto 0 0;
  height: 0.65rem;
  background: linear-gradient(90deg, var(--blue) 0 35%, var(--gold) 35% 70%, var(--red) 70% 100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  width: 2.2rem;
  height: auto;
}

.brand span {
  font-family: var(--title-font);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.nav__links a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.75rem;
}

.hero__copy {
  order: 2;
}

.hero__visual {
  order: 1;
  min-height: 320px;
}

.hero__banner {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f0ece5;
}

.hero__logo {
  width: min(42vw, 220px);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.14));
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.68);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--title-font);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.8rem, 12vw, 5.8rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 7vw, 4rem);
  max-width: 11ch;
}

h3 {
  font-size: clamp(1.7rem, 6vw, 2.8rem);
}

.lede,
.about__copy p,
.beer-card__body p,
.contact__panel p,
.contact__nap,
.contact__links a {
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--light {
  background: linear-gradient(90deg, var(--blue), var(--gold));
  color: var(--ink);
}

.section {
  padding: 4rem 0;
}

.section__heading {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.section--beers {
  background:
    linear-gradient(180deg, rgba(30, 163, 216, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--paper), #f8f5ee);
}

.beer-grid {
  display: grid;
  gap: 1rem;
}

.beer-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.beer-card__image {
  padding: 0.85rem;
  background: #f8f6f1;
}

.beer-card__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.beer-card__body {
  padding: 1rem 1rem 1.2rem;
}

.beer-card__style {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.beer-card--american .beer-card__image {
  background: linear-gradient(180deg, rgba(255, 42, 29, 0.08), rgba(30, 163, 216, 0.08));
}

.beer-card--american .beer-card__style,
.beer-card--american h3 {
  color: var(--blue-deep);
}

.beer-card--helles .beer-card__image {
  background: linear-gradient(180deg, rgba(247, 191, 27, 0.12), rgba(13, 182, 70, 0.06));
}

.beer-card--helles .beer-card__style,
.beer-card--helles h3 {
  color: var(--gold-deep);
}

.beer-card--atomic .beer-card__image {
  background: linear-gradient(180deg, rgba(247, 191, 27, 0.12), rgba(30, 163, 216, 0.08));
}

.beer-card--atomic .beer-card__style,
.beer-card--atomic h3 {
  color: var(--green);
}

.section--about {
  background:
    linear-gradient(180deg, rgba(247, 191, 27, 0.08), rgba(255, 255, 255, 0)),
    var(--paper);
}

.about {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.about__logo {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(30, 163, 216, 0.08), rgba(247, 191, 27, 0.12)),
    var(--white);
  border: 1px solid var(--line);
}

.about__logo img {
  width: min(220px, 52vw);
  height: auto;
}

.section--contact {
  background:
    linear-gradient(135deg, rgba(255, 42, 29, 0.08), rgba(30, 163, 216, 0.08)),
    linear-gradient(180deg, #f8f5ef, #f2eee7);
}

.contact {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.contact__panel,
.contact__art {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact__panel {
  padding: 1.4rem;
  background: var(--ink);
  color: var(--white);
}

.contact__panel .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.contact__panel h2 {
  margin-bottom: 1rem;
}

.contact__nap {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
  font-style: normal;
}

.contact__nap strong {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.contact__links {
  display: grid;
  gap: 0.65rem;
}

.contact__links a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.contact__art {
  background: var(--white);
}

.contact__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 760px) {
  .shell {
    width: min(1160px, calc(100% - 2rem));
  }

  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .hero__banner {
    min-height: 420px;
  }

  .beer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
  }

  .contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}
