:root {
    --bg: #f4efe7;
    --surface: rgba(255, 252, 247, 0.78);
    --ink: #1f2a28;
    --muted: #5f6c67;
    --line: rgba(31, 42, 40, 0.1);
    --accent: #bb6d47;
    --shadow: 0 24px 80px rgba(49, 40, 28, 0.12);
    --radius-xl: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(187, 109, 71, 0.14), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(147, 166, 138, 0.18), transparent 24%),
        linear-gradient(180deg, #f8f1e8 0%, #f3ece2 46%, #ece2d4 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px;
    background: rgba(255, 251, 245, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(40, 34, 25, 0.08);
}

.brand,
.brand-text,
.contact-stack,
.testimonial-meta {
    display: flex;
}

.brand { align-items: center; gap: 14px; }
.brand-text,
.contact-stack,
.testimonial-meta { flex-direction: column; }

.brand-mark-icon {
    display: block;
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    object-fit: contain;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(40, 34, 25, 0.08);
}

.brand-text strong { font-size: 0.98rem; }
.brand-text span,
.site-nav a,
.teacher-role,
.section-kicker,
.pricing-title,
.schedule-day,
.format-accent {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.73rem;
}

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a,
.brand-text span,
.teacher-years,
.schedule-details,
.testimonial-meta span,
.contact-stack p { color: var(--muted); }

.mobile-quick-nav {
    display: none;
}

.mobile-quick-link {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(31, 42, 40, 0.08);
    color: var(--ink);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 8px 20px rgba(40, 34, 25, 0.06);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-quick-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(187, 109, 71, 0.14), rgba(255, 255, 255, 0.9));
    color: var(--accent);
}

.mobile-quick-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta {
    min-height: 48px;
    padding: 0 20px;
    background: var(--ink);
    color: white;
}

.button {
    min-height: 54px;
    padding: 0 24px;
    font-weight: 700;
}

.button:hover,
.nav-cta:hover { transform: translateY(-2px); }
.button-primary {
    background: linear-gradient(135deg, var(--accent), #d5855f);
    color: white;
    box-shadow: 0 18px 35px rgba(187, 109, 71, 0.28);
}
.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.52);
}

.hero,
.story-grid,
.format-grid,
.teacher-grid,
.schedule-grid,
.pricing-grid,
.testimonial-grid,
.contact-links {
    display: grid;
}

.hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 34px;
    padding: 52px 0 38px;
    align-items: center;
}

.hero-copy h1,
.section-heading h2,
.contact-card h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 5.8vw, 5.2rem);
}

.hero-text,
.story-card p,
.format-card p,
.teacher-content p,
.testimonial-quote,
.contact-card p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px;
    margin: 30px 0 24px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li,
.story-card,
.image-card,
.format-card,
.teacher-card,
.schedule-card,
.pricing-card,
.testimonial-card,
.contact-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-points li,
.story-card,
.image-card,
.format-card,
.teacher-card,
.schedule-card,
.pricing-card,
.testimonial-card,
.contact-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
}

.hero-points li { font-size: 0.95rem; }

.hero-visual {
    position: relative;
    min-height: 640px;
}

.hero-panel,
.image-card,
.teacher-card { overflow: hidden; }

.hero-panel {
    position: absolute;
    border-radius: 30px;
}

.hero-panel img,
.image-card img,
.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel-main { inset: 0 90px 80px 0; }
.hero-panel-side {
    width: 240px;
    height: 320px;
    right: 0;
    top: 38px;
}

.hero-note {
    position: absolute;
    right: 24px;
    bottom: 12px;
    width: min(320px, 100%);
    padding: 24px;
    background: rgba(23, 35, 33, 0.88);
    color: white;
    border-radius: 26px;
    box-shadow: 0 30px 60px rgba(23, 35, 33, 0.3);
}

.hero-note span,
.section-kicker,
.format-accent,
.pricing-title,
.teacher-role,
.schedule-day {
    color: var(--accent);
    font-weight: 700;
}

