/* ============================================================
   BRIAN E. SIBLEY — Youth Identity Expert
   Site styles. Built on the RBTM design system tokens.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* TSP warm amber — pulled from The Success Profile logo. Secondary accent. */
  --tsp-amber: #E8A33D;
  --tsp-amber-deep: #C77F1E;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rbm-ink);
  color: var(--rbm-bone);
  font-family: var(--rbm-font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* honor reduced motion / motion tweak */
body.no-motion *, body.no-motion *::before, body.no-motion *::after {
  animation: none !important;
  transition: none !important;
}
body.no-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------------- Layout helpers ---------------- */
.wrap { width: min(1240px, 90vw); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 11vw, 168px) 0; }
.section.tight { padding: clamp(56px, 7vw, 104px) 0; }

.bg-ink  { background: var(--rbm-ink); color: var(--rbm-bone); }
.bg-elev { background: var(--rbm-ink-soft); color: var(--rbm-bone); }
.bg-bone { background: var(--rbm-bone); color: var(--rbm-ink); }

.eyebrow {
  font-family: var(--rbm-font-body);
  font-size: var(--rbm-size-micro);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rbm-gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rbm-gold);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.kicker {
  font-family: var(--rbm-font-body);
  font-size: var(--rbm-size-micro);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rbm-grey-500);
}

h1, h2, h3 { margin: 0; }

.h-display {
  font-family: var(--rbm-font-headline);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 116px);
}
.h-xl {
  font-family: var(--rbm-font-headline);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 92px);
}
.h-lg {
  font-family: var(--rbm-font-headline);
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: 0.03em;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
}
.gold { color: var(--rbm-gold); }
.amber { color: var(--tsp-amber); }
.script {
  font-family: var(--rbm-font-script);
  text-transform: none;
  letter-spacing: 0;
}

.lede {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--rbm-grey-200);
  max-width: 58ch;
}
.bg-bone .lede { color: var(--rbm-grey-700); }
.body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--rbm-grey-300);
  max-width: 60ch;
}
.bg-bone .body { color: var(--rbm-grey-700); }

/* ---------------- Buttons ---------------- */
.btn {
  --b: var(--rbm-bone);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--rbm-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid var(--b);
  background: var(--b);
  color: var(--rbm-ink);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}
.btn:hover { background: transparent; color: var(--b); }
.btn.gold { transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,169,97,0.22); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn.ghost { background: transparent; color: var(--b); }
.btn.ghost:hover { background: var(--b); color: var(--rbm-ink); }
.btn.gold { --b: var(--rbm-gold); color: var(--rbm-ink); }
.btn.gold:hover { color: var(--rbm-gold); }
.btn.on-bone { --b: var(--rbm-ink); color: var(--rbm-bone); }
.btn.on-bone:hover { color: var(--rbm-ink); }
.btn.sm { padding: 12px 22px; font-size: 12px; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rbm-ink-line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, 92vw); }
.brand {
  font-family: var(--rbm-font-headline);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 21px;
  line-height: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; }
.brand-mark { height: 40px; width: auto; display: block; flex: none; }
.footer .brand .brand-mark { height: 54px; }
.brand .sub {
  font-family: var(--rbm-font-body);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--rbm-gold);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--rbm-grey-300);
  position: relative;
  padding: 4px 0;
  transition: color .18s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--rbm-gold); transition: width .22s var(--ease);
}
.nav-links a:hover { color: var(--rbm-bone); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: 0; color: var(--rbm-bone); cursor: pointer; padding: 8px; }

/* nav dropdown */
.has-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
.drop-toggle svg { transition: transform .2s var(--ease); opacity: .7; }
.has-drop:hover .drop-toggle svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10,10,10,0.97); backdrop-filter: blur(14px);
  border: 1px solid var(--rbm-ink-line);
  min-width: 280px; padding: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(8px); }
