html {
    scroll-behavior: smooth;
}

body.site-ui {
    --home-bg: #f3f4f6;
    --home-surface: rgba(255, 255, 255, 0.82);
    --home-surface-strong: rgba(255, 255, 255, 0.94);
    --home-border: rgba(17, 24, 39, 0.12);
    --home-text: #111827;
    --home-muted: rgba(31, 41, 55, 0.72);
    --home-accent: #111827;
    --home-accent-strong: #000000;
    --home-accent-soft: rgba(17, 24, 39, 0.08);
    --home-sage: #9ca3af;
    --home-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    --home-placeholder-base: rgba(226, 232, 240, 0.75);
    --home-placeholder-highlight: rgba(255, 255, 255, 0.92);
    background:
        radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(226, 232, 240, 0.26), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 46%, #eef2f7 100%);
    color: var(--home-text);
}

body.site-ui[data-bs-theme="dark"] {
    --home-bg: #0b0b0b;
    --home-surface: rgba(17, 17, 17, 0.78);
    --home-surface-strong: rgba(23, 23, 23, 0.92);
    --home-border: rgba(255, 255, 255, 0.1);
    --home-text: #f9fafb;
    --home-muted: rgba(229, 231, 235, 0.72);
    --home-accent: #f9fafb;
    --home-accent-strong: #d1d5db;
    --home-accent-soft: rgba(255, 255, 255, 0.08);
    --home-sage: #6b7280;
    --home-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    --home-placeholder-base: rgba(31, 41, 55, 0.8);
    --home-placeholder-highlight: rgba(107, 114, 128, 0.34);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 24%),
        linear-gradient(180deg, #050505 0%, #0b0b0b 40%, #111111 100%);
    color: var(--home-text);
}

body.site-ui #kyroNavbar {
    background: rgba(255, 255, 255, 0.74);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
}

body.site-ui[data-bs-theme="dark"] #kyroNavbar {
    background: rgba(10, 10, 10, 0.74);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.site-ui .navbar-brand,
body.site-ui .navbar a:not(.btn) {
    color: var(--home-text);
}

body.site-ui .offcanvas {
    background: var(--home-surface-strong);
    color: var(--home-text);
}

.home-landing {
    position: relative;
    overflow: clip;
    text-align: left;
    color: var(--home-text);
    font-family: 'Manrope', sans-serif;
}

.home-landing::before,
.home-landing::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
    filter: blur(50px);
    opacity: 0.55;
}

.home-landing::before {
    width: 20rem;
    height: 20rem;
    top: 7rem;
    left: -4rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.home-landing::after {
    width: 18rem;
    height: 18rem;
    top: 24rem;
    right: -3rem;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.16);
}

.home-landing img {
    display: block;
    max-width: 100%;
}

