/* ============================================================================
   The Future of Membership: whitepaper landing page.

   Expressed in the Whitepaper grammar of the RCG 2027 Design System
   (RCG | Development/RCG 2027 Design System/project/README.md, "Whitepaper"),
   Original edition. Token values are copied from that system's tokens.json;
   the print bundle is not imported because it carries @page rules and global
   page classes. Screen sizes scale the print tiers up for reading distance.
   ========================================================================= */

@font-face { font-family: "Helvetica Neue Web"; font-weight: 300; font-style: normal;
  src: local("HelveticaNeue-Light"), url("assets/fonts/HelveticaNeue-Light.otf") format("opentype"); }
@font-face { font-family: "Helvetica Neue Web"; font-weight: 300; font-style: italic;
  src: local("HelveticaNeue-LightItalic"), url("assets/fonts/HelveticaNeue-Light.otf") format("opentype"); }
/* Thin Italic is the paper's title face. No licensed Thin file ships here, so a
   visitor without Helvetica Neue installed sees Light Italic in its place. */
@font-face { font-family: "Helvetica Neue Web"; font-weight: 100; font-style: italic;
  src: local("HelveticaNeue-ThinItalic"), local("HelveticaNeue-LightItalic"), url("assets/fonts/HelveticaNeue-Light.otf") format("opentype"); }
@font-face { font-family: "Helvetica Neue Web"; font-weight: 400; font-style: normal;
  src: local("HelveticaNeue"), url("assets/fonts/HelveticaNeue-Regular.otf") format("opentype"); }
@font-face { font-family: "Helvetica Neue Web"; font-weight: 500; font-style: normal;
  src: local("HelveticaNeue-Medium"), url("assets/fonts/HelveticaNeue-Medium.otf") format("opentype"); }
@font-face { font-family: "Helvetica Neue Web"; font-weight: 700; font-style: normal;
  src: local("HelveticaNeue-Bold"), url("assets/fonts/HelveticaNeue-Bold.otf") format("opentype"); }
@font-face { font-family: "Helvetica Neue Web"; font-weight: 700; font-style: italic;
  src: local("HelveticaNeue-BoldItalic"), url("assets/fonts/HelveticaNeue-Bold.otf") format("opentype"); }
@font-face { font-family: "Freight Big Pro"; font-weight: 500; font-style: italic;
  src: url("assets/fonts/Freight Big Pro Medium Italic.otf") format("opentype"); }

:root {
  --wp-paper: #ffffff;
  --wp-ink: #000000;
  --wp-ink-title: #221f20;
  --wp-scrim: #1b1f1d;
  --wp-white: #ffffff;
  --wp-umber: #6b462b;
  --wp-tan: #aa7652;
  --wp-gold: #ecaa42;
  --wp-orange: #ea8532;
  --wp-rose: #bc5e59;
  --wp-red: #bd2f2c;
  --wp-indigo: #28254c;
  --wp-rule: 2.67px;

  --sans: "Helvetica Neue Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Freight Big Pro", Georgia, serif;

  --wrap: 1240px;
  --gutter: 48px;
  --band-y: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wp-paper); color: var(--wp-ink); font: 400 18px/28px var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 700; }

.fm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── The accent slash: a 2pt stroke at 71.5 degrees, the paper's section mark. */
.fm-slash { display: block; width: 22px; height: 64px; flex: none; color: var(--accent, var(--wp-ink-title)); }
.fm-slash line { stroke: currentColor; stroke-width: var(--wp-rule); }
.fm-slash--small { width: 12px; height: 34px; }

/* ── Section title: Thin Italic with the key phrase in Bold Italic. */
.fm-title { display: flex; gap: 18px; align-items: flex-start; margin: 0; color: var(--wp-ink-title);
  font: italic 100 48px/57.6px var(--sans); letter-spacing: -0.01em; }
.fm-title b { font-weight: 700; }
.fm-title__line { display: block; }

.fm-body { margin: 0; max-width: 34em; }
.fm-body + .fm-body { margin-top: 20px; }

.fm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  background: var(--wp-ink-title); color: var(--wp-white); font: 500 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.fm-btn:hover { background: var(--wp-red); }
.fm-btn:focus-visible { outline: 3px solid var(--wp-gold); outline-offset: 3px; }
.fm-btn--ghost { background: transparent; color: var(--wp-white); box-shadow: inset 0 0 0 1.5px var(--wp-white); }
.fm-btn--ghost:hover { background: var(--wp-white); color: var(--wp-ink-title); }

/* ── HERO: the cover. Full-bleed photo, a dark shade, the white diagonal rule,
   the lockup top-left, the title bottom-left, the form on the right. */
.fm-hero { position: relative; overflow: hidden; background: var(--wp-scrim); color: var(--wp-white); }
/* The face sits at the photo's center. Widen the frame and slide it left so
   the face lands in the open column, clear of the form card. */
