:root {
    --brand: #E85D75;
    --brand-strong: #D93F63;
    --accent: #F2A65A;
    --ink: #332D34;
    --ink-strong: #2F2530;
    --muted: #756A73;
    --bg: #FFF9F6;
    --bg-soft: #F8EEF0;
    --panel: #FFFFFF;
    --line: rgba(47, 37, 48, 0.12);
    --line-strong: rgba(47, 37, 48, 0.2);
    --shadow-sm: 0 8px 24px rgba(75, 47, 57, 0.08);
    --shadow-md: 0 18px 54px rgba(75, 47, 57, 0.12);
    --shadow-lg: 0 28px 80px rgba(75, 47, 57, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 44px;
    --shell: min(1180px, calc(100vw - 48px));
    --narrow: min(920px, calc(100vw - 48px));
    --header-height: 78px;
    --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 90% 0%, rgba(232, 93, 117, 0.08), transparent 24rem),
        radial-gradient(circle at 8% 18%, rgba(242, 166, 90, 0.08), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.72;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
input[type="submit"] {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(217, 63, 99, 0.42);
    outline-offset: 4px;
}

::selection {
    background: rgba(232, 93, 117, 0.2);
    color: var(--ink-strong);
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink-strong);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 5.6vw, 5.8rem);
    font-weight: 820;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.7vw, 3.6rem);
    font-weight: 800;
}

h3 {
    margin-bottom: 12px;
    font-size: clamp(1.22rem, 2vw, 1.65rem);
    font-weight: 760;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 14px;
    left: 14px;
    transform: translateY(-140%);
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink-strong);
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 249, 246, 0.88);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(255, 249, 246, 0.95);
    box-shadow: 0 10px 36px rgba(47, 37, 48, 0.07);
}

.header-shell {
    width: var(--shell);
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-lockup:hover {
    color: inherit;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(232, 93, 117, 0.18), rgba(242, 166, 90, 0.18));
    box-shadow: inset 0 0 0 1px rgba(232, 93, 117, 0.14);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    font-size: 1.08rem;
    line-height: 1.12;
    letter-spacing: .02em;
}

.brand-lockup small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.1;
    letter-spacing: .06em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 680;
    font-size: .95rem;
    transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}

.site-nav a:hover {
    background: rgba(232, 93, 117, 0.08);
    color: var(--brand-strong);
}

.site-nav a[aria-current="page"] {
    background: rgba(232, 93, 117, 0.12);
    color: var(--brand-strong);
}

.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: var(--brand-strong);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-strong);
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
    transform: translateY(-6px) rotate(-45deg);
}

main {
    min-height: calc(100vh - var(--header-height));
}

.section-shell {
    width: var(--shell);
    margin: 0 auto;
}

.narrow-shell {
    width: var(--narrow);
}

.section {
    position: relative;
    padding: 98px 0;
}

.section--flush-top {
    padding-top: 64px;
}

.section--compact {
    padding-top: 76px;
    padding-bottom: 76px;
}

.section--tinted {
    overflow: clip;
    background: linear-gradient(180deg, rgba(248, 238, 240, 0.9), rgba(248, 238, 240, 0.66));
    border-top: 1px solid rgba(232, 93, 117, 0.08);
    border-bottom: 1px solid rgba(232, 93, 117, 0.08);
}

.section--content-band {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 249, 246, 0.48)),
        radial-gradient(circle at 20% 10%, rgba(242, 166, 90, .09), transparent 24rem);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 40px;
    align-items: end;
}

.section-heading--split > p {
    max-width: 520px;
    justify-self: end;
    margin-bottom: 12px;
}

.eyebrow {
    margin-bottom: 11px;
    color: var(--brand-strong);
    font-size: .8rem;
    font-weight: 820;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 760;
    line-height: 1.2;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--brand-strong);
    color: #fff;
    box-shadow: 0 12px 30px rgba(217, 63, 99, 0.24);
}

.button--primary:hover {
    background: #c93357;
    color: #fff;
    box-shadow: 0 16px 36px rgba(217, 63, 99, 0.3);
}

.button--quiet {
    border-color: rgba(47, 37, 48, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink-strong);
}

