@font-face {
    font-family: Cinzel;
    src: url('/fonts/cinzel-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/cormorant-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    background: #080808;
    color: #f2ede4;
    font: 1rem/1.65 system-ui, sans-serif;
    --muted: #c7c5bc;
    --surface: #181f23;
}

* {
    box-sizing: border-box;
}

body.season-theme {
    --display: var(--vo-display);
    --edge: var(--season-edge);
    --surface: #151310;
    --frame: 3px double var(--edge);
    --elevation: 0 24px 56px #0008;
    margin: 0;
}

body[data-typeface="cormorant"] { --display: 'Cormorant Garamond', Georgia, serif; }
body[data-typeface="serif"] { --display: Georgia, serif; }
body[data-frame="line"] { --frame: 1px solid var(--edge); }
body[data-frame="none"] { --frame: 0 solid transparent; }
body[data-shadow="soft"] { --elevation: 0 8px 24px #0005; }
body[data-shadow="none"] { --elevation: none; }

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.showcase-wrap {
    width: min(100% - 3rem, 75rem);
    margin-inline: auto;
}

.showcase-skip {
    position: fixed;
    z-index: 5;
    top: .75rem;
    left: .75rem;
    transform: translateY(-160%);
    padding: .6rem 1rem;
    background: var(--surface);
}

.showcase-skip:focus { transform: none; }

.showcase-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #ffffff1b;
    background: #10100d;
}

.showcase-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 2rem;
    min-height: 4.5rem;
    padding-block: .625rem;
}

.showcase-brand {
    color: var(--season-heading);
    font: 400 clamp(1.125rem, 2.3vw, 1.55rem)/1.2 var(--display);
    overflow-wrap: anywhere;
}

.showcase-brand img {
    display: block;
    max-width: 12rem;
    height: 2.75rem;
    object-fit: contain;
}

.showcase-header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 clamp(.75rem, 3vw, 2rem);
}

.showcase-header nav a {
    padding-block: .375rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
}

.showcase-header nav a:hover,
.showcase-index a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .25em;
}

.showcase-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(36rem, 73svh, 49rem);
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 5%, #473928, #100e0c 69%);
}

.showcase-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, #100d0aeb, #100d0ac5 38%, #100d0a0a 76%),
        linear-gradient(0deg, #080808 0%, transparent 40%);
}

.showcase-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 59%;
}

.showcase-hero-content {
    padding-block: 5rem 5.75rem;
}

.showcase-kicker {
    margin: 0 0 1rem;
    color: #f3d9aa;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.showcase-hero h1,
.showcase-feature h2,
.showcase-card h3,
.showcase-dialog h2 {
    margin: 0;
    color: var(--season-heading);
    font-family: var(--display);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.showcase-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.875rem, 6.3vw, 6rem);
    letter-spacing: -.045em;
    text-wrap: balance;
}

.showcase-lede {
    max-width: 49ch;
    margin: 1.25rem 0 1.625rem;
    color: #e5e1d8;
    font-size: clamp(1rem, 1.7vw, 1.1875rem);
    white-space: pre-line;
}

.showcase-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}

.showcase-actions:empty {
    display: none;
}

.showcase-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.875rem;
    padding: .625rem 1rem;
    border: 1px solid var(--edge);
    border-radius: .25rem;
    background: var(--season-plate);
    color: #f2deb1;
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.3;
}

.showcase-button-primary {
    background: color-mix(in srgb, var(--accent) 42%, #fff2d9);
    color: #1a1814;
}

.showcase-button:hover { filter: brightness(1.12); }
.showcase-button svg { width: .875rem; height: .875rem; }

.showcase-index {
    position: sticky;
    z-index: 1;
    top: 0;
    border-block: 1px solid var(--edge);
    background: #10100df7;
}

.showcase-index-row {
    display: flex;
    gap: 1.625rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.showcase-index a {
    flex: none;
    padding: .9375rem 0;
    color: #e8d9bf;
    font-size: .875rem;
    font-weight: 700;
}

.showcase-story {
    padding-block: 1rem 3rem;
}

.showcase-section {
    padding-block: clamp(2.75rem, 6vw, 5rem);
    border-bottom: 1px solid #ffffff13;
    scroll-margin-top: 4.125rem;
}

.showcase-section:last-child { border-bottom: 0; }

.showcase-feature {
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);
}

.showcase-feature.with-image { grid-template-columns: 1fr 1.35fr; }
.showcase-feature.image-first.with-image { grid-template-columns: 1.35fr 1fr; }
.showcase-feature.image-first > .showcase-image { order: -1; }

.showcase-feature h2 {
    max-width: 22ch;
    font-size: clamp(2rem, 4.25vw, 3.375rem);
    text-wrap: balance;
}

.showcase-feature p,
.showcase-card p {
    max-width: 57ch;
    margin: .875rem 0 0;
    color: var(--muted);
    white-space: pre-line;
}

.showcase-feature .showcase-actions { margin-top: 1.125rem; }

.showcase-text-link {
    color: #f0dabe;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .25em;
}

.showcase-frame {
    border: var(--frame);
    border-radius: .375rem;
    box-shadow: var(--elevation);
}

.showcase-image {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--surface);
}

.showcase-image:not(.showcase-frame) { border: 0; }

.showcase-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.showcase-image > span {
    position: absolute;
    right: .625rem;
    bottom: .625rem;
    display: grid;
    place-items: center;
    width: 2.125rem;
    height: 2.125rem;
    border: 1px solid #ffffff40;
    border-radius: .25rem;
    background: #100e0ce0;
}

.showcase-image svg { width: 1rem; height: 1rem; }
.showcase-image:hover > span { background: #352a1d; }

.showcase-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.showcase-card {
    overflow: hidden;
    background: var(--surface);
}

.showcase-card-copy {
    height: 100%;
    padding: 1.25rem 1.375rem;
    background: radial-gradient(ellipse at top right, #282017, transparent 65%);
}

.showcase-card h3 {
    color: #f1d5aa;
    font-size: 1.25rem;
}

.showcase-card p { margin-top: .5rem; }

.showcase-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--edge);
    color: var(--muted);
    font-size: .875rem;
}

.showcase-dialog {
    width: min(64rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    background: #151310;
    color: #fff;
}

.showcase-dialog::backdrop { background: #020508da; }
body:has(.showcase-dialog[open]) { overflow: hidden; }

.showcase-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .625rem 1rem;
}

.showcase-dialog h2 { font-size: 1.125rem; }

.showcase-dialog-head button {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--edge);
    background: transparent;
}

.showcase-dialog-head button svg { width: 1.25rem; }

.showcase-dialog-content :is(video, img) {
    display: block;
    width: 100%;
    max-height: 78dvh;
    background: #080b0d;
    object-fit: contain;
}

@media (max-width: 700px) {
    .showcase-wrap { width: min(100% - 2rem, 75rem); }
    .showcase-hero { min-height: 34rem; align-items: end; }
    .showcase-hero-content { padding-block: 8rem 2.5rem; }
    .showcase-hero-image { object-position: 66% center; }
    .showcase-hero::after { background: linear-gradient(0deg, #101619, #10181fb0 63%, #10181f08); }
    .showcase-feature.with-image,
    .showcase-feature.image-first.with-image { grid-template-columns: 1fr; }
}