.drop-panel a { display: block; padding: 14px 16px; color: var(--rbm-grey-300); transition: background .16s, color .16s; }
.drop-panel a::after { display: none; }
.drop-panel a:hover { color: var(--rbm-bone); background: var(--rbm-ink-soft); }
.drop-panel a .d { display: block; font-size: 9px; letter-spacing: 0.2em; color: var(--rbm-gold); margin-top: 5px; font-weight: 600; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--rbm-ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('brian-navy.png');
  background-size: cover;
  background-position: 70% 8%;
  will-change: transform;
}
.hero-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.22) 30%, rgba(10,10,10,0.45) 56%, rgba(10,10,10,0.97) 100%),
    linear-gradient(95deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.68) 40%, rgba(10,10,10,0.12) 74%);
}
.hero-noise { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 90vw);
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vh, 96px);
  padding-top: calc(var(--nav-h) + 28px);
}
.hero h1, .hero .hero-head { margin: 16px 0 0; max-width: 21ch; font-size: clamp(28px, 3.9vw, 60px); line-height: 1.02; }
.hero .lede { margin-top: 26px; max-width: 52ch; font-size: clamp(16px, 1.3vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; color: var(--rbm-grey-500);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--rbm-gold), transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 40% { transform: scaleY(1); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------------- Mission ---------------- */
.mission .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mission-statement { font-size: clamp(40px, 5.5vw, 92px); }
.mission-rule { height: 4px; width: 64px; background: var(--rbm-ink); margin: 28px 0; border: 0; }

/* ---------------- Ecosystem ---------------- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rbm-ink-line); margin-top: 64px; border: 1px solid var(--rbm-ink-line); }
.eco-card {
  background: var(--rbm-ink-soft);
  padding: 40px 34px 44px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .25s var(--ease);
  min-height: 460px;
}
.eco-card:hover { background: #181818; }
.eco-num { font-family: var(--rbm-font-mono); font-size: 12px; color: var(--rbm-gold); letter-spacing: 0.2em; }
.eco-media {
  margin: 26px 0 24px; height: 220px; display: flex; align-items: center; justify-content: center;
  background: var(--rbm-ink); border: 1px solid var(--rbm-ink-line); overflow: hidden;
}
.eco-media img { max-height: 88%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 32px rgba(0,0,0,0.5)); transition: transform .3s var(--ease); }
.eco-card:hover .eco-media img { transform: translateY(-4px) scale(1.02); }
.eco-card h3 { font-family: var(--rbm-font-headline); font-size: 26px; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 6px; }
.eco-age { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tsp-amber); margin-bottom: 14px; }
.eco-card p { font-size: 15px; line-height: 1.6; color: var(--rbm-grey-300); margin: 0 0 auto; }
.eco-link { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-bone); display: inline-flex; gap: 8px; align-items: center; }
.eco-link .arr { transition: transform .2s var(--ease); }
.eco-card:hover .eco-link .arr { transform: translateX(5px); }
.eco-card:hover .eco-link { color: var(--rbm-gold); }

/* ---------------- Impact ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rbm-ink-line); border-block: 1px solid var(--rbm-ink-line); }
.stat { background: var(--rbm-ink); padding: 40px 24px; }
.stat .num { font-family: var(--rbm-font-headline); font-size: clamp(48px, 6vw, 88px); line-height: 0.9; color: var(--rbm-bone); }
.stat .num .u { color: var(--rbm-gold); }
.stat .lab { margin-top: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rbm-grey-500); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; margin-top: 64px; }
.tile { position: relative; overflow: hidden; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--rbm-grey-500); text-align: center; padding: 16px; }
.tile-ph .ic { width: 26px; height: 26px; stroke: var(--rbm-grey-700); }
.tile-ph span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.tile .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(10,10,10,0.9)); font-size: 12px; letter-spacing: 0.04em; color: var(--rbm-bone); opacity: 0; transition: opacity .25s var(--ease); }
.tile:hover .cap { opacity: 1; }

/* ---------------- Testimonials ---------------- */
.tcols { columns: 3; column-gap: 22px; margin-top: 56px; }
.tcard {
  break-inside: avoid; margin-bottom: 22px;
  background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line);
  padding: 30px 28px; position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.tcard:hover { transform: translateY(-4px); border-color: var(--rbm-gold-deep); }
.tcard .mark { font-family: var(--rbm-font-editorial); font-size: 56px; line-height: 0; color: var(--rbm-gold); display: block; height: 22px; }
.tcard q { display: block; font-size: 17px; line-height: 1.55; color: var(--rbm-bone); quotes: none; margin: 14px 0 22px; }
.tcard .who { display: flex; flex-direction: column; gap: 2px; }
.tcard .who .n { font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.tcard .who .r { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-grey-500); }

/* ---------------- About ---------------- */
.about .wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; border: 1px solid var(--rbm-ink-line); filter: grayscale(0.15) contrast(1.02); }
.about-photo .tag { position: absolute; left: -1px; bottom: 26px; background: var(--rbm-gold); color: var(--rbm-ink); padding: 12px 20px; font-family: var(--rbm-font-headline); letter-spacing: 0.06em; font-size: 20px; }
.role-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.role { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-grey-300); border: 1px solid var(--rbm-ink-line); padding: 8px 14px; white-space: nowrap; }

/* ---------------- Booking ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.cat {
  border: 1px solid var(--rbm-ink-line); background: var(--rbm-ink-soft);
  padding: 26px 22px 24px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .22s var(--ease), transform .22s var(--ease);
  cursor: default;
}
.cat:hover { background: var(--rbm-gold); color: var(--rbm-ink); transform: translateY(-3px); }
.cat .ic { width: 26px; height: 26px; stroke: var(--rbm-gold); stroke-width: 1.5; fill: none; transition: stroke .22s; }
.cat:hover .ic { stroke: var(--rbm-ink); }
.cat .nm { font-family: var(--rbm-font-headline); font-size: 21px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; }

/* ---------------- RBTM philosophy ---------------- */
.philosophy { text-align: center; }
.philosophy .rbtm-logo { height: clamp(80px, 11vw, 150px); width: auto; margin: 0 auto 8px; opacity: 0.96; }
.philosophy .reg { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rbm-grey-500); }
.philosophy blockquote { margin: 40px auto 0; max-width: 22ch; font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(30px, 4vw, 60px); line-height: 1; letter-spacing: 0.02em; }

