/* =========================================================================
   WV DUNA — wvduna.com — marketing site theme
   Consumes the official design system tokens in colors_and_type.css.
   (Old Gold pulse on deep navy, navy-on-gold squared buttons, white Goudy
   headlines with a single gold em.wv-emph, sky-blue eyebrows, ridge motif.)
   colors_and_type.css MUST be linked before this file.
   ========================================================================= */

:root { --maxw: 1180px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--fg);
  line-height: var(--lh-body);
}

img, svg { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.0;
  letter-spacing: 0;
}
h1.display { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0.15em 0 0.3em; text-wrap: balance; }
h2.display { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 0.4em; }
/* The signature move — one italic gold phrase per headline. */
.display em, em.wv-emph, .wv-emph { font-family: var(--font-display); font-style: italic; color: var(--accent); }

.serif-title { font-family: var(--font-display); font-weight: 400; color: var(--fg); line-height: 1.1; }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--kin-skyblue);
}
.eyebrow .dot { color: var(--fg-dim); margin: 0 0.5em; }
.eyebrow .star { color: var(--accent); margin: 0 0.5em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--fg-muted); max-width: 62ch; line-height: 1.55; }
.muted { color: var(--fg-muted); }
.faint { color: var(--fg-soft); }

/* ---------- Buttons (squared, navy-on-gold primary) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: 160ms ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--accent); color: var(--on-accent); }
.btn-gold:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn-lg { font-size: 1.02rem; padding: 1rem 1.8rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9, 7, 58, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand-lockup { display: flex; align-items: center; gap: 0.55rem; }
.brand-lockup:hover { text-decoration: none; }
.brand-mark { height: 30px; width: 30px; }
.brand-word { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--fg); letter-spacing: 0.01em; }
.brand-word b { color: var(--accent); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav-links a.navlink { color: var(--fg-muted); font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav-links a.navlink:hover, .nav-links a.navlink.active { color: var(--fg); border-color: var(--accent); text-decoration: none; }
.nav-sep { width: 1px; height: 24px; background: var(--border); }
.nav-login { color: var(--fg-muted); font-weight: 600; font-size: 0.95rem; }
.nav-login:hover { color: var(--fg); text-decoration: none; }
.nav-login.active { color: var(--fg); }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); font-size: 1.6rem; cursor: pointer; margin-left: auto; }

/* ---------- Decorative motifs ---------- */
.ridge, .mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 180px; object-fit: cover; opacity: 0.9; z-index: 0; pointer-events: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 80px 0; }
.section-tight { padding: 52px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 76px 0 120px;
  background:
    radial-gradient(1100px 420px at 88% -10%, rgba(234,170,0,0.26), transparent 55%),
    radial-gradient(700px 500px at -8% 60%, rgba(3,204,217,0.14), transparent 60%),
    linear-gradient(135deg, #100E59, #09073A 80%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 1.3rem; }
.hero-eyebrow .star { color: var(--accent); }
.hero h1 { max-width: 18ch; }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--fg); margin: 0 0 1.1rem; }
.hero-body { max-width: 60ch; font-size: 1.08rem; color: var(--fg-muted); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Stat boxes ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: linear-gradient(135deg, #100E59, #0A0D33); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.75rem); color: var(--fg); line-height: 1; }
.stat .label { margin-top: 0.5rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; }

/* ---------- Accent cards ---------- */
.card-grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

.acard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: 160ms ease;
}
.acard:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.acard .kicker { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 0.6rem; }
.acard h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 0 0 0.6rem; color: var(--fg); line-height: 1.1; }
.acard p { color: var(--fg-muted); margin: 0 0 0.6rem; font-size: 0.96rem; }
.acard .stat-line { margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; }
.acard .big { font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); line-height: 1.1; }

/* WV DUNA uses ONE accent. Category is shown via icon + tag, never color. */
.accent-cyan, .accent-magenta, .accent-lime,
.accent-gold, .accent-violet, .accent-orange { --accent: var(--wv-gold); }

