:root {
  --gold: #c79a32;
  --gold-bright: #dfb84f;
  --navy: #091725;
  --navy-mid: #111f2d;
  --ink: #1b1b1b;
  --muted: #73706a;
  --paper: #f7f5f0;
  --beige: #ebe9e6;
  --stone: #cac5bc;
  --white: #ffffff;
  --line: rgba(27, 27, 27, 0.16);
  --line-dark: rgba(255, 255, 255, 0.2);
  --font-display: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---- Shared layout ---- */

.site-header,
.manifesto__inner,
.locali__inner,
.contatti__inner,
.chi-siamo {
  width: min(1900px, calc(100% - 60px));
  margin-left: auto;
  margin-right: auto;
}

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

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

.section-heading--light h2,
.section-heading--light h3 {
  color: var(--white);
}

/* ---- Header ---- */

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: var(--white);
  transform: translateX(-50%);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  flex-shrink: 0;
}

.brand-mark__crest {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a,
.header-cta {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease, opacity 180ms ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.header-cta::after {
  content: "";
  width: 15px;
  height: 1px;
  background: currentColor;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.hero__visual,
.hero__copy {
  grid-area: 1 / 1;
}

.hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.78;
}

.hero__copy {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(1900px, calc(100% - 60px));
  margin: 0 auto;
  padding: 0 0 74px;
  color: var(--white);
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.hero__claims {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  max-width: 860px;
  margin: 42px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
}

.hero__claims li {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* ---- Typography ---- */

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

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

h1 {
  max-width: 880px;
  font-size: 3.15rem;
  line-height: 0.98;
  color: var(--white);
}

h2 {
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--ink);
}

h3 {
  font-size: 1.42rem;
  line-height: 1.18;
}

p {
  margin: 0;
}

/* ---- Editorial intro ---- */

.manifesto {
  padding: 110px 0 82px;
  background: var(--white);
}

.manifesto__inner {
  max-width: 1120px;
  text-align: center;
}

.manifesto h2 {
  font-size: 2rem;
  line-height: 1.28;
  color: var(--ink);
}

.text-link {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ink);
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

/* ---- Beers / focus ---- */

.beers {
  width: 100%;
  max-width: none;
  padding: 104px 0 112px;
  background: var(--beige);
}

.beers .section-heading,
.beer-list {
  width: min(1500px, calc(100% - 60px));
  margin-left: auto;
  margin-right: auto;
}

.beer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.beer-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.78fr);
  align-items: center;
  gap: 34px;
  width: min(940px, 72%);
  min-width: 0;
}

.beer-card:nth-child(1) {
  align-self: flex-start;
}

.beer-card:nth-child(2) {
  align-self: flex-end;
  margin-top: -82px;
}

.beer-card:nth-child(2) .beer-card__media {
  grid-column: 2;
  grid-row: 1;
}

.beer-card:nth-child(2) .beer-card__content {
  grid-column: 1;
  grid-row: 1;
}

.beer-card:nth-child(3) {
  align-self: flex-start;
  margin-top: -28px;
  margin-left: 5%;
}

.beer-card__content {
  min-width: 0;
}

.beer-card__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ded9cf;
}

.beer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 250ms ease;
}

.beer-card:first-child .beer-card__media img {
  padding: 8%;
  object-fit: contain;
  background: #f2efe8;
}

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

.beer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(27, 27, 27, 0.32);
}

.beer-card__tag,
.beer-card__abv {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.beer-card__tag {
  color: var(--ink);
}

.beer-card__abv {
  color: var(--muted);
}

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

.beer-card p {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ---- Check list ---- */

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%);
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.72);
}

.check-list--light li::before {
  background: var(--gold-bright);
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  margin-top: 34px;
  padding: 0 0 8px;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold-bright);
  background: transparent;
  transition: color 180ms ease, opacity 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  color: var(--white);
}

/* ---- Locali ---- */

.locali {
  padding: 104px 0;
  background: var(--navy-mid);
  color: var(--white);
}

.locali__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  margin-top: 8px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.locali__block {
  padding: 34px 42px 34px 0;
}

