@font-face {
  font-family: Barlow;
  src: url(assets/display.woff2) format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/body.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(assets/bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #2b2825;
  --olive: #46552f;
  --leaf: #55673c;
  --gold: #d1a054;
  --cream: #f4efe2;
  --line: #e2ded6;
  --muted: #605f56;
  --white: #fff;
  color: var(--ink);
  font:
    normal 106.25%/1.45 DM,
    system-ui,
    sans-serif;
  background: white;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:disabled {
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  line-height: 1.48;
}
.skip {
  position: fixed;
  top: -120px;
  z-index: 10;
  background: white;
  color: var(--ink);
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.mast {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.mast-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px 30px;
}
.stacked-brand {
  width: 62px;
  height: 52px;
  object-fit: contain;
  display: block;
}
.guest-mast {
  position: sticky;
  top: 0;
  z-index: 4;
}
.head-actions[hidden] {
  display: none;
}
#balance {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
  background: var(--cream);
  padding: 6px 11px;
  border-radius: 18px;
}
#quick-code {
  background: var(--olive);
  color: white;
  border: 0;
}
.head-actions .icon-btn {
  flex-shrink: 0;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
}
.mode {
  font-size: 0.73rem;
  color: var(--olive);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mode:before {
  content: "";
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--gold);
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 38px 30px 120px;
  min-height: 68vh;
}
main:focus {
  outline: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
}
.club-card {
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid #dedbcf;
  overflow: hidden;
}
.wallet-face {
  background: linear-gradient(115deg, var(--olive), var(--leaf) 90%);
  color: #fff;
  position: relative;
  isolation: isolate;
  padding: 24px 26px 18px;
}
.wallet-face:before {
  content: "";
  position: absolute;
  top: -7px;
  right: 20px;
  width: 74px;
  height: 15px;
  transform: skew(-20deg);
  background: linear-gradient(90deg, var(--gold) 0 45%, var(--cream) 45%);
  border-radius: 0 0 8px 8px;
}
.card-top,
.card-foot,
.pill,
.text-btn,
.gold,
.secondary,
.hold-banner,
.read,
.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-top {
  font-weight: 700;
  font-size: 0.93rem;
}
.amount {
  font:
    900 clamp(3.6rem, 6.4vw, 5.6rem)/1 Barlow,
    system-ui,
    sans-serif;
  letter-spacing: -0.05em;
  margin: 12px 0 18px;
  position: relative;
  z-index: 1;
  max-width: 75%;
  overflow-wrap: anywhere;
}
.amount span {
  font:
    700 0.94rem DM,
    system-ui,
    sans-serif;
  letter-spacing: 0;
  display: inline;
  vertical-align: baseline;
}
.mascot {
  position: absolute;
  right: 7%;
  top: 12px;
  height: calc(100% - 78px);
  width: 24%;
  object-fit: contain;
  object-position: center;
}
.card-foot {
  width: 100%;
  border-top: 1px dashed #acb39b;
  padding-top: 15px;
  justify-content: space-between;
  gap: 10px;
}
.card-foot > span {
  font-size: 0.77rem;
}
.gold,
.primary,
.secondary {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  justify-content: center;
  padding: 10px 16px;
}
.gold,
.primary {
  background: var(--gold);
  color: var(--ink);
}
.gold:active,
.primary:active {
  background: #c2924a;
}
.secondary {
  background: var(--cream);
  color: var(--olive);
}
.wide {
  width: 100%;
  margin-top: 8px;
}
.text-btn {
  min-height: 44px;
  color: var(--olive);
  font-weight: 700;
  font-size: 0.88rem;
  justify-content: center;
}
.next-goal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  width: 100%;
  text-align: left;
  padding: 11px 24px 15px;
  color: var(--olive);
}
.goal-copy {
  display: grid;
  min-width: 0;
}
.goal-copy small {
  font-size: 0.72rem;
  color: var(--muted);
}
.goal-copy strong {
  color: var(--ink);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}
