html, body {
    background: #fbf9f4;
    color: #2d2421;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #2d2421;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
    border: 1px solid #d6d5d5;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --surface: #fbf9f4;
    --surface-deep: #f2eee5;
    --ink: #2d2421;
    --muted: #746a63;
    --line: #d8d0c4;
    --accent: #8d6f55;
    --charcoal: #1f1a18;
    --white: #fffdf9;
    --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-sidebar-display: 'EB Garamond', 'Times New Roman', Times, serif;
    --crypto-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
    --crypto-positive: #47614e;
}

.tabular {
    font-variant-numeric: tabular-nums;
}

.crypto-dot {
    background: var(--crypto-positive);
    border-radius: 50%;
    display: inline-block;
    flex: none;
    height: 8px;
    width: 8px;
}

.crypto-dot--idle {
    background: #b3a89c;
}

.crypto-dot--pulse {
    animation: crypto-pulse 2.2s ease-out infinite;
}

@keyframes crypto-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(71, 97, 78, 0.45);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(71, 97, 78, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(71, 97, 78, 0);
    }
}

@keyframes crypto-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes crypto-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crypto-dot--pulse {
        animation: none;
    }
}

::selection {
    background: #2d2421;
    color: #fbf9f4;
}

h1,
h2,
h3,
.navbar-brand {
    color: var(--ink);
    font-family: var(--font-display);
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.9;
}

.headline-italic {
    font-style: italic;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    line-height: 0.95;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
    color: var(--muted);
    line-height: 1.75;
}

.content {
    margin: 0 auto;
    max-width: 1440px;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.content:has(.yield-dashboard),
.content:has(.journal-newsletter),
.content:has(.cart-page) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding: 0;
}

@media (max-width: 960px) {
    .content:has(.product-detail-card) {
        padding-left: 0;
        padding-right: 0;
    }
}

.yield-page {
    /* Dark roast wing — the staking/allocation dashboard inverts the café's
       cream ground to a roasted near-black, so crossing into /staking or
       /profile reads as entering the on-chain side of the product. */
    --yield-cream: #100D0B;
    --yield-espresso: #F4EFE6;
    --yield-sand: #100D0B;
    --yield-sand-hover: #2A211B;
    --yield-line: rgba(244, 239, 230, 0.1);
    --yield-muted: rgba(244, 239, 230, 0.58);

    --stake-bg: #171310;
    --stake-bg-deep: #100D0B;
    --stake-surface: #1F1915;
    --stake-surface-2: #2A211B;
    --stake-line: rgba(244, 239, 230, 0.1);
    --stake-line-strong: rgba(244, 239, 230, 0.18);
    --stake-ink: #F4EFE6;
    --stake-muted: rgba(244, 239, 230, 0.58);
    --stake-faint: rgba(244, 239, 230, 0.4);
    --stake-green: #8FB99B;
    --stake-green-dim: rgba(143, 185, 155, 0.14);
    --stake-copper: #C89B6A;
    --stake-copper-dim: rgba(200, 155, 106, 0.14);
    --stake-amber: #E5C078;
    --stake-amber-dim: rgba(229, 192, 120, 0.12);
    --stake-clay: #E59880;
    --stake-clay-dim: rgba(229, 152, 128, 0.12);

    /* Lift the shared brand-green token so text/spinner states relying on
       --crypto-positive stay legible against the roast ground. */
    --crypto-positive: #8FB99B;
}

.yield-dashboard {
    --yield-header-offset: 4.75rem;
    --yield-column-gutter: clamp(1.25rem, 2.6vw, 2.5rem);
    --yield-sidebar-content-width: 20.5rem;
    align-items: stretch;
    background: var(--stake-bg);
    column-gap: 0;
    display: grid;
    grid-template-columns:
        minmax(16rem, var(--yield-sidebar-content-width))
        minmax(0, 1fr);
    margin: 0;
    min-height: calc(100dvh - var(--yield-header-offset));
    width: 100%;
}

.yield-sidebar {
    background: var(--yield-sand);
    border-right: 1px solid var(--yield-line);
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    height: calc(100dvh - var(--yield-header-offset));
    justify-content: space-between;
    min-height: calc(100dvh - var(--yield-header-offset));
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.35rem, 2.4vw, 1.85rem);
    position: sticky;
    top: var(--yield-header-offset);
    width: 100%;
}

.yield-sidebar__identity {
    border-bottom: 1px solid var(--yield-line);
    padding: 1.1rem 0;
}

.yield-sidebar__kicker {
    color: var(--yield-espresso);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin: 0 0 0.85rem;
    text-transform: uppercase;
}

