:root {
  /* Direction: a private Texas card club after dark. Warm espresso night, saddle-tan felt,
     gold foil, oxblood chips. One bold move: the club's own table, lit from above, in the hero.
     Everything around it stays quiet. Single theme by choice. */
  --night: #120f0d;
  --walnut: #1b1613;
  --leather: #261e19;
  --felt: #c4945f;
  --felt-deep: #8a5c33;
  --cream: #f6eddc;
  --paper: #fbf7ee;
  --gold: #e6c06f;
  --gold-deep: #b5842f;
  --oxblood: #8e2a22;
  --running: #8fd3a6;
  --foil: linear-gradient(135deg, #f8e6b0 0%, #e6c06f 42%, #b5842f 100%);
  --hair: rgba(230, 192, 111, 0.22);
  --hair-soft: rgba(246, 237, 220, 0.1);
  --hair-ink: rgba(18, 15, 13, 0.14);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --r-lg: 28px;
  --r-md: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 40; line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.on-paper h2 em { background: none; -webkit-text-fill-color: currentColor; color: var(--oxblood); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-paper .eyebrow, .on-felt .eyebrow { color: var(--oxblood); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.on-paper :focus-visible, .on-felt :focus-visible { outline-color: var(--oxblood); }
[hidden] { display: none !important; }
a[href^="tel:"] { white-space: nowrap; }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--foil); color: #1b1408; box-shadow: 0 10px 30px -10px rgba(230, 192, 111, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(230, 192, 111, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-line { border-color: var(--hair); color: var(--cream); background: rgba(246, 237, 220, 0.03); }
.btn-line:hover { border-color: var(--gold); background: rgba(230, 192, 111, 0.08); }
.btn-ink { background: var(--night); color: var(--cream); }
.btn-ink:hover { transform: translateY(-1px); background: #000; }
.btn-ink-line { border-color: rgba(18, 15, 13, 0.35); color: var(--night); background: transparent; }
.btn-ink-line:hover { background: rgba(18, 15, 13, 0.06); border-color: var(--night); }
.btn-sm { padding: 11px 20px; font-size: 15px; }

/* Rate line + floating header */
.rates { text-align: center; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 12px 16px 4px; }
.rates b { color: var(--cream); font-weight: 600; }
.header { position: sticky; top: 10px; z-index: 30; padding: 8px 0 0; }
.header-bar {
  display: flex; align-items: center; gap: 22px; padding: 8px 10px 8px 8px; border-radius: 999px;
  background: rgba(22, 18, 15, 0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--hair); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.badge { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px rgba(230, 192, 111, 0.14); }
.badge img { width: 78%; height: auto; mix-blend-mode: multiply; }
.brand-name { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 9px 15px; border-radius: 999px; color: rgba(246, 237, 220, 0.82); transition: background-color 0.2s, color 0.2s; }
.nav a:hover { color: var(--cream); background: rgba(246, 237, 220, 0.07); }
.nav a[aria-current="true"] { color: var(--gold); }
@media (max-width: 860px) {
  .header-bar { flex-wrap: wrap; border-radius: 30px; gap: 6px 12px; padding: 8px 10px 6px 8px; }
  .header-bar .btn { margin-left: auto; }
  .badge { width: 44px; height: 44px; }
  .brand-name { font-size: 17px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; justify-content: space-between; }
  .nav a { padding: 7px 6px; font-size: 13.5px; white-space: nowrap; }
}
@media (max-width: 420px) { .brand-name { display: none; } }

/* Hero: the club's own felt, photographed, bleeding off the right edge */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero-photo {
  position: absolute; top: -90px; right: 0; bottom: 70px; width: 62%;
  background: url("../assets/photos/hero-cards-spread.jpg") 62% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: lights 1.6s ease-out both;
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 78% 30%, transparent 30%, rgba(18, 15, 13, 0.55) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; align-items: center; min-height: 540px; }
.hero-copy { padding: 24px 0 48px; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { font-size: clamp(50px, 7.4vw, 104px); margin: 22px 0 24px; }
.hero-lede { font-size: 19px; max-width: 36ch; color: rgba(246, 237, 220, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@keyframes rise { from { opacity: 0.35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lights { from { filter: brightness(0.45) saturate(0.7); } to { filter: none; } }
@media (max-width: 900px) {
  .hero { padding-top: 0; }
  .hero-photo { position: relative; top: 0; bottom: auto; width: 100%; height: 300px; margin-top: -70px; background-position: 58% 60%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; margin-top: -40px; }
  .hero-space { display: none; }
  .hero-copy { padding: 0 0 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-photo { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .btn .arr { transition: none; }
}

/* Live strip under the hero */
.strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 0.8fr) 1.6fr; margin-top: 8px; border: 1px solid var(--hair); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(38, 30, 25, 0.92), rgba(27, 22, 19, 0.92)); backdrop-filter: blur(10px); overflow: hidden; }
.strip > div { padding: 22px 26px; border-right: 1px solid var(--hair-soft); }
.strip > div:last-child { border-right: 0; }
.strip span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 237, 220, 0.6); margin-bottom: 4px; }
.strip b { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.strip .next b { font-size: 24px; line-height: 1.15; display: block; letter-spacing: -0.01em; }
.strip .next small { color: var(--gold); font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--running); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--running); box-shadow: 0 0 0 0 rgba(143, 211, 166, 0.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(143, 211, 166, 0); } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
@media (max-width: 900px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip > div { padding: 16px 16px; }
  .strip > div:nth-child(3) { border-right: 0; }
  .strip .next { grid-column: 1 / -1; border-top: 1px solid var(--hair-soft); }
  .strip b { font-size: 34px; }
  .strip span { letter-spacing: 0.12em; font-size: 11px; }
}

/* Sections */
.section { padding: 104px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 64px); margin-top: 16px; }
.board-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; color: rgba(246, 237, 220, 0.65); }
.sample-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border: 1px dashed rgba(246, 237, 220, 0.35); border-radius: 999px; padding: 3px 10px; }

/* Board */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--walnut); border: 1px solid var(--hair-soft); margin-bottom: 20px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 600; background: transparent; color: rgba(246, 237, 220, 0.7); border: 0; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tabs button[aria-selected="true"] { background: var(--foil); color: #1b1408; }
.panel { border: 1px solid var(--hair); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--leather), var(--walnut)); padding: 10px 30px 14px; box-shadow: 0 40px 80px -50px #000; }
.row { display: grid; grid-template-columns: 1.1fr 1.7fr 0.8fr 0.8fr 190px; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hair-soft); font-variant-numeric: tabular-nums; }
.row:last-child { border-bottom: 0; }
.row.head { padding: 14px 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 237, 220, 0.5); }
.row .g b { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; line-height: 1; display: block; }
.row .g span { font-size: 15px; color: rgba(246, 237, 220, 0.7); }
.row .buy { font-size: 16px; color: rgba(246, 237, 220, 0.85); }
.tbl { display: flex; align-items: center; gap: 12px; }
.tbl em, .wait em { font-family: var(--display); font-style: normal; font-size: 26px; font-weight: 500; }
.ovals { display: inline-flex; gap: 5px; }
.ovals i { width: 22px; height: 12px; border-radius: 999px; border: 1.5px solid rgba(230, 192, 111, 0.35); }
.ovals i.on { background: var(--foil); border-color: transparent; box-shadow: 0 0 10px rgba(230, 192, 111, 0.45); }
.wait { color: rgba(246, 237, 220, 0.6); font-size: 14px; }
.wait em { color: var(--cream); margin-right: 6px; }
.zero em { opacity: 0.3; }
.pill { justify-self: end; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.pill.running { color: #0f2318; background: var(--running); }
.pill.building { color: var(--gold); border: 1px solid var(--hair); background: rgba(230, 192, 111, 0.08); }
.pill.idle { color: rgba(246, 237, 220, 0.5); border: 1px solid var(--hair-soft); }
@media (max-width: 820px) {
  .panel { padding: 4px 18px 8px; }
  .row.head { display: none; }
  .row { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 18px 0; }
  .row .buy { display: none; }
  .row .g { grid-column: 1; grid-row: 1; }
  .row .pill { grid-column: 2; grid-row: 1; }
  .row .tbl { grid-column: 1; grid-row: 2; }
  .row .wait { grid-column: 2; grid-row: 2; justify-self: end; }
}
.board-foot { margin-top: 20px; font-size: 15px; color: rgba(246, 237, 220, 0.65); }
.board-foot a { color: var(--gold); }

.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { border: 1px solid var(--hair); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--leather), var(--walnut)); padding: 26px; display: grid; gap: 14px; align-content: start; }
.tdate { display: flex; align-items: baseline; gap: 10px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.tdate b { font-family: var(--display); font-weight: 500; font-size: 52px; letter-spacing: -0.03em; line-height: 0.9; color: var(--cream); }
.tcard h3 { font-size: 26px; line-height: 1.1; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(246, 237, 220, 0.06); color: rgba(246, 237, 220, 0.8); }
.tbuy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair-soft); padding-top: 14px; margin-top: 4px; font-size: 15px; color: rgba(246, 237, 220, 0.7); }
.tbuy b { font-family: var(--display); font-weight: 500; font-size: 30px; color: var(--gold); }
@media (max-width: 900px) { .tcards { grid-template-columns: 1fr; } }