/* ---------- Featured / movement cards ---------- */
.featured-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: 160ms ease; }
.featured-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.featured-card .top { height: 130px; position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 32%, var(--surface-elev), var(--bg) 70%); }
.featured-card .badge { font-family: var(--font-display); font-size: 1.4rem; color: var(--on-accent); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); }
.featured-card .body { padding: 18px 20px 22px; }
.featured-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 0 0 0.3rem; color: var(--fg); }
.featured-card .tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.featured-card p { color: var(--fg-muted); font-size: 0.9rem; margin: 0.7rem 0 0; }
.featured-card .meta { display: flex; gap: 1.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.featured-card .meta div span { display: block; }
.featured-card .meta .v { font-family: var(--font-display); color: var(--fg); font-size: 1.15rem; }
.featured-card .meta .k { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }

/* ---------- Spotlight (movement of the week) ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  background: linear-gradient(160deg, #100E59, #0A0D33);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.spotlight .panel { padding: 42px 38px; }
.spotlight .art { background: radial-gradient(circle at 50% 40%, rgba(234,170,0,0.28), transparent 60%), var(--surface-elev); display: flex; align-items: center; justify-content: center; min-height: 280px; }
.spotlight .wv-badge { width: 150px; opacity: 0.95; }

/* ---------- Pricing tiers ---------- */
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.tier.featured-tier { background: linear-gradient(180deg, rgba(234,170,0,0.12), transparent 70%), var(--surface); border-color: rgba(234,170,0,0.4); box-shadow: var(--shadow-glow-accent); }
.tier .ribbon { align-self: flex-start; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.tier h3 { font-family: var(--font-display); font-weight: 400; color: var(--fg); font-size: 1.6rem; margin: 0 0 0.3rem; }
.tier .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--fg); }
.tier .price small { display: block; font-family: var(--font-sans); font-weight: 400; color: var(--fg-soft); font-size: 0.85rem; }
.tier ul { list-style: none; padding: 0; margin: 1.3rem 0; flex: 1; }
.tier li { position: relative; padding-left: 1.5rem; margin: 0.55rem 0; color: var(--fg-muted); font-size: 0.94rem; }
.tier li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier .btn { width: 100%; }

/* ---------- Strip / banner ---------- */
.strip { border: 1px solid rgba(234,170,0,0.4); border-radius: var(--radius-lg); padding: 26px 30px; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; background: var(--wv-gold-soft); }
.strip .lab { font-family: var(--font-display); color: var(--accent); font-size: 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 88px 0; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 50% -20%, rgba(234,170,0,0.20), transparent 60%),
    linear-gradient(135deg, #100E59, #09073A 80%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 1rem; }
.cta-band .lede { margin: 0 auto 2rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; max-width: 560px; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--fg); }
.field input, .field select, .field textarea { width: 100%; padding: 0.78rem 1rem; border-radius: var(--radius-sm); background: var(--bg-deep); border: 1px solid var(--border); color: var(--fg); font-family: var(--font-sans); font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.85rem; color: var(--fg-soft); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { position: relative; padding-left: 62px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--on-accent); background: var(--accent); border-radius: 50%; }
.step h3 { font-family: var(--font-display); font-weight: 400; margin: 0 0 0.3rem; font-size: 1.2rem; color: var(--fg); }
.step p { margin: 0; color: var(--fg-muted); }

