/* Ted's DIY Plan landers, v2: editorial magazine look under our own masthead ("Wood & Craft").
   Warm workshop palette matched to the offer page. Mobile first, sized for readers 45+. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Hind:wght@600&display=swap");

:root {
  --bg: #fbf7f1;
  --paper: #ffffff;
  --ink: #221a13;
  --body: #3b3129;
  --muted: #7a6c5f;
  --wood: #8a5a2b;
  --wood-soft: #f3e6d3;
  --line: #eadfce;
  --cta: #e8711a;
  --cta-dark: #c75c0d;
  --good: #2f7d4a;
  --bad: #b3261e;
  --shadow: 0 10px 30px rgba(60, 40, 20, .08), 0 2px 6px rgba(60, 40, 20, .06);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 80px; scroll-padding-bottom: 96px; }
html, body { overflow-x: clip; }
a, button, summary { touch-action: manipulation; }
.cta, .opt, .menu summary { -webkit-user-select: none; user-select: none; }
h1, h2, h3, .q { text-wrap: balance; }
p, li { text-wrap: pretty; }
body { margin: 0; background: var(--bg); color: var(--body); font: 1.1875rem/1.7 Poppins, Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--wood); }

/* Reading progress */
.progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--cta); z-index: 50; transition: width .1s linear; }

/* Masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.masthead .in { max-width: 760px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.1875rem/1 Poppins, Arial, sans-serif; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--wood); display: grid; place-items: center; color: #fff; }
.brand .mark svg { width: 20px; height: 20px; }
.adtag { font: 600 0.75rem/1 Poppins, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; border-radius: 999px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }
.kicker { display: inline-block; margin: 30px 0 10px; font: 700 0.8125rem/1 Poppins, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--cta-dark); }
h1, h2, h3 { font-family: Poppins, Arial, sans-serif; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: 2.125rem; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
h2 { font-size: 1.6875rem; line-height: 1.2; margin: 44px 0 12px; font-weight: 800; }
h3 { font-size: 1.3125rem; line-height: 1.3; margin: 0 0 6px; font-weight: 600; }
.dek { font-size: 1.3125rem; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 0.9375rem; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
p { margin: 0 0 18px; }
strong { color: var(--ink); }

/* Figures */
.hero-fig { margin: 0 -20px 26px; }
.hero-fig img { display: block; width: 100%; height: auto; }
figure { margin: 28px 0; }
figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
figcaption { font-size: 1rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--line); }

/* Callouts */
.pull { font: 600 1.5rem/1.4 Poppins, Arial, sans-serif; color: var(--ink); border-left: 5px solid var(--cta); padding: 6px 0 6px 20px; margin: 32px 0; }
.note { background: var(--wood-soft); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.note strong { display: block; font: 700 0.9375rem/1.3 Poppins, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--wood); margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px; text-align: center; }
.fact b { display: block; font: 800 clamp(16px, 4.6vw, 26px)/1.1 Poppins, Arial, sans-serif; color: var(--wood); white-space: nowrap; }
.fact span { font-size: 0.9375rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }

/* Icons */
.ico { width: 22px; height: 22px; color: var(--wood); flex: none; }

/* Cards (listicles) */
.cards { list-style: none; padding: 0; margin: 26px 0; counter-reset: c; }
.card { counter-increment: c; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 18px 0; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.card .badge { width: 64px; height: 64px; border-radius: 14px; background: var(--wood-soft); color: var(--wood); display: grid; place-items: center; position: relative; }
.card .badge svg { width: 38px; height: 38px; }
.card .badge::after { content: counter(c); position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--cta); color: #fff; font: 700 0.875rem/26px Poppins, Arial, sans-serif; text-align: center; }
.card p { margin: 0 0 10px; font-size: 1.125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--wood); background: var(--wood-soft); padding: 5px 10px; border-radius: 999px; }
.chip svg { width: 15px; height: 15px; }
.card.feature { grid-template-columns: 1fr; }
.card.feature .badge { display: none; }
.card.feature img { border-radius: 12px; margin-bottom: 12px; }