.home-landing picture {
    display: block;
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, var(--home-placeholder-base), var(--home-accent-soft));
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, var(--home-placeholder-highlight) 45%, transparent 100%);
    transform: translateX(-100%);
    animation: homeMediaShimmer 1.35s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media img.home-progressive-media__img {
    opacity: 0;
    filter: blur(18px);
    transform: scale(1.04);
    transition: opacity 0.45s ease, filter 0.55s ease, transform 0.55s ease;
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media.is-loaded::before {
    opacity: 0;
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media.is-loaded img.home-progressive-media__img {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

body.site-ui.media-enhanced .home-landing picture.home-progressive-media.is-error::before {
    animation: none;
    opacity: 0;
}

@keyframes homeMediaShimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.site-ui.media-enhanced .home-landing picture.home-progressive-media::before,
    body.site-ui.media-enhanced .home-landing picture.home-progressive-media img.home-progressive-media__img {
        animation: none;
        transition: none;
    }
}

.home-landing h1,
.home-landing h2,
.home-landing h3 {
    font-family: 'Fraunces', serif;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 0;
}

.home-landing p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.72;
}

.home-shell {
    position: relative;
    z-index: 1;
}

.home-panel {
    border: 1px solid var(--home-border);
    border-radius: 28px;
    background: var(--home-surface);
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(18px);
}

.section-kicker,
.home-eyebrow span,
.signature-card__eyebrow,
.hero-spotlight__eyebrow,
.coffee-card__body span,
.all-day-card__content span,
.sweet-card__body span,
.rhythm-card span,
.stat-card strong,
.hero-stack__card span {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker,
.home-eyebrow span,
.signature-card__eyebrow,
.hero-spotlight__eyebrow,
.coffee-card__body span,
.all-day-card__content span,
.sweet-card__body span,
.rhythm-card span,
.hero-stack__card span {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--home-accent);
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    padding: 0.9rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-btn--solid {
    color: #fff;
    background: linear-gradient(135deg, var(--home-accent), var(--home-accent-strong));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

a.home-btn--solid,
a.home-btn--solid:hover,
a.home-btn--solid:active,
a.home-btn--solid:visited,
body[data-bs-theme="light"] a.home-btn--solid,
body[data-bs-theme="light"] a.home-btn--solid:hover,
body[data-bs-theme="light"] a.home-btn--solid:active,
body[data-bs-theme="light"] a.home-btn--solid:visited {
    color: #fff;
}

body[data-bs-theme="dark"] .home-btn--solid,
body[data-bs-theme="dark"] a.home-btn--solid,
body[data-bs-theme="dark"] a.home-btn--solid:hover,
body[data-bs-theme="dark"] a.home-btn--solid:active,
body[data-bs-theme="dark"] a.home-btn--solid:visited {
    color: #000;
}

.home-btn--ghost {
    color: var(--home-text);
    border-color: var(--home-border);
    background: rgba(255, 255, 255, 0.26);
}

a.home-btn--ghost,
a.home-btn--ghost:hover,
body[data-bs-theme="light"] a.home-btn--ghost,
body[data-bs-theme="dark"] a.home-btn--ghost {
    color: var(--home-text);
}

body.site-ui[data-bs-theme="dark"] .home-btn--ghost {
    background: rgba(255, 255, 255, 0.03);
}

.home-link-pill {
    display: inline-flex;
    width: fit-content;
    margin-top: 1.4rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--home-border);
    color: var(--home-text);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
}

.home-link-pill:hover {
    text-decoration: none;
}

.home-section-head {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    margin-bottom: 2rem;
}

.home-section-head h2,
.home-story__copy h2,
.home-coffee__copy h2,
.home-sweets__copy h2,
.home-location__copy h2,
.home-cta__panel h2,
.home-atmosphere__copy h2 {
    font-size: clamp(2.1rem, 3vw, 3.4rem);
}

.home-hero {
    padding: clamp(2.2rem, 5vw, 4.5rem) 0 2rem;
}

.home-hero .home-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2rem;
    align-items: center;
}

.home-hero__copy {
    display: grid;
    gap: 1.4rem;
}

.home-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.home-eyebrow span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--home-accent-soft);
}

.home-hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

