:root {
  --cream: #f6f0e5;
  --paper: #fffaf1;
  --ink: #171716;
  --muted: #655f58;
  --coral: #df676a;
  --coral-dark: #b9474f;
  --yellow: #f5ca38;
  --blue: #3b46b5;
  --line: rgba(23, 23, 22, 0.18);
  --radius: 1.4rem;
  --shadow: 0 18px 60px rgba(23, 23, 22, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 5.7rem;
  padding: 0.7rem clamp(1.2rem, 4vw, 4rem);
  background: rgba(246, 240, 229, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: 5.8rem;
  height: 4.2rem;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 2.8rem);
}

nav a,
.text-link,
.back-to-top {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(23, 23, 22, 0.16);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-small {
  min-height: 2.7rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.74rem;
}

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

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

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

.hero {
  display: grid;
  min-height: calc(100vh - 5.7rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(34rem, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5.5rem);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--coral-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ff9ea0;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 8ch;
  margin-bottom: 1.6rem;
  font-size: clamp(4rem, 8.7vw, 9.2rem);
}

h1 span {
  color: var(--coral);
}

.hero-lede {
  max-width: 34rem;
  margin: 0 0 2.2rem;
  color: #49443f;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.5rem;
}

.text-link span {
  color: var(--coral-dark);
  font-size: 1.4rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.hero-art {
  position: relative;
  min-height: min(68vw, 44rem);
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: -16%;
  width: 80%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.art-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.art-card-pattern {
  top: 6%;
  left: 0;
  width: 84%;
  height: 51%;
  transform: rotate(-4deg);
}

.art-card-focus {
  right: -3%;
  bottom: 5%;
  width: 74%;
  height: 44%;
  transform: rotate(5deg);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  left: 5%;
  display: grid;
  width: clamp(7rem, 12vw, 10rem);
  aspect-ratio: 1;
  place-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 7px 7px 0 var(--ink);
  text-align: center;
  transform: rotate(-8deg);
}

.hero-stamp strong {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero-stamp span {
  max-width: 7rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.ticker {
  overflow: hidden;
  color: white;
  background: var(--coral);
  border-block: 3px solid var(--ink);
}

.ticker div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
}

.ticker span {
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5.5rem);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  gap: clamp(3rem, 8vw, 9rem);
  color: white;
  background: var(--ink);
}

.section-heading h2,
.impact-intro h2,
.form-intro h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7.2rem);
}

.story-heading h2 {
  max-width: 8.5ch;
}

.story-copy {
  align-self: end;
  max-width: 38rem;
  color: #c9c3ba;
  font-size: 1.05rem;
}

.story-copy .lead {
  color: white;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
}

.callout {
  margin-top: 2rem;
  padding-left: 1.2rem;
  color: #ff9ea0;
  border-left: 4px solid var(--coral);
  font-size: 1.2rem;
  font-weight: 800;
}

.beers {
  background: var(--paper);
}

.beers-heading {
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 0.5fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.beers-heading h2 {
  max-width: 9ch;
}

.beers-heading > p {
  max-width: 30rem;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.beer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.3rem);
}

.beer-card {
  overflow: hidden;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}

.beer-image {
  height: clamp(15rem, 30vw, 27rem);
  overflow: hidden;
  background: var(--ink);
}

.beer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.beer-card:hover .beer-image img {
  transform: scale(1.035);
}

.beer-image-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.beer-image-split img:first-child {
  object-position: 43% center;
}

.beer-image-split img:last-child {
  object-position: 57% center;
}

.beer-copy {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.beer-type {
  margin: 0 0 0.8rem;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beer-copy h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 3.7vw, 3.2rem);
}

.beer-copy > p:last-child {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
}

.beer-card-pegasus {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  background: #263428;
  color: white;
}

.beer-card-pegasus .beer-image {
  height: clamp(18rem, 38vw, 34rem);
}

.beer-card-pegasus .beer-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.beer-card-pegasus .beer-copy > p:last-child {
  color: #d1d8cc;
}

.beer-story-link {
  display: inline-flex;
  width: fit-content;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  color: #f6dc9a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.beer-story-link span {
  font-size: 1.2rem;
  transition: transform 160ms ease;
}

.beer-story-link:hover span {
  transform: translateX(0.25rem);
}

.section-action {
  display: flex;
  justify-content: center;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.impact {
  color: white;
  background: var(--blue);
}

.impact-intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.impact-intro .eyebrow {
  grid-column: 1 / -1;
}

.impact-intro h2 {
  max-width: 10ch;
}

.impact-intro > p:last-child {
  align-self: end;
  max-width: 34rem;
  margin: 0 0 0.8rem;
  color: #d6d8ff;
  font-size: 1.15rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.impact-grid article {
  min-height: 19rem;
  padding: 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.impact-grid article:last-child {
  border-right: 0;
}

.impact-grid span {
  display: block;
  margin-bottom: 5rem;
  color: #aeb4ff;
  font-weight: 900;
}

.impact-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.impact-grid p {
  margin: 0;
  color: #d6d8ff;
  font-size: 0.94rem;
}

.forms-section {
  padding: 0;
  background: var(--paper);
}

.newsletter-panel,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(25rem, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5.5rem);
}

.newsletter-panel {
  align-items: center;
  background: var(--yellow);
}

.contact-panel {
  color: white;
  background: var(--coral-dark);
}

.form-intro h2 {
  max-width: 9ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.2vw, 6rem);
  overflow-wrap: anywhere;
}

.form-intro > p:last-child {
  max-width: 34rem;
  font-size: 1.05rem;
}

.newsletter-form,
.contact-form {
  align-self: center;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

label span {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: white;
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  border-color: rgba(255, 255, 255, 0.5);
}

.input-button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.input-button input {
  min-width: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  color: #3d382f;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.check input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--ink);
}

.check-light {
  color: #ffe3df;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.form-submit .form-status {
  margin: 0;
}

.form-status.is-success {
  color: #16472b;
}

.contact-panel .form-status.is-success {
  color: #fff5bf;
}

.form-status.is-error {
  color: #761d27;
}

.contact-panel .form-status.is-error {
  color: #fff5bf;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 3rem;
  padding: 3rem clamp(1.2rem, 5vw, 5.5rem);
  color: white;
  background: var(--ink);
}

.footer-brand img {
  width: 8rem;
  height: 5.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-weight: 800;
}

.footer-details {
  color: #aaa59e;
  font-size: 0.78rem;
}

.footer-details p {
  margin: 0.2rem 0;
}

.back-to-top {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-art {
    min-height: min(86vw, 42rem);
  }

  .story,
  .newsletter-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 44rem;
  }

  .impact-intro {
    grid-template-columns: 1fr;
  }

  .impact-intro > p:last-child {
    margin-top: 2rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid article:nth-child(2) {
    border-right: 0;
  }

  .impact-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 5rem;
  }

  .site-header {
    min-height: 4.8rem;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding-block: 0.45rem;
  }

  .brand {
    width: 4.8rem;
    height: 3.7rem;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  .hero-art {
    min-height: 92vw;
  }

  .art-card-pattern {
    width: 92%;
  }

  .art-card-focus {
    width: 82%;
  }

  .hero-stamp {
    bottom: 0;
    left: 1%;
  }

  .beers-heading,
  .beer-grid,
  .beer-card-pegasus,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .beer-card-pegasus {
    display: block;
  }

  .beer-image {
    height: 17rem;
  }

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

  .impact-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .impact-grid article:last-child {
    border-bottom: 0;
  }

  .impact-grid span {
    margin-bottom: 2.5rem;
  }

  .newsletter-panel,
  .contact-panel {
    gap: 2.5rem;
  }

  .input-button {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
