@charset "utf-8";

:root {
  --black: #0a0a08;
  --black-soft: #11100d;
  --card: #15130f;
  --card-deep: #0e0d0a;
  --cream: #f2eadc;
  --muted: #cfc5b6;
  --gold: #d7a529;
  --gold-dark: #8f6415;
  --oak: #e6d1a4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 96px;
  background:
    radial-gradient(circle at 50% 0, rgba(72, 58, 30, 0.12), transparent 35%),
    var(--black);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.48;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background-color: var(--oak);
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.14), rgba(94,60,20,.07)),
    url("../images/white_oak.png");
  background-position: center;
  background-size: cover;
  border-top: 1px solid rgba(255,255,255,.42);
  border-bottom: 4px solid #c89d43;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 7px 18px rgba(0,0,0,.30);
}

.site-header-inner {
  width: min(1480px, 100%);
  min-height: 92px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  display: block;
  width: 138px;
  max-height: 72px;
  object-fit: contain;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  flex: 1 1 auto;
}

.primary-menu > a,
.nav-dropdown-toggle {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2b2116;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.primary-menu > a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -9px;
  left: 50%;
  height: 3px;
  background: var(--gold-dark);
  transition: left 180ms ease, right 180ms ease;
}

.primary-menu > a:hover::after,
.primary-menu > a:focus-visible::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.is-active .nav-dropdown-toggle::after {
  right: 0;
  left: 0;
}

.header-social,
.footer-social {
  display: flex;
  gap: 10px;
}

.header-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.header-social img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle span {
  margin-left: 4px;
  font-size: 0.75em;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 1100;
  min-width: 205px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  background: #171411;
  border: 1px solid rgba(215,165,41,.72);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(0,0,0,.42);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--cream);
  border-radius: 4px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.is-active {
  background: rgba(215,165,41,.17);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  background: rgba(255,255,255,.10);
  color: #2b2116;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
  margin-top: 5px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

main {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
  padding: 62px 0 22px;
}

.guide-heading {
  padding: 0 18px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  align-items: end;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.guide-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  line-height: .94;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(255,255,255,.08);
}

.guide-introduction {
  max-width: 520px;
  margin: 0 0 5px;
  color: #e2d9cc;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
}

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

.beer-style-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: 40% 60%;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 26%, rgba(215,165,41,.10), transparent 34%),
    linear-gradient(145deg, #171510, #0e0d0a);
  border: 1px solid rgba(215,165,41,.70);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.beer-style-image {
  position: relative;
  min-width: 0;
  padding: 22px 6px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.beer-style-image::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 13px;
  left: 8%;
  height: 22px;
  background: rgba(0,0,0,.68);
  border-radius: 50%;
  filter: blur(9px);
}

.beer-style-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 340px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,.55));
}

.beer-style-content {
  min-width: 0;
  padding: 24px 22px 22px 5px;
}

.beer-style-content h2 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255,255,255,.08);
}

.beer-style-name {
  margin: 7px 0 15px;
  color: var(--gold);
  font-weight: 800;
}

.beer-style-description {
  min-height: 76px;
  margin: 0 0 16px;
  color: #eee5d9;
}

.beer-style-facts {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(215,165,41,.60);
}

.beer-style-facts div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  padding: 3px 0;
}