.yield-sidebar__stats {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.yield-sidebar__stats div {
    align-items: baseline;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.yield-sidebar__stats dt {
    color: var(--yield-muted);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.yield-sidebar__stats dd {
    color: var(--yield-espresso);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

.yield-sidebar__status {
    color: var(--yield-muted);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin: 0.85rem 0 0;
    text-transform: uppercase;
}

.yield-sidebar__nav {
    flex: 1;
    min-height: 0;
}

.yield-sidebar__list {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.yield-sidebar__link {
    align-items: center;
    border-radius: 3px;
    color: var(--yield-espresso);
    display: grid;
    gap: 0.5rem 1rem;
    grid-template-columns: 1fr auto;
    padding: 0.8rem 0.75rem;
    position: relative;
    text-decoration: none;
    transition: background 180ms ease, padding-left 180ms ease;
}

.yield-sidebar__link::before {
    background: var(--stake-copper, var(--yield-espresso));
    border-radius: 0 2px 2px 0;
    bottom: 0.55rem;
    content: "";
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0.55rem;
    transition: opacity 180ms ease;
    width: 2px;
}

.yield-sidebar__link:hover,
.yield-sidebar__link:focus-visible,
.yield-sidebar__link--active {
    background: var(--yield-sand-hover);
    outline: none;
    padding-left: 1rem;
}

.yield-sidebar__link:hover::before,
.yield-sidebar__link:focus-visible::before,
.yield-sidebar__link--active::before {
    opacity: 1;
}

.yield-sidebar__label {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.yield-sidebar__goto {
    align-items: center;
    color: var(--yield-muted);
    display: inline-flex;
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    gap: 0.3rem;
    letter-spacing: 0.14em;
    opacity: 0;
    text-transform: uppercase;
    transition: color 160ms ease, opacity 180ms ease, transform 160ms ease;
}

.yield-sidebar__link:hover .yield-sidebar__goto,
.yield-sidebar__link:focus-visible .yield-sidebar__goto,
.yield-sidebar__link--active .yield-sidebar__goto {
    opacity: 1;
}

.yield-sidebar__link:hover .yield-sidebar__goto {
    color: var(--yield-espresso);
    transform: translateX(2px);
}

.yield-sidebar__foot {
    display: grid;
    gap: 1rem;
}

.yield-sidebar__new-stake {
    align-items: center;
    background: var(--yield-espresso);
    border: 0;
    border-radius: 2px;
    color: var(--yield-cream);
    cursor: pointer;
    display: flex;
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.18em;
    min-height: 3.1rem;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, transform 160ms ease;
    width: 100%;
}

.yield-sidebar__new-stake:hover {
    background: var(--stake-green, #3d281c);
    color: var(--yield-cream);
    transform: translateY(-1px);
}

.yield-sidebar__disconnect {
    margin: 0;
}

.yield-sidebar__disconnect button {
    background: transparent;
    border: 0;
    color: var(--yield-muted);
    cursor: pointer;
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0.25rem 0;
    text-align: left;
    text-transform: uppercase;
    transition: color 160ms ease;
    width: 100%;
}

.yield-sidebar__disconnect button:hover {
    color: var(--yield-espresso);
}

@media (max-width: 1100px) {
    .yield-dashboard {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .yield-sidebar {
        border-right: 0;
        gap: 1.25rem;
        height: auto;
        justify-content: flex-start;
        min-height: 0;
        padding: 1.35rem var(--yield-column-gutter);
        position: static;
        top: auto;
    }

    .yield-sidebar__goto {
        opacity: 1;
    }
}

.public-header {
    background-color: rgba(251, 249, 244, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #d8d0c4;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition:
        background-color 220ms ease,
        backdrop-filter 220ms ease,
        border-color 220ms ease,
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
}

/* Navbar hides the instant .product-detail-card exists — no JS class needed */
body:has(.product-detail-card) .public-header {
    transform: translateY(-110%);
}

body:has(.product-detail-card) .content {
    padding-top: 0;
}

body:has(.products-shop) .content {
    background: #ffffff;
}

body:has(.product-detail-card) .public-main {
    padding-top: 0 !important;
}

/* Keep old class rule for browsers that don't support :has() */
body.product-detail-view .public-header {
    transform: translateY(-110%);
}

body.product-detail-view .content {
    padding-top: 0;
}

body.product-detail-view .public-main {
    padding-top: 0 !important;
}

body.product-detail-view .product-detail-card__title h1 {
    font-size: clamp(1rem, 4dvh, 1.5rem) !important;
    line-height: 1.1 !important;
}

.public-header.public-header--solid {
    background-color: #fbf9f4;
    backdrop-filter: none;
    border-bottom-color: #d8d0c4;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid),
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) {
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .navbar-brand,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .navbar-brand {
    color: #fbf9f4;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-link,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-link {
    color: rgba(251, 249, 244, 0.78);
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-link:hover,
.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-link.active,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-link:hover,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-link.active {
    border-bottom-color: #fbf9f4;
    color: #fbf9f4;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-cart,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-cart {
    color: #fbf9f4;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-wallet,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-wallet {
    border-color: rgba(251, 249, 244, 0.45);
    color: #fbf9f4;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-wallet.active,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-wallet.active {
    background: #fbf9f4;
    color: #2d2421;
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .nav-login,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .nav-login {
    border-color: rgba(251, 249, 244, 0.45);
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .navbar-toggler,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .navbar-toggler {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}

.public-page:has(.editorial-hero) .public-header:not(.public-header--solid) .navbar-toggler span,
.public-page:has(.journal-hero) .public-header:not(.public-header--solid) .navbar-toggler span {
    background: #fff;
}

/* Staking/profile wing — nav goes dark-roast to match the rest of the page,
   in both the transparent (scrolled-to-top) and solid header states. */
.yield-page .public-header,
.yield-page .public-header.public-header--solid {
    background-color: rgba(23, 19, 16, 0.86);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(244, 239, 230, 0.12);
}

.yield-page .public-header .navbar-brand {
    color: #F4EFE6;
}

.yield-page .public-header .nav-link {
    color: rgba(244, 239, 230, 0.72);
}

.yield-page .public-header .nav-link:hover,
.yield-page .public-header .nav-link.active {
    border-bottom-color: #F4EFE6;
    color: #F4EFE6;
}

.yield-page .public-header .nav-cart {
    color: #F4EFE6;
}

.yield-page .public-header .nav-wallet {
    border-color: rgba(244, 239, 230, 0.35);
    color: #F4EFE6;
}

.yield-page .public-header .nav-wallet.active {
    background: #F4EFE6;
    color: #171310;
}

.yield-page .public-header .nav-login {
    border-color: rgba(244, 239, 230, 0.35);
}

.yield-page .public-header .navbar-toggler {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(244, 239, 230, 0.3);
}

.yield-page .public-header .navbar-toggler span {
    background: #F4EFE6;
}

/* Connect-wallet CTA: flip from the site-wide dark-on-cream button to a
   cream-on-dark fill so it stays the brightest object on the page. */
.yield-page .staking-connect__content .button--dark {
    background: var(--stake-ink);
    border-color: var(--stake-ink);
    color: var(--stake-bg);
}

.yield-page .staking-connect__content .button--dark:hover {
    background: var(--stake-green);
    border-color: var(--stake-green);
    color: var(--stake-bg);
}

/* Homepage nav never goes solid — keep the transparent/dark hero look for
   the whole page, not just while the hero is in view. */
.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid {
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .navbar-brand {
    color: #fbf9f4;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-link {
    color: rgba(251, 249, 244, 0.78);
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-link:hover,
.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-link.active {
    border-bottom-color: #fbf9f4;
    color: #fbf9f4;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-cart {
    color: #fbf9f4;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-wallet {
    border-color: rgba(251, 249, 244, 0.45);
    color: #fbf9f4;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .nav-wallet.active {
    background: #fbf9f4;
    color: #2d2421;
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .navbar-toggler {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}

.public-page:has(.editorial-hero--coffee) .public-header.public-header--solid .navbar-toggler span {
    background: #fff;
}

/* Floating glass-pill nav — homepage hero only, matches the "Orbit" reference composition */
/* 20% taller than the base pill (3.4rem -> 4.08rem), scaled uniformly */
.public-page:has(.editorial-hero--coffee) .public-header .site-nav {
    min-height: 4.08rem;
}

.public-page:has(.editorial-hero--coffee) .public-header .nav-links {
    background: rgba(20, 16, 13, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(251, 249, 244, 0.14);
    border-radius: 999px;
    padding: 0.36rem 0.36rem 0.36rem 1.62rem;
}

.public-page:has(.editorial-hero--coffee) .public-header .nav-login {
    padding: 0.36rem 0.84rem 0.36rem 0.48rem;
}

.public-page:has(.editorial-hero--coffee) .public-header .eth-mark {
    height: 1.68rem;
    width: 1.68rem;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lede {
    color: var(--ink);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 46rem;
}

.font-Outfit {
    font-family: Outfit, sans-serif !important;
}

.muted {
    color: var(--muted);
}

.hero,
.section,
.page-intro,
.story-split,
.visit-grid,
.contact-section {
    margin-bottom: clamp(4rem, 8vw, 8rem);
}

.editorial-hero {
    box-sizing: border-box;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    margin: calc(clamp(1.25rem, 3vw, 3rem) * -1) calc(50% - 50vw) clamp(4rem, 8vw, 8rem);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: calc(4.75rem + clamp(1.25rem, 3vw, 3rem)) clamp(1.25rem, 3vw, 3rem) clamp(1.25rem, 3vw, 3rem);
    position: relative;
    width: 100vw;
    --hero-reveal-start: inset(0 0 42% 0);
}

.hero__media {
    min-height: clamp(24rem, 60vh, 42rem);
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.hero__content {
    align-self: end;
    max-width: 60rem;
    position: relative;
    z-index: 2;
}

/* Span the full hero width (not just the grid's narrow left track) so the
   headline wraps to two lines instead of three. */
.editorial-hero--coffee .hero__content {
    grid-column: 1 / -1;
    max-width: min(68vw, 72rem);
}

.hero-canvas {
    display: block;
    height: 100%;
    inset: 0;
    mix-blend-mode: overlay;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.hero-video {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.editorial-hero .hero__content h1 {
    color: #fbf9f4;
    font-size: clamp(2.5rem, 6.5vw, 5.25rem);
    line-height: 0.95;
}

.editorial-hero .hero__content .lede {
    color: #fbf9f4;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.editorial-hero .hero__content .eyebrow {
    color: rgba(251, 249, 244, 0.72);
}

.editorial-hero .button--ghost {
    border-color: rgba(251, 249, 244, 0.85);
    color: #fbf9f4;
}

.editorial-hero .button--ghost:hover {
    background: #fbf9f4;
    color: #2d2421;
}

.editorial-hero::before,
.editorial-hero::after {
    animation: hero-background-reveal 1.8s 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
    clip-path: var(--hero-reveal-start);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.editorial-hero::before {
    background-position: center;
    background-size: cover;
    filter: saturate(0.85) contrast(1.08);
}

.editorial-hero::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%),
        rgba(0, 0, 0, 0.4);
}

.editorial-hero--coffee {
    margin-bottom: clamp(1rem, 3vw, 2rem);
    /* nudges the bottom-anchored hero content up off the true viewport edge */
    padding-bottom: 15px;
}

.editorial-hero--coffee::before {
    display: none;
}

.editorial-hero--coffee::after {
    animation: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.52) 100%);
    clip-path: none;
}

.editorial-hero--about::before {
    background-image: url("https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
}

.editorial-hero--about::after {
    background: rgba(0, 0, 0, 0.38);
}

.editorial-hero.story-intro {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1.25rem, 3vw, 3rem);
    text-align: center;
}

.editorial-hero.story-intro .hero__content {
    align-self: center;
    margin-inline: auto;
}

.editorial-hero.story-intro .hero__content .lede {
    margin-inline: auto;
}

.editorial-hero.story-intro .hero__content h1,
.editorial-hero.story-intro .hero__content .lede,
.editorial-hero.story-intro .hero__content .eyebrow {
    color: #fff;
}

.editorial-hero.story-intro .hero__content .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    align-items: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button--dark,
.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--surface);
}

.button--dark:hover,
.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--surface);
}

.button--ghost {
    background: transparent;
    color: var(--ink);
}

.button--ghost:hover {
    background: var(--ink);
    color: var(--surface);
}

.section-heading,
.page-intro {
    max-width: 58rem;
}

.page-intro--split {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    max-width: none;
}

.offering-grid,
.journal-grid,
.product-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offering-card,
.journal-card,
.product-card,
.story-panel,
.hours-card {
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid var(--line);
}

.offering-card,
.product-card,
.story-panel,
.hours-card {
    padding: clamp(1.25rem, 2.4vw, 2.25rem);
}

.offering-card--offset {
    transform: translateY(3rem);
}

.image-frame,
.story-image,
.map-card {
    background-position: center;
    background-size: cover;
    filter: saturate(0.85) contrast(1.08);
    overflow: hidden;
    position: relative;
}

.image-frame::after,
.story-image::after {
    background: linear-gradient(180deg, rgba(45, 36, 33, 0.04), rgba(45, 36, 33, 0.28));
    content: "";
    inset: 0;
    position: absolute;
}

.image-frame {
    aspect-ratio: 4 / 5;
    margin-bottom: 1.5rem;
}

.image-frame--espresso {
    background-image: url("https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=900&q=80");
}

.image-frame--latte {
    background-image: url("https://images.unsplash.com/photo-1534778101976-62847782c213?auto=format&fit=crop&w=900&q=80");
}

.image-frame--coldbrew {
    background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=900&q=80");
}

.image-frame--equipment {
    background-image: url("https://images.unsplash.com/photo-1559056199-641a0ac8b55e?auto=format&fit=crop&w=900&q=80");
}

.image-frame--equipment-alt {
    background-image: url("https://images.unsplash.com/photo-1521302080334-4bebac2763a6?auto=format&fit=crop&w=900&q=80");
}

.image-frame--ceramics {
    background-image: url("https://images.unsplash.com/photo-1514228742587-6b1558fcca3d?auto=format&fit=crop&w=900&q=80");
}

.image-frame--ceramics-alt {
    background-image: url("https://images.unsplash.com/photo-1520031473529-2c06dea61853?auto=format&fit=crop&w=900&q=80");
}

.journal-card {
    min-height: 18rem;
    padding: 2rem;
}

.journal-card--tall {
    min-height: 28rem;
}

.journal-card span {
    color: var(--accent);
    display: block;
    margin-bottom: 5rem;
}

.menu-feature,
.menu-columns {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: clamp(4rem, 8vw, 8rem);
}

.menu-feature {
    align-items: center;
}

.menu-feature__image {
    aspect-ratio: 16 / 10;
    margin: 0;
}

.menu-list {
    border-top: 1px solid var(--line);
}

.menu-item {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr auto;
    padding: 1.25rem 0;
}

.menu-item h3,
.menu-item p {
    margin: 0;
}

.menu-item a,
.menu-item span {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.product-card {
    min-height: 18rem;
}

.product-card__footer {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
}


.story-image--wide {
    aspect-ratio: 16 / 7;
    background-image: url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1600&q=80");
}

.story-block {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin: clamp(3rem, 8vw, 7rem) 0;
}

.story-block p {
    color: var(--ink);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.story-split {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.story-image--portrait {
    background-image: url("https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=1000&q=80");
    min-height: 42rem;
}

.visit-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
}

.map-card {
    aspect-ratio: 16 / 9;
    background: #dedbd4;
    filter: grayscale(1);
}

.map-line {
    background: #f8f6f0;
    height: 2px;
    left: 8%;
    position: absolute;
    right: 8%;
    top: 35%;
    transform: rotate(-8deg);
}

.map-line--two {
    top: 56%;
    transform: rotate(14deg);
}

.map-line--three {
    left: 42%;
    right: auto;
    top: 8%;
    transform: rotate(90deg);
    width: 2px;
    height: 84%;
}

.map-pin {
    background: var(--ink);
    border-radius: 999px;
    height: 1rem;
    left: 50%;
    position: absolute;
    top: 48%;
    width: 1rem;
}

.hours-card dl,
.hours-card dd {
    margin: 0;
}

.hours-card dl div {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.hours-card dt {
    color: var(--ink);
    font-weight: 600;
}

.contact-section {
    border-top: 1px solid var(--line);
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    padding-top: clamp(2rem, 5vw, 4rem);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form label {
    color: var(--ink);
    display: grid;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font: inherit;
    padding: 0.85rem 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--ink);
    outline: none;
}

@media (min-width: 900px) {
    .editorial-hero {
        grid-template-columns: minmax(22rem, 0.85fr) minmax(0, 1.15fr);
        --hero-reveal-start: inset(0 60% 0 0);
    }

    .editorial-hero.story-intro {
        --hero-reveal-start: inset(0 0 42% 0);
    }
}

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .editorial-hero .hero__content h1 {
        font-size: clamp(2.25rem, 11vw, 3.75rem);
    }

    .page-intro--split,
    .offering-grid,
    .journal-grid,
    .menu-feature,
    .menu-columns,
    .story-block,
    .story-split,
    .visit-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .offering-card--offset {
        transform: none;
    }

    .editorial-hero .hero__media {
        min-height: 0;
    }

    .editorial-hero {
        grid-template-rows: 1fr auto;
        padding: calc(4.75rem + 1rem) 1.25rem 1.25rem;
    }

    .editorial-hero .hero__content {
        align-self: end;
    }

    .editorial-hero .hero__content .lede {
        max-width: 28rem;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes hero-background-reveal {
    from {
        clip-path: var(--hero-reveal-start);
    }

    to {
        clip-path: inset(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-hero::before,
    .editorial-hero::after {
        animation: none;
        clip-path: inset(0);
    }
}

/* --- Viewport Animations --- */
[data-animate] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}
[data-animate].is-visible {
    opacity: 1;
}

[data-animate="fade-up"].is-visible {
    opacity: 1;
}

[data-animate="blur"] {
    filter: blur(12px);
    transform: scale(0.98);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
                filter 1s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
[data-animate="blur"].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.stagger-container [data-animate] {
    opacity: 0;
}
.stagger-container.is-visible [data-animate],
.stagger-container [data-animate].is-visible {
    opacity: 1;
}
.stagger-container.is-visible [data-animate]:nth-child(1) { transition-delay: 0.1s; }
.stagger-container.is-visible [data-animate]:nth-child(2) { transition-delay: 0.3s; }
.stagger-container.is-visible [data-animate]:nth-child(3) { transition-delay: 0.5s; }
.stagger-container.is-visible [data-animate]:nth-child(4) { transition-delay: 0.7s; }

/* --- Editorial Journal --- */
.journal-page {
    color: var(--ink);
}

.journal-page h1,
.journal-page h2,
.journal-page h3 {
    letter-spacing: 0;
}

.journal-kicker {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin: 0 0 1.1rem;
    text-transform: uppercase;
}

.journal-hero__image {
    aspect-ratio: auto;
    background-position: center 46%;
    background-size: cover;
    filter: saturate(0.82) contrast(1.1);
    flex: 1 1 0;
    margin-inline: 0;
    min-height: 0;
    width: 100%;
}

.journal-hero__image--bloom {
    background-image:
        linear-gradient(180deg, rgba(45, 36, 33, 0.08), rgba(45, 36, 33, 0.24)),
        url("https://images.unsplash.com/photo-1517701604599-bb29b565090c?auto=format&fit=crop&w=1800&q=84");
}

.journal-hero__image--altitude {
    background-image:
        linear-gradient(180deg, rgba(45, 36, 33, 0.08), rgba(45, 36, 33, 0.24)),
        url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=1800&q=84");
    background-position: center 52%;
}

.journal-hero__image--water {
    background-image:
        linear-gradient(180deg, rgba(45, 36, 33, 0.08), rgba(45, 36, 33, 0.24)),
        url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=1800&q=84");
}

.journal-hero__image--morning {
    background-image:
        linear-gradient(180deg, rgba(45, 36, 33, 0.08), rgba(45, 36, 33, 0.24)),
        url("https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=1800&q=84");
    background-position: center 42%;
}

.journal-thumb,
.recruiter-journal-entry__visual.journal-thumb {
    background-position: center;
    background-size: cover;
}

.journal-thumb--bloom {
    background-image: url("https://images.unsplash.com/photo-1517701604599-bb29b565090c?auto=format&fit=crop&w=1800&q=84");
}

.journal-thumb--altitude {
    background-image: url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=1800&q=84");
}

.journal-thumb--water {
    background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=1800&q=84");
}

.journal-thumb--morning {
    background-image: url("https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=1800&q=84");
}

.journal-thumb--origin {
    background-image: url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=900&q=82");
}

.journal-thumb--tools {
    background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=900&q=82");
}

.journal-thumb--reading {
    background-image: url("https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=900&q=82");
}

.recruiter-journal-entry--dark .recruiter-journal-entry__visual.journal-thumb {
    background-color: transparent;
}

.journal-archive-link,
.journal-footer a {
    color: var(--ink);
    text-decoration: none;
}

.journal-archive-link {
    border-bottom: 1px solid currentColor;
    flex-shrink: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding-bottom: 0.2rem;
    text-transform: uppercase;
}

.journal-badge {
    align-self: flex-start;
    background: #dfe9d4;
    color: #31412c;
    display: inline-flex;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 0.9rem;
    padding: 0.42rem 0.55rem;
    text-transform: uppercase;
}

.journal-article-missing {
    margin: clamp(6rem, 12vw, 10rem) auto;
    max-width: 36rem;
    text-align: center;
}

.journal-article-missing h1 {
    margin-bottom: 0.75rem;
}

.journal-article-missing p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.journal-page--article {
    margin: 0;
    padding: 0;
    width: 100%;
}

.journal-newsletter {
    min-height: 100%;
    width: 100%;
}

.journal-newsletter__progress {
    background: transparent;
    height: 3px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 60;
}

.journal-newsletter__progress-bar {
    background: #c19a6b;
    height: 100%;
    transition: width 80ms linear;
    width: 0%;
}

.journal-newsletter__cover {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    justify-content: flex-end;
    margin-inline: calc(50% - 50vw);
    min-height: 50dvh;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    position: relative;
    width: 100vw;
}

.journal-newsletter__cover::after {
    background:
        linear-gradient(180deg, rgba(31, 26, 24, 0.14) 0%, rgba(31, 26, 24, 0.26) 55%, rgba(31, 26, 24, 0.8) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.journal-newsletter__cover-copy {
    box-sizing: border-box;
    display: grid;
    justify-items: center;
    margin-inline: auto;
    max-width: 68rem;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    text-align: center;
    width: 100%;
}

.journal-newsletter__back {
    color: rgba(255, 253, 249, 0.92);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    left: clamp(1.25rem, 4vw, 3rem);
    letter-spacing: 0.14em;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    top: 1.25rem;
    transition: color 200ms ease;
    z-index: 1;
}

.journal-newsletter__back:hover {
    color: var(--white);
}

.journal-newsletter__brand {
    color: rgba(255, 253, 249, 0.85);
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 0.6rem;
}

.journal-newsletter__cover-copy .journal-kicker {
    color: rgba(255, 253, 249, 0.62);
    margin-bottom: 0.6rem;
}

.journal-newsletter__cover-copy h1 {
    color: var(--white);
    font-size: clamp(1.85rem, 4vw, 3.75rem);
    line-height: 1;
    margin: 0;
}

.journal-newsletter__lede {
    color: rgba(255, 253, 249, 0.82);
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.55;
    margin: 0.9rem auto 0;
    max-width: 48rem;
}

.journal-newsletter__meta {
    color: rgba(255, 253, 249, 0.65);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 0.55rem;
    justify-content: center;
    letter-spacing: 0.1em;
    margin-top: 0.9rem;
    text-transform: uppercase;
}

.journal-newsletter__cover-image {
    background-position: center 46%;
    background-size: cover;
    filter: saturate(0.82) contrast(1.08);
    inset: 0;
    position: absolute;
    z-index: -2;
}

.journal-newsletter__scroll {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
}

.journal-newsletter__body {
    margin-inline: auto;
    max-width: 42rem;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
}

.journal-newsletter__intro,
.journal-newsletter__section p,
.journal-newsletter__aside p {
    color: rgba(45, 36, 33, 0.88);
    font-family: var(--font-sidebar-display);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin: 0;
}

.journal-newsletter__intro {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.journal-newsletter__section {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.journal-newsletter__section h2 {
    color: var(--ink);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.2;
    margin: 0.35rem 0 0.85rem;
}

.journal-newsletter__pullquote {
    border-left: 3px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-style: italic;
    line-height: 1.55;
    margin: 1.35rem 0 0;
    padding-left: 1.25rem;
}

.journal-newsletter__aside {
    background: #f2eee5;
    border: 1px dashed rgba(141, 111, 85, 0.35);
    border-radius: 1rem;
    margin-block: clamp(1.5rem, 3vw, 2rem);
    padding: 1.25rem 1.35rem;
}

.journal-newsletter__aside-label {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.journal-newsletter__aside p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.journal-newsletter__closing {
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.journal-newsletter__divider {
    background: repeating-linear-gradient(
        90deg,
        var(--line) 0,
        var(--line) 4px,
        transparent 4px,
        transparent 10px
    );
    height: 1px;
    margin-bottom: 1.75rem;
}

.journal-newsletter__next-issue {
    color: var(--muted);
    font-family: var(--font-sidebar-display);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.journal-newsletter__next-label {
    color: var(--accent);
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.journal-newsletter__signoff {
    color: var(--ink);
    font-family: var(--font-sidebar-display);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.journal-newsletter__signature {
    color: var(--accent);
    display: block;
    font-style: italic;
    margin-top: 0.25rem;
}

.journal-newsletter__more {
    background: var(--surface);
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding: clamp(3rem, 7vw, 5rem) max(clamp(1.25rem, 3vw, 3rem), calc((100vw - 1440px) / 2 + clamp(1.25rem, 3vw, 3rem)));
}

.journal-newsletter__more h2 {
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1.5rem;
    text-align: center;
}

.journal-newsletter__more-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: auto;
    max-width: 56rem;
}

.journal-newsletter__more-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: inherit;
    display: grid;
    gap: 0.65rem;
    overflow: hidden;
    padding-bottom: 1.15rem;
    text-decoration: none;
    transition: box-shadow 320ms ease, transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.journal-newsletter__more-card > div:first-child {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    width: 100%;
}

.journal-newsletter__more-card .journal-badge,
.journal-newsletter__more-card h3,
.journal-newsletter__more-link {
    padding-inline: 1.15rem;
}

.journal-newsletter__more-card h3 {
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
}

.journal-newsletter__more-link {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (hover: hover) {
    .journal-newsletter__more-card:hover {
        box-shadow: 0 16px 40px rgba(45, 36, 33, 0.08);
        transform: translateY(-3px);
    }
}

.journal-newsletter__subscribe {
    background: #dfe9d4;
    margin-top: 0;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.journal-newsletter__subscribe-card {
    margin-inline: auto;
    max-width: 36rem;
    text-align: center;
}

.journal-newsletter__subscribe-eyebrow {
    color: #31412c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.journal-newsletter__subscribe-copy {
    color: rgba(49, 65, 44, 0.82);
    font-family: var(--font-sidebar-display);
    font-size: 1.1rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.journal-newsletter__subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.journal-newsletter__subscribe-form input {
    background: var(--white);
    border: 1px solid rgba(49, 65, 44, 0.2);
    border-radius: 999px;
    color: var(--ink);
    flex: 1 1 14rem;
    font: inherit;
    font-size: 0.85rem;
    max-width: 18rem;
    min-height: 2.75rem;
    padding: 0 1.1rem;
}

.journal-newsletter__subscribe-form button {
    background: #31412c;
    border: 1px solid #31412c;
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    min-height: 2.75rem;
    padding: 0 1.35rem;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .journal-field-notes__grid {
        grid-template-columns: 1fr;
    }

    .journal-newsletter__more-grid {
        grid-template-columns: 1fr;
    }

    .journal-newsletter__stamp {
        height: 3.5rem;
        width: 3.5rem;
    }

    .journal-newsletter__cover-copy h1 {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
}

.journal-footer {
    align-items: center;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 253, 249, 0.12);
    box-sizing: border-box;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin: 0 calc(50% - 50vw) calc(clamp(1.25rem, 3vw, 3rem) * -1);
    padding-block: 2.5rem;
    padding-inline: max(clamp(1.25rem, 3vw, 3rem), calc((100vw - 1440px) / 2 + clamp(1.25rem, 3vw, 3rem)));
    width: 100vw;
}

.journal-footer a,
.journal-footer__logo {
    color: var(--white);
}

.journal-footer__logo {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1;
}

.journal-footer__icons {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.journal-footer__icons a {
    align-items: center;
    color: rgba(255, 253, 249, 0.65);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    transition: color 200ms ease;
    width: 44px;
}

.journal-footer__icons a:hover {
    color: var(--white);
}

.journal-footer__copyright {
    color: rgba(255, 253, 249, 0.5);
    font-size: 0.72rem;
}

@media (min-width: 900px) {
    .journal-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

.content:has(.journal-page) {
    padding-top: 0;
}

@media (max-width: 900px) {
    .journal-hero__image {
        aspect-ratio: auto;
        min-height: 0;
    }
}

/* --- Marketplace Template Styles --- */
.products-shop {
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.public-content:has(.products-shop) .journal-footer {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.category-filter {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0 0 3rem 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
}
.category-filter li {
    padding-bottom: 0.85rem;
    cursor: pointer;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}
.category-filter li.active {
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
}

@media (max-width: 960px) {
    .marketplace-card:not(.marketplace-card--qty-expanded) .product-qty {
        display: none;
    }
}

.marketplace-card {
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 180ms ease;
}

.marketplace-card:hover {
    transform: translateY(-2px);
}

.marketplace-card .image-frame {
    aspect-ratio: 1 / 1.25;
    border-radius: 0.35rem;
    margin-bottom: 1.05rem;
}

.marketplace-card h3 {
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0.5rem 0 0.35rem;
    text-transform: uppercase;
}
.marketplace-card .price {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

.marketplace-card__footer {
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .marketplace-card__footer {
        align-items: center;
        display: flex;
        gap: 0.75rem;
        justify-content: space-between;
        margin-top: 0.75rem;
    }

    .marketplace-card__add {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
        min-height: 2.1rem;
        padding: 0.45rem 0.85rem;
        white-space: nowrap;
    }
}

.product-transition-active {
    cursor: progress;
}

.product-transition-active .public-header,
.product-transition-active .journal-footer {
    opacity: 0;
    transition: opacity 240ms ease;
}

.product-transition-away {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(1.25rem) scale(0.96) !important;
    transition:
        opacity 260ms ease,
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-transition-source {
    pointer-events: none;
    transform: none !important;
    transition:
        opacity 220ms ease,
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-transition-source .eyebrow,
.product-transition-source h3,
.product-transition-source .price,
.product-transition-source .marketplace-card__actions {
    opacity: 0;
    transform: translateX(-1rem);
    transition:
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-transition-source-image {
    opacity: 0;
}

.product-transition-clone {
    box-shadow: 0 32px 80px rgba(45, 36, 33, 0.18);
    margin: 0 !important;
    pointer-events: none;
    position: fixed;
    z-index: 1000;
}

.featured-set {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3rem, 6vw, 6rem);
    margin-top: clamp(5rem, 10vw, 8rem);
    padding-top: clamp(4rem, 8vw, 6rem);
    border-top: 1px solid var(--line);
}
.featured-set__content {
    align-self: center;
}
.featured-set__content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}
.featured-set__content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 28rem;
}

@media (max-width: 900px) {
    .featured-set {
        grid-template-columns: 1fr;
    }
}

.user-menu-backdrop {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background:
        radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.06), transparent 26rem),
        rgba(0, 0, 0, 0.72);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease;
    z-index: 2100;
}

.user-menu-backdrop--open {
    opacity: 1;
    pointer-events: auto;
}

.user-menu {
    --menu-cream: #fffdf9;
    --menu-espresso: #fffdf9;
    --menu-sand: rgba(0, 0, 0, 0.28);
    --menu-sand-hover: rgba(0, 0, 0, 0.38);
    --menu-muted: rgba(255, 253, 249, 0.54);
    -webkit-backdrop-filter: blur(30px) saturate(1.18);
    backdrop-filter: blur(30px) saturate(1.18);
    background: rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    bottom: 0;
    box-shadow: -1.25rem 0 3.5rem rgba(0, 0, 0, 0.48), inset 1px 0 0 rgba(255, 255, 255, 0.07);
    color: var(--menu-espresso);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    justify-content: space-between;
    max-width: min(20.5rem, calc(100vw - 1rem));
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.35rem, 2.4vw, 1.85rem);
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translate3d(104%, 0, 0);
    transition:
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        box-shadow 360ms ease;
    will-change: transform;
    width: 20.5rem;
    z-index: 2101;
}

.user-menu--open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.user-menu .label-caps {
    color: var(--menu-muted);
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
}

.user-menu__brand,
.user-menu__nav,
.user-menu__foot {
    opacity: 0;
    transform: translateX(0.7rem);
    transition:
        opacity 240ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.user-menu--open .user-menu__brand,
.user-menu--open .user-menu__nav,
.user-menu--open .user-menu__foot {
    opacity: 1;
    transform: translateX(0);
}

.user-menu--open .user-menu__brand {
    transition-delay: 70ms;
}

.user-menu--open .user-menu__nav {
    transition-delay: 115ms;
}

.user-menu--open .user-menu__foot {
    transition-delay: 155ms;
}

.user-menu__brand {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: clamp(1.5rem, 3vw, 2.1rem);
}

.user-menu__brand-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.user-menu__logo {
    color: var(--menu-espresso);
    font-family: var(--font-sidebar-display);
    font-size: clamp(1.65rem, 2.4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-decoration: none;
}

.user-menu__logo:hover {
    color: var(--menu-espresso);
    opacity: 0.82;
}

.user-menu__wallet-address {
    color: var(--menu-espresso);
    font-family: var(--crypto-mono);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu__identity {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.user-menu__close {
    align-items: center;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: rgba(255, 253, 249, 0.82);
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0;
    height: 2.65rem;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    margin-top: 0;
    padding: 0;
    position: relative;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 2.65rem;
}

.user-menu__close::before,
.user-menu__close::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 0.82rem;
}

.user-menu__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.user-menu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.user-menu__close:hover {
    background: rgba(0, 0, 0, 0.38);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fffdf9;
    transform: scale(1.04);
}

.user-menu__nav {
    flex: 1;
    min-height: 0;
}

.user-menu__list {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu__list li {
    border-bottom: 1px solid rgba(255, 253, 249, 0.16);
}

.user-menu__list li:first-child {
    border-top: 1px solid rgba(255, 253, 249, 0.16);
}

.user-menu__row {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--menu-espresso);
    display: grid;
    gap: 0.5rem 1rem;
    grid-template-columns: 1fr auto;
    min-height: 4.35rem;
    padding: 1.05rem 0;
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.user-menu__row:hover,
.user-menu__row--active {
    background: transparent;
    box-shadow: none;
    transform: translateX(2px);
}

.user-menu__label {
    color: #fffdf9;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

.user-menu__goto {
    display: none;
}

.user-menu__row:hover .user-menu__goto,
.user-menu__row--active .user-menu__goto,
.user-menu__row:focus-visible .user-menu__goto {
    color: #fffdf9;
    opacity: 1;
}

.user-menu__row:hover .user-menu__goto {
    transform: translateX(2px);
}

.user-menu__goto-icon {
    font-size: 0.72rem;
    line-height: 1;
}

.user-menu__row:focus-visible {
    outline: 2px solid #c2a47d;
    outline-offset: 3px;
}

.user-menu__foot {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: 0.25rem;
}

.user-menu__new-stake {
    align-items: center;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 253, 249, 0.82);
    border-radius: 8px;
    color: var(--menu-cream);
    display: flex;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.18em;
    min-height: 4.35rem;
    padding: 1.05rem 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.user-menu__new-stake:hover {
    background: rgba(0, 0, 0, 0.44);
    border-color: #fffdf9;
    color: var(--menu-cream);
    transform: translateY(-1px);
}

.user-menu__new-stake:focus-visible {
    outline: 2px solid #c2a47d;
    outline-offset: 3px;
}

.user-menu__logout {
    margin: 0;
}

.user-menu__logout button {
    background: transparent;
    border: 0;
    color: var(--menu-muted);
    cursor: pointer;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0.25rem 0;
    text-align: left;
    text-transform: uppercase;
    transition: color 160ms ease;
    width: 100%;
}

.user-menu__logout button:hover {
    color: var(--menu-espresso);
}

.user-menu__delete-account {
    margin: 0;
}

.user-menu__delete-account button {
    background: transparent;
    border: 0;
    color: rgba(178, 59, 47, 0.72);
    cursor: pointer;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0.25rem 0;
    text-align: left;
    text-transform: uppercase;
    transition: color 160ms ease;
    width: 100%;
}

.user-menu__delete-account button:hover {
    color: #b23b2f;
}

@media (prefers-reduced-motion: reduce) {
    .user-menu-backdrop,
    .user-menu,
    .user-menu__brand,
    .user-menu__nav,
    .user-menu__foot,
    .user-menu__close,
    .user-menu__row,
    .user-menu__goto,
    .user-menu__new-stake,
    .user-menu__logout button,
    .user-menu__delete-account button {
        transition: none;
    }

    .user-menu,
    .user-menu__brand,
    .user-menu__nav,
    .user-menu__foot {
        transform: none;
    }
}

@media (max-width: 760px) {
    .user-menu {
        border-left: 0;
        left: 0;
        max-width: none;
        padding: clamp(1.35rem, 5vw, 2rem);
        width: 100vw;
    }

    .user-menu__wallet-address {
        font-size: clamp(1.25rem, 5vw, 1.55rem);
    }

    .user-menu__goto {
        opacity: 1;
    }
}

.cart-toast-host {
    bottom: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
    position: fixed;
    right: clamp(1.25rem, 3vw, 2rem);
    z-index: 1200;
}

.cart-toast {
    align-items: center;
    background: var(--charcoal);
    border: 1px solid rgba(255, 253, 249, 0.12);
    box-shadow: 0 18px 40px rgba(31, 26, 24, 0.22);
    color: var(--white);
    display: flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.85rem;
    letter-spacing: 0.03em;
    max-width: min(22rem, calc(100vw - 2.5rem));
    opacity: 0;
    padding: 0.9rem 1rem 0.9rem 1.15rem;
    pointer-events: auto;
    transform: translateY(0.65rem);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.cart-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast--leaving {
    opacity: 0;
    transform: translateY(0.35rem);
}

.cart-toast--success {
    border-left: 3px solid var(--accent);
}

.cart-toast--error {
    border-left: 3px solid #c45c4a;
}

.cart-toast__dismiss {
    background: transparent;
    border: 0;
    color: rgba(255, 253, 249, 0.72);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
    margin-left: auto;
    padding: 0;
}

.cart-toast__dismiss:hover {
    color: var(--white);
}

/* ==================== Recruiter Showcase Motion System ====================
   Shared scroll-reveal primitives driven by wwwroot/js/recruiterMotion.js.
   Used by Home.razor and any other page with [data-recruiter-section]
   content (Story, Journal), so this lives globally rather than scoped to
   a single page's inline <style> block. */

.recruiter-showcase {
    --recruiter-bg: #fbf9f4;
    --recruiter-ink: var(--charcoal, #211b17);
    --recruiter-muted: rgba(33, 27, 23, 0.62);
    --recruiter-line: rgba(33, 27, 23, 0.12);
    --recruiter-card: rgba(255, 252, 246, 0.78);
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(4.5rem, 12vw, 8rem);
    position: relative;
}

.recruiter-showcase::after {
    background: linear-gradient(180deg, transparent, rgba(251, 249, 244, 0.84) 70%, var(--recruiter-bg));
    content: "";
    inset: auto 0 0;
    height: 30%;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.recruiter-section-heading {
    margin-inline: auto;
    max-width: 820px;
    text-align: center;
}

.recruiter-kicker {
    color: var(--recruiter-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.8;
    margin: 1.2rem auto 0;
    max-width: 620px;
}

[data-recruiter-animate] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition:
        opacity 900ms ease,
        filter 1000ms ease,
        clip-path 1000ms cubic-bezier(.16, 1, .3, 1),
        transform 1000ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--recruiter-delay, 0ms);
    will-change: transform, opacity, filter, clip-path;
}

[data-recruiter-animate="reveal"] {
    clip-path: inset(0 0 102% 0 round 0.18em);
    filter: blur(12px);
    transform: translate3d(0, 18px, 0) scale(0.985);
}

[data-recruiter-animate="card"] {
    filter: blur(14px);
    transform: translate3d(0, 58px, 0) rotateX(14deg) scale(0.96);
    transform-origin: center bottom;
}

.is-visible[data-recruiter-animate] {
    clip-path: inset(0 0 0 0 round 0);
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

/* --- mask-line: word/line reveal (headlines) --- */
[data-recruiter-animate="mask-line"] {
    opacity: 1;
    transform: none;
    transition: none;
}

.mask-line {
    display: block;
    overflow: hidden;
}

.mask-line__inner {
    display: block;
    transform: translateY(110%) rotate(1.5deg);
    transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--recruiter-delay, 0ms);
}

.mask-line:nth-of-type(2) .mask-line__inner {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 120ms);
}

.mask-line:nth-of-type(3) .mask-line__inner {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 240ms);
}

.is-visible[data-recruiter-animate="mask-line"] .mask-line__inner {
    transform: translateY(0) rotate(0deg);
}

/* --- draw: SVG stroke reveal --- */
[data-recruiter-animate="draw"] {
    opacity: 1;
    transform: none;
    transition: none;
}

[data-recruiter-animate="draw"] path {
    fill: none;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    stroke-linecap: round;
    transition: stroke-dashoffset 1400ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--recruiter-delay, 0ms);
}

.is-visible[data-recruiter-animate="draw"] path {
    stroke-dashoffset: 0;
}

/* --- type: mono typing line with caret --- */
[data-recruiter-animate="type"] {
    opacity: 1;
    transform: none;
    transition: none;
}

.type-line {
    border-right: 1px solid var(--muted);
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    transition: width 1100ms steps(30, end);
    transition-delay: var(--recruiter-delay, 0ms);
    vertical-align: bottom;
    white-space: nowrap;
    width: 0;
}

.is-visible[data-recruiter-animate="type"] .type-line {
    animation: recruiterCaretBlink 1s step-end 2;
    animation-delay: calc(var(--recruiter-delay, 0ms) + 1100ms);
    animation-fill-mode: forwards;
    width: 100%;
}

@keyframes recruiterCaretBlink {
    0%, 49% { border-right-color: var(--muted); }
    50%, 100% { border-right-color: transparent; }
}

@keyframes recruiterSteam {
    0%, 100% { opacity: 0; transform: translate3d(0, 28px, 0) scaleY(0.75); }
    45% { opacity: 0.85; transform: translate3d(8px, -36px, 0) scaleY(1.15); }
    70% { opacity: 0.15; transform: translate3d(-10px, -72px, 0) scaleY(1.35); }
}

@keyframes recruiterPour {
    0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.72); }
    50% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

@keyframes recruiterPulse {
    0%, 100% { opacity: 0.35; transform: translateX(-50%) scale(0.92); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.05); }
}

@keyframes recruiterFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

@media (prefers-reduced-motion: reduce) {
    [data-recruiter-animate],
    .mask-line__inner,
    [data-recruiter-animate="draw"] path,
    .type-line {
        animation: none !important;
        clip-path: none !important;
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .type-line {
        border-right-color: transparent !important;
        width: 100% !important;
    }
}

/* ==================== Recruiter Journal Index ====================
   Shared editorial entry-row list, originally scoped to Home's Journal
   section. Extracted here so the standalone /journal page can reuse the
   same row pattern via [data-recruiter-section]. */

.recruiter-journal-index {
    --journal-ink: var(--charcoal, #211b17);
    --journal-surface: var(--surface, #fbf9f4);
    --journal-muted: rgba(33, 27, 23, 0.62);
    --journal-line: rgba(33, 27, 23, 0.13);
    padding-block: clamp(3.5rem, 7vw, 7rem);
    padding-inline: clamp(0.75rem, 1.8vw, 1.75rem);
    position: relative;
}

.recruiter-journal-index::before {
    background: linear-gradient(90deg, var(--journal-line), transparent);
    content: "";
    height: 1px;
    left: clamp(0.75rem, 1.8vw, 1.75rem);
    position: absolute;
    right: clamp(0.75rem, 1.8vw, 1.75rem);
    top: clamp(1.25rem, 3vw, 2rem);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1200ms cubic-bezier(.16, 1, .3, 1);
}

.recruiter-journal-index.is-in-view::before {
    transform: scaleX(1);
}

.recruiter-journal-index__layout {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1.48fr);
    margin-inline: 0;
    max-width: none;
    width: 100%;
}

.recruiter-journal-index__masthead {
    align-self: start;
    min-width: 0;
    opacity: 1;
    padding-left: 0;
    position: sticky;
    top: 5rem;
    visibility: visible;
}

.recruiter-journal-index__masthead [data-recruiter-animate] {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
}

.recruiter-journal-index.is-in-view .recruiter-journal-index__masthead [data-recruiter-animate] {
    clip-path: inset(0 0 0 0 round 0);
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.recruiter-journal-index__masthead .recruiter-kicker {
    margin-inline: 0;
    max-width: 28rem;
    text-align: left;
}

.recruiter-journal-index__signal {
    border-top: 1px solid var(--journal-line);
    display: grid;
    gap: 0.85rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-top: 1.2rem;
    max-width: 28rem;
}

.recruiter-journal-index__signal span {
    color: var(--journal-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.recruiter-journal-index__list {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: 1fr;
    margin-top: 0;
    min-width: 0;
}

.recruiter-journal-entry {
    background: var(--journal-surface);
    border: 1px solid var(--journal-line);
    border-radius: clamp(1.4rem, 2vw, 2.25rem);
    box-shadow: 0 28px 80px rgba(33, 27, 23, 0.05);
    min-height: auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: box-shadow 450ms ease, transform 450ms cubic-bezier(.16, 1, .3, 1), border-color 450ms ease;
}

.recruiter-journal-entry__link {
    align-items: stretch;
    color: inherit;
    display: grid;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    grid-template-columns: clamp(10rem, 18vw, 16rem) minmax(0, 1fr) auto;
    min-height: clamp(7.5rem, 11vw, 10rem);
    padding: 0;
    position: relative;
    text-decoration: none;
}

.recruiter-journal-entry__visual {
    align-self: stretch;
    aspect-ratio: auto;
    background-position: center;
    background-size: cover;
    border-radius: 0;
    height: 100%;
    margin-bottom: 0;
    min-height: inherit;
    overflow: hidden;
    position: relative;
    width: 100%;
    transition: transform 450ms cubic-bezier(.16, 1, .3, 1);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__visual {
    background: rgba(251, 249, 244, 0.06);
}

/* Unified Background Hover Effect */
.recruiter-journal-entry__link::before {
    background: radial-gradient(circle at top right, rgba(138, 91, 54, 0.08), transparent 50%);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 500ms ease;
    z-index: -1;
}

.recruiter-journal-entry__content {
    display: block;
    max-width: 640px;
    min-width: 0;
    padding-block: clamp(0.85rem, 1.5vw, 1.25rem);
}

/* Text Animations Base States */
.recruiter-journal-entry__header,
.recruiter-journal-entry__text-reveal h3,
.recruiter-journal-entry__text-reveal p,
.recruiter-journal-entry__meta {
    filter: blur(8px);
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 800ms ease,
        filter 900ms ease,
        transform 1000ms cubic-bezier(.16, 1, .3, 1);
}

/* Text Animation Staggering */
.recruiter-journal-entry__header {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 100ms);
}

.recruiter-journal-entry__text-reveal h3 {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 220ms);
}

.recruiter-journal-entry__text-reveal p {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 340ms);
}

.recruiter-journal-entry__meta {
    transition-delay: calc(var(--recruiter-delay, 0ms) + 460ms);
}

/* Text Animation Active States */
.recruiter-journal-entry.is-visible .recruiter-journal-entry__header,
.recruiter-journal-entry.is-visible .recruiter-journal-entry__text-reveal h3,
.recruiter-journal-entry.is-visible .recruiter-journal-entry__text-reveal p,
.recruiter-journal-entry.is-visible .recruiter-journal-entry__meta {
    filter: blur(0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.recruiter-journal-entry__header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.45rem, 0.9vw, 0.7rem);
    margin-bottom: 0.45rem;
}

.recruiter-journal-entry__number,
.recruiter-journal-entry__separator,
.recruiter-journal-entry__label {
    font-size: clamp(0.72rem, 1.35vw, 0.95rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.recruiter-journal-entry__number {
    color: rgba(33, 27, 23, 0.36);
    flex: 0 0 auto;
}

.recruiter-journal-entry__separator {
    color: rgba(33, 27, 23, 0.22);
    flex: 0 0 auto;
    font-weight: 500;
}

.recruiter-journal-entry__label {
    color: var(--accent);
    flex: 0 1 auto;
    margin: 0;
    text-transform: uppercase;
}

.recruiter-journal-entry__text-reveal {
    display: block;
}

.recruiter-journal-entry__content h3 {
    color: var(--journal-ink);
    font-size: clamp(1.05rem, 1.85vw, 1.65rem);
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0 0 0.35rem;
}

.recruiter-journal-entry__content p:not(.eyebrow) {
    color: var(--journal-muted);
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    line-height: 1.55;
    margin: 0;
}

.recruiter-journal-entry__meta {
    align-items: center;
    color: var(--journal-muted);
    display: inline-flex;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    padding-right: clamp(1.25rem, 2.5vw, 2rem);
    text-transform: uppercase;
    white-space: nowrap;
}

.recruiter-journal-entry__meta span:last-child {
    align-items: center;
    border: 1px solid var(--journal-line);
    border-radius: 999px;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    transition: background 360ms ease, color 360ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1);
    width: 2.75rem;
}

.recruiter-journal-index__ambient {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.recruiter-journal-index__ambient span {
    background: rgba(33, 27, 23, 0.055);
    border-radius: 999px;
    height: 0.5rem;
    opacity: 0;
    position: absolute;
    transform: translateX(-2rem) scaleX(0.4);
    transform-origin: left;
    transition: opacity 900ms ease, transform 1400ms cubic-bezier(.16, 1, .3, 1);
    width: clamp(8rem, 18vw, 18rem);
}

.recruiter-journal-index__ambient span:nth-child(1) { right: 8%; top: 18%; }
.recruiter-journal-index__ambient span:nth-child(2) { right: 16%; top: 48%; transition-delay: 140ms; }
.recruiter-journal-index__ambient span:nth-child(3) { right: 4%; top: 76%; transition-delay: 280ms; }

.recruiter-journal-index.is-in-view .recruiter-journal-index__ambient span {
    opacity: 1;
    transform: translateX(0) scaleX(1);
}

.recruiter-journal-entry--dark {
    background: var(--journal-ink);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__link::before {
    background: radial-gradient(circle at top right, rgba(255, 252, 246, 0.08), transparent 50%);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__content h3,
.recruiter-journal-entry--dark .recruiter-journal-entry__number,
.recruiter-journal-entry--dark .recruiter-journal-entry__meta span:last-child {
    color: var(--journal-surface);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__separator {
    color: rgba(251, 249, 244, 0.28);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__label {
    color: rgba(251, 249, 244, 0.72);
}

.recruiter-journal-entry--dark .recruiter-journal-entry__content p,
.recruiter-journal-entry--dark .recruiter-journal-entry__meta {
    color: rgba(251, 249, 244, 0.66);
}

@media (hover: hover) {
    .recruiter-journal-entry:hover {
        border-color: rgba(33, 27, 23, 0.24);
        box-shadow: 0 36px 90px rgba(33, 27, 23, 0.1);
        transform: translateY(-6px);
    }

    .recruiter-journal-entry:hover .recruiter-journal-entry__visual {
        transform: scale(1.05);
    }

    .recruiter-journal-entry__link:hover::before {
        opacity: 1;
    }

    .recruiter-journal-entry__link:hover .recruiter-journal-entry__meta span:last-child {
        background: var(--journal-ink);
        color: var(--journal-surface);
        transform: translate3d(0.35rem, -0.35rem, 0);
    }

    .recruiter-journal-entry--dark:hover .recruiter-journal-entry__meta span:last-child {
        background: var(--journal-surface);
        color: var(--journal-ink);
    }
}

@media (max-width: 980px) {
    .recruiter-journal-index {
        padding-inline: clamp(1rem, 4vw, 1.5rem);
    }

    .recruiter-journal-index__layout {
        grid-template-columns: 1fr;
    }

    .recruiter-journal-index__masthead {
        position: relative;
        top: auto;
    }

    .recruiter-journal-entry__link {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .recruiter-journal-entry__visual {
        aspect-ratio: 16 / 9;
        min-height: clamp(7rem, 24vw, 11rem);
    }

    .recruiter-journal-entry__content {
        padding: 0 clamp(1.35rem, 4vw, 1.75rem);
    }

    .recruiter-journal-entry__meta {
        justify-content: space-between;
        padding: 0 clamp(1.35rem, 4vw, 1.75rem) clamp(1.35rem, 4vw, 1.75rem);
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .recruiter-journal-index::before,
    .recruiter-journal-entry,
    .recruiter-journal-entry__link::before,
    .recruiter-journal-entry__meta span:last-child,
    .recruiter-journal-index__ambient span,
    .recruiter-journal-entry__header,
    .recruiter-journal-entry__text-reveal h3,
    .recruiter-journal-entry__text-reveal p,
    .recruiter-journal-entry__meta {
        animation: none !important;
        clip-path: none !important;
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
/* Shared multichain selector */
.chain-selector { display: inline-flex; min-width: 0; }
.chain-selector__control { appearance: auto; background: #1f1915; border: 1px solid rgba(244,239,230,.22); border-radius: 999px; color: #f4efe6; font: 700 .72rem/1.2 Inter,sans-serif; min-height: 2.4rem; padding: .55rem 2rem .55rem .8rem; }
.chain-selector--compact .chain-selector__control { max-width: 10rem; min-height: 2.1rem; }
.chain-selector__control:focus-visible { outline: 2px solid #8fb99b; outline-offset: 2px; }
