@font-face{
  font-family:'MinervaModern';
  font-style:normal;font-weight:400;font-display:swap;
  src:local('MinervaModern-Regular'),
      url(../fonts/MinervaModern-Regular.otf) format('opentype');
}

/* ==========================================================================
   REDBOOK INTELLIGENCE
   Brand tokens, type scale and components lifted from redbookagency.com.
     plum   #2B0815   dark bands, footer, hero underlay
     red    #6F2123   RedBook Red - every red on the page except the hero loop
     ink    #212529   body copy
     warm   #F5F3F0   alternate section ground
   Type: MinervaModern (display, uppercase) + Barlow (copy, UI).
   Grid: 1140 max / 20 gutter. Buttons reproduce RedBook's draw-on-hover
   ring and extending arrow.
   ========================================================================== */

:root{
  --plum:#2B0815;
  --plum-80:rgba(43,8,21,.80);
  --plum-55:rgba(43,8,21,.55);
  --red:#6F2123;
  --red-deep:#6F2023;
  --ink:#212529;
  --ink-70:#5A5559;
  --paper:#FFFFFF;
  --warm:#F5F3F0;
  --parch-1:#F5F3F0;
  --parch-2:#EDE9E3;
  --parch-3:#E3DED6;
  --parch-4:#D6D0C7;
  --line:#E2DDD8;
  --line-warm:#D8D2CC;
  --onDark:#FFFFFF;
  --onDark-70:rgba(255,255,255,.72);
  --onDark-45:rgba(255,255,255,.46);
  --line-dark:rgba(255,255,255,.20);
  --mute:#8B857F;
  --grey-box:#EDEAE7;
  --container:1140px;
  --gutter:20px;
  --ease:cubic-bezier(.16,1,.3,1);
  --ease-out:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip;}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:'Barlow',Helvetica,Arial,sans-serif;
  font-size:16px;line-height:24px;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;}

/* ---------- layout ---------- */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter);}
.section{padding:92px 0;position:relative;scroll-margin-top:110px;}
.hero{scroll-margin-top:0;}
.section--tight{padding:64px 0;}
.section--warm{background:var(--warm);}
.section--parch{background:var(--parch,var(--parch-1));}

.section--dark{background:var(--plum);color:var(--onDark);}
.section--dark .body,.section--dark .small{color:var(--onDark-70);}
.grid{display:grid;}
.g-12{grid-template-columns:repeat(12,1fr);gap:0 20px;}
.g-2{grid-template-columns:repeat(2,1fr);gap:30px;}
.g-3{grid-template-columns:repeat(3,1fr);gap:30px;}
.g-4{grid-template-columns:repeat(4,1fr);gap:30px;}
.span-4{grid-column:span 4;}.span-5{grid-column:span 5;}
.span-6{grid-column:span 6;}.span-7{grid-column:span 7;}
.span-8{grid-column:span 8;}
.span-12{grid-column:span 12;}
/* the mark keeps its own casing inside an uppercased heading */
.rbi{text-transform:none;}
.stack>*+*{margin-top:20px;}
.pl-col{padding-left:30px;}
/* newsletter: left copy and right media share a top edge */
.nl{align-items:start;}
.nl .eyebrow{margin-top:-8px;}
/* the subscribe field sits on the same baseline as the images opposite */
.nl__l{display:flex;flex-direction:column;align-items:flex-start;}
.nl__l .body{margin-bottom:0;}
.nl__l .form-row{margin-top:0;margin-bottom:0;width:100%;}
/* With a tile hidden (e.g. the podcast, set in the CMS), News & Lifestyle holds
   the right-hand column, so its right edge stays on the module's right edge
   rather than drifting to the middle. When both tiles are on show they fall
   back to normal flow. */
.nl-tiles > [hidden]{display:none!important;}
.nl-tiles > .nl-tile:only-of-type,
.nl-tiles > .nl-tile[hidden] ~ .nl-tile:not([hidden]),
.nl-tiles:has(> .nl-tile[hidden]) > .nl-tile:not([hidden]){grid-column:2;}
/* on a phone half a column is too small for the picture to read, so the lone
   tile takes the full width instead; the selectors repeat the ones above so
   they carry the same weight and win on order */
@media (max-width:620px){
  .nl-tiles > .nl-tile:only-of-type,
  .nl-tiles > .nl-tile[hidden] ~ .nl-tile:not([hidden]),
  .nl-tiles:has(> .nl-tile[hidden]) > .nl-tile:not([hidden]){grid-column:1 / -1;}
  /* the forced break was there for a half-width tile; at full width the label fits on one line */
  .nl-tiles > .nl-tile:only-of-type .br-m,
  .nl-tiles > .nl-tile[hidden] ~ .nl-tile:not([hidden]) .br-m,
  .nl-tiles:has(> .nl-tile[hidden]) > .nl-tile:not([hidden]) .br-m{display:none;}
}
.mw-720{max-width:720px;}.mw-620{max-width:620px;}
.mx-auto{margin-left:auto;margin-right:auto;}
.center{text-align:center;}