/* ---------- Page hero (secondary) ---------- */
.page-hero {
  padding: 68px 0 56px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(234,170,0,0.20), transparent 55%),
    radial-gradient(600px 420px at -8% 70%, rgba(3,204,217,0.12), transparent 60%),
    linear-gradient(135deg, #100E59, #09073A 80%);
}
.page-hero .wrap { position: relative; z-index: 2; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose p { color: var(--fg-muted); font-size: 1.05rem; }
.prose h2 { font-family: var(--font-display); font-weight: 400; color: var(--fg); margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 54px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.footer-grid a { display: block; color: var(--fg-muted); margin: 0.4rem 0; font-weight: 500; }
.footer-grid a:hover { color: var(--fg); }
.footer-grid p a { display: inline; margin: 0; }
.footer-grid p a.kin-link { color: #fff; }
.footer-grid p a.kin-link:hover { font-weight: 700; color: #fff; }
.brand-name { font-family: var(--font-display); color: var(--fg); }
.brand-name b { color: var(--accent); font-weight: 400; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--fg-soft); font-size: 0.85rem; }
.draft-flag { display: inline-block; background: var(--wv-gold-soft); color: var(--accent); border: 1px solid rgba(234,170,0,0.4); border-radius: var(--radius-pill); padding: 0.15rem 0.7rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 24px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a.navlink, .nav-login { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-sep { display: none; }
  .nav-links .btn { margin-top: 0.8rem; }
  .nav-toggle { display: block; }
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .spotlight { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4, .cols-5, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .spotlight .panel { padding: 28px 22px; }
}

.legal-links { font-size: 0.78rem; color: var(--fg-soft); }
.legal-links a { color: var(--fg-soft); text-decoration: none; }
.legal-links a:hover { color: var(--fg-muted); text-decoration: underline; }

/* signup hero: text + form side by side, stacked on mobile */
.signup-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .signup-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================================
   DUNA directory (dunas.html) + profile (duna.html) + auth modal
   ========================================================================= */
.duna-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.duna-search { flex: 1 1 280px; position: relative; }
.duna-search input { width: 100%; padding: 0.72rem 1rem 0.72rem 2.4rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--fg); font-family: var(--font-sans); font-size: 0.98rem; }
.duna-search input:focus { outline: none; border-color: var(--accent); }
.duna-search .ico { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--fg-soft); pointer-events: none; }
.sort-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; margin-right: 2px; }
.sort-group { display: flex; flex-wrap: wrap; gap: 8px; }
.sort-btn { font-family: var(--font-sans); font-weight: 700; font-size: 0.84rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); color: var(--fg-muted); cursor: pointer; transition: 160ms; display: inline-flex; align-items: center; gap: 0.4rem; }
.sort-btn:hover { border-color: var(--border-strong); color: var(--fg); }
.sort-btn.active { background: var(--wv-gold-soft); border-color: rgba(234,170,0,0.5); color: var(--accent); }
.sort-btn .arrow { font-size: 0.85rem; line-height: 1; }
.result-count { font-size: 0.82rem; color: var(--fg-soft); margin: 0 0 18px; }

.duna-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duna-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: 160ms; }
.duna-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.duna-cover { position: relative; height: 120px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 32%, var(--surface-elev), var(--bg) 70%); }
.duna-cover .tag { position: absolute; top: 12px; left: 12px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); background: rgba(0,0,0,0.45); color: #fff; backdrop-filter: blur(6px); }
.vis-badge { position: absolute; top: 12px; right: 12px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.vis-public { background: rgba(3,204,217,0.22); color: #9beef4; border: 1px solid rgba(3,204,217,0.5); }
.vis-private { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid var(--border-strong); }
.coin { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.8rem; color: var(--on-accent); background: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.35); border: 2px solid rgba(255,255,255,0.3); }
.coin-lg { width: 86px; height: 86px; font-size: 1.1rem; }
.duna-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.duna-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0; color: var(--fg); line-height: 1.1; }
.duna-body .by { font-size: 0.78rem; color: var(--fg-soft); margin-top: -4px; }
.duna-body .by b { color: var(--fg-muted); font-weight: 700; }
.duna-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.duna-stats .v { font-family: var(--font-display); font-size: 1.1rem; color: var(--fg); line-height: 1; display: block; }
.duna-stats .k { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.duna-ctas { display: flex; gap: 8px; margin-top: auto; }
.duna-ctas .btn { flex: 1; }
.no-results { grid-column: 1 / -1; padding: 44px; text-align: center; color: var(--fg-soft); border: 1px dashed var(--border); border-radius: var(--radius-lg); }

/* Profile */
.profile-head { display: flex; align-items: center; gap: 22px; }

/* Auth modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(3,1,27,0.72); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 30px; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); position: relative; }
.modal .close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--fg-soft); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal .close:hover { color: var(--fg); }
.modal h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 0.3rem; }
.modal .sub { color: var(--fg-muted); font-size: 0.92rem; margin: 0 0 1.2rem; }
.modal .tabs { display: flex; gap: 6px; margin-bottom: 1.2rem; background: var(--bg-deep); padding: 4px; border-radius: var(--radius-pill); }
.modal .tabs button { flex: 1; padding: 0.5rem; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--fg-muted); font-family: var(--font-sans); font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: 160ms; }
.modal .tabs button.active { background: var(--accent); color: var(--on-accent); }

@media (max-width: 920px) { .duna-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .duna-grid { grid-template-columns: 1fr; } .profile-head { flex-direction: column; text-align: center; } }

/* =========================================================================
   DUNAs card refinements — smaller CTAs + themed cover graphics
   ========================================================================= */
.btn-sm { font-size: 0.8rem; padding: 0.46rem 1.05rem; border-radius: var(--radius-xs); }

.duna-cover { height: 124px; }
.duna-cover .theme-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.duna-cover .theme-ico svg { width: 48px; height: 48px; color: var(--wv-gold); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }

.coin-chip { position: absolute; left: 12px; bottom: 12px; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.7rem; color: var(--on-accent); background: var(--accent); border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 3px 10px rgba(0,0,0,0.35); }

.duna-ctas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.duna-ctas .join-btn, .duna-ctas .btn { flex: 0 0 auto; }
.more-link { font-weight: 700; font-size: 0.82rem; color: var(--link); white-space: nowrap; }
.more-link:hover { color: var(--fg); text-decoration: none; }

/* Profile graphic (duna.html) */
.profile-ico { position: relative; width: 104px; height: 104px; flex: 0 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 32%, var(--surface-elev), var(--bg) 70%); }
.profile-ico svg { width: 46px; height: 46px; color: var(--wv-gold); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.profile-ico .coin-chip { left: auto; right: 8px; bottom: 8px; }
.profile-head .profile-ico { background: radial-gradient(circle at 50% 32%, var(--surface-elev), var(--bg) 70%); }

/* =========================================================================
   Site-wide search (homepage hero)
   ========================================================================= */
.site-search { position: relative; max-width: 600px; margin-top: 1.8rem; z-index: 5; }
.site-search .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--fg-soft); font-size: 1.1rem; pointer-events: none; }
.site-search input {
  width: 100%; padding: 0.95rem 1rem 0.95rem 2.7rem; border-radius: var(--radius-md);
  background: rgba(10, 13, 51, 0.85); border: 1px solid var(--border-strong); color: var(--fg);
  font-family: var(--font-sans); font-size: 1rem; backdrop-filter: blur(6px);
}
.site-search input::placeholder { color: var(--fg-soft); }
.site-search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-glow-accent); }

