/* Shared colors and spacing keep the Bootstrap components consistent with the site. */
:root {
    --paper: #f5f5ef;
    --ink: #182c25;
    --muted: #606b63;
    --green: #173d32;
    --lime: #d6ef8d;
    --line: #d8ddd2;
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-body-font-family: Arial, Helvetica, sans-serif;
    --bs-body-line-height: 1.7;
    --bs-link-color: var(--green);
    --bs-link-hover-color: #41745b;
}

[hidden] { display: none !important; }
html { scroll-padding-top: 110px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .22em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #55872c; outline-offset: 5px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 3.2vw, 3.2rem); }
h3 { letter-spacing: -.03em; }
p { text-wrap: pretty; }
.site-container { max-width: 1320px; padding-inline: 40px; }
.section-space { padding-block: 96px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow { font-family: monospace; font-size: .73rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 20px; background: var(--green); color: white; }
.skip-link:focus { top: 12px; }

/* Navigation remains compact while retaining full keyboard and touch access. */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(245, 245, 239, .96); border-bottom: 1px solid var(--line); }
.site-header .navbar { min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.9rem; font-weight: 700; letter-spacing: -.075em; color: var(--ink); text-decoration: none; line-height: 1; }

/* Reuse the original xeolabs mark at its native square aspect ratio. */
.brand-logo {
    display: block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
}
.navbar-brand { margin-right: 0; }
.navbar-nav .nav-link { color: var(--muted); font-size: .9rem; padding-block: 15px; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--ink); }
.navbar-nav .nav-link.active { text-decoration: underline; text-underline-offset: 8px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--ink); flex-shrink: 0; }
.icon-button:hover { background: var(--lime); border-color: var(--lime); }
.icon-button:disabled { opacity: .35; cursor: default; }
.search-trigger { border-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: .88rem; font-weight: 500; border-radius: 4px; padding: 13px 21px; min-height: 48px; }
.btn-dark { --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green); --bs-btn-hover-bg: #285644; --bs-btn-hover-border-color: #285644; --bs-btn-active-bg: #285644; }
.btn-lime { background: var(--lime); color: var(--green); border-color: var(--lime); }
.btn-lime:hover { background: #e3f7b1; border-color: #e3f7b1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; border: 0; color: var(--ink); font-size: .88rem; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.header-contact { min-height: 42px; padding: 10px 16px; }

/* The lead image is a real project capture, with a manual, non-autoplay carousel. */
.hero { padding-top: 72px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero h1 { margin-bottom: 28px; line-height: .99; }
.hero-emphasis { color: #527442; }
.hero-description { color: var(--muted); max-width: 380px; font-size: 1.1rem; line-height: 1.65; margin-bottom: 17px; }
.hero-disciplines { color: var(--muted); font-family: monospace; font-size: .71rem; margin-bottom: 32px; }
.hero-disciplines span { margin-inline: 7px; color: #a0a99b; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-stage { background: #eceee6; border: 1px solid #e0e4d8; border-radius: 6px; overflow: hidden; position: relative; }
.stage-label { display: flex; justify-content: space-between; padding: 21px 23px; font-family: monospace; font-size: .65rem; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; }
.stage-coordinate { color: #7d8c73; }
.hero-image { display: flex; height: 310px; padding: 4px 0; align-items: center; justify-content: center; }
.hero-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stage-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; border-top: 1px solid #dbe0d1; }
.stage-caption .eyebrow { display: block; font-size: .6rem; margin-bottom: 8px; }
.stage-caption a { font-size: .86rem; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.stage-caption a .icon { width: 16px; height: 16px; }
.slide-number { font-family: monospace; font-size: .65rem; color: var(--muted); white-space: nowrap; padding-bottom: 2px; }
.stage-controls { display: flex; justify-content: flex-end; gap: 8px; padding: 0 20px 18px; }
.stage-controls .icon-button { width: 34px; height: 34px; border-color: #c7d0bc; }
.stage-controls .icon { width: 18px; height: 18px; }

/* Restore the original homepage wall, using Bootstrap's responsive columns. */
.collaborations {
    margin-top: clamp(40px, 6vw, 64px);
}

.logo-wall {
    width: 66.6667%;
    padding: 0;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: white;
    list-style: none;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 87px;
    padding: 29px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: white;
}

/* Both square and wide marks must fit fully inside their cells. */
.client-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 67px;
    object-fit: contain;
}

/* Portfolio and writing use distinct layouts so each type of content stays readable. */
.work-section { background: #eeeee7; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading > .text-link { flex-shrink: 0; padding-bottom: 7px; }
.project-image-link { display: block; aspect-ratio: 1.6; background: #e3e6dd; position: relative; overflow: hidden; border-radius: 4px; }
.project-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.project-image-link:hover img { transform: scale(1.025); }
.project-open { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); }
.project-open .icon { width: 17px; height: 17px; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin-block: 20px 9px; font-family: monospace; font-size: .6rem; line-height: 1.6; color: var(--muted); text-transform: uppercase; }
.project-meta span:last-child { white-space: nowrap; }
.project-card h3 { font-size: 1.38rem; line-height: 1.25; margin-bottom: 10px; }
.project-card h3 a { color: var(--ink); text-decoration: none; }
.project-card h3 a:hover { text-decoration: underline; }
.project-card > p { font-size: .88rem; line-height: 1.7; color: var(--muted); margin: 0; }
.expertise-list > div { display: flex; align-items: flex-start; gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); }
.expertise-list > div:first-child { padding-top: 3px; border-top: 0; }
.expertise-list > div:last-child { padding-bottom: 0; }
.item-number { color: #738166; font-family: monospace; font-size: .73rem; padding-top: 6px; }
.expertise-list h3 { font-size: 1.3rem; margin-bottom: 9px; }
.expertise-list p { font-size: .93rem; color: var(--muted); margin: 0; }
.expertise-list .icon { margin-left: auto; width: 20px; }
.about-band { background: var(--green); color: var(--paper); padding-block: 65px; }
.about-band .eyebrow { color: #b6c6ae; }
.about-band h2 { margin-bottom: 20px; }
.about-band p:last-child { color: #cad5c8; font-size: .95rem; max-width: 470px; }
.portrait { width: 190px; border-radius: 5px; filter: grayscale(100%); }
.about-band-action span { display: block; color: #b5c7b7; font-size: .75rem; margin-top: 18px; }
.writing-row { display: flex; gap: 30px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.writing-row:hover { color: #517b43; }
.writing-row h3 { font-size: 1.35rem; margin: 0; flex: 1; }
.writing-date { min-width: 95px; font-family: monospace; font-size: .7rem; color: var(--muted); }
.writing-topic { font-family: monospace; font-size: .7rem; color: var(--muted); }
.contact-band { padding-block: 55px 75px; border-top: 1px solid var(--line); }
.contact-band > div { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contact-band h2 { font-size: clamp(2.5rem, 4.5vw, 4.6rem); margin: 0; }
.contact-circle { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--green); flex-shrink: 0; }
.contact-circle .icon { width: 30px; height: 30px; }

/* Collection controls progressively enhance complete server-rendered lists. */
.page-intro { padding-block: 70px 55px; }
.page-intro h1 { margin-bottom: 28px; }
.page-lead { color: var(--muted); font-size: 1.08rem; line-height: 1.75; max-width: 650px; }
.collection-page { padding-bottom: 95px; }
.collection-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 42px; padding: 8px 17px; background: transparent; border: 1px solid transparent; border-radius: 30px; font-size: .8rem; color: var(--muted); }
.filter-button:hover { border-color: var(--line); }
.filter-button.active { background: var(--green); color: white; }
.collection-search { position: relative; width: 270px; max-width: 100%; }
.collection-search > .icon { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.collection-search .form-control { padding: 10px 14px 10px 41px; font-size: .82rem; background: #fff; border-color: var(--line); border-radius: 4px; }
.form-control:focus { border-color: #779a55; box-shadow: 0 0 0 .2rem rgba(119,154,85,.18); }
.collection-status { display: flex; align-items: center; justify-content: space-between; min-height: 58px; }
.collection-status p, .collection-status button { color: var(--muted); font-size: .76rem; margin: 0; }
.collection-grid { padding-top: 16px; }
.empty-results { text-align: center; padding: 60px 20px; color: var(--muted); }
.collection-pagination { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 22px; padding-top: 50px; }
.collection-pagination span { font-size: .8rem; font-family: monospace; }
.archive-row { display: grid; grid-template-columns: 120px 1fr 44px; gap: 24px; align-items: center; padding-block: 30px; border-bottom: 1px solid var(--line); }
.archive-date { align-self: start; padding-top: 4px; font-family: monospace; font-size: .7rem; color: var(--muted); }
.archive-date span { display: block; margin-top: 7px; font-size: .65rem; }
.archive-row h2 { font-size: 1.48rem; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 9px; }
.archive-row h2 a { text-decoration: none; color: var(--ink); }
.archive-row h2 a:hover { text-decoration: underline; }
.archive-row p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.archive-arrow { color: var(--ink); display: grid; place-items: center; width: 44px; height: 44px; }

/* Long-form material keeps its original examples within a readable text measure. */
.article-page { padding-block: 40px 90px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); text-decoration: none; margin-bottom: 45px; }
.back-link .icon { width: 17px; }
.article-header { max-width: 960px; margin-bottom: 40px; }
.article-header h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.06; margin-bottom: 25px; overflow-wrap: anywhere; }
.article-description { color: var(--muted); font-size: 1.08rem; line-height: 1.7; max-width: 800px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.article-tags a { background: #e7ebdf; border-radius: 30px; padding: 4px 12px; font-family: monospace; font-size: .65rem; color: #566b48; text-decoration: none; }
.metadata-divider { margin-inline: 10px; }
.project-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 25px 50px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; }
.project-facts span { font-family: monospace; text-transform: uppercase; font-size: .65rem; color: var(--muted); }
.project-facts p { font-size: .85rem; margin-bottom: 0; }
.article-cover { background: #e8eae2; margin-bottom: 50px; border-radius: 4px; text-align: center; padding: 24px; }
.article-cover img { max-height: 460px; width: 100%; object-fit: contain; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 75px; }
.article-main { min-width: 0; }
.archive-label, .archive-note { font-size: .78rem; color: var(--muted); margin-bottom: 32px; padding-left: 16px; border-left: 2px solid #a6bc85; }
.archive-note { background: #e9ede2; padding: 18px; }
.prose { color: #344339; font-size: 1rem; line-height: 1.85; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 2rem; margin-block: 48px 20px; color: var(--ink); letter-spacing: -.04em; }
.prose h3 { font-size: 1.35rem; margin-block: 35px 18px; color: var(--ink); }
.prose h4 { font-size: 1.1rem; margin-top: 30px; }
.prose p, .prose ul, .prose ol { margin-bottom: 23px; }
.prose ul, .prose ol { padding-left: 25px; }
.prose li { margin-bottom: 6px; }
.prose a { overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; border-radius: 3px; }
.prose figure { margin: 28px 0; }
.prose pre { background: #192d27; color: #e3ecdc; border-radius: 5px; padding: 24px; font-size: .8rem; line-height: 1.7; overflow-x: auto; max-width: 100%; margin-block: 25px; }
.prose :not(pre) > code { font-size: .85em; background: #e8ece1; color: #37582f; padding: .12em .3em; border-radius: 3px; }
.prose blockquote { border-left: 3px solid #a0bd7d; padding-left: 22px; color: var(--muted); }
.prose hr { margin-block: 35px; border-color: var(--line); opacity: 1; }
.article-sidebar { min-width: 0; }
.contents-panel { position: sticky; top: 120px; border-top: 1px solid var(--line); padding-top: 17px; }
.contents-panel summary { font-size: .76rem; font-weight: 600; margin-bottom: 18px; cursor: pointer; }
.contents-panel ol { list-style: none; padding: 0; margin: 0; max-height: 55vh; overflow: auto; }
.contents-panel li { font-size: .73rem; line-height: 1.5; margin-bottom: 12px; }
.contents-panel li.nested { padding-left: 13px; }
.contents-panel a { color: var(--muted); text-decoration: none; }
.contents-panel a:hover { color: var(--green); text-decoration: underline; }
.sidebar-contact { display: block; padding: 20px; margin-top: 35px; background: #e8eddc; color: var(--green); font-size: .83rem; text-decoration: none; }
.sidebar-contact .icon { float: right; width: 17px; }
.sidebar-contact span { display: block; margin-top: 10px; font-weight: 600; }
.article-signoff { display: flex; align-items: center; gap: 15px; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); font-size: .86rem; }
.article-signoff img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.article-signoff strong, .article-signoff span { display: block; }
.article-signoff span { font-size: .75rem; color: var(--muted); }
.media-embed { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: #e4e9dc; border: 1px solid #d5ddc9; margin-block: 25px; border-radius: 4px; }
.media-embed iframe { width: 100%; height: 100%; border: 0; }
.embed-button { border: 0; background: transparent; color: var(--green); font-size: .85rem; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; }
.play-symbol { font-size: 2.6rem; line-height: 1; }

/* Supporting pages share the same typography and content boundaries. */
.about-page { padding-bottom: 85px; }
.about-portrait { width: 100%; max-width: 320px; border-radius: 5px; filter: grayscale(100%); }
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 85px; }
.about-body > aside { border-top: 1px solid var(--line); padding-top: 20px; }
.about-body > aside > a { display: flex; justify-content: space-between; gap: 15px; font-size: .8rem; padding-block: 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.about-body > aside > a .icon { width: 17px; }
.contact-page { padding-block: 90px; }
.contact-page h1 { margin-bottom: 30px; }
.email-address {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 35px;
}
.contact-aside { padding-top: 5px; }
.contact-aside > img { width: 145px; border-radius: 5px; filter: grayscale(100%); margin-bottom: 22px; }
.contact-aside h2 { font-size: 1.5rem; }
.contact-aside p { color: var(--muted); font-size: .85rem; }
.contact-aside > a { display: flex; align-items: center; gap: 15px; font-size: .85rem; text-decoration: none; margin-top: 13px; }
.contact-note { display: flex; gap: 45px; border-top: 1px solid var(--line); padding-top: 30px; margin-top: 65px; }
.contact-note .eyebrow { flex-shrink: 0; padding-top: 5px; }
.contact-note > p:last-child { font-size: .9rem; color: var(--muted); max-width: 600px; }
.testimonials-page { padding-bottom: 90px; }
.testimonial-list { max-width: 920px; }
.testimonial-list figure { padding-block: 35px; border-top: 1px solid var(--line); margin: 0; }
.testimonial-list blockquote { font-size: clamp(1.2rem, 2.3vw, 1.8rem); line-height: 1.5; letter-spacing: -.025em; }
.testimonial-list figcaption { font-size: .85rem; margin-top: 22px; }
.testimonial-list figcaption strong, .testimonial-list figcaption span { display: block; }
.testimonial-list figcaption span { color: var(--muted); font-size: .78rem; }
.feedback-section { margin-top: 55px; padding: 35px; background: #e8ecde; }
.feedback-section h2 { font-size: 1.8rem; }
.feedback-section p { color: var(--muted); font-size: .9rem; }
[data-feedback-container] { margin-top: 25px; }
.not-found { padding-block: 90px 130px; }
.not-found .page-lead { margin-block: 25px 35px; }

/* Footer and search avoid dependencies on remote fonts, scripts or icon services. */
.site-footer { background: #e9ece1; border-top: 1px solid var(--line); padding-block: 50px 23px; }
.footer-top { display: flex; align-items: flex-start; gap: 65px; padding-bottom: 40px; }
.footer-top > p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin: 0; }
.footer-links { margin-left: auto; display: flex; gap: 27px; }
.footer-links > a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); font-size: .8rem; text-decoration: none; }
.footer-links .icon { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid #d2d9c8; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .67rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.modal-content { background: var(--paper); border: 0; border-radius: 8px; }
.modal-header, .modal-body { padding: 25px; }
.modal-header { border-color: var(--line); }
.modal-header h2 { letter-spacing: -.025em; }
.search-input { padding: 14px 18px; background: white; border-color: var(--line); }
.search-status { font-size: .8rem; color: var(--muted); margin-block: 18px; }
.search-result { display: block; border-top: 1px solid var(--line); padding-block: 16px; text-decoration: none; color: var(--ink); }
.search-result h3 { font-size: 1.1rem; margin-bottom: 6px; }
.search-result p { font-size: .8rem; color: var(--muted); margin-bottom: 0; }
.search-result > span { display: block; font-family: monospace; text-transform: uppercase; font-size: .63rem; color: #6b7f56; margin-bottom: 7px; }

/* Each breakpoint adapts the same document, without separate mobile content. */
@media (min-width: 1440px) {
    .hero h1 { font-size: 6.8rem; }
    .hero-image { height: 345px; }
}
@media (max-width: 1199px) {
    .site-container { padding-inline: 30px; }
    .hero-actions { gap: 20px; }
    .hero-actions .text-link { font-size: .8rem; }
    .hero-description { font-size: 1rem; }
    .article-layout { gap: 45px; }
}
@media (max-width: 991px) {
    .hero { padding-top: 50px; }
    .hero-copy { padding-right: 0; }
    .hero h1 { font-size: 5rem; }
    .hero-description { max-width: 500px; }
    .hero-stage { max-width: 660px; }
    .hero-image { height: 330px; }
    .section-space { padding-block: 65px; }
    .project-meta { flex-direction: column; gap: 2px; }
    .article-layout, .about-body { grid-template-columns: minmax(0, 1fr) 195px; gap: 30px; }
    .contact-aside { margin-top: 20px; }
    .footer-top { gap: 35px; }
    .footer-links { gap: 18px; }
}
@media (max-width: 767px) {
    .site-container { padding-inline: 22px; }
    .logo-wall {
        width: 100%;
    }
    .site-header .navbar { min-height: 75px; }
    .navbar-collapse { padding-bottom: 15px; }
    .navbar-nav .nav-link { padding-block: 10px; }
    .brand { font-size: 1.8rem; }
    .brand-logo {
        width: 40px;
        height: 40px;
    }
    .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4.5rem); }
    .hero-copy { padding-right: calc(var(--bs-gutter-x) * .5); }
    .hero .eyebrow { font-size: .61rem; }
    .hero-image { height: 270px; }
    .hero-actions { gap: 18px; }
    .hero-actions > .btn { padding-inline: 17px; }
    .section-heading { display: block; margin-bottom: 32px; }
    .section-heading > .text-link { margin-top: 20px; }
    .project-meta { flex-direction: row; }
    .project-card { margin-bottom: 15px; }
    .project-card h3 { font-size: 1.45rem; }
    .expertise-list > div { gap: 18px; }
    .about-band { padding-block: 45px; }
    .portrait { width: 135px; }
    .writing-row { gap: 16px; flex-wrap: wrap; }
    .writing-date { width: 100%; }
    .writing-row h3 { font-size: 1.2rem; }
    .writing-topic { display: none; }
    .contact-circle { width: 56px; height: 56px; }
    .contact-band { padding-block: 35px 50px; }
    .page-intro { padding-block: 45px 35px; }
    .page-intro h1 { font-size: clamp(3rem, 9vw, 4.5rem); }
    .page-lead { font-size: 1rem; }
    .collection-tools { flex-direction: column; align-items: stretch; gap: 16px; }
    .collection-search { width: 100%; }
    .filter-button { padding-inline: 14px; }
    .archive-row { grid-template-columns: 1fr 32px; gap: 10px; }
    .archive-date { grid-column: 1 / -1; display: flex; gap: 18px; }
    .archive-date span { margin: 0; }
    .archive-row h2 { font-size: 1.35rem; }
    .article-layout, .about-body { display: flex; flex-direction: column; gap: 25px; }
    .article-sidebar { order: -1; }
    .contents-panel { position: static; }
    .contents-panel ol { max-height: 220px; }
    .sidebar-contact { display: none; }
    .article-cover { padding: 10px; margin-bottom: 30px; }
    .article-header h1 { font-size: clamp(2.5rem, 8vw, 3.8rem); }
    .article-description { font-size: 1rem; }
    .prose { font-size: .95rem; }
    .prose pre { padding: 18px; font-size: .72rem; }
    .about-portrait { max-width: 220px; }
    .about-body > aside { order: 0; }
    .contact-page { padding-block: 50px; }
    .contact-page h1 { font-size: 4rem; }
    .contact-note { display: block; margin-top: 40px; }
    .footer-top { flex-wrap: wrap; gap: 25px 40px; }
    .footer-links { width: 100%; margin-left: 0; }
    .footer-bottom { flex-direction: column; }
    .modal-header, .modal-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