/* ---------------- Contact ---------------- */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rbm-grey-500); }
.field input, .field select, .field textarea {
  background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); color: var(--rbm-bone);
  padding: 14px 16px; font-family: var(--rbm-font-body); font-size: 15px; border-radius: 0;
  transition: border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rbm-gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-ok { display: none; padding: 18px 20px; border: 1px solid var(--rbm-gold); color: var(--rbm-gold); font-size: 14px; letter-spacing: 0.04em; margin-top: 8px; }
.form-ok.show { display: block; }
.contact-aside .line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rbm-ink-line); align-items: center; }
.contact-aside .line .ic { width: 20px; height: 20px; stroke: var(--rbm-gold); stroke-width: 1.5; fill: none; flex: none; }
.contact-aside .line .t { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rbm-grey-500); }
.contact-aside .line .v { font-size: 16px; color: var(--rbm-bone); }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--rbm-ink-line); display: flex; align-items: center; justify-content: center; transition: background .18s, border-color .18s; }
.socials a:hover { background: var(--rbm-gold); border-color: var(--rbm-gold); }
.socials a svg { width: 18px; height: 18px; fill: var(--rbm-bone); transition: fill .18s; }
.socials a:hover svg { fill: var(--rbm-ink); }

/* ---------------- Footer ---------------- */
.footer { background: #060606; border-top: 1px solid var(--rbm-ink-line); padding: 56px 0 36px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer .brand { font-size: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rbm-grey-500); transition: color .18s; }
.footer-nav a:hover { color: var(--rbm-gold); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rbm-ink-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rbm-grey-700); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* directional + character variants */
.reveal.from-left  { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom       { transform: scale(0.92); }
.reveal.from-left.in, .reveal.from-right.in, .reveal.zoom.in { transform: none; }

/* clip-path image wipe — photo uncovers as it enters */
.rv-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.05s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }
body.no-motion .rv-img { clip-path: none !important; }

/* auto-stagger: JS sets --i on children */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 0.07s); }
.stagger.in > * { opacity: 1; transform: none; }
body.no-motion .stagger > * { opacity: 1 !important; transform: none !important; }

/* ---------------- Scroll progress bar ---------------- */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--rbm-gold-deep), var(--rbm-gold)); box-shadow: 0 0 14px rgba(201,169,97,0.5); transition: width .12s linear; }
body.no-motion .scroll-prog { display: none; }

/* ---------------- Kinetic marquee band ---------------- */
.marquee { overflow: hidden; background: var(--rbm-ink); border-block: 1px solid var(--rbm-ink-line); padding: clamp(18px, 2.4vw, 30px) 0; display: flex; user-select: none; position: relative; }
.marquee.bone { background: var(--rbm-bone); border-color: rgba(10,10,10,0.12); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--rbm-ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--rbm-ink), transparent); }
.marquee.bone::before { background: linear-gradient(90deg, var(--rbm-bone), transparent); }
.marquee.bone::after  { background: linear-gradient(270deg, var(--rbm-bone), transparent); }
.marquee-track { display: flex; flex: none; align-items: center; animation: marquee 30s linear infinite; will-change: transform; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-seg { display: inline-flex; align-items: center; white-space: nowrap; padding-right: 0; }
.marquee-seg .mw { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: 0.03em; line-height: 1; color: var(--rbm-bone); padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; }
.marquee.bone .marquee-seg .mw { color: var(--rbm-ink); }
.marquee-seg .mw.outline { color: transparent; -webkit-text-stroke: 1.2px var(--rbm-grey-500); }
.marquee.bone .marquee-seg .mw.outline { -webkit-text-stroke-color: rgba(10,10,10,0.32); }
.marquee-seg .dot { color: var(--rbm-gold); font-size: 0.7em; transform: translateY(-0.08em); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.no-motion .marquee-track { animation: none; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 1000px) {
  .eco-grid, .stats, .cat-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .tcols { columns: 2; }
  .mission .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .btn:not(.menu-btn) { display: none; }
  .eco-grid, .stats, .cat-grid, .gallery { grid-template-columns: 1fr; }
  .tcols { columns: 1; }
  .tile.wide, .tile.tall { grid-column: auto; grid-row: auto; }
  .stat .num { font-size: 64px; }
  .hero { align-items: center; }
  .hero-photo { background-position: 66% 5%; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 11vh, 130px)) 0 clamp(56px, 8vh, 100px);
  background: var(--rbm-ink);
  overflow: hidden;
  border-bottom: 1px solid var(--rbm-ink-line);
}
.page-hero.has-photo { padding-bottom: clamp(80px, 12vh, 150px); }
.page-hero .ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center 22%; opacity: 0.5; }
.page-hero .ph-grade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0.35) 45%, rgba(10,10,10,0.98)); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-grey-500); margin-bottom: 26px; }
.crumb a { color: var(--rbm-grey-500); transition: color .18s; }
.crumb a:hover { color: var(--rbm-gold); }
.crumb .sep { color: var(--rbm-grey-700); }
.page-hero h1 { max-width: 18ch; margin-top: 6px; }
.page-hero .lede { margin-top: 24px; }

