/* The Solo Agent Coach website. Same brand as the Instagram carousel (tan / cream / espresso, Bodoni Moda + Lato),
   but its own editorial layout: long-form chapters, timelines, stats with sources, the scorecard.
   Rule from Thomas: no two neighbouring sections share a background. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../assets/fonts/BodoniModa-400_900.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../assets/fonts/BodoniModa-400_900i.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/Lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url(../assets/fonts/Lato-400i.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/Lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/SpecialElite-400.woff2) format('woff2'); }
@font-face { font-family: 'Nothing You Could Do'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/NothingYouCouldDo-400.woff2) format('woff2'); }

:root {
  --tan: #D8BFAF;
  --cream: #F3ECE3;
  --ivory: #F8F3EC;
  --espresso: #2A211B;
  --ink: #2E231C;
  --taupe: #77706A;
  --line: rgba(46, 35, 28, .22);
  --serif: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --type: 'Special Elite', 'Courier New', monospace;
  --sig: 'Nothing You Could Do', cursive;
  --wrap: min(1200px, 100% - 2 * clamp(20px, 5vw, 60px));
  --pad: clamp(76px, 10vw, 136px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { position: relative; font-family: var(--sans); font-size: clamp(17px, 1.08vw, 19px); line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: 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 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { display: none !important; }

/* long-form text pages (privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 44px 0 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 10px; }
.prose ul + p { margin-top: 14px; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* backgrounds */
.bg-tan { background: var(--tan); color: var(--ink); }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-espresso { background: var(--espresso); color: var(--ivory); --line: rgba(248, 243, 236, .24); }
.bg-taupe { background: var(--taupe); color: var(--ivory); --line: rgba(248, 243, 236, .3); }
section { position: relative; padding-block: var(--pad); }

/* type */
h1, h2, h3, h4 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; line-height: 1.04; letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em, h3 em, h4 em { font-weight: 400; }
h1 { font-size: clamp(50px, 6.6vw, 104px); }
h2 { font-size: clamp(38px, 4.6vw, 70px); }
h3 { font-size: clamp(24px, 2.1vw, 31px); line-height: 1.16; }
h4 { font-size: 22px; font-style: italic; font-weight: 400; }
p + p { margin-top: 1em; }
.lead { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.6; max-width: 36em; }
.label { font-family: var(--type); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; opacity: .8; }
.sig { font-family: var(--sig); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { max-width: 30em; }

/* header */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; background: inherit; }
.brand { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.6vw, 25px); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.brand em { font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a { text-decoration: none; font-size: 15px; letter-spacing: .03em; padding-block: 6px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-nav .cta-pill { padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; }
.site-nav .cta-pill:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.bg-espresso .site-nav .cta-pill:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; background: var(--espresso); color: var(--ivory); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--espresso); transition: background .2s, color .2s; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: transparent; color: var(--ink); }
.bg-espresso .btn, .bg-taupe .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.bg-espresso .btn:hover, .bg-taupe .btn:hover { background: transparent; color: var(--ivory); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 38px; }

/* framed photo with an offset outline */
.frame { position: relative; }
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid currentColor; opacity: .45; }
.frame.left::before { inset: 22px 22px -22px -22px; }

/* hero */
.hero { padding-top: clamp(30px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-grid .frame { aspect-ratio: 4 / 5; width: min(100%, 520px); justify-self: end; }
.hero h1 { margin-bottom: 28px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 76px); line-height: 1; }
.stat .t { margin-top: 14px; font-size: 16px; line-height: 1.45; }
.stat .src { margin-top: 10px; font-family: var(--type); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* three paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 56px); }
.path { border-top: 1.5px solid currentColor; padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.path .num { font-family: var(--serif); font-style: italic; font-size: 26px; }
.path p { flex: 1; }

/* chapter cards */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 2.8vw, 44px) clamp(18px, 2vw, 30px); }
.chapters > * { min-width: 0; }
.chapters .card { text-decoration: none; display: block; }
.chapters .card .img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; }
.chapters .card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.chapters .card:hover img { transform: scale(1.04); }
.chapters .card .n { font-family: var(--type); font-size: 13px; letter-spacing: .1em; opacity: .75; }
.chapters .card h3 { margin: 6px 0 8px; }
.chapters .card p { font-size: 16px; line-height: 1.5; opacity: .85; }
.chapters .card.more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 30px; border: 1.5px solid currentColor; }
.chapters .card.more h3 { margin: 0; }