/* The room (paper) */
.on-paper { background: var(--paper); color: var(--night); border-radius: 44px 44px 0 0; }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.room-grid h2 { font-size: clamp(38px, 5vw, 68px); margin: 18px 0 24px; }
.room-grid .lede { font-size: 19px; max-width: 44ch; color: rgba(18, 15, 13, 0.78); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--hair-ink); }
.feat { padding: 26px 22px 28px 0; border-bottom: 1px solid var(--hair-ink); }
.feat:nth-child(odd) { border-right: 1px solid var(--hair-ink); }
.feat:nth-child(even) { padding-left: 24px; }
.feat b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 46px; line-height: 1; color: var(--oxblood); display: block; margin-bottom: 10px; letter-spacing: -0.02em; }
.feat strong { display: block; font-size: 17px; margin-bottom: 4px; }
.feat p { font-size: 15.5px; color: rgba(18, 15, 13, 0.72); }
.photos { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin-top: 64px; }
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--walnut); box-shadow: 0 30px 50px -34px rgba(18, 15, 13, 0.7); }
.photo:first-child { aspect-ratio: auto; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo:hover img { transform: scale(1.04); }
.photo:nth-child(3) img { object-position: 50% 30%; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 22px 16px; color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(18, 15, 13, 0.82)); }
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } }
@media (max-width: 900px) {
  .on-paper { border-radius: 28px 28px 0 0; }
  .room-grid { grid-template-columns: 1fr; gap: 40px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } .feat:nth-child(odd) { border-right: 0; } .feat:nth-child(even) { padding-left: 0; } }

