.site-home {
    --gold: #c9a77b;
    --gold-light: #e9d4b1;
    --gold-dark: #8f6d49;
    --page: #111713;
    --surface: #19211c;
    --surface-raised: #202a23;
    --text: #f0ece2;
    --muted: #a8ada2;
    --line: rgba(235, 232, 221, .14);
    --line-strong: rgba(235, 232, 221, .24);
    --shadow: 0 18px 42px rgba(0, 0, 0, .18);
    background:
        radial-gradient(ellipse at 84% 0, rgba(132, 148, 121, .08), transparent 36rem),
        var(--page);
    color: var(--text);
}

.site-home.light {
    --gold: #b58b5b;
    --gold-light: #71502f;
    --gold-dark: #6d4c2d;
    --page: #f2efe7;
    --surface: #f9f7f0;
    --surface-raised: #fffdf7;
    --text: #252b25;
    --muted: #687168;
    --line: rgba(42, 54, 44, .13);
    --line-strong: rgba(42, 54, 44, .22);
    --shadow: 0 18px 42px rgba(45, 52, 43, .09);
    background:
        radial-gradient(ellipse at 84% 0, rgba(164, 155, 127, .11), transparent 36rem),
        var(--page);
}

.site-home .container {
    width: min(100%, 1320px);
    padding: 22px clamp(18px, 4vw, 56px) 24px;
}

.site-home .header {
    align-items: center;
    gap: 14px 24px;
    margin-bottom: 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
}

.site-home .header::after {
    display: none;
}

.site-home .logo {
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: -.065em;
}

.site-home .logo span {
    color: var(--gold);
}

.site-home .tagline {
    margin-top: 6px;
    color: var(--muted);
    font-size: .58rem;
    letter-spacing: .17em;
}

.site-home .nav {
    justify-content: flex-end;
    gap: 4px clamp(9px, 1.3vw, 18px);
}

.site-home .nav-link {
    position: relative;
    padding: 7px 1px;
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .08em;
    opacity: 1;
    white-space: nowrap;
    transition: color .18s ease;
}

.site-home .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-home .nav-link:hover,
.site-home .nav-link.active {
    color: var(--text);
}

.site-home .nav-link:hover::after,
.site-home .nav-link.active::after {
    transform: scaleX(1);
}

.site-home .theme-btn {
    margin-left: 2px;
    padding: 7px 11px;
    border-color: var(--line-strong);
    border-radius: 99px;
    color: var(--muted);
    font-size: .63rem;
    white-space: nowrap;
}

.site-home .theme-btn:hover {
    border-color: var(--gold);
    color: var(--text);
}

.site-home .hero {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 16px;
    padding: 12px 0 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.site-home .hero::after {
    top: 50%;
    right: clamp(4px, 5vw, 72px);
    width: clamp(140px, 18vw, 238px);
    border-color: rgba(201, 167, 123, .18);
    opacity: .72;
    animation: fitless-orbit 24s linear infinite;
}

.site-home .hero::before {
    right: clamp(44px, 13vw, 180px);
    height: clamp(70px, 11vw, 145px);
    opacity: .42;
}

.site-home .hero-eyebrow {
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: .6rem;
    letter-spacing: .2em;
}

.site-home .hero-main {
    max-width: 880px;
    margin: 0;
    font-size: clamp(3rem, 6.5vw, 6.2rem);
    line-height: .91;
    letter-spacing: -.07em;
}

.site-home .hero-main span {
    position: relative;
    z-index: 1;
}

.site-home .hero-main span + span {
    margin-left: clamp(12px, 3vw, 42px);
}

.site-home .content-pane {
    animation: fitless-pane-in .18s ease both;
}

.site-home .posts-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(172px, auto);
    gap: 12px;
    margin: 0;
}

.site-home .post-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 205px;
    grid-column: span 3;
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 17px 15px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    isolation: isolate;
    animation: fitless-card-in .3s ease both;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-home .post-card:nth-child(9n + 2) { animation-delay: .035s; }
.site-home .post-card:nth-child(9n + 3) { animation-delay: .07s; }
.site-home .post-card:nth-child(9n + 4) { animation-delay: .105s; }
.site-home .post-card:nth-child(9n + 5) { animation-delay: .14s; }
.site-home .post-card:nth-child(9n + 6) { animation-delay: .175s; }
.site-home .post-card:nth-child(9n + 7) { animation-delay: .21s; }
.site-home .post-card:nth-child(9n + 8) { animation-delay: .245s; }
.site-home .post-card:nth-child(9n + 9) { animation-delay: .28s; }