/* generic prose */
.prose p { font-size: 18px; line-height: 1.7; color: var(--rbm-grey-200); margin: 0 0 22px; max-width: 64ch; }
.bg-bone .prose p { color: var(--rbm-grey-800); }
.prose p.big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 300; color: var(--rbm-bone); }
.bg-bone .prose p.big { color: var(--rbm-ink); }
.prose .dropcap::first-letter { font-family: var(--rbm-font-headline); font-size: 4.4em; line-height: 0.7; float: left; padding: 8px 14px 0 0; color: var(--rbm-gold); }

/* two-col split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.r1 > div:first-child { order: 2; }
.split-media img { width: 100%; border: 1px solid var(--rbm-ink-line); }
.bg-bone .split-media img { border-color: var(--rbm-grey-200); }

/* feature rows (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; margin-bottom: clamp(56px, 8vw, 120px); }
.feature:last-child { margin-bottom: 0; }
.feature.flip .f-text { order: 2; }
.feature .f-media { aspect-ratio: 4/5; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.feature .f-media img { width: 100%; height: 100%; object-fit: cover; }
.feature .f-media.contain { background: #000; }
.feature .f-media .f-photo-cap, .split-media .f-media .f-photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: linear-gradient(transparent, rgba(10,10,10,0.92)); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rbm-bone); z-index: 2; }
.split-media .f-media { position: relative; overflow: hidden; }
.split-media .f-media img { width: 100%; height: 100%; object-fit: cover; }
.feature .f-media.contain img { object-fit: contain; padding: 30px; }
.feature .f-num { font-family: var(--rbm-font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--rbm-gold); }
.feature h2 { margin: 16px 0 18px; }

/* spec / value list */
.vlist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 1px; background: var(--rbm-ink-line); border: 1px solid var(--rbm-ink-line); }
.vlist li { background: var(--rbm-ink); padding: 18px 22px; display: flex; gap: 16px; align-items: baseline; }
.vlist li .k { font-family: var(--rbm-font-headline); font-size: 22px; color: var(--rbm-gold); min-width: 42px; }
.vlist li .v { font-size: 15px; line-height: 1.5; color: var(--rbm-grey-200); }
.bg-bone .vlist { background: var(--rbm-grey-200); border-color: var(--rbm-grey-200); }
.bg-bone .vlist li { background: var(--rbm-bone); }
.bg-bone .vlist li .v { color: var(--rbm-grey-800); }

/* chips grid (outcomes) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips .chip { border: 1px solid var(--rbm-ink-line); padding: 10px 16px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rbm-grey-200); }
.bg-bone .chips .chip { border-color: var(--rbm-grey-300); color: var(--rbm-grey-800); }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rbm-ink-line); border: 1px solid var(--rbm-ink-line); margin-top: 56px; }
.step-card { background: var(--rbm-ink-soft); padding: 36px 30px 40px; }
.step-card .sn { font-family: var(--rbm-font-headline); font-size: 56px; line-height: 0.8; color: var(--rbm-ink-line); -webkit-text-stroke: 1px var(--rbm-gold-deep); }
.step-card h3 { font-family: var(--rbm-font-headline); font-size: 24px; letter-spacing: 0.03em; text-transform: uppercase; margin: 18px 0 12px; }
.step-card p { font-size: 15px; line-height: 1.6; color: var(--rbm-grey-300); margin: 0; }

/* sample page cards */
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.sample { aspect-ratio: 3/4; border: 1px solid var(--rbm-ink-line); background: var(--rbm-ink-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 18px; color: var(--rbm-grey-500); transition: border-color .2s, transform .2s var(--ease); }
.sample:hover { border-color: var(--rbm-gold-deep); transform: translateY(-3px); }
.sample .ic { width: 30px; height: 30px; stroke: var(--rbm-grey-700); stroke-width: 1.4; fill: none; }
.sample span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }

/* timeline (events) */
.timeline { margin-top: 56px; border-top: 1px solid var(--rbm-ink-line); }
.event { display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--rbm-ink-line); transition: background .2s; }
.event:hover { background: rgba(201,169,97,0.04); }
.event .when { font-family: var(--rbm-font-headline); font-size: 22px; letter-spacing: 0.04em; color: var(--rbm-bone); }
.event .when .yr { display: block; font-family: var(--rbm-font-body); font-size: 12px; letter-spacing: 0.2em; color: var(--rbm-grey-500); margin-top: 4px; }
.event .what h3 { font-family: var(--rbm-font-headline); font-size: 26px; letter-spacing: 0.03em; text-transform: uppercase; }
.event .what .loc { font-size: 13px; letter-spacing: 0.06em; color: var(--rbm-grey-400, var(--rbm-grey-500)); margin-top: 6px; }
.event .what .meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tsp-amber); margin-top: 8px; }
.event .cta-cell .btn { white-space: nowrap; }
.event .tag-pill { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--rbm-ink-line); padding: 6px 12px; color: var(--rbm-grey-300); }