/* Dues */
.dues { position: relative; overflow: hidden; }
.dues::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(196, 148, 95, 0.22), transparent 55%); pointer-events: none; }
.dues .wrap { position: relative; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { border: 1px solid var(--hair); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--leather), var(--walnut)); padding: 28px 26px 26px; display: grid; gap: 6px; align-content: start; text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease; }
.tier:hover { transform: translateY(-4px); border-color: var(--gold); }
.tier span { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.tier b { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.tier p { font-size: 15.5px; color: rgba(246, 237, 220, 0.72); min-height: 3.2em; }
.tier i { font-style: normal; font-size: 14px; font-weight: 600; margin-top: 14px; display: inline-flex; gap: 8px; color: var(--gold); }
.tier.top { background: var(--foil); border-color: transparent; color: #1b1408; box-shadow: 0 30px 60px -30px rgba(230, 192, 111, 0.6); }
.tier.top span, .tier.top i { color: #4a3208; }
.tier.top p { color: rgba(27, 20, 8, 0.78); }
.qr { border-radius: 14px; flex: none; box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px rgba(230, 192, 111, 0.14); background: var(--paper); }
.dues-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 28px; padding: 24px 30px 24px 24px; border-radius: var(--r-lg); border: 1px solid var(--hair); background: linear-gradient(180deg, var(--leather), var(--walnut)); }
.dues-foot h3 { font-size: 28px; margin-bottom: 8px; }
.dues-foot p { font-size: 16px; max-width: 56ch; color: rgba(246, 237, 220, 0.75); }
.dues-foot p b { color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .dues-foot { grid-template-columns: auto 1fr; } .dues-foot .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .dues-foot { grid-template-columns: 1fr; } }
.rail-qr { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding: 16px; border: 1px solid var(--hair); border-radius: var(--r-md); background: rgba(38, 30, 25, 0.7); max-width: 380px; }
.rail-qr p { font-size: 14.5px; color: rgba(246, 237, 220, 0.72); }
.rail-qr strong { display: block; color: var(--cream); font-size: 16px; }
@media (max-width: 940px) { .rail-qr { display: none; } }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } .tier p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tier { transition: none; } }

/* Visit (felt band) */
.on-felt {
  color: var(--night); background-color: var(--felt);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 238, 205, 0.5), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(70, 40, 14, 0.5), transparent 55%), repeating-linear-gradient(47deg, rgba(60, 36, 14, 0.05) 0 2px, transparent 2px 5px);
}
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.visit-grid h2 { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 34px; }
.visit-info .full { grid-column: 1 / -1; }
.visit-info h3 { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(18, 15, 13, 0.62); margin-bottom: 6px; }
.visit-info p { font-family: var(--display); font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.visit-info .full p { font-size: 19px; }
.visit-actions { margin-top: 32px; }
.map { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--night); box-shadow: 0 0 0 1.5px var(--night), 0 40px 70px -40px rgba(40, 22, 6, 0.9); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--cream); padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, rgba(230, 192, 111, 0.16), transparent 60%), repeating-linear-gradient(0deg, rgba(246, 237, 220, 0.05) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, rgba(246, 237, 220, 0.05) 0 1px, transparent 1px 44px), var(--walnut); }
.map-fallback strong { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.map-fallback span:not(.pin) { font-size: 15px; color: rgba(246, 237, 220, 0.72); }
.map-fallback em { font-style: normal; font-weight: 600; font-size: 15px; color: var(--gold); margin-top: 10px; }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--foil); transform: rotate(-45deg); margin-bottom: 14px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); position: relative; }
.pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--night); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; gap: 36px; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .visit-info { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 44px 0 56px; font-size: 14.5px; color: rgba(246, 237, 220, 0.62); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: center; justify-content: space-between; }
.footer p { max-width: 60ch; }
.footer a { color: var(--gold); }