.home-lead {
    max-width: 39rem;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.home-hero__actions,
.home-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.home-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.home-section-nav a {
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid var(--home-border);
    color: var(--home-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.home-section-nav a:hover {
    text-decoration: none;
}

.home-hero__visual {
    display: grid;
    gap: 1rem;
}

.hero-spotlight {
    overflow: hidden;
}

.hero-spotlight__media {
    aspect-ratio: 618 / 220;
    overflow: hidden;
}

.hero-spotlight__media picture,
.hero-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-spotlight__content {
    display: grid;
    gap: 0.85rem;
    padding: 1.5rem;
}

.hero-spotlight__content h2 {
    font-size: 2rem;
}

.hero-spotlight__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 0.25rem;
    color: var(--home-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stack__card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.hero-stack__card picture {
    display: block;
    width: min(100%, 163px);
    aspect-ratio: 163 / 150;
}

.hero-stack__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-stack__card strong {
    display: block;
    font-size: 1rem;
    color: var(--home-text);
}

.home-statbar {
    padding: 1rem 0 2rem;
}

.home-statbar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.35rem;
}

.stat-card strong {
    color: var(--home-text);
    font-size: 0.95rem;
}

.home-story,
.home-origin,
.home-atmosphere,
.home-signatures,
.home-coffee,
.home-all-day,
.home-sweets,
.home-rhythm,
.home-location,
.home-social,
.home-cta {
    padding: 1.75rem 0;
}

.home-story__grid,
.home-origin__grid,
.home-coffee__grid,
.home-location__grid,
.home-sweets__grid,
.home-atmosphere__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.4rem;
    align-items: start;
}

.home-story__copy,
.home-origin__copy,
.home-coffee__copy,
.home-location__copy,
.home-sweets__copy,
.home-atmosphere__copy {
    display: grid;
    gap: 1rem;
}

.home-origin__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.home-origin__points,
.origin-timeline {
    display: grid;
    gap: 1rem;
}

.home-origin__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.origin-point,
.origin-quote,
.origin-step {
    display: grid;
    gap: 0.9rem;
    padding: 1.35rem;
}

.origin-point {
    min-height: 100%;
}

.origin-point p {
    color: var(--home-text);
    font-weight: 600;
    line-height: 1.65;
}

.home-origin__timeline {
    display: grid;
    gap: 1rem;
}

.origin-quote {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--home-surface);
}

.origin-quote h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    color: var(--home-text);
}

.origin-quote p {
    max-width: 44rem;
}

.origin-timeline {
    position: relative;
    padding-left: 1rem;
}

.origin-timeline::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: var(--home-border);
}

.origin-step {
    position: relative;
    margin-left: 1rem;
}

.origin-step::before {
    content: "";
    position: absolute;
    left: -1.55rem;
    top: 1.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--home-accent);
    box-shadow: 0 0 0 0.35rem var(--home-accent-soft);
}

.origin-step strong {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    color: var(--home-text);
    line-height: 1.2;
}

.home-story__values,
.atmosphere-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.value-card,
.atmosphere-point {
    display: grid;
    gap: 0.9rem;
    padding: 1.35rem;
}

.value-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--home-accent-soft);
    color: var(--home-accent);
    font-size: 1.2rem;
}

.value-card h3,
.atmosphere-point strong {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    color: var(--home-text);
}

.home-atmosphere__mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.atmosphere-shot {
    overflow: hidden;
}

.atmosphere-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atmosphere-shot--tall {
    grid-row: span 2;
    min-height: 38rem;
}

.atmosphere-shot:not(.atmosphere-shot--tall):not(.atmosphere-shot--wide) {
    min-height: 18rem;
}

.atmosphere-shot--wide {
    grid-column: span 2;
    min-height: 18rem;
}

.signature-grid,
.all-day-grid,
.rhythm-grid,
.social-grid {
    display: grid;
    gap: 1rem;
}

.signature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signature-card,
.all-day-card,
.coffee-card,
.sweet-card,
.social-card {
    overflow: hidden;
}

.signature-card__media img,
.all-day-card__media img,
.coffee-card img,
.sweet-card img,
.home-map__photo img {
    width: 100%;
    object-fit: cover;
}

.signature-card__media img {
    aspect-ratio: 1.25;
}

.signature-card__content {
    display: grid;
    gap: 0.85rem;
    padding: 1.35rem;
}

.signature-card__content h3,
.all-day-card__content h3,
.sweet-card__body h3,
.coffee-card__body h3,
.rhythm-card h3,
.social-card strong {
    font-size: 1.45rem;
    color: var(--home-text);
}

.signature-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    color: var(--home-text);
    font-size: 0.95rem;
}

.home-coffee__grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
}

.coffee-grid,
.sweet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.coffee-card img,
.sweet-card img {
    aspect-ratio: 0.98;
}

.coffee-card__body,
.sweet-card__body {
    display: grid;
    gap: 0.8rem;
    padding: 1.25rem;
}

.coffee-card__body strong {
    color: var(--home-text);
}

.all-day-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.all-day-card__media img {
    aspect-ratio: 1.08;
}

.all-day-card__content {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
}

.all-day-card__content strong {
    color: var(--home-text);
}