/* CTA band */
.cta-band { background: var(--rbm-gold); color: var(--rbm-ink); text-align: center; padding: clamp(64px, 9vw, 130px) 0; }
.cta-band h2 { color: var(--rbm-ink); max-width: 20ch; margin: 0 auto; }
.cta-band p { font-size: 18px; color: var(--rbm-gold-deep); max-width: 50ch; margin: 22px auto 36px; }
.cta-band .btn { --b: var(--rbm-ink); background: var(--rbm-ink); color: var(--rbm-bone); }
.cta-band .btn:hover { background: transparent; color: var(--rbm-ink); }

/* big quote panel */
.quote-panel { text-align: center; }
.quote-panel blockquote { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(32px, 4.6vw, 76px); line-height: 0.98; letter-spacing: 0.01em; max-width: 18ch; margin: 0 auto; }
.quote-panel .by { margin-top: 28px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rbm-grey-500); }

@media (max-width: 1000px) {
  .split, .feature, .feature.flip { grid-template-columns: 1fr; }
  .split.r1 > div:first-child, .feature.flip .f-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .samples { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 1fr; gap: 12px; }
  .event .cta-cell { justify-self: start; }
}

/* ---------------- Gallery page ---------------- */
.cat-block { margin-top: clamp(48px, 7vw, 96px); }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-head h2 { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(28px, 3.4vw, 52px); letter-spacing: 0.02em; line-height: 0.95; }
.cat-head .cat-quote { font-family: var(--rbm-font-editorial); font-style: italic; font-size: clamp(17px, 1.6vw, 22px); color: var(--rbm-gold); max-width: 34ch; text-align: right; }
.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gtile { position: relative; overflow: hidden; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); cursor: pointer; }
.gtile.w2 { grid-column: span 2; }
.gtile.h2 { grid-row: span 2; }
.gtile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .5s var(--ease), transform 4s var(--ease); }
.gtile:hover img { filter: grayscale(0) contrast(1); transform: scale(1.08); }
.gtile .gph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--rbm-grey-500); text-align: center; padding: 16px; transition: color .3s; }
.gtile:hover .gph { color: var(--rbm-grey-300); }
.gtile .gph .ic { width: 26px; height: 26px; stroke: var(--rbm-grey-700); stroke-width: 1.4; fill: none; transition: stroke .3s; }
.gtile:hover .gph .ic { stroke: var(--rbm-gold-deep); }
.gtile .gph span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.gtile .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); font-size: 12px; letter-spacing: 0.04em; color: var(--rbm-bone); opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.gtile:hover .gcap { opacity: 1; transform: none; }
.gtile .expand { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 1px solid rgba(245,241,234,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.gtile:hover .expand { opacity: 1; }
.gtile .expand svg { width: 14px; height: 14px; stroke: var(--rbm-bone); stroke-width: 1.6; fill: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,6,6,0.97); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.open { display: flex; }
.lightbox .lb-stage { max-width: 90vw; max-height: 84vh; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox img { max-width: 90vw; max-height: 74vh; object-fit: contain; border: 1px solid var(--rbm-ink-line); }
.lightbox .lb-ph { width: min(80vw, 900px); aspect-ratio: 3/2; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--rbm-grey-500); }
.lightbox .lb-ph .ic { width: 48px; height: 48px; stroke: var(--rbm-grey-700); stroke-width: 1.2; fill: none; }
.lightbox .lb-cap { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-grey-300); }
.lightbox .lb-close { position: absolute; top: 24px; right: 5vw; background: none; border: 0; color: var(--rbm-bone); cursor: pointer; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid var(--rbm-ink-line); color: var(--rbm-bone); width: 52px; height: 52px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .18s, border-color .18s; }
.lightbox .lb-nav:hover { background: var(--rbm-gold); border-color: var(--rbm-gold); color: var(--rbm-ink); }
.lightbox .lb-prev { left: 3vw; } .lightbox .lb-next { right: 3vw; }

@media (max-width: 1000px) { .ggrid { grid-template-columns: repeat(2, 1fr); } .gtile.w2 { grid-column: span 2; } }
@media (max-width: 720px) { .ggrid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .gtile.w2, .gtile.h2 { grid-column: auto; grid-row: auto; } .cat-head .cat-quote { text-align: left; } .lightbox .lb-nav { width: 42px; height: 42px; } }

/* ---------------- Video slot (drop-in embed) ---------------- */
.video-slot { position: relative; aspect-ratio: 16/9; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .25s var(--ease); }
.video-slot:hover { border-color: var(--rbm-gold-deep); }
.video-slot > iframe, .video-slot > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slot .vs-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 24px; }
.video-slot .vs-play { width: 76px; height: 76px; border-radius: 999px; border: 1px solid rgba(245,241,234,0.4); display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,0.3); transition: background .2s var(--ease), border-color .2s, transform .2s var(--ease); }
.video-slot:hover .vs-play { background: var(--rbm-gold); border-color: var(--rbm-gold); transform: scale(1.06); }
.video-slot .vs-play svg { width: 26px; height: 26px; fill: var(--rbm-bone); margin-left: 4px; transition: fill .2s; }
.video-slot:hover .vs-play svg { fill: var(--rbm-ink); }
.video-slot .vs-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rbm-grey-500); }
.video-slot .vs-sub { font-size: 13px; color: var(--rbm-grey-700); letter-spacing: 0.02em; max-width: 36ch; }
.video-slot .vs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.02); transition: filter .4s var(--ease), transform .5s var(--ease); }
.video-slot:hover .vs-poster { filter: grayscale(0) contrast(1.04); transform: scale(1.03); }
.video-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.15), rgba(10,10,10,0.45)); pointer-events: none; transition: opacity .3s var(--ease); }
.video-slot.playing::after { display: none; }
.video-slot.portrait { aspect-ratio: 9/16; max-width: 340px; margin: 0 auto; }
.video-slot .vs-trigger { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }

