/* =====================================================================
   Newsprint theme (November 2026 redesign, preview branch)
   Loads after site.css. Dark textured desk for heroes, bands, header and
   footer; cream paper sections for reading; content cards as torn
   newspaper clippings with tape (the same look as the carousels and the
   link page). Torn edges come from site.js (data-torn), and their shadow
   sits on the parent list so the shadow follows the torn shape.
   ===================================================================== */
:root {
  --ink: #1b1813;
  --desk: #141210;
  --black: #1b1813;
  --grey: #3d362d;
  --rule: rgba(27, 24, 19, 0.2);
  --cream: #ebe3d2;
  --gold-light: #c9a96e;
  --gold-deep: #85692f;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --news: "Old Standard TT", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --on-dark: rgba(255, 255, 255, 0.8);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .22  0 0 0 .2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --paper: var(--grain), radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.35), transparent 60%), linear-gradient(160deg, #f2ecdf, #e6dcc6);
  --paper-bright: var(--grain), linear-gradient(160deg, #fbf8f1, #f1e9d9);
}

body {
  background-color: var(--desk);
  background-image: var(--noise), radial-gradient(ellipse at 50% 0%, #2e2822 0%, var(--desk) 60%);
  background-attachment: fixed;
  color: #fff;
  font-family: var(--news);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}
h1, h2, h3, .h1, .h2, .h3 { font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; }
h1, .h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; }
h2, .h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; }
h3, .h3 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.15; }
.eyebrow, .text-link, .btn, .nav-link, .nav-button, .dropdown a, .field label, .field .label,
.article-meta, .card-label, .quote-card__name, .quote-card__role, .faq-group h2, .footer-col h2,
.share-btn, .photo-tag, .byline-name, .field input, .field select, .field textarea, .form-note,
.footer-bottom, .breadcrumbs { font-family: var(--sans); }
.lead { font-family: var(--news); font-size: clamp(19px, 2.2vw, 22px); line-height: 1.6; }
.eyebrow { color: var(--gold-light); letter-spacing: 0.24em; }

