/* GLAMR — noir & champagne */
:root {
  --bg: #0a0908;
  --bg-2: #13110f;
  --surface: rgba(255, 246, 230, 0.035);
  --surface-2: rgba(255, 246, 230, 0.06);
  --line: rgba(232, 210, 170, 0.13);
  --line-2: rgba(232, 210, 170, 0.24);
  --text: #f4ede1;
  --muted: #a89f90;
  --dim: #6f685e;
  --gold: #d9bf8c;
  --gold-hi: #f4e2b8;
  --gold-lo: #9f7d4c;
  --foil: linear-gradient(120deg, #f7e9c8 0%, #d6b882 32%, #9f7d4c 58%, #ecd6a6 82%, #f7e9c8 100%);
  --ok: #8fc9a3;
  --warn: #e3b46a;
  --serif: 'Cormorant Garamond', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ambient light */
.aura { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura i { position: absolute; border-radius: 50%; opacity: .55; }
.aura i:nth-child(1) { width: 420px; height: 420px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(201, 160, 98, .35), transparent 70%); }
.aura i:nth-child(2) { width: 360px; height: 360px; right: -180px; top: 30%; background: radial-gradient(circle, rgba(140, 92, 60, .28), transparent 70%); }
.aura i:nth-child(3) { width: 300px; height: 300px; left: 20%; bottom: -160px; background: radial-gradient(circle, rgba(232, 205, 150, .16), transparent 70%); }

.app {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto;
  min-height: 100svh;
  padding: calc(var(--safe-t) + 14px) 20px calc(var(--safe-b) + 110px);
}
.app.bare { padding-bottom: calc(var(--safe-b) + 28px); }
@media (min-width: 640px) {
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: rgba(10, 9, 8, .35); }
}

.screen { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.stagger > * { animation: rise .7s var(--ease) both; }
.screen.still, .screen.still .stagger > * { animation: none; }
.stagger > *:nth-child(2) { animation-delay: .06s; } .stagger > *:nth-child(3) { animation-delay: .12s; }
.stagger > *:nth-child(4) { animation-delay: .18s; } .stagger > *:nth-child(5) { animation-delay: .24s; }
.stagger > *:nth-child(6) { animation-delay: .30s; } .stagger > *:nth-child(7) { animation-delay: .36s; }

/* type */
.wordmark { font-family: var(--serif); font-weight: 600; letter-spacing: .34em; padding-left: .34em; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 9s linear infinite; }
@keyframes foil { to { background-position: -200% 0; } }
.eyebrow { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.1; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0; }
.it { font-style: italic; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.center { text-align: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 28px 0; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 18px; }
.top .wordmark { font-size: 19px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; color: var(--gold-hi); border: 1px solid var(--line-2); background: var(--surface); }
.back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.top .title { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .02em; transition: transform .2s var(--ease), opacity .2s, box-shadow .3s; width: 100%; }
.btn:active { transform: scale(.98); }
.btn-gold { color: #1a140b; background: var(--foil); background-size: 220% 100%; box-shadow: 0 10px 40px -12px rgba(217, 183, 120, .55), inset 0 1px 0 rgba(255, 255, 255, .5); animation: foil 7s linear infinite; }
.btn-ghost { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.btn-link { height: auto; padding: 10px; color: var(--muted); font-weight: 500; width: auto; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .i { width: 19px; height: 19px; }

/* cards */
.card { background: linear-gradient(180deg, rgba(255, 246, 230, .05), rgba(255, 246, 230, .02)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }

/* welcome */
.welcome { min-height: calc(100svh - var(--safe-t) - var(--safe-b) - 42px); display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.welcome .wordmark { font-size: clamp(46px, 14.5vw, 72px); display: block; line-height: 1; margin: 22px 0 10px; }
.welcome .tag { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--text); }
.welcome .lede { color: var(--muted); max-width: 330px; margin: 22px auto 0; font-size: 15px; }
.crest { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; }
.crest::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--line); }
.crest span { font-family: var(--serif); font-size: 30px; color: var(--gold-hi); }
.marquee { overflow: hidden; margin: 34px -20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee div { display: flex; gap: 34px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 400; font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* photography */
.hero-img { position: absolute; left: 0; right: 0; top: 0; height: 66vh; height: 66svh; max-height: 640px; background: var(--img, url('/img/hero.jpg')) center 35% / cover no-repeat; opacity: .62; z-index: -1; pointer-events: none; animation: fadein 1.2s ease-out both; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, .55), rgba(10, 9, 8, .1) 35%, rgba(10, 9, 8, .75) 75%, var(--bg) 100%); }
@keyframes fadein { from { opacity: 0; } }
.welcome-head { padding-top: 26svh; }
.reel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { flex: 0 0 72%; max-width: 290px; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-margin-left: 20px; border-radius: var(--r); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, transparent 30%, rgba(8, 7, 6, .92)), var(--img) center / cover no-repeat, linear-gradient(160deg, #2a2219, #0e0c0a); transition: transform .3s var(--ease); }
.reel-card:active { transform: scale(.98); }
.reel-card b { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.08; margin-top: 8px; }
.reel-card small { color: var(--muted); font-size: 12.5px; margin-top: 8px; }

/* story */
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 22px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.scroll-cue span { display: grid; animation: bob 2.4s ease-in-out infinite; }
.scroll-cue .i { transform: rotate(-90deg); width: 18px; height: 18px; }
@keyframes bob { 50% { transform: translateY(5px); } }
.story { margin: 40px -20px 0; display: grid; gap: 2px; }
.story-card { min-height: min(86svh, 680px); display: flex; align-items: flex-end; padding: 36px 24px 44px; background: linear-gradient(180deg, rgba(10, 9, 8, .35) 0%, transparent 25%, rgba(10, 9, 8, .25) 50%, rgba(10, 9, 8, .96) 100%), var(--img) var(--pos, center) / cover no-repeat, linear-gradient(160deg, #2a2219, #0e0c0a); }
.story-card .h1 { font-size: 44px; margin: 12px 0 14px; }
.story-card p { margin: 0; color: rgba(244, 237, 225, .78); max-width: 320px; font-size: 15.5px; }
.reveal > * { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in > * { opacity: 1; transform: none; }
.manifesto { text-align: center; padding: 70px 0 20px; }
.manifesto blockquote { margin: 18px 0 0; font-family: var(--serif); font-size: 42px; line-height: 1.08; }
.final { text-align: center; padding: 60px 0 10px; border-top: 1px solid var(--line); margin-top: 40px; }
.hero-img.short { height: 48vh; height: 48svh; max-height: 440px; opacity: .3; }
.reveal-card { animation: cardin 1.4s .2s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: perspective(900px) rotateX(28deg) translateY(40px) scale(.92); } }

/* invitations & review */
.invite-card { padding: 24px 20px; }
.invite-count { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.invite-count b { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; color: var(--gold-hi); }
.invite-count span { font-size: 13px; color: var(--muted); }
.crest.breathe { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 10px rgba(217, 191, 140, .08); border-color: var(--gold-lo); } }

/* category page */
.cat-hero { position: relative; margin: calc(-14px - var(--safe-t)) -20px 0; min-height: 300px; padding: calc(var(--safe-t) + 14px) 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .1) 35%, rgba(10, 9, 8, .78) 78%, var(--bg) 100%), var(--img) var(--pos, center) / cover no-repeat, linear-gradient(160deg, #2a2219, #0e0c0a); }
.cat-hero .back { background: rgba(10, 9, 8, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cat-hero .h1 { margin: 8px 0 8px; font-size: 42px; }
.cat-hero p { margin: 0; color: rgba(244, 237, 225, .8); max-width: 320px; font-size: 15px; }
a.chip { text-decoration: none; }

/* forms */
.field { margin-top: 18px; text-align: left; }
.label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 9px; }
.input, .textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 16px; font-size: 16px; outline: none; transition: border-color .2s, background .2s; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .textarea:focus { border-color: var(--gold-lo); background: var(--surface-2); }
.textarea { min-height: 132px; resize: none; line-height: 1.5; font-family: var(--serif); font-size: 21px; }
.textarea::placeholder { font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 500; transition: all .2s var(--ease); }
.chip .i { width: 17px; height: 17px; }
.chip.on { color: #1a140b; background: var(--gold); border-color: var(--gold); }
.step-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; }
.step-dots i { width: 22px; height: 2px; border-radius: 2px; background: var(--line-2); }
.step-dots i.on { background: var(--gold); }

/* home */
.greet .eyebrow { display: block; margin-bottom: 8px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(143, 201, 163, .6); animation: pulse 2.4s infinite; }
.dot.off { background: var(--warn); box-shadow: none; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(143, 201, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 201, 163, 0); } }

.ask { margin-top: 24px; padding: 22px 20px 20px; display: block; width: 100%; text-align: left; border-color: var(--line-2); }
.ask::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(244, 226, 184, .55), transparent 40%, transparent 60%, rgba(159, 125, 76, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ask .q { font-family: var(--serif); font-size: 26px; line-height: 1.12; }
.ask .fake { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 8px 14px 16px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.ask .fake span:first-child { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.ask .go { width: 40px; height: 40px; border-radius: 50%; background: var(--foil); color: #1a140b; display: grid; place-items: center; flex: none; }
.ask .go .i { width: 18px; height: 18px; stroke-width: 1.8; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { min-width: 0; min-height: 124px; gap: 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 246, 230, .055), rgba(255, 246, 230, .015)); padding: 14px 12px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; transition: transform .25s var(--ease), border-color .25s; }
.tile:active { transform: scale(.97); border-color: var(--line-2); }
.tile .i { width: 25px; height: 25px; color: var(--gold); stroke-width: 1.25; }
.tile b { display: block; font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.tile small { display: block; color: var(--dim); font-size: 11px; line-height: 1.3; margin-top: 3px; }

.how { display: grid; gap: 0; }
.how-row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.how-row:first-child { border-top: 0; padding-top: 4px; }
.how-row .n { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; font-style: italic; }
.how-row b { font-family: var(--serif); font-weight: 500; font-size: 20px; display: block; }

.live { display: block; width: 100%; text-align: left; margin-top: 22px; }
.live .row { display: flex; align-items: center; gap: 14px; }
.badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(217, 191, 140, .1); border: 1px solid var(--line-2); color: var(--gold); flex: none; }
.badge .i { width: 22px; height: 22px; }
.progress { display: flex; gap: 4px; margin-top: 16px; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.progress i.on { background: var(--gold); }
.clamp1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.sign-off { text-align: center; margin-top: 44px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--dim); }

/* status label */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.plan { color: var(--gold-hi); }
.st.done { color: var(--ok); }
.st.cancelled { color: var(--dim); }

/* request list */
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { flex: 1; height: 40px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tabs button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.list { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px; text-align: left; width: 100%; }
.item .meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.empty { text-align: center; padding: 50px 20px; }
.empty .crest { margin-bottom: 20px; }

/* detail */
.timeline { position: relative; margin-top: 8px; }
.tl { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 20px; position: relative; }
.tl::before { content: ''; position: absolute; left: 12px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl .b { width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--bg); }
.tl.on .b { background: var(--gold); border-color: var(--gold); color: #1a140b; }
.tl.now .b { box-shadow: 0 0 0 5px rgba(217, 191, 140, .14); }
.tl .b .i { width: 13px; height: 13px; stroke-width: 2.2; }
.tl b { font-weight: 600; font-size: 14.5px; }
.tl.off b { color: var(--dim); font-weight: 500; }
.plan-box { border-color: rgba(217, 191, 140, .4); background: linear-gradient(170deg, rgba(217, 191, 140, .12), rgba(217, 191, 140, .03)); }
.plan-box .plan-text { font-family: var(--serif); font-size: 19px; line-height: 1.4; margin: 10px 0 0; white-space: pre-wrap; }
.quote { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--gold-hi); }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 14px; }
.kv dt { color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.kv dd { margin: 0; }
.stack { display: grid; gap: 10px; }

/* sent */
.sent { min-height: calc(100svh - var(--safe-t) - var(--safe-b) - 50px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.seal { width: 118px; height: 118px; margin: 0 auto 30px; position: relative; }
.seal svg { width: 100%; height: 100%; }
.seal .ring { fill: none; stroke: url(#foilg); stroke-width: 1.2; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.4s var(--ease) forwards; }
.seal .tick { fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* membership card */
.mcard { aspect-ratio: 1.586; border-radius: 20px; padding: 22px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 140% at 0% 0%, #2b241b 0%, #15120f 45%, #0b0a09 100%); border: 1px solid rgba(232, 210, 170, .28); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 240, 210, .12); transform-style: preserve-3d; transition: transform .4s var(--ease); }
.mcard::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 6px); }
.mcard::after { content: ''; position: absolute; top: -50%; left: -60%; width: 50%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 236, 196, .16), transparent); transform: rotate(18deg); animation: sheen 6s 1s var(--ease) infinite; }
@keyframes sheen { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.mcard .wordmark { font-size: 21px; }
.mcard .row { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.mcard .name { font-family: var(--serif); font-size: 23px; letter-spacing: .02em; }
.mcard .no { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; color: var(--muted); margin-top: 4px; }
.mcard .tier { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.chipgold { width: 40px; height: 30px; border-radius: 6px; background: var(--foil); opacity: .85; position: relative; }
.chipgold::after { content: ''; position: absolute; inset: 6px 9px; border: 1px solid rgba(0, 0, 0, .25); border-radius: 3px; }
.mcard.black { background: radial-gradient(120% 140% at 100% 0%, #1d1d1f 0%, #0b0b0c 55%, #050505 100%); }

.tiers { display: grid; gap: 10px; }
.tier-card { padding: 20px; }
.tier-card.current { border-color: rgba(217, 191, 140, .45); }
.tier-card .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.tier-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.tier-card li { display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.tier-card li::before { content: '—'; color: var(--gold-lo); }
.pill { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--gold); }

/* bottom nav */
.nav { position: fixed; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 14px); width: min(440px, calc(100% - 28px)); height: 66px; border-radius: 999px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px; background: rgba(20, 17, 14, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); }
.nav[hidden] { display: none; }
.nav a { display: grid; place-items: center; gap: 2px; height: 100%; color: var(--dim); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; transition: color .2s; position: relative; }
.nav a .i { width: 22px; height: 22px; }
.nav a.on { color: var(--gold-hi); }
.nav a .n-dot { position: absolute; top: 12px; right: calc(50% - 16px); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--bg); }
.nav .plus { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: var(--foil); background-size: 200% 100%; color: #1a140b; display: grid; place-items: center; box-shadow: 0 8px 26px -6px rgba(217, 183, 120, .6); animation: foil 7s linear infinite; }
.nav .plus .i { width: 24px; height: 24px; stroke-width: 1.8; }

/* sticky action */
.dock { position: sticky; bottom: calc(var(--safe-b) + 12px); margin-top: 26px; z-index: 5; }
.dock::before { content: ''; position: absolute; inset: -30px -20px -20px; background: linear-gradient(transparent, var(--bg) 45%); z-index: -1; pointer-events: none; }
.reassure { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; color: var(--dim); font-size: 12.5px; justify-content: center; text-align: center; }

/* toast */
.toast { position: fixed; left: 50%; top: calc(var(--safe-t) + 14px); transform: translate(-50%, calc(-100% - 60px)); visibility: hidden; z-index: 50; padding: 13px 20px; border-radius: 999px; background: rgba(30, 26, 21, .92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; width: max-content; max-width: calc(100% - 32px); text-align: center; transition: transform .5s var(--ease), visibility .5s; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* desk */
.desk { max-width: 1100px; padding-bottom: 60px; }
.desk-grid { display: grid; gap: 12px; }
.desk-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
.desk-item { padding: 18px; }
.desk-item .top-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.desk-item .who { font-weight: 600; }
.desk-item .details { font-family: var(--serif); font-size: 20px; line-height: 1.35; margin: 12px 0; white-space: pre-wrap; }
.desk-item .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.desk-item .facts b { color: var(--text); font-weight: 500; }
.desk-item .edit { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.desk-item .edit .textarea { min-height: 90px; font-size: 17px; }
.desk-item select.input { appearance: none; -webkit-appearance: none; }
.desk-item .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.desk-item .actions .btn { width: auto; height: 46px; font-size: 14px; }
.desk-item.fresh { border-color: rgba(217, 191, 140, .5); }
.desk-item a.tel { color: var(--gold); }
/* admin */
.admin-tabs { margin: 4px 0 26px; }
.admin-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.badge-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a140b; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tree .tree { margin: 10px 0 0 14px; padding-left: 16px; border-left: 1px solid var(--line-2); }
.tree .tree > li { position: relative; }
.tree .tree > li::before { content: ''; position: absolute; left: -16px; top: 28px; width: 14px; border-top: 1px solid var(--line-2); }
.member-row { padding: 16px 18px; }
.member-row.removed { opacity: .5; }
.member-row .top-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.member-row .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.member-row .facts b { color: var(--text); font-weight: 500; }
.member-row a.tel { color: var(--gold); }
.member-ctrls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.member-ctrls .chip { height: 38px; padding: 0 14px; font-size: 13px; }
.member-ctrls b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--gold-hi); min-width: 18px; text-align: center; }
@media (min-width: 900px) { .desk-grid { grid-template-columns: 1fr 1fr; } .desk-item .edit .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } }
.row2 { display: grid; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 360px) {
  .h1 { font-size: 34px; }
  .tile { padding: 11px 9px; }
  .tile b { font-size: 12.5px; }
  .tile small { display: none; }
}