/* ---------------- Flyer / engagement frames ---------------- */
.flyer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 56px; align-items: start; }
.flyer { margin: 0; }
.flyer-img { border: 1px solid var(--rbm-ink-line); background: #000; padding: 14px; overflow: hidden; transition: border-color .25s var(--ease); }
.flyer:hover .flyer-img { border-color: var(--rbm-gold-deep); }
.flyer-img img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.flyer:hover .flyer-img img { transform: scale(1.02); }
.flyer figcaption { display: flex; flex-direction: column; gap: 5px; margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--rbm-gold); }
.flyer .fc-title { font-family: var(--rbm-font-headline); text-transform: uppercase; letter-spacing: 0.03em; font-size: 22px; line-height: 1; color: var(--rbm-bone); }
.flyer .fc-meta { font-size: 13px; letter-spacing: 0.03em; color: var(--rbm-grey-500); }
@media (max-width: 720px) { .flyer-grid { grid-template-columns: 1fr; } }

/* ---------------- Daily Thoughts / Journal ---------------- */
.j-stamp { font-family: var(--rbm-font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rbm-gold); }
.featured {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-bottom: clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--rbm-ink-line);
}
.featured .f-img { aspect-ratio: 4/3; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.featured .f-img .gph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--rbm-grey-500); }
.featured .f-img .gph .ic { width: 32px; height: 32px; stroke: var(--rbm-grey-700); stroke-width: 1.3; fill: none; }
.featured .f-img .gph span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.featured h2 { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(30px, 3.8vw, 58px); line-height: 0.98; letter-spacing: 0.01em; margin: 16px 0 18px; }
.featured p { font-size: 18px; line-height: 1.65; color: var(--rbm-grey-200); margin: 0 0 24px; max-width: 52ch; }

.journal { margin-top: clamp(40px, 6vw, 80px); }
.entry { border-bottom: 1px solid var(--rbm-ink-line); padding: 34px 0; cursor: pointer; transition: padding-left .25s var(--ease); }
.entry:hover { padding-left: 12px; }
.entry-head { display: grid; grid-template-columns: 150px 1fr 40px; gap: 28px; align-items: baseline; }
.entry-head .meta { display: flex; flex-direction: column; gap: 6px; }
.entry-head .cat { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rbm-grey-500); }
.entry-head h3 { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(24px, 2.8vw, 40px); line-height: 1; letter-spacing: 0.02em; transition: color .2s; }
.entry:hover h3 { color: var(--rbm-gold); }
.entry-head .excerpt { font-size: 15px; line-height: 1.55; color: var(--rbm-grey-400, var(--rbm-grey-500)); margin-top: 12px; max-width: 64ch; }
.entry .plus { width: 30px; height: 30px; border: 1px solid var(--rbm-ink-line); display: flex; align-items: center; justify-content: center; color: var(--rbm-grey-300); transition: transform .25s var(--ease), background .2s, color .2s; justify-self: end; }
.entry:hover .plus { background: var(--rbm-gold); color: var(--rbm-ink); border-color: var(--rbm-gold); }
.entry.open .plus { transform: rotate(45deg); background: var(--rbm-gold); color: var(--rbm-ink); border-color: var(--rbm-gold); }
.entry-body { display: grid; grid-template-columns: 150px 1fr 40px; gap: 28px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .3s; }
.entry.open .entry-body { max-height: 1200px; opacity: 1; margin-top: 24px; }
.entry-body .copy { grid-column: 2; }
.entry-body .copy p { font-size: 17px; line-height: 1.75; color: var(--rbm-grey-200); margin: 0 0 18px; max-width: 62ch; }
.entry-body .copy p:first-child::first-letter { font-family: var(--rbm-font-headline); font-size: 3.4em; line-height: 0.7; float: left; padding: 6px 12px 0 0; color: var(--rbm-gold); }