.locali__block + .locali__block {
  padding-left: 42px;
  padding-right: 0;
  border-left: 1px solid var(--line-dark);
}

.locali__block h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 400;
}

/* ---- Perche Ronche ---- */

.perche {
  width: 100%;
  max-width: none;
  padding: 96px 0 88px;
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1500px, calc(100% - 60px));
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  min-width: 0;
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.value-card h3 {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 500;
}

.value-card p {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.perche__tagline {
  width: min(1500px, calc(100% - 60px));
  margin: 42px auto 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
}

/* ---- Chi siamo ---- */

.chi-siamo {
  padding: 104px 0 96px;
}

.chi-siamo__text {
  max-width: 760px;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---- Contatti ---- */

.contatti {
  padding: 92px 0 74px;
  background: var(--ink);
  color: var(--white);
}

.contatti__link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  transition: color 180ms ease;
  overflow-wrap: anywhere;
}

.contatti__link:hover,
.contatti__link:focus-visible {
  color: var(--gold-bright);
}

.contatti__location {
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---- Motion ---- */

.hero__copy,
.manifesto__inner,
.beer-card,
.locali__inner,
.value-card,
.chi-siamo,
.contatti__inner {
  animation: rise-in 700ms ease both;
}

.manifesto__inner {
  animation-delay: 120ms;
}

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

.beer-card:nth-child(3) {
  animation-delay: 180ms;
}

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

/* ---- Responsive ---- */

@media (min-width: 640px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .manifesto h2 {
    font-size: 2.45rem;
  }
}

@media (min-width: 960px) {
  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 3.15rem;
  }

  h3 {
    font-size: 1.72rem;
  }

  .manifesto h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1300px) {
  h1 {
    font-size: 7rem;
  }

  .manifesto h2 {
    font-size: 3.35rem;
  }
}

@media (max-width: 1100px) {
  .beer-card {
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.84fr);
    width: min(820px, 86%);
  }

  .beer-card:nth-child(2),
  .beer-card:nth-child(3) {
    margin-top: 46px;
  }

  .beer-card:nth-child(3) {
    margin-left: 0;
  }

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

@media (max-width: 760px) {
  .site-header,
  .manifesto__inner,
  .locali__inner,
  .contatti__inner,
  .chi-siamo,
  .beers .section-heading,
  .beer-list,
  .value-grid,
  .perche__tagline {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 76px;
    gap: 16px;
  }

  .site-nav {
    display: none;
  }

  .brand-mark__name {
    font-size: 1.45rem;
  }

  .header-cta {
    padding-left: 18px;
  }

  .hero {
    min-height: 88vh;
    min-height: 88svh;
  }

  .hero__copy {
    width: calc(100% - 32px);
    padding-bottom: 44px;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero__claims {
    gap: 10px 18px;
    margin-top: 30px;
  }

  .hero__claims li {
    font-size: 0.75rem;
  }

  .manifesto,
  .beers,
  .locali,
  .perche,
  .chi-siamo,
  .contatti {
    padding-top: 68px;
    padding-bottom: 62px;
  }

  .beer-list,
  .locali__grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .beer-list {
    gap: 42px;
  }

  .beer-card {
    width: 100%;
    display: block;
  }

  .beer-card:nth-child(1),
  .beer-card:nth-child(2),
  .beer-card:nth-child(3) {
    align-self: stretch;
    margin-top: 0;
    margin-left: 0;
  }

  .beer-card:nth-child(2) .beer-card__media,
  .beer-card:nth-child(2) .beer-card__content {
    grid-column: auto;
    grid-row: auto;
  }

  .beer-card__media {
    margin-bottom: 24px;
  }

  .locali__block {
    padding: 28px 0;
  }

  .locali__block + .locali__block {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .value-grid {
    border-left: 0;
  }

  .value-card {
    padding: 28px 0 30px;
    border-right: 0;
  }

  .perche__tagline {
    font-size: 1.55rem;
  }

  .chi-siamo__text {
    font-size: 1.06rem;
  }

  .contatti__link {
    font-size: 1.78rem;
  }
}

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

  h2,
  .manifesto h2 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .hero__claims {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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