:root {
    --bg: #f7f4ee;
    --surface: #ffffff;
    --ink: #18201d;
    --muted: #65706b;
    --line: #ded8cc;
    --primary: #0f6b4f;
    --primary-dark: #0b513c;
    --accent: #335c81;
    --soft: #ece7dc;
    --shadow: 0 12px 30px rgba(24, 32, 29, 0.08);
    --radius: 8px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

img,
iframe {
    max-width: 100%;
}

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

:focus-visible {
    outline: 3px solid rgba(15, 107, 79, 0.45);
    outline-offset: 3px;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
}

.site-shell {
    width: min(100% - 32px, var(--shell));
    margin-inline: auto;
}

.narrow {
    width: min(100% - 32px, 860px);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(247, 244, 238, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 235px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}

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

.brand small {
    max-width: 360px;
    color: var(--muted);
    font-size: 0.77rem;
    line-height: 1.3;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.main-nav a,
.nav-toggle {
    border-radius: var(--radius);
    padding: 9px 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .is-active {
    background: var(--soft);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.dropdown-menu a {
    display: block;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
}

.hero {
    display: grid;
    min-height: 38vh;
    padding: 46px 0;
    align-items: center;
}

.hero--home {
    min-height: min(70vh, 720px);
    padding: 56px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
}

.hero-copy-wrap {
    max-width: 820px;
}

.kicker,
.tag {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 920px;
    margin: 0;
    font-size: 4.25rem;
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.button-row--card {
    margin-top: auto;
    padding-top: 16px;
}

.btn,
.card-link,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.btn--ghost {
    color: var(--primary);
}

.btn--light {
    background: #fff;
    color: var(--primary-dark);
}

.social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.social-link {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-link svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.profile-image {
    width: 240px;
    max-width: 32vw;
    aspect-ratio: 1 / 1;
}

.profile-image img,
.profile-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.profile-placeholder {
    display: grid;
    place-items: center;
    background: var(--surface);
}

.profile-placeholder span {
    font-size: 3rem;
    font-weight: 700;
}

.section {
    padding: 56px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-head p:last-child {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 16px;
}

.cards--five {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
}

.cards--two {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card,
.panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 20px;
    box-shadow: 0 1px 0 rgba(24, 32, 29, 0.03);
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

a.card {
    display: flex;
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

.card:hover {
    border-color: rgba(15, 107, 79, 0.45);
}

.card p,
.panel p,
.card-meta {
    color: var(--muted);
}

.card-link {
    margin-top: auto;
    padding: 0;
    padding-top: 8px;
    min-height: 0;
    color: var(--primary);
}

.artifact-thumb {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.artifact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artifact-featured-image {
    margin-bottom: 18px;
}

.artifact-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.load-item {
    display: flex;
    min-width: 0;
}

.load-item > .card {
    width: 100%;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 18px;
    align-items: start;
}

.about-grid {
    margin-top: 18px;
}

.panel--muted {
    background: var(--soft);
}

.panel--muted a {
    display: block;
    margin: 8px 0;
}

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

.cta-band {
    padding: 34px 0;
    background: var(--primary);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.site-footer {
    padding: 42px 0 24px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 24px;
}

.footer-grid h2 {
    font-size: 0.95rem;
}

.footer-grid a:not(.brand):not(.social-link) {
    display: block;
    margin: 6px 0;
}

.footer-grid .social-strip {
    margin-top: 16px;
}

.footer-grid .social-link {
    display: grid;
    margin: 0;
    place-items: center;
}

.footer-bottom {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.content-table {
    display: grid;
    gap: 22px;
}

.content-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.content-cell {
    min-width: 0;
    border-radius: var(--radius);
}

.content-cell--artifact {
    padding: 20px;
    background: var(--surface);
}

.embed-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: #111;
}

.section--video {
    padding-top: 44px;
}

.video-shell {
    width: min(100% - 32px, 920px);
}

.video-frame {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    border-radius: var(--radius);
    background: #101614;
    color: #fff;
    text-align: center;
}

.video-frame--empty {
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.video-frame span {
    padding: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.video-admin-note {
    margin: 10px 0 0;
    color: var(--muted);
    text-align: center;
}

.embed-frame:not(.embed-frame--auto) iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-frame--auto {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
}

.embed-frame--auto iframe {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.platform-embed .instagram-media,
.platform-embed .tiktok-embed {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.embed-fallback {
    min-height: 220px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.embed-source {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: #fff;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    margin: 0;
    font-weight: 700;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.is-hidden {
    display: none !important;
}

.entry-content > *:first-child {
    margin-top: 0;
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        padding: 12px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 74px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

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

    .dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        margin: 4px 0 8px 12px;
        border: 0;
        box-shadow: none;
    }

    .hero-inner,
    .split,
    .content-row,
    .footer-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .profile-image {
        width: 190px;
        max-width: 70vw;
    }

    h1 {
        font-size: 3.25rem;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .site-shell,
    .narrow {
        width: min(100% - 24px, var(--shell));
    }

    .hero,
    .hero--home {
        min-height: auto;
        padding: 34px 0;
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.05;
    }

    .section {
        padding: 38px 0;
    }

    .brand small {
        display: none;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
