:root {
  --fizz-ink: #264653;
  --fizz-paper: #fffdf7;
  --fizz-mint: #b9e6e1;
  --fizz-chrome: #457b9d;
  --fizz-cherry: #d62828;
  --fizz-sun: #d99b26;
  --fizz-wash: #f8f3ea;
  --fizz-line: #c4d6d1;
  --fizz-shadow: 0 18px 45px rgba(38, 70, 83, 0.16);
  --fizz-serif: Baskerville, Palatino Linotype, Georgia, serif;
  --fizz-sans: Gill Sans, Trebuchet MS, Segoe UI, sans-serif;
  --fizz-code: Courier New, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fizz-ink);
  background: var(--fizz-paper);
  font-family: var(--fizz-sans);
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  color: var(--fizz-paper);
  background: var(--fizz-cherry);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--fizz-sun);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.mint-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.parlor-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(38, 70, 83, 0.18);
  background: rgba(255, 253, 247, 0.96);
}

.parlor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.countermark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.countermark img {
  width: 230px;
  height: auto;
}

.parlor-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.parlor-links a {
  text-decoration: none;
}

.parlor-links a:hover {
  color: var(--fizz-cherry);
}

.nav-nub {
  display: none !important;
  border: 2px solid var(--fizz-ink);
  border-radius: 999px;
  background: var(--fizz-paper);
  padding: 8px 13px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--fizz-cherry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display-title {
  margin: 0;
  font-family: var(--fizz-serif);
  font-weight: 400;
  line-height: 0.96;
}

.intro-copy {
  max-width: 57ch;
  margin: 23px 0 0;
  font-size: 1.1rem;
}

.hero-mast {
  overflow: hidden;
  border-bottom: 1px solid var(--fizz-line);
  background: var(--fizz-wash);
}

.mast-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 38px;
  min-height: 570px;
  padding: 56px 0;
}

.mast-copy {
  position: relative;
  z-index: 1;
}

.mast-copy .display-title {
  max-width: 8.5ch;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
}

.mast-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: var(--fizz-chrome);
  font-family: var(--fizz-code);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mast-ornament::before {
  width: 55px;
  height: 3px;
  background: var(--fizz-cherry);
  content: "";
}

.mast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.soda-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  border: 2px solid var(--fizz-ink);
  border-radius: 3px;
  padding: 11px 19px;
  background: var(--fizz-ink);
  color: var(--fizz-paper);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.soda-button:hover {
  transform: translateY(-3px);
  background: var(--fizz-cherry);
  border-color: var(--fizz-cherry);
}

.soda-button.ghost {
  background: transparent;
  color: var(--fizz-ink);
}

.soda-button.ghost:hover {
  color: var(--fizz-paper);
}

.mast-figure {
  position: relative;
  margin: 0;
}

.mast-figure::before {
  position: absolute;
  top: -14px;
  right: -16px;
  width: 65%;
  height: 62%;
  border: 3px solid var(--fizz-sun);
  content: "";
}

.mast-figure img {
  position: relative;
  width: 100%;
  border: 7px solid var(--fizz-paper);
  box-shadow: var(--fizz-shadow);
}

.mast-figure figcaption {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 300px;
  margin: -37px 0 0 25px;
  border-left: 6px solid var(--fizz-cherry);
  background: var(--fizz-paper);
  padding: 13px 17px;
  font-family: var(--fizz-serif);
  font-size: 0.98rem;
}

.ribbon-strip {
  border-top: 1px solid var(--fizz-line);
  border-bottom: 1px solid var(--fizz-line);
  background: var(--fizz-paper);
}

.ribbon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ribbon-item {
  min-height: 106px;
  padding: 20px 25px;
  border-right: 1px solid var(--fizz-line);
}

.ribbon-item:first-child {
  border-left: 1px solid var(--fizz-line);
}

