/* ============================================================
   FONTS
   ============================================================ */
@font-face {
    font-family: 'Calluna';
    src: url('/fonts/calluna_regular_macroman/Calluna-Regular-webfont.woff2') format('woff2'),
         url('/fonts/calluna_regular_macroman/Calluna-Regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --color-bg:       #F6F3EE;
    --color-bg-alt:   #EDEAE4;
    --color-text:     #1A1916;
    --color-muted:      #696360;
    --color-accent:     #A09890;
    --color-accent-text: #5A5650;
    --color-border:   #D8D4CD;

    --font-serif:     'Calluna', Georgia, serif;
    --font-sans:      'Inter', system-ui, sans-serif;

    --space-xs:  0.5rem;
    --space-sm:  1.2rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  5rem;

    --max-width:        720px;
    --max-width-narrow: 720px;

    --transition: 0.35s ease;
}

/* ============================================================
   DARK MODE TOKENS
   ============================================================ */
[data-theme="dark"] {
    --color-bg:          #141210;
    --color-bg-alt:      #1C1A17;
    --color-text:        #EAE6DF;
    --color-muted:       #888480;
    --color-accent:      #A09890;
    --color-accent-text: #C4C0B8;
    --color-border:      #2A2720;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

main { min-height: 100svh; }

/* Grain texture overlay — wabi-sabi paper/linen feel */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

[data-theme="dark"] body::after { opacity: 0.06; }

img { display: block; max-width: 100%; }
ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-text);
    color: var(--color-bg);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 400;
    z-index: 999;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-accent-text);
    outline-offset: 3px;
    border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h3 { font-size: 1.2rem; }

.eyebrow,
.section-label {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}



/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.page-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-inner {
    padding: var(--space-xl) 0;
}

.section-inner--narrow {
    max-width: var(--max-width-narrow);
}

/* ============================================================
   FADE-IN (JS applies .is-visible)
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
    background: rgba(246, 243, 238, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 var(--color-border);
}

[data-theme="dark"] #nav.scrolled {
    background: rgba(20, 18, 16, 0.95);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.4rem var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

/* HAMBURGER */
.hamburger {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 0.35s ease;
    transform-origin: center;
}

.hamburger.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.hamburger.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* NAV OVERLAY */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-overlay ul {
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav-overlay li + li {
    margin-top: 0.75rem;
}

.nav-overlay a {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 400;
    color: var(--color-text);
    transition: opacity var(--transition);
    display: block;
}

.nav-overlay a:hover {
    opacity: 0.4;
}

body.nav-open {
    overflow: hidden;
}

/* ============================================================
   HERO REVEAL ANIMATION
   ============================================================ */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

#hero .eyebrow      { animation: fade-up 1.1s ease-out 0.15s both; }
#hero h1            { animation: fade-up 1.2s ease-out 0.45s both; }
#hero .hero-sub     { animation: fade-up 1.1s ease-out 0.85s both; }
#hero .hero-actions { animation: fade-up 1s   ease-out 1.2s  both; }

@media (prefers-reduced-motion: reduce) {
    #hero .eyebrow,
    #hero h1,
    #hero .hero-sub,
    #hero .hero-actions { animation: none; }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html { scroll-behavior: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero-inner {
    padding: calc(var(--space-xl) + 4rem) 0 var(--space-xl);
}

.hero-inner .eyebrow {
    margin-bottom: var(--space-md);
}

.hero-inner h1 {
    max-width: 32ch;
    margin-bottom: var(--space-md);
}

.hero-sub {
    max-width: 52ch;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-outline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-text {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition);
}

.btn-text:hover { color: var(--color-text); }

/* ============================================================
   WORK
   ============================================================ */
.work-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
}

@media (max-width: 500px) {
    .work-list {
        grid-template-columns: 1fr;
    }
}

.work-item {
    display: flex;
    flex-direction: column;
    color: inherit;
    border-bottom: none;
    transition: opacity var(--transition);
}

.work-item:hover { opacity: 0.5; }