.site-home .post-card:nth-child(9n + 1) {
    min-height: 422px;
    grid-column: span 6;
    grid-row: span 2;
    padding: 176px 25px 22px;
}

.site-home .post-card:not(:nth-child(9n + 1)) {
    min-height: 205px;
    grid-column: span 3;
    grid-row: auto;
    padding: 96px 17px 15px;
}

.site-home .post-card:nth-child(9n + 1)::before {
    height: 100%;
    background:
        linear-gradient(0deg, rgba(14, 22, 18, .91), rgba(14, 22, 18, .28) 58%, rgba(14, 22, 18, .04)),
        radial-gradient(ellipse at 72% 34%, rgba(233, 212, 177, .74) 0 2px, transparent 4px),
        radial-gradient(ellipse at 72% 34%, rgba(233, 212, 177, .22), transparent 30%),
        linear-gradient(155deg, transparent 48%, rgba(235, 232, 221, .22) 48.3% 48.7%, transparent 49%),
        linear-gradient(145deg, #354a3e, #536452 52%, #a18a69);
}

.site-home .post-card::before {
    height: 80px;
    background:
        radial-gradient(ellipse at 73% 68%, rgba(233, 212, 177, .52) 0 2px, transparent 4px),
        radial-gradient(ellipse at 73% 68%, rgba(233, 212, 177, .15), transparent 30%),
        linear-gradient(155deg, transparent 48%, rgba(235, 232, 221, .15) 48.3% 48.7%, transparent 49%),
        linear-gradient(145deg, #293b32, #435247 58%, #70654f);
    transition: transform .3s ease, filter .2s ease;
}

.site-home .post-card:nth-child(3n + 2)::before {
    background:
        radial-gradient(ellipse at 32% 72%, rgba(233, 212, 177, .52) 0 2px, transparent 4px),
        linear-gradient(18deg, transparent 53%, rgba(235, 232, 221, .16) 53.3% 53.8%, transparent 54%),
        linear-gradient(155deg, #3c3b32, #455249 56%, #72664f);
}

.site-home .post-card:nth-child(3n)::before {
    background:
        radial-gradient(ellipse at 78% 36%, rgba(233, 212, 177, .55) 0 2px, transparent 4px),
        linear-gradient(172deg, transparent 56%, rgba(235, 232, 221, .16) 56.3% 56.8%, transparent 57%),
        linear-gradient(145deg, #2c3b3b, #45534a 58%, #78674e);
}

.site-home .post-card:nth-child(9n + 1)::after {
    top: 18px;
    right: 20px;
    color: rgba(250, 245, 232, .72);
    content: counter(field-note, decimal-leading-zero) " / FIELD NOTE";
    font-size: .56rem;
    letter-spacing: .16em;
}

.site-home .post-card::after {
    top: 12px;
    right: 13px;
    color: rgba(250, 245, 232, .75);
    content: counter(field-note, decimal-leading-zero);
    font-size: .55rem;
    letter-spacing: .12em;
}

.site-home .post-card:nth-child(9n + 1) .post-date,
.site-home .post-card:nth-child(9n + 1) .post-excerpt {
    color: rgba(250, 245, 232, .78);
}

.site-home .post-card:nth-child(9n + 1) .post-title {
    max-width: 700px;
    font-size: clamp(1.8rem, 3.2vw, 3.2rem);
    line-height: 1.05;
}

.site-home .post-card:hover {
    z-index: 1;
    border-color: rgba(201, 167, 123, .58);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.site-home .post-card:hover::before {
    filter: brightness(1.06) saturate(1.08);
    transform: scale(1.025);
}

.site-home .post-card:nth-child(9n + 1):hover::before {
    height: 100%;
}

.site-home .post-date {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .58rem;
    letter-spacing: .12em;
}

.site-home .post-title {
    margin-bottom: 6px;
    font-size: clamp(1.02rem, 1.25vw, 1.32rem);
    line-height: 1.2;
    letter-spacing: -.03em;
}

.site-home .post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.site-home .post-excerpt::after {
    content: "";
}

.site-home .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--gold-light);
    font-size: .59rem;
    letter-spacing: .13em;
}

.site-home .read-more-link::after {
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: width .18s ease;
}

.site-home .post-card:hover .read-more-link::after {
    width: 34px;
}

.site-home .pagination {
    gap: 5px;
    margin: 16px 0 0;
}

.site-home .pagination a,
.site-home .pagination button,
.site-home .pagination-dots {
    min-width: 34px;
    padding: 6px 10px;
    border-color: var(--line);
    border-radius: 2px;
    color: var(--muted);
    font-size: .7rem;
}

.site-home .pagination a.active,
.site-home .pagination button.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #1c211c;
}

.site-home #musicPane .streaming-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.site-home .streaming-grid a {
    width: auto;
    min-height: 132px;
    gap: 10px;
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.site-home .streaming-grid a:hover {
    border-color: rgba(201, 167, 123, .58);
    background: var(--surface-raised);
    box-shadow: none;
    transform: translateY(-2px);
}

.site-home .service-logo {
    width: min(138px, 100%);
    height: 42px;
}

.site-home .service-name {
    color: var(--muted);
    font-size: .66rem;
}

.site-home .map-placeholder,
.site-home .about-wrapper {
    max-width: 100%;
    margin: 0;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    box-shadow: none;
}

.site-home .map-placeholder::before {
    height: clamp(90px, 14vw, 150px);
    margin: -20px -20px 18px;
}

.site-home .map-emoji {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.site-home .map-subtitle {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: .62rem;
    letter-spacing: .12em;
}

.site-home .map-text-container {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.02rem, 1.8vw, 1.3rem);
    line-height: 1.55;
}

.site-home .map-text-container p + p {
    margin-top: 10px;
}

.site-home .map-list-container {
    display: grid;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 20px 0 0;
}

.site-home .map-placeholder li {
    margin: 0;
    padding: 10px 6px 10px 22px;
    border-top: 1px solid var(--line);
    font-size: .76rem;
}

.site-home .map-placeholder li::before {
    top: 10px;
    color: var(--gold);
    content: "↗";
}

.site-home .about-wrapper {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    align-items: center;
    gap: 24px clamp(24px, 5vw, 64px);
}

.site-home .about-text {
    max-width: 680px;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.5;
}

.site-home .about-text p + p {
    margin-top: 12px;
}

.site-home .silence-breath {
    min-height: 220px;
    margin: 0;
    border-color: var(--line);
}

.site-home .pulse-circle {
    animation-duration: 8s;
}

.site-home .about-signature {
    grid-column: 1 / -1;
    margin: 0;
}

.site-home .subscribe,
.site-home .social-links,
.site-home .referrals-bar {
    position: relative;
    margin: 18px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.site-home .subscribe::before,
.site-home .social-links::before,
.site-home .referrals-bar::before {
    display: none;
}

.site-home .subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
}

.site-home .subscribe h4,
.site-home .social-links > span,
.site-home .referrals-bar > span {
    color: var(--gold-light);
    font-size: .61rem;
    letter-spacing: .14em;
}

.site-home .subscribe-copy p {
    margin-top: 2px;
    color: var(--muted);
    font-size: .73rem;
}

.site-home .sub-form {
    display: flex;
    width: min(100%, 420px);
    gap: 7px;
}

.site-home .sub-form input {
    min-width: 0;
    padding: 9px 11px;
    border-color: var(--line-strong);
    border-radius: 2px;
    background: var(--page);
    color: var(--text);
    font-size: .74rem;
}

.site-home .sub-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 167, 123, .14);
}