.hero-note span { color: rgba(255, 255, 255, 0.68); }
.hero-note strong {
    display: block;
    margin: 8px 0 10px;
    font-size: 1.2rem;
}

.story-grid,
.format-grid,
.teacher-grid,
.schedule-grid,
.pricing-grid,
.testimonial-grid {
    gap: 18px;
}

.story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card-accent { background: linear-gradient(180deg, rgba(187, 109, 71, 0.13), rgba(255, 255, 255, 0.65)); }
.image-card { padding: 0; }
.story-card h2 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    line-height: 0.95;
}

.section { padding: 84px 0 0; }
.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.section-heading h2,
.contact-card h2 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.format-grid,
.teacher-grid,
.schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.format-subtitle {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.teacher-card { padding: 0; background: rgba(255, 248, 240, 0.74); }
.teacher-photo { aspect-ratio: 4 / 4.3; }
.teacher-content { padding: 24px; }
.teacher-content h3,
.format-card h3,
.pricing-card h3,
.schedule-card h3 {
    margin: 10px 0 12px;
    font-size: 1.55rem;
}

.teacher-credentials { color: var(--muted); font-size: 0.95rem; }
.schedule-card { background: linear-gradient(180deg, rgba(147, 166, 138, 0.16), rgba(255, 252, 247, 0.78)); }
.schedule-class { font-weight: 700; }
.pricing-card-featured {
    background: linear-gradient(165deg, rgba(187, 109, 71, 0.95), #1f2a28);
    color: white;
}
.pricing-card-featured .pricing-title { color: rgba(255, 255, 255, 0.72); }
.testimonial-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(239, 213, 193, 0.3)); }
.testimonial-quote { margin-top: 0; }
.testimonial-meta { gap: 4px; }

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 24px;
    background: linear-gradient(155deg, #1f2a28, #34463d);
    color: white;
}

.contact-stack { gap: 12px; align-content: start; }
.contact-stack a { font-size: 1.05rem; font-weight: 700; }
.contact-card .contact-stack p { color: rgba(255, 255, 255, 0.72); }
.contact-links {
    grid-template-columns: repeat(3, max-content);
    gap: 12px;
    margin-top: 8px;
}
.contact-links a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 4px 0;
    color: var(--muted);
}

.library-layout,
.article-layout {
    padding: 42px 0 24px;
}

.library-hero,
.library-toolbar,
.library-card,
.library-empty,
.article-shell,
.related-section,
.library-stat-card,
.article-source {
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.library-hero,
.library-toolbar,
.library-grid,
.library-meta,
.article-meta,
.article-topline,
.pagination {
    display: grid;
}

.library-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 18px 22px;
    margin-bottom: 22px;
    padding: 24px 28px;
    align-items: start;
    background:
        radial-gradient(circle at top left, rgba(187, 109, 71, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255, 251, 245, 0.92), rgba(248, 240, 229, 0.72));
}

.library-hero h1,
.article-header h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.library-hero h1 {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    max-width: 12ch;
    line-height: 0.98;
}

.library-hero-copy {
    display: grid;
    align-content: center;
    gap: 10px;
}

.library-hero-copy .hero-text {
    max-width: 42ch;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.65;
}

.library-hero-stats,
.library-filters,
.library-search,
.library-card-topline,
.article-topline,
.article-source,
.library-hero-actions,
.library-hero-panel,
.library-orbit,
.library-search-shell {
    display: flex;
}

.library-hero-actions {
    flex-wrap: wrap;
    gap: 14px;
}

.library-hero-actions .button {
    min-width: 170px;
    min-height: 48px;
    padding: 0 20px;
}