.button--quiet:hover {
    border-color: rgba(217, 63, 99, .22);
    background: #fff;
    color: var(--brand-strong);
    box-shadow: var(--shadow-sm);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-strong);
    font-weight: 760;
}

.text-link span {
    transition: transform .18s var(--ease);
}

.text-link:hover span {
    transform: translateX(4px);
}

.hero {
    position: relative;
    isolation: isolate;
    padding: 66px 0 38px;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 82% 24%, rgba(232, 93, 117, .14), transparent 20rem),
        radial-gradient(circle at 10% 30%, rgba(242, 166, 90, .12), transparent 23rem);
    pointer-events: none;
}

.hero-shell {
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
    align-items: center;
    gap: clamp(42px, 7vw, 100px);
}

.hero-copy {
    padding: 40px 0 52px;
}

.hero-lead {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.7vw, 1.25rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 42px 0 0;
}

.hero-facts div {
    padding: 16px 18px;
    border: 1px solid rgba(47, 37, 48, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
}

.hero-facts dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 760;
    letter-spacing: .06em;
}

.hero-facts dd {
    margin: 0;
    color: var(--ink-strong);
    font-size: .93rem;
    font-weight: 760;
}

.hero-art {
    position: relative;
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(232, 93, 117, 0.12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg);
    transform: rotate(1.4deg);
}

.hero-art::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18% -8% -5% 20%;
    border-radius: inherit;
    background: rgba(242, 166, 90, 0.14);
    filter: blur(1px);
    transform: rotate(-5deg);
}

.hero-art img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 12px);
    background: var(--bg-soft);
}

.hero-art figcaption {
    padding: 14px 6px 2px;
    color: var(--muted);
    font-size: .86rem;
    text-align: center;
}

.content-grid {
    display: grid;
    gap: 24px;
}

.content-grid--featured,
.content-grid--secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 26px rgba(47, 37, 48, 0.05);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.content-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 63, 99, .18);
    box-shadow: var(--shadow-md);
}

.card-media {
    display: block;
    overflow: hidden;
    background: var(--bg-soft);
}

.card-media img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    transition: transform .45s var(--ease);
}

.content-card:hover .card-media img {
    transform: scale(1.025);
}

.card-copy {
    padding: 25px 25px 27px;
}

.card-copy h3 a:hover {
    color: var(--brand-strong);
}

.card-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.content-card--compact .card-media img {
    aspect-ratio: 16 / 10;
}

.content-card--compact .card-copy {
    padding: 22px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(232, 93, 117, .08);
    color: var(--brand-strong);
    font-size: .77rem;
    font-weight: 720;
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
    gap: clamp(38px, 7vw, 96px);
    align-items: center;
}

.split-feature__media {
    position: relative;
}

.split-feature__media::before {
    content: "";
    position: absolute;
    inset: -18px 18% 15% -18px;
    border: 1px solid rgba(232, 93, 117, .14);
    border-radius: var(--radius-xl);
}

.split-feature__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.split-feature__copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.04rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    color: var(--ink);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .1em;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(232, 93, 117, .12);
    color: var(--brand-strong);
    font-size: .78rem;
    font-weight: 900;
}

.feature-list {
    border-top: 1px solid var(--line-strong);
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.feature-row h3 {
    margin-bottom: 8px;
}

.feature-row p:not(.eyebrow) {
    max-width: 780px;
    color: var(--muted);
}

.section--desktop-teaser {
    padding-top: 58px;
}

.desktop-teaser {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
    gap: 48px;
    align-items: center;
    overflow: hidden;
    padding: clamp(34px, 6vw, 64px);
    border-radius: var(--radius-xl);
    background: var(--ink-strong);
    color: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-lg);
}

.desktop-teaser h2 {
    color: #fff;
}

.desktop-teaser .eyebrow {
    color: #ffc4cf;
}

.desktop-teaser .text-link {
    color: #ffd0d9;
}

.desktop-teaser img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.page-intro {
    position: relative;
    overflow: hidden;
    padding: 46px 0 72px;
}

.page-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 80% 18%, rgba(232, 93, 117, .11), transparent 25rem),
        linear-gradient(180deg, rgba(255,255,255,.42), transparent);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 44px;
    color: var(--muted);
    font-size: .86rem;
}