.goal-gap {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.8rem;
  font-weight: 700;
}
progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  display: block;
  border-radius: 9px;
  appearance: none;
  border: 0;
  background: #d9d5c8;
  accent-color: var(--leaf);
}
progress::-webkit-progress-bar {
  background: #d9d5c8;
  border-radius: 9px;
}
progress::-webkit-progress-value {
  background: var(--leaf);
  border-radius: 9px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 30px 0 15px;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.reward {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 14px 18px 18px;
  background: white;
  min-width: 0;
}
.home-perks .section-head {
  margin-top: 0;
}
.home-rewards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.selected-reward {
  border: 2px solid var(--olive);
}
.home-perks .reward,
.tier .reward {
  background: linear-gradient(167deg, #faf8f0, white 68%);
}
.reward .food img {
  mix-blend-mode: multiply;
}
.home-perks .food {
  height: clamp(96px, 12vw, 158px);
}
.reward:focus-visible,
.next-goal:focus-visible {
  outline-offset: -3px;
}
.home-perks .section-head h2,
.feature .section-head h2 {
  text-wrap: balance;
}
.food {
  width: 100%;
  height: clamp(100px, 13vw, 150px);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.food img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.reward-type {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.025em;
}
.reward h3 {
  margin: 4px 0 13px;
  overflow-wrap: anywhere;
}
.pill {
  min-height: 25px;
  background: var(--cream);
  color: var(--olive);
  font-weight: 700;
  font-size: 0.77rem;
  padding: 3px 9px;
  border-radius: 7px;
  margin-top: auto;
}
.feature .news-card {
  height: 100%;
}
.cover-story {
  display: grid;
  width: 100%;
  min-height: 168px;
  aspect-ratio: 2.12;
  isolation: isolate;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  color: white;
  background: var(--olive);
  text-align: left;
}
.feature .cover-story {
  max-height: 330px;
  aspect-ratio: 3.4;
}
.cover-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
}
.cover-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(17px, 3vw, 32px);
  background: linear-gradient(90deg, #192218bd, #19221878 32%, transparent 69%);
}
.cover-copy strong {
  max-width: 55%;
  font:
    900 clamp(1.8rem, 3.4vw, 3rem)/0.97 Barlow,
    system-ui,
    sans-serif;
  margin: 6px 0 12px;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cover-category,
.cover-read {
  font-size: 0.75rem;
  font-weight: 700;
}
.cover-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.detail-cover {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin: 8px 0 18px;
}
.card-foot .mode {
  color: white;
}
.tier {
  margin: 22px 0 28px;
}
.tier h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--olive);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 12px;
}
.empty-rewards {
  padding: 28px 18px;
  border-radius: 18px;
  background: var(--cream);
  text-align: center;
}
.empty-rewards > svg {
  color: var(--olive);
}
.empty-rewards h2 {
  margin: 8px 0;
}
.empty-rewards p {
  margin-bottom: 12px;
}
.empty-rewards button {
  border: 1px solid var(--olive);
}
.tier h2::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 7px;
  background: var(--line);
}
.tier .single .reward {
  grid-column: 1 / -1;
  max-width: 650px;
  display: grid;
  grid-template-columns: clamp(86px, 18vw, 150px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  align-items: center;
  justify-items: start;
  padding: 11px 16px;
}
.tier .single .food {
  grid-row: 1 / 4;
  height: 84px;
  margin: 0;
}
.tier .single h3 {
  margin: 2px 0 6px;
}
.tier .single .pill {
  margin: 0;
}
.news-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  text-align: left;
}
.news-art {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #fff;
}
.news-art img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  min-height: 0;
}
.feature .news-art img {
  height: 154px;
}
.news-copy {
  padding: 12px 19px 17px;
  background: var(--cream);
  width: 100%;
  position: relative;
}
.news-copy h3 {
  font-size: 1.68rem;
  margin: 4px 0;
}
.read {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--olive);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.news-grid .news-art {
  height: 185px;
  flex: auto;
}
.intro {
  color: var(--muted);
  margin: -9px 0 18px;
}
.intro b {
  color: var(--olive);
  margin-left: 4px;
}
.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  background: #f5f3ec;
  border-radius: 15px;
  padding: 3px;
  margin: 0 0 20px;
}
.filters button {
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.filters [aria-pressed="true"] {
  background: var(--olive);
  color: white;
}
nav {
  z-index: 3;
  position: fixed;
  bottom: max(15px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 24px #2b282516;
  padding: 5px;
  max-width: 100%;
}
nav:empty {
  display: none;
}
nav button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  min-height: 47px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}
nav [aria-current] {
  background: var(--cream);
  color: var(--olive);
}
dialog {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 24px 23px;
  max-height: 88dvh;
  max-width: calc(100% - 24px);
  width: 420px;
  overflow: auto;
}
dialog::backdrop {
  background: #20261966;
}
.sheet-head {
  display: flex;
  justify-content: flex-end;
}
.sheet-head .icon-btn {
  height: 44px;
  width: 44px;
}
#sheet-body h2 {
  margin: 8px 0;
}
#sheet-body p {
  margin: 14px 0;
}
.detail-food {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}
.code-sheet {
  text-align: center;
}
.qr {
  width: min(100%, 270px);
  display: block;
  margin: auto;
}
.scan-ticket {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  margin: 16px auto 10px;
  max-width: 320px;
}
.scan-purpose {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  color: white;
  background: var(--olive);
  font-weight: 700;
}
.scan-ticket-foot {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-top: 1px dashed #bcb7a9;
  background: var(--cream);
}
.scan-ticket-foot span {
  font-size: 0.85rem;
  color: var(--muted);
}
.scan-confirm {
  text-align: center;
}
.scan-confirm > svg {
  color: var(--olive);
}
.code-sheet small,
.entry small,
.inbox small {
  color: var(--muted);
}
.article {
  white-space: pre-line;
}
.hold-banner {
  width: 100%;
  color: var(--olive);
  background: var(--cream);
  min-height: 46px;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 9px 15px;
  font-weight: 700;
  justify-content: center;
}
.account-col {
  max-width: 670px;
}
.list,
.settings {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.list > p,
.inbox,
.settings > .secondary {
  padding: 15px;
}
.entry,
.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  gap: 15px;
}
.entry small {
  display: block;
  font-size: 0.77rem;
}
.entry + .entry,
.toggle + .toggle,
.inbox + .inbox {
  border-top: 1px solid var(--line);
}
.entry strong {
  color: var(--olive);
}
.entry strong.spent {
  color: var(--ink);
}
.inbox .text-btn {
  display: flex;
  padding: 0;
}
.history-toggle {
  margin-top: 4px;
}
.feature {
  margin-top: 26px;
}
.toggle input {
  width: 23px;
  height: 23px;
  accent-color: var(--olive);
}
.toggle {
  min-height: 55px;
}
.order-panel,
.welcome-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 24px;
}
.welcome-grid {
  margin: 5vh auto;
  background: var(--cream);
}
.welcome-grid > img,
.order-panel > img {
  width: 45%;
  object-fit: contain;
  max-height: 290px;
  border-radius: 20px;
}
.welcome-grid p,
.order-panel p {
  margin: 12px 0 20px;
}
.welcome-grid .text-btn {
  display: block;
}
.order-panel {
  justify-content: flex-start;
}
.shop-link {
  text-decoration: none;
}
.visible#message {
  display: block;
}
#message {
  display: none;
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 90%;
  width: max-content;
  z-index: 8;
}
@media (max-width: 720px) {
  .mast-inner {
    min-height: 64px;
    padding: 9px 19px;
  }
  .stacked-brand {
    width: 60px;
    height: 43px;
  }
  .head-actions {
    gap: 8px;
  }
  #balance {
    margin-right: 4px;
  }
  main {
    padding: 22px 18px 100px;
  }
  h1 {
    margin-bottom: 16px;
  }
  .home-grid {
    display: block;
  }
  .feature {
    margin-top: 22px;
  }
  .feature .cover-story {
    aspect-ratio: 2.12;
  }
  .home-perks {
    margin-top: 18px;
  }
  #main > h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.65rem);
  }
  .feature .news-card {
    flex-direction: row-reverse;
    align-items: stretch;
    background: var(--cream);
    border: 0;
  }
  .feature .news-copy {
    width: 55%;
    align-self: center;
    padding: 16px;
  }
  .feature .news-art {
    width: 45%;
    min-height: 120px;
    flex: none;
  }
  .feature .news-art img {
    height: auto;
    max-height: 136px;
  }
  .news-copy h3 {
    font-size: 1.44rem;
  }
  .wallet-face {
    padding: 14px 18px 13px;
  }
  .amount {
    font-size: 3.3rem;
    margin: 6px 0 13px;
  }
  .card-foot {
    padding-top: 10px;
  }
  .next-goal {
    padding: 9px 18px 12px;
  }
  .mascot {
    right: 7%;
    height: calc(100% - 82px);
    top: 13px;
  }
  .section-head {
    margin: 21px 0 10px;
  }
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .reward {
    padding: 9px 10px 13px;
  }
  .reward h3 {
    font-size: 1.16rem;
  }
  .food {
    height: 96px;
    margin: 3px 0 8px;
  }
  .home-perks .food {
    height: 95px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-grid .news-art {
    height: 175px;
  }
  .card-foot > span {
    font-size: 0.72rem;
  }
  .news-copy {
    padding: 12px 16px;
  }
  .welcome-grid,
  .order-panel {
    flex-direction: column-reverse;
    text-align: center;
    gap: 16px;
    padding: 22px;
  }
  .order-panel {
    flex-direction: column;
  }
  .welcome-grid > img,
  .order-panel > img {
    width: 80%;
  }
  .welcome-grid .text-btn {
    margin: auto;
  }
  nav {
    bottom: 0;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 5px 4px calc(4px + env(safe-area-inset-bottom));
  }
  nav button {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    padding: 5px 2px;
    font-size: 0.69rem;
    overflow-wrap: anywhere;
  }
  dialog {
    margin: auto auto 0;
    max-width: 100%;
    width: 100%;
    border-radius: 22px 22px 0 0;
    padding: 13px 20px calc(20px + env(safe-area-inset-bottom));
  }
  .grab {
    position: absolute;
    top: 9px;
    left: 45%;
    width: 10%;
    height: 4px;
    border-radius: 5px;
    background: var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  button:active:not(:disabled) {
    transform: none;
  }
}
@media (hover: hover) {
  .reward:hover,
  .news-card:hover,
  .cover-story:hover {
    outline: 2px solid var(--olive);
    outline-offset: -2px;
  }
  .next-goal:hover strong,
  .text-btn:hover {
    text-decoration: underline;
  }
}
@media (max-width: 350px) {
  .head-actions {
    gap: 6px;
  }
  .guest-mast .mast-inner {
    padding-inline: 13px;
  }
  main {
    padding-left: 13px;
    padding-right: 13px;
  }
  .card-foot {
    flex-wrap: wrap;
  }
  .card-foot > span {
    font-size: 0.68rem;
  }
  .feature .news-copy {
    padding: 12px;
  }
  .section-head {
    gap: 6px;
  }
  .section-head .text-btn {
    font-size: 0.78rem;
  }
}
@media (max-width: 32rem) {
  .section-head h2,
  .goal-copy,
  .goal-gap,
  .card-top,
  #main h1 {
    overflow-wrap: anywhere;
  }
  .section-head .text-btn {
    flex-shrink: 0;
  }
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-block: .75rem;
}
.legal-links a {
  color: inherit;
  padding-block: .7rem;
  font-size: .9rem;
  text-underline-offset: .18em;
}