.work-item-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-sm);
}

.work-item-thumb--1 { background-color: #C9B99A; }
.work-item-thumb--2 { background-color: #A8B5A2; }
.work-item-thumb--3 { background-color: #C4A882; }
.work-item-thumb--4 { background-color: #B5A898; }
.work-item-thumb--5 { background-color: #C8BAA4; }
.work-item-thumb--6 { background-color: #A9A090; }

.work-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.work-item-type {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.work-item-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.work-item h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 0;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-lead {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.philosophy-body {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.85;
}

/* ============================================================
   FIELD NOTES
   ============================================================ */
#field-notes {
    background-color: var(--color-bg-alt);
}

.field-notes-cta {
    display: inline-block;
    margin-top: var(--space-md);
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-row {
    margin-bottom: var(--space-lg);
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.65rem;
}

.service-row h3 {
    font-size: 1.35rem;
}

.service-price {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-accent-text);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.service-list {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.service-list li {
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 0.3rem 0;
}

.service-list li::before {
    content: '\2014\00a0';
    font-family: var(--font-serif);
    color: var(--color-accent);
}

.service-note {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

/* ============================================================
   PROCESS
   ============================================================ */
#process-hero .section-inner {
    padding-top: calc(var(--space-xl) + 4rem);
    padding-bottom: var(--space-md);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.process-step {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-accent-text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
#about-hero,
#field-notes-archive > .section-inner {
    margin-top: 6rem;
}

.about-topic {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   INQUIRY FORM
   ============================================================ */
#inquire {
    background-color: var(--color-bg-alt);
}

.inquiry-intro {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.85;
}

.inquiry-intro p {
    margin-bottom: var(--space-sm);
}

.inquiry-form { width: 100%; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-md);
}

label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.label-optional {
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-muted);
}

.label-hint {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
    margin-top: -0.25rem;
    font-style: italic;
}

label:has(+ input[required])::after,
label:has(+ textarea[required])::after,
label:has(+ select[required])::after {
    content: '\00a0*';
    color: var(--color-muted);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.form-checkboxes {
    border: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.form-checkboxes legend {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
    padding: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text);
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border: 1px solid var(--color-border);
    border-bottom-width: 1px;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), border-color var(--transition);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-text);
    border-color: var(--color-text);
}

input[type="text"],
input[type="email"],
textarea,
select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.65rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom-color: var(--color-accent);
    outline: none;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -1px;
}

textarea { resize: vertical; }

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C8580' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.5rem;
    cursor: pointer;
}

[data-theme="dark"] select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9088' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    color-scheme: dark;
}

[data-theme="dark"] select option {
    background-color: #1e1c19;
    color: #E8E4DE;
}

[data-theme="dark"] select option:checked,
[data-theme="dark"] select option:hover {
    background-color: #2a2724;
}

.btn-submit {
    margin-top: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    transition: opacity var(--transition);
}

.btn-submit:hover { opacity: 0.75; }

.form-success {
    padding: var(--space-lg) 0;
    animation: form-success-in 0.6s ease both;
}

@keyframes form-success-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .form-success { animation: none; }
}

.form-success p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
}

.form-error {
    font-size: 0.85rem;
    color: #a05040;
    margin-bottom: var(--space-md);
    padding: 0.75rem 1rem;
    border-left: 2px solid #a05040;
    background: rgba(160, 80, 64, 0.05);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--color-muted);
    letter-spacing: 0.05em;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
    background: none;
    border: none;
    padding: 0.35rem;
    color: var(--color-text);
    display: grid;
    place-items: center;
    overflow: visible;
    cursor: pointer;
}

/* Stack both icons in the same grid cell */
.theme-toggle svg {
    grid-area: 1 / 1;
    transform-origin: center;
}

/* Light mode: moon visible */
.theme-toggle .icon-moon { opacity: 1; transform: scale(1); }
.theme-toggle .icon-sun  { opacity: 0; transform: scale(0); pointer-events: none; }

/* Dark mode: sun visible */
.theme-toggle.mode-dark .icon-moon { opacity: 0; transform: scale(0); pointer-events: none; }
.theme-toggle.mode-dark .icon-sun  { opacity: 1; transform: scale(1); }

/* Theme icon fade */
@keyframes icon-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes icon-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.theme-toggle svg.icon-anim-compress {
    animation: icon-fade-out 280ms ease-out forwards;
}

.theme-toggle svg.icon-anim-expand {
    animation: icon-fade-in 480ms ease-out both;
}

@media (prefers-reduced-motion: reduce) {
    .theme-toggle svg.icon-anim-compress,
    .theme-toggle svg.icon-anim-expand { animation: none; }
}

.theme-toggle--fixed {
    position: fixed;
    top: 1.4rem;
    right: 1.4rem;
    z-index: 200;
    background: var(--color-bg);
    border: 1px solid var(--color-border) !important;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    transition: background-color 1s ease, border-color 1s ease, color 1s ease;
}

/* ============================================================
   THEME COLOR TRANSITIONS — smooth light ↔ dark
   ============================================================ */
body {
    transition: background-color 1s ease, color 1s ease, border-color 1s ease;
}

/* ============================================================
   FIELD NOTES — ARCHIVE
   ============================================================ */
.fn-archive-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    max-width: 26ch;
    margin-bottom: var(--space-lg);
    line-height: 1.25;
}

