/* Crest Club: Mumbai
   Desktop values are the default; the mobile design applies below 768px. */

:root {
  --black: #000000;
  --ink: #E6E9EE;
  --white: #FFFFFF;
  --mute-1: #AEB4BE;
  --mute-2: #8A919C;
  --mute-3: #6E7581;
  --body-2: #9AA1AC;
  --body-1: #B4BAC4;
  --rule: rgba(199,204,212,0.25);
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --sans: 'Geist', system-ui, sans-serif;
  --display: 'Cinzel', serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes bc-sheen { 0% { transform: translateX(-120%) skewX(-18deg) } 55% { transform: translateX(220%) skewX(-18deg) } 100% { transform: translateX(220%) skewX(-18deg) } }
@keyframes bc-float { 0%, 100% { transform: rotateX(12deg) rotateY(-14deg) translateY(0) } 50% { transform: rotateX(10deg) rotateY(-10deg) translateY(-10px) } }
@keyframes bc-btn-sheen { 0% { transform: translateX(-120%) skewX(-18deg) } 60% { transform: translateX(420%) skewX(-18deg) } 100% { transform: translateX(420%) skewX(-18deg) } }
@keyframes bc-spin { to { transform: rotate(360deg) } }

.page {
  position: relative; overflow-x: hidden; overflow-x: clip;
  background: var(--black); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
}

/* ---------- Shared type ---------- */
.eyebrow { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.5em; color: var(--mute-2); }
.h2 { margin: 24px 0 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; }
.it { font-style: italic; color: var(--mute-1); }
.center { text-align: center; }

/* ---------- Glass pill buttons + sheen ---------- */
.glass {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 14px 32px rgba(0,0,0,0.55);
  font-family: var(--mono);
}
.glass:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }
.sheen {
  position: absolute; z-index: -1; top: -40%; bottom: -40%; left: 0; width: 30%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0));
  animation: bc-btn-sheen 4s ease-in-out infinite; pointer-events: none;
}
.sheen--strong { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.85), rgba(255,255,255,0)); }

.btn-silver {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 64px; padding: 0 52px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(226,230,235,0.78) 50%, rgba(199,204,212,0.85));
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  color: #000; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.4em;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 50px rgba(226,230,235,0.18), inset 0 1px 0 #FFFFFF, inset 0 -2px 6px rgba(0,0,0,0.12);
}
a.btn-silver:hover { color: #000; }
.btn-silver[disabled] { cursor: progress; opacity: 0.85; }
.btn-silver .spinner {
  display: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.25); border-top-color: #000; animation: bc-spin 0.8s linear infinite;
}
.btn-silver.is-loading .spinner { display: inline-block; }

/* ---------- Strip + header ---------- */
.strip {
  position: relative; z-index: 4; padding: 12px 24px; text-align: center;
  background: linear-gradient(90deg, #8E96A3, #E2E6EB 30%, #F4F6F8 50%, #E2E6EB 70%, #8E96A3);
  color: #000; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.32em;
}
.site-header {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding: 32px 56px;
}
.site-header__founder { font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-1); }
.site-header__brand { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.5em; color: var(--ink); }
.site-header__cta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: #C7CCD4; }
.only-mobile { display: none; }
.nw { white-space: nowrap; }
[data-text] { transition: opacity .4s ease; }
html.counts-loading [data-text] { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 980px; padding: 40px 24px 120px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: radial-gradient(ellipse 45% 38% at 50% 40%, rgba(190,198,212,0.16), rgba(0,0,0,0) 72%);
}
/* The card is drawn at 620px and scaled to fit its stage (main.js keeps the
   scale exact; these values are the no-JS fallback). */