/* ---------- type ---------- */
.eyebrow{
  font-size:16px;line-height:24px;font-weight:500;letter-spacing:1.6px;
  text-transform:uppercase;margin:0 0 12px;color:var(--plum);
}
.eyebrow--red{color:var(--red);}
/* the eyebrow is uppercased, which would spell the mark RBI */
.brand{text-transform:none;}
.section--dark .eyebrow{color:var(--onDark);}
.h-display{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:clamp(46px,7.4vw,96px);line-height:1.02;
  text-transform:uppercase;margin:0;
}
.h-1{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:clamp(38px,4.4vw,54px);line-height:1.1;
  text-transform:uppercase;margin:0 0 20px;color:var(--red);
}
.section--dark .h-1{color:var(--onDark);}
@media (min-width:700px){.h-1--nowrap{white-space:nowrap;}}
/* keeps the small i of RBi small inside headings that are uppercased */
.rbi-i{text-transform:none;}
.h-2{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:clamp(38px,4.4vw,54px);line-height:1.1;
  text-transform:uppercase;margin:0 0 20px;color:var(--plum);
}
.section--dark .h-2{color:var(--onDark);}
.h-3{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:24px;line-height:32px;text-transform:uppercase;
  margin:0 0 12px;color:var(--plum);
}
.h-4{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:20px;line-height:1.35;text-transform:uppercase;
  margin:0 0 10px;color:var(--plum);
}
.section--dark .h-3,.section--dark .h-4{color:var(--onDark);}
.h-frame{
  font-family:'MinervaModern',Georgia,serif;font-weight:400;
  font-size:clamp(22px,2.1vw,28px);line-height:1.3;
  text-transform:uppercase;margin:0 0 16px;color:var(--plum);
  text-align:justify;
}
/* the framing block and its note run to the same right edge as the pillar
   images below them, so no max-width here */
.h-frame + .body{text-align:justify;}
.lede{font-size:18px;line-height:32px;margin:0 0 20px;color:var(--ink-70);}
.body{font-size:16px;line-height:24px;margin:0 0 16px;color:var(--ink-70);}
.body--j{text-align:justify;}
.small{font-size:14px;line-height:21px;color:var(--mute);margin:0;}
.tracked{font-size:14px;line-height:21px;font-weight:500;letter-spacing:3px;text-transform:uppercase;}
.num{
  font-family:'MinervaModern',Georgia,serif;font-size:28px;line-height:1;
  color:var(--red);display:block;margin-bottom:14px;
}

/* ---------- RedBook button: ring draws, arrow extends ---------- */
.rb-btn{
  position:relative;display:inline-flex;align-items:center;min-height:44px;
  padding-right:70px;color:var(--plum);cursor:pointer;
  font-size:14px;line-height:21px;font-weight:500;letter-spacing:3px;
  text-transform:uppercase;background:none;border:0;white-space:nowrap;
  transition:color .4s var(--ease);
}
.rb-btn__ring{
  position:absolute;right:0;top:50%;width:44px;height:44px;margin-top:-22px;
  transform:rotate(-90deg);overflow:visible;
}
.rb-btn__ring circle{
  fill:none;stroke:currentColor;stroke-width:1;
  stroke-dasharray:131.95;stroke-dashoffset:131.95;
  transition:stroke-dashoffset .75s var(--ease);
}
.rb-btn:hover .rb-btn__ring circle,
.rb-btn:focus-visible .rb-btn__ring circle{stroke-dashoffset:0;}
.rb-btn__arrow{position:absolute;right:12px;top:50%;width:21px;height:8px;margin-top:-4px;}
.rb-btn__arrow::before{
  /* The head is a 7px square showing two borders, rotated 45deg: its arms
     open rightward and meet at a vertex beyond the box, at ~22.4px. A shaft
     on the centreline can only touch that vertex, so it is anchored there
     and grows leftward - the join never breaks, at rest or on hover. */
  content:'';position:absolute;right:-1.4px;top:50%;height:1px;width:22px;
  background:currentColor;
}
.rb-btn__arrow::after{
  content:'';position:absolute;right:0;top:50%;width:7px;height:7px;
  border-top:1px solid currentColor;border-right:1px solid currentColor;
  transform:translateY(-50%) rotate(45deg);
}
.rb-btn--light{color:var(--onDark);}
.rb-btn--boxed{
  padding:0 38px;min-height:56px;border:1px solid currentColor;
  transition:background .45s var(--ease),color .45s var(--ease),border-color .45s var(--ease);
}
.rb-btn--boxed:hover{background:#fff;color:var(--plum);border-color:#fff;}
.rb-btn--red{color:var(--red);}
.rb-btn:hover{color:var(--red);}
.rb-btn--light:hover{color:var(--onDark);}
/* the boxed button fills white on hover, so its label has to leave white -
   needs to outrank .rb-btn--light:hover above, hence the doubled class */
.rb-btn--boxed.rb-btn--light:hover{color:var(--red);}
.btn-row{display:flex;flex-wrap:wrap;gap:38px;margin-top:34px;align-items:center;}

/* ---------- motion system ---------- */
[data-reveal]{
  opacity:0;transform:translateY(26px);
  transition:opacity .95s var(--ease),transform .95s var(--ease);
  transition-delay:calc(var(--i,0) * 90ms);
}
[data-reveal].is-in{opacity:1;transform:none;}

.ln{display:block;overflow:hidden;}
.ln__i{
  display:inline-block;transform:translateY(115%);
  transition:transform 1.15s var(--ease);
  transition-delay:calc(var(--i,0) * 100ms);
  will-change:transform;position:relative;
}
.is-in .ln__i{transform:none;}

.scroll-bar{
  position:fixed;top:0;left:0;height:2px;width:100%;z-index:120;
  background:var(--red);transform:scaleX(0);transform-origin:0 50%;
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  [data-reveal],.ln__i{opacity:1!important;transform:none!important;transition:none!important;}
  .scroll-bar{display:none;}
}
