/* ==========================================================================
   RFWW LLC — rfwwllc.com
   Palette sampled directly from the brand logo.
   ========================================================================== */

:root{
  /* surfaces */
  --ink:      #0B0B0C;
  --ink-2:    #101012;
  --ink-3:    #17171A;
  --line:     #24242A;
  --line-2:   #34343C;

  /* brand */
  --gold:     #E8B033;
  --gold-lt:  #F7D774;
  --gold-dp:  #A8741A;
  --red:      #C4301F;

  /* text */
  --chrome:   #F4F4F5;
  --body:     #C2C2C9;
  --muted:    #8E8E97;

  /* type */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Helvetica Neue", sans-serif;

  /* rhythm */
  --gutter: 20px;
  --sec-y:  clamp(64px, 11vw, 136px);
  --maxw:   1200px;
}

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

html{
  background:var(--ink);
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--ink);
  color:var(--body);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }

h1,h2,h3{
  color:var(--chrome);
  font-weight:700;
  letter-spacing:-0.022em;
  line-height:1.08;
  margin:0;
  text-wrap:balance;
}

p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

a{ color:var(--gold); text-decoration:none; }
a:hover{ color:var(--gold-lt); }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:2px;
}

.wrap{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
@media (min-width:700px){ :root{ --gutter:36px; } }

.gold{ color:var(--gold); }

.skip{
  position:absolute; left:-9999px; top:0;
  background:var(--gold); color:#000;
  padding:12px 18px; font-weight:700; z-index:100;
}
.skip:focus{ left:12px; top:12px; }


/* ── NAV ─────────────────────────────────────────────── */

.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(11,11,12,.82);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line);
}
.nav__in{
  max-width:var(--maxw); margin-inline:auto;
  padding:0 var(--gutter);
  height:64px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.nav__brand{ display:block; flex:0 0 auto; line-height:0; }
.nav__brand img{ width:132px; height:auto; }

.nav__links{ display:none; gap:30px; }
.nav__links a{
  color:var(--muted);
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:color .18s ease;
}
.nav__links a:hover{ color:var(--chrome); }
@media (min-width:880px){
  .nav__links{ display:flex; }
  .nav__brand img{ width:152px; }
}


/* ── HERO ────────────────────────────────────────────── */

.hero{
  position:relative;
  padding:clamp(44px,7vw,80px) 0 clamp(56px,8vw,96px);
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

/* line-art globe used as a mask so it can be tinted gold on dark */
.hero__globe{
  position:absolute;
  top:50%; left:50%;
  width:min(1180px,168vw);
  aspect-ratio:900/784;
  transform:translate(-46%,-52%);
  background:
    radial-gradient(60% 60% at 50% 40%, var(--gold-lt) 0%, var(--gold) 42%, var(--gold-dp) 100%);
  -webkit-mask:url("../media/globe-mask.webp") center/contain no-repeat;
          mask:url("../media/globe-mask.webp") center/contain no-repeat;
  opacity:.062;
  pointer-events:none;
}
.hero::after{   /* vignette so the watermark never fights the copy */
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(78% 62% at 50% 46%, rgba(11,11,12,.72) 0%, rgba(11,11,12,0) 72%);
  pointer-events:none;
}

.hero__in{ position:relative; z-index:2; }

.hero__logo{
  width:min(560px,100%);
  height:auto;
  margin:0 0 clamp(28px,4vw,44px);
}

.hero__h1{
  font-size:clamp(2.15rem,6.4vw,4.25rem);
  letter-spacing:-0.032em;
  max-width:26ch;
}

.hero__sub{
  margin-top:clamp(20px,2.6vw,28px);
  max-width:58ch;
  font-size:clamp(1rem,1.55vw,1.175rem);
  line-height:1.62;
  color:var(--body);
}

.hero__meta{
  list-style:none;
  margin:clamp(26px,3.4vw,36px) 0 0;
  padding:0;
  display:flex; flex-wrap:wrap;
  gap:10px 26px;
  font-size:.79rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}
/* Separator travels with the preceding item, so a wrap never strands a
   bullet at the start of the next line. */
.hero__meta li{ display:flex; align-items:center; gap:26px; }
.hero__meta li:not(:last-child)::after{
  content:"";
  width:4px; height:4px; flex:0 0 auto;
  background:var(--gold); border-radius:50%;
}
@media (max-width:560px){
  .hero__meta{ flex-direction:column; align-items:flex-start; gap:9px; }
  .hero__meta li:not(:last-child)::after{ display:none; }
}

.hero__more{
  display:inline-block;
  margin-top:clamp(30px,4vw,44px);
  padding-bottom:5px;
  font-size:.87rem; font-weight:600;
  letter-spacing:.05em;
  border-bottom:1px solid rgba(232,176,51,.34);
  transition:border-color .2s ease;
}
.hero__more:hover{ border-bottom-color:var(--gold); }
.hero__more span{ display:inline-block; transition:transform .2s ease; }
.hero__more:hover span{ transform:translateY(3px); }


/* ── KEY FIGURES ─────────────────────────────────────── */

.figures{
  background:var(--ink-2);
  border-bottom:1px solid var(--line);
  padding:clamp(40px,5.5vw,64px) 0;
}
.figs{
  margin:0; padding:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:clamp(28px,4vw,40px) clamp(20px,3vw,32px);
}
@media (min-width:820px){
  .figs{ grid-template-columns:repeat(4,1fr); }
}
.fig{ border-top:2px solid var(--gold); padding-top:16px; }

.fig__n{
  display:block;
  font-size:clamp(2.3rem,5.4vw,3.5rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-0.045em;
  color:var(--chrome);
  font-variant-numeric:tabular-nums;
}
.fig__u{ color:var(--gold); font-size:.56em; margin-left:1px; }

.fig__l{
  margin:12px 0 0;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.075em;
  text-transform:uppercase;
  color:var(--muted);
  line-height:1.45;
}


/* ── SECTION SHELL ───────────────────────────────────── */

.sec{ padding:var(--sec-y) 0; }
.sec--alt{
  background:var(--ink-2);
  border-block:1px solid var(--line);
}

.eyebrow{
  margin:0 0 16px;
  font-size:.76rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold);
}

.sec__head h2{ font-size:clamp(1.75rem,3.9vw,2.75rem); }
.sec__head--wide{ max-width:64ch; margin-bottom:clamp(40px,5.5vw,64px); }

.lede{
  margin-top:22px;
  max-width:58ch;
  font-size:clamp(1rem,1.4vw,1.1rem);
  color:var(--body);
}

.sec__split{
  display:grid;
  gap:clamp(28px,4vw,64px);
}
@media (min-width:900px){
  .sec__split{ grid-template-columns:minmax(0,.85fr) minmax(0,1fr); }
  .sec__split .sec__head{ position:sticky; top:104px; align-self:start; }
}

.prose p{ max-width:60ch; }
.prose strong{ color:var(--chrome); font-weight:600; }


/* ── FOR BRANDS: CARDS ───────────────────────────────── */

.cards{
  list-style:none; margin:0; padding:0;
  display:grid; gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (min-width:680px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .cards{ grid-template-columns:repeat(3,1fr); } }

.card{
  position:relative;
  background:var(--ink);
  padding:clamp(26px,3vw,36px) clamp(22px,2.6vw,32px) clamp(30px,3.4vw,40px);
  transition:background .22s ease;
}
.card::before{   /* gold top-edge that draws in on hover */
  content:"";
  position:absolute; top:-1px; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold-dp));
  transform:scaleX(0); transform-origin:left;
  transition:transform .34s cubic-bezier(.2,.7,.3,1);
}
.card:hover{ background:var(--ink-3); }
.card:hover::before{ transform:scaleX(1); }

.card__n{
  display:block;
  font-size:.76rem; font-weight:700;
  letter-spacing:.14em;
  color:var(--gold);
  font-variant-numeric:tabular-nums;
  margin-bottom:18px;
}
.card h3{
  font-size:1.145rem;
  letter-spacing:-0.012em;
  line-height:1.28;
  margin-bottom:12px;
}
.card p{ font-size:.945rem; line-height:1.62; color:var(--muted); }

/* The 7th card would otherwise sit orphaned in a 2- or 3-up grid.
   Let it run the full width and read as the closing statement. */
@media (min-width:680px){
  .card:last-child{ grid-column:1/-1; }
  .card:last-child h3{ font-size:1.32rem; }
  .card:last-child p{ font-size:1rem; max-width:70ch; }
}

@media (prefers-reduced-motion: reduce){
  .card::before{ transition:none; }
}


/* ── CHANNELS ────────────────────────────────────────── */

.chgrid{
  display:grid;
  gap:clamp(40px,5vw,72px);
}
@media (min-width:840px){ .chgrid{ grid-template-columns:repeat(2,1fr); } }

.chgroup__t{
  font-size:.78rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted);
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
  margin-bottom:6px;
}