.home-sweets__grid {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
}

.rhythm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rhythm-card {
    display: grid;
    gap: 0.95rem;
    padding: 1.45rem;
}

.home-location__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.home-map {
    overflow: hidden;
    padding: 1rem;
}

.home-map__photo {
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1rem;
}

.home-map__photo img {
    aspect-ratio: 1.5;
}

.home-map iframe {
    border-radius: 22px;
}

.social-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.social-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.35rem;
    color: var(--home-text);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    border-color: rgba(198, 118, 46, 0.32);
}

.social-card i {
    font-size: 1.35rem;
    color: var(--home-accent);
}

.home-cta {
    padding-bottom: 4rem;
}

.home-cta__panel {
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    padding: clamp(1.7rem, 4vw, 3rem);
    text-align: center;
}

.home-cta__panel p {
    max-width: 44rem;
}

.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199px) {
    .home-hero .home-shell,
    .home-story__grid,
    .home-origin__grid,
    .home-atmosphere__grid,
    .home-coffee__grid,
    .home-location__grid,
    .home-sweets__grid {
        grid-template-columns: 1fr;
    }

    .home-statbar__grid,
    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-origin__points {
        grid-template-columns: 1fr;
    }

    .coffee-grid,
    .sweet-grid,
    .all-day-grid,
    .rhythm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-spotlight__media {
        aspect-ratio: 935 / 400;
    }

}

@media (max-width: 991px) {
    .signature-grid,
    .hero-stack,
    .home-story__values,
    .atmosphere-points {
        grid-template-columns: 1fr;
    }

    .atmosphere-shot--tall,
    .atmosphere-shot--wide,
    .atmosphere-shot:not(.atmosphere-shot--tall):not(.atmosphere-shot--wide) {
        grid-column: auto;
        grid-row: auto;
        min-height: 18rem;
    }

}

@media (max-width: 767px) {
    .home-hero {
        padding-top: 1.25rem;
    }

    .home-hero h1 {
        max-width: none;
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .home-statbar__grid,
    .coffee-grid,
    .sweet-grid,
    .all-day-grid,
    .rhythm-grid,
    .social-grid,
    .home-origin__points,
    .home-atmosphere__mosaic {
        grid-template-columns: 1fr;
    }

    .hero-stack {
        grid-template-columns: 1fr;
    }

    .home-btn,
    .home-section-nav a,
    .home-link-pill {
        width: 100%;
    }

    .home-hero__actions,
    .home-location__actions,
    .home-section-nav {
        display: grid;
    }

    .home-map {
        padding: 0.75rem;
    }

    .home-panel {
        border-radius: 24px;
    }

    .hero-spotlight__content,
    .signature-card__content,
    .coffee-card__body,
    .sweet-card__body,
    .all-day-card__content,
    .value-card,
    .origin-point,
    .origin-quote,
    .origin-step,
    .atmosphere-point,
    .stat-card,
    .social-card,
    .rhythm-card,
    .home-cta__panel {
        padding: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-spotlight__media {
        aspect-ratio: 483 / 210;
    }

    .hero-stack__card picture {
        width: min(100%, 483px);
        aspect-ratio: 483 / 210;
    }
}

@media (min-width: 992px) and (max-width: 1198.98px) {
    .hero-stack__card picture {
        width: min(100%, 268px);
        aspect-ratio: 1;
    }
}

@media (min-width: 1199px) and (max-width: 1199.98px) {
    .hero-spotlight__media {
        aspect-ratio: 442 / 265;
    }

    .hero-stack__card picture {
        width: min(100%, 96px);
        aspect-ratio: 1;
    }
}

@media (min-width: 1200px) and (max-width: 1398.98px) {
    .hero-spotlight__media {
        aspect-ratio: 530 / 265;
    }

    .hero-stack__card picture {
        width: min(100%, 133px);
        aspect-ratio: 1;
    }
}

@media (min-width: 1399px) and (max-width: 1599px) {
    .hero-stack__card picture {
        width: min(100%, 163px);
        aspect-ratio: 163 / 150;
    }
}