/* CTA */
.cta-block { background: var(--ink); color: #f5ede2; border-radius: 22px; padding: 28px 24px; margin: 44px 0 10px; text-align: center; }
.cta-block p { color: #e8dccb; font-size: 1.125rem; }
.cta-block .who { font: 600 0.8125rem/1 Poppins, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #f2c94c; margin-bottom: 12px; }
.cta { display: block; width: 100%; text-align: center; text-decoration: none; background: var(--cta); color: #fff; font: 700 1.3125rem/1.2 Poppins, Arial, sans-serif; padding: 20px 18px; border-radius: 14px; box-shadow: 0 5px 0 var(--cta-dark); transition: transform .08s ease, box-shadow .08s ease; }
.cta:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cta-dark); }
.cta-sub { margin-top: 12px; font-size: 1rem; color: #c9bba8; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-sub span { display: inline-flex; gap: 6px; align-items: center; }
.cta-sub svg { width: 16px; height: 16px; color: #f2c94c; }

/* Sticky mobile CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; z-index: 45; }
.sticky.show { transform: none; visibility: visible; }
.sticky .cta { font-size: 1.1875rem; padding: 15px; box-shadow: 0 4px 0 var(--cta-dark); }

/* Quiz */
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px 20px; margin: 22px 0; }
.quiz .bar { height: 8px; border-radius: 999px; background: var(--wood-soft); overflow: hidden; margin-bottom: 18px; }
.quiz .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cta), #f2a35c); border-radius: 999px; transition: width .35s ease; }
.quiz .step { display: none; animation: fade .3s ease; }
.quiz .step.active { display: block; }
.quiz .count { font: 600 0.875rem/1.3 Poppins, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quiz .q { font: 800 1.5625rem/1.25 Poppins, Arial, sans-serif; color: var(--ink); margin: 0 0 16px; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: 600 1.125rem/1.3 Poppins, Arial, sans-serif; color: var(--ink); padding: 16px 18px; background: var(--bg); border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .08s; }
.opt:focus-visible { border-color: var(--cta); background: #fff; outline: 3px solid var(--cta); outline-offset: 2px; }
.opt:active { transform: scale(.96); }
.opt .ico { width: 30px; height: 30px; }
.result { text-align: left; }
.result .verdict { font: 800 1.375rem/1.3 Poppins, Arial, sans-serif; margin-bottom: 12px; }
.result .verdict.good { color: var(--good); }
.result .verdict.bad { color: var(--bad); }
.result-card { display: grid; grid-template-columns: 72px 1fr; gap: 16px; background: var(--wood-soft); border-radius: 16px; padding: 18px; margin: 10px 0 18px; align-items: center; }
.result-card .badge { width: 72px; height: 72px; border-radius: 16px; background: #fff; color: var(--wood); display: grid; place-items: center; }
.result-card .badge svg { width: 44px; height: 44px; }
.result-card .name { font: 800 1.375rem/1.2 Poppins, Arial, sans-serif; color: var(--ink); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Bridge page */
body.bridge { background: radial-gradient(1200px 600px at 50% -10%, #fff 0%, var(--bg) 60%); }
.bridge .wrap { min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); display: flex; flex-direction: column; justify-content: center; padding-top: 18px; text-align: center; }
.bridge h1 { font-size: 2.25rem; }
.bridge figure { margin: 14px 0 20px; }
.bridge .dek { margin-bottom: 22px; }
.bridge .cta-sub { color: var(--muted); }
.bridge .cta-sub svg { color: var(--wood); }

footer { max-width: 760px; margin: 0 auto; padding: 22px 20px 90px; font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

@media (min-width: 760px) {
  h1 { font-size: 2.875rem; }
  .hero-fig { margin: 0 0 30px; }
  .hero-fig img { border-radius: var(--radius); box-shadow: var(--shadow); }
  .bridge h1 { font-size: 3.125rem; }
  .sticky { display: none; }
}

/* ---------- Site shell: navigation, mobile menu, footer, plain pages ---------- */
.masthead .in { gap: 16px; }
.nav { display: none; gap: 22px; font: 600 0.9375rem/1 Poppins, Arial, sans-serif; }
.nav a { color: var(--body); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.mast-right { display: flex; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-width: 200px; display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font: 600 1rem/1.2 Poppins, Arial, sans-serif; }
.masthead .brand { white-space: nowrap; }

.site-footer { background: #241b14; color: #d9cbb8; margin-top: 30px; border: 0; max-width: none; padding: 0; }
.site-footer .in { max-width: 960px; margin: 0 auto; padding: 40px 20px 100px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .mark { background: var(--cta); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { color: #b9a994; font-size: 0.9375rem; margin: 12px 0 0; max-width: 420px; }
.site-footer h4 { font: 700 0.75rem/1 Poppins, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #f2c94c; margin: 0 0 12px; }
.site-footer .foot-grid a { display: block; color: #e8dccb; text-decoration: none; font-size: 0.9375rem; padding: 5px 0; }
.site-footer .fine { font-size: 0.9375rem; color: #a8987f; border-top: 1px solid #3a2d22; margin: 28px 0 0; padding-top: 18px; }
.site-footer .fine a { color: #d9cbb8; }
.site-footer .copy { font-size: 0.9375rem; color: #a8987f; margin: 12px 0 0; }

.prose { padding-top: 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.home h1 { margin-top: 6px; }
.plain-cards .card { grid-template-columns: 56px 1fr; padding: 16px; }
.plain-cards .badge { width: 56px; height: 56px; }
.plain-cards .badge::after { display: none; }
.plain-cards h3 a { color: var(--ink); text-decoration: none; }
body.bridge .site-footer { margin-top: 0; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .masthead .in { max-width: 960px; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

/* ================= v3: matched to the offer page (feelbetter-today.com/teds-diy-plan) =================
   Poppins everywhere (Hind for nav), body rgb(55,55,55) on white, orange headline rgb(238,71,0),
   navy section bands rgb(18,62,85), cream checklist boxes rgb(255,249,233) with green ticks,
   yellow highlighter <mark>, gold whisper dividers #dab76a, wood-texture hero. */

:root {
  --bg: #ffffff;
  --ink: rgb(25,24,24);
  --body: rgb(55,55,55);
  --muted: #5c5c5c;
  --cta: rgb(238,71,0);
  --cta-dark: rgb(186,52,0);
  --wood: rgb(32,92,118);
  --wood-soft: rgb(255,249,233);
  --line: #e7dcc3;
  --navy: rgb(18,62,85);
  --gold: #dab76a;
  --good: rgb(0,133,29);
}
body { font-family: Poppins, Arial, sans-serif; font-size: 1.1875rem; line-height: 1.65; color: var(--body); background: #fff; }
h1, h2, h3, .pull, .quiz .q, .result-card .name, .fact b, .brand, .result .verdict { font-family: Poppins, Arial, sans-serif; letter-spacing: -0.015em; }
h1 { color: var(--cta); font-weight: 700; line-height: 1.12; }
h2 { font-weight: 600; color: var(--ink); }
h3 { font-weight: 600; }
.kicker { font: 600 1.375rem/1.3 Poppins, Arial, sans-serif; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin: 26px 0 10px; display: block; }
.dek { color: #404040; font-style: italic; }
.masthead { background: #fff; }
.nav { font-family: Hind, Arial, sans-serif; font-weight: 600; font-size: 1.0625rem; }
.brand { font-weight: 700; }
.brand .mark { background: var(--navy); }

/* Wood-texture hero, like the offer page's header */
.wood-hero { background: #efe6da url("offer/retina_wood-main-bg.jpg") repeat; margin: 0 calc(50% - 50vw); padding: 6px calc(50vw - 50%) 26px; border-bottom: 1px solid #e3d6c2; }
.wood-hero .meta-row { border-color: rgba(0,0,0,.08); }

/* Section bands */
.band { margin: 46px calc(50% - 50vw) 26px; padding: 22px calc(50vw - 50%); background: var(--navy); color: #fff; text-align: center; }
.band h2 { color: #fff; margin: 0; font-size: 1.875rem; line-height: 1.25; }
.band.light { background: #e9eef5; }
.band.light h2 { color: rgb(55,55,55); }
.band.green { background: #e6efe5; }
.band.green h2 { color: rgb(55,55,55); }

/* Cream checklist box with green ticks */
.checklist { background: var(--wood-soft); border: 1px solid #e0b26e; border-radius: 4px; padding: 22px 26px 10px; margin: 26px 0; list-style: none; }
.checklist li { background: url("offer/icon.png") left 6px no-repeat; background-size: 24px; padding: 0 0 14px 42px; font-size: 1.125rem; }

mark { margin: 0 -0.3em; padding: 0.05em 0.35em; border-radius: 0.8em 0.3em; background: transparent;
  background-image: linear-gradient(to right, rgba(255,225,0,.1), rgba(255,225,0,.9) 4%, rgba(255,225,0,.4));
  -webkit-box-decoration-break: clone; box-decoration-break: clone; color: inherit; font-weight: 600; }
hr.whisper { border: none; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); width: 60%; margin: 26px auto; }

/* Photos framed like the offer page */
figure img, .photo { border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.hero-fig img { border-radius: 0; }
.float-right { float: right; width: 42%; margin: 4px 0 16px 22px; }
.float-left { float: left; width: 42%; margin: 4px 22px 16px 0; }
.clear { clear: both; }
@media (max-width: 640px) { .float-right, .float-left { float: none; width: 100%; margin: 18px 0; } }

/* "From the desk of" block with Ted's portrait */
.desk { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 18px; margin: 28px 0; }
.desk img.portrait { width: 150px; height: 150px; object-fit: cover; border: 1px solid #ccc; padding: 4px; background: #fff; }
.desk .sig { height: 38px; width: auto; margin: 4px 0; }
.desk .name { font-weight: 700; color: var(--ink); }
.desk .role { font-size: 1rem; font-style: italic; color: #555; }
@media (max-width: 520px) { .desk { grid-template-columns: 1fr; text-align: center; } .desk img.portrait { margin: 0 auto; } }

/* Photo grid of projects */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 24px 0; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; display: block; }
@media (max-width: 520px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cards with photos instead of icons */
.card.photo-card { grid-template-columns: 120px 1fr; }
.card.photo-card .thumb { width: 120px; height: 100px; object-fit: cover; border-radius: 8px; }
.card.photo-card .thumb + div { position: relative; }
@media (max-width: 520px) { .card.photo-card { grid-template-columns: 1fr; } .card.photo-card .thumb { width: 100%; height: 190px; } }

/* CTA box with the product */
.cta-block { background: var(--wood-soft); color: var(--body); border: 2px dashed #e0b26e; border-radius: 6px; }
.cta-block .who { color: var(--navy); }
.cta-block p { color: var(--body); }
.cta-block .product { width: 200px; max-width: 60%; margin: 4px auto 12px; display: block; box-shadow: none; }
.cta { font-family: Poppins, Arial, sans-serif; font-weight: 700; background: linear-gradient(var(--cta), rgb(214,60,0)); }
.cta-sub { color: var(--muted); }
.cta-sub svg { color: var(--good); }
.site-footer { background: rgb(45,45,45); }
.site-footer h4 { color: var(--gold); }
.quiz .bar i { background: linear-gradient(90deg, var(--cta), #ff9a4d); }
.pull { border-left-color: var(--gold); font-weight: 600; font-style: italic; color: rgb(55,55,55); }
.fact b { color: var(--navy); }
.note { background: #f2f6f9; border-left: 4px solid var(--navy); border-radius: 4px; }
.note strong { color: var(--navy); }
body.bridge { background: #efe6da url("offer/retina_wood-main-bg.jpg") repeat; }
figure img { max-height: 540px; width: auto; max-width: 100%; margin: 0 auto; }
figure { text-align: center; }
figure figcaption { text-align: left; }
.checklist { clear: both; }

/* Video teaser: mirrors the offer page's VSL player (blue play button, black subtitle bar). Curiosity, not product. */
.video-teaser { position: relative; display: block; max-width: 480px; margin: 8px auto 18px; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.18); text-decoration: none; }
.video-teaser img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; max-height: none; border-radius: 0; box-shadow: none; }
.video-teaser .play { position: absolute; left: 50%; top: 44%; width: 74px; height: 52px; transform: translate(-50%, -50%); background: rgb(61,83,196); border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .15s; }
.video-teaser .play::after { content: ""; position: absolute; left: 30px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-teaser .vt-sub { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.88); color: #fff; font: 600 1rem/1.3 Poppins, Arial, sans-serif; padding: 9px 12px; text-align: center; }

/* Hover only where a real hover exists: on touch, :hover sticks after a tap. */
@media (hover: hover) and (pointer: fine) {
  .cta:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--cta-dark); }
  .opt:hover { border-color: var(--cta); background: #fff; }
  .nav a:hover { color: var(--ink); border-bottom-color: var(--cta); }
  .menu-panel a:hover { background: var(--wood-soft); }
  .site-footer .foot-grid a:hover { color: #fff; text-decoration: underline; }
  .plain-cards h3 a:hover { color: var(--cta-dark); }
  .video-teaser:hover .play { transform: translate(-50%, -50%) scale(1.08); }
}

/* Reduced motion: no slides, scales or smooth scrolling; state changes stay instant. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-property: opacity, background-color, border-color, color !important; scroll-behavior: auto !important; }
  .cta:hover, .cta:active, .opt:active { transform: none; }
  .video-teaser:hover .play { transform: translate(-50%, -50%); }
  .sticky { transform: none; opacity: 0; }
  .sticky.show { opacity: 1; }
}

/* Quiz answers read as buttons: cream card with the checklist's tan border (the old #e7dcc3 on white was 1.4:1). */
.opt { background: var(--wood-soft); border-color: #e0b26e; }

/* Narrow phones: the one-line brand pushed the Advertorial label and the menu button off screen at 320px. */
@media (max-width: 420px) {
  .masthead .in { padding: 10px 16px; gap: 10px; }
  .masthead .brand { white-space: normal; font-size: 1rem; line-height: 1.1; gap: 8px; }
  .mast-right { gap: 8px; }
  .adtag { letter-spacing: .06em; padding: 6px 7px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-fig { margin-left: -16px; margin-right: -16px; }
}
@media (max-width: 359px) {
  .masthead .brand .mark { display: none; }
}

/* Footer brand: ".site-footer .foot-grid a" turned it into a small block link with the mark stacked above the name. */
.site-footer .foot-grid a.brand { display: inline-flex; font-size: 1.1875rem; padding: 0; text-decoration: none; }

/* Byline: mark + two short lines on a solid panel so it reads on the wood texture.
   The Sponsored chip sits above the kicker (same place on every lander type). */
.byline { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 12px 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; width: fit-content; max-width: 100%; }
.by-mark { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.by-mark svg { width: 22px; height: 22px; }
.by-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.by-text b { font-weight: 600; font-size: 1rem; color: #1f1f1f; }
.by-sub { font-size: 0.9375rem; color: #4a4a4a; }
.sponsored { display: block; width: fit-content; font: 600 0.75rem/1 Poppins, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #555; background: #efe9dd; border-radius: 999px; padding: 6px 10px; margin: 0 0 14px; }
main.wrap > .sponsored.solo { margin-left: auto; margin-right: auto; }
.sponsored { background: #fff; border: 1px solid rgba(0,0,0,.08); }
.wood-hero > .sponsored.solo:first-child { margin-top: 16px; }

/* Listicle cards that open the offer like a CTA: the whole card is one link. */
.card.linked { display: block; padding: 0; }
.card-link { display: grid; grid-template-columns: inherit; gap: 16px; align-items: start; padding: 20px; color: inherit; text-decoration: none; border-radius: inherit; -webkit-tap-highlight-color: transparent; }
.card-link:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.card-link:active { transform: scale(.99); }
.card-go { display: inline-block; margin-top: 2px; font: 600 1.0625rem/1.3 Poppins, Arial, sans-serif; color: rgb(214,60,0); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .card.linked:hover { border-color: rgb(238,71,0); }
  .card-link:hover h3 { color: rgb(214,60,0); }
}
@media (prefers-reduced-motion: reduce) { .card-link:active { transform: none; } }

/* Logo mark: warm cedar tile with a little backyard shed (header, footer, byline). */
.brand .mark, .site-footer .brand .mark, .by-mark { background: linear-gradient(145deg, #d9893b 0%, #a85a24 100%); color: #fff8ec; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.brand .mark { border-radius: 9px; }
.brand .mark { width: 36px; height: 36px; }
.brand .mark svg { width: 26px; height: 26px; }
.by-mark svg { width: 26px; height: 26px; }

/* ================= v4: congruence pass against the offer page (2026-10-21) =================
   Offer spec: Poppins; orange headline rgb(238,71,0) centered on the wood-texture header; buttons with
   small 2 to 4px corners (orange #EC5004 with a 1px darker border and a faint text shadow); feature boxes
   radius 8px with a 2px dashed rgb(201,201,201) border; light-blue title panel rgb(235,240,248) r11;
   the VSL sits flat on the wood texture (no frame), blue square play button, black subtitle bar. */

/* Hero: centered like the offer's first screen. */
.wood-hero { text-align: center; }
.wood-hero .byline { margin-left: auto; margin-right: auto; text-align: left; }
.wood-hero .dek { margin-left: auto; margin-right: auto; max-width: 34em; }

/* Buttons: the offer's orange button shape (square-ish corners, flat, soft drop shadow). */
.cta { background: linear-gradient(rgb(236,80,4), rgb(214,60,0)); border: 1px solid rgb(180,40,0); border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,.18); text-shadow: 0 1px 0 rgba(0,0,0,.15); min-height: 60px; }
.cta:active { transform: translateY(1px); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sticky .cta { box-shadow: 0 2px 6px rgba(0,0,0,.18); min-height: 54px; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { transform: none; background: linear-gradient(rgb(247,104,0), rgb(226,66,0)); box-shadow: 0 3px 8px rgba(0,0,0,.18); }
}

/* Last screen = the offer's first screen: wood texture, a plain "Hit play" style line, the player flat and full width. */
.cta-block { background: #efe6da url("offer/retina_wood-main-bg.jpg") repeat; border: 0; border-radius: 0;
  margin: 44px calc(50% - 50vw) 0; padding: 30px calc(50vw - 50% + 0px) 34px; }
.cta-block > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-block .who { font: 600 1.0625rem/1.4 Poppins, Arial, sans-serif; letter-spacing: 0; text-transform: none; color: rgb(25,24,24); }
.cta-block .who::before { content: "("; } .cta-block .who::after { content: ")"; }
.quiz .cta-block, .result .cta-block { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
.video-teaser { max-width: 720px; border-radius: 0; box-shadow: 0 2px 10px rgba(0,0,0,.18); background: #000; }
.video-teaser .play { top: 44%; width: 84px; height: 56px; border-radius: 0; background: rgb(57,73,171); box-shadow: none; }
.video-teaser .play::after { left: 34px; top: 17px; }
.video-teaser .vt-sub { background: #000; font: 600 1.0625rem/1.3 "Source Sans 3", "Segoe UI", Arial, sans-serif; padding: 8px 12px; }
.cta-block .cta-sub { color: #4a4a4a; }

/* Bridge (one screen): teaser on the same wood as the offer's header. */
.bridge .video-teaser { margin: 14px auto 18px; }

/* Listicle cards = the offer's feature boxes (dashed border, 8px corners, no floating shadow). */
.card { border: 2px dashed rgb(201,201,201); border-radius: 8px; box-shadow: none; }
.card.photo-card .thumb, .card.feature img { border-radius: 3px; }
@media (hover: hover) and (pointer: fine) { .card.linked:hover { border-color: rgb(236,80,4); } }

/* Quiz panel and fact tiles: the same quiet box language. */
.quiz { border-radius: 8px; border: 2px dashed rgb(201,201,201); box-shadow: none; }
.opt { border-radius: 6px; }
.fact { border-radius: 6px; }

/* Callouts: the offer's light-blue title panel, and its centered italic one-liners. */
.note { background: rgb(235,240,248); border-left: 0; border-radius: 11px; }
.pull { border-left: 0; padding: 0; text-align: center; font-weight: 700; color: rgb(55,55,55); }
.pull::before { content: ""; display: block; width: 40%; height: 3px; margin: 0 auto 14px; background: var(--gold); }

/* Ted's card: the offer frames his portrait with a thin grey border and white mat. */
.desk img.portrait { border: 1px solid #ccc; border-radius: 2px; padding: 5px; }
.video-teaser img { height: auto; }
/* When the article ends on the wood CTA band, let it run straight into the footer (no white strip). */
main.wrap:has(> .cta-block:last-child) { padding-bottom: 0; }
main.wrap > .cta-block:last-child { margin-bottom: 0; }
main.wrap:has(> .cta-block:last-child) ~ .site-footer { margin-top: 0; }
