/* PREVIEW THEME: light editorial. Off-white page, black type, one orange-red accent, black pill buttons,
   dark cards and an oversized wordmark in the hero. Loaded only by preview-editorial.html, after style.css.
   It changes look only: no text, data or logo image. */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #f6f5f2; --bg-tint: #efeeea; --surface: #ffffff; --ink: #0e0e0e; --muted: #7d7d7d; --line: #e2e0da;
  --gold: #f04e1f; --gold-2: #ff7a4d; --gold-deep: #f04e1f; --dark: #0c0c0c; --dark-2: #151515;
  --shadow: 0 10px 30px rgba(0, 0, 0, .06); --shadow-lg: 0 30px 70px rgba(0, 0, 0, .14);
  --radius: 14px;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
html, body { background: #f6f5f2; }
body { color: var(--ink); font-family: var(--font); font-weight: 400; }
h1, h2, h3, h4, .h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; color: var(--ink); }
.h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.08; font-weight: 400; }
.lead, .muted { color: var(--muted); font-size: 16px; }

/* section label: tiny spaced capitals after an orange dot */
.eyebrow, .on-dark .eyebrow, .about-band.night .eyebrow, :root[data-theme="dark"] .eyebrow {
  gap: 10px; padding: 0; border: 0; background: none; border-radius: 0; color: var(--ink);
  font: 600 9.5px/1 var(--display); letter-spacing: .34em; margin-bottom: 18px;
}
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.eyebrow.center::after { display: none; }
.on-dark .eyebrow, .cta-city .eyebrow, .touch .eyebrow { color: #fff; }

/* buttons: black pills with the arrow in a white circle; outlined for the second action */
.btn { border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: -.005em; padding: 12px 22px; }
.btn-gold { background: #0e0e0e; color: #fff; border-color: #0e0e0e; padding: 6px 7px 6px 22px; box-shadow: none; }
.btn-gold svg, .nav .btn-gold svg { box-sizing: border-box; width: 32px; height: 32px; padding: 9px; border-radius: 50%; background: #fff; color: #0e0e0e; }
.btn-gold:hover { background: #262626; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.nav .btn-gold { background: transparent; color: #0e0e0e; border: 1px solid #0e0e0e; padding: 5px 6px 5px 20px; }
.nav .btn-gold svg { background: #0e0e0e; color: #fff; }
.nav .btn-gold:hover { background: #0e0e0e; color: #fff; }
.nav .btn-gold:hover svg { background: #fff; color: #0e0e0e; }
.btn-line, .btn-ghost { background: transparent; border-color: #0e0e0e; color: #0e0e0e; }
.btn-line:hover, .btn-ghost:hover { background: #0e0e0e; color: #fff; border-color: #0e0e0e; }
.on-dark .btn-gold, .cta-city .btn-gold, .poster .btn-gold { background: #fff; color: #0e0e0e; border-color: #fff; }
.on-dark .btn-gold svg, .cta-city .btn-gold svg, .poster .btn-gold svg { background: #0e0e0e; color: #fff; }
.on-dark .btn-ghost, .cta-city .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.link-arrow { color: var(--ink); }

/* header: plain, no card */
.nav { background: rgba(246, 245, 242, .82); border: 0; border-radius: 999px; box-shadow: none; padding: 8px 10px 8px 22px; }
.brand { border-right: 0; }
.nav-links a { color: #0e0e0e; font-weight: 500; font-size: 13.5px; }
.nav-links a::after { background: #0e0e0e; height: 1.5px; }
.pill-btn { border-color: rgba(0, 0, 0, .25); color: #0e0e0e; background: transparent; border-radius: 999px; }
#theme-btn { display: none; }

/* hero: light, with the globe as the dark subject and the name set huge across the bottom */
.hero { background: linear-gradient(180deg, #f6f5f2 0, #ecebe6 100%); color: var(--ink); }
.hero .hero-art { visibility: hidden; }   /* kept in the layout: the globe is positioned from it */
.hero::after { display: none; }
.hero .hero-canvas { filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .28)); }
.hero::before {
  content: "RIONEX"; position: absolute; left: 0; right: 0; bottom: -3.2vw; z-index: 3; pointer-events: none; text-align: center;
  font: 700 23.5vw/.8 "Inter Tight", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.06em; color: #fff; text-shadow: 0 12px 50px rgba(0, 0, 0, .1);
  opacity: 1; background: none; inset-block-start: auto;
}
.hero h1, .hero h1 span { color: #0e0e0e; font-weight: 500; letter-spacing: -.04em; }
.hero h1 .gold-text, .gold-text { color: #9a9a96; background: none; -webkit-text-fill-color: currentColor; }
.hero-copy p, .hero-copy p strong { color: #0e0e0e; }
.hero .btn-ghost { border-color: #0e0e0e; color: #0e0e0e; }
.hero .btn-ghost:hover { background: #0e0e0e; color: #fff; }
.hero-hint { display: none; }

/* light sections */
.section, .section.tint, .eco, .eco.tint, .faq, .works-pin, .works-sticky, .divisions { background: #f6f5f2; color: var(--ink); border-color: transparent; }
.card p, .feat p, .tile-card p, .eco-item small, .faq-item p { color: var(--muted); }

/* division cards: tall dark cards with a numbered pill, set at staggered heights */
.div-cards { align-items: start; counter-reset: divn; }
.div-cards .flip { counter-increment: divn; }
.div-cards .flip:nth-child(2) { margin-top: 34px; }
.div-cards .flip:nth-child(4) { margin-top: 34px; }
.flip-face, .flip-front, .flip-back { background: #0e0e0e; border: 0; border-radius: 14px; color: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .18); }
.flip-front::before { content: "0" counter(divn) " / Division"; position: absolute; left: 14px; top: 14px; z-index: 3; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); color: #fff; font: 500 10.5px/1 var(--display); background: rgba(0, 0, 0, .35); }
.flip-body h3 { color: #fff; font-weight: 400; letter-spacing: -.02em; }
.flip-body p { color: rgba(255, 255, 255, .7); }
.flip-front img { filter: grayscale(.55) contrast(1.05) brightness(.82); border-radius: 14px 14px 0 0; }
.flip-back li { color: rgba(255, 255, 255, .86); }
.flip-back li::before { background: var(--gold); }

/* plain cards: white, hairline border, small corners */
.card, .tile-card, .faq-item, .work-card, .form.card, .work-meta { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; color: var(--ink); }
.card:hover, .tile-card:hover, .faq-item:hover, .faq-item[open] { border-color: #0e0e0e; }
.card h3, .tile-card h4, .feat h4, .faq-item summary { color: var(--ink); font-weight: 500; letter-spacing: -.02em; }
.card > svg { background: #0e0e0e; color: #fff; box-shadow: none; border-radius: 50%; stroke-width: 1.6; }
.card.dark { background: #0e0e0e; color: #fff; border-color: #0e0e0e; }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255, 255, 255, .7); }
.card.dark > svg { background: #fff; color: #0e0e0e; }
.chip { border-radius: 999px; }
.ticks li::before, .card li::before { color: var(--gold); }

/* the hands scene, the closing map and work posters become dark panels set into the light page */
.touch, .touch.live { background: #f6f5f2; padding: 0 18px; }
.touch-sticky { border-radius: 28px; }
.about-band.night { background: #f6f5f2; color: var(--ink); margin-top: 0; }
.about-band.night::before, .about-charge { display: none; }
.about-band.night .about-grid { padding-top: 72px; }
.about-band.night .h2, .about-band.night .feat h4 { color: var(--ink); text-shadow: none !important; }
.about-band.night .lead, .about-band.night .feat p { color: var(--muted); }
.about-band.night .about-feats { border-color: var(--line); }
.about-band.night .feat img, .about-band.night.charged .feat img { box-shadow: 0 0 0 2px #f6f5f2, 0 0 0 3.5px #0e0e0e; animation: none; filter: grayscale(.4); }
.poster { border-radius: 18px; }
.poster-num { color: #fff; opacity: .8; }
.works-count b { color: var(--ink); font-weight: 500; }
.works-bar i, .works-dots i.on { background: #0e0e0e; }
.works-arrow:hover:not(:disabled) { background: #0e0e0e; border-color: #0e0e0e; color: #fff; }
.eco .eyebrow { color: var(--ink); font-size: 9.5px; }
.eco-item { border-color: var(--line) !important; }
.eco-item img { border-radius: 12px; filter: grayscale(.25); }
.tile-card img { filter: grayscale(1) contrast(1.15); }
.svc-poster { border-radius: 14px; border-color: #0e0e0e; background: #0e0e0e; }
.svc-poster span { color: #fff; }
.faq-item summary i { background: #0e0e0e; }
.faq-item summary i::before, .faq-item summary i::after { background: #fff; }
.cta-city { margin: 0 18px 18px; border-radius: 28px; background: radial-gradient(90% 80% at 50% 108%, #2a2a2a 0, #151515 40%, #0c0c0c 72%); }
.cta-city .cta-map { filter: grayscale(1) brightness(1.5); }
.cta-city h2 { color: #fff; font-weight: 400; }
.site-footer { background: #0c0c0c; }
.soon-card { border-radius: 18px; border-color: rgba(255, 255, 255, .25); background: #0e0e0e; }
.soon-tag { color: #fff; border-color: rgba(255, 255, 255, .5); }
.soon-line { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.preview-flag { position: fixed; left: 16px; bottom: 16px; z-index: 900; padding: 9px 14px; border-radius: 999px; background: #0e0e0e; color: #fff; font: 500 12px/1 "Inter Tight", sans-serif; letter-spacing: .04em; }
.preview-flag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f04e1f; margin-right: 8px; }
@media (max-width: 760px) { .div-cards .flip:nth-child(2), .div-cards .flip:nth-child(4) { margin-top: 18px; } .touch, .touch.live { padding: 0 10px; } .cta-city { margin: 0 10px 10px; } .hero::before { bottom: -2vw; font-size: 25vw; } }

/* the hero wrapper and hero need stronger rules than the base stylesheet's dark gradient */
.hero-pin { background: #ecebe6 !important; }
.hero-pin .hero, .hero.live, .hero { background: linear-gradient(180deg, #f6f5f2 0, #ecebe6 100%) !important; }
.poster h3, .poster .poster-copy h3, .work-card strong { color: #fff; }
.poster p { color: rgba(255, 255, 255, .78); }
.work-card strong { color: var(--ink); }
.on-dark h2, .on-dark h3, .cta-city h2, .site-footer h4, .soon-card h3, .card.dark h3 { color: #fff; }

/* Revision B: the hero is the same flat off-white as the rest of the page, and the closing panel is light to match */
.hero-pin { background: #f6f5f2 !important; }
.hero-pin .hero, .hero.live, .hero { background: #f6f5f2 !important; }
.hero::before { color: #fff; text-shadow: 0 14px 60px rgba(0, 0, 0, .12); }

.cta-city { background: #ffffff; border: 1px solid var(--line); color: var(--ink); }
.cta-scene::after { background: linear-gradient(180deg, #ffffff 0, rgba(255, 255, 255, .86) 30%, rgba(255, 255, 255, .35) 58%, rgba(255, 255, 255, 0) 80%); }
.cta-city img.cta-map { filter: brightness(0); opacity: .34; }                 /* the dotted map in ink instead of gold */
.cta-city .cta-live { filter: none; }
.cta-live .tw { stroke: #0e0e0e; }
.cta-live .run { stroke: #f04e1f; filter: drop-shadow(0 0 5px rgba(240, 78, 31, .7)); }
.cta-live .ping, .cta-live .pulse { stroke: #f04e1f; }
.cta-city h2, .cta-city .eyebrow { color: var(--ink); text-shadow: none; }
.cta-city p { color: var(--muted); text-shadow: none; }
.cta-city .btn-gold { background: #0e0e0e; color: #fff; border-color: #0e0e0e; }
.cta-city .btn-gold svg { background: #fff; color: #0e0e0e; }
.cta-city .btn-ghost { background: transparent; border-color: #0e0e0e; color: #0e0e0e; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cta-city .btn-ghost:hover { background: #0e0e0e; color: #fff; }

/* Revision C: black hero with light type; the closing map in champagne gold */
.hero-pin { background: #0a0a0b !important; }
.hero-pin .hero, .hero.live, .hero { background: radial-gradient(70% 80% at 72% 45%, #17171a 0, #0a0a0b 62%) !important; color: #fff; }
.hero .hero-canvas { filter: none; }
.hero h1, .hero h1 span { color: #fff; }
.hero h1 .gold-text { color: #8f8f8b; }
.hero-copy p { color: rgba(255, 255, 255, .82); }
.hero-copy p strong { color: #fff; }
.hero .btn-gold { background: #fff; color: #0e0e0e; border-color: #fff; }
.hero .btn-gold svg { background: #0e0e0e; color: #fff; }
.hero .btn-gold:hover { background: #ececec; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: #0e0e0e; }
.hero::before { color: #fff; text-shadow: none; }

.cta-city { background: radial-gradient(90% 70% at 50% 112%, #f1e2bd 0, #fbf6ea 46%, #ffffff 78%); }
.cta-city img.cta-map { filter: saturate(1.25) brightness(.8); opacity: 1; }     /* champagne-gold dots, deep enough to read on white */
.cta-live .tw { stroke: #b08a3c; }
.cta-live .run { stroke: #c9a24a; filter: drop-shadow(0 0 5px rgba(201, 162, 74, .8)); }
.cta-live .ping, .cta-live .pulse { stroke: #c9a24a; }