.breadcrumbs a:hover {
    color: var(--brand-strong);
}

.crumb-sep {
    color: rgba(117, 106, 115, .55);
}

.page-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: clamp(44px, 7vw, 92px);
    align-items: center;
}

.page-intro h1 {
    max-width: 900px;
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.intro-visual {
    position: relative;
    margin: 0;
}

.intro-visual::before {
    content: "";
    position: absolute;
    inset: -16px -16px 14% 17%;
    border-radius: var(--radius-xl);
    background: rgba(242, 166, 90, .13);
    transform: rotate(3deg);
}

.intro-visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / .86;
    object-fit: cover;
    border: 1px solid rgba(232, 93, 117, .12);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.intro-visual--desktop img {
    aspect-ratio: 1.3 / 1;
}

.prose-cards {
    display: grid;
    gap: 18px;
}

.prose-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.prose-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 63, 99, .18);
    box-shadow: var(--shadow-sm);
}

.prose-card__index {
    color: rgba(217, 63, 99, .32);
    font-size: 2rem;
    font-weight: 860;
    letter-spacing: -.04em;
}

.prose-card p {
    color: var(--muted);
}

.prose-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.prose-card li {
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: .84rem;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.note-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.note-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.78);
}

.note-card h3 {
    font-size: 1.1rem;
    letter-spacing: -.015em;
}

.note-card p {
    color: var(--muted);
    font-size: .94rem;
}

.mini-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-index__item {
    display: grid;
    grid-template-columns: minmax(100px, .45fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 72px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.7);
    transition: border-color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease);
}

.mini-index__item:hover {
    transform: translateX(4px);
    border-color: rgba(217,63,99,.2);
    background: #fff;
}

.mini-index__item span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 720;
}

.mini-index__item strong {
    color: var(--ink-strong);
    font-size: 1rem;
}

.mini-index__item em {
    color: var(--brand-strong);
    font-style: normal;
    font-weight: 800;
}

.section--visual-strip {
    padding-top: 70px;
}

.visual-strip {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, .65fr);
    gap: 48px;
    align-items: center;
    padding: 44px 50px;
    border: 1px solid rgba(232,93,117,.12);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(248,238,240,.86), rgba(255,255,255,.78));
}

.visual-strip__copy p:not(.eyebrow) {
    color: var(--muted);
}

.visual-strip img {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    border-radius: 26px;
}

.catalog-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr);
    gap: clamp(40px, 7vw, 90px);
    align-items: end;
}

.catalog-search {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.76);
    box-shadow: var(--shadow-sm);
}

.catalog-search label {
    display: block;
    margin-bottom: 10px;
    color: var(--ink-strong);
    font-size: .9rem;
    font-weight: 780;
}

.search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-control input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.search-control input:focus {
    border-color: rgba(217,63,99,.5);
    box-shadow: 0 0 0 4px rgba(217,63,99,.1);
}

.catalog-search > p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .8rem;
}

.section--search-results {
    padding-top: 62px;
    padding-bottom: 62px;
}

.content-grid--search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.empty-state {
    padding: 38px;
    border: 1px dashed rgba(217,63,99,.3);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.68);
    text-align: center;
}

.empty-state p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

.catalog-stack {
    display: grid;
    gap: 22px;
}

.catalog-entry {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.82);
}

.catalog-entry__visual {
    overflow: hidden;
    border-radius: 24px;
    background: var(--bg-soft);
}

.catalog-entry__visual img {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
}

.catalog-entry__body {
    position: relative;
    padding: 24px 34px 24px 0;
}