.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-height: 60vh; overflow-y: auto; padding: 6px;
}
.search-result { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline;
  padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.search-result:hover, .search-result.is-active { background: var(--surface-muted); text-decoration: none; }
.search-result .sr-type { grid-row: 1; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding-top: 2px; }
.search-result .sr-title { grid-row: 1; font-family: var(--font-display); font-size: 1.05rem; color: var(--fg); line-height: 1.1; }
.search-result .sr-snip { grid-column: 2; grid-row: 2; font-size: 0.82rem; color: var(--fg-soft); line-height: 1.4; }
.search-empty { padding: 16px 14px; color: var(--fg-soft); font-size: 0.9rem; }
@media (max-width: 560px) {
  .search-result { grid-template-columns: 1fr; }
  .search-result .sr-snip { grid-column: 1; }
}

/* =========================================================================
   Registered Agent profile (registered-agent.html)
   ========================================================================= */
.agent-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.agent-photo { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: radial-gradient(circle at 50% 32%, #100E59, #09073A); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.agent-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.agent-photo .agent-initials { position: absolute; z-index: 0; font-family: var(--font-display); font-size: 4.5rem; color: var(--accent); }
.agent-meta { margin-top: 16px; display: grid; gap: 6px; }
.agent-meta a { font-weight: 700; font-size: 0.9rem; }
.agent-meta .row { font-size: 0.85rem; color: var(--fg-soft); }
.agent-bio p { color: var(--fg-muted); font-size: 1.05rem; margin: 0 0 1rem; }
@media (max-width: 760px) { .agent-grid { grid-template-columns: 1fr; } .agent-photo { max-width: 260px; } }

/* Search band (full-width, directly under the header) */
.search-band { background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 14px 0; position: relative; z-index: 40; }
.search-band .site-search { margin-top: 0; max-width: 680px; }

/* Full WV DUNA logo (replaces the star mark + wordmark lockup) */
.brand-logo { height: 36px; width: auto; display: block; }
.footer-logo { height: 42px; margin-bottom: 6px; }
@media (max-width: 480px) { .brand-logo { height: 30px; } }

/* =========================================================================
   Founder profile cards (founders.html) + Agent/ally cards (allies.html)
   ========================================================================= */
.founder-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 24px 22px; transition: 160ms ease; }
.founder-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.founder-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.founder-ava { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; color: var(--on-accent); background: var(--accent); }
.founder-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 0; color: var(--fg); line-height: 1.1; }
.founder-role { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; margin-top: 3px; }
.founder-card p { color: var(--fg-muted); font-size: 0.95rem; margin: 0 0 1rem; }
.founder-links { margin-top: auto; border-top: 1px solid var(--border); padding-top: 12px; display: grid; gap: 7px; font-size: 0.9rem; }
.founder-links .k { display: inline-block; min-width: 60px; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; }

.agent-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: 160ms ease; }
.agent-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.agent-ico { width: 38px; height: 38px; color: var(--accent); margin-bottom: 10px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.agent-card .who { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.agent-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0.2rem 0 0.45rem; color: var(--fg); line-height: 1.1; }
.agent-card p { color: var(--fg-muted); font-size: 0.92rem; margin: 0; }

/* Founder card: Connect CTA */
.founder-connect { align-self: flex-start; margin-top: 14px; }

/* Sponsor directory cards */
.sponsor-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; transition: 160ms ease; }
.sponsor-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.sponsor-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sponsor-logo { flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; background: var(--surface-elev); border: 1.5px solid var(--sp, var(--accent)); color: var(--sp, var(--accent)); }
.sponsor-card .kicker { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--fg-soft); margin-bottom: 0.3rem; }
.sponsor-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin: 0; color: var(--fg); line-height: 1.1; }
.sponsor-card p { color: var(--fg-muted); font-size: 0.95rem; margin: 0 0 1rem; }
.sponsor-links { margin-top: auto; border-top: 1px solid var(--border); padding-top: 12px; font-size: 0.9rem; line-height: 1.6; }
.sponsor-links .k { display: block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); font-weight: 700; margin-bottom: 3px; }