.fm-hero__photo { position: absolute; top: 0; left: -30%; width: 130%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.fm-hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(27, 31, 29, 0) 30%, rgba(27, 31, 29, 0.6) 65%, rgba(27, 31, 29, 0.92) 100%),
    linear-gradient(to right, rgba(27, 31, 29, 0.55) 0%, rgba(27, 31, 29, 0) 55%); }
.fm-hero__rule { position: absolute; left: 0; top: 0; width: max(0px, calc((100vw - var(--wrap)) / 2 + 24px)); height: 100%; color: var(--wp-white); pointer-events: none; }
.fm-hero__rule line { stroke: currentColor; stroke-width: var(--wp-rule); }
.fm-hero .fm-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto 1fr; column-gap: 64px;
  min-height: min(100vh, 940px); padding-top: 48px; padding-bottom: 72px; }
.fm-hero__lockup { grid-column: 1 / -1; align-self: start; width: 266px; }
.fm-hero__story { font-size: 74px; grid-column: 1; grid-row: 2; align-self: end; justify-self: start; width: max-content; max-width: 100%; }
/* Measured from the cover: lines step 1.16em and the serif word sits on the
   second line's baseline without opening the line (line-height 0). */
.fm-cover-title { margin: 0; font: italic 300 1em/1.16 var(--sans); letter-spacing: -0.01em; }
.fm-cover-title__line { display: block; }
.fm-cover-title__serif { font: italic 500 1.343em/0 var(--serif); }
.fm-cover-subtitle { margin: 6px 0 0; text-align: right; font: 300 0.36em/1.2 var(--sans); }
.fm-cover-subtitle__line { display: block; }
.fm-hero__aside { grid-column: 2; grid-row: 2; align-self: center; margin-top: 32px; }

/* The form card: white, no border, lifted on its shadow, sharp corners. */
.fm-card { background: var(--wp-paper); color: var(--wp-ink); padding: 40px 36px 32px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28); }
.fm-card__title { margin: 0; color: var(--wp-ink-title); font: italic 100 38px/44px var(--sans); }
.fm-card__title b { font-weight: 700; }
.fm-card__lede { margin: 14px 0 26px; font: 400 16px/24px var(--sans); }
.fm-legal { margin: 20px 0 0; color: #4d4a4b; font: 400 12px/17px var(--sans); }
.fm-legal a { color: var(--wp-ink-title); }

/* The form keeps ActiveCampaign's own class names so its embed drops in. */
.lp-form ._form_element + ._form_element { margin-top: 16px; }
.lp-form ._form-label { display: block; margin-bottom: 6px; color: var(--wp-ink-title); font: 500 14px/18px var(--sans); }
.lp-form .field-required { color: var(--wp-red); margin-left: 2px; }
.lp-form input[type="text"] { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #8a8687; border-radius: 0;
  background: var(--wp-paper); color: var(--wp-ink); font: 400 16px/1 var(--sans); }
.lp-form input[type="text"]::placeholder { color: #6f6b6c; }
.lp-form input[type="text"]:focus { outline: 2px solid var(--wp-indigo); outline-offset: 0; border-color: var(--wp-indigo); }
.lp-form ._button-wrapper { margin-top: 24px; }
.lp-form ._submit { width: 100%; }
.lp-form input._has_error { outline: 2px solid var(--wp-red); outline-offset: 0; border-color: var(--wp-red); }
.lp-form ._submit:disabled { cursor: not-allowed; }
.lp-form ._submit.processing { position: relative; color: transparent; }
.lp-form ._submit.processing::before { content: ""; position: absolute; top: 50%; left: 50%; width: 1em; height: 1em; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--wp-white); border-radius: 50%; animation: fm-spin 900ms linear infinite; }
@keyframes fm-spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.lp-form ._error { position: static; display: block; }
.lp-form ._error-arrow { display: none; }
.lp-form ._error-inner { display: block; margin-top: 6px; padding: 8px 10px; background: var(--wp-red); color: var(--wp-white); font: 500 13px/1.35 var(--sans); }
.lp-form ._error-inner._form_error { margin: 0 0 12px; }
.lp-form ._form-thank-you { color: var(--wp-ink-title); font: 300 22px/1.4 var(--sans); }
.lp-form .form-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@media (prefers-reduced-motion: reduce) { .lp-form ._submit.processing::before { animation: none; } }

/* ── INSIDE: the argument in five movements, with the cover beside it. */
.fm-inside { --accent: var(--wp-tan); padding: var(--band-y) 0; }
.fm-inside .fm-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 96px; align-items: start; }
.fm-inside .fm-title { margin-bottom: 44px; }
.fm-parts { list-style: none; margin: 56px 0 0; padding: 0; }
.fm-part { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px; }
.fm-part + .fm-part { margin-top: 40px; }
.fm-part .fm-slash { grid-row: 1 / span 2; margin-top: -2px; }
.fm-part__title { margin: 0; color: var(--wp-ink-title); font: 300 32px/38px var(--sans); }
.fm-part__body { margin: 8px 0 0; max-width: 34em; }
.fm-cover { position: sticky; top: 40px; }
.fm-cover__art { margin: 0; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); }
.fm-cover__art img { width: 100%; aspect-ratio: 17 / 22; object-fit: cover; }
.fm-cover__body { margin: 28px 0 24px; font: 400 16px/24px var(--sans); }
.fm-cover__body em { font: italic 500 22px/1 var(--serif); }