@media (max-width: 1000px) { .featured { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .entry-head, .entry-body { grid-template-columns: 1fr; gap: 12px; }
  .entry-body .copy { grid-column: 1; }
  .entry .plus { display: none; }
  .entry-head .meta { flex-direction: row; gap: 14px; align-items: center; }
}

/* ---------------- Media page ---------------- */
.conv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rbm-ink-line); border: 1px solid var(--rbm-ink-line); margin-top: 48px; }
.conv { background: var(--rbm-ink-soft); padding: 34px 32px; display: flex; gap: 22px; transition: background .22s var(--ease); }
.conv:hover { background: #181818; }
.conv .ci { width: 40px; height: 40px; flex: none; border: 1px solid var(--rbm-gold-deep); display: flex; align-items: center; justify-content: center; }
.conv .ci svg { width: 20px; height: 20px; stroke: var(--rbm-gold); stroke-width: 1.5; fill: none; }
.conv h3 { font-family: var(--rbm-font-headline); font-size: 23px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.05; margin: 0 0 8px; }
.conv p { font-size: 14.5px; line-height: 1.55; color: var(--rbm-grey-300); margin: 0; }

.availfor { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.availfor .a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rbm-ink-line); padding: 12px 18px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rbm-grey-200); transition: border-color .2s, color .2s; }
.availfor .a:hover { border-color: var(--rbm-gold); color: var(--rbm-bone); }
.availfor .a::before { content: ""; width: 5px; height: 5px; background: var(--rbm-gold); }
.bg-bone .availfor .a { border-color: var(--rbm-grey-300); color: var(--rbm-grey-800); }

/* video testimonial grid */
.vidgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.vcard { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); cursor: pointer; }
.vcard.big { grid-column: span 2; grid-row: span 1; aspect-ratio: auto; }
.vcard img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5); transition: filter .4s, transform 3s var(--ease); }
.vcard:hover img { filter: grayscale(0); transform: scale(1.05); }
.vcard .vph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vcard .play { width: 58px; height: 58px; border: 1px solid rgba(245,241,234,0.6); border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,0.35); transition: background .2s, border-color .2s, transform .2s; }
.vcard:hover .play { background: var(--rbm-gold); border-color: var(--rbm-gold); transform: scale(1.08); }
.vcard .play svg { width: 20px; height: 20px; fill: var(--rbm-bone); margin-left: 3px; transition: fill .2s; }
.vcard:hover .play svg { fill: var(--rbm-ink); }
.vcard .vlabel { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.vcard .vlabel .vt { font-size: 14px; color: var(--rbm-bone); font-weight: 600; }
.vcard .vlabel .vr { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rbm-grey-300); margin-top: 4px; }

