@charset "UTF-8";

@font-face {
    font-family: 'Outfit Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/theme/font/outfit-variable-ext.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/theme/font/outfit-variable.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('/theme/font/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-display: swap;
    font-weight: 400;
    src: url('/theme/font/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('/theme/font/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-display: swap;
    font-weight: 500;
    src: url('/theme/font/cormorant-garamond-latin-500-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('/theme/font/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}

:root {
    --bg: #0b0906;
    --bg-strong: #090705;
    --panel: rgba(22, 16, 11, 0.78);
    --panel-strong: rgba(28, 21, 14, 0.94);
    --ink: #f0e8dc;
    --muted: #b3a392;
    --muted-soft: rgba(240, 232, 220, 0.62);
    --line: rgba(240, 232, 220, 0.1);
    --accent: #c87941;
    --accent-soft: #e6a674;
    --accent-2: #7ca8d4;
    --accent-3: #7dcfaf;
    --shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
    --radius: 24px;
}

html {
    font-size: 18px;
    background: var(--bg);
    color: var(--ink);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Outfit Variable', 'Avenir Next', 'Segoe UI', sans-serif;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(200, 121, 65, 0.14), transparent 40%),
        radial-gradient(ellipse at 85% 6%, rgba(124, 168, 212, 0.11), transparent 34%),
        radial-gradient(ellipse at 50% 100%, rgba(125, 207, 175, 0.08), transparent 32%),
        linear-gradient(180deg, #110d09 0%, var(--bg) 48%, var(--bg-strong) 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 28%, transparent 80%);
}

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

.page-chrome {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 18%, transparent 82%, rgba(255,255,255,0.02));
    mask-image: linear-gradient(180deg, black, transparent 20%, transparent 80%, black);
}

.shell {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(11, 9, 6, 0.82);
    backdrop-filter: blur(20px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--accent);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: grid;
    gap: 0.12rem;
}

.brand-name,
.footer-name,
.hero-title,
.section-title,
.detail-title,
.listing-card h3,
.category-card h3,
.resume-panel h2,
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
}

.brand-tagline {
    color: var(--muted-soft);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-nav a {
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.link-stack a:hover,
.listing-card h3 a:hover,
.section-link:hover,
.prose a:hover {
    color: white;
}

.nav-cta,
.cta-primary,
.cta-secondary,
.tag-pill.large {
    border-radius: 999px;
}

.nav-cta {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--ink);
    padding: 0.55rem 1rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 121, 65, 0.4);
}

.section-divider {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2.2rem 0 0;
    margin-top: 2.2rem;
}

.first-section {
    border-top: 0;
    padding-top: 3.25rem;
    margin-top: 0;
}

.hero-section {
    padding: 3.2rem 0 0;
}

.hero-grid,
.mosaic-grid,
.detail-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
}

.eyebrow {
    margin: 0 0 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 550;
}

.hero-title,
.detail-title {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    font-weight: 500;
}

.hero-title em {
    color: var(--accent);
    font-style: italic;
}

.hero-copy,
.resume-copy,
.footer-copy,
.card-copy,
.prose p,
.prose li,
.detail-meta,
figcaption {
    color: var(--muted);
    line-height: 1.75;
}

.hero-copy {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    font-size: 1rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.93rem;
    font-weight: 550;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #0b0906;
    box-shadow: 0 12px 32px rgba(200, 121, 65, 0.25);
}

.cta-primary:hover,
.cta-secondary:hover,
.tag-pill.large:hover {
    transform: translateY(-2px);
}

.cta-secondary,
.tag-pill.large {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
}

.cta-secondary:hover,
.tag-pill.large:hover {
    background: rgba(255,255,255,0.07);
}

.panel,
.section-card,
.mosaic-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    background: var(--panel);
    backdrop-filter: blur(24px);
}

.section-card,
.mosaic-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}

.resume-panel {
    padding: 1.5rem;
}

.resume-panel h2 {
    margin: 0;
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 500;
}