.ribbon-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fizz-cherry);
  font-family: var(--fizz-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.ribbon-item span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section-block {
  padding: 102px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 55px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading .display-title {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.section-heading p {
  max-width: 53ch;
  margin: 0;
}

.palate-section {
  background: var(--fizz-ink);
  color: var(--fizz-paper);
}

.palate-section .eyebrow {
  color: #f5cd76;
}

.palate-section .section-heading {
  margin-bottom: 35px;
}

.palate-section .section-heading p {
  color: #daece6;
}

.palate-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: stretch;
}

.palate-wheel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border: 1px solid rgba(255, 253, 247, 0.34);
  padding: 17px;
}

.spark-button {
  min-height: 115px;
  border: 0;
  border-radius: 50%;
  background: var(--fizz-paper);
  color: var(--fizz-ink);
  cursor: pointer;
  font-family: var(--fizz-serif);
  font-size: 1.05rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.spark-button:hover,
.spark-button[aria-pressed="true"] {
  transform: rotate(-4deg) scale(1.04);
  background: var(--fizz-sun);
  color: var(--fizz-ink);
}

.spark-button:nth-child(2)[aria-pressed="true"] {
  background: var(--fizz-cherry);
  color: var(--fizz-paper);
}

.spark-button:nth-child(3)[aria-pressed="true"] {
  background: var(--fizz-mint);
}

.spark-button:nth-child(4)[aria-pressed="true"] {
  background: var(--fizz-chrome);
  color: var(--fizz-paper);
}

.palate-readout {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 370px;
  border: 1px solid rgba(255, 253, 247, 0.34);
  padding: 29px;
}

.palate-readout img {
  width: 100%;
  border: 4px solid var(--fizz-paper);
}

.palate-copy h3 {
  margin: 0;
  font-family: var(--fizz-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
}

.palate-copy p {
  margin: 17px 0;
  color: #daece6;
}

.readout-note {
  display: block;
  color: #f5cd76;
  font-family: var(--fizz-code);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.counter-scroll {
  overflow-x: auto;
  padding: 5px 1px 20px;
  scrollbar-color: var(--fizz-chrome) var(--fizz-wash);
}

.sweet-rail {
  display: flex;
  width: max-content;
  gap: 22px;
}

.sweet-card {
  width: 300px;
  overflow: hidden;
  border: 1px solid var(--fizz-line);
  background: var(--fizz-paper);
  box-shadow: 0 7px 0 var(--fizz-ink);
}

.sweet-card:nth-child(even) {
  transform: translateY(24px);
}

.sweet-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-bottom: 1px solid var(--fizz-line);
}

.sweet-card-body {
  padding: 23px;
}

.batch-code {
  display: block;
  color: var(--fizz-cherry);
  font-family: var(--fizz-code);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sweet-card h3 {
  margin: 7px 0 10px;
  font-family: var(--fizz-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
}

.sweet-card p {
  margin: 0;
  font-size: 0.94rem;
}

.sweet-card dl {
  margin: 19px 0 0;
  border-top: 1px solid var(--fizz-line);
  padding-top: 14px;
}

.sweet-card dt {
  float: left;
  clear: left;
  width: 37%;
  color: var(--fizz-chrome);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sweet-card dd {
  margin: 0 0 7px 39%;
  font-size: 0.78rem;
}

.texture-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 54px 0 0;
  border: 1px solid var(--fizz-line);
  background: var(--fizz-paper);
}

.texture-cell {
  min-height: 185px;
  border-right: 1px solid var(--fizz-line);
  padding: 21px;
}

.texture-cell:last-child {
  border-right: 0;
}

.texture-cell:nth-child(2) {
  background: #f4faf8;
}

.texture-cell:nth-child(3) {
  background: #fff5ee;
}

.texture-cell:nth-child(4) {
  background: #fff9df;
}

.texture-cell dt {
  color: var(--fizz-cherry);
  font-family: var(--fizz-serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.texture-cell dd {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.selector-section {
  background: #f7eee0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.filter-button {
  border: 1px solid var(--fizz-ink);
  border-radius: 999px;
  padding: 9px 15px;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  background: var(--fizz-cherry);
  color: var(--fizz-paper);
  border-color: var(--fizz-cherry);
}

.sorter-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.sorter-card {
  min-height: 280px;
  border: 1px solid var(--fizz-line);
  background: var(--fizz-paper);
  padding: 22px;
  box-shadow: 0 8px 0 rgba(38, 70, 83, 0.12);
}

.sorter-card:nth-child(2) {
  border-top: 7px solid var(--fizz-cherry);
}

.sorter-card:nth-child(3) {
  border-top: 7px solid var(--fizz-mint);
}

.sorter-card:nth-child(4) {
  border-top: 7px solid var(--fizz-sun);
}

.sorter-card:nth-child(5) {
  border-top: 7px solid var(--fizz-chrome);
}

.sorter-card h3 {
  margin: 13px 0 10px;
  font-family: var(--fizz-serif);
  font-size: 1.48rem;
  font-weight: 400;
  line-height: 1.05;
}

.sorter-card p {
  margin: 0;
  font-size: 0.9rem;
}

.sorter-card .batch-code {
  color: var(--fizz-chrome);
}

.mini-ribbon {
  display: inline-block;
  margin-top: 20px;
  border: 1px solid var(--fizz-cherry);
  padding: 5px 8px;
  color: var(--fizz-cherry);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heritage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
  gap: 70px;
  align-items: center;
}

.heritage-visual {
  position: relative;
  margin: 0;
}

.heritage-visual::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 44%;
  height: 44%;
  background: var(--fizz-sun);
  content: "";
  z-index: -1;
}

.heritage-visual img {
  border: 8px solid var(--fizz-paper);
  box-shadow: var(--fizz-shadow);
}

.heritage-copy .display-title {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
}

.heritage-copy p {
  max-width: 58ch;
}

.heritage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.heritage-list li {
  border-left: 4px solid var(--fizz-cherry);
  background: var(--fizz-wash);
  padding: 11px 13px;
  font-size: 0.89rem;
}

.keyword-cabinet {
  background: var(--fizz-mint);
}

.cabinet-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 53px;
  align-items: center;
}

.cabinet-copy .display-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.ticket-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flavor-ticket {
  border: 2px solid var(--fizz-ink);
  background: var(--fizz-paper);
  padding: 9px 13px;
  box-shadow: 4px 4px 0 var(--fizz-chrome);
  font-family: var(--fizz-code);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.flavor-ticket:nth-child(3n) {
  border-color: var(--fizz-cherry);
  box-shadow: 4px 4px 0 var(--fizz-cherry);
}

.flavor-ticket:nth-child(4n) {
  border-color: var(--fizz-sun);
  box-shadow: 4px 4px 0 var(--fizz-sun);
}

.community-band {
  padding: 63px 0;
  background: var(--fizz-cherry);
  color: var(--fizz-paper);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
}

.community-grid h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--fizz-serif);
  font-size: clamp(2.1rem, 3.7vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.community-grid p {
  max-width: 61ch;
  margin: 13px 0 0;
}

.white-button {
  border-color: var(--fizz-paper);
  background: var(--fizz-paper);
  color: var(--fizz-cherry);
}

.white-button:hover {
  border-color: var(--fizz-ink);
  background: var(--fizz-ink);
  color: var(--fizz-paper);
}

.site-footer {
  padding: 61px 0 24px;
  background: #183c49;
  color: #eaf6f0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1fr;
  gap: 27px;
  padding-bottom: 47px;
}

.footer-mark img {
  width: 240px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.footer-mark p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: #c1ddd7;
  font-size: 0.91rem;
}

.footer-columns h3 {
  margin: 0 0 16px;
  color: #f7d684;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-columns li {
  margin: 0 0 8px;
  font-size: 0.87rem;
}

.footer-columns a {
  text-decoration: none;
}

.footer-columns a:hover {
  color: #f7d684;
}

.footer-address {
  margin: 0;
  color: #c1ddd7;
  font-size: 0.87rem;
  font-style: normal;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(234, 246, 240, 0.28);
  padding-top: 20px;
  color: #b7d5cf;
  font-family: var(--fizz-code);
  font-size: 0.69rem;
}

.preference-card {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(390px, calc(100% - 40px));
  border: 3px solid var(--fizz-ink);
  background: var(--fizz-paper);
  box-shadow: 8px 8px 0 var(--fizz-cherry);
  padding: 19px;
}

.preference-card h2 {
  margin: 0;
  font-family: var(--fizz-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.preference-card p {
  margin: 7px 0 15px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.preference-card button {
  width: 100%;
}

.info-mast {
  padding: 93px 0 69px;
  border-bottom: 1px solid var(--fizz-line);
  background: var(--fizz-wash);
}

.info-mast .display-title {
  max-width: 15ch;
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.info-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 63px;
  padding: 80px 0 106px;
}

.info-rail {
  align-self: start;
  border-top: 5px solid var(--fizz-cherry);
  background: var(--fizz-mint);
  padding: 25px;
}

.info-rail h2 {
  margin: 0 0 12px;
  font-family: var(--fizz-serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.05;
}

.info-rail p {
  margin: 0;
  font-size: 0.91rem;
}

.info-rail address {
  margin-top: 19px;
  font-size: 0.87rem;
  font-style: normal;
}

.ledger-copy {
  max-width: 760px;
}

.ledger-copy h2 {
  margin: 42px 0 12px;
  font-family: var(--fizz-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
}

.ledger-copy h2:first-child {
  margin-top: 0;
}

.ledger-copy h3 {
  margin: 26px 0 7px;
  color: var(--fizz-cherry);
  font-size: 0.93rem;
  letter-spacing: 0.03em;
}

.ledger-copy p,
.ledger-copy li {
  max-width: 70ch;
}

.ledger-copy ul {
  padding-left: 20px;
}

.ledger-copy li {
  margin-bottom: 9px;
}

.ledger-copy a {
  color: var(--fizz-cherry);
}

.story-stamp {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 23px;
  align-items: center;
  margin: 32px 0;
  border-top: 1px solid var(--fizz-line);
  border-bottom: 1px solid var(--fizz-line);
  padding: 25px 0;
}

.story-stamp img {
  border: 4px solid var(--fizz-paper);
  box-shadow: 5px 5px 0 var(--fizz-chrome);
}

.story-stamp p {
  margin: 0;
  font-family: var(--fizz-serif);
  font-size: 1.2rem;
  line-height: 1.35;
}

@media (max-width: 920px) {
  .parlor-bar {
    min-height: 76px;
  }

  .countermark img {
    width: 195px;
  }

  .nav-nub {
    display: block !important;
  }

  .parlor-links {
    display: none !important;
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--fizz-line);
    background: var(--fizz-paper);
    padding: 8px 24px 18px;
  }

  .parlor-links[data-menu-open="yes"] {
    display: flex !important;
  }

  .parlor-links a {
    border-top: 1px solid var(--fizz-line);
    padding: 11px 0;
  }

  .mast-grid,
  .heritage-grid,
  .cabinet-grid,
  .info-layout {
    grid-template-columns: 1fr;
  }

  .mast-grid {
    gap: 34px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .palate-layout {
    grid-template-columns: 1fr;
  }

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

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

  .texture-cell:nth-child(2) {
    border-right: 0;
  }

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

  .info-rail {
    order: 2;
  }
}

@media (max-width: 620px) {
  .mint-shell {
    width: min(100% - 32px, 1180px);
  }

  .countermark img {
    width: 178px;
  }

  .mast-grid {
    min-height: auto;
    padding: 48px 0;
  }

  .mast-copy .display-title {
    font-size: 3.35rem;
  }

  .ribbon-row {
    grid-template-columns: 1fr 1fr;
  }

  .ribbon-item:nth-child(3) {
    border-left: 1px solid var(--fizz-line);
  }

  .palate-wheel {
    grid-template-columns: 1fr 1fr;
  }

  .palate-readout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sorter-deck {
    grid-template-columns: 1fr;
  }

  .texture-ledger {
    grid-template-columns: 1fr;
  }

  .texture-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--fizz-line);
  }

  .texture-cell:last-child {
    border-bottom: 0;
  }

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

  .community-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-base {
    flex-direction: column;
  }

  .section-block {
    padding: 72px 0;
  }

  .info-layout {
    gap: 40px;
    padding: 60px 0 80px;
  }

  .story-stamp {
    grid-template-columns: 1fr;
  }

  .story-stamp img {
    width: 150px;
  }
}