.catalog-entry__number {
    position: absolute;
    top: -8px;
    right: 8px;
    color: rgba(217,63,99,.08);
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.catalog-entry__lead {
    max-width: 760px;
    color: var(--ink-strong);
    font-size: 1.05rem;
    font-weight: 620;
}

.catalog-entry__body > p:not(.eyebrow):not(.catalog-entry__lead) {
    max-width: 760px;
    color: var(--muted);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.desktop-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.desktop-guide-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 28px rgba(47,37,48,.05);
}

.desktop-guide-card img {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    background: var(--bg-soft);
}

.desktop-guide-card > div {
    padding: 24px 26px 28px;
}

.desktop-guide-card p {
    color: var(--muted);
}

.desktop-flow {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
}

.desktop-flow__visual img {
    width: 100%;
    aspect-ratio: 1 / .9;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.step-list {
    display: grid;
    gap: 18px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.step-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.step-list li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--brand-strong);
    color: #fff;
    font-weight: 820;
}

.step-list strong {
    display: block;
    margin: 2px 0 4px;
    color: var(--ink-strong);
}

.step-list p {
    color: var(--muted);
    font-size: .94rem;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion details {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
}

.accordion summary {
    position: relative;
    padding: 19px 56px 19px 22px;
    color: var(--ink-strong);
    font-weight: 760;
    list-style: none;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    transform: translateY(-50%);
    background: var(--bg-soft);
    color: var(--brand-strong);
    font-size: 1.2rem;
    line-height: 1;
}

.accordion details[open] summary::after {
    content: "−";
}

.accordion details > div {
    padding: 0 22px 22px;
    color: var(--muted);
}

.not-found {
    min-height: 68vh;
    display: grid;
    align-items: center;
    padding: 70px 0 90px;
}

.not-found__shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
    gap: 54px;
    align-items: center;
}

.not-found__copy p:not(.eyebrow) {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.06rem;
}

.not-found img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.site-footer {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    background: rgba(47,37,48,.98);
    color: rgba(255,255,255,.74);
}

.footer-shell {
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1fr) auto;
    gap: 44px;
    align-items: start;
    padding: 58px 0 42px;
}