.resume-title {
    margin: 0.65rem 0 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.resume-links,
.footer-links {
    display: grid;
    gap: 0.55rem;
}

.resume-links {
    margin-top: 1.1rem;
}

.resume-links a,
.footer-links a,
.link-stack a,
.section-link,
.prose a {
    color: var(--muted-soft);
    text-decoration: underline;
    text-decoration-color: rgba(200, 121, 65, 0.38);
    text-underline-offset: 0.18em;
}

.mosaic-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: stretch;
}

.tall-card {
    overflow: hidden;
    min-height: 100%;
}

.tall-card img,
.compact-photo img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

.mosaic-card figcaption {
    padding: 1rem 1.1rem 1.15rem;
    font-size: 0.92rem;
}

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

.stack-grid > .section-card {
    padding: 1.4rem;
}

.stack-grid h2 {
    margin: 0;
    font-size: 2.05rem;
    line-height: 1;
    font-weight: 500;
}

.mini-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1;
    font-weight: 500;
}

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

.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.listing-card,
.category-card {
    padding: 1.35rem;
}

.meta-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted-soft);
}

.listing-card h3,
.category-card h3 {
    margin: 0.45rem 0 0;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
}

.card-copy {
    margin: 0.8rem 0 0;
    font-size: 0.96rem;
}

.link-stack {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.link-stack li {
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tag-row,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tag-row {
    margin-top: 1rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.045);
    color: var(--muted-soft);
    font-size: 0.78rem;
}

.tag-pill.large {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
}

.tag-pill span {
    color: var(--accent);
}

.detail-hero {
    max-width: 48rem;
}

.detail-meta {
    margin-top: 1rem;
}

.lead-panel {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    max-width: 42rem;
}

.lead-panel p {
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
}

.prose-card {
    padding: clamp(1.1rem, 2vw, 1.8rem);
}

.prose {
    font-size: 1rem;
}

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    margin: 2rem 0 0.7rem;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.prose h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.prose h3 { font-size: clamp(1.55rem, 2vw, 2rem); }
.prose h4 { font-size: 1.25rem; }

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose table,
.prose dl {
    margin: 0 0 1.1rem;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: 0.45rem;
}

.prose strong {
    color: white;
}

.prose em {
    color: #f4d4b6;
}

.prose code {
    padding: 0.14rem 0.36rem;
    border-radius: 0.4rem;
    background: rgba(255,255,255,0.08);
    color: #f7efe3;
    font-size: 0.9em;
}

.prose pre {
    overflow: auto;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.28);
}

.prose pre code {
    padding: 0;
    background: transparent;
}

.prose blockquote {
    padding: 1rem 1.1rem 1rem 1.2rem;
    border-left: 2px solid var(--accent);
    border-radius: 0 1rem 1rem 0;
    background: rgba(255,255,255,0.035);
}

.prose blockquote p {
    color: #e6ddcf;
}

.prose hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.prose img {
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 1rem;
    border-style: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.prose th,
.prose td {
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    vertical-align: top;
}

.prose th {
    color: white;
    background: rgba(255,255,255,0.05);
}

.prose .docutils.footnote,
.prose .footnote {
    width: 100%;
    font-size: 0.92rem;
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 0 2.3rem;
}

.footer-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer-name {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
}

.footer-copy {
    margin: 0.75rem 0 0;
    max-width: 22rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .mosaic-grid,
    .two-up,
    .three-up,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        gap: 0.85rem;
        flex-wrap: wrap;
        justify-content: end;
    }

    .section-heading-row {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    html { font-size: 17px; }
    .shell { width: min(1120px, calc(100% - 1.2rem)); }
    .nav-shell {
        flex-direction: column;
        align-items: start;
        gap: 0.9rem;
    }
    .site-nav {
        width: 100%;
        justify-content: space-between;
        font-size: 0.84rem;
    }
    .mini-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .hero-section { padding-top: 2.4rem; }
    .section-divider { margin-top: 1.7rem; padding-top: 1.7rem; }
}
