@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0077B6;
  --primary-dark: #005a8c;
  --primary-deep: #03324d;
  --secondary: #90E0EF;
  --secondary-soft: #e3f7fb;
  --brass: #b9791a;
  --brass-soft: #fbf0dc;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --ink: #12263a;
  --ink-soft: #4a5d70;
  --line: #e4dfd3;
  --ok: #1f8a4c;
  --warn: #b3541e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(3, 50, 77, .10);
  --shadow-sm: 0 3px 10px rgba(3, 50, 77, .08);
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 72px; --s8: 104px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--primary-deep); margin: 0 0 var(--s3); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 var(--s3); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--s3); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: var(--s7); }
.section-alt { background: var(--secondary-soft); }
.section-deep { background: var(--primary-deep); color: #e8f4fa; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(0, 119, 182, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--secondary); color: var(--primary-deep); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--primary-deep); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand:hover { color: var(--primary); }
.nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--primary-deep); }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 10px; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--secondary-soft); color: var(--primary-dark); }
.nav-links.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); padding: var(--s3); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-cta { margin-top: var(--s2); }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .nav-cta { margin: 0 0 0 var(--s2); }
  .nav-cta a, .nav-cta a:hover { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 999px; }
  .nav-cta a:hover { background: var(--primary-dark); }
}

/* Hero */
.hero { padding-block: var(--s6) var(--s7); background: radial-gradient(1000px 420px at 85% -10%, var(--secondary-soft), transparent 70%), var(--cream); }
.hero-grid { display: grid; gap: var(--s5); align-items: center; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px 28px 120px 28px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-badge { position: absolute; left: -8px; bottom: -22px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 280px; font-size: .9rem; line-height: 1.35; }
.hero-badge strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); line-height: 1; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s6); } }
.page-hero { padding-block: var(--s6) var(--s5); background: linear-gradient(180deg, var(--secondary-soft), var(--cream)); }

/* Breadcrumb */
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: var(--s3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--brass); }
.crumbs a { color: var(--ink-soft); }

/* Cards */
.grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: var(--s2); }
.card .icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--secondary-soft); color: var(--primary); border-radius: 14px; margin-bottom: var(--s3); }
.path-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.path-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.path-card .body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.path-card .tag { align-self: flex-start; background: var(--brass-soft); color: var(--brass); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.lesson-card { display: flex; gap: var(--s3); align-items: flex-start; text-decoration: none; color: inherit; }
.lesson-card .num { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; }
.lesson-card h3 { margin-bottom: 4px; color: var(--primary-deep); }
.lesson-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--secondary-soft); color: var(--primary-deep); border-radius: 999px; font-size: .8rem; font-weight: 600; padding: 4px 12px; }
.pill.brass { background: var(--brass-soft); color: var(--brass); }

/* Split (Z-pattern) */
.split { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s6); } .split.reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.check-list { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.check-list.no li::before { content: "✕"; background: var(--warn); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s3); }
.timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s3) var(--s3) 76px; counter-increment: step; }
.timeline li::before { content: counter(step); position: absolute; left: var(--s3); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.timeline strong { display: block; color: var(--primary-deep); font-family: var(--font-head); font-size: 1.1rem; }
.timeline span { color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr); } .timeline li { padding: 70px var(--s3) var(--s3); text-align: center; } .timeline li::before { left: 50%; top: 18px; transform: translateX(-50%); } }

/* Tablature */
.tab-block { margin: var(--s4) 0; }
.tab-block h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tab-block > p { color: var(--ink-soft); font-size: .95rem; }
.tab-wrap { overflow-x: auto; background: #fffdf8; border: 1px solid var(--line); border-left: 6px solid var(--brass); border-radius: var(--radius-sm); padding: var(--s3); box-shadow: var(--shadow-sm); }
.tab { margin: 0; font-family: var(--font-mono); font-size: .9rem; line-height: 1.45; color: var(--primary-deep); white-space: pre; tab-size: 4; }
.tab-chord { color: var(--brass); font-weight: 700; }
.tab-count { color: #98a4b0; }
.tab-fing { color: var(--primary); font-weight: 700; }
.tab-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-soft); margin-top: var(--s2); }

