@font-face {
  font-family: "Host Grotesk";
  src: url("./media/host-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #151714;
  --panel: #20231e;
  --deep: #10120f;
  --ink: #f6f2e7;
  --muted: #bdbdb0;
  --rule: #3d4237;
  --rule-strong: #606653;
  --orange: #f4a065;
  --orange-active: #ffb984;
  --green: #c6ce79;
  --button-ink: #21160f;
  --font: "Host Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 10px;
  --control: 6px;
  --fast: 150ms ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--font); }
h1, h2, p, figure { margin: 0; }
h1, h2 { min-width: 0; overflow-wrap: break-word; font-weight: 500; letter-spacing: -.044em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
address { font-style: normal; }
.wrap { width: min(calc(100% - 32px), 1220px); margin-inline: auto; }
.icon { display: block; flex: none; width: 20px; height: 20px; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px; color: var(--button-ink); background: var(--orange); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; }
.mark { display: grid; justify-items: start; align-content: center; min-height: 44px; width: max-content; }
.mark-type { color: var(--orange); font-size: 22px; font-weight: 700; line-height: 1.04; letter-spacing: -.043em; text-transform: uppercase; }
.mark-sub { margin-top: 3px; color: var(--green); font-size: 10px; font-weight: 600; line-height: 1.2; }
.mast nav { display: none; gap: 27px; align-items: center; font-size: 14px; color: var(--muted); }
.mast nav a { display: flex; align-items: center; min-height: 44px; }
.mast nav a:hover { color: var(--orange); }
.mast-place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.mast-place .icon { width: 15px; height: 15px; color: var(--green); }

.hero { display: grid; gap: 24px; align-items: center; padding-block: 28px 36px; }
.hero h1 { max-width: 15ch; font-size: clamp(38px, 9.8vw, 66px); line-height: 1.02; text-wrap: balance; }
.hero-desc { max-width: 46ch; margin-top: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.actions .cta { width: 100%; }

.cta { display: inline-flex; position: relative; isolation: isolate; align-items: center; gap: 9px; min-height: 48px; max-width: 100%; padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: var(--control); color: var(--ink); background: var(--panel); font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color var(--fast), border-color var(--fast); }
.cta.primary { color: var(--button-ink); border-color: var(--orange); background: var(--orange); }
.cta.primary:hover, .cta.primary:focus-visible { background: var(--orange-active); border-color: var(--orange-active); }
.cta.primary::after { content: ""; position: absolute; inset: auto 7px 2px; height: 1px; background: var(--button-ink); opacity: .52; transform: scaleX(0); transform-origin: left; transition: transform var(--fast); }
.cta.primary:is(:hover, :focus-visible, :active)::after { transform: scaleX(1); }
.cta.secondary:hover { border-color: var(--green); }
.cta.secondary .cta-icon { color: var(--green); }
.cta-arrow { margin-inline-start: auto; padding-inline-start: 3px; }
.cta-arrow .icon { width: 16px; height: 16px; }
.cta-copy { display: grid; gap: 3px; }
.cta-sub { font-size: 12px; font-weight: 400; line-height: 1.25; }

.shop { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.shop-photo { width: 100%; height: auto; aspect-ratio: 2.45; object-fit: cover; object-position: center 72%; background: var(--deep); }
.shop figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.shop figcaption > span:first-child { display: grid; }
.shop figcaption strong { color: var(--ink); font-weight: 500; font-size: 14px; }
.street-number { color: var(--green); font: 400 20px/1.08 var(--mono); font-variant-numeric: tabular-nums slashed-zero; }

.club { border-block: 1px solid var(--rule); background: var(--deep); }
.club-inner, .store, .location { display: grid; gap: 26px; padding-block: 40px; align-items: center; }
.club h2, .store h2, .location h2 { max-width: 21ch; font-size: clamp(31px, 6.5vw, 48px); line-height: 1.05; text-wrap: balance; }
.club-text > p, .store-copy > p { max-width: 51ch; margin-top: 11px; color: var(--muted); }
.club-text .cta, .store-copy .cta, .location-copy .cta { margin-top: 17px; }
.club-slip { display: grid; align-content: space-between; gap: 10px; padding: 15px 15px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.club-slip > span:first-child { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.club-slip > span:last-child { color: var(--muted); font-size: 13px; }
.receipt-trace { display: block; width: 100%; height: auto; max-height: 76px; }

.store-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--rule); }
.store-gallery figure { min-width: 0; background: var(--panel); }
.gallery-lead { grid-column: span 4; }
.gallery-aisle, .gallery-detail { grid-column: span 2; }
.store-gallery img { width: 100%; height: auto; object-fit: cover; }
.gallery-lead img, .gallery-aisle img { height: clamp(148px, 45vw, 270px); }
.gallery-lead img { object-position: 50% 38%; }
.gallery-aisle img { object-position: 61% 41%; }
.gallery-detail img { height: clamp(68px, 22vw, 112px); }
.store-gallery figcaption { padding: 6px 10px; color: var(--muted); font-size: 13px; }

.find-store { border-block: 1px solid var(--rule); background: var(--panel); }
.location-copy address { display: grid; gap: 5px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.location .street-number { font-size: 40px; letter-spacing: -.05em; }
.location figure { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--deep); }
.location-map { width: 100%; height: auto; aspect-ratio: 2; }
.location-caption { padding: 6px 10px; color: var(--muted); font-size: 11px; }
.close { border-bottom: 1px solid var(--rule); }
.close-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; padding-block: 25px; }
.close h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.08; }
.footer { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; min-height: 65px; padding-block: 13px; color: var(--muted); font-size: 12px; }
.footer .mark-type { font-size: 17px; }

.bio-frame { width: min(calc(100% - 32px), 448px); margin-inline: auto; padding-block: 26px 16px; }
.bio-head { padding-bottom: 14px; }
.bio-head .mark-type { font-size: clamp(34px, 9vw, 47px); }
.bio-head .mark-sub { font-size: 13px; }
.bio-head p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.38; }
.bio-shop { display: grid; grid-template-columns: minmax(0, 3.75fr) minmax(0, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--rule); }
.bio-shop img { width: 100%; height: 107px; object-fit: cover; }
.bio-facade { object-position: 51% 72%; }
.bio-produce { object-position: 47% 45%; }
.bio-actions { display: grid; gap: 7px; margin-top: 11px; }
.bio-actions .cta { width: 100%; min-height: 57px; padding: 8px 11px; }
.bio-actions .cta-icon { flex: 0 0 23px; }
.bio-actions .cta-label { font-size: 15px; }
.bio-actions .with-map { overflow: hidden; }
.mini-map { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 41%; height: 100%; object-fit: cover; object-position: 63% center; opacity: .52; mask-image: linear-gradient(to right, transparent, black 42%); }
.bio-footer { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.bio-footer small { display: block; margin-top: 6px; font-size: 11px; }

@media (min-width: 570px) {
  .wrap { width: min(calc(100% - 64px), 1220px); }
  .hero { padding-block: 38px 48px; }
  .actions .cta { width: auto; }
  .bio-frame { margin-block: 38px; padding: 23px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--deep); }
}
@media (min-width: 800px) {
  .mast-inner { min-height: 74px; }
  .mast nav { display: flex; }
  .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); padding-block: 63px; }
  .hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
  .hero-desc { font-size: 17px; }
  .shop-photo { aspect-ratio: 2.2; }
  .club-inner, .store, .location { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 65px); padding-block: 55px; }
  .club-slip { width: min(100%, 422px); justify-self: end; padding: 17px 18px; }
}
@media (min-width: 1100px) {
  .hero { min-height: 610px; padding-block: 76px; }
  .actions { gap: 9px; margin-top: 22px; }
  .cta { min-height: 51px; padding-inline: 13px; }
  .shop figcaption { padding: 13px 16px; }
  .club-inner, .store, .location { padding-block: 62px; }
}
@media (max-height: 660px) and (max-width: 569px) {
  .bio-frame { padding-top: 17px; }
  .bio-shop img { height: 93px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .cta.primary::after { transition: none; }
}