.site-home .sub-form button {
    padding: 9px 13px;
    border-radius: 2px;
    background: var(--gold);
    color: #1c211c;
    font-size: .63rem;
    white-space: nowrap;
}

.site-home .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-home .social-links > span,
.site-home .referrals-bar > span {
    margin-right: 4px;
}

.site-home .social-links a {
    width: 32px;
    height: 32px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 3px;
}

.site-home .social-links a:hover {
    border-color: var(--line);
    background: var(--surface);
}

.site-home .social-icon {
    width: 17px;
    height: 17px;
}

.site-home .referrals-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    text-align: center;
}

.site-home .referrals-bar a {
    margin: 0;
    font-size: .66rem;
}

.site-home .container > footer {
    margin: 18px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .64rem;
    line-height: 1.8;
}

.site-home .container > footer a {
    color: var(--gold-light);
}

.site-home .modal-content {
    border-color: var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
}

.site-home #cookieConsent {
    right: auto;
    bottom: 14px;
    left: 50%;
    width: min(860px, calc(100% - 28px));
    padding: 10px 14px;
    transform: translateX(-50%);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: var(--shadow);
    font-size: .72rem;
}

.site-home .cookieConsent-inner {
    gap: 8px 18px;
}

.site-home .cookieConsent-text span {
    color: var(--gold-light);
    font-size: .72rem;
}

.site-home .cookieConsent-text p {
    margin-top: 2px;
    color: var(--muted);
    font-size: .64rem;
}

.site-home .cookieConsent-buttons {
    gap: 6px;
}

.site-home #acceptCookies,
.site-home #declineCookies {
    padding: 7px 11px;
    border-radius: 2px;
    font-size: .64rem;
    white-space: nowrap;
}

