

:root {
    --ground: #ede6e4;
    --surface: #dfd7d5;
    --surface-2: #cec5c2;
    --line: #aba2a0;
    --ink-soft: #514c4a;
    --ink: #2b2827;
    --accent: #a9605f;
    --accent-ink: #fff;


    --ciki-c4d: "DM Serif Display", 'DM Serif Display Fallback', Georgia, 'Times New Roman', serif;
    --ciki-417: 'Literata', "Literata Fallback", Charter, Georgia, serif;
    --ciki-7e1: 'JetBrains Mono', 'JetBrains Mono Fallback', Consolas, Monaco, monospace;


    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;


    --radius-none: 0px;
    --radius-sm: 2px;
    --radius-md: 3px;


    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 140ms;
    --dur-base: 220ms;
    --dur-slow: 380ms;


    --measure-prose: 65ch;
    --measure-narrow: 46ch;
    --measure-caption: 38ch;


    --rail-width: 5.5rem;
    --dock-height: 4.25rem;
}


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;

    padding: 0;

}


html {
    font-size: 100%;
    background-color: var(--ground);
    color: var(--ink);
    font-family: var(--ciki-417);
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: var(--space-8);
}


body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--ground);
    color: var(--ink);
    font-family: var(--ciki-417);
    font-size: 1.0625rem;
    line-height: 1.6;
    padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom));
    overflow-x: hidden;
}


@media (min-width: 1024px) {
    body { padding-bottom: 0; }
}


img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}


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


a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}


a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}


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


h1, h2, h3, h4, h5, h6 {
    font-family: var(--ciki-c4d);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.015em;
    text-wrap: balance;
}


h1 {
    font-size: clamp(2.25rem, 4.8vw + 0.5rem, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}


h2 {
    font-size: clamp(1.75rem, 3.2vw + 0.3rem, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
}


h3 {
    font-size: clamp(1.3rem, 2vw + 0.2rem, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
}


h4 {
    font-size: clamp(1.1rem, 1.2vw + 0.15rem, 1.35rem);
    line-height: 1.35;
}


p {
    max-width: var(--measure-prose);
    color: var(--ink-soft);
    margin-bottom: var(--space-4);
}


p:last-child { margin-bottom: 0; }


p.lede {
    font-size: clamp(1.125rem, 1.2vw + 0.8rem, 1.35rem);
    line-height: 1.5;
    color: var(--ink);
}


.caption-measure { max-width: var(--measure-caption); }


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


.mono-meta {
    font-family: var(--ciki-7e1);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}


.price-tag {
    font-family: var(--ciki-7e1);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--ink);
}


.prose {
    color: var(--ink-soft);
    line-height: 1.68;
}


.prose p { margin-bottom: var(--space-5); }


.prose strong {
    color: var(--ink);
    font-weight: 600;
}


.prose em { font-style: italic; }


.prose ul, .prose ol {
    margin: var(--space-4) 0 var(--space-6) var(--space-6);
    color: var(--ink-soft);
}


.prose li { margin-bottom: var(--space-2); }


.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: var(--space-10) 0;
}


.skip-link {
    position: absolute;
    top: -9999px;
    left: var(--space-4);
    background: var(--ink);
    color: var(--ground);
    padding: var(--space-3) var(--space-5);
    z-index: 1000;
    font-family: var(--ciki-7e1);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
}


.skip-link:focus { top: var(--space-4); }


.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    flex-shrink: 0;
}


.shell-layout {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}


@media (min-width: 1024px) {
    .shell-layout {
        display: flex;
        flex-direction: row;
    }


    .site-rail {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: var(--rail-width);
        background-color: var(--ground);
        border-right: 1px solid var(--line);
        z-index: 80;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-6) 0;
    }


    .shell-content {
        margin-left: var(--rail-width);
        flex: 1 1 0%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }
}


@media (max-width: 1023.98px) {
    .site-rail { display: none; }


    .shell-content {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }
}


.container {
    width: 100%;
    max-width: 82rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3.5vw, 2.75rem);
    padding-right: clamp(1rem, 3.5vw, 2.75rem);
}


.hairline {
    border: 0;
    height: 1px;
    background-color: var(--line);
    margin: 0;
}


.asymmetric-lockup {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}


.asymmetric-lockup .lockup-line-top { display: block; }


.asymmetric-lockup .lockup-line-bottom {
    display: block;
    padding-left: clamp(1.25rem, 4vw, 3.5rem);
}


.asymmetric-lockup .lockup-rule {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: var(--line);
    margin: var(--space-3) 0 var(--space-2);
}


@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Structural and typographic foundations for editorial plate layout */
.plate-section {
    padding-top: clamp(2.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
    border-bottom: 1px solid var(--line);
}


.plate-section:last-of-type { border-bottom: 0; }


.editorial-caption {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}


.editorial-caption .lead-in {
    font-family: var(--ciki-417);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.4;
}


.editorial-caption p {
    color: var(--ink-soft);
    font-size: 0.9375rem;
    line-height: 1.6;
}


.tabular-nums {

    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}


.text-subtle { color: var(--ink-soft); }


.text-strong {
    color: var(--ink);
    font-weight: 600;
}