.beer-style-facts dt {
  color: var(--gold);
  font-size: .83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beer-style-facts dd {
  margin: 0;
  color: #f4ede3;
}

.beer-terms {
  margin-top: 14px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 30px;
  background: linear-gradient(120deg, #181611, #0e0d0a);
  border: 1px solid rgba(215,165,41,.72);
  border-radius: 8px;
}

.beer-terms-title {
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(215,165,41,.55);
}

.hop-icon {
  color: var(--gold);
  font-size: 2.6rem;
}

.beer-terms-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.beer-terms-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 26px;
}

.beer-terms-list div {
  min-width: 0;
}

.beer-terms-list dt {
  color: var(--gold);
  font-size: .83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beer-terms-list dt span {
  font-size: .72rem;
}

.beer-terms-list dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.guide-cta {
  margin: 14px 0 32px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(215,165,41,.52);
  border-bottom: 1px solid rgba(215,165,41,.52);
}

.guide-cta h2 {
  display: inline;
  margin: 0 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.guide-cta p:last-child {
  display: inline;
  margin: 0;
  color: #d6cec2;
}

.beer-list-button {
  min-width: 250px;
  min-height: 50px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.beer-list-button:hover,
.beer-list-button:focus-visible {
  background: var(--gold);
  color: #151006;
}

.sip-footer {
  min-height: 132px;
  padding: 20px max(24px, calc((100% - 1580px)/2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: #14100e;
  border-top: 1px solid rgba(200,157,67,.28);
}

.footer-brand img {
  display: block;
  width: 76px;
}

.footer-message {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-message strong {
  color: #e2ad43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-message span {
  font-size: .9rem;
}

.sip-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #d5aa52;
  border: 2px solid #17120d;
  border-radius: 13px;
}

.sip-footer .footer-social img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

@media (max-width: 1220px) {
  .beer-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .guide-introduction {
    max-width: 800px;
  }
}

@media (max-width: 1080px) {
  body {
    padding-top: 84px;
  }

  .site-header-inner {
    min-height: 80px;
  }

  .site-brand img {
    width: 118px;
  }

  .primary-menu {
    gap: 13px;
  }

  .primary-menu > a,
  .nav-dropdown-toggle {
    font-size: .92rem;
  }

  .beer-terms {
    grid-template-columns: 1fr;
  }

  .beer-terms-title {
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(215,165,41,.55);
  }
}

@media (max-width: 820px) {
  body {
    padding-top: 76px;
  }

  .site-header-inner {
    min-height: 72px;
    padding: 8px 16px;
  }

  .site-brand img {
    width: 104px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-toggle-label {
    margin-right: 8px;
  }

  .primary-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 16px 22px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--oak);
    background-image:
      linear-gradient(to bottom,rgba(255,255,255,.14),rgba(94,60,20,.07)),
      url("../images/white_oak.png");
    background-position: center;
    background-size: cover;
    border-bottom: 4px solid #c89d43;
    box-shadow: 0 16px 24px rgba(0,0,0,.28);
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-menu > a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(90,65,28,.22);
  }

  .primary-menu > a::after {
    display: none;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(90,65,28,.22);
    text-align: left;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 7px 16px;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: rgba(81,55,22,.08);
    border: 0;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu,
  .nav-dropdown.is-active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    color: #2b2116;
    border-bottom: 1px solid rgba(90,65,28,.13);
    font-family: Georgia, "Times New Roman", serif;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible,
  .nav-dropdown-menu a.is-active {
    background: rgba(138,97,28,.12);
    color: #6e4914;
  }

  .header-social {
    display: none;
  }

  main {
    width: min(100% - 24px, 1500px);
    padding-top: 42px;
  }

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

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

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

  .beer-style-card {
    grid-template-columns: 38% 62%;
  }

  .beer-style-image img {
    height: 310px;
  }

  .beer-terms-list {
    grid-template-columns: 1fr;
  }

  .beer-list-button {
    width: 100%;
  }

  .sip-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .guide-heading {
    padding-right: 5px;
    padding-left: 5px;
  }

  .beer-style-card {
    grid-template-columns: 1fr;
  }

  .beer-style-image {
    min-height: 280px;
    padding-top: 16px;
  }

  .beer-style-image img {
    height: 270px;
  }

  .beer-style-content {
    padding: 8px 22px 24px;
  }

  .beer-style-description {
    min-height: 0;
  }
}

/* V5: new style images recreated from the empty branded glass */
.beer-style-image img {
  height: 350px;
  width: auto;
  max-width: 96%;
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 650px) {
  .beer-style-image img {
    height: 320px;
  }
}

@media (max-width: 440px) {
  .beer-style-image img {
    height: 280px;
  }
}


/* V6: Why the Special Glass card */
.special-glass-card {
  margin: 18px 0 14px;
  padding: 36px 38px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 165, 41, .14), transparent 34%),
    linear-gradient(145deg, #191711, #0e0d0a);
  border: 1px solid rgba(215, 165, 41, .72);
  border-radius: 10px;
}

.special-glass-heading {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.special-glass-heading h2 {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.special-glass-heading > p:last-child {
  margin: 0;
  color: #d8cec0;
  font-size: 1.03rem;
}

.special-glass-diagram {
  position: relative;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 390px) minmax(220px, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 22px 34px;
  align-items: center;
}

.special-glass-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 10px;
}

.special-glass-image img {
  display: block;
  width: auto;
  height: 535px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .58));
}

.glass-callout {
  position: relative;
  padding: 22px 24px;
  background: rgba(20, 18, 14, .92);
  border: 1px solid rgba(215, 165, 41, .42);
  border-radius: 8px;
}

.glass-callout h3 {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.glass-callout p {
  margin: 0;
  color: #e5dccf;
}

.glass-callout-middle,
.glass-callout-base {
  text-align: right;
}

.glass-callout-middle {
  grid-column: 1;
  grid-row: 1;
}

.glass-callout-base {
  grid-column: 1;
  grid-row: 2;
}

.glass-callout-rim {
  grid-column: 3;
  grid-row: 1;
}

.glass-callout-etched {
  grid-column: 3;
  grid-row: 2;
}

.callout-line {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.callout-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.glass-callout-middle .callout-line,
.glass-callout-base .callout-line {
  right: -55px;
}

.glass-callout-middle .callout-line::after,
.glass-callout-base .callout-line::after {
  right: -4px;
}

.glass-callout-rim .callout-line,
.glass-callout-etched .callout-line {
  left: -55px;
}

.glass-callout-rim .callout-line::after,
.glass-callout-etched .callout-line::after {
  left: -4px;
}

.special-glass-note {
  max-width: 920px;
  margin: 26px auto 0;
  padding: 16px 20px;
  color: #efe6d9;
  text-align: center;
  background: rgba(215, 165, 41, .10);
  border-top: 1px solid rgba(215, 165, 41, .42);
  border-bottom: 1px solid rgba(215, 165, 41, .42);
}

@media (max-width: 980px) {
  .special-glass-diagram {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: stretch;
  }

  .special-glass-image {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 450px;
    order: -1;
  }

  .special-glass-image img {
    height: 430px;
  }

  .glass-callout-middle,
  .glass-callout-base,
  .glass-callout-rim,
  .glass-callout-etched {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .callout-line {
    display: none;
  }
}

@media (max-width: 620px) {
  .special-glass-card {
    padding: 30px 18px 24px;
  }

  .special-glass-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .special-glass-image {
    min-height: 370px;
  }

  .special-glass-image img {
    height: 355px;
  }

  .glass-callout {
    padding: 19px 20px;
  }
}