.site-home #acceptCookies {
    background: var(--gold);
    color: #1c211c;
}

.site-home #declineCookies {
    border-color: var(--line-strong);
    color: var(--text);
}

.site-home :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@keyframes fitless-pane-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fitless-card-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fitless-orbit {
    to { rotate: 360deg; }
}

@media (max-width: 980px) {
    .site-home .header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-home .nav {
        justify-content: flex-start;
        gap: 4px 16px;
    }

    .site-home .posts-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: minmax(180px, auto);
    }

    .site-home .post-card {
        grid-column: span 3;
    }

    .site-home .post-card:nth-child(9n + 1) {
        min-height: 350px;
        grid-column: span 6;
        grid-row: auto;
    }

    .site-home .post-card:not(:nth-child(9n + 1)) {
        min-height: 205px;
        grid-column: span 3;
        grid-row: auto;
        padding: 96px 17px 15px;
    }

    .site-home .about-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
    }
}

@media (max-width: 620px) {
    .site-home .container {
        padding: 14px 16px 20px;
    }

    .site-home .header {
        gap: 8px;
        margin-bottom: 8px;
        padding-bottom: 10px;
    }

    .site-home .logo {
        font-size: 1.7rem;
    }

    .site-home .tagline {
        margin-top: 4px;
        font-size: .52rem;
    }

    .site-home .nav {
        width: 100%;
        gap: 2px 13px;
    }

    .site-home .nav-link {
        padding: 5px 0;
        font-size: .6rem;
        letter-spacing: .06em;
    }

    .site-home .theme-btn {
        padding: 5px 8px;
        font-size: .58rem;
    }

    .site-home .hero {
        margin-bottom: 12px;
        padding: 8px 0 14px;
    }

    .site-home .hero::after {
        right: -46px;
        width: 148px;
        opacity: .5;
    }

    .site-home .hero::before {
        right: 28px;
        height: 74px;
    }

    .site-home .hero-eyebrow {
        margin-bottom: 8px;
        font-size: .51rem;
        letter-spacing: .13em;
    }

    .site-home .hero-main {
        font-size: clamp(2.45rem, 10.2vw, 3.7rem);
        line-height: .95;
        letter-spacing: -.075em;
    }

    .site-home .hero-main span + span {
        margin-left: 10px;
    }

    .site-home .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(168px, auto);
        gap: 9px;
    }

    .site-home .post-card {
        min-height: 208px;
        grid-column: span 1;
        padding: 90px 12px 12px;
    }

    .site-home .post-card:nth-child(9n + 1) {
        min-height: 250px;
        grid-column: span 2;
        grid-row: auto;
        padding: 126px 16px 15px;
    }

    .site-home .post-card:not(:nth-child(9n + 1)) {
        min-height: 208px;
        grid-column: span 1;
        grid-row: auto;
        padding: 90px 12px 12px;
    }

    .site-home .post-card::before {
        height: 76px;
    }

    .site-home .post-card:nth-child(9n + 1)::before {
        height: 100%;
    }

    .site-home .post-title {
        font-size: .98rem;
    }

    .site-home .post-card:nth-child(9n + 1) .post-title {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }

    .site-home .post-excerpt {
        font-size: .68rem;
        -webkit-line-clamp: 2;
    }

    .site-home #musicPane .streaming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .site-home .streaming-grid a {
        min-height: 112px;
        padding: 12px 8px;
    }

    .site-home .map-placeholder,
    .site-home .about-wrapper {
        padding: 18px;
    }

    .site-home .map-placeholder::before {
        height: 90px;
        margin: -18px -18px 14px;
    }

    .site-home .map-list-container {
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    .site-home .about-wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-home .about-text {
        font-size: 1.1rem;
    }

    .site-home .silence-breath {
        min-height: 184px;
    }

    .site-home .subscribe {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 13px;
    }

    .site-home .sub-form {
        width: 100%;
    }

    .site-home .social-links {
        flex-wrap: wrap;
        gap: 4px;
    }

    .site-home #cookieConsent {
        bottom: max(8px, env(safe-area-inset-bottom));
        width: calc(100% - 16px);
        padding: 8px 10px;
    }

    .site-home .cookieConsent-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .site-home .cookieConsent-text p {
        font-size: .59rem;
        line-height: 1.35;
    }

    .site-home .cookieConsent-buttons {
        justify-content: flex-end;
    }
}

@media (max-width: 380px) {
    .site-home .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-home .nav {
        gap: 2px 10px;
    }

    .site-home .hero-main {
        font-size: clamp(2.2rem, 10.2vw, 2.7rem);
    }

    .site-home .post-card {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-home *,
    .site-home *::before,
    .site-home *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