/* ---------- Dark desk areas ---------- */
.page-hero, .home-hero, .section--black, .statement-band, .closing-band, .site-footer {
  background: transparent; border: 0; color: #fff;
}
:is(.page-hero, .home-hero, .section--black, .statement-band, .closing-band, .site-footer) :is(h1, h2, h3) { color: #fff; }
:is(.page-hero, .home-hero, .section--black, .statement-band, .closing-band, .site-footer) :is(p, li) { color: var(--on-dark); }
:is(.page-hero, .home-hero, .section--black, .closing-band) .text-link { color: var(--gold-light); }
:is(.page-hero, .home-hero, .section--black, .closing-band) .text-link:hover { color: #fff; }
.section--black + .section--black, .page-hero + .section--black { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Cream paper sections ---------- */
.section--white, .section--cream {
  color: var(--ink);
  background-color: #ebe3d2;
  background-image: var(--grain), linear-gradient(180deg, #ede5d4, #e7dfcd);
  border-block: 3px double rgba(27, 24, 19, 0.4);
}
.section--white + .section--cream, .section--cream + .section--white, .section--cream + .section--cream, .section--white + .section--white { border-top: 0; }
:is(.section--white, .section--cream) :is(h1, h2, h3) { color: var(--ink); }
:is(.section--white, .section--cream) :is(p, li) { color: var(--grey); }
:is(.section--white, .section--cream) .eyebrow { color: var(--gold-deep); }
:is(.section--white, .section--cream) .text-link { color: var(--gold-deep); }
:is(.section--white, .section--cream) .text-link:hover { color: var(--ink); }
:is(.section--white, .section--cream) .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
:is(.section--white, .section--cream) .btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.prose { font-size: 19px; }
.prose blockquote { border-left-color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(20, 18, 16, 0.96);
  background-image: var(--noise);
  border-bottom: 3px double rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.logo { display: flex; flex-direction: column; gap: 5px; }
.logo img { height: 22px; }
@media (min-width: 768px) { .logo img { height: 26px; } }
.logo-tag { font: italic 700 13px/1 var(--serif); color: var(--gold-light); white-space: nowrap; }
@media (min-width: 768px) { .logo-tag { font-size: 14px; } }
.nav-link, .nav-button { color: rgba(255, 255, 255, 0.85); }
.nav-link:hover, .nav-button:hover { color: var(--gold-light); }
.nav-link[aria-current="page"], .nav-button.is-current { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.menu-toggle { color: #fff; }
.dropdown { background: var(--paper); border: 0; border-top: 2px solid var(--ink); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5); }
.dropdown a { color: var(--ink); }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(27, 24, 19, 0.06); color: var(--gold-deep); }
.nav-cta .btn:hover { background: #fff; }

/* ---------- Torn clippings ---------- */
.clip-shadow,
.grid:has(> .card, > .quote-card, > .article-card),
.quotes-masonry, .areas-of-life, .phases, .perf-list, .patterns, .article-list,
.home-hero .split, .article-header {
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
:is(.section--white, .section--cream) :is(.grid, .quotes-masonry, .areas-of-life, .phases, .perf-list, .patterns, .article-list) {
  filter: drop-shadow(0 10px 12px rgba(60, 45, 25, 0.28)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.card, .quote-card, .article-card, .areas-of-life > li, .perf-list > li, .pattern, .route-card,
.home-hero .hero-copy, .article-header > .container {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 0;
}
:is(.section--white, .section--cream) :is(.card, .quote-card, .article-card, .areas-of-life > li, .perf-list > li, .pattern) { background: var(--paper-bright); }
:is(.card, .quote-card, .article-card, .areas-of-life > li, .perf-list > li, .pattern, .home-hero .hero-copy, .article-header > .container) :is(h1, h2, h3, h3 a) { color: var(--ink); }
:is(.card, .quote-card, .article-card, .areas-of-life > li, .perf-list > li, .pattern, .home-hero .hero-copy, .article-header > .container) :is(p, li) { color: var(--grey); }
:is(.card, .quote-card, .article-card, .areas-of-life > li, .perf-list > li) :is(.text-link) { color: var(--gold-deep); }
.grid > :nth-child(3n+1), .areas-of-life > :nth-child(3n+1), .perf-list > :nth-child(3n+1), .quotes-masonry > :nth-child(3n+1) { rotate: -0.8deg; }
.grid > :nth-child(3n+2), .areas-of-life > :nth-child(3n+2), .perf-list > :nth-child(3n+2), .quotes-masonry > :nth-child(3n+2) { rotate: 0.6deg; }
.grid > :nth-child(3n), .areas-of-life > :nth-child(3n), .perf-list > :nth-child(3n), .quotes-masonry > :nth-child(3n) { rotate: -0.3deg; }
/* Tape strip on the first card of each group */
.tape-on::after, .grid > :nth-child(2)::after, .areas-of-life > :nth-child(2)::after, .perf-list > :nth-child(3n+2)::after {
  content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 96px; height: 24px; margin-left: -48px;
  background: rgba(214, 205, 178, 0.75); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); rotate: -3deg; pointer-events: none;
}

/* Wealth / Health / Relationships: three separate clippings, not one panel */
.areas-of-life { background: none; border: 0; gap: 28px; }
.areas-of-life li { padding: 34px 28px 30px; }
.areas-of-life li + li { border: 0; }
.areas-of-life h3 { font-size: 30px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(27, 24, 19, 0.35); }
.areas-of-life p { font-size: 18px; }
.areas-close .prose p { font: italic 700 clamp(22px, 2.6vw, 30px)/1.35 var(--serif); color: var(--ink); }
.section--black .areas-close .prose p { color: #fff; }

/* ---------- Home ---------- */
.home-hero { padding-block: 56px 88px; }
.home-hero .split { align-items: center; }
.home-hero .hero-copy { padding: 40px 36px 38px; }
@media (min-width: 900px) { .home-hero .hero-copy { padding: 52px 52px 48px; rotate: -0.8deg; } }
.home-hero .hero-copy .eyebrow { color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0 7px; margin-bottom: 20px; }
.home-hero h1 { font-size: clamp(40px, 5.6vw, 70px); color: var(--ink); }
.home-hero .lead { color: var(--grey); }
.home-hero .text-link { color: var(--gold-deep); }
.photo-frame { background: #f2ecdf; border: 0; padding: 14px 14px 54px; rotate: 2deg; box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55); }
.photo-tag { left: 0; right: 0; bottom: 16px; background: none; color: var(--ink); text-align: center; font: italic 700 20px/1 var(--serif); letter-spacing: 0; text-transform: none; padding: 0; }
.photo-tag span { color: var(--ink); }
.home-hero .photo-frame::before, .story-photo::before {
  content: ""; position: absolute; z-index: 2; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(214, 205, 178, 0.75); rotate: -4deg; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.statement { font-weight: 900; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.15; }
.statement-band { padding-block: 96px; }
.statement-line { background: var(--gold-light); }
.statement-sub { max-width: 640px; margin: 22px auto 0; text-align: center; font: italic 700 clamp(18px, 2.2vw, 23px)/1.5 var(--serif); color: var(--gold-light) !important; }
.story-photo { position: relative; max-width: 420px; margin-inline: auto; background: #fbf8f1; padding: 14px 14px 18px; rotate: -1.6deg; box-shadow: 0 16px 30px rgba(60, 45, 25, 0.3); }
.story-photo img { width: 100%; height: auto; }
.story-split { align-items: center; }
.home-story .prose p:first-child { font: 700 22px/1.45 var(--serif); color: var(--ink); }
.venn-centre-bg { fill: #f2ecdf; }
.venn-centre { fill: var(--ink); font-weight: 700; }
.venn-label { fill: var(--gold-light); }
.method-list { border-top-color: rgba(255, 255, 255, 0.15); }
.method-list li { border-bottom-color: rgba(255, 255, 255, 0.15); }
.method-list li:hover, .method[data-active] .method-list li[data-part] { border-left-color: var(--gold-light); }
.section--black .card { background: var(--paper); }

/* ---------- Quote cards ---------- */
.quote-card { padding: 30px 28px 26px; }
.quote-card blockquote p { color: var(--ink); font: italic 700 19px/1.5 var(--serif); }
.quote-card figcaption { border-top: 1px solid rgba(27, 24, 19, 0.3); padding-top: 16px; }
.quote-card__photo { border-radius: 50%; filter: grayscale(1); }
.quote-card__name { color: var(--ink); }
.stars svg { fill: var(--gold-deep); }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: 64px 56px; }
@media (min-width: 768px) { .page-hero { padding-block: 96px 80px; } }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); }
.page-hero .lead { color: var(--on-dark); }
.breadcrumbs { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.breadcrumbs li, .breadcrumbs a { color: rgba(255, 255, 255, 0.55); font-family: var(--sans); }
.breadcrumbs [aria-current="page"] { color: rgba(255, 255, 255, 0.85); }
.about-hero h1.about-label { color: var(--gold-light); }
.page-hero .about-opening { font: 900 clamp(40px, 6.4vw, 72px)/1.05 var(--serif); color: #fff; letter-spacing: -0.01em; }
.about-photo img { box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5); }
.story-inline img { background: #fbf8f1; padding: 12px; box-shadow: 0 14px 28px rgba(60, 45, 25, 0.3); rotate: 1.2deg; }
.story-pullquote { border: 0 !important; padding: 26px 0 !important; text-align: center; border-block: 3px double rgba(27, 24, 19, 0.45) !important; }
.story-pullquote p { font: italic 700 clamp(26px, 3.4vw, 36px)/1.25 var(--serif) !important; color: var(--ink) !important; }
.pull-quote p { font-weight: 900; color: #fff; }
.detail-list li strong, .steps li strong { color: var(--ink); }
.phase-num { color: var(--gold-deep); font-family: var(--serif); font-weight: 900; }
.rc-changes .areas-of-life { margin-top: 0; }

/* Performers */
.perf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
@media (min-width: 768px) { .perf-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .perf-list { grid-template-columns: repeat(3, 1fr); } }
.perf-list li { padding: 30px 26px 26px; }
.perf-list h3 { margin-bottom: 10px; }
.perf-list p { font-size: 17px; }

/* FAQs */
.faq-item, .faq-item:first-of-type { border-color: rgba(27, 24, 19, 0.25); }
.faq-q { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.faq-item h3 { font-family: var(--serif); }
.faq-icon::before, .faq-icon::after { background: var(--gold-deep); }

/* Forms on paper */
.field input, .field select, .field textarea { background: #fbf8f1; border-color: rgba(27, 24, 19, 0.45); color: var(--ink); }
.section--black .field label, .closing-band .field label { color: #fff; }

/* Closing band */
.closing-band { padding-block: 80px; border-top: 3px double rgba(255, 255, 255, 0.22); }
.closing-band strong { font-weight: 900; font-size: clamp(28px, 3.8vw, 40px); }

/* ---------- Articles ---------- */
.article-header { padding-block: 56px 72px; }
.article-header > .container { padding: 40px 36px 34px; max-width: 860px; rotate: -0.5deg; }
.article-header > .container::before {
  content: "The Rewired Entrepreneur"; display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0 7px; margin-bottom: 20px;
}
.article-header > .container::after {
  content: ""; position: absolute; top: -12px; left: 60px; width: 110px; height: 28px; background: rgba(214, 205, 178, 0.75); rotate: -5deg;
}
.article-header h1 { color: var(--ink); font-size: clamp(36px, 5.2vw, 62px); }
.article-header .standfirst { color: var(--grey); font-family: var(--news); }
.byline-name { color: var(--ink); }
.byline-title { color: var(--gold-deep); font-style: italic; font-weight: 700; }
.byline-cta { color: var(--gold-deep); }
.byline .headshot { border: 2px solid var(--gold-light); }
.article-body { font-size: 20px; line-height: 1.75; }
.article-body p, .article-body li { color: #2e2820; }
.article-body h2 { font-size: clamp(28px, 3.6vw, 38px); padding-top: 0.8em; border-top: 3px double rgba(27, 24, 19, 0.45); }
.article-body > p:first-child::first-letter { float: left; font: 900 84px/0.8 var(--serif); margin: 8px 12px 0 0; color: var(--gold-deep); }
.author-box { background: var(--paper-bright); border: 0; box-shadow: 0 10px 20px rgba(60, 45, 25, 0.22); }
.share { border-top-color: rgba(27, 24, 19, 0.3); }
.share-btn { background: #fbf8f1; border-color: rgba(27, 24, 19, 0.35); }
.subscribe { background: var(--paper-bright); padding: 34px 30px; box-shadow: 0 10px 20px rgba(60, 45, 25, 0.22); position: relative; }
.subscribe::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(214, 205, 178, 0.8); rotate: 3deg; }

/* Article cards */
.article-card { padding: 14px 14px 0; }
.article-thumb { border: 0; background: #fbf8f1; }
.article-card-body { padding: 18px 10px 22px; }
.article-card h2, .article-card h3 { font-size: 24px; }
.article-card-body .article-meta { color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 600; }

/* Diagrams: drawn by hand on a taped sheet */
.dg { position: relative; background: #fbf8f1; padding: 26px 22px 18px; box-shadow: 0 12px 24px rgba(60, 45, 25, 0.25); rotate: -0.6deg; margin-block: 2.4em; }
.dg::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(214, 205, 178, 0.8); rotate: 2deg; }
.dg:nth-of-type(even) { rotate: 0.7deg; }
.dg svg, .article-thumb svg { filter: url(#np-rough); }
.dg svg text, .article-thumb svg text { font-family: var(--hand) !important; font-weight: 700; letter-spacing: 0 !important; text-transform: none !important; }
.dg .dg-label, .dg .dg-name { font-size: 19px; }
.dg .dg-note { font-size: 16px; }
.dg .dg-word, .dg .dg-chip { font-size: 16px; }
.dg figcaption { font: 700 20px/1.3 var(--hand); color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px double rgba(255, 255, 255, 0.22); }
.footer-brand img { height: 26px; }
.footer-title { color: var(--gold-light); font-style: italic; font-weight: 700; }
.footer-email { color: var(--gold-light); }
.footer-col h2 { color: var(--gold-light); }
.footer-col a { color: rgba(255, 255, 255, 0.85); }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--gold-light); }
.social a { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.15); }
.footer-bottom p, .footer-bottom a, .footer-bottom button, .footer-disclaimer { color: rgba(255, 255, 255, 0.55); }

@media (prefers-reduced-motion: reduce) { * { rotate: none !important; } }
.statement-band .statement { color: #fff; }

/* =====================================================================
   Round 2 (6 Nov): sentence-case buttons, no italics, tape that sits
   across the torn edge, drawn diagrams everywhere, phone menu and hero.
   ===================================================================== */

/* Buttons and text links in sentence case */
.btn, .text-link, .share-btn, .wn-buttons button { text-transform: none; letter-spacing: 0.02em; }
.btn { font-size: 15px; font-weight: 600; padding: 16px 28px; }
.btn--small { font-size: 14px; padding: 11px 18px; }
.text-link { font-size: 15px; letter-spacing: 0.01em; }

/* No italics in headings, quotes or labels */
.quote-card blockquote p { font-style: normal; font-weight: 500; font-family: var(--news); font-size: 19px; line-height: 1.6; }
.statement-sub { font-style: normal; font-family: var(--news); font-weight: 400; }
.areas-close .prose p { font-style: normal; font-weight: 900; }
.story-pullquote p { font-style: normal !important; font-weight: 900 !important; }
.byline-title { font-style: normal; font-weight: 600; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.photo-tag { font-style: normal; font-weight: 900; font-size: 19px; }
.footer-title { display: none; }

/* Tape: the strip sits across the top edge (site.js leaves room for it in the torn edge) */
.tape-on::after, .grid > :nth-child(2)::after, .areas-of-life > :nth-child(2)::after, .perf-list > :nth-child(3n+2)::after { top: -12px; }

/* About: the photo no longer runs into the heading */
.about-photo { background: transparent; padding: 0 0 72px; }
.about-photo .container { max-width: 760px; }
.about-photo img { max-height: 640px; border: 14px solid #f2ecdf; rotate: -1deg; }

/* Phone: headline clipping overlaps the photo, like a collage */
@media (max-width: 899px) {
  .home-hero { padding-block: 28px 64px; }
  .home-hero .split { display: flex; flex-direction: column-reverse; gap: 0; }
  .home-hero .photo-frame { width: 78%; max-width: 330px; margin: 0 0 0 auto; padding: 10px 10px 40px; rotate: 3deg; }
  .home-hero .photo-frame img { aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 18%; }
  .home-hero .photo-tag { bottom: 11px; font-size: 16px; }
  .home-hero .hero-copy { margin-top: -64px; position: relative; z-index: 2; padding: 30px 24px 28px; rotate: -1deg; }
  .home-hero .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .home-hero .hero-actions .text-link { align-self: center; }
}

/* Phone menu: dark desk panel with paper links */
.panel-overlay { background: rgba(0, 0, 0, 0.65); }
.mobile-panel { background-color: var(--desk); background-image: var(--noise), radial-gradient(ellipse at 50% 0%, #2e2822 0%, var(--desk) 70%); color: #fff; border-left: 3px double rgba(255, 255, 255, 0.2); }
.panel-head { border-bottom: 3px double rgba(255, 255, 255, 0.2); }
.panel-head img { height: 24px; }
.panel-close { color: #fff; }
.panel-list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.panel-list a, .panel-list .panel-sub-toggle { color: #fff; font-weight: 900; font-size: 24px; }
.panel-list a[aria-current="page"], .panel-sub-toggle.is-current { color: var(--gold-light); }
.panel-sub { border-left-color: var(--gold-light); }
.panel-sub a { color: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 17px; }
.panel-foot { border-top: 3px double rgba(255, 255, 255, 0.2); }

/* Identity Gap report phone: sits on the desk with a proper frame */
.rp-phone { background: #0b0a09; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.rp-screen { background: #fbf8f1; }
.rp-screen::after { background: linear-gradient(rgba(251, 248, 241, 0), #fbf8f1 75%); }
.rp-screen p, .rp-screen li, .rp-screen span { color: inherit; }
.rp-score, .rp-tier, .rp-row-label { color: var(--ink) !important; }
.rp-name, .rp-denom { color: #6b6863 !important; }
.rp-eyebrow, .rp-label { color: var(--gold-deep) !important; }
.rp-summary { background: #fff; }
@media (max-width: 899px) { .rp-phone { width: 260px; } .assessment-split { justify-items: center; } }

/* ---------- Diagrams drawn by hand, all of them ---------- */
/* Remove the old boxed frames inside the drawings */
.dg svg rect[fill="#f7f5f1"], .filter-graphic svg rect[fill="#f7f5f1"] { fill: transparent; stroke: none; }
.dg svg [fill="#e6e1d8"] { fill: #e9e0cc; }
.dg svg [fill="#0e0e0e"], .filter-graphic svg [fill="#0e0e0e"] { fill: #1b1813; }
.dg svg [fill="#ffffff"], .filter-graphic svg rect[fill="#ffffff"] { fill: #fbf8f1; }
.dg svg [stroke="#e2ddd6"], .filter-graphic svg [stroke="#e2ddd6"], .filter-graphic svg [stroke="#cfc8bd"] { stroke: #1b1813; }
.filter-graphic { position: relative; background: #fbf8f1; padding: 30px 22px 18px; box-shadow: 0 12px 24px rgba(60, 45, 25, 0.25); rotate: 0.6deg; max-width: 560px; }
.filter-graphic::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(214, 205, 178, 0.8); rotate: -2deg; z-index: 2; }
.filter-graphic svg { filter: url(#np-rough); }
.filter-graphic svg text { font-family: var(--hand) !important; font-weight: 700; letter-spacing: 0 !important; }
.filter-graphic .fg-zone { font-size: 26px; }
.filter-graphic .fg-note, .filter-graphic .fg-filter, .filter-graphic .fg-item, .filter-graphic .fg-chip-text { font-size: 16px; }
.filter-graphic figcaption { font: 700 20px/1.3 var(--hand); color: var(--grey); }

/* HTML-built diagrams: steps, told vs asked, what you notice */
.dg :is(.dg-steps, .tva, .wn-grid, .wn-buttons) { filter: url(#np-rough); }
.dg .dg-steps-label { font: 700 24px/1.2 var(--hand); color: var(--ink); }
.dg .dg-steps-num { font: 700 22px/1 var(--hand) !important; background: #fbf8f1 !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; border-radius: 50% !important; }
.dg .dg-steps::before { background: var(--ink); }
.article-body .tva th { font: 700 24px/1.2 var(--hand); color: var(--ink) !important; }
.article-body .tva td { font: 700 21px/1.25 var(--hand); border: 2px solid var(--ink); }
.article-body .tva td:first-child { background: #fbf8f1; color: var(--ink); }
.article-body .tva td:last-child { background: var(--ink); color: #fbf8f1; border-color: var(--ink); }
.article-body .tva td:first-child::after { background: var(--gold-deep); }
.wn-buttons button { font: 700 20px/1 var(--hand); padding: 10px 16px; background: #fbf8f1; color: var(--ink); border: 2px solid var(--ink); }
.wn-buttons button[aria-pressed="true"] { background: var(--ink); color: #fbf8f1; }
.prose .wn-grid li { font: 700 17px/1.15 var(--hand); color: var(--ink); background: #fbf8f1; border: 1.5px solid rgba(27, 24, 19, 0.5); }
[data-level="survival"] .wn-grid li[data-s] { background: #4a433a; border-color: #4a433a; color: #fbf8f1; }
[data-level="certainty"] .wn-grid li[data-c] { background: var(--gold-deep); border-color: var(--gold-deep); color: #fbf8f1; }

/* The Rewire Code: the four phases as hand-drawn circles on a line */
.timeline-line { background: rgba(27, 24, 19, 0.35) !important; }
.timeline-progress { background: var(--ink) !important; }
.phase-num { border-radius: 50% !important; border: 2px solid var(--ink) !important; background: #fbf8f1 !important; box-shadow: none !important; font: 700 26px/1 var(--hand) !important; color: var(--ink) !important; filter: url(#np-rough); }

/* Workplace Audit: light paper sections need dark text (the page body is white text) */
.wa, .wa-results, .wa-intro, .wa-progress { color: var(--ink); background-color: #ebe3d2; background-image: var(--grain), linear-gradient(180deg, #ede5d4, #e7dfcd); }
.wa :is(h1, h2, h3, h4, legend, label, strong), .wa-results :is(h1, h2, h3, h4, strong) { color: var(--ink); }
.wa :is(p, li, span), .wa-results :is(p, li) { color: var(--grey); }
.wa .eyebrow, .wa-results .eyebrow, .wa-sub, .wa-tag, .wa-band { color: var(--gold-deep); }
.wa-sub { font-weight: 700; }
.wa .btn, .wa-results .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.wa .btn:hover, .wa-results .btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.wa-option { background: #fbf8f1; color: var(--ink); border-color: rgba(27, 24, 19, 0.3); font-family: var(--news); font-size: 18px; }
.wa-option[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wa-radio { background: #fbf8f1; }
.wa-radio span { color: var(--ink); }
.wa-back { color: var(--grey); text-transform: none; letter-spacing: 0.02em; font-size: 15px; }
.wa-block, .wa-note { background: #fbf8f1; color: var(--ink); box-shadow: 0 10px 22px rgba(60, 45, 25, 0.16); border-color: rgba(27, 24, 19, 0.15); }
.wa-score-num { font-weight: 900; color: var(--ink); }
.wa-cta-box, .wa-closing { background: var(--desk); }
.wa-cta-box p, .wa-closing p { color: rgba(255, 255, 255, 0.85) !important; }
.wa-closing h3 { color: #fff !important; }
.wa-cta-box .btn, .wa-closing .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.wa-cta-box .btn--outline, .wa-closing .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.wa-bar span { background: var(--ink); }
.wa-bar-row.is-lowest .wa-bar span { background: var(--gold-deep); }

/* Any light box outside the main sections keeps dark, readable text */
.booking-frame, .empty-state, .route-card, .author-box, .subscribe { color: var(--ink); }
.empty-state p, .author-box p, .subscribe p, .subscribe label, .subscribe .field-check label { color: var(--grey); }
.subscribe h2, .author-box h2, .subscribe .field label { color: var(--ink); }
@media (min-width: 768px) { .perf-list.included-list { grid-template-columns: repeat(2, 1fr); max-width: 900px; } }
.rp-name { font-style: normal !important; font-weight: 700; }

/* Phone hero, option B: clipping with a small headshot by the button, then the
   three areas as separate clippings that land one at a time as each comes on screen */
.hero-head, .hero-peek { display: none; }
@media (max-width: 899px) {
  .home-hero { padding-block: 22px 56px; }
  .home-hero .split { display: block; }
  .home-hero .photo-frame { display: none; }
  .home-hero .hero-copy { margin-top: 8px; rotate: -0.8deg; padding: 26px 22px 24px; }
  .home-hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .home-hero .lead { font-size: 17px; margin-top: 14px; }
  .home-hero .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
  .hero-head { display: block; width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--gold-light); flex-shrink: 0; }
  .home-hero .hero-actions .btn { flex: 1; padding: 15px 10px; font-size: 14px; background: var(--ink); border-color: var(--ink); color: #fff; }
  .home-hero .hero-actions .text-link { display: none; }
  .home-hero .hero-copy .eyebrow { letter-spacing: 0.14em; font-size: 10px; }
  .hero-peek { display: grid; gap: 16px; margin: 30px 0 0; }
  .peek-label { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; margin: 0 4px 4px; }
  .peek-card { position: relative; display: block; padding: 16px 20px 18px; text-decoration: none; background: var(--paper); color: var(--ink); box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45); }
  .peek-card b { display: flex; justify-content: space-between; align-items: baseline; font: 900 24px/1.1 var(--serif); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(27, 24, 19, 0.35); }
  .peek-card b::after { content: "Read \2193"; font: 600 12px/1 var(--sans); color: var(--gold-deep); }
  .peek-card span { font-size: 16px; line-height: 1.5; color: var(--grey); }
  .peek-1 { rotate: -1.2deg; } .peek-2 { rotate: 0.9deg; } .peek-3 { rotate: -0.5deg; }
}
/* Each card lands on the desk as it comes on screen */
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .hero-peek.is-armed .peek-card { opacity: 0; translate: 0 -26px; scale: 1.1; transition: opacity 0.35s ease, translate 0.7s cubic-bezier(0.25, 1.25, 0.5, 1), scale 0.7s cubic-bezier(0.25, 1.25, 0.5, 1); }
  .hero-peek.is-armed .peek-card.is-in { opacity: 1; translate: 0 0; scale: 1; }
}