/* Member/founder card: handle */
.founder-links .handle { font-family: var(--font-mono); color: var(--fg-soft); font-size: 0.85rem; }

/* Membership levels: full-width Luminary feature box */
.luminary { margin-top: 16px; }
.luminary-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 30px; align-items: center; }
.luminary-head .price { margin-top: 0.4rem; }
.luminary .lum-everything { color: var(--fg-muted); font-size: 0.94rem; margin: 1rem 0 1.3rem; }
.luminary-head .btn { width: 100%; }
.luminary ul { margin: 0; }
@media (max-width: 760px) { .luminary-grid { grid-template-columns: 1fr; gap: 18px; } }

/* Allies submenu (second header row) */
.allies-toggle { cursor: pointer; }
.subnav { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .25s ease, opacity .2s ease; border-top: 1px solid var(--border); background: rgba(3,1,27,0.55); }
.subnav.open { max-height: 140px; opacity: 1; }
.subnav-row { display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 0.6rem 0; }
.subnavlink { color: var(--fg-muted); font-weight: 600; font-size: 0.9rem; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.subnavlink:hover, .subnavlink.active { color: var(--fg); border-color: var(--accent); text-decoration: none; }

/* Launchpad */
.launch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.launch-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: 160ms ease; }
.launch-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.launch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.launch-status { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--fg-soft); }
.launch-status.live { color: var(--accent); border-color: rgba(234,170,0,0.5); background: var(--wv-gold-soft); }
.launch-status.funded { color: var(--success); border-color: rgba(74,222,128,0.4); }
.launch-status.refunding { color: var(--fg-soft); }
.launch-fdv { font-family: var(--font-mono); font-size: 0.78rem; color: var(--fg-soft); }
.launch-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 0.15rem; color: var(--fg); line-height: 1.1; }
.launch-meta { font-size: 0.76rem; color: var(--fg-soft); margin-bottom: 0.7rem; }
.launch-card p.desc { color: var(--fg-muted); font-size: 0.92rem; margin: 0 0 1rem; flex: 1; }
.progress { height: 7px; border-radius: var(--radius-pill); background: var(--surface-elev); overflow: hidden; margin-bottom: 0.5rem; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: var(--radius-pill); }
.launch-card[data-status="funded"] .progress > span { background: var(--success); }
.launch-figures { display: flex; justify-content: space-between; gap: 8px; font-size: 0.82rem; color: var(--fg-muted); margin-bottom: 1.1rem; }
.launch-figures b { color: var(--fg); font-weight: 700; }
.launch-card .btn { width: 100%; }
@media (max-width: 920px) { .launch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .launch-grid { grid-template-columns: 1fr; } }