.footer-brand strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-brand p {
    max-width: 390px;
    color: rgba(255,255,255,.6);
    font-size: .92rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-links a {
    color: rgba(255,255,255,.72);
    font-size: .9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-meta {
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: .82rem;
    text-align: right;
}

@media (max-width: 1080px) {
    :root {
        --shell: min(100% - 36px, 1040px);
        --narrow: min(100% - 36px, 900px);
    }

    .hero-shell,
    .page-intro__grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
        gap: 44px;
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-facts div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }

    .content-grid--featured,
    .content-grid--secondary,
    .content-grid--search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .note-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-intro {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .catalog-search {
        max-width: 680px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .footer-meta {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 70px;
    }

    .header-shell {
        position: relative;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        position: fixed;
        z-index: 110;
        top: calc(var(--header-height) + 8px);
        right: 18px;
        left: 18px;
        display: grid;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(255,249,246,.98);
        box-shadow: var(--shadow-lg);
        transform-origin: top;
    }

    html[data-js="on"] .site-nav {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px) scale(.985);
        pointer-events: none;
        transition: visibility .2s, opacity .2s var(--ease), transform .2s var(--ease);
    }

    html[data-js="on"] .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .site-nav a {
        padding: 13px 14px;
    }

    .site-nav a[aria-current="page"]::after {
        display: none;
    }

    .hero,
    .page-intro {
        padding-top: 34px;
    }

    .hero-shell,
    .page-intro__grid,
    .page-intro__grid--desktop,
    .split-feature,
    .desktop-flow,
    .not-found__shell {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 10px;
    }

    .hero-art,
    .intro-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .hero-art {
        transform: none;
    }

    .section {
        padding: 78px 0;
    }

    .section--compact {
        padding: 62px 0;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .section-heading--split > p {
        justify-self: start;
        margin-bottom: 0;
    }

    .desktop-teaser {
        grid-template-columns: 1fr;
        padding: 38px;
    }

    .visual-strip {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .visual-strip img {
        max-height: 460px;
    }

    .catalog-entry {
        grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
        gap: 22px;
    }

    .catalog-entry__body {
        padding-right: 18px;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-meta {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    :root {
        --shell: calc(100% - 28px);
        --narrow: calc(100% - 28px);
        --radius-lg: 24px;
        --radius-xl: 30px;
    }

    body {
        font-size: 15.5px;
    }

    h1 {
        font-size: clamp(2.35rem, 11vw, 4.2rem);
    }

    h2 {
        font-size: clamp(1.85rem, 8vw, 2.8rem);
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .brand-lockup small {
        display: none;
    }

    .hero {
        padding-bottom: 18px;
    }

    .hero-actions,
    .section-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-facts div {
        display: block;
    }

    .content-grid--featured,
    .content-grid--secondary,
    .content-grid--search,
    .note-grid,
    .note-grid--two,
    .desktop-guide-grid,
    .mini-index {
        grid-template-columns: 1fr;
    }

    .card-media img {
        aspect-ratio: 16 / 11.5;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 24px 0;
    }

    .desktop-teaser,
    .visual-strip {
        padding: 28px;
    }

    .page-intro {
        padding-bottom: 54px;
    }

    .breadcrumbs {
        margin-bottom: 30px;
    }

    .prose-card {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 24px;
    }

    .prose-card__index {
        font-size: 1.35rem;
    }

    .mini-index__item {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
    }

    .mini-index__item span {
        grid-column: 1 / -1;
    }

    .search-control {
        grid-template-columns: 1fr;
    }

    .catalog-entry {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .catalog-entry__visual img {
        aspect-ratio: 16 / 10;
    }

    .catalog-entry__body {
        padding: 14px 10px 20px;
    }

    .catalog-entry__number {
        top: 0;
        right: 10px;
        font-size: 4rem;
    }

    .footer-shell {
        padding-top: 46px;
    }
}

@media (max-width: 430px) {
    :root {
        --shell: calc(100% - 22px);
        --narrow: calc(100% - 22px);
    }

    .header-shell {
        gap: 12px;
    }

    .hero-copy {
        padding-top: 24px;
    }

    .section {
        padding: 64px 0;
    }

    .card-copy,
    .note-card {
        padding: 20px;
    }

    .catalog-search {
        padding: 20px;
    }

    .desktop-teaser,
    .visual-strip {
        padding: 22px;
        border-radius: 24px;
    }

    .accordion summary {
        padding-left: 18px;
    }
}

@media (hover: none) {
    .content-card:hover,
    .button:hover,
    .prose-card:hover,
    .mini-index__item:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .hero-actions,
    .section-actions,
    .catalog-search,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    main,
    .section,
    .page-intro,
    .hero {
        padding: 0;
    }

    .section-shell,
    .hero-shell,
    .narrow-shell {
        width: 100%;
    }

    .content-card,
    .note-card,
    .prose-card,
    .catalog-entry,
    .desktop-guide-card {
        break-inside: avoid;
        box-shadow: none;
        border-color: #bbb;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        color: #555;
        font-size: .8em;
    }

    .brand-lockup::after,
    .card-media::after {
        content: none !important;
    }
}

/* Progressive reveal is intentionally additive: content remains visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
    html.has-observer .content-card,
    html.has-observer .desktop-guide-card,
    html.has-observer .note-card {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity .42s var(--ease) var(--reveal-delay, 0ms), transform .42s var(--ease) var(--reveal-delay, 0ms), box-shadow .25s var(--ease), border-color .25s var(--ease);
    }

    html.has-observer .content-card.is-visible,
    html.has-observer .desktop-guide-card.is-visible,
    html.has-observer .note-card.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional accessibility and edge-width handling. */
@media (forced-colors: active) {
    .button,
    .content-card,
    .note-card,
    .prose-card,
    .catalog-entry,
    .desktop-guide-card,
    .catalog-search,
    .accordion details,
    .mini-index__item {
        border: 1px solid CanvasText;
        box-shadow: none;
    }

    .button--primary,
    .step-list li > span {
        forced-color-adjust: auto;
        background: Highlight;
        color: HighlightText;
    }

    .tag-list li,
    .check-list li::before,
    .accordion summary::after {
        border: 1px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .site-nav a[aria-current="page"] {
        outline: 2px solid Highlight;
        outline-offset: 1px;
    }
}

@media (max-width: 370px) {
    .brand-lockup strong {
        max-width: 7em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .hero-lead,
    .page-intro .hero-lead {
        font-size: 1rem;
    }

    .hero-facts div,
    .prose-card,
    .catalog-search,
    .note-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .breadcrumbs {
        gap: 6px;
        font-size: .8rem;
    }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
    .site-nav {
        max-height: calc(100vh - var(--header-height) - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .page-intro,
    .hero {
        padding-top: 18px;
    }
}
