/* CitiHome C CLUB — the members' front door.
   Public marketing above the fold, the member's own card below it once they sign in.
   RESTYLED 2026-09-13 (PROGRESS row 3) onto the Concept Plus handoff tokens
   (public/cp-design-tokens.css, DESIGN-TOKEN-REGISTER.csv): graphite dark surfaces,
   porcelain ground, ochre for the call-to-action only, Arial/Helvetica, radius 0.
   The variable NAMES below are kept on purpose — platform.css re-points the same
   names per theme (dark), so the dark theme keeps working without a second sheet. */

:root{
  --ink:#353330;--muted:#68625a;--line:#d3cfc7;--paper:#eae8e3;--white:#fff;--soft:#f4f2ed;
  --gold:#ac7b43;--gold-dark:#80582d;--copper:#ac7b43;--green:#286249;--red:#9b2c2c;
  --graphite:#4d4b4a;--stone:#b2b4b2;--sage:#a69f88;--porcelain:#eae8e3;
  /* OCHRE CANNOT BE READ ON GRAPHITE. Measured 2026-09-13 with
     tools/assert-page-polish.mjs: --gold #ac7b43 on --graphite #4d4b4a is
     2.34:1 — it needs 4.5 for small text and 3 for large, so the tier numbers
     and every eyebrow on the dark band were below the line in both.
     The guideline's own remedy for the light side already exists as
     --cp-gold-ink (#80582d, 5.12:1 on porcelain); this is the same move for the
     dark side, derived by lightening the brand ochre until it clears the line
     with margin rather than by inventing a new hue: 5.06:1 on graphite.
     Ochre itself is untouched and keeps doing what the guideline says it is
     for — the call to action. */
  --gold-on-dark:#e0c197;
  --radius:0;
}
*{box-sizing:border-box}
html{font-family:var(--ui-font-text,-apple-system,BlinkMacSystemFont,system-ui,sans-serif);color:var(--ink);background:var(--paper);scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{margin:0;min-height:100vh}
button,input,select{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
a{color:inherit}
h1,h2,h3{font-weight:400;letter-spacing:-.055em}

.club-head{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(16px,4vw,44px);border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(14px)}
.club-brand{display:flex;align-items:center;gap:11px;text-decoration:none}
.club-brand img{width:36px;height:36px;object-fit:contain}
.club-brand b{display:block;font-size:17px;letter-spacing:-.03em}
.club-brand small{display:block;font-size:8px;letter-spacing:.24em;font-weight:700;color:var(--gold-dark)}
.club-head-actions{display:flex;gap:8px;align-items:center}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 22px;border:1px solid transparent;border-radius:0;text-decoration:none;font-size:15px;font-weight:400;letter-spacing:.01em;transition:background .2s,border-color .2s,color .2s}
.button-primary{background:var(--gold);border-color:var(--gold);color:#fff}
.button-primary:hover{background:var(--graphite);border-color:var(--graphite);color:#fff}
.button-quiet{background:transparent;border-color:var(--stone);color:var(--ink)}
.button-quiet:hover{border-color:var(--gold);color:var(--gold-dark)}
.full{width:100%}

/* ── Hero — a graphite band, the way every dark surface in the handoff is a flat band ── */
.club-hero{position:relative;overflow:hidden;padding:clamp(56px,7vw,110px) clamp(16px,4vw,44px);color:var(--porcelain);background:var(--graphite)}
.club-hero-inner{position:relative;z-index:1;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:56px;align-items:center}
.club-eyebrow{letter-spacing:.22em;font-size:12px;font-weight:400;color:var(--gold-on-dark);margin:0}
.club-hero h1{margin:22px 0 0;font-size:clamp(44px,5.8vw,84px);line-height:1.02;color:#fff}
.club-hero h1 em{font-style:normal;color:var(--sage)}
.club-hero p{max-width:540px;margin:26px 0 30px;font-size:17px;line-height:1.7;color:var(--porcelain)}
.club-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.club-hero .button-quiet{color:#fff;border-color:var(--porcelain)}
.club-hero .button-quiet:hover{border-color:var(--gold);color:var(--gold)}
.tier-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:44px;background:#eae8e326;border:1px solid #eae8e326}
.tier-strip div{padding:18px 14px;background:var(--graphite)}
.tier-strip b{display:block;font-size:30px;font-weight:400;letter-spacing:-.05em;color:var(--gold-on-dark)}
/* --stone measures 4.16:1 on graphite; at 10px that is below the 4.5 line. */
.tier-strip small{display:block;margin-top:8px;font-size:10px;letter-spacing:.14em;color:var(--porcelain)}

/* ── Sign-in card ─────────────────────────────────────────────────────── */
.club-card{padding:32px;border-radius:0;background:var(--white);color:var(--ink);border:1px solid var(--line)}
.club-card h2{margin:0 0 8px;font-size:30px;line-height:1.1}
.club-card>p{margin:0 0 20px;font-size:14px;color:var(--muted);line-height:1.6}
label{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--cp-muted,#68625a)}
input{width:100%;padding:15px 16px;border:1px solid var(--stone);border-radius:0;background:var(--white);color:var(--ink);outline:none;font-size:16px;transition:border-color .18s,box-shadow .18s}
input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(172,123,67,.16)}
.channel-row{display:flex;gap:0;margin-bottom:16px;border:1px solid var(--stone)}
/* 44px, the size a finger needs — these were 39px tall. */
.channel-row button{flex:1;min-height:44px;padding:12px;border:0;border-radius:0;background:var(--white);font-size:13px;color:var(--muted)}
.channel-row button+button{border-left:1px solid var(--stone)}
.channel-row button.active{background:var(--soft);color:var(--gold-dark)}
.form-msg{min-height:18px;margin:10px 0 0;font-size:13px;text-align:center;color:var(--red)}
.form-msg.ok{color:var(--green)}

/* ── Sections ─────────────────────────────────────────────────────────── */
.club-section{max-width:1180px;margin:0 auto;padding:clamp(48px,7vw,96px) clamp(16px,4vw,44px)}
/* Descendant, not child: the benefits band nests its header inside a width wrapper. */
.club-section header{max-width:680px;margin-bottom:34px}
.club-section header span{letter-spacing:.2em;font-size:12px;color:var(--gold-dark)}
.club-section header h2{margin:14px 0 0;font-size:clamp(32px,3.8vw,52px);line-height:1.08}
.club-section header p{margin:16px 0 0;color:var(--muted);font-size:16px;line-height:1.7}
.club-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.club-tile{padding:26px;border:1px solid var(--line);border-radius:0;background:var(--white)}
.club-tile i{display:grid;place-items:center;width:40px;height:40px;border-radius:0;border:1px solid var(--gold);color:var(--gold-dark);font-style:normal;font-size:16px}
.club-tile b{display:block;margin:18px 0 8px;font-size:18px;font-weight:400;letter-spacing:-.03em}
.club-tile p{margin:0;font-size:14px;color:var(--muted);line-height:1.65}
.club-tile.is-live{border-color:var(--gold);border-top:3px solid var(--gold)}

/* ── Member panel ─────────────────────────────────────────────────────── */
.member-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.6fr);gap:28px;padding:32px;border:1px solid var(--gold);border-top:3px solid var(--gold);border-radius:0;background:var(--white)}
.member-code{margin-top:18px;padding:18px 20px;border:1px solid var(--line);border-radius:0;background:var(--soft)}
.member-code span{display:block;font-size:11px;letter-spacing:.16em;color:var(--gold-dark)}
.member-code b{display:block;margin-top:8px;font-size:28px;font-weight:400;letter-spacing:.16em}
.member-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:20px;background:var(--line);border:1px solid var(--line)}
.member-stats div{padding:16px 12px;border-radius:0;background:var(--white);text-align:center}
.member-stats span{display:block;font-size:10px;letter-spacing:.12em;color:var(--muted)}
.member-stats b{display:block;margin-top:8px;font-size:26px;font-weight:400;letter-spacing:-.04em}
.progress{height:4px;border-radius:0;background:var(--soft);overflow:hidden;margin:18px 0 8px}
.progress i{display:block;height:100%;width:0;background:var(--gold);transition:width .4s}

.push-box{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 24px;border:1px solid var(--line);border-radius:0;background:var(--white);margin-top:16px}
.push-box b{font-size:16px;font-weight:400}
.push-box small{display:block;margin-top:6px;font-size:13px;color:var(--muted);line-height:1.55}

.club-foot{padding:36px clamp(16px,4vw,44px);border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center}
.toast{position:fixed;z-index:120;left:50%;bottom:24px;transform:translate(-50%,20px);max-width:min(420px,92vw);padding:14px 20px;border-radius:0;background:var(--graphite);color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.22s}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:900px){
  .club-hero-inner{grid-template-columns:1fr;gap:36px}
  .member-card{grid-template-columns:1fr}
  .tier-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .club-hero{padding:40px 20px 48px}
  .club-hero h1{font-size:clamp(38px,11vw,52px)}
  .club-hero-actions .button{width:100%}
  .club-card{padding:22px}
  .club-section{padding:44px 20px}
}

/* 2026-08-05 — Item A. The eyebrow/ink uses take the platform's ink-grade gold
   (--cp-gold-ink: 5.59:1 light / 8.07:1 dark). Kept through the restyle. */
.club-brand small,
.channel-row button.active,
.club-section header span,
.club-tile i,
.member-code span { color: var(--cp-gold-ink); }

/* ONE LOOK IN BOTH THEMES (row 3, 2026-09-13). theme-bridge.js sets
   data-theme="dark" on every platform page that has nothing saved, and
   platform.css then re-points --white/--ink/--gold/--line/--soft to the old
   navy palette — a first-time visitor saw a navy card with graphite text on it.
   The handoff's public pages are a single light look (cp-design-tokens.css,
   color-scheme: light), so this page pins its values under BOTH themes with a
   selector that outranks platform.css's `:root[data-theme="dark"]`. */
html[data-cp-design-tokens][data-theme="dark"],html[data-cp-design-tokens][data-theme="light"],html[data-cp-design-tokens]{
  color-scheme:light;
  --ink:#353330;--muted:#68625a;--line:#d3cfc7;--paper:#eae8e3;--white:#fff;--soft:#f4f2ed;
  --gold:#ac7b43;--gold-dark:#80582d;--copper:#ac7b43;--green:#286249;--red:#9b2c2c;
  --graphite:#4d4b4a;--stone:#b2b4b2;--sage:#a69f88;--porcelain:#eae8e3;
  --navy:#4d4b4a;--navy2:#353330;--blue:#80582d;--sand:#eae8e3;--amber:#835921;
  --cp-ink:#353330;--cp-muted:#68625a;--cp-gold-ink:#80582d;--cp-line:#d3cfc7;--cp-surface:#fff;--cp-surface-solid:#fff;
  --cp-sand-50:#faf8f4;--cp-sand-100:#f4f2ed;--cp-sand-200:#eae8e3;
}
html[data-cp-design-tokens][data-theme="dark"] body{background:#eae8e3;color:#353330}

/* C Club concierge refinement: existing Concept Plus colours, one clear action. */
.club-card,.club-tile,.push-box{border-radius:20px}
.button{border-radius:999px;font-weight:500}
.button:disabled{cursor:default;opacity:.65}
.button:focus-visible,.club-category:focus-visible{outline:3px solid var(--gold-dark);outline-offset:4px}
.club-hero-inner{align-items:center}
.club-card{box-shadow:0 16px 48px color-mix(in srgb,var(--graphite) 8%,transparent)}
.member-card{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(210px,.8fr);border-radius:24px;gap:24px;align-items:center;background:linear-gradient(135deg,var(--white),var(--soft))}
.member-card-identity{min-width:0}
.member-card-identity h3{font-size:clamp(24px,3vw,34px);margin:14px 0 20px;overflow-wrap:anywhere}
.card-stay-details{display:grid;gap:14px;margin:0}
.card-stay-details div{min-width:0}
.card-stay-details dt{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.card-stay-details dd{margin:5px 0 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.member-qr{display:flex;align-items:center;gap:14px;margin:20px 0 0}
.member-qr img{width:112px;height:112px;background:var(--white);border-radius:12px}
.member-qr figcaption{font-size:12px;line-height:1.5;color:var(--muted);max-width:100px}
#cardStatus,.card-delivery-status{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0}
.member-code{border-radius:14px;overflow-wrap:anywhere}
.member-code b{font-size:clamp(20px,2.4vw,28px);letter-spacing:.08em}
.member-stats{border-radius:14px;overflow:hidden}
.club-discovery{max-width:540px;margin-bottom:20px}
.club-discovery label{font-size:13px;text-transform:none;letter-spacing:0;margin-bottom:8px}
.club-discovery input{border-radius:999px;min-height:52px;background:var(--white)}
.club-categories{display:flex;gap:8px;overflow-x:auto;padding:4px 4px 12px;scrollbar-width:thin;scroll-snap-type:x proximity}
.club-category{flex-shrink:0;border:1px solid var(--line);border-radius:999px;padding:12px 20px;min-height:44px;background:var(--white);color:var(--ink);scroll-snap-align:start}
.club-category.active{border-color:var(--graphite);background:var(--graphite);color:var(--white)}
.offer-count{font-size:13px;color:var(--muted);margin:4px 0 20px}
.club-offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}
.club-offer-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--white)}
.club-offer-image{width:100%;height:auto;aspect-ratio:1.52;object-fit:cover;background:var(--soft)}
.club-image-todo{display:grid;place-items:center;padding:24px;text-align:center;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--muted)}
.club-image-todo span{max-width:180px}
.club-offer-copy{display:flex;flex:1;flex-direction:column;padding:24px;gap:12px}
.club-offer-category{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-dark)}
.club-offer-copy h3{font-size:26px;line-height:1.15;margin:0;overflow-wrap:anywhere}
.club-offer-copy p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.club-offer-price{display:block;font-weight:500;font-size:16px;margin-top:auto;padding-top:8px}
.club-offer-copy .button{margin-top:8px;width:100%}
#member-card{scroll-margin-top:100px}
@media(max-width:1000px){.member-card{grid-template-columns:1fr 1fr}.member-card>div:last-child{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr!important}.member-card>div:last-child p{grid-column:1/-1}}
@media(max-width:600px){.member-card{grid-template-columns:1fr;padding:24px}.member-card>div:last-child{grid-template-columns:1fr!important}.member-card-identity{padding-bottom:22px;border-bottom:1px solid var(--line)}.club-offer-grid{gap:20px}.club-offer-copy{padding:22px}.club-hero-actions .button{padding-inline:16px}.tier-strip div{padding:16px 12px}.club-section{scroll-margin-top:80px}}
[dir="rtl"] .club-categories{text-align:right}
[dir="rtl"] .member-card,[dir="rtl"] .club-offer-copy{text-align:right}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.progress i,.button,.toast{transition:none!important}.club-card,.club-offer-card{animation:none!important}}

.member-card-identity .club-eyebrow{color:var(--gold-dark)}

.club-section label:has(input[type="checkbox"]){min-height:44px;align-items:center!important}
.channel-row button+button{border-left:0;border-inline-start:1px solid var(--stone)}
