@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("../fonts/ibm-plex-serif-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("../fonts/ibm-plex-serif-400i.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("../fonts/ibm-plex-serif-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --paper: #F1E8DC;
    --surface: #FFF8F0;
    --ink: #221C16;
    --mute: #6A5E52;
    --line: #E0D2C2;
    --blue: #1F4B99;
    --blue-ink: #163A78;
    --copper: #B56A3A;
    --warn: #8A3B12;
    --ok: #1F5A38;
    --serif: "IBM Plex Serif", "Palatino Linotype", Palatino, "Times New Roman", serif;
    --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    --wrap: 1120px;
    --narrow: 720px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.125rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover { color: var(--blue-ink); }

h1, h2, h3, h4 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

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

.crumbs { padding: 1.1rem 0 0; font-family: var(--sans); font-size: 0.82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem; list-style: none; margin: 0; padding: 0; color: var(--mute); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.55rem; color: var(--line); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

.skip {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 0.8rem;
    z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
    width: min(calc(100% - 2.5rem), var(--wrap));
    margin-inline: auto;
}

.narrow { width: min(calc(100% - 2.5rem), var(--narrow)); }

.kicker {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 1rem;
}

.lead,
.section-lead {
    font-size: 1.2rem;
    color: var(--mute);
    max-width: 38rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(34, 28, 22, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.25rem;
    gap: 1rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.wordmark em {
    font-style: normal;
    font-weight: 400;
    color: var(--mute);
}

.wordmark-mark { color: var(--blue); display: flex; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--blue); }

.lang-switch {
    border: 1px solid var(--line);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.4rem;
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 1.3rem;
    height: 1.5px;
    background: var(--ink);
    position: relative;
    transition: transform 0.2s ease;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

.hero {
    position: relative;
    min-height: min(86vh, 780px);
    display: flex;
    align-items: end;
    padding: 6.5rem 0 3.4rem;
    color: #F8F1E8;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 50%;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 14, 9, 0.72) 0%, rgba(22, 14, 9, 0.38) 46%, rgba(22, 14, 9, 0.08) 100%),
        linear-gradient(180deg, rgba(22, 14, 9, 0.08) 0%, rgba(22, 14, 9, 0.12) 50%, rgba(22, 14, 9, 0.38) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: 2.2rem;
    align-items: end;
    width: min(calc(100% - 2.5rem), var(--wrap));
}

.hero-copy h1 { color: #FFF8F0; }

.hero-copy .lead {
    color: #E8D9C8;
    max-width: 36rem;
}

.kicker-on-photo { color: #E7B48A; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.btn-on-photo {
    border-color: #FFF8F0;
    color: #221C16;
    background: #FFF8F0;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.btn-on-photo:hover {
    background: #E7B48A;
    border-color: #E7B48A;
    color: #221C16;
}

.hero-stack {
    display: grid;
    gap: 0.85rem;
}

.hero-stack figure,
.studio-strip figure,
.split-photo,
.service-photo,
.refs-panel img,
.empty-photo img,
.page-hero-photo img {
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
}

.hero-stack img,
.studio-strip img,
.split-photo img,
.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stack figure {
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(20, 12, 6, 0.28);
}

.hero-stack img { height: 168px; }

.hero-stack figcaption,
.studio-strip figcaption {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.55rem 0.75rem 0.7rem;
    color: var(--mute);
    background: var(--surface);
}

.studio-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.studio-strip figure { background: var(--surface); }

.studio-strip img {
    height: 230px;
    filter: saturate(1.05);
}

.section-warm { background: color-mix(in srgb, var(--copper) 8%, var(--paper)); }

.section-split { background: var(--surface); }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
}

.split-layout.invert { align-items: start; }

.split-photo img {
    height: min(34rem, 70vw);
    box-shadow: 0 16px 36px rgba(34, 28, 22, 0.12);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0 1.1rem;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.btn:hover { background: var(--ink); color: var(--paper); }

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-ink);
    border-color: var(--blue-ink);
    color: #fff;
}

.btn-ghost { background: var(--surface); }

.hero .btn.btn-on-photo {
    background: #FFF8F0;
    border: 2px solid #FFF8F0;
    color: #1A140F;
    font-weight: 700;
    min-height: 3rem;
    padding: 0 1.35rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero .btn.btn-on-photo:hover {
    background: #E7B48A;
    border-color: #E7B48A;
    color: #1A140F;
}

.text-link {
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 500;
}

.section { padding: 5rem 0; }

.section-ruled { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 2.4rem; max-width: 40rem; }

.section-head.split {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    max-width: none;
}

.service-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    background: var(--surface);
    padding: 0;
    min-height: 14rem;
    display: flex;
    flex-direction: column;
}

.service-card.is-featured {
    grid-row: span 2;
}

.service-photo { height: 150px; }

.service-card.is-featured .service-photo { height: 230px; }

.service-body { padding: 1.25rem 1.35rem 1.5rem; }

.service-uses {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.service-uses li { margin: 0.28rem 0; }

.service-card .idx,
.step .idx {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--blue);
    display: block;
    margin-bottom: 1rem;
}

.steps {
    display: grid;
    gap: 1.2rem;
}

.step {
    padding-top: 1rem;
    border-top: 1px solid var(--ink);
}

.card-list { display: grid; gap: 1rem; }

.seminar-card,
.refs-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.5rem 1.6rem;
}

.refs-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.refs-panel img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
}

.refs-panel > div { padding: 1.8rem 1.7rem; }

.ref-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
}

.ref-card {
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ref-card.is-featured {
    grid-column: 1 / -1;
    display: block;
}

.ref-gallery {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 0;
    background: #1A1612;
}

.ref-gallery figure {
    margin: 0;
    background: #1A1612;
}

.ref-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    background: #f4f6f8;
}

.ref-gallery figcaption {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C9B8A6;
    padding: 0.45rem 0.7rem 0.6rem;
}

.ref-points {
    margin: 0.9rem 0 0;
    padding-left: 1.1rem;
}

.ref-points li {
    margin: 0.25rem 0;
}

.ref-photo {
    min-height: 11rem;
    background: #1A1612;
    overflow: hidden;
}

.ref-photo img {
    width: 100%;
    height: 100%;
    min-height: 11rem;
    object-fit: cover;
}

.ref-card.is-featured .ref-photo,
.ref-card.is-featured .ref-photo img { min-height: 16rem; }

.ref-photo.is-sprite {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 40%, #3A342C, #161310 70%);
}

.ref-photo.is-sprite img {
    width: auto;
    height: 7.5rem;
    min-height: 0;
    object-fit: contain;
    image-rendering: pixelated;
}

.ref-photo.is-contain {
    background: #111;
}

.ref-photo.is-contain img {
    object-fit: contain;
    padding: 1.2rem;
}

.ref-body { padding: 1.15rem 1.2rem 1.35rem; }

.ref-card.is-featured .ref-body {
    padding: 1.6rem 1.7rem 1.8rem;
    max-width: 52rem;
}

.ref-tag {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
    margin: 0 0 0.45rem;
}

.refs-note {
    margin-top: 1.6rem;
    color: var(--mute);
    font-style: italic;
    max-width: 38rem;
}

.seminar-card.is-cancelled { opacity: 0.72; }

.seminar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    align-items: center;
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--mute);
    margin-bottom: 0.8rem;
}