/* ── PHOTO STATEMENT: one line in white over a dark full-bleed frame. */
.fm-statement { position: relative; overflow: hidden; background: var(--wp-scrim); color: var(--wp-white); }
.fm-statement__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fm-statement::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to right, rgba(27, 31, 29, 0.78) 0%, rgba(27, 31, 29, 0.5) 55%, rgba(27, 31, 29, 0.15) 100%); }
.fm-statement .fm-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 620px; padding-top: 96px; padding-bottom: 96px; }
.fm-statement__line { margin: 0 0 40px; max-width: 13em; font: 300 64px/74px var(--sans); }
.fm-statement__line b { font-style: italic; }

/* ── CONTINUUM: where the thinking continues. */
.fm-continuum { --accent: var(--wp-indigo); padding: var(--band-y) 0; }
.fm-continuum .fm-title { margin-bottom: 64px; }
.fm-continuum__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.fm-cont { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; text-decoration: none; color: var(--wp-ink); }
.fm-cont__photo { margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp-ink-title); }
.fm-cont__photo img { width: 100%; height: 100%; object-fit: cover; }
.fm-cont__label { color: var(--wp-ink-title); font: 300 26px/32px var(--sans); }
.fm-cont__sub { margin-top: 10px; font: 400 16px/24px var(--sans); }
.fm-cont__action { margin-top: 22px; align-self: end; }
.fm-cont:hover .fm-btn { background: var(--wp-red); }

/* ── FOOTER */
.fm-foot { background: var(--wp-scrim); color: var(--wp-white); font: 400 14px/20px var(--sans); }
.fm-foot .fm-wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.fm-foot a { text-decoration: none; }
.fm-foot a:hover { text-decoration: underline; }

#read { scroll-margin-top: 32px; }

/* ── Narrower screens */
@media (max-width: 1180px) {
  :root { --band-y: 104px; }
  .fm-hero .fm-wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .fm-hero__story { font-size: 60px; }
  .fm-inside .fm-wrap { gap: 64px; grid-template-columns: minmax(0, 1fr) 300px; }
  .fm-continuum__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; --band-y: 80px; }
  .fm-hero .fm-wrap { display: block; min-height: 0; padding-top: 32px; padding-bottom: 0; }
  .fm-hero__lockup { width: 180px; }
  .fm-hero__story { padding: 420px 0 48px; }
  .fm-hero__photo { left: 0; width: 100%; height: 640px; object-position: 50% 12%; }
  .fm-hero__shade { background: linear-gradient(to bottom, rgba(27, 31, 29, 0) 260px, rgba(27, 31, 29, 0.94) 600px, var(--wp-scrim) 640px); }
  .fm-hero__aside { margin: 0 calc(-1 * var(--gutter)); }
  .fm-card { box-shadow: none; padding: 40px var(--gutter) 48px; }
  .fm-hero__rule { display: none; }
  .fm-title { font-size: 42px; line-height: 50px; gap: 14px; }
  .fm-title .fm-slash { width: 20px; height: 56px; }
  .fm-inside .fm-wrap { display: block; }
  .fm-cover { position: static; max-width: 360px; margin-top: 64px; }
  .fm-statement .fm-wrap { min-height: 520px; }
  .fm-statement__line { font-size: 46px; line-height: 54px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; line-height: 26px; }
  .fm-hero__story { font-size: 46px; }
  .fm-hero__story { padding-top: 360px; }
  .fm-hero__photo { height: 560px; }
  .fm-hero__shade { background: linear-gradient(to bottom, rgba(27, 31, 29, 0) 220px, rgba(27, 31, 29, 0.94) 520px, var(--wp-scrim) 560px); }
  .fm-title { font-size: 34px; line-height: 41px; }
  .fm-title .fm-slash { width: 16px; height: 46px; }
  .fm-part__title { font-size: 26px; line-height: 31px; }
  .fm-statement__line { font-size: 36px; line-height: 43px; }
  .fm-continuum__grid { grid-template-columns: minmax(0, 1fr); }
  .fm-foot .fm-wrap { flex-direction: column; }
}

/* Ungated variant: the card carries a download button instead of the form. */
.fm-btn--block { display: flex; width: 100%; }