/* Per-DUNA detail page */
.detail-back { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 0.85rem; color: var(--link); }
.detail-back:hover { color: var(--fg); text-decoration: none; }
.duna-detail { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.detail-idrow { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.detail-idrow h1 { margin: 0; }
.detail-sub { color: var(--fg-muted); font-size: 0.95rem; margin: 0.25rem 0 0; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--fg-soft); }
.detail-panel { position: sticky; top: 96px; }
.price-big { font-family: var(--font-display); font-size: 2.4rem; color: var(--fg); line-height: 1; margin-top: 6px; }
.delta.up { color: var(--success); } .delta.down { color: var(--danger); }
.panel-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; color: var(--fg-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.panel-row b { color: var(--fg); font-weight: 700; }
@media (max-width: 860px) { .duna-detail { grid-template-columns: 1fr; } .detail-panel { position: static; } }

/* Sign-up (login page) form extras */
.form-step { font-size: 0.85rem; color: var(--fg-muted); margin: 0 0 1.2rem; line-height: 1.5; }
.form-step b { color: var(--fg); }
.req { color: var(--accent); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; color: var(--fg-muted); line-height: 1.45; margin-top: 0.5rem; }
.consent input[type="checkbox"] { margin-top: 0.2rem; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--accent); }

/* Sign-up multi-step */
.step-back { background: none; border: 0; color: var(--link); font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 0; margin-bottom: 0.8rem; }
.step-back:hover { color: var(--fg); }
.step-list { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--fg-muted); font-size: 0.9rem; line-height: 1.7; }
.step-list b { color: var(--fg); }
.code-inputs { display: flex; gap: 8px; }
.code-inputs input { flex: 1 1 0; min-width: 0; text-align: center; font-family: var(--font-display); font-size: 1.5rem; padding: 0.6rem 0; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--fg); }
.code-inputs input:focus { outline: none; border-color: var(--accent); }

/* Password show/hide toggle */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 2.8rem; }
.pw-toggle { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 0.3rem; cursor: pointer; color: var(--fg-soft); display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle:hover { color: var(--fg); }
.pw-toggle svg { width: 20px; height: 20px; }