.pill {
    border: 1px solid var(--line);
    padding: 0.1rem 0.45rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.pill-warn { border-color: var(--warn); color: var(--warn); }

.news-list { display: grid; }

.news-row {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.news-row time {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--mute);
}

.news-row h3 a {
    color: var(--ink);
    text-decoration: none;
}

.news-row h3 a:hover { color: var(--blue); }

.empty {
    border: 1px dashed var(--line);
    padding: 1.4rem;
    color: var(--mute);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.empty-photo {
    padding: 0;
    overflow: hidden;
}

.empty-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.empty-photo p { padding: 1rem 1.2rem 1.2rem; }

.page-hero { padding: 4rem 0 1rem; }

.page-hero.has-photo {
    position: relative;
    min-height: 18rem;
    display: flex;
    align-items: end;
    padding: 5rem 0 2.2rem;
    color: #F8F1E8;
    overflow: hidden;
}

.page-hero.has-photo .page-hero-photo {
    position: absolute;
    inset: 0;
}

.page-hero.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero.has-photo .page-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 14, 9, 0.78), rgba(22, 14, 9, 0.28));
}

.page-hero.has-photo .wrap { position: relative; z-index: 1; }

.page-hero.has-photo h1 { color: #FFF8F0; }

.page-hero.has-photo .lead,
.page-hero.has-photo .fallback-note,
.page-hero.has-photo .fact-list dd { color: #E8D9C8; }

.page-hero.has-photo .kicker a { color: #E7B48A; }

.page-hero.has-photo .pill {
    border-color: rgba(248, 241, 232, 0.4);
    color: #F8F1E8;
}

.page-hero.has-photo .fact-list dt { color: #E7B48A; }

.page-hero .kicker a { color: inherit; }

.fact-list {
    display: grid;
    gap: 1.2rem;
    margin: 2rem 0 0;
}

.fact-list dt {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.fact-list dd { margin: 0; }

.prose { max-width: 40rem; }

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose code {
    font-family: var(--sans);
    font-size: 0.9em;
    background: color-mix(in srgb, var(--line) 40%, var(--surface));
    padding: 0.05em 0.3em;
}

.fallback-note {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--mute);
}

.stack-form {
    display: grid;
    gap: 1rem;
}

.stack-form label,
.stack-form fieldset {
    display: grid;
    gap: 0.35rem;
    border: 0;
    padding: 0;
    margin: 0;
}

.stack-form span,
.stack-form legend {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}

.stack-form input,
.stack-form textarea,
.stack-form select {
    font: inherit;
    font-family: var(--sans);
    font-size: 1rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    width: 100%;
}

.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
    outline: 2px solid color-mix(in srgb, var(--blue) 35%, transparent);
    border-color: var(--blue);
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.check {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    gap: 0.7rem !important;
}

.check input { width: auto; margin-top: 0.3rem; }

.field-error { color: var(--warn); font-family: var(--sans); font-size: 0.85rem; font-style: normal; }

.notice {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    margin-bottom: 1.2rem;
}

.notice.is-ok { border-color: var(--ok); color: var(--ok); }
.notice.is-error { border-color: var(--warn); color: var(--warn); }

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.mail-at { color: var(--mute); font-family: var(--sans); }

.g-recaptcha { margin: 0.2rem 0 0.4rem; }

.pager { display: flex; gap: 0.4rem; margin-top: 2rem; }

.pager a {
    font-family: var(--sans);
    min-width: 2.2rem;
    text-align: center;
    border: 1px solid var(--line);
    padding: 0.3rem;
    text-decoration: none;
    color: var(--ink);
}

.pager a.is-active { background: var(--ink); color: var(--paper); }

.refs-panel h2 { max-width: 16ch; }

.section-contact {
    position: relative;
    padding: 5.5rem 0;
    color: #F8F1E8;
    overflow: hidden;
}

.contact-photo {
    position: absolute;
    inset: 0;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 14, 9, 0.82), rgba(22, 14, 9, 0.45));
}

.contact-band {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
}

.section-contact .section-lead,
.section-contact h2 { color: #F8F1E8; }

.section-contact a { color: #E7B48A; }

.contact-facts {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    font-family: var(--sans);
}

.fund {
    background:
        radial-gradient(1100px 480px at 82% -8%, rgba(31, 75, 153, 0.32), transparent 58%),
        #1A1612;
    color: #F8F1E8;
    padding: 4.6rem 0;
}

.fund-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 2.4rem;
    align-items: center;
}

.fund h2 { color: #FFF8F0; }

.fund .lead {
    color: #E8D9C8;
    max-width: 38rem;
}

.fund-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fund-stats.is-dark {
    background: rgba(248, 241, 232, 0.14);
    border: 1px solid rgba(248, 241, 232, 0.14);
}

.fund-stats.is-light {
    background: var(--line);
    border: 1px solid var(--line);
}

.fund-stat {
    padding: 1.15rem 1.2rem 1.25rem;
    min-height: 7.2rem;
}

.fund-stats.is-dark .fund-stat { background: #14110E; }

.fund-stats.is-light .fund-stat { background: var(--surface); }

.fund-stat b {
    font-family: var(--sans);
    font-size: clamp(1.55rem, 3.5vw, 2.15rem);
    letter-spacing: -0.04em;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.45rem;
}

.fund-stats.is-dark .fund-stat b { color: #E7B48A; }

.fund-stats.is-light .fund-stat b { color: var(--blue); }

.fund-stat span {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    display: block;
    line-height: 1.35;
}

.fund-stats.is-dark .fund-stat span { color: #C9B8A6; }

.fund-stats.is-light .fund-stat span { color: var(--mute); }

.btn-on-dark {
    border-color: rgba(248, 241, 232, 0.5);
    color: #F8F1E8;
    background: transparent;
}

.btn-on-dark:hover {
    background: #FFF8F0;
    color: #221C16;
    border-color: #FFF8F0;
}

.fund-source {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: #A89888;
    margin: 1.4rem 0 0;
    max-width: 36rem;
}

.fund-source a { color: #E7B48A; }

.fund-note {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    padding: 1.4rem 1.5rem 1.5rem;
    margin: 0 0 2rem;
}

.fund-note h2 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.fund-note p:last-of-type { margin-bottom: 0; }

.service-funding { margin: 0.9rem 0 0; }

.funding-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.4rem;
    align-items: start;
}

.funding-aside {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.5rem 1.55rem 1.7rem;
}

.funding-aside h2 { font-size: 1.2rem; }

.funding-rules {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.funding-rules li { margin: 0.35rem 0; }

.funding-disclaimer {
    background: color-mix(in srgb, var(--copper) 8%, var(--surface));
    border: 1px solid var(--line);
    padding: 1.5rem 1.55rem;
}

.funding-disclaimer h2 { font-size: 1.15rem; }

.funding-disclaimer p {
    margin: 0;
    color: var(--mute);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.4rem 0 3rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-tag { color: var(--mute); margin: 0.4rem 0 0; }

.footer-meta {
    display: grid;
    gap: 0.35rem;
    justify-items: end;
    text-align: right;
}

.footer-meta p { margin: 0.6rem 0 0; color: var(--mute); font-size: 0.88rem; }

.photo-credit { font-size: 0.78rem !important; }

.footer-meta .linkish,
button.linkish,
button.text-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--blue);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-root {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 1rem;
}

.cookie-root.is-open { display: block; }

.cookie-panel {
    width: min(100%, 52rem);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 -8px 40px rgba(34, 28, 22, 0.12);
    padding: 1.2rem 1.3rem 1.25rem;
}

.cookie-panel h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }

.cookie-panel p { margin: 0 0 0.8rem; color: var(--mute); font-size: 0.98rem; }

.cookie-details { display: grid; gap: 0.45rem; margin: 0 0 1rem; }

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-actions .btn { flex: 1 1 8rem; }

@media (max-width: 700px) {
    .cookie-actions { flex-direction: column; }
}

@media (max-width: 900px) {
    .hero-grid,
    .service-grid,
    .steps,
    .news-row,
    .contact-band,
    .form-split,
    .section-head.split,
    .studio-strip,
    .split-layout,
    .refs-panel,
    .ref-grid,
    .ref-card.is-featured,
    .ref-gallery,
    .fund-grid,
    .funding-grid {
        grid-template-columns: 1fr;
    }

    .ref-gallery img { height: 180px; }

    .service-card.is-featured { grid-row: auto; }
    .news-row { gap: 0.4rem; }
    .hero { padding-top: 4.5rem; min-height: 0; }
    .hero-stack { grid-template-columns: 1fr 1fr; }
    .hero-stack img,
    .studio-strip img,
    .split-photo img { height: 180px; }
    .service-photo,
    .service-card.is-featured .service-photo { height: 160px; }

    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 4.25rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem 1.4rem;
        gap: 0.9rem;
    }

    .site-nav.is-open { display: flex; }

    .footer-meta { justify-items: start; text-align: left; }
}

.faq-list {
    display: grid;
    gap: 0.9rem;
    max-width: 46rem;
}

.faq-item {
    border-top: 1px solid var(--line);
    padding: 0.9rem 0 0.2rem;
}

.faq-item h3 {
    font-size: 1.08rem;
    margin: 0 0 0.35rem;
}

.faq-item p {
    margin: 0;
    color: var(--mute);
}

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