/* Right-hand schema */
.rh-label { font-weight: 700; color: var(--primary-deep); margin: var(--s3) 0 var(--s2); }
.rh { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 var(--s3); }
@media (min-width: 700px) { .rh { grid-template-columns: repeat(8, 1fr); } }
.rh li { position: relative; text-align: center; padding: 22px 6px 10px; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.rh li strong { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1; color: var(--primary-deep); }
.rh li small { display: block; font-size: .72rem; line-height: 1.2; color: var(--ink-soft); margin-top: 4px; }
.rh .rh-n { position: absolute; top: 4px; left: 8px; font-size: .68rem; color: #98a4b0; font-weight: 700; }
.rh-thumb { background: var(--brass-soft) !important; border-color: #e8c98f !important; }
.rh-index { background: var(--secondary-soft) !important; border-color: var(--secondary) !important; }
.rh-middle { background: #d6f0f8 !important; border-color: #5ac6e0 !important; }
.rh-strike { background: var(--secondary-soft) !important; border-color: var(--secondary) !important; }

/* Lesson layout */
.lesson-layout { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .lesson-layout { grid-template-columns: minmax(0, 1fr) 320px; } .sidebar { position: sticky; top: 92px; align-self: start; } }
.lesson-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin: var(--s4) 0; }
@media (min-width: 700px) { .lesson-stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--primary); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--ink-soft); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s3) var(--s3) 68px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: var(--s3); top: var(--s3); width: 38px; height: 38px; border-radius: 12px; background: var(--primary-deep); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-soft); }
.callout { background: var(--brass-soft); border-left: 5px solid var(--brass); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); margin: var(--s4) 0; }
.callout.blue { background: var(--secondary-soft); border-color: var(--primary); }
.callout h3 { font-size: 1.05rem; margin-bottom: 8px; }
.callout ul, .callout ol { margin: 0; padding-left: 20px; }
.callout li { margin-bottom: 6px; }
.chords { display: grid; gap: var(--s2); }
.chord { display: flex; gap: var(--s3); align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.chord b { flex: none; min-width: 42px; text-align: center; background: var(--primary); color: #fff; border-radius: 8px; padding: 2px 8px; font-family: var(--font-head); }
.chord span { font-size: .95rem; color: var(--ink-soft); }
.lesson-nav { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 700px) { .lesson-nav { grid-template-columns: 1fr 1fr; } }
.lesson-nav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s4); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.lesson-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lesson-nav small { display: block; color: var(--brass); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.lesson-nav strong { font-family: var(--font-head); color: var(--primary-deep); font-size: 1.1rem; }
.lesson-nav .next { text-align: right; }

/* Widgets */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow-sm); }
.widget h3 { display: flex; align-items: center; gap: 8px; }
.metro-bpm { font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--primary); text-align: center; }
.metro-bpm small { display: block; font-size: .8rem; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }
.metro-dots { display: flex; justify-content: center; gap: 10px; margin: var(--s3) 0; }
.metro-dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--line); transition: background .08s, transform .08s; }
.metro-dots i.on { background: var(--primary); transform: scale(1.3); }
.metro-dots i.on.first { background: var(--brass); }
.widget input[type=range] { width: 100%; accent-color: var(--primary); }
.widget-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: var(--s2) 0; }
.btn-round { width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 1.3rem; background: var(--secondary-soft); color: var(--primary-deep); border: none; cursor: pointer; font-weight: 700; }
.btn-round:hover { background: var(--secondary); }
.sidebar-toc { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.sidebar-toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.sidebar-toc a:hover { color: var(--primary); }
.sidebar > * + * { margin-top: var(--s3); }

.strings { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .strings { grid-template-columns: repeat(5, 1fr); } }
.string-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; transition: all .2s; }
.string-btn:hover, .string-btn.playing { border-color: var(--primary); background: var(--secondary-soft); transform: translateY(-2px); }
.string-btn b { font-family: var(--font-head); font-size: 1.8rem; color: var(--primary-deep); line-height: 1; }
.string-btn span { font-size: .8rem; color: var(--ink-soft); }
.string-btn em { font-style: normal; font-size: .75rem; color: var(--brass); font-weight: 700; }

.quiz-q { margin-bottom: var(--s4); }
.quiz-q fieldset { border: 0; padding: 0; margin: 0; }
.quiz-q legend { font-weight: 700; color: var(--primary-deep); margin-bottom: var(--s2); font-family: var(--font-head); font-size: 1.1rem; padding: 0; }
.opt { display: block; position: relative; padding: 12px 16px 12px 44px; border: 2px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--primary); }
.opt input { position: absolute; left: 14px; top: 16px; accent-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); background: var(--secondary-soft); }
.result { display: none; margin-top: var(--s4); background: var(--primary-deep); color: #e8f4fa; border-radius: var(--radius); padding: var(--s4); }
.result.show { display: block; animation: pop .35s ease; }
.result h3 { color: #fff; }
.result strong { color: var(--secondary); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--line); font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.check-item input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: var(--s2) 0; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width .3s; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--primary-deep); color: #fff; font-family: var(--font-head); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--primary-deep); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 0 var(--s3); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--primary-deep); display: flex; justify-content: space-between; gap: var(--s3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: var(--s3); margin: 0; }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; border-radius: 28px; padding: var(--s6) var(--s4); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(144, 224, 239, .18); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5eef7; max-width: 56ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--primary-deep); color: #cfe6f1; padding-block: var(--s6) var(--s4); margin-top: var(--s7); }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.05rem; color: #fff; }
.site-footer a { color: #cfe6f1; text-decoration: none; }
.site-footer a:hover { color: var(--secondary); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: var(--s5); padding-top: var(--s3); font-size: .88rem; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); justify-content: space-between; }

/* Prose */
.prose h2 { margin-top: var(--s5); }
.prose h3 { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Reveal */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on-scroll { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { animation: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }