:root {
  --bg: #f8f1e8;
  --paper: #fffaf4;
  --paper-2: #f2e5d7;
  --ink: #2a1e19;
  --muted: #74645b;
  --accent: #8f4e35;
  --accent-dark: #633422;
  --line: rgba(42, 30, 25, 0.14);
  --shadow: 0 24px 70px rgba(69, 42, 29, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 241, 232, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 30, 25, 0.08);
}

.brand { display: inline-flex; align-items: baseline; gap: 7px; }
.brand-main { font-weight: 900; letter-spacing: 0.16em; font-size: 18px; }
.brand-sub { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 19px; }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.section-pad { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.hero {
  min-height: calc(100svh - 72px);
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 72px;
  align-items: center;
}
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 900; letter-spacing: .22em; color: var(--accent); }
.hero h1, .section-heading h2, .find-card h2, .connect-section h2, .rewards-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
}
.hero h1 { font-size: clamp(58px, 7vw, 104px); }
.hero-offer { margin: 28px 0 0; font-size: clamp(22px, 3vw, 36px); }
.hero-offer strong { color: var(--accent); }
.hero-subcopy { max-width: 640px; font-size: 17px; color: var(--muted); margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.22); }
.btn-full { width: 100%; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; color: var(--muted); }
.hero-meta b { color: var(--ink); }

.hero-card {
  aspect-ratio: .92;
  border-radius: 44% 56% 52% 48% / 49% 42% 58% 51%;
  background: radial-gradient(circle at 34% 30%, #fff8ef 0, #edd7c4 42%, #c38b6b 100%);
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.6); border-radius: inherit; }
.hero-card-inner {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,250,244,.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 40px rgba(76,41,24,.14);
  z-index: 3;
}
.hero-card-inner strong { font-family: Georgia, serif; font-size: clamp(64px, 8vw, 112px); line-height: .9; font-weight: 500; color: var(--accent-dark); }
.hero-card-inner > span:not(.mini-label) { margin-top: 9px; font-weight: 900; font-size: 12px; letter-spacing: .13em; }
.hero-card-inner small { margin-top: 6px; color: var(--muted); }
.mini-label { font-size: 10px; font-weight: 900; letter-spacing: .2em; margin-bottom: 15px; color: var(--accent); }
.hero-card-orbit { position: absolute; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.orbit-one { width: 88%; height: 40%; transform: rotate(25deg); }
.orbit-two { width: 76%; height: 34%; transform: rotate(-44deg); }

.member-section, .menu-section, .find-section, .connect-section { padding-top: 110px; padding-bottom: 110px; }
.member-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-heading h2, .find-card h2, .connect-section h2, .rewards-band h2 { font-size: clamp(42px, 5vw, 72px); }
.section-heading > p { max-width: 420px; color: var(--muted); margin: 0; }

.member-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; }
.member-benefits { display: grid; gap: 12px; }
.benefit-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; gap: 20px; background: rgba(255,255,255,.16); }
.benefit-index { font-weight: 900; font-size: 12px; color: var(--accent); }
.benefit-card h3 { margin: 0 0 6px; font-size: 17px; }
.benefit-card p { margin: 0; color: var(--muted); }
.member-form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 50px); box-shadow: var(--shadow); }
.member-form-card h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
.form-lead { color: var(--muted); margin: 5px 0 28px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; margin-bottom: 8px; font-weight: 800; font-size: 13px; }
.field input { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 15px 16px; outline: none; color: var(--ink); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143,78,53,.1); }
.field small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.check-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 14px 0; font-size: 12px; color: var(--muted); }
.check-row input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); }
.required-check { color: var(--ink); }
#joinButton { margin-top: 22px; border: 0; }
#joinButton:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 20px; margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.form-status.error { color: #a43030; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.success-state { text-align: center; min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.success-state[hidden] { display: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 24px; margin-bottom: 18px; }
.success-state h3 { margin-bottom: 12px; }
.success-state > p:not(.eyebrow) { max-width: 460px; color: var(--muted); margin: 0 auto 24px; }
.success-reward { width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; margin: 0 0 22px; display: flex; align-items: center; justify-content: space-between; }
.success-reward span { font-size: 11px; font-weight: 900; letter-spacing: .13em; color: var(--muted); }
.success-reward strong { font-size: 20px; }
.text-button { border: 0; background: none; text-decoration: underline; cursor: pointer; margin-top: 14px; color: var(--muted); }