.chlist{ list-style:none; margin:0; padding:0; }

.ch{
  padding:24px 0;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 16px;
  align-items:baseline;
}
.ch__name{
  font-size:1.28rem; font-weight:700;
  color:var(--chrome);
  letter-spacing:-0.018em;
}
.ch__meta{
  font-size:.74rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold);
  white-space:nowrap;
}
.ch p{
  grid-column:1/-1;
  margin:8px 0 0;
  font-size:.925rem;
  color:var(--muted);
  max-width:48ch;
}

.note{
  margin-top:clamp(34px,4vw,48px);
  padding-top:22px;
  border-top:1px solid var(--line);
  font-size:.875rem;
  color:var(--muted);
}


/* ── OPERATIONS ──────────────────────────────────────── */

.ops{ display:grid; gap:clamp(40px,5vw,64px); }
@media (min-width:960px){
  .ops{ grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); align-items:start; }
}

.opslist{ margin:0; }
.op{
  padding:22px 0;
  border-top:1px solid var(--line);
  display:grid; gap:6px;
}
.op:last-child{ border-bottom:1px solid var(--line); }
.op dt{
  font-size:.76rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold);
}
.op dd{
  margin:0;
  font-size:.95rem;
  color:var(--body);
  max-width:52ch;
}

/* placeholder frames — swap for real photography */
.shots{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.shot{
  position:relative;
  margin:0;
  aspect-ratio:4/3;
  background:
    linear-gradient(135deg, rgba(232,176,51,.05) 0%, rgba(232,176,51,0) 58%),
    var(--ink-3);
  border:1px solid var(--line);
  display:grid; place-items:center;
}
.shot--wide{ grid-column:1/-1; aspect-ratio:16/7; }
.shot figcaption{
  font-size:.72rem; font-weight:600;
  letter-spacing:.13em; text-transform:uppercase;
  color:#85858F;   /* 4.6:1 on the placeholder ground — AA for small text */
}
.shot::after{
  content:"";
  position:absolute; inset:9px;
  border:1px dashed var(--line-2);
  opacity:.55;
  pointer-events:none;
}

/* Real photography in those frames: fill the slot, drop the placeholder chrome. */
.shot:has(img){ display:block; background:none; }
.shot:has(img)::after{ display:none; }
.shot img{ width:100%; height:100%; object-fit:cover; }
/* keep heads in frame when the wide slot crops vertically */
.shot--wide img{ object-position:center top; }

/* video slot */
.vid{
  width:100%; height:auto; display:block;
  border:1px solid var(--line);
  background:var(--ink-3);
}
@media (max-width:719px){ .vid{ display:none; } }


/* ── FOOTER ──────────────────────────────────────────── */

.foot{
  background:var(--ink-2);
  border-top:1px solid var(--line);
  padding:clamp(52px,6.5vw,80px) 0 32px;
}
.foot__grid{
  display:grid;
  gap:clamp(30px,4vw,40px);
}
@media (min-width:620px){ .foot__grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){
  .foot__grid{ grid-template-columns:auto repeat(3,minmax(0,1fr)); gap:56px; }
}

.foot__brand img{ width:104px; height:auto; }

.foot__h{
  font-size:.92rem; font-weight:700;
  letter-spacing:.05em;
  color:var(--chrome);
  margin-bottom:12px;
}
.foot__legal{
  margin:-8px 0 12px;
  font-size:.78rem; font-weight:600;
  letter-spacing:.13em; text-transform:uppercase;
  color:var(--gold);
}
.foot__addr,
.foot__block p{
  font-style:normal;
  font-size:.925rem;
  line-height:1.75;
  color:var(--body);
  margin:0;
}
.foot__muted{ color:var(--muted); font-size:.875rem; }

.foot__bar{
  margin-top:clamp(44px,5vw,64px);
  padding-top:24px;
  border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap;
  justify-content:space-between; gap:8px 24px;
  font-size:.8rem;
  color:var(--muted);
}
.foot__bar p{ margin:0; }


/* ── SCROLL REVEAL ───────────────────────────────────── */

.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s cubic-bezier(.2,.7,.3,1),
             transform .6s cubic-bezier(.2,.7,.3,1);
  transition-delay:var(--d,0ms);
}
.reveal.is-in{ opacity:1; transform:none; }

/* never hide content if JS fails or motion is unwanted */
.no-js .reveal,
html:not(.js) .reveal{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .hero__more span{ transition:none; }
}


/* ── PRINT ───────────────────────────────────────────── */

@media print{
  .nav,.hero__globe,.hero__more,.shots{ display:none !important; }
  body{ background:#fff; color:#000; }
  h1,h2,h3,.fig__n{ color:#000; }
  .sec,.figures,.foot{ background:#fff; border-color:#ccc; }
  a{ color:#000; }
}
