:root {
  --paper: #e7cf98;
  --cream: #f4dfad;
  --sand: #ddbd80;
  --red: #a51d27;
  --red-light: #ce3033;
  --red-dark: #64121c;
  --gold: #d5a34d;
  --gold-light: #f1d38b;
  --ink: #32130f;
  --muted: #704b38;
  --line: #ae7e3b;
  --serif: Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 5vw, 76px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.58 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:is(a, button, summary, .table-scroll):focus-visible { outline: 3px solid var(--red-dark); outline-offset: 5px; }
.hero a:focus-visible,
.stories :is(a, button):focus-visible,
.table-scroll:focus-visible { outline-color: #efd18d; }
.stories :is(.result-stories, .results) a:focus-visible { outline-color: var(--red-dark); }
.wrap { width: min(100%, 1380px); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; z-index: 10; top: 0; left: 16px; padding: 10px; background: var(--cream); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { border-top: 7px solid var(--red); border-bottom: 1px solid var(--line); background: var(--cream); }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 91px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--red-dark); text-decoration: none; font: 600 19px/1.05 var(--serif); }
.brand-symbol { display: block; width: 84.375px; height: 84.375px; flex: none; object-fit: contain; }
.seal { width: 43px; height: 43px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--red); font: 28px var(--serif); }
nav { display: flex; flex-wrap: wrap; gap: clamp(15px, 2.5vw, 42px); }
nav a, .toplink, .footer>a:last-child { font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover, .toplink:hover, .footer a:hover { text-decoration: underline; }
.toplink { padding: 10px 15px; color: var(--red-dark); border: 1px solid var(--gold); border-radius: 2px; }
.hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 6vw, 100px); padding-block: clamp(48px, 7vw, 100px); }
.hero::before { content: "✦"; position: absolute; top: 23px; right: calc(var(--pad) - 7px); color: var(--gold); font-size: 34px; }
.eyebrow { margin: 0 0 17px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { color: var(--gold); font-size: 1.25em; margin-right: 6px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; }
.hero h1 { color: var(--red-dark); font-size: clamp(3.3rem, 7.3vw, 7.5rem); letter-spacing: -.067em; }
.hero h1 span { color: var(--gold); }
.byline { margin: 24px 0 0; color: var(--red); font-weight: 700; }
.intro { max-width: 47ch; font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.5; }
.hero .intro { border-left: 3px solid var(--gold); padding-left: 18px; }
.button { display: inline-flex; align-items: center; gap: 28px; margin-top: 16px; padding: 13px 24px; background: var(--red); color: white; border: 1px solid var(--red); border-radius: 3px; text-decoration: none; font-size: .91rem; font-weight: 700; }
.button:hover { background: var(--red-dark); }
.hero-image { margin: 0; }
.hero-image :is(img, video) { width: 100%; height: auto; aspect-ratio: .85; object-fit: cover; object-position: center 29%; border-radius: 45% 45% 2px 2px; background: var(--sand); }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 10px; padding-block: 12px 0; color: var(--muted); font-size: .75rem; }
.method { color: var(--cream); background: var(--red-dark); border-top: 8px solid var(--gold); }
.method-grid, .calendar-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 108px); padding-block: clamp(56px, 7vw, 100px); }
.method .eyebrow, .calendar .eyebrow { color: var(--gold-light); }
h2 { font-size: clamp(2.35rem, 5.1vw, 5rem); letter-spacing: -.046em; }
h3 { font-size: clamp(1.9rem, 3.6vw, 3.35rem); letter-spacing: -.035em; }
h4 { font-size: clamp(1.36rem, 2vw, 1.85rem); }
.statement { margin: 0 0 20px; font: clamp(1.4rem, 2.45vw, 2.15rem)/1.27 var(--serif); }
.topics { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 26px 0 0; }
.topics li { padding: 4px 12px; border: 1px solid var(--gold); border-radius: 50px; color: var(--cream); font-size: .78rem; }
.stages { padding-block: clamp(64px, 8vw, 116px); }
.stages>h2 { color: var(--red-dark); }
.stage { min-width: 0; padding: clamp(24px, 3.8vw, 48px); border: 1px solid var(--line); border-top: 4px solid var(--red); background: var(--cream); }
.first { margin: 34px 0 18px; background: var(--sand); border-top-color: var(--gold); }
.stage-head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.stage-head p:last-child { margin-bottom: 0; }
.number { color: var(--red); font: clamp(3.2rem, 7vw, 6.7rem)/.9 var(--serif); letter-spacing: -.08em; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 28px; }
.options>section { display: flex; flex-direction: column; min-width: 0; min-height: 250px; padding: clamp(17px, 2.1vw, 28px); background: var(--cream); border-top: 3px solid var(--red-light); }
.options>section:nth-child(2) { border-top-color: var(--gold); }
.options>section:nth-child(3) { border-top-color: var(--red-dark); }
.options section>p:not(.date) { margin-bottom: 22px; }
.date { display: grid; margin: auto 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--red-dark); }
.date span { color: var(--muted); font-size: .73rem; }
.date time { font-weight: 750; }
.advanced { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.advanced article { display: flex; flex-direction: column; }
.advanced article h3 { color: var(--red-dark); }
.advanced ul { padding-left: 21px; margin-top: 0; }
.advanced li { margin-bottom: 7px; }
.author { background: var(--sand); border-block: 1px solid var(--line); }
.author-grid { display: grid; grid-template-columns: .8fr 1fr .75fr; gap: clamp(25px, 4vw, 58px); align-items: center; padding-block: clamp(54px, 7vw, 95px); }
.author-name h2 { color: var(--red-dark); }
.author-photo { margin: 0; }
.author-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 40%; border-radius: 46% 46% 2px 2px; border: 7px solid var(--cream); outline: 1px solid var(--gold); }
.author-photo figcaption { margin-top: 11px; color: var(--muted); font-size: .74rem; }
.boundary { max-width: 990px; padding-block: clamp(52px, 7vw, 90px); }
.boundary h2 { color: var(--red-dark); font-size: clamp(2.2rem, 4vw, 3.7rem); }
.boundary p:last-child { padding-left: 18px; border-left: 3px solid var(--gold); font-weight: 650; }
.calendar { background: var(--red); color: white; border-top: 8px solid var(--gold); }
.calendar ol { margin: 0; padding: 0; list-style: none; }
.calendar li { display: grid; grid-template-columns: minmax(115px, .4fr) 1fr; gap: 15px; padding: 16px 0; border-bottom: 1px solid #e5a09b; }
.calendar time { color: #fff1c4; font-weight: 800; }
.footer { min-height: 105px; }
.footer>span { color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) { .author-grid { grid-template-columns: 1fr 1fr; } .author-name { grid-column: 1 / -1; } .author-name br { display: none; } }
@media (max-width: 700px) {
  .topbar { flex-wrap: wrap; gap: 12px; padding-block: 13px; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid var(--line); }
  .hero, .method-grid, .calendar-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4.5rem); }
  .hero-image { width: min(100%, 440px); margin-inline: auto; }
  .options, .advanced { grid-template-columns: 1fr; }
  .options>section { min-height: 0; }
  .author-grid { grid-template-columns: 1fr; }
  .author-photo { width: min(75%, 300px); }
  .footer { flex-wrap: wrap; padding-block: 18px; }
  .footer>span { order: 3; width: 100%; }
}
@media (max-width: 390px) { .brand { font-size: 16px; } .toplink { padding: 7px 9px; } .topbar nav a { font-size: 12px; } .stage-head { gap: 12px; } .calendar li { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 390px) {
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .method h2 {
    font-size: clamp(1.85rem, 9.25vw, 2.35rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.comparison { padding-block: clamp(64px, 8vw, 110px); }
.comparison h2 { max-width: 17ch; color: var(--red-dark); }
.comparison .intro { max-width: 75ch; }
.table-scroll { overflow-x: auto; margin-top: 30px; border: 1px solid var(--line); }
.comparison table { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--cream); }
.comparison th, .comparison td { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison thead th { color: white; background: var(--red-dark); font-size: .92rem; }
.comparison thead th:last-child { background: var(--red); }
.comparison tbody th { width: 22%; color: var(--red-dark); font-weight: 750; }
.comparison tbody td { width: 39%; }
.comparison tbody td:last-child { background: #f8ecd9; }
.comparison tbody tr:last-child>* { border-bottom: 0; }
.stories { padding-block: clamp(64px, 8vw, 110px); background: var(--cream); border-top: 1px solid var(--line); }
.stories h2, .stories h3 { color: var(--red-dark); }
.photo-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.photo-pair { margin: 0; min-width: 0; }
.photo-pair>div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.photo-open img { width: 100%; height: clamp(230px, 30vw, 410px); object-fit: cover; object-position: center 30%; transition: transform .2s; }
.photo-open:hover img { transform: scale(1.035); }
.photo-open span { position: absolute; bottom: 10px; left: 10px; padding: 4px 10px; background: var(--cream); color: var(--red-dark); font-size: .75rem; font-weight: 800; }
.photo-pair figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }
.results-head { max-width: 700px; margin-top: clamp(65px, 8vw, 110px); }
.results-head p:last-child { max-width: 65ch; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 27px; }
.results a { display: flex; flex-direction: column; gap: 17px; min-height: 190px; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--gold); color: var(--ink); text-decoration: none; background: var(--paper); }
.results a:hover { border-top-color: var(--red); background: var(--sand); }
.results span { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.results strong { font: 1.45rem/1.17 var(--serif); }
.results small { margin-top: auto; color: var(--red-dark); font-weight: 750; }
.photo-dialog { position: fixed; inset: 0; width: min(94vw, 1000px); max-width: none; max-height: 94vh; padding: 48px 58px 26px; border: 1px solid var(--gold); background: var(--cream); color: var(--ink); }
.photo-dialog::backdrop { background: rgb(30 20 17 / .86); }
.photo-dialog figure { margin: 0; text-align: center; }
.photo-dialog img { width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 115px); margin: auto; object-fit: contain; }
.photo-dialog figcaption { padding-top: 8px; font-size: .85rem; }
.photo-dialog button { position: absolute; border: 0; color: white; background: var(--red-dark); cursor: pointer; }
.photo-dialog button:hover { background: var(--red); }
.photo-close { top: 8px; right: 8px; width: 35px; height: 35px; font-size: 25px; }
.photo-prev, .photo-next { top: 50%; width: 37px; height: 48px; transform: translateY(-50%); font-size: 30px; }
.photo-prev { left: 8px; } .photo-next { right: 8px; }
@media (max-width: 700px) { .photo-pairs, .results { grid-template-columns: 1fr; } .photo-open img { height: clamp(220px, 64vw, 400px); } .photo-dialog { padding: 48px 45px 22px; } }
.symbol-choice { padding-block: clamp(52px, 6vw, 90px); border-top: 1px solid var(--line); }
.symbol-choice-head { display: grid; grid-template-columns: 1fr .75fr; gap: 32px; align-items: end; }
.symbol-choice-head h2 { color: var(--red-dark); font-size: clamp(2.1rem, 4vw, 3.7rem); }
.symbol-choice-head>p { max-width: 48ch; margin: 0; color: var(--muted); }
.symbol-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.symbol-options figure { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--cream); }
.symbol-image { display: grid; place-items: center; min-height: 340px; padding: 25px; background: #fbf6eb; }
.symbol-image img { display: block; width: min(100%, 300px); height: auto; }
.symbol-options figcaption { display: grid; gap: 2px; padding: 17px 22px 21px; border-top: 1px solid var(--line); }
.symbol-options figcaption span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.symbol-options figcaption strong { color: var(--red-dark); font: 1.8rem/1.15 var(--serif); }
.symbol-options figcaption small { color: var(--muted); }
@media (max-width: 700px) { .symbol-choice-head, .symbol-options { grid-template-columns: 1fr; } .symbol-image { min-height: 260px; } .symbol-image img { width: min(100%, 240px); } }
/* Бордовые акценты и золотая кнопка на бежевой основе */
.header { border-top-color: var(--red); background: var(--cream); }
.brand-symbol { filter: drop-shadow(0 2px 2px rgb(74 46 18 / .22)); }
.seal, .author-photo img { border-color: var(--gold); }
.eyebrow, .byline, .toplink { color: var(--red); }
.button { color: #322315; border-color: #9a6a29; background: linear-gradient(130deg, #8c5d24 0%, #e6c77b 29%, #bd8d3d 56%, #f1d78d 78%, #a26f29 100%); box-shadow: inset 0 1px 0 #f8e7b8, 0 4px 12px rgb(85 54 16 / .18); }
.button:hover { color: #25190c; background: linear-gradient(130deg, #9b6b26, #f1d78d 48%, #b88635); }
.method, .calendar { color: var(--cream); background: var(--red-dark); border-top-color: var(--gold); }
.method .eyebrow, .calendar .eyebrow, .calendar time { color: #f4d995; }
.topics li { border-color: var(--gold); color: var(--cream); }
.stage, .options>section, .results a { box-shadow: inset 0 1px 0 rgb(255 246 221 / .7); }
.first { background: var(--sand); }
.options>section { background: var(--cream); }
.author { background: var(--sand); }
.comparison thead th { color: var(--cream); background: var(--red-dark); }
.comparison thead th:last-child { color: var(--cream); background: var(--red); }
.comparison tbody td:last-child { background: #ead7b4; }
.photo-dialog { background: var(--cream); }
.photo-dialog button { color: var(--cream); background: var(--red-dark); }
.photo-dialog button:hover { background: var(--red); }
.calendar li { border-bottom-color: #997971; }
.calendar time { color: #f4d995; }
/* Объёмные золотые линии, знаки и рамки */
:root { --metal-line: linear-gradient(to bottom, #fff1b5 0%, #f3d275 18%, #c99537 48%, #a46c22 76%, #714517 100%); --metal-upright: linear-gradient(to right, #714517 0%, #bf8b34 18%, #ffecaa 43%, #e8bf63 62%, #8a591c 100%); }
.hero::before, .eyebrow span, .hero h1 span { color: #d7ac52; text-shadow: -1px -1px 0 #fff0bf, 1px 1px 0 #87571c, 2px 3px 3px rgb(68 42 15 / .38); }
.hero::before { filter: drop-shadow(2px 3px 2px rgb(58 35 14 / .42)); }
.method, .calendar { position: relative; border-top: 0; }
.method::before, .calendar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 13px; background: var(--metal-line); box-shadow: inset 0 2px 0 #fff6cf, inset 0 -2px 0 #684015, 0 5px 8px rgb(45 25 10 / .38); }
.first { position: relative; border-top: 0; }
.first::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--metal-line); box-shadow: inset 0 1px 0 #fff6cf, inset 0 -1px 0 #70451a, 0 3px 5px rgb(72 43 16 / .34); }
.options>section:nth-child(2) { position: relative; border-top: 0; }
.options>section:nth-child(2)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--metal-line); box-shadow: inset 0 1px 0 #fff6cf, inset 0 -1px 0 #70451a, 0 3px 5px rgb(72 43 16 / .32); }
.results a { position: relative; border-top: 0; }
.results a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--metal-line); box-shadow: inset 0 1px 0 #fff6cf, inset 0 -1px 0 #70451a, 0 3px 5px rgb(72 43 16 / .32); }
.results a:hover::before { background: var(--red); }
.hero .intro, .boundary p:last-child { position: relative; border-left: 0; }
.hero .intro::before, .boundary p:last-child::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 8px; background: var(--metal-upright); box-shadow: inset 1px 0 0 #fff6cf, inset -1px 0 0 #70451a, 3px 3px 6px rgb(77 47 17 / .36); }
.hero-image :is(img, video) { border: 3px solid #c89a46; box-shadow: 0 0 0 1px #75501f, 0 4px 12px rgb(63 37 15 / .28); }
.author-photo img { border: 8px solid #c59848; outline: 1px solid #6f471a; box-shadow: inset 1px 1px 0 #fff2c6, 0 0 0 4px #ebca81, 6px 10px 16px rgb(69 42 17 / .3); }
.photo-open { border: 0; box-shadow: none; }
.toplink, .topics li, .photo-dialog { border-color: #b78637; box-shadow: inset 1px 1px 0 #f5dc9a, 2px 3px 5px rgb(70 42 17 / .2); }
/* Палитра референса: бордовый бархат, тёмные тени и тёплый пергамент */
body { background: var(--paper); }
.header { background: var(--cream); border-top-color: var(--red-dark); border-bottom-color: var(--gold); }
.brand { color: var(--red-dark); }
.hero { color: #f8e7c2; background: radial-gradient(circle at 23% 30%, #8f1d25 0%, #5b0e18 48%, #23090e 100%); box-shadow: inset 0 0 100px rgb(12 4 5 / .23), 0 12px 25px rgb(55 16 14 / .18); }
.hero h1 { color: #f7e5c4; text-shadow: 0 3px 7px rgb(17 2 6 / .3); }
.hero .eyebrow { color: #f1d38b; }
.hero .byline { color: #edc773; }
.hero .intro { color: #f4dfbf; }
.hero-image figcaption { color: #edd6ad; border-bottom-color: #b08040; }
.hero-image :is(img, video) { background: #291418; }
.hero::before { color: #f1cf77; }
.button { color: #fff0d2; border: 1px solid #d64b3b; background: linear-gradient(135deg, #d62329 0%, #a7111d 53%, #790d17 100%); box-shadow: inset 0 1px 0 #f77762, 0 5px 14px rgb(16 2 5 / .35); }
.button:hover { color: #fff4de; background: linear-gradient(135deg, #ed3333, #b51622 65%, #7f0e19); }
.method { background: radial-gradient(circle at 80% 25%, #64121d, #21080d 75%); }
.method .statement, .method p:not(.eyebrow), .method .topics li { color: #f5e3bd; }
.comparison, .stages, .boundary { color: var(--ink); }
.comparison h2, .stages>h2, .boundary h2 { color: var(--red-dark); }
.first { background: #dfbe7c; }
.stage { background: #f3dfad; }
.options>section { background: #f8e8c1; }
.stories { color: #f5e3bd; background: radial-gradient(circle at 14% 20%, #741622, #24090f 75%); border-top-color: var(--gold); }
.stories h2, .stories h3, .results-head p { color: #f5e3bd; }
.stories .eyebrow { color: #f0c873; }
.photo-pair figcaption { color: #ddc7a0; }
.results a { color: var(--ink); background: #f2dcaa; border-color: #bd914d; }
.results a:hover { color: var(--ink); background: #fae9bf; }
.results span, .results small { color: var(--red-dark); }
.author { background: #dcb978; border-block-color: #a97735; }
.author-photo figcaption { color: #5f3920; }
.calendar { background: radial-gradient(circle at 65% 15%, #7a1923, #24090e 80%); }
.footer { border-top: 1px solid var(--gold); }
/* Полная ширина цветных разворотов и чередование светлого с тёмным */
.hero.wrap, .comparison.wrap { width: 100%; max-width: none; padding-inline: max(var(--pad), calc((100vw - 1380px) / 2 + var(--pad))); }
.method { color: var(--ink); background: #f0dfb7; }
.method h2, .method .statement, .method p:not(.eyebrow) { color: var(--ink); }
.method h2 { color: #64121c; }
.method .eyebrow { color: var(--red-dark); }
.method .topics li { color: var(--red-dark); border-color: #a77830; }
.comparison { color: #f5e3bd; background: radial-gradient(circle at 75% 20%, #761824, #25090f 78%); }
.comparison h2 { color: #f8e6c4; }
.comparison .eyebrow { color: #f0c873; }
.comparison .intro { color: #f1ddba; }
.comparison tbody td { color: var(--ink); }
.comparison .table-scroll { box-shadow: 7px 9px 17px rgb(12 3 5 / .35); }
.author { background: var(--paper); border-bottom: 0; }
.boundary { background: var(--paper); }
/* Полированные золотые цилиндры на всех декоративных перекладинах */
:root {
  --metal-line: radial-gradient(ellipse 9% 220% at 18% 12%, rgb(255 255 232 / .78), transparent 72%), radial-gradient(ellipse 7% 240% at 79% 12%, rgb(255 248 200 / .7), transparent 72%), linear-gradient(to bottom, #482306 0%, #a6630e 7%, #e9ad2d 16%, #fff4b8 27%, #fffdf0 34%, #f6d36b 44%, #bd7510 62%, #edb943 76%, #874707 92%, #3d1d05 100%);
  --metal-upright: linear-gradient(to right, #3d1d05 0%, #a2610c 10%, #eebc48 22%, #fff7c5 37%, #fffdf0 44%, #f4ca5c 55%, #ba7310 72%, #e4a932 84%, #633106 100%);
}
.options>section, .advanced article { position: relative; border-top: 0; }
.options>section::before, .options>section:nth-child(2)::before, .advanced article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--metal-line);
  box-shadow: inset 0 1px 0 #fffbe4, inset 0 -2px 0 #694018, 0 4px 7px rgb(57 30 9 / .38);
}
.date { position: relative; border-top: 0; padding-top: 16px; }
.date::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--metal-line); box-shadow: 0 2px 3px rgb(61 35 13 / .24); }
.results a:hover::before { background: var(--metal-line); }
.method::before, .calendar::before, .first::before, .results a::before {
  box-shadow: inset 0 2px 0 #fffbe4, inset 0 -2px 0 #603a14, 0 4px 8px rgb(43 23 7 / .38);
}
.method::before, .calendar::before, .first::before, .options>section::before, .options>section:nth-child(2)::before, .advanced article::before, .results a::before, .date::before {
  border-radius: 999px;
  background: var(--metal-line);
  box-shadow: inset 0 1px 1px #fff9d9, inset 0 -2px 2px #482508, 0 3px 3px rgb(42 21 5 / .43), 0 7px 12px rgb(42 21 5 / .22);
}
.method::before, .calendar::before { height: 16px; }
.first::before, .options>section::before, .options>section:nth-child(2)::before, .advanced article::before, .results a::before { height: 12px; }
.date::before { height: 6px; }
.hero .intro::before, .boundary p:last-child::before {
  width: 12px;
  border-radius: 999px;
  background: var(--metal-upright);
  box-shadow: inset 1px 0 1px #fff9d9, inset -2px 0 2px #482508, 3px 2px 4px rgb(42 21 5 / .42), 6px 5px 10px rgb(42 21 5 / .2);
}
.hero .intro, .boundary p:last-child { padding-left: 24px; }

:root{--paper:#eee2cf;--cream:#f7eddf;--sand:#dec9b3;--red:#842f4c;--red-light:#682d43;--red-dark:#3b1324;--ink:#301a22;--muted:#682d43;--line:#bda383}
body,.boundary,.footer{background:#eee2cf;color:#301a22}
.header{background:#f7eddf;border-top-color:#3b1324}
.brand,.toplink,.eyebrow,.byline{color:#3b1324}
.hero{color:#f8edda;background:radial-gradient(circle at 23% 30%,#682d43 0%,#3b1324 54%,#1d0913 100%)}
.hero h1,.hero .intro,.hero-image figcaption{color:#f8edda}
.hero .eyebrow,.hero .byline{color:#efd18d}
.button{color:#fff5e6;border-color:#d1ab62;background:linear-gradient(135deg,#842f4c,#682d43 45%,#3b1324);box-shadow:inset 0 1px 0 rgb(255 237 190 / .5),0 5px 14px rgb(0 0 0 / .3)}
.button:hover{color:#fff5e6;background:linear-gradient(135deg,#682d43,#842f4c 55%,#3b1324)}
.method{background:#f7eddf;color:#301a22}
.method h2,.method .statement,.method p:not(.eyebrow),.method .topics li{color:#301a22}
.method .eyebrow,.method h2{color:#3b1324}
.comparison{color:#f4e8d4;background:radial-gradient(circle at 75% 20%,#682d43,#3b1324 45%,#1d0913)}
.comparison h2,.comparison .intro{color:#f4e8d4}
.comparison .eyebrow{color:#efd18d}
.comparison thead th{background:#3b1324;color:#f8edda}
.comparison thead th:last-child{background:#682d43;color:#f8edda}
.comparison tbody th,.comparison tbody td{color:#301a22}
.comparison tbody td:last-child{background:#dec9b3}
.stages{background:#eee2cf}
.stages>h2,.advanced article h3,.boundary h2,.author-name h2{color:#3b1324}
.stage,.options>section{background:#f7eddf}
.first{background:#dec9b3}
.stories{color:#f4e8d4;background:radial-gradient(circle at 14% 20%,#682d43,#3b1324 45%,#1d0913)}
.stories h2,.stories h3,.stories .intro,.results-head p{color:#f4e8d4}
.stories .eyebrow{color:#efd18d}
.photo-pair figcaption{color:#e1cfb1}
.results a{background:#f7eddf;color:#301a22;border-color:#bda383}
.results a:hover{background:#eee2cf;color:#301a22}
.results span,.results small{color:#3b1324}
.author{background:#dec9b3;border-block-color:#bda383}
.author-photo figcaption{color:#3b1324}
.calendar{background:radial-gradient(circle at 65% 15%,#682d43,#3b1324 45%,#1d0913)}
.calendar .eyebrow,.calendar time{color:#efd18d}
.photo-dialog{background:#f7eddf}
.photo-dialog button{background:#3b1324;color:#f8edda}
.photo-dialog button:hover{background:#682d43}

.hero .hero-promise { max-width: 47ch; margin: 24px 0 0; font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.5; }
.hero-image :is(img, video) { aspect-ratio: .85; object-position: 68% 29%; border-radius: 45% 45% 2px 2px; }

.stages>.intro { max-width: 72ch; }
.stages .program-goals { margin-top: 18px; padding: clamp(24px, 3.8vw, 48px); background: var(--cream); border-left: 4px solid var(--gold); }
.stages .program-goals h3 { max-width: 22ch; margin-bottom: 18px; color: var(--red-dark); }
.stages .program-goals>p:not(.eyebrow) { max-width: 65ch; margin: 0 0 22px; }
.stages .program-goals ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.stages .program-goals li { padding-top: 12px; border-top: 2px solid var(--gold); color: var(--red-dark); font-weight: 700; }
.stages .choice-intro, .stages .curator-results-title { margin: 26px 0 0; color: var(--red-dark); font-weight: 750; }
.stages .options { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.stages .options>section { min-height: 270px; }
.stages .options .eyebrow { margin-bottom: 10px; font-size: .68rem; }
.stages .advanced { grid-template-columns: 1fr; }
.stages .curator-stage { margin-top: 18px; }
.stages .curator-stage ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 24px 0; padding-left: 21px; }
.stages .curator-stage .date { margin-top: 20px; }
.stages .extra-options { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.stages .extra-options h3 { max-width: 24ch; margin-bottom: 26px; color: var(--red-dark); }
.stages .extra-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stages .extra-cards :is(article, .club-card) { padding: clamp(24px, 3vw, 38px); background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.stages .extra-cards h4 { color: var(--red-dark); }
.stages .extra-cards .club-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.club-card-title { text-decoration: underline; text-underline-offset: .16em; }
.club-card-arrow { display: inline-block; font-family: system-ui, sans-serif; }
.stages .extra-cards .club-card:focus-visible {
  background: #f4dfc0;
  border-color: var(--red-dark);
}
@media (hover: hover) {
  .stages .extra-cards .club-card:hover {
    background: #f4dfc0;
    border-color: var(--red-dark);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .stages .extra-cards .club-card { transition: background-color .16s ease, border-color .16s ease; }
  .club-card-arrow { transition: transform .16s ease; }
  .club-card:focus-visible .club-card-arrow { transform: translate(2px, -2px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .club-card:hover .club-card-arrow { transform: translate(2px, -2px); }
}
.stages .extra-cards p { max-width: 48ch; margin-bottom: 0; }
.author-name h2 { font-size: clamp(2rem, 3vw, 3.1rem); }
@media (max-width: 700px) {
  .stages .options, .stages .curator-stage ul, .stages .extra-cards { grid-template-columns: 1fr; }
  .stages .program-goals ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages .options>section { min-height: 0; }
}

.our-story { padding-block: clamp(64px, 8vw, 110px); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.our-story h2, .our-story h3 { color: var(--red-dark); }
.our-story h2 { max-width: 20ch; }
.our-story .story-lead { max-width: 67ch; margin: 28px 0 0; font: clamp(1.3rem, 2.2vw, 1.85rem)/1.4 var(--serif); }
.story-symptoms { margin-top: 38px; padding: clamp(24px, 4vw, 48px); background: var(--cream); border-top: 4px solid var(--gold); }
.story-symptoms h3, .story-turn h3, .story-today h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.story-voice { margin: 10px 0 20px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.story-symptoms ul { columns: 2; column-gap: clamp(28px, 5vw, 70px); margin: 0; padding-left: 23px; }
.story-symptoms li { break-inside: avoid; margin-bottom: 16px; padding-left: 5px; }
.story-symptoms li::marker { color: var(--red); }
.story-turn { max-width: 950px; margin: clamp(42px, 6vw, 80px) auto; padding: clamp(24px, 4vw, 48px); background: var(--sand); border-left: 6px solid var(--gold); }
.story-turn p, .story-today p { max-width: 75ch; }
.story-decision { margin-top: 28px; color: var(--red-dark); font: clamp(1.35rem, 2.1vw, 1.75rem)/1.4 var(--serif); }
.story-today { max-width: 950px; margin-inline: auto; }
.story-today p:last-child { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--gold); color: var(--red-dark); font-weight: 700; }
@media (max-width: 700px) { .story-symptoms ul { columns: 1; } }

.hero-journey { margin-top: clamp(52px, 7vw, 90px); padding: clamp(26px, 4vw, 54px); background: var(--cream); border: 1px solid var(--line); border-top: 8px solid var(--gold); }
.hero-journey h3 { max-width: 24ch; }
.hero-journey .journey-intro { max-width: 76ch; margin: 22px 0 0; font-size: 1.12rem; }
.journey-steps { margin: 32px 0 0; padding: 0; list-style: none; }
.journey-steps li { display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.journey-steps li>span { color: var(--red); font: 2.3rem/1 var(--serif); }
.journey-steps li>div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 18px; }
.journey-steps h4 { margin: 0; color: var(--red-dark); }
.journey-steps p { max-width: 70ch; margin: 0; }
.journey-invitation { padding: clamp(22px, 3vw, 36px); background: var(--sand); border-left: 4px solid var(--gold); }
.journey-invitation p { max-width: 58ch; margin: 0; color: var(--red-dark); font: clamp(1.3rem, 2vw, 1.7rem)/1.35 var(--serif); }
@media (max-width: 700px) {
  .journey-steps li { grid-template-columns: 40px 1fr; gap: 10px; }
  .journey-steps li>span { font-size: 1.6rem; }
  .journey-steps li>div { display: block; }
  .journey-steps h4 { margin-bottom: 8px; }
}

.photo-pair .photo-open img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.photo-pair figcaption { margin-top: 16px; color: #e1cfb1; font-size: 1rem; line-height: 1.55; }
.photo-pair figcaption strong { display: block; margin-bottom: 7px; color: #f4e8d4; font: 1.5rem/1.2 var(--serif); }
.photo-dialog img { max-height: calc(94vh - 205px); }
.photo-dialog figcaption { max-height: 120px; overflow-y: auto; line-height: 1.45; }

.result-stories { counter-reset: result-story; display: grid; gap: 12px; max-width: 980px; margin: 32px 0 0; padding: 0; list-style: none; }
.result-stories li { counter-increment: result-story; position: relative; min-height: 145px; padding: 22px 28px 23px 105px; background: #f7eddf; color: #301a22; border: 1px solid #bda383; border-top: 5px solid var(--gold); }
.result-stories li::before { content: counter(result-story, decimal-leading-zero); position: absolute; top: 24px; left: 28px; color: var(--red-dark); font: 2.5rem/1 var(--serif); }
.result-format { display: block; margin-bottom: 8px; color: var(--red-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-stories h4 { margin: 0 0 9px; color: var(--red-dark); font: clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--serif); }
.result-stories p { max-width: 78ch; margin: 0; line-height: 1.58; }
.result-stories a { color: var(--red-dark); font-weight: 750; text-underline-offset: 3px; }
@media (max-width: 700px) { .result-stories li { min-height: 0; padding: 21px 20px 22px 75px; } .result-stories li::before { top: 23px; left: 18px; font-size: 1.8rem; } }
.result-proof { margin-top: 18px; border-top: 1px solid #c9b69d; padding-top: 15px; }
.result-proof summary { width: fit-content; color: var(--red-dark); cursor: pointer; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.result-proof[open] summary { margin-bottom: 15px; }
.result-proof a { display: inline-block; max-width: 100%; }
.result-proof img { display: block; width: auto; max-width: 100%; max-height: 640px; border: 1px solid #c9b69d; background: #fff; }
.result-proof span { display: block; max-width: 65ch; margin-top: 12px; font-size: .85rem; line-height: 1.45; }
.result-stories .result-voice { max-width: 75ch; margin-top: 12px; padding-left: 16px; border-left: 3px solid var(--gold); color: var(--red-dark); font: 1.08rem/1.45 var(--serif); }
.result-voice span { font: 700 .75rem/1.4 Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.result-proof-images { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.result-proof-images a { max-width: min(100%, 340px); }
.result-proof-images img { max-height: 520px; }
.results-head { max-width: 980px; }
.results-head .results-title { max-width: 21ch; margin: 0; font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: 1.06; }
.results-head .results-subtitle { max-width: 38ch; margin: 28px 0 0; color: #efd18d; font: clamp(1.45rem, 2.8vw, 2.35rem)/1.2 var(--serif); }
.results-head .results-intro { max-width: 65ch; margin: 18px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; }

.author .wrap { padding-block: clamp(62px, 8vw, 108px); }
.author-title { max-width: 22ch; margin: 0 0 clamp(30px, 5vw, 58px); color: var(--red-dark); }
.author-message-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.author-voices { display: grid; gap: 18px; }
.author-voice { padding: clamp(24px, 3vw, 40px); background: #f7eddf; border-top: 5px solid var(--gold); }
.author-voice h3 { margin: 0 0 18px; color: var(--red-dark); font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.author-voice blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--gold); color: var(--ink); font: clamp(1.1rem, 1.5vw, 1.32rem)/1.55 var(--serif); }
.author-voices .button { justify-self: start; margin-top: 8px; }
.author-message-grid .author-photo { max-width: 420px; }
.author-message-grid .author-photo img { aspect-ratio: 4 / 5; object-position: center 27%; }
.author-message-grid .author-photo figcaption { font-size: .86rem; }
@media (max-width: 900px) { .author-message-grid { grid-template-columns: 1fr; } .author-message-grid .author-photo { width: min(100%, 420px); } }

.reviews-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  max-width: 980px;
  margin: 24px 0 12px;
}
.reviews-controls p { margin: 0; }
.reviews-controls a {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  color: #efd18d;
  font-weight: 750;
  text-underline-offset: 4px;
}
.reviews-window {
  max-width: 980px;
  max-height: 57vh;
  max-height: min(36rem, 57svh);
  overflow-y: auto;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  padding: clamp(8px, 1.5vw, 16px);
  scroll-padding-block: 12px;
  scrollbar-color: #efd18d #3b1324;
  scrollbar-gutter: stable;
}
.reviews-window:focus-visible {
  outline: 3px solid #efd18d;
  outline-offset: 3px;
}
.reviews-window .result-stories { margin: 0; }
@media (max-width: 700px) {
  .reviews-window {
    max-height: 48vh;
    max-height: 48svh;
  }
}

.hero-image video { display: block; max-width: 100%; }