.menu-section { background: var(--paper); width: 100%; max-width: none; padding-left: max(22px, calc((100vw - var(--max)) / 2)); padding-right: max(22px, calc((100vw - var(--max)) / 2)); }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.category-tab { border: 1px solid var(--line); background: transparent; padding: 9px 15px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 12px; }
.category-tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.menu-loading, .menu-empty { grid-column: 1/-1; border: 1px dashed var(--line); border-radius: var(--radius-md); padding: 48px; text-align: center; color: var(--muted); }
.product-card { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; min-height: 100%; }
.product-image { aspect-ratio: 1 / .82; background: #efe2d5; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(42,30,25,.45); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 10px; }
.featured-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,250,244,.92); border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-category { margin: 0 0 7px; font-size: 10px; font-weight: 900; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; }
.product-body h3 { font-family: Georgia, serif; font-size: 22px; line-height: 1.08; font-weight: 500; margin: 0; }
.product-description { color: var(--muted); font-size: 12px; margin: 10px 0 18px; flex: 1; }
.product-price { margin: auto 0 0; font-weight: 900; font-size: 15px; }

.rewards-band { margin-top: 0; padding-top: 70px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 28px; }
.rewards-band h2 { font-size: clamp(38px, 4.5vw, 64px); max-width: 700px; }
.reward-stat { text-align: center; min-width: 120px; }
.reward-stat strong { display: block; font-family: Georgia, serif; font-weight: 500; font-size: 44px; }
.reward-stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.reward-equals { font-size: 30px; color: var(--muted); }

.find-section { padding-top: 40px; }
.find-card { min-height: 460px; border-radius: var(--radius-lg); background: var(--ink); color: white; padding: clamp(34px, 6vw, 78px); display: flex; flex-direction: column; align-items: flex-start; justify-content: end; position: relative; overflow: hidden; }
.find-card::after { content: "01"; position: absolute; right: 5%; top: -10%; font-family: Georgia, serif; font-size: clamp(200px, 30vw, 440px); color: rgba(255,255,255,.035); line-height: 1; }
.find-card .eyebrow { color: #ddb59f; }
.find-card h2 { max-width: 800px; }
.find-card p:not(.eyebrow) { max-width: 590px; color: rgba(255,255,255,.67); margin: 20px 0 26px; }
.find-card .btn { background: white; color: var(--ink); z-index: 2; }

.connect-section { text-align: center; }
.connect-links { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.connect-links a { min-height: 120px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; background: rgba(255,255,255,.2); transition: background .2s ease, transform .2s ease; }
.connect-links a:hover { background: var(--paper); transform: translateY(-2px); }
.connect-links span { color: var(--muted); font-size: 12px; }
.connect-links strong { font-size: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 34px max(22px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .hero-card { width: min(520px, 86vw); justify-self: center; }
  .member-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rewards-band { grid-template-columns: 1fr auto auto auto; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 64px 0 0;
    background: var(--bg);
    padding: 42px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    font-size: 24px;
  }
  .nav-open .main-nav { display: flex; }
  .section-pad { width: min(var(--max), calc(100% - 32px)); }
  .hero { min-height: auto; padding-top: 54px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(54px, 16vw, 82px); }
  .hero-card { width: 100%; border-radius: 38px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 12px; flex-direction: column; }
  .member-section, .menu-section, .find-section, .connect-section { padding-top: 76px; padding-bottom: 76px; }
  .menu-section { padding-left: 16px; padding-right: 16px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 19px; }
  .product-description { display: none; }
  .rewards-band { width: calc(100% - 32px); padding-top: 58px; padding-bottom: 58px; grid-template-columns: 1fr 1fr; }
  .rewards-band > div:first-child { grid-column: 1 / -1; }
  .reward-equals { display: none; }
  .reward-stat { text-align: left; }
  .connect-links { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
  .product-description { display: block; }
}
