/* =========================================================================
   NIYA BUSINESS SUITE — dark design system
   Warm near-black + champagne gold (from the brand's gold Illuminating Spray).
   Display: Instrument Serif. UI/body: Inter.
   Tokens + shared primitives (public AND admin) + public landing components.
   Admin-only components live in admin.css.
   ========================================================================= */

:root {
    --bg:        #15120B;
    --bg-2:      #1B1710;
    --panel:     #211C13;
    --raised:    #2A2417;
    --line:      #342C1D;
    --line-soft: #292216;

    --gold:        #CBA24C;
    --gold-bright: #E4C36E;
    --gold-deep:   #A5813A;
    --cream:       #F4EDDD;
    --muted:       #A99B7C;
    --faint:       #7C7159;
    --sage:        #94A76C;
    --rose:        #D79A86;

    --serif: 'Instrument Serif', Georgia, serif;
    --sans:  'Inter', system-ui, -apple-system, sans-serif;

    --wrap: 1200px;
    --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0; font-family: var(--sans); color: var(--cream); background: var(--bg);
    line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }

.eyebrow { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 20px; }
.serif { font-family: var(--serif); }
em, .em { font-family: var(--serif); font-style: italic; color: var(--gold-bright); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease; line-height: 1; text-align: center; }
.btn-primary { background: var(--gold); color: #1A1509; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 17px 34px; font-size: 15px; }
.btn-block { width: 100%; }

/* Header */
.suite-header { position: sticky; top: 0; z-index: 40; background: rgba(21,18,11,0.82); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-badge { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .link { font-size: 14px; color: var(--muted); font-weight: 500; }
.header-actions .link:hover { color: var(--cream); }

/* Hero */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(203,162,76,0.18), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 82px); line-height: 1.03; letter-spacing: -0.005em; color: var(--cream); margin: 0 0 24px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 500px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin: 22px 0 0; font-size: 13px; color: var(--faint); }
.hero-frame { position: relative; }
.hero-frame::before { content: ''; position: absolute; inset: -18% -10%; background: radial-gradient(circle, rgba(228,195,110,0.28), transparent 60%); filter: blur(8px); }
.frame-card { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #F7F1E4, #EFE6D2); aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); }
.frame-card img { width: 100%; height: 100%; object-fit: cover; }

/* Stat strip */
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--serif); font-size: 40px; color: var(--gold-bright); line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Sections */
.section { padding: 84px 0; }
.section-head { margin-bottom: 44px; max-width: 640px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 46px); color: var(--cream); margin: 0; letter-spacing: -0.005em; }
.section-lead { font-size: 17px; color: var(--muted); margin: 16px 0 0; }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 30px; }
.benefit-mark { color: var(--gold); font-size: 22px; line-height: 1; margin-bottom: 16px; }
.benefit h3 { font-size: 18px; font-weight: 600; color: var(--cream); margin: 0 0 8px; }
.benefit p { font-size: 14px; color: var(--muted); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.step-num { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; color: var(--cream); }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Showcase */
.showcase-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.show-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.show-media { aspect-ratio: 3/4; background: linear-gradient(160deg, #F7F1E4, #EFE6D2); }
.show-media img { width: 100%; height: 100%; object-fit: cover; }
.show-body { padding: 14px 16px; }
.show-name { font-size: 14px; font-weight: 600; color: var(--cream); margin: 0 0 3px; }
.show-cat { font-size: 12px; color: var(--faint); }

/* CTA band */
.cta-band { border-top: 1px solid var(--line); background: radial-gradient(600px 300px at 80% 0%, rgba(203,162,76,0.14), transparent 60%), var(--bg-2); padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.5vw, 48px); color: var(--cream); margin: 0 0 10px; }
.cta-sub { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0; }

/* Page head */
.page-head { padding: 64px 0 26px; border-bottom: 1px solid var(--line); }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); color: var(--cream); margin: 0 0 12px; letter-spacing: -0.005em; }
.page-lead { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0; }

/* Forms */
.form-shell { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 40px; box-shadow: 0 30px 70px -50px rgba(0,0,0,0.8); }
.form-group-title { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 28px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.form-shell .form-group-title:first-child { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--cream); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 15px; color: var(--cream); padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); transition: border-color 0.18s ease, box-shadow 0.18s ease; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,162,76,0.15); }
.field select option { background: var(--raised); color: var(--cream); }
.field textarea { resize: vertical; }
.form-shell .btn-block { margin-top: 12px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 22px 0; font-size: 14px; font-weight: 500; border: 1px solid transparent; }
.alert-error { background: rgba(215,138,122,0.12); color: #E7B4A6; border-color: rgba(215,138,122,0.3); }
.alert-success { background: rgba(148,167,108,0.12); color: #BCD196; border-color: rgba(148,167,108,0.3); }

/* Misc */
.empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 16px; }
.center-block { text-align: center; }
.center-block .btn { margin-top: 8px; }
.success-mark { width: 66px; height: 66px; border-radius: 50%; background: var(--gold); color: #1A1509; display: grid; place-items: center; font-size: 30px; margin: 0 auto 24px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 26px; }
.back-link:hover { color: var(--gold-bright); }

/* Footer */
.suite-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 24px; width: auto; margin-bottom: 14px; }
.footer-tag { font-size: 14px; color: var(--muted); max-width: 320px; margin: 0; }
.suite-footer h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.suite-footer a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 9px; }
.suite-footer a:hover { color: var(--cream); }
.suite-footer p { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--faint); flex-wrap: wrap; gap: 10px; }
.footer-admin { color: var(--faint); }
.footer-admin:hover { color: var(--gold); }

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

/* Responsive */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .frame-card { max-width: 420px; }
    .benefit-grid, .steps { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-inner { grid-template-columns: repeat(2, 1fr); }
    .stat { border-top: 1px solid var(--line); }
    .stat:first-child, .stat:nth-child(2) { border-top: none; }
    .stat:nth-child(3) { border-left: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .wrap { padding: 0 20px; }
    .hero { padding: 60px 0 56px; }
    .section { padding: 56px 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .form-shell { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .header-actions .link { display: none; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