/* featured testimonial cards */
.tcard.feat { border-color: var(--rbm-gold-deep); }
.tcard .tflag { position: absolute; top: 0; right: 0; background: var(--rbm-gold); color: var(--rbm-ink); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; }
.tcard .tmeta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rbm-grey-500); margin-top: 4px; }
.tcard .tmedia { margin: 0 0 18px; aspect-ratio: 16/10; background: var(--rbm-ink); border: 1px solid var(--rbm-ink-line); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tcard .tmedia .play { width: 46px; height: 46px; border: 1px solid rgba(245,241,234,0.5); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.tcard .tmedia .play svg { width: 16px; height: 16px; fill: var(--rbm-bone); margin-left: 2px; }

/* submission form */
.subform { background: var(--rbm-ink-soft); border: 1px solid var(--rbm-ink-line); padding: clamp(28px, 4vw, 48px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.upload { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--rbm-ink-line); padding: 16px 18px; color: var(--rbm-grey-500); font-size: 13px; letter-spacing: 0.04em; cursor: pointer; transition: border-color .2s, color .2s; }
.upload:hover { border-color: var(--rbm-gold); color: var(--rbm-grey-200); }
.upload svg { width: 20px; height: 20px; stroke: var(--rbm-gold); stroke-width: 1.5; fill: none; flex: none; }
.permission { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 22px; padding: 18px; border: 1px solid var(--rbm-ink-line); background: var(--rbm-ink); }
.permission input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--rbm-gold); }
.permission label { font-size: 13px; line-height: 1.55; color: var(--rbm-grey-300); }
.note-admin { font-size: 11px; letter-spacing: 0.06em; color: var(--rbm-grey-500); margin-top: 18px; display: flex; gap: 8px; align-items: baseline; }
.note-admin::before { content: ""; width: 6px; height: 6px; background: var(--rbm-money); border-radius: 999px; flex: none; transform: translateY(-1px); }

@media (max-width: 1000px) { .conv-list, .vidgrid { grid-template-columns: 1fr; } .vcard.big { grid-column: auto; } .vidgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) { .vidgrid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* mobile menu overlay */
.mmenu { position: fixed; inset: 0; z-index: 99; background: rgba(10,10,10,0.97); backdrop-filter: blur(8px); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.mmenu.open { display: flex; }
.mmenu a { font-family: var(--rbm-font-headline); font-size: 34px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rbm-bone); }
.mmenu a:hover { color: var(--rbm-gold); }
.mmenu .close { position: absolute; top: 22px; right: 5vw; background: none; border: 0; color: var(--rbm-bone); cursor: pointer; }

/* ============================================================
   PREMIUM LAYER — intro, choreographed hero, cursor, magnetic
   ============================================================ */

/* ---- Cinematic intro (homepage, session-once) ---- */
.intro { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--rbm-ink); align-items: center; justify-content: center; flex-direction: column; will-change: transform; }
html.intro-on .intro { display: flex; }
html.intro-on { overflow: hidden; }
.intro::after { content: ""; position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.intro.lift { transform: translateY(-101%); transition: transform .85s cubic-bezier(.76,0,.24,1); }
.intro-inner { text-align: center; padding: 0 24px; }
.intro-eye { display: block; font-family: var(--rbm-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--rbm-gold); opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.intro-name { display: block; font-family: var(--rbm-font-headline); font-size: clamp(44px, 9vw, 132px); line-height: 0.92; letter-spacing: 0.03em; text-transform: uppercase; color: var(--rbm-bone); margin-top: 16px; opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease) .12s, transform .85s cubic-bezier(.5,0,.1,1) .12s; }
.intro-rule { display: block; height: 2px; width: 0; background: var(--rbm-gold); margin: 26px auto 0; transition: width .9s var(--ease) .4s; }
.intro.show .intro-eye { opacity: 1; transform: none; }
.intro.show .intro-name { opacity: 1; transform: none; }
.intro.show .intro-rule { width: clamp(140px, 24vw, 260px); }

/* ---- Hero headline contrast safety ---- */
.hero h1 { text-shadow: 0 2px 30px rgba(10,10,10,0.5); }

/* ============================================================
   ICONIC MOVES — manifesto (scroll-pinned) + signature statement
   ============================================================ */

/* ---- Scroll-pinned manifesto ---- */
.manifesto { position: relative; height: 560vh; background: var(--rbm-ink); }
.manifesto-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.manifesto-eye { position: absolute; top: clamp(80px, 14vh, 150px); left: 50%; transform: translateX(-50%); font-family: var(--rbm-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--rbm-gold); }
.manifesto-words { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 1.1em; }
.manifesto-word { position: absolute; font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(56px, 13vw, 224px); line-height: 0.9; letter-spacing: 0.015em; color: var(--rbm-bone); text-align: center; opacity: 0; transform: translateY(44px) scale(0.95); filter: blur(6px); transition: opacity .55s var(--ease), transform .7s cubic-bezier(.5,0,.1,1), filter .55s var(--ease); padding: 0 4vw; }
.manifesto-word.active { opacity: 1; transform: none; filter: none; }
.manifesto-word.exit { opacity: 0; transform: translateY(-44px) scale(0.95); filter: blur(6px); }
.manifesto-word.gold { color: var(--rbm-gold); }
.manifesto-word.final { font-size: clamp(34px, 6.5vw, 104px); max-width: 16ch; line-height: 0.98; }
.manifesto-ticks { position: absolute; bottom: clamp(64px, 11vh, 120px); left: 50%; transform: translateX(-50%); display: flex; gap: 14px; }
.manifesto-ticks span { width: 30px; height: 2px; background: var(--rbm-ink-line); transition: background .3s var(--ease); }
.manifesto-ticks span.on { background: var(--rbm-gold); }
body.no-motion .manifesto { height: auto; padding: clamp(80px,12vw,160px) 0; }
body.no-motion .manifesto-stage { position: static; height: auto; gap: 8px; }
body.no-motion .manifesto-eye { position: static; transform: none; margin-bottom: 28px; }
body.no-motion .manifesto-words { display: block; min-height: 0; }
body.no-motion .manifesto-word { position: static; opacity: 1; transform: none; filter: none; display: block; margin: 6px 0; }
body.no-motion .manifesto-ticks { display: none; }

/* ---- Signature statement (full-bleed scroll-stopper) ---- */
.statement { background: var(--rbm-ink); padding: clamp(120px, 22vh, 260px) 0; position: relative; overflow: hidden; }
.statement .wrap { position: relative; z-index: 1; }
.statement .eyebrow { margin-bottom: 30px; }
.statement h2 { font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(46px, 9.2vw, 156px); line-height: 0.9; letter-spacing: 0.005em; max-width: 17ch; }
.statement h2 .gold { color: var(--rbm-gold); }
.statement .ghost-word { position: absolute; right: -2vw; bottom: -6vh; font-family: var(--rbm-font-headline); text-transform: uppercase; font-size: clamp(180px, 34vw, 620px); line-height: 0.7; color: transparent; -webkit-text-stroke: 1px var(--rbm-grey-900); pointer-events: none; z-index: 0; user-select: none; }

/* ---- Custom cursor (fine pointer only) ---- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 300; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--rbm-gold); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(201,169,97,0.55); transition: width .22s var(--ease), height .22s var(--ease), margin .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease); }
.cursor-ring.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--rbm-gold); background: rgba(201,169,97,0.08); }
.cursor-ring.press { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .btn, body.has-cursor [role="button"], body.has-cursor .eco-card, body.has-cursor .cat, body.has-cursor .gtile, body.has-cursor .vcard, body.has-cursor .entry { cursor: none; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }

/* magnetic targets get a snappy return */
.btn.gold { will-change: transform; }
