/* Avulux editorial system. Extends the existing brand styles and approved specimens. */
:root {
    --container-max: 1280px;
    --border-color: #d8dcd6;
    --border-color-light: #e7e9e3;
    --nav-height: 88px;
}
body[data-mode="dtc"] { --border-color: #d8dcd6; --border-color-light: #e7e9e3; }
body[data-mode="ecp"] { --border-color: #3b4855; --border-color-light: #2a3948; }
html { scroll-padding-top: calc(var(--nav-height) + 24px); }
body { overflow-wrap: break-word; }
body::before { display: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--accent-readable);
    outline-offset: 5px;
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2000; background: var(--bg-primary); color: var(--text-primary); padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Navigation: compact mark, reliable contrast, and a full index on small screens. */
body .nav, body .nav.scrolled {
    height: var(--nav-height);
    padding: 0 clamp(1.25rem, 3vw, 3rem);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    backdrop-filter: none;
    gap: 2rem;
}
.nav-brand { flex: 0 0 auto; width: 160px; gap: 6px; text-decoration: none; }
body .nav-logo { width: 150px; height: 23px; object-fit: contain; object-position: left center; }
body .nav .nav-logo-white { display: none; }
body .nav .nav-logo-dark { display: block; }
body[data-mode="ecp"] .nav .nav-logo-white { display: block; }
body[data-mode="ecp"] .nav .nav-logo-dark { display: none; }
body .nav .nav-subtitle { color: var(--text-muted); font-size: 0.58rem; letter-spacing: 0.19em; margin: 0; }
body .nav-menu { gap: clamp(1rem, 1.9vw, 2rem); align-items: center; }
body .nav .nav-menu a { color: var(--text-secondary); opacity: 1; font-size: 0.64rem; letter-spacing: 0.09em; white-space: nowrap; }
body .nav .nav-menu a.active, body .nav .nav-menu a:hover { color: var(--accent-readable); }
.nav-menu a::after { display: none; }
.nav-menu a.active { text-decoration: underline; text-underline-offset: 7px; }
.nav-asset-link { display: none; }
body .nav .nav-download { display: flex; gap: 1rem; align-items: center; padding: 10px 14px; border: 1px solid var(--border-color); }
body .nav-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
body .nav .nav-toggle span { background: var(--text-primary); }
body .scroll-progress { background: var(--teal); height: 2px; }

/* Cover: readable typography and an uninterrupted photographic field. */
body .hero {
    grid-template-columns: 1.15fr 1fr;
    min-height: min(940px, 100svh);
    padding-top: var(--nav-height);
    background: var(--bg-secondary);
    color: var(--text-primary);
}
body .hero-image { grid-column: 2; grid-row: 1; background: var(--bg-secondary); }
body .hero-image::before, body .hero-image::after { display: none; }
.hero-image-dtc { object-position: 50% 40%; }
body .hero-frame {
    grid-column: 1; grid-row: 1;
    padding: clamp(2rem, 4vw, 4rem);
    gap: 2.25rem;
    opacity: 1; animation: none;
}
body .hero-masthead { font-size: 0.6rem; gap: 0.8rem; color: var(--text-muted); flex-wrap: wrap; letter-spacing: 0.14em; }
body .hero-masthead-mark { color: var(--accent-readable); }
body .hero-masthead-rule { flex-basis: 24px; background: var(--border-color); }
body .hero-masthead-meta { max-width: 25ch; }
body .hero-statement { align-self: center; }
body .hero-headline { font-size: clamp(3.3rem, 5.35vw, 5.2rem); line-height: 1.06; color: var(--text-primary); margin: 0; letter-spacing: -0.045em; }
body .hero-headline em { display: inline-block; margin-top: 0.3em; color: var(--accent-readable); font-style: normal; font-size: 0.8em; letter-spacing: -0.035em; }
.hero-explore { display: inline-flex; align-items: center; gap: 2.5rem; margin-top: 2rem; padding-bottom: 9px; border-bottom: 1px solid var(--text-primary); color: var(--text-primary); font-size: 0.85rem; }
.hero-explore span { font-size: 1.25rem; }
body .hero-audience { padding-top: 1.25rem; border-color: var(--border-color); gap: 1rem; }
body .hero-audience-eyebrow { color: var(--accent-readable); font-size: 0.65rem; letter-spacing: 0.12em; }
body .hero-audience-helper { color: var(--text-secondary); font-size: 0.78rem; }
body .hero-audience-choices { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
body .hero-audience-divider, body .hero-audience-status { display: none; }
body .hero-audience-btn { border: 1px solid var(--border-color); border-radius: 0; padding: 0.85rem; gap: 0.8rem; background: transparent; }
body .hero-audience-btn.active { border-color: var(--accent-readable); background: var(--bg-primary); box-shadow: inset 0 -2px var(--accent-readable); }
body .hero-audience-btn:hover { background: var(--bg-primary); border-color: var(--accent-readable); }
body .hero-audience-label { color: var(--text-primary); font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; }
body .hero-audience-kicker, body .hero-audience-btn.active .hero-audience-kicker { font-size: 0.58rem; letter-spacing: 0.1em; color: var(--text-muted); }
body .hero-audience-palette > span { height: 5px; border-radius: 0; }
.guide-intro { padding: 2.5rem 0; border-bottom: 1px solid var(--border-color); background: var(--bg-primary); }
.guide-intro .container { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.intro-label { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); }
.guide-intro p { font-size: 0.9rem; line-height: 1.7; max-width: 80ch; margin: 0; }

/* Consistent section architecture. */
.section { padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: 0; }
.section-alt::before { display: none; }
.section + .section { border-top: 1px solid var(--border-color); }
.section .section-cover {
    display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start;
    column-gap: 3rem; padding-bottom: 2.5rem; margin-bottom: 3rem;
}
.section .section-cover-num {
    font: 500 0.8rem/1.5 var(--font-body); letter-spacing: 0.1em;
    padding-top: 0.8rem; opacity: 1; color: var(--accent-readable);
}
.section .section-cover-title { font-size: clamp(3rem, 5.5vw, 5rem); margin-bottom: 1.25rem; max-width: 18ch; line-height: 1.06; }
.section-cover-lede { max-width: 56ch; font-size: 1.05rem; line-height: 1.6; }
.chapter { margin: 4rem 0; }
.chapter + .chapter { margin-top: 5rem; }
.chapter-title { font-size: clamp(1.75rem, 2.8vw, 2.5rem); padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
.chapter-lead { font-size: 1.05rem; max-width: 68ch; }
.chapter-index { display: flex; flex-wrap: wrap; gap: 0.65rem 1.75rem; margin: -1rem 0 3rem; }
.chapter-index a { font-size: 0.75rem; color: var(--text-secondary); padding: 6px 0; border-bottom: 1px solid var(--border-color); }
.chapter-index a:hover { color: var(--accent-readable); border-color: var(--accent-readable); }
.prose-block { max-width: 74ch; }
.prose-lead { font-size: clamp(1.15rem, 1.65vw, 1.45rem); line-height: 1.6; }
.content-kicker, .chapter-subhead { color: var(--accent-readable); letter-spacing: 0.14em; }
.prose-note a { color: var(--accent-readable); }

/* Introduction and directory. */
#guide > .container > .prose-block { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 4rem; }
#guide .prose-lead { grid-row: span 3; font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.35; }
#guide .prose-block > p:not(.prose-lead) { margin: 0; }
#guide .goals-list { margin: 0; gap: 1rem; }
.goals-list li { font-size: 0.95rem; }
.goals-list li::before { border-radius: 0; width: 5px; height: 5px; }
#guide .promise-block { background: var(--bg-secondary); padding: clamp(2rem, 5vw, 4rem); border: 0; text-align: left; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
#guide .promise-label { color: var(--accent-readable); line-height: 1.5; margin: 0; }
#guide .promise-quote { font-size: clamp(1.5rem, 2.8vw, 2.5rem); max-width: none; }
.contents-list a { grid-template-columns: 60px 1.1fr 1fr 20px; padding: 1.5rem 0; gap: 1.5rem; }
.contents-meta { display: block; font-size: 0.78rem; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.contents-num { font: 500 0.75rem var(--font-body); color: var(--accent-readable); }
.contents-name { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.contents-list a:hover { color: var(--accent-readable); }
.contents-list a:focus-visible { outline: 2px solid var(--accent-readable); outline-offset: 5px; }

/* Brand story: distinguish conviction, guidance, and example. */
.statement-pair { gap: 0; padding: 0; border: 1px solid var(--border-color); }
.statement { padding: clamp(1.5rem, 3vw, 3rem); background: var(--bg-primary); }
.statement + .statement { border-left: 1px solid var(--border-color); background: transparent; }
.statement-label { color: var(--accent-readable); }
.statement-quote { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.principles-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.principles-list li { grid-template-columns: 1fr; padding: 1.5rem 0 1.5rem 3rem; position: relative; gap: 0.7rem; }
.principles-list li::before { position: absolute; top: 1.5rem; left: 0; color: var(--accent-readable); }
.principles-list li strong { font: 500 1rem/1.5 var(--font-body); }
.principles-list li span { font-size: 0.95rem; }
.message-group { display: grid; grid-template-columns: minmax(180px, 0.65fr) minmax(0, 2fr); gap: 3rem; padding: 2rem 0; }
.message-group-title { font-size: 1.6rem; line-height: 1.2; max-width: 18ch; }
.message-list { gap: 1.35rem; }
.message-list li { font-size: 0.95rem; padding-left: 2.7rem; max-width: 75ch; }
.message-list li::before { color: var(--accent-readable); font-size: 1.15rem; }
.feature-photo { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 2rem; }
.feature-photo img { border-radius: 0; aspect-ratio: 16 / 10; width: 100%; }
.feature-photo figcaption { font: 400 clamp(1.25rem, 2.4vw, 2rem)/1.3 var(--font-display); letter-spacing: -0.01em; text-transform: none; color: var(--text-primary); padding: 0 0 1rem; }
.voice-comparison { gap: 1.5rem; }
.voice-column { padding: 2rem; background: var(--bg-primary); border-top: 3px solid var(--teal); }
.voice-column + .voice-column { border-top-color: var(--text-primary); }
.voice-label { color: var(--accent-readable); }
.voice-desc { font-size: 0.95rem; }
.voice-example { padding-top: 1.5rem; border-top: 1px solid var(--border-color); font-size: 1.5rem; }
.glance-row { grid-template-columns: 200px 1fr; gap: 2rem; padding: 1.5rem 0; }
.glance-row dt { font-size: 0.65rem; letter-spacing: 0.12em; }
.glance-row dd { font-size: 1rem; max-width: 76ch; }
.manifesto-block { text-align: left; background: var(--navy); padding: clamp(2rem, 5vw, 4rem); }
body .manifesto-body p { color: var(--cream); font-size: clamp(1.4rem, 2.5vw, 2rem); max-width: 46ch; }
body .manifesto-signature { color: var(--teal-light); font-size: clamp(2rem, 4vw, 3.5rem); }

/* Claims: calm, scannable reference layouts; original wording is preserved. */
.status-pair { gap: 1.5rem; }
.status-card { border-radius: 0; border: 1px solid var(--border-color); border-top: 3px solid var(--teal); padding: 2rem; }
.status-card--long { border-top-color: var(--text-primary); }
.status-card-line { font-size: clamp(1.75rem, 2.5vw, 2.4rem); }
.status-card-kicker { color: var(--accent-readable); }
.channel-detail > div { grid-template-columns: 160px minmax(0, 1fr); }
.channel-detail dd { max-width: 76ch; font-size: 0.95rem; }
#claims .chapter > p { max-width: 78ch; }
#claims .promise-block--indication { padding: 2.5rem; background: var(--bg-secondary); border: 1px solid var(--border-color); text-align: left; }
#claims .promise-block--indication .promise-quote { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); max-width: 58ch; }
#claims .promise-label { color: var(--accent-readable); }
.boundary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 3rem; }
.boundary-list li { font-size: 0.95rem; }
.caption-lib { grid-template-columns: 1fr 1fr; align-items: start; }
.caption-item { border-radius: 0; padding: 1.75rem; }
.caption-text { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.65; border-radius: 0; padding: 1.5rem; }
.caption-len { font-size: 1.5rem; }
.rule-pairs { border-radius: 0; }
.rule-pair { grid-template-columns: 1fr 1.6fr; }
.rule-pair-no, .rule-pair-yes { padding: 1.75rem; }
.rule-pair-no::before, .rule-pair-yes::before { font-size: 0.65rem; margin-bottom: 0.8rem; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.table-scroll table { margin-top: 0; width: 100%; }
.table-scroll th, .table-scroll td { overflow-wrap: anywhere; }

/* Audiences and channels: a visual introduction followed by a practical reference. */
.audience-panels { gap: 1.5rem; }
.audience-panel { border-radius: 0; }
.channel-card { border: 0; border-top: 1px solid var(--border-color); border-radius: 0; background: transparent; padding: 2rem 0; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 3rem; }
.channel-card-media { aspect-ratio: 4 / 5; border-radius: 0; }
.channel-card-kicker { color: var(--accent-readable); font-size: 0.7rem; letter-spacing: 0.14em; }
.channels-list { gap: 0; }

/* Messaging: the primary line gets prominence, the library stays easy to scan. */
#taglines .glance-row:first-child { background: var(--bg-primary); padding: clamp(1.5rem, 3vw, 3rem); border-top: 3px solid var(--teal); }
#taglines .glance-row:first-child .tagline-quote { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.12; }
#taglines .tagline-quote { font-size: clamp(1.3rem, 2.1vw, 1.8rem); }
#taglines .tagline-use { max-width: 68ch; font-style: normal; line-height: 1.7; }
.register-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.register-col { padding: 2rem; border-radius: 0; border: 0; border-top: 1px solid var(--text-primary); }
.register-col-title { font-size: 0.65rem; letter-spacing: 0.13em; color: var(--accent-readable); }
.register-list li { font-size: clamp(1.15rem, 1.8vw, 1.5rem); padding: 0.9rem 0; }

/* Asset index: recognizable previews, not just another list of links. */
#brand-assets .contents-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
#brand-assets .contents-list li { border: 1px solid var(--border-color); }
#brand-assets .contents-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; padding: 0 1.25rem 1.25rem; height: 100%; }
#brand-assets .contents-meta { display: none; }
#brand-assets .contents-name { font-size: 1.5rem; }
.asset-index-preview { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; height: 180px; margin: 0 -1.25rem 0.5rem; overflow: hidden; background: var(--cream); color: var(--navy); }
.preview-logo img { width: 70%; }
.preview-palette i { height: 100%; flex: 1; background: var(--teal); }
.preview-palette i:nth-child(2) { background: var(--navy); }
.preview-palette i:nth-child(3) { background: var(--cream); }
.preview-palette i:nth-child(4) { background: var(--white); }
.preview-type { font: 400 4rem var(--font-display); gap: 1.5rem; }
.preview-type span { font-family: var(--font-body); }
.preview-photo img { width: 100%; height: 100%; object-fit: cover; }
.preview-download { background: var(--navy); color: var(--cream); gap: 2rem; font-size: 4rem; }
.preview-download small { font: 500 0.8rem var(--font-body); letter-spacing: 0.1em; }

/* Logo: one primary mark with two supporting forms. */
.logo-display, .logo-display.primary { border-radius: 0; box-shadow: none; }
#logo .logo-display.primary { min-height: 280px; padding: 3rem; border: 1px solid var(--border-color); background: var(--bg-primary); }
#logo .logo-display.primary .primary-logo { width: min(650px, 85%); max-height: none; }
#logo .logo-note { max-width: 80ch; font-size: 0.9rem; text-align: left; margin-left: 0; }
.logo-secondary-pair { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
#logo .logo-secondary-item .logo-display { max-width: none !important; min-height: 220px; height: 220px; }
#logo .logo-secondary-item .chapter-subhead { margin-top: 2rem; }
.logo-variations-grid { gap: 1.5rem; }
.logo-variation .logo-display { border: 1px solid var(--border-color); }
.clearspace-visual, .logo-minsize { border-radius: 0; }
.donts-grid { gap: 2rem; }
.dont-visual { border-radius: 0; }
.dont-text { text-decoration: none; font-size: 0.9rem; }
.arch-row { grid-template-columns: 180px minmax(0, 1fr); padding: 2rem 0; }
.arch-lenses { gap: 1.5rem; }
.arch-lens { padding: 1.5rem 0; border-top: 3px solid var(--teal); }
.arch-lens:nth-child(2) { border-color: #47A5DC; }
.arch-lens:nth-child(3) { border-color: #F79420; }

/* Color: a compact, tangible palette with all production values at hand. */
.palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; border: 0; }
.swatch { display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid var(--border-color); padding: 0 1.5rem 1.5rem; min-width: 0; }
.swatch-color { width: calc(100% + 3rem); margin: 0 -1.5rem; aspect-ratio: 1.75; padding: 1.5rem; border-bottom: 1px solid var(--border-color); }
.swatch-aa { font-size: 4rem; }
.swatch-info { width: 100%; gap: 1rem; flex: 1; }
.swatch-name { font-size: 1.7rem; }
.swatch-role { font-size: 0.62rem; letter-spacing: 0.1em; }
.swatch-use { font-size: 0.88rem; line-height: 1.65; }
.swatch-values { margin-top: auto; display: grid; gap: 0.6rem; }
.swatch-values > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0.5rem; align-items: center; }
.swatch-values dd { min-width: 0; }
.swatch-values .color-code { width: 100%; text-align: left; font-size: 0.75rem; padding: 8px 10px; border-radius: 0; min-height: 36px; }
.swatch-contrast { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.contrast-badge { border-radius: 0; font-size: 0.58rem; letter-spacing: 0; }
.product-card { border-radius: 0; padding: 2rem; }

/* Downloads: large previews make the right file easy to recognize. */
.asset-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; border: 0; }
.asset-list li { border: 1px solid var(--border-color); }
.asset-link { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: 0 1.5rem 1.5rem; height: 100%; align-items: center; }
.asset-thumb { grid-column: 1 / -1; width: calc(100% + 3rem); height: 160px; margin: 0 -1.5rem 0.5rem; border-radius: 0; border: 0; }
.asset-thumb img { max-width: 65%; max-height: 65px; }
.asset-name { font-size: 1.05rem; }
.asset-desc { font-size: 0.75rem; line-height: 1.6; }
.asset-format { border-radius: 0; font-size: 0.65rem; }
.asset-arrow { color: var(--accent-readable); }
.asset-link:hover { background: var(--bg-secondary); }
.footer { padding: 4rem 0 2rem; }
.footer-content { grid-template-columns: 1.1fr 0.7fr 1.2fr; gap: 3rem; }
.footer-logo-img { width: 230px; max-width: 100%; }
.footer-info, .footer-info p { text-align: left; }
.footer-resources a, .footer-resources h5, .footer-info p { color: #d7dcd7; }
.footer-resources h5 { font: 500 0.7rem var(--font-body); letter-spacing: 0.14em; }
.back-to-top { border-radius: 0; margin-top: 1.5rem; }

/* Tablet and mobile: reflow content rather than shrinking it. */
@media (max-width: 1100px) {
    body .nav-toggle { display: flex; margin-left: auto; }
    body .nav-menu {
        display: none; position: fixed; inset: var(--nav-height) 0 auto;
        max-height: calc(100svh - var(--nav-height)); height: auto; width: 100%; overflow-y: auto;
        background: var(--bg-primary); padding: 1.5rem 2rem 2rem; box-shadow: none;
        grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--border-color);
    }
    body .nav-menu.active { display: grid; }
    body .nav-menu li { display: block; padding: 0.6rem; }
    body .nav .nav-menu a { font-size: 0.8rem; display: block; padding: 0.5rem; white-space: normal; }
    body .nav .nav-download { border: 0; }
    body .hero { min-height: 850px; grid-template-columns: 1.15fr 1fr; }
    body .hero-headline { font-size: clamp(3rem, 5.5vw, 4rem); }
    body .hero-masthead-rule { display: none; }
    body .hero-masthead { gap: 0.5rem; }
    .palette { grid-template-columns: 1fr 1fr; }
    .channel-card { grid-template-columns: 1fr 2fr; gap: 2rem; }
    .channel-detail > div { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 768px) {
    :root { --nav-height: 76px; }
    body .hero { grid-template-columns: 1fr; min-height: 0; }
    body .hero-frame { grid-column: 1; grid-row: 1; padding: 2.5rem 1.5rem; gap: 2.5rem; }
    body .hero-image { grid-column: 1; grid-row: 2; height: 420px; }
    body .hero-headline { font-size: clamp(3rem, 8vw, 4rem); max-width: 16ch; }
    body .hero-masthead-meta { max-width: none; }
    body .hero-audience { max-width: none; }
    .guide-intro .container { grid-template-columns: 1fr; gap: 1.5rem; }
    .intro-label br { display: none; }
    .section .section-cover { grid-template-columns: 1fr; gap: 1rem; }
    .section .section-cover-title { font-size: clamp(2.7rem, 8vw, 4rem); }
    #guide > .container > .prose-block, #guide .promise-block { grid-template-columns: 1fr; gap: 2rem; }
    #guide .prose-lead { grid-row: auto; }
    .contents-list a { grid-template-columns: 36px 1fr 20px; gap: 1rem; }
    .contents-meta { display: none; }
    .statement-pair, .voice-comparison { grid-template-columns: 1fr; }
    .statement + .statement { border-left: 0; border-top: 1px solid var(--border-color); }
    .principles-list { grid-template-columns: 1fr; }
    .message-group { grid-template-columns: 1fr; gap: 1.25rem; }
    .message-group-title { max-width: none; }
    .feature-photo { grid-template-columns: 1fr; gap: 1rem; }
    .feature-photo figcaption { max-width: 35ch; }
    .glance-row, .arch-row { grid-template-columns: 1fr; gap: 1rem; }
    .boundary-list, .caption-lib { grid-template-columns: 1fr; }
    .rule-pair { grid-template-columns: 1fr; gap: 0; }
    .rule-pair-no { padding-bottom: 1rem; }
    .rule-pair-yes { border-top: 1px solid var(--border-color); }
    .channel-card { grid-template-columns: 1fr; }
    .channel-card-media { max-width: none; aspect-ratio: 16 / 10; }
    #brand-assets .contents-list { grid-template-columns: 1fr 1fr; }
    .logo-secondary-pair { grid-template-columns: 1fr; gap: 0; }
    .arch-lenses { grid-template-columns: 1fr; }
    .asset-link { grid-template-columns: 1fr auto; }
    .asset-arrow { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .table-scroll table { min-width: 620px; }
    .table-scroll::before { content: 'Scroll horizontally to compare →'; display: block; font-size: 0.7rem; color: var(--text-muted); margin: 0.5rem 0 1rem; }
}
@media (max-width: 520px) {
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 4rem 0; }
    body .hero-image { height: 320px; }
    body .hero-masthead { flex-direction: column; align-items: flex-start; }
    .chapter-index { gap: 0.5rem 1rem; }
    .status-pair, .register-grid, .palette, .asset-list, #brand-assets .contents-list { grid-template-columns: 1fr; }
    #logo .logo-display.primary { padding: 1.5rem; min-height: 180px; }
    #logo .logo-display.primary .primary-logo { width: 100%; }
    .status-card, .caption-item, .register-col, .voice-column { padding: 1.5rem; }
    #claims .promise-block--indication { padding: 1.5rem; }
    .rule-pair-no, .rule-pair-yes { padding: 1.25rem; }
    .swatch-color { aspect-ratio: 1.9; }
    .asset-index-preview { height: 190px; }
    .donts-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media print {
    .nav, .floating-toggle, .skip-link, .hero-audience, .hero-explore, .chapter-index, .back-to-top { display: none !important; }
    .hero { padding-top: 0 !important; min-height: 0 !important; }
    .section { break-inside: auto; }
    .table-scroll { overflow: visible; }
    .table-scroll table { min-width: 0; }
    .table-scroll::before { display: none; }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
.copy-caption { display: inline-flex; gap: 1.5rem; align-items: center; padding: 0.65rem 0; min-height: 44px; font: 500 0.75rem var(--font-body); background: none; border: 0; border-bottom: 1px solid var(--accent-readable); color: var(--accent-readable); cursor: pointer; margin: 0 0 1.25rem; }
.copy-caption:hover { border-bottom-width: 2px; }
.copy-caption.copied { color: var(--text-primary); }
/* Programmatic anchor focus should not box an entire chapter. */
[tabindex="-1"]:focus { outline: none; }
/* Align reference metadata and repair legacy component assumptions. */
.swatch-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; min-height: 4.2rem; }
.swatch-values { grid-template-columns: 1fr; }
.principles-list { counter-reset: principle; }
.principles-list li { counter-increment: principle; border-top: 1px solid var(--border-color); }
.principles-list li::before { content: counter(principle, decimal-leading-zero); font: 400 1.3rem var(--font-display); }
.audience-diptych { gap: 2rem; }
.audience-panel-image { border-radius: 0; }
.audience-panel-kicker { color: var(--accent-readable); }
.audience-panel-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
body[data-mode="dtc"] .hero-headline em, body[data-mode="ecp"] .hero-headline em { color: var(--accent-readable); }
body[data-mode="dtc"] .hero-audience-btn.active, body[data-mode="ecp"] .hero-audience-btn.active { background: var(--bg-primary); }
.asset-link:focus-visible { outline: 2px solid var(--accent-readable); outline-offset: 5px; }
body .hero { grid-template-rows: auto; }
body .nav-menu { max-width: none; }
body[data-mode="ecp"] .nav.scrolled { background: var(--bg-primary); border-color: var(--border-color); }
.asset-thumb img[src$=".png"] { width: 90%; max-width: 90%; max-height: none; }
@media (max-width: 768px) {
    body .hero { grid-template-rows: auto auto; }
}