/* split: photo + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.split .frame { aspect-ratio: 4 / 5; width: min(100%, 500px); }
.split.flip > .frame { order: 2; justify-self: end; }

/* big quote */
.bigquote { max-width: 980px; margin-inline: auto; text-align: center; }
.bigquote blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.18; text-wrap: balance; }
.bigquote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--type); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---------- playbook ---------- */
.contents { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(36px, 5vw, 80px); margin-top: 48px; }
.contents li { border-top: 1px solid var(--line); }
.contents a { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 18px 0; text-decoration: none; }
.contents .n { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.1; grid-row: span 2; }
.contents .t { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.contents .d { font-size: 15.5px; opacity: .78; }
.contents a:hover .t { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.chapter-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.chapter-grid.flip { grid-template-columns: 7fr 5fr; }
.chapter-grid.flip > .ch-media { order: 2; }
.ch-media { position: sticky; top: 28px; }
.ch-media .frame { aspect-ratio: 4 / 5; }
.ch-num { font-family: var(--serif); font-weight: 500; font-size: clamp(90px, 11vw, 170px); line-height: .82; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .6; margin-bottom: 8px; }
.ch-body h2 { margin-bottom: 26px; }
.ch-body .lede { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 27px); line-height: 1.45; margin-bottom: 28px; }
.ch-body h3 { margin: 40px 0 16px; font-size: 25px; }
.ch-body ul.points { list-style: none; display: grid; gap: 14px; }
.ch-body p + ul.points { margin-top: 16px; }
.ch-body ul.points + p, .ch-body .inline-fig + p, .ch-body .result + p { margin-top: 22px; }
.ch-body ul.points li { position: relative; padding-left: 26px; }
.ch-body ul.points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1.5px; background: currentColor; }
.pull { margin: 38px 0; padding: 4px 0 4px 26px; border-left: 2px solid currentColor; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.35; }
.pull cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--type); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.result { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin: 34px 0; padding: 26px 28px; border: 1.5px solid currentColor; }
.result .n { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); line-height: .9; }
.result .src { display: block; margin-top: 6px; font-family: var(--type); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.try { margin-top: 40px; padding: 30px 32px 28px; background: rgba(255, 255, 255, .42); }
.bg-espresso .try, .bg-taupe .try { background: rgba(248, 243, 236, .08); }
.try h4 { margin-bottom: 14px; }
.try ol { padding-left: 22px; display: grid; gap: 10px; }
.inline-fig { margin: 34px 0; display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; }
.inline-fig img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.inline-fig figcaption { font-size: 15.5px; opacity: .82; }
.sources-list { font-size: 15px; line-height: 1.6; display: grid; gap: 10px; max-width: 60em; }
.sources-list li { margin-left: 18px; }

/* ---------- story timeline ---------- */
.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: 0 54px; padding: 26px 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 175px; top: 40px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.tl .yr { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; padding-right: 30px; text-align: right; }
.tl h3 { margin-bottom: 10px; }
.tl .src { display: block; margin-top: 10px; font-family: var(--type); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .68; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3vw, 46px); }
.value { padding: 34px 34px 30px; border: 1.5px solid currentColor; }
.value blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.1vw, 31px); line-height: 1.28; }
.value p { margin-top: 16px; font-size: 16px; opacity: .85; }
.value cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--type); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.duo img:last-child { margin-top: 60px; }