/* ---------------- Join ---------------- */
.join { padding: 56px 0 110px; position: relative; }
.join::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; background: radial-gradient(ellipse at 15% 0%, rgba(196, 148, 95, 0.26), transparent 60%); pointer-events: none; }
.join-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.rail { position: sticky; top: 110px; min-width: 0; }
.rail h1 { font-size: clamp(46px, 5.6vw, 76px); margin: 18px 0 18px; }
.rail > p { font-size: 18px; color: rgba(246, 237, 220, 0.78); max-width: 34ch; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 58px; font-size: 15.5px; color: rgba(246, 237, 220, 0.72); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 19px; background: var(--night); }
.steps li::after { content: ""; position: absolute; left: 19px; top: 36px; bottom: 2px; width: 1px; background: var(--hair); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--cream); font-size: 17px; font-weight: 600; }
@media (max-width: 940px) { .join { padding-top: 36px; } .join-grid { grid-template-columns: 1fr; gap: 32px; } .rail { position: static; } .steps { margin-top: 26px; } }

.sheetcard { min-width: 0; background: var(--paper); color: var(--night); border-radius: 32px; padding: 44px 44px 40px; box-shadow: 0 60px 120px -60px #000, 0 0 0 1px rgba(230, 192, 111, 0.35); color-scheme: light; }
@media (max-width: 620px) { .sheetcard { padding: 28px 20px 26px; border-radius: 24px; } }
.form { display: grid; gap: 44px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 40; }
legend span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--gold); display: grid; place-items: center; font-size: 16px; }
.fs-note { font-size: 15.5px; color: rgba(18, 15, 13, 0.66); margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .lab { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: rgba(18, 15, 13, 0.75); }
.field input, .field select { font: inherit; font-size: 17px; padding: 14px 16px; border: 1.5px solid #d8ccb6; border-radius: 14px; background: #fff; color: var(--night); width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:hover, .field select:hover { border-color: #b9a98c; }
.field input:focus-visible, .field select:focus-visible { outline: 0; border-color: var(--night); box-shadow: 0 0 0 4px rgba(230, 192, 111, 0.45); }
.err { color: var(--oxblood); font-size: 14px; font-weight: 600; }
.invalid input, .invalid select, .invalid .sigpad { border-color: var(--oxblood); background: #fdf2f0; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plan { position: relative; }
.plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan span { display: block; border: 1.5px solid #d8ccb6; border-radius: var(--r-md); padding: 14px 14px 12px; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(18, 15, 13, 0.65); transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.plan span b { display: block; font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; color: var(--night); text-transform: none; margin-top: 2px; }
.plan input:checked + span { background: var(--night); border-color: var(--night); color: var(--gold); }
.plan input:checked + span b { color: var(--cream); }
.plan input:focus-visible + span { box-shadow: 0 0 0 4px rgba(230, 192, 111, 0.55); }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr 1fr; } }

.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 15px 18px; border: 1.5px solid #e4dac6; border-radius: var(--r-md); background: #fff; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--night); }
.check label { font-size: 16px; line-height: 1.45; }
.check small { display: block; color: rgba(18, 15, 13, 0.62); font-size: 13.5px; margin-top: 3px; }
.check.invalid { border-color: var(--oxblood); background: #fdf2f0; }

.agreement { border: 1.5px solid #d8ccb6; border-radius: var(--r-md); background: #fff; max-height: 340px; overflow-y: auto; padding: 26px 28px; font-size: 15.5px; line-height: 1.65; color: rgba(18, 15, 13, 0.86); }
.agreement h3 { font-size: 24px; margin-bottom: 8px; color: var(--night); }
.agreement h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 22px 0 6px; color: var(--night); }
.agreement p + p { margin-top: 8px; }
.agreement-hint { font-size: 14px; color: rgba(18, 15, 13, 0.6); margin: 10px 0 16px; }

.sigpad { position: relative; border: 1.5px solid #d8ccb6; border-radius: var(--r-md); background: #fff; height: 180px; touch-action: none; }
.sigpad canvas { width: 100%; height: 100%; display: block; border-radius: 16px; cursor: crosshair; touch-action: none; }
.sigpad::after { content: "Sign here with your finger or mouse"; position: absolute; left: 20px; right: 20px; bottom: 30px; border-top: 1px solid #d8ccb6; padding-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(18, 15, 13, 0.45); pointer-events: none; }
.sig-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; color: var(--night); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 28px; border-top: 1px solid var(--hair-ink); }
.submit-row .btn { font-size: 17px; padding: 17px 30px; }
.submit-row p { font-size: 14px; color: rgba(18, 15, 13, 0.62); max-width: 36ch; }
.form-error { background: #fdf2f0; border: 1.5px solid var(--oxblood); color: #6d1d17; border-radius: var(--r-md); padding: 14px 18px; font-weight: 600; font-size: 15.5px; }

/* Member pass */
.pass { border-radius: 26px; overflow: hidden; background: var(--night); color: var(--cream); box-shadow: 0 0 0 1.5px var(--gold), 0 30px 60px -30px rgba(18, 15, 13, 0.7); color-scheme: dark; }
.pass-top { padding: 30px 32px 34px; background: radial-gradient(ellipse at 80% 0%, rgba(196, 148, 95, 0.35), transparent 62%); }
.pass-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.pass-head .brand-name { font-size: 18px; }
.pass-top h2 { font-size: 30px; margin-bottom: 18px; }
.code { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 9vw, 72px); letter-spacing: 0.04em; line-height: 1; background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); }
.pass-top .btn { margin-top: 20px; }
.pass-cut { position: relative; border-top: 1.5px dashed rgba(230, 192, 111, 0.5); }
.pass-cut::before, .pass-cut::after { content: ""; position: absolute; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.pass-cut::before { left: -13px; } .pass-cut::after { right: -13px; }
.pass-body { padding: 26px 32px 30px; display: grid; gap: 20px; }
.pass-body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; font-size: 16.5px; }
.pass-body dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 237, 220, 0.55); padding-top: 4px; }
.pass-body dd { margin: 0; font-weight: 500; }
.next { border-top: 1px solid var(--hair-soft); padding-top: 18px; font-size: 15.5px; color: rgba(246, 237, 220, 0.8); }
.next strong { color: var(--gold); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.next ol { margin: 8px 0 0; padding-left: 20px; }
.next li { padding: 2px 0; }
@media (max-width: 620px) { .pass-top, .pass-body { padding-left: 22px; padding-right: 22px; } }
.deskview { margin-top: 36px; }
.deskview h3 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.deskview p { font-size: 14.5px; color: rgba(18, 15, 13, 0.66); margin-bottom: 12px; }
.sheet { overflow-x: auto; border: 1px solid #d8ccb6; border-radius: 14px; background: #fff; }
.sheet table { border-collapse: collapse; font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { border-right: 1px solid #ece4d3; border-bottom: 1px solid #ece4d3; padding: 9px 12px; text-align: left; }
.sheet th { background: #f3ecdd; font-weight: 600; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet td.blank { background: #fff8e1; color: #8a7a3d; font-style: italic; }
.done { min-width: 0; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