.fn-archive {
    margin-top: var(--space-lg);
}

.fn-month-group {
    margin-bottom: var(--space-lg);
}

.fn-month-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-border);
}

.fn-entry-list { margin: 0; padding: 0; }

.fn-entry-row {
    border-bottom: 1px solid var(--color-border);
}

.fn-entry-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    transition: opacity var(--transition);
}

.fn-entry-link:hover { opacity: 0.5; }

.fn-entry-text {
    display: block;
}

.fn-entry-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text);
}

.fn-entry-arrow {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: transform var(--transition);
}

.fn-entry-link:hover .fn-entry-arrow {
    transform: translateX(3px);
}

.fn-entry-lede {
    display: block;
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-top: 0.2rem;
    line-height: 1.6;
}

.fn-empty {
    color: var(--color-muted);
    font-style: italic;
    margin-top: var(--space-lg);
}

/* ============================================================
   FIELD NOTES — ENTRY PAGE
   ============================================================ */
.fn-entry-header {
    margin-top: 5rem;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.fn-entry-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-sm);
}

.fn-entry-header .eyebrow a {
    color: inherit;
    transition: opacity var(--transition);
}

.fn-entry-header .eyebrow a:hover { opacity: 0.5; }

.fn-entry-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
}

.fn-entry-date {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    text-transform: uppercase;
}

/* Prose body */
.fn-entry-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text);
}

.fn-entry-body p { margin-bottom: 1.4em; }

.fn-entry-body p:last-child { margin-bottom: 0; }

.fn-entry-body em { font-family: var(--font-serif); font-style: italic; }

.fn-entry-body strong { font-weight: 600; }

.fn-entry-body blockquote {
    border-left: 2px solid var(--color-border);
    padding-left: var(--space-md);
    margin: var(--space-md) 0;
    color: var(--color-muted);
    font-family: var(--font-serif);
    font-style: italic;
}

.fn-entry-body img {
    width: 100%;
    margin: var(--space-lg) 0;
    border: 1px solid var(--color-border);
}

.fn-entry-body img + em {
    display: block;
    font-size: 0.82rem;
    color: var(--color-muted);
    margin-top: calc(-1 * var(--space-md));
    margin-bottom: var(--space-lg);
    font-family: var(--font-sans);
    font-style: normal;
}

.fn-entry-nav {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
    :root { --space-xl: 3rem; --space-lg: 2rem; }

    .nav-inner { padding: 0.75rem var(--space-sm); }

    .page-wrap  { padding: 0 var(--space-sm); }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }

    .form-row { grid-template-columns: 1fr; gap: 0; }
}