/* ---------- coaching ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
.profile { padding-top: 24px; border-top: 1.5px solid currentColor; }
.profile h3 { margin-bottom: 12px; }
.areas { list-style: none; }
.areas li { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.areas li:last-child { border-bottom: 1px solid var(--line); }
.areas .n { font-family: var(--serif); font-style: italic; font-size: 26px; }
.areas h3 { font-size: 24px; margin-bottom: 4px; }
.areas p { font-size: 16px; opacity: .85; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 46px); counter-reset: st; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 60px; line-height: 1; opacity: .5; }
.step h3 { margin-bottom: 10px; }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(21px, 1.7vw, 25px); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; max-width: 46em; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.form input, .form select, .form textarea { font: inherit; font-size: 17px; font-weight: 400; text-transform: none; letter-spacing: 0; padding: 15px 16px; border: 1px solid rgba(46, 35, 28, .35); background: rgba(255, 255, 255, .55); color: var(--ink); border-radius: 0; }
.form textarea { min-height: 130px; resize: vertical; }
.bg-espresso .form input, .bg-espresso .form select, .bg-espresso .form textarea { background: rgba(248, 243, 236, .06); border-color: rgba(248, 243, 236, .35); color: var(--ivory); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form fieldset { border: 0; display: grid; gap: 10px; min-width: 0; }
.form legend { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checks label { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.checks input { width: 18px; height: 18px; accent-color: var(--espresso); padding: 0; }
.form-note { font-family: var(--serif); font-style: italic; font-size: 20px; min-height: 1.3em; margin-top: 10px; }
.inline-form { display: flex; max-width: 560px; margin-top: 32px; }
.inline-form input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 17px 18px; border: 1px solid rgba(248, 243, 236, .4); border-right: 0; background: rgba(248, 243, 236, .06); color: var(--ivory); }
.fine { font-size: 14px; opacity: .72; margin-top: 12px; }
.bg-cream .inline-form input, .bg-tan .inline-form input { border-color: rgba(46, 35, 28, .35); background: rgba(255, 255, 255, .55); color: var(--ink); }
.bg-cream .inline-form input::placeholder, .bg-tan .inline-form input::placeholder { color: rgba(46, 35, 28, .55); }

/* ---------- scorecard ---------- */
.quiz { display: grid; counter-reset: q; }
fieldset.q { border: 0; border-top: 1px solid var(--line); min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; padding: 24px 0; }
fieldset.q:last-of-type { border-bottom: 1px solid var(--line); }
.q legend { float: left; padding: 0; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.5; }
.q legend::before { counter-increment: q; content: counter(q, decimal-leading-zero); display: inline-block; width: 44px; font-family: var(--serif); font-style: italic; opacity: .7; }
.q .area { display: block; margin: 4px 0 0 44px; font-family: var(--type); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .62; }
.scale { display: flex; align-items: center; gap: 6px; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale label { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(46, 35, 28, .4); border-radius: 50%; cursor: pointer; font-weight: 700; font-size: 15px; transition: background .15s, color .15s; }
.scale label:hover { border-color: var(--ink); }
.scale input:checked + label { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.scale input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.scale .end { font-size: 13px; opacity: .7; width: 58px; }
.scale .end:first-child { text-align: right; }
.quiz-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 34px; }
.progress { font-family: var(--type); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.results[hidden] { display: none; }
.bars { display: grid; gap: 18px; margin: 36px 0 10px; }
.bar { display: grid; grid-template-columns: 170px 1fr 54px; gap: 18px; align-items: center; }
.bar .name { font-family: var(--serif); font-size: 21px; }
.bar .track { height: 12px; background: rgba(248, 243, 236, .16); position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--ivory); width: 0; transition: width .8s ease; }
.bar .pct { text-align: right; font-weight: 700; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); margin-top: 44px; }
.verdict > div { padding: 28px 30px; border: 1.5px solid currentColor; }
.verdict h3 { margin: 8px 0 10px; }

/* footer */
.site-footer { padding-block: 72px 44px; }
.site-footer .wrap { display: grid; gap: 34px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-end; }
.footer-top .brand { font-size: clamp(30px, 3.2vw, 44px); white-space: normal; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-nav a { text-decoration: none; font-size: 15px; letter-spacing: .03em; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal { font-size: 13.5px; opacity: .72; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .chapter-grid, .chapter-grid.flip, .values, .verdict { grid-template-columns: 1fr; }
  .hero-grid .frame, .split .frame { justify-self: start; width: min(88%, 460px); }
  .split.flip > .frame, .chapter-grid.flip > .ch-media { order: 0; }
  .ch-media { position: static; max-width: 460px; }
  .paths, .profiles, .steps { grid-template-columns: 1fr; }
  .contents { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px clamp(20px, 5vw, 60px) 26px; background: inherit; display: none; box-shadow: 0 18px 30px rgba(20, 14, 10, .18); }
  .site-header.open .site-nav { display: flex; }
  .site-nav .cta-pill { margin-top: 8px; }
  .menu-btn { display: block; }
  .timeline::before { left: 6px; }
  .tl { grid-template-columns: 1fr; padding-left: 34px; }
  .tl::before { left: 1px; top: 34px; }
  .tl .yr { text-align: left; padding: 0 0 6px; }
  fieldset.q { grid-template-columns: 1fr; }
  .scale .end { display: none; }
  .scale { justify-content: space-between; }
  .bar { grid-template-columns: 110px 1fr 46px; }
  .bar .name { font-size: 18px; }
  .inline-fig { grid-template-columns: 1fr; }
  .inline-fig img { max-width: 260px; }
  .form .row2, .checks { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form input { border-right-width: 1px; border-right-style: solid; }
  .areas li { grid-template-columns: 44px 1fr; }
  .areas li .link { grid-column: 2; }
  .duo img:last-child { margin-top: 30px; }
  .frame::before { inset: 14px -14px -14px 14px; }
  .frame.left::before { inset: 14px 14px -14px -14px; }
}
@media (max-width: 560px) {
  .chapters { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
}