.card-stage { position: relative; width: 620px; max-width: 100%; height: 391px; margin-top: 40px; }
.card-scaler { position: absolute; top: 0; left: 0; width: 620px; perspective: 1600px; transform-origin: 0 0; }
.card {
  position: relative; aspect-ratio: 1.586; border-radius: 22px; overflow: hidden; text-align: left;
  transform: rotateX(12deg) rotateY(-14deg); transform-style: preserve-3d; will-change: transform;
  animation: bc-float 9s ease-in-out infinite;
  background: linear-gradient(135deg, #2A2E35 0%, #4A5059 18%, #1C1F24 34%, #5A616B 50%, #23272D 66%, #3C424A 82%, #1A1D22 100%);
  box-shadow: 0 100px 160px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.6);
}
.card__brush { position: absolute; inset: 0; opacity: 0.35; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, rgba(0,0,0,0) 1px 3px); }
.card__sheen {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 28%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.22), rgba(255,255,255,0));
  animation: bc-sheen 6s ease-in-out infinite;
}
.card__top { position: absolute; top: 36px; left: 40px; right: 40px; display: flex; justify-content: space-between; align-items: flex-start; }
.card__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.42em; color: #D9DDE3; text-shadow: 0 1px 0 rgba(0,0,0,0.6), 0 -1px 0 rgba(255,255,255,0.15); }
.card__logo {
  width: 58px; height: 58px; border-radius: 50%; border: 1px dashed rgba(217,221,227,0.5);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--mono); font-size: 8px; color: var(--mute-1);
}
.card__logo.has-logo { width: 104px; height: 37px; margin-top: -4px; border: 0; border-radius: 0; overflow: visible; }
.card__logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.6)) drop-shadow(0 -1px 0 rgba(255,255,255,0.12)); }
.card__label { position: absolute; top: 146px; left: 124px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.4em; color: #C2C7CF; text-shadow: 0 1px 0 rgba(0,0,0,0.7); }
.card__chip { position: absolute; top: 132px; left: 40px; width: 62px; height: 48px; border-radius: 9px; background: linear-gradient(135deg, #8E96A3, #E2E6EB 40%, #9AA2AE 60%, #6F7783); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3); }
.card__number { position: absolute; left: 40px; bottom: 80px; margin: 0; font-family: var(--mono); font-size: 24px; letter-spacing: 0.3em; color: #D9DDE3; text-shadow: 0 1px 0 rgba(0,0,0,0.7), 0 -1px 0 rgba(255,255,255,0.18); white-space: nowrap; }
.card__bottom { position: absolute; left: 40px; right: 40px; bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; }
.card__yours { font-family: var(--mono); font-size: 13px; letter-spacing: 0.24em; color: #C2C7CF; text-shadow: 0 1px 0 rgba(0,0,0,0.7); }
.card__city { font-family: var(--serif); font-style: italic; font-size: 28px; color: #D9DDE3; }

.hero__kicker { margin: 96px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.5em; color: var(--mute-2); }
.hero__title { margin: 28px auto 0; max-width: 1080px; font-family: var(--serif); font-weight: 400; font-size: 96px; line-height: 1; letter-spacing: -0.01em; }
.hero__lede { margin: 32px auto 0; max-width: 600px; font-size: 18px; color: var(--body-1); }
.hero__lede strong { color: var(--white); font-weight: 600; }
.pills { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pills li { padding: 12px 24px; font-size: 11px; letter-spacing: 0.3em; line-height: 1.6; }
.hero__cta { margin-top: 52px; gap: 18px; min-height: 64px; padding: 0 44px; font-size: 12px; letter-spacing: 0.4em; }

.divider { height: 1px; margin: 0 56px; background: linear-gradient(90deg, rgba(199,204,212,0), rgba(199,204,212,0.55), rgba(199,204,212,0)); }

/* ---------- Privileges ---------- */
.privileges { position: relative; max-width: 1200px; margin: 0 auto; padding: 140px 24px; }
.privileges .h2 { margin-left: auto; margin-right: auto; max-width: 980px; font-size: 60px; }
.compare { margin-top: 72px; overflow-x: auto; }
.compare__inner { min-width: 860px; }
.compare__row { display: grid; grid-template-columns: minmax(260px, 1.6fr) repeat(6, minmax(90px, 1fr)); align-items: center; }
.compare__row + .compare__row { border-bottom: 1px solid rgba(199,204,212,0.2); }
.compare__corner { padding: 14px 0 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--mute-3); }
.compare__col {
  align-self: stretch; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 8px 18px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--mute-2);
}
.compare__col--crest { color: #000; background: linear-gradient(180deg, #F4F6F8, #C9CED6); padding-top: 14px; }
.compare__col .sm { display: none; }
.compare__label { padding: 22px 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.compare__cell { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 22px 8px; text-align: center; font-size: 14px; color: #3A3F46; }
.compare__cell.yes { font-size: 16px; color: var(--mute-1); }
.compare__cell--crest { font-size: 16px; color: var(--white); background: rgba(226,230,235,0.08); text-shadow: 0 0 12px rgba(255,255,255,0.7); }

/* ---------- Rarity ---------- */
.rarity { position: relative; padding: 140px 24px; background: radial-gradient(ellipse 40% 50% at 50% 50%, rgba(190,198,212,0.1), rgba(0,0,0,0) 70%); }
.rarity__wrap { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 80px; align-items: center; justify-content: center; }
.hand { flex: 0 1 560px; min-width: 0; padding: 40px 32px 32px; border-radius: 4px; background: linear-gradient(160deg, #0D0F12, #050607); box-shadow: 0 0 0 1px rgba(199,204,212,0.18), 0 60px 120px rgba(0,0,0,0.8); }
.hand .eyebrow { text-align: center; letter-spacing: 0.4em; }
.fan { position: relative; height: 360px; margin-top: 8px; --w: 76px; --h: 120px; --r: 7px; --oy: 270px; --top: 10px; }
.fan__card {
  position: absolute; left: calc(50% - var(--w) / 2); top: var(--top); width: var(--w); height: var(--h); border-radius: var(--r);
  transform-origin: calc(var(--w) / 2) var(--oy); transform: rotate(var(--a));
  background: linear-gradient(135deg, #16191D, #0C0E10); box-shadow: inset 0 0 0 1px rgba(199,204,212,0.18);
}
.fan__card.issued { background: linear-gradient(135deg, #8E96A3, #E2E6EB 45%, #9AA2AE 60%, #6F7783); box-shadow: 0 0 10px rgba(226,230,235,0.35), inset 0 0 0 1px rgba(255,255,255,0.25); }
.fan.is-animated .fan__card { transition: transform 0.9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 18ms); }
.fan.is-stacked .fan__card { transform: rotate(0deg); }
.fan__count { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.fan__big { margin: 0; font-family: var(--serif); font-size: 72px; line-height: 1; }
.fan__big b { font-weight: 400; }
.fan__of { font-size: 30px; color: var(--mute-3); }
.fan__sub { margin: 6px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-1); }

.rarity__text { flex: 1 1 420px; min-width: 0; }
.rarity__text .h2 { margin-top: 24px; font-size: 56px; line-height: 1.04; }
.stats { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.stats > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); }
.stats > div:nth-child(even) { padding: 22px 0 22px 16px; }
.stats dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.stats dd { margin: 8px 0 0; font-family: var(--serif); font-size: 40px; line-height: 1; }

/* ---------- Residences ---------- */
.residences { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px 140px; }
.residences .eyebrow { margin-bottom: 32px; text-align: center; }
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.city { padding: 44px 24px; text-align: center; border-right: 1px solid rgba(199,204,212,0.15); }
.city:last-child { border-right: 0; }
.city__name { margin: 0; font-family: var(--serif); font-size: 48px; line-height: 1; }
.city__name--soon { font-style: italic; color: var(--mute-3); }
.city__status { margin: 12px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: #C7CCD4; }
.city__status--soon { color: var(--mute-3); }

/* ---------- Consideration form ---------- */
.consider { position: relative; padding: 140px 24px; background: linear-gradient(180deg, #000000, #0B0D10 50%, #000000); scroll-margin-top: 0; }
.consider__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.consider .h2 { font-size: 64px; line-height: 1; }
.consider__sub { margin: 18px 0 0; color: var(--body-2); }
.form { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-2); }
.field__label .opt { letter-spacing: 0.2em; color: var(--mute-3); }
.field__input {
  width: 100%; min-height: 52px; padding: 0 0 6px; margin: 0; border-radius: 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(199,204,212,0.4);
  color: var(--ink); font-family: var(--serif); font-size: 30px; line-height: 1.2;
  -webkit-appearance: none; appearance: none;
}
textarea.field__input { padding: 8px 0; font-size: 26px; line-height: 1.4; resize: vertical; min-height: 0; }
.field__input::placeholder { color: rgba(174,180,190,0.45); }
.field__input:focus { outline: none; border-bottom-color: var(--ink); }
.field__input:focus-visible { outline: none; }
.field.is-invalid .field__input { border-bottom-color: #E8A0A0; }
.field__error { min-height: 0; margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: #E8A0A0; }
.field__error:empty { display: none; }
.form__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }

.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--body-2); cursor: pointer; }
.consent input {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 1px solid rgba(199,204,212,0.6); border-radius: 3px; background: transparent;
  display: grid; place-content: center;
}
.consent input::after { content: ''; width: 10px; height: 10px; border-radius: 1px; background: var(--ink); transform: scale(0); transition: transform .12s ease; }
.consent input:checked::after { transform: scale(1); }
.consent input:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.field.is-invalid .consent input { border-color: #E8A0A0; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn-silver { margin-top: 20px; align-self: center; }
.form__status { margin: 0; text-align: center; font-size: 15px; color: #F1C6C6; }
.form__status:empty { display: none; }
.form__note { margin: 0; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-3); }

/* ---------- Daily Crest ---------- */
.crest { position: relative; max-width: 1200px; margin: 0 auto; padding: 140px 24px; }
.crest__title { margin: 24px 0 0; font-family: var(--display); font-weight: 700; font-size: 56px; letter-spacing: 0.16em; }
.crest__sub { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--mute-1); }
.crest__grid { margin-top: 80px; display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.shot { flex: 1 1 480px; min-width: 0; margin: 0; padding: 28px; background: linear-gradient(160deg, #15181D, #0A0B0D); box-shadow: 0 0 0 1px rgba(199,204,212,0.3), 0 60px 120px rgba(0,0,0,0.8); }
.shot img { display: block; width: auto; max-width: 100%; height: auto; max-height: 600px; margin: 0 auto; object-fit: contain; box-shadow: 0 0 0 1px rgba(199,204,212,0.2); background: #1D1F23; }
.shot figcaption { margin-top: 20px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.shot__num { font-family: var(--serif); font-size: 44px; line-height: 1; }
.shot__cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.points { flex: 1 1 400px; min-width: 0; }
.points ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.points li { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.points__k { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-2); }
.points__v { margin: 8px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.points .glass { margin-top: 40px; gap: 16px; min-height: 60px; padding: 0 36px; font-size: 11px; letter-spacing: 0.4em; }

.archive { margin-top: 120px; scroll-margin-top: 24px; }
.archive__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.archive__title { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; }
.archive__head .glass { gap: 16px; min-height: 56px; padding: 0 32px; font-size: 11px; letter-spacing: 0.4em; }
.archive__list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.archive__list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.ed__no { flex: 0 0 120px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--mute-2); }
.ed__date { flex: 0 0 140px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--mute-1); }
.ed__title { flex: 1 1 360px; font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.ed__read { font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: #C7CCD4; }
.archive__list a:hover .ed__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- FAQ ---------- */
.faq { position: relative; max-width: 960px; margin: 0 auto; padding: 40px 24px 140px; }
.faq .h2 { font-size: 64px; line-height: 1; }
.faq__list { margin-top: 64px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0; font-family: var(--serif); font-size: 30px; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq__icon { flex: 0 0 auto; font-family: var(--mono); font-size: 20px; color: var(--mute-2); transition: transform .25s ease; }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 64px 32px 0; font-size: 17px; color: var(--body-2); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 96px 56px 48px; background: #050607; border-top: 1px solid rgba(199,204,212,0.18); }
.footer__top { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; justify-content: space-between; }
.footer__brand { flex: 1 1 320px; max-width: 380px; }
.footer__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.5em; }
.footer__tag { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--mute-1); }
.footer__free { margin: 24px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ink); }
.footer__founder { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }
.footer__founder span { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.footer nav { flex: 0 1 180px; }
.footer nav.footer__contact { flex-basis: 200px; }
.footer nav p { margin: 0 0 20px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-3); }
.footer nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__muted { color: var(--mute-2); }
.footer__bottom {
  max-width: 1200px; margin: 72px auto 0; padding-top: 32px; border-top: 1px solid rgba(199,204,212,0.15);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start;
}
.footer__legal { flex: 1 1 520px; margin: 0; max-width: 720px; font-size: 11px; line-height: 1.7; color: var(--mute-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.footer__links a { color: var(--mute-2); }
.footer__links a:hover { color: var(--white); }

/* ---------- Sticky mobile bar ---------- */
.applybar { display: none; }

/* ---------- Simple pages (thank you, privacy, terms) ---------- */
.simple { position: relative; min-height: 70vh; padding: 80px 24px 140px; background: radial-gradient(ellipse 45% 38% at 50% 20%, rgba(190,198,212,0.12), rgba(0,0,0,0) 72%); }
.thanks { max-width: 760px; margin: 0 auto; text-align: center; }
.thanks__mark { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; border: 1px solid rgba(255,255,255,0.3); background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 14px 32px rgba(0,0,0,0.55); font-size: 22px; color: var(--white); }
.thanks h1 { margin: 40px 0 0; font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 1.02; letter-spacing: -0.01em; }
.thanks__sub { margin: 24px auto 0; max-width: 560px; font-size: 18px; color: var(--body-1); }
.thanks__actions { margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.thanks__secondary { font-family: var(--mono); font-size: 11px; letter-spacing: 0.4em; color: #C7CCD4; }
.thanks__secondary:hover { color: var(--white); }

.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { margin: 24px 0 0; font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1.02; }
.legal__meta { margin: 16px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.legal__intro { margin: 32px 0 0; font-size: 18px; color: var(--body-1); }
.legal h2 { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--rule); font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; }
.legal h3 { margin: 28px 0 0; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.3em; color: var(--mute-1); }
.legal p, .legal li { color: var(--body-2); font-size: 16px; }
.legal p { margin: 16px 0 0; }
.legal ul { margin: 16px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 14px 12px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(199,204,212,0.2); color: var(--body-2); }
.legal th { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.25em; color: var(--mute-2); }
.legal__table { overflow-x: auto; }
.legal .eyebrow { margin: 0; font-size: 10px; color: var(--mute-2); }
.legal .legal__meta { margin-top: 16px; font-size: 10px; color: var(--mute-2); }
.legal .legal__intro { margin-top: 32px; font-size: 18px; color: var(--body-1); }


/* ---------- The Daily Crest pop-up viewer ---------- */
.ed__read { white-space: nowrap; }
html.viewer-open, html.viewer-open body { overflow: hidden; }
.viewer {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: rgba(0,0,0,0.94);
  color: var(--ink); font-family: var(--sans);
  animation: bc-fade .2s ease both;
}
.viewer[hidden] { display: none; }
@keyframes bc-fade { from { opacity: 0 } }
.viewer__bar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; padding-top: calc(14px + env(safe-area-inset-top));
  border-bottom: 1px solid rgba(255,255,255,0.12); background: #050607;
}
.viewer__head { min-width: 0; }
.viewer__meta { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--mute-2); }
.viewer__title { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.viewer__btn {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); color: var(--white); cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  font-family: var(--mono); font-size: 14px; line-height: 1;
}
.viewer__btn:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.viewer__btn[disabled] { opacity: 0.3; cursor: default; }
.viewer__btn--text { font-size: 11px; letter-spacing: 0.2em; }
.viewer__close { margin-left: 8px; }
.viewer__count { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--mute-1); }
.viewer__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 28px 16px 48px; outline: none; }
.viewer__page { position: relative; max-width: 760px; min-height: 60vh; margin: 0 auto; }
.viewer__page img, .viewer__page iframe {
  display: block; width: 100%; height: auto; border: 0; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(199,204,212,0.2), 0 40px 100px rgba(0,0,0,0.8);
  background: #0A0B0D;
}
.viewer__page iframe { height: 85vh; }
.viewer__loading { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--mute-2); }
.viewer__page.is-loaded .viewer__loading { display: none; }

/* ==========================================================================
   Mid widths: scale the big type down smoothly between mobile and desktop.
   ========================================================================== */
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero__title { font-size: clamp(56px, 8.4vw, 96px); }
  .privileges .h2 { font-size: clamp(44px, 5.4vw, 60px); }
  .rarity__wrap { gap: 56px; }
}

/* Tablets: the comparison grid uses the stacked mobile layout so the
   Crest Club column never scrolls out of view. */
@media (max-width: 959px) {
  .compare { margin-top: 56px; overflow: visible; }
  .compare__inner { min-width: 0; }
  .compare__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .compare__corner { grid-column: 1 / -1; padding: 0 0 12px; }
  .compare__col { padding: 12px 4px; font-size: 10px; letter-spacing: 0.15em; }
  .compare__col--crest { padding-top: 12px; }
  .compare__label { grid-column: 1 / -1; padding: 24px 0 4px; font-size: 24px; }
  .compare__cell { padding: 8px 2px 18px; }
}

/* ==========================================================================
   Mobile (the approved 390px design)
   ========================================================================== */
@media (max-width: 767px) {
  .eyebrow { letter-spacing: 0.32em; }

  .strip { padding: 10px 14px; line-height: 1.7; font-size: 9px; letter-spacing: 0.18em; }
  .site-header { padding: 20px; flex-wrap: nowrap; }
  .site-header__founder { display: none; }
  .site-header__brand { font-size: 12px; letter-spacing: 0.4em; }
  .site-header__cta { font-size: 9px; letter-spacing: 0.3em; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }

  .hero { padding: 16px 20px 80px; }
  .card-stage { width: 340px; height: 215px; margin-top: 28px; }
  .card-scaler { transform: scale(0.548); }
  .hero__kicker { margin-top: 56px; letter-spacing: 0.32em; }
  .hero__title { font-size: 46px; line-height: 1.02; }
  .hero__lede { font-size: 16px; }
  .pills li { padding: 10px 16px; font-size: 9px; letter-spacing: 0.18em; }
  .hero__cta { width: 100%; gap: 12px; min-height: 60px; padding: 0 22px; font-size: 10px; letter-spacing: 0.22em; }

  .privileges { padding: 80px 20px; }
  .privileges .h2 { font-size: 38px; }
  .compare { margin-top: 40px; overflow: visible; }
  .compare__inner { min-width: 0; }
  .compare__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .compare__corner { grid-column: 1 / -1; padding: 0 0 12px; }
  .compare__col { padding: 10px 2px; align-items: flex-end; font-size: 8px; letter-spacing: 0.06em; }
  .compare__col--crest { padding-top: 10px; }
  .compare__col .lg { display: none; }
  .compare__col .sm { display: inline; }
  .compare__label { grid-column: 1 / -1; padding: 20px 0 4px; font-size: 21px; }
  .compare__cell { padding: 8px 2px 18px; }

  .rarity { padding: 80px 20px; }
  .rarity__wrap { gap: 48px; }
  .hand { flex: 1 1 100%; padding: 28px 16px 24px; }
  .fan { height: 250px; --w: 44px; --h: 70px; --r: 5px; --oy: 160px; --top: 6px; }
  .fan__big { font-size: 36px; }
  .fan__of { font-size: 22px; }
  .rarity__text .h2 { font-size: 36px; }
  .stats dd { font-size: 32px; }

  .residences { padding: 0 20px 80px; }
  .city { border-right: 0; }
  .city + .city { border-top: 1px solid rgba(199,204,212,0.15); }
  .city__name { font-size: 32px; }

  .consider { padding: 80px 20px; }
  .consider .h2 { font-size: 32px; }
  .field__input { font-size: 22px; }
  textarea.field__input { font-size: 21px; }
  .form .btn-silver { width: 100%; padding: 0 26px; font-size: 11px; letter-spacing: 0.25em; }

  .crest { padding: 80px 20px; }
  .crest__title { font-size: 21px; letter-spacing: 0.12em; }
  .crest__sub { font-size: 22px; }
  .crest__grid { margin-top: 48px; gap: 40px; }
  .shot { flex-basis: 100%; padding: 16px; }
  .shot img { max-height: none; width: 100%; }
  .shot__num { font-size: 34px; }
  .points { flex-basis: 100%; }
  .points__v { font-size: 22px; }
  .points .glass { padding: 0 22px; font-size: 10px; letter-spacing: 0.22em; }
  .archive { margin-top: 72px; }
  .archive__title { font-size: 32px; }
  .archive__head .glass { padding: 0 22px; font-size: 10px; letter-spacing: 0.22em; }
  .ed__no, .ed__date { flex: 0 0 auto; }
  .ed__title { flex: 1 1 100%; font-size: 22px; }

  .faq { padding: 20px 20px 80px; }
  .faq .h2 { font-size: 32px; }
  .faq summary { font-size: 22px; }
  .faq details p { padding: 0 0 28px 0; }

  .footer { padding: 64px 20px 40px; }
  .footer__top { gap: 40px; }
  .footer__name { letter-spacing: 0.32em; }
  .footer__bottom { margin-top: 48px; padding-top: 28px; }
  .footer__legal { flex-basis: 100%; }


  .viewer__bar { padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); gap: 10px; flex-wrap: wrap; }
  .viewer__head { flex: 1 1 calc(100% - 60px); order: 1; }
  .viewer__close { order: 2; margin-left: 0; }
  .viewer__actions { display: contents; }
  .viewer__btn:not(.viewer__close), .viewer__count { order: 3; }
  .viewer__title { font-size: 18px; }
  .viewer__body { padding: 16px 8px 40px; }
  .viewer__page img { border-radius: 4px; }

  .applybar {
    position: sticky; bottom: 0; z-index: 20;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85));
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid rgba(255,255,255,0.14);
    transition: transform .3s ease, opacity .3s ease;
  }
  .applybar.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
  .applybar__meta { flex: 0 0 auto; display: flex; flex-direction: column; font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; line-height: 1.5; color: var(--mute-2); }
  .applybar__left { color: var(--white); font-size: 10px; }
  .applybar__btn {
    flex: 1 1 auto; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; color: #000;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(226,230,235,0.82) 50%, rgba(199,204,212,0.9));
    box-shadow: inset 0 1px 0 #FFFFFF, 0 0 30px rgba(226,230,235,0.2);
    font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.14em;
  }
  .applybar__btn:hover { color: #000; }

  .simple { padding: 48px 20px 96px; }
  .thanks h1 { font-size: 44px; }
  .thanks__sub { font-size: 16px; }
  .thanks .btn-silver { width: 100%; padding: 0 22px; font-size: 11px; letter-spacing: 0.25em; }
  .legal h1 { font-size: 40px; }
  .legal h2 { font-size: 26px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 40px; }
  .pills li { letter-spacing: 0.12em; }
  .applybar__btn { letter-spacing: 0.08em; }
}

/* ==========================================================================
   Reduced motion: no float, no sheen, no fan deal.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card__sheen, .sheen { animation: none !important; }
  .fan .fan__card { transition: none !important; }
  .fan.is-stacked .fan__card { transform: rotate(var(--a)); }
  .card__sheen, .sheen { display: none; }
  .faq__icon, .applybar, .consent input::after { transition: none !important; }
  .viewer { animation: none; }
}
