:root {
    --b13t-ink: #140f14;
    --b13t-ink-soft: #3c3138;
    --b13t-muted: #6e5a64;
    --b13t-muted-strong: #5f4f58;
    --b13t-paper: #f8f1ec;
    --b13t-paper-light: #fffaf6;
    --b13t-paper-deep: #ede2dc;
    --b13t-plum: #4a3050;
    --b13t-aubergine: var(--b13t-plum);
    --b13t-coffee: #6b4526;
    --b13t-bronze: var(--b13t-coffee);
    --b13t-gold: #b4885a;
    --b13t-gold-light: #e6c6a2;
    --b13t-danger: #8a2e3d;
    --b13t-success: #2f654c;
    --b13t-line: rgba(20, 15, 20, 0.14);
    --b13t-line-strong: rgba(20, 15, 20, 0.24);
    --b13t-shadow: 0 24px 70px -48px rgba(20, 15, 20, 0.68);
    --b13t-shadow-soft: 0 18px 50px -38px rgba(20, 15, 20, 0.52);
    --b13t-font-display: "Marcellus", Georgia, serif;
    --b13t-font-editorial: "Cormorant Garamond", Georgia, serif;
    --b13t-font-ui: "Jost", Arial, sans-serif;
    --b13t-shell: min(1340px, calc(100% - 40px));
    --b13t-reading: 68ch;
    --b13t-section-space: clamp(76px, 9vw, 148px);
    --b13t-radius-sm: 2px;
    --b13t-radius-md: 18px;
    --b13t-radius-lg: 34px;
    --b13t-header-height: 70px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--b13t-header-height) + var(--demo-banner-height, 0px) + 16px);
}

body.b13t {
    margin: 0;
    color: var(--b13t-ink);
    background-color: var(--b13t-paper);
    background-image:
        radial-gradient(130% 80% at 8% -8%, #fffcf9 0%, rgba(255, 252, 249, 0) 54%),
        radial-gradient(100% 70% at 104% 24%, rgba(200, 156, 116, 0.14) 0%, rgba(200, 156, 116, 0) 58%);
    font-family: var(--b13t-font-ui);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.b13t ::selection {
    color: var(--b13t-ink);
    background: var(--b13t-gold-light);
}

.b13t :where(img, picture, svg, video, iframe) {
    display: block;
    max-width: 100%;
}

.b13t :where(button, input, select, textarea) {
    color: inherit;
    font: inherit;
}

.b13t :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--b13t-gold);
    outline-offset: 4px;
}

.b13t :where(button, [role="button"], summary) {
    cursor: pointer;
}

.b13t [hidden] {
    display: none !important;
}

.b13t h1,
.b13t h2,
.b13t h3,
.b13t p,
.b13t figure,
.b13t blockquote,
.b13t dl,
.b13t dd {
    margin-top: 0;
}

.b13t em,
.b13t blockquote {
    font-family: var(--b13t-font-editorial);
    font-style: italic;
    font-weight: 300;
}

@keyframes b13t-ken-burns {
    from { transform: scale(1.01); }
    to { transform: scale(1.11); }
}

@keyframes b13t-hero-mask {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@keyframes b13t-loader-seal {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: none; }
}

@keyframes b13t-loader-bar {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes b13t-loader-out {
    to { opacity: 0; visibility: hidden; }
}

.b13t h1,
.b13t h2,
.b13t h3 {
    font-family: var(--b13t-font-display);
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
}

.b13t h2 {
    margin-bottom: 0;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.b13t h3 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.b13t :where(a) {
    color: inherit;
    text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
    text-underline-offset: 0.2em;
}

.b13t-skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: var(--b13t-paper);
    background: var(--b13t-ink);
    transform: translateY(-180%);
}

.b13t-skip-link:focus {
    transform: none;
}

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