.library-hero-panel {
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.library-orbit {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.library-stat-card {
    min-width: 112px;
    display: grid;
    align-content: end;
    gap: 6px;
    padding: 16px 16px 12px;
    background: rgba(255, 255, 255, 0.62);
    border-radius: 28px;
    border: 1px solid rgba(31, 42, 40, 0.08);
}

.library-stat-card-accent {
    background: linear-gradient(155deg, rgba(187, 109, 71, 0.96), rgba(221, 150, 107, 0.85));
    color: white;
}

.library-stat-card-accent span {
    color: rgba(255, 255, 255, 0.8);
}

.library-stat-card span,
.library-meta,
.article-meta,
.library-card-topline span:last-child {
    color: var(--muted);
}

.library-stat-card strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    line-height: 0.9;
}

.library-stat-card span {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.library-hero-note {
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border: 1px solid rgba(31, 42, 40, 0.08);
    box-shadow: none;
}

.library-hero-note p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.library-toolbar {
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
    gap: 18px;
    margin-bottom: 18px;
    align-items: stretch;
    padding: 22px 24px;
}

.library-toolbar-copy {
    display: grid;
    align-content: start;
    gap: 8px;
}

.library-toolbar-copy h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: none;
}

.library-toolbar-copy p:last-child {
    margin: 0;
    max-width: 30ch;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.library-filter-form {
    display: grid;
    gap: 12px;
}

.library-search-shell {
    align-items: end;
    gap: 12px;
}

.library-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
    gap: 12px;
}

.library-field {
    display: grid;
    gap: 8px;
}

.library-field span {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
}

.library-field-search {
    flex: 1;
}

.filter-chip,
.library-search-shell button,
.pagination a,
.back-link,
.article-source a,
.library-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.filter-chip,
.pagination a,
.back-link,
.article-source a,
.library-reset {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.filter-chip.is-active {
    background: linear-gradient(135deg, var(--ink), #2b3d39);
    color: white;
    border-color: var(--ink);
}

.library-search {
    gap: 10px;
}

.library-search input,
.library-field input,
.library-field select {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font: inherit;
    outline: none;
    appearance: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.library-field input:focus,
.library-field select:focus {
    border-color: rgba(187, 109, 71, 0.45);
    box-shadow:
        0 0 0 4px rgba(187, 109, 71, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.library-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(31, 42, 40, 0.72) 50%),
        linear-gradient(135deg, rgba(31, 42, 40, 0.72) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.library-search-shell button {
    min-width: 112px;
    min-height: 50px;
    border: 0;
    background: linear-gradient(135deg, var(--accent), #d5855f);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.library-reset {
    align-self: end;
    color: var(--muted);
    font-weight: 700;
}

.library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.library-card {
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 240, 229, 0.84));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.library-card:hover {
    transform: translateY(-6px);
    border-color: rgba(187, 109, 71, 0.22);
    box-shadow: 0 28px 90px rgba(49, 40, 28, 0.16);
}

.library-card-link {
    display: flex;
    flex-direction: column;
}

.library-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 0;
    background: linear-gradient(135deg, rgba(187, 109, 71, 0.34), rgba(31, 42, 40, 0.14));
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

.library-card-media img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 22px;
    transition: transform 0.4s ease;
}

.library-card:hover .library-card-media img {
    transform: scale(1.02);
}

.library-card-body {
    display: grid;
    gap: 12px;
    padding: 18px 20px 20px;
}

.library-card-featured {
    border-color: rgba(187, 109, 71, 0.18);
}

.library-card-featured .library-card-body {
    background:
        radial-gradient(circle at top right, rgba(187, 109, 71, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 245, 0.88), rgba(246, 236, 225, 0.96));
}

.library-card h2,
.library-card h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-family: "Cormorant Garamond", serif;
}

.library-card h2 a,
.library-card h3 a {
    text-decoration: none;
}

.library-card-topline {
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    align-items: center;
}

.library-kind {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.library-summary,
.article-summary,
.article-body {
    font-size: 1.02rem;
    line-height: 1.8;
}

.library-summary {
    margin: 0;
    color: rgba(31, 42, 40, 0.84);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.library-meta,
.article-meta {
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    gap: 10px 16px;
    font-size: 0.95rem;
}

.library-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.library-link::after {
    content: "↗";
    font-size: 1rem;
}

.library-empty {
    grid-column: 1 / -1;
    text-align: center;
}

.pagination {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.article-layout {
    display: grid;
    gap: 24px;
}

.article-shell {
    display: grid;
    gap: 24px;
}

.article-topline {
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.article-date {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.article-header {
    display: grid;
    gap: 16px;
}

.article-header h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    max-width: 15ch;
}

.article-summary {
    max-width: 54ch;
    margin: 0;
}

.article-cover {
    overflow: hidden;
    border-radius: 28px;
}

.article-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 28px 0 12px;
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
    margin: 0 0 18px;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    margin: 8px 0 22px;
}

.article-body a,
.article-source a,
.library-link {
    color: var(--accent);
}

.article-source {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.related-section {
    display: grid;
    gap: 10px;
}

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

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .site-header,
    .hero,
    .story-grid,
    .format-grid,
    .teacher-grid,
    .schedule-grid,
    .pricing-grid,
    .testimonial-grid,
    .contact-card,
    .library-hero,
    .library-toolbar,
    .library-grid,
    .related-grid { grid-template-columns: 1fr; }
    .site-header { border-radius: 28px; position: sticky; top: 10px; }
    .site-nav { display: none; }
    .site-header-home {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .site-header-home .brand {
        width: max-content;
        min-width: auto;
        flex: 0 0 auto;
        gap: 0;
    }
    .site-header-home .nav-cta {
        display: none;
    }
    .site-header-home .brand-text {
        display: none;
    }
    .site-header-home .mobile-quick-nav {
        display: flex;
        flex: 1 1 auto;
        gap: 8px;
        overflow-x: auto;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 2px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .site-header-home .mobile-quick-nav::-webkit-scrollbar {
        display: none;
    }
    .site-header-home .mobile-quick-link {
        flex: 0 0 auto;
    }
    .site-header-home .brand-mark-icon {
        display: block;
    }
    .hero-copy h1,
    .section-heading h2,
    .contact-card h2,
    .library-hero h1,
    .article-header h1 { max-width: none; }
    .hero-visual { min-height: 540px; }
    .hero-panel-main { inset: 0 80px 120px 0; }
    .hero-panel-side { width: 200px; height: 240px; }
    .hero-points { grid-template-columns: 1fr; }
    .pagination { grid-template-columns: 1fr; }
    .library-toolbar-copy h2,
    .library-toolbar-copy p:last-child { max-width: none; }
}

@media (max-width: 720px) {
    .page-shell { width: min(100% - 20px, 1280px); padding-top: 10px; }
    .site-header { padding: 14px; }
    .site-header-home {
        gap: 10px;
    }
    .brand-mark-icon {
        display: block;
        width: 40px;
        height: 40px;
        padding: 7px;
        border-radius: 14px;
    }
    .brand-text {
        display: none;
    }
    .hero { padding-top: 28px; }
    .hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
    .hero-actions { grid-template-columns: 1fr; }
    .button,
    .nav-cta { width: 100%; }
    .hero-visual { min-height: 420px; }
    .hero-panel-main { inset: 0 50px 120px 0; }
    .hero-panel-side { width: 150px; height: 180px; }
    .hero-note {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 0;
    }
    .site-footer { flex-direction: column; }
    .library-search { flex-direction: column; }
    .article-topline { grid-template-columns: 1fr; }
    .library-search-shell button { width: 100%; }
    .library-hero-actions .button { min-width: 0; width: 100%; }
    .library-orbit { display: grid; grid-template-columns: 1fr; }
    .library-card h2,
    .library-card h3 { font-size: 1.5rem; }
    .library-card-media img { max-height: 180px; }
    .library-search-shell { flex-direction: column; align-items: stretch; }
    .library-filter-grid { grid-template-columns: 1fr; }
    .library-reset { width: 100%; }
    .site-header-home .mobile-quick-link {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
    .library-hero {
        padding: 20px 18px;
    }
    .library-toolbar {
        padding: 18px;
    }
    .library-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        max-width: none;
    }
    .library-hero-copy .hero-text {
        max-width: none;
    }
    .library-toolbar-copy h2 {
        font-size: 1.7rem;
    }
    .library-stat-card {
        min-width: 0;
    }
}
