/*
Theme Name: Beleep Chocolatier
Theme URI: https://example.com/beleep-chocolatier
Author: Codex
Description: A refined WordPress theme for a luxury chocolatier brand.
Version: 1.0.3
Text Domain: beleep-chocolatier
*/

:root {
    --color-white: #fffdfa;
    --color-porcelain: #f8f4ef;
    --color-cream: #f2ebe3;
    --color-bordeaux: #5a1422;
    --color-bordeaux-soft: #7b2639;
    --color-brown: #2b1712;
    --color-taupe: #8a7667;
    --color-gold: #b9975b;
    --color-line: rgba(43, 23, 18, 0.12);
    --font-serif: "Cormorant Garamond", "Times New Roman", serif;
    --font-jp: "Noto Serif JP", serif;
    --container: min(1120px, calc(100vw - 48px));
    --radius: 8px;
    --shadow-soft: 0 24px 80px rgba(43, 23, 18, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-white);
    color: var(--color-brown);
    font-family: var(--font-jp);
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0;
}

body.is-menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 44px;
    color: var(--color-brown);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    background: rgba(255, 253, 250, 0.88);
    box-shadow: 0 12px 40px rgba(43, 23, 18, 0.06);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    padding-block: 16px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.site-logo__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    color: var(--color-bordeaux);
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1;
}

.site-logo__text span,
.footer-brand {
    display: block;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.site-logo__text small {
    display: block;
    margin-top: 4px;
    color: var(--color-taupe);
    font-family: var(--font-serif);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    color: var(--color-brown);
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.primary-nav a::after,
.text-link::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 1px;
    background: var(--color-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.primary-nav a:hover::after,
.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 150px max(44px, calc((100vw - 1180px) / 2)) 80px;
}

.hero__image,
.shop-hero__image,
.look-section__image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.hero__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 253, 250, 0.92), rgba(255, 253, 250, 0.66) 43%, rgba(255, 253, 250, 0.22));
    content: "";
}

.hero__content {
    position: relative;
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3,
.archive-hero h1 {
    margin: 0;
    color: var(--color-brown);
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0;
}

.hero h1 {
    color: var(--color-bordeaux);
    font-size: clamp(58px, 8vw, 124px);
    line-height: 0.92;
}

.hero__lead {
    max-width: 520px;
    margin: 30px 0 0;
    color: #4d392f;
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

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

.button--primary {
    background: var(--color-bordeaux);
    color: #fff;
}

.button--ghost {
    border-color: rgba(90, 20, 34, 0.3);
    color: var(--color-bordeaux);
}

.button--light {
    background: rgba(255, 253, 250, 0.9);
    color: var(--color-bordeaux);
}

.section {
    width: var(--container);
    margin-inline: auto;
    padding: 116px 0;
}

.section--soft {
    width: 100%;
    padding-inline: max(24px, calc((100vw - 1120px) / 2));
    background: linear-gradient(180deg, #fffdfa, var(--color-porcelain));
}

.section-heading {
    max-width: 720px;
    margin-bottom: 54px;
}

.section-heading h2,
.story-block h2,
.page-hero h1,
.shop-hero h1 {
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.08;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(42px, 8vw, 110px);
    align-items: center;
}

.split-layout__text {
    max-width: 470px;
}

.text-link {
    position: relative;
    display: inline-flex;
    margin-top: 20px;
    color: var(--color-bordeaux);
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.image-frame {
    margin: 0;
    padding: clamp(12px, 2vw, 20px);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.image-frame img,
.page-hero__image img,
.product-card img,
.shop-card img,
.lookbook-item img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

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

.product-card,
.shop-card {
    background: rgba(255, 253, 250, 0.86);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.product-card:hover,
.shop-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.product-card__body,
.shop-card__body {
    padding: 26px;
}

.product-card h2,
.product-card h3,
.shop-card h2,
.news-item h2 {
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.12;
}

.product-card p,
.shop-card p {
    margin: 12px 0 0;
    color: var(--color-taupe);
}

.product-card__meta {
    color: var(--color-gold) !important;
    font-family: var(--font-serif);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.look-section {
    position: relative;
    display: grid;
    min-height: 72svh;
    align-items: center;
    overflow: hidden;
    padding: 96px max(28px, calc((100vw - 1120px) / 2));
    color: #fff;
}

.look-section__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 23, 18, 0.72), rgba(90, 20, 34, 0.34), rgba(255, 253, 250, 0.18));
    content: "";
}

.look-section__content {
    position: relative;
    max-width: 600px;
}

.look-section h2 {
    color: #fff;
    font-size: clamp(38px, 6vw, 82px);
    line-height: 1;
}

.look-section .button {
    margin-top: 34px;
}

.page-hero,
.shop-hero {
    width: var(--container);
    min-height: 86svh;
    margin-inline: auto;
    padding: 150px 0 70px;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: clamp(36px, 7vw, 92px);
    align-items: center;
}

.page-hero__text p:not(.eyebrow) {
    max-width: 520px;
    color: var(--color-taupe);
}

.page-hero__image {
    margin: 0;
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
}

.value-list {
    display: grid;
    gap: 18px;
}

.value-list div,
.access-card,
.map-panel,
.news-item {
    border-top: 1px solid var(--color-line);
}

.value-list div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding-top: 22px;
}

.value-list span {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 24px;
}

.value-list p {
    margin: 0;
}

.archive-hero {
    width: min(820px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 160px 0 54px;
    text-align: center;
}

.archive-hero h1 {
    color: var(--color-bordeaux);
    font-size: clamp(58px, 9vw, 118px);
    line-height: 0.92;
}

.archive-hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 26px auto 0;
    color: var(--color-taupe);
}

.gallery-lookbook {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    width: var(--container);
    margin: 0 auto;
    padding: 40px 0 120px;
}

.lookbook-item {
    margin: 0;
    overflow: hidden;
}

.lookbook-item--wide {
    grid-column: span 4;
}

.lookbook-item--tall {
    grid-column: span 2;
    grid-row: span 2;
}

.lookbook-item--square {
    grid-column: span 2;
}

.lookbook-item--wide img {
    aspect-ratio: 16 / 9;
}

.lookbook-item--square img {
    aspect-ratio: 1 / 1;
}

.news-list {
    width: min(920px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 30px 0 120px;
}

.news-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 34px 0;
}

.news-item time {
    color: var(--color-gold);
    font-family: var(--font-serif);
}

.news-item p {
    grid-column: 2;
    margin: -6px 0 0;
    color: var(--color-taupe);
}

.access-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 34px;
    align-items: stretch;
}

.access-card,
.map-panel {
    padding: 36px;
    background: var(--color-porcelain);
}

.access-card h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
}

.access-card dl {
    display: grid;
    gap: 18px;
    margin: 34px 0 0;
}

.access-card dl div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
}

.access-card dt {
    color: var(--color-gold);
    font-family: var(--font-serif);
}

.access-card dd {
    margin: 0;
}

.map-panel {
    display: grid;
    min-height: 360px;
    place-items: center;
    text-align: center;
}

.map-panel img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.map-panel span {
    color: rgba(90, 20, 34, 0.16);
    font-family: var(--font-serif);
    font-size: clamp(80px, 12vw, 150px);
    line-height: 1;
}

.map-panel p {
    margin: 0;
    color: var(--color-taupe);
}

.access-note {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 390px;
    padding: 42px 52px;
    border: 1px solid var(--color-line);
    background: rgba(255, 253, 250, 0.82);
}

.access-note h2 {
    color: #9a7247;
    font-size: clamp(28px, 4vw, 42px);
}

.access-note img {
    justify-self: end;
    width: min(160px, 42vw);
}

.shop-hero {
    position: relative;
    display: grid;
    align-items: end;
    width: 100%;
    min-height: 92svh;
    padding-inline: max(28px, calc((100vw - 1120px) / 2));
    overflow: hidden;
}

.shop-hero__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.26), rgba(255, 253, 250, 0.94));
    content: "";
}

.shop-hero__content {
    position: relative;
    max-width: 720px;
    padding-bottom: 64px;
}

.shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
}

.shop-card__footer span {
    color: var(--color-bordeaux);
    font-weight: 600;
}

.shop-card__footer a {
    color: var(--color-gold);
    font-family: var(--font-serif);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer {
    padding: 62px max(24px, calc((100vw - 1120px) / 2)) 32px;
    background: var(--color-brown);
    color: #fffdfa;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 34px;
    border-bottom: 1px solid rgba(255, 253, 250, 0.14);
    padding-bottom: 42px;
}

.footer-brand {
    margin: 0;
    color: #fff;
    font-size: 34px;
}

.footer-copy,
.copyright {
    color: rgba(255, 253, 250, 0.68);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    align-items: flex-start;
    justify-content: flex-end;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.copyright {
    margin: 28px 0 0;
    font-size: 13px;
}

.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 900px) {
    :root {
        --container: min(100% - 40px, 680px);
    }

    .site-header {
        padding: 18px 22px;
    }

    .menu-toggle {
        position: relative;
        z-index: 60;
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        place-content: center;
        border: 1px solid rgba(90, 20, 34, 0.2);
        border-radius: 50%;
        background: rgba(255, 253, 250, 0.84);
    }

    .menu-toggle span:not(.screen-reader-text) {
        display: block;
        width: 17px;
        height: 1px;
        background: var(--color-bordeaux);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        display: grid;
        align-content: center;
        padding: 96px 36px;
        background: rgba(255, 253, 250, 0.96);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav__list {
        display: grid;
        gap: 24px;
        text-align: center;
    }

    .primary-nav a {
        color: var(--color-bordeaux);
        font-size: 32px;
    }

    .hero {
        min-height: 92svh;
        padding: 130px 24px 52px;
    }

    .hero__image::after {
        background: linear-gradient(180deg, rgba(255, 253, 250, 0.78), rgba(255, 253, 250, 0.93) 58%, #fffdfa);
    }

    .hero h1 {
        font-size: clamp(56px, 18vw, 86px);
    }

    .hero__lead {
        font-size: 15px;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 82px 0;
    }

    .section--soft {
        padding-inline: 20px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .split-layout,
    .page-hero,
    .story-block,
    .access-section,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .product-grid--large,
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .look-section {
        min-height: 66svh;
        padding: 78px 24px;
    }

    .page-hero,
    .shop-hero {
        min-height: auto;
        padding-top: 128px;
    }

    .archive-hero {
        padding-top: 132px;
        text-align: left;
    }

    .archive-hero p:not(.eyebrow) {
        margin-inline: 0;
    }

    .gallery-lookbook {
        grid-template-columns: 1fr;
        width: var(--container);
        padding-bottom: 82px;
    }

    .lookbook-item--wide,
    .lookbook-item--tall,
    .lookbook-item--square {
        grid-column: auto;
        grid-row: auto;
    }

    .lookbook-item img,
    .lookbook-item--wide img,
    .lookbook-item--square img {
        aspect-ratio: 4 / 5;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-item p {
        grid-column: 1;
        margin-top: 0;
    }

    .access-card,
    .map-panel {
        padding: 28px 22px;
    }

    .access-card dl div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .site-logo__text span {
        font-size: 20px;
    }

    .site-logo__mark {
        width: 34px;
        height: 34px;
    }

    .hero__actions {
        gap: 10px;
    }

    .product-card__body,
    .shop-card__body {
        padding: 22px;
    }

    .shop-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Reference image refinements */
.site-header {
    display: grid;
    grid-template-columns: minmax(170px, 0.8fr) auto minmax(210px, 0.8fr);
    gap: 24px;
    padding: 22px 46px;
    background:
        radial-gradient(circle at 18% 0%, rgba(122, 38, 57, 0.24), transparent 34%),
        linear-gradient(90deg, #260405, #310708 48%, #230304);
    color: #fff;
    box-shadow: 0 1px 0 rgba(185, 151, 91, 0.22);
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    background:
        radial-gradient(circle at 18% 0%, rgba(122, 38, 57, 0.24), transparent 34%),
        linear-gradient(90deg, #260405, #310708 48%, #230304);
    box-shadow: 0 1px 0 rgba(185, 151, 91, 0.22);
    backdrop-filter: none;
}

.site-logo__mark {
    display: none;
}

.site-logo__text span,
.footer-brand {
    color: #d8b56e;
    font-size: 42px;
    letter-spacing: 0;
}

.site-logo__text small {
    color: #d8b56e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-align: center;
}

.primary-nav {
    justify-self: center;
}

.primary-nav__list {
    gap: clamp(22px, 3vw, 48px);
}

.primary-nav a {
    color: #fff;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.primary-nav .current-menu-item > a,
.primary-nav a:hover,
.primary-nav a.is-active,
.footer-links a.is-active {
    color: #d8b56e;
}

.primary-nav a::after {
    bottom: -14px;
    background: #d8b56e;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.header-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(216, 181, 110, 0.72);
    border-radius: 3px;
    color: #d8b56e;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
}

.header-shop__icon {
    position: relative;
    width: 14px;
    height: 12px;
    margin-right: 10px;
    border: 1px solid currentColor;
    border-radius: 1px;
}

.header-shop__icon::before {
    position: absolute;
    top: -7px;
    left: 3px;
    width: 6px;
    height: 7px;
    border: 1px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    content: "";
}

.menu-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 6px;
    border: 1px solid rgba(216, 181, 110, 0.4);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 1px;
    background: #d8b56e;
}

.site-main {
    background:
        radial-gradient(circle at 0 36%, rgba(185, 151, 91, 0.08), transparent 25%),
        var(--color-white);
}

.hero {
    min-height: calc(100svh - 92px);
    margin-top: 92px;
}

.hero__image::after {
    background: linear-gradient(90deg, rgba(255, 253, 250, 0.96), rgba(255, 253, 250, 0.8) 38%, rgba(255, 253, 250, 0.05) 76%);
}

.visual-hero,
.gallery-page,
.news-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    padding-top: 92px;
    background: #fffdfa;
    overflow: hidden;
}

.visual-hero::before,
.gallery-page::before,
.news-page::before {
    position: absolute;
    left: -88px;
    top: 210px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(185, 151, 91, 0.16);
    border-radius: 48% 52% 44% 56%;
    content: "";
    transform: rotate(-24deg);
}

.visual-hero__copy,
.gallery-intro,
.news-intro {
    display: grid;
    align-content: center;
    min-height: 520px;
    padding: 80px 8vw 70px max(54px, calc((100vw - 1380px) / 2 + 54px));
}

.visual-hero__copy h1,
.gallery-intro h1,
.news-intro h1 {
    color: #9a7247;
    font-size: clamp(58px, 7vw, 92px);
    line-height: 0.95;
}

.visual-hero__copy p:not(.eyebrow),
.gallery-intro p:not(.eyebrow),
.news-intro p:not(.eyebrow) {
    max-width: 430px;
    margin: 28px 0 0;
    color: #2f211b;
    font-size: 17px;
    line-height: 2.05;
}

.hairline {
    display: block;
    width: 48px;
    height: 1px;
    margin-top: 24px;
    background: #b9975b;
}

.visual-hero__image {
    margin: 0;
    min-height: 520px;
}

.visual-hero__image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.visual-hero__brand {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 520px;
    padding: 60px 32px;
    text-align: center;
}

.brand-crest {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid #b9975b;
    color: #9a7247;
    font-family: var(--font-serif);
    font-size: 48px;
    transform: rotate(45deg);
}

.brand-crest::first-letter {
    transform: rotate(-45deg);
}

.visual-hero__brand small,
.visual-hero__brand em {
    margin-top: 28px;
    color: #b9975b;
    font-family: var(--font-serif);
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.visual-hero__brand strong {
    color: #9a7247;
    font-family: var(--font-serif);
    font-size: 76px;
    font-weight: 500;
    line-height: 0.95;
}

.visual-hero--chocolate {
    grid-template-columns: minmax(290px, 0.45fr) minmax(240px, 0.32fr) minmax(420px, 0.9fr);
}

.menu-hero {
    position: relative;
    min-height: 430px;
    margin-top: 92px;
    padding: 84px max(48px, calc((100vw - 1380px) / 2 + 48px));
    background:
        linear-gradient(90deg, rgba(43, 4, 5, 0.96), rgba(43, 4, 5, 0.78) 42%, rgba(43, 4, 5, 0.2)),
        url("assets/images/menu-hero.png");
    background-position: center;
    background-size: cover;
    color: #fff;
}

.menu-hero__copy {
    max-width: 430px;
}

.menu-hero h1 {
    color: #d8b56e;
    font-size: clamp(58px, 7vw, 92px);
}

.menu-hero p:not(.eyebrow) {
    color: rgba(255, 253, 250, 0.92);
    line-height: 2.1;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid rgba(216, 181, 110, 0.32);
    border-bottom: 1px solid rgba(216, 181, 110, 0.32);
    background: linear-gradient(90deg, #320507, #4b0910, #320507);
}

.category-tabs a {
    display: grid;
    min-height: 74px;
    place-items: center;
    border-right: 1px solid rgba(216, 181, 110, 0.16);
    color: #fffdfa;
    font-family: var(--font-serif);
    text-align: center;
}

.category-tabs a:first-child {
    color: #d8b56e;
}

.menu-section-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 42px;
    padding: 42px 0;
    border-bottom: 1px solid var(--color-line);
}

.menu-section-row__lead h2 {
    color: #4b0910;
    font-size: 34px;
}

.product-grid--menu-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.product-card--small img {
    aspect-ratio: 1.28 / 1;
}

.product-card--small .product-card__body {
    padding: 16px 18px 18px;
}

.product-card--small h2,
.product-card--compact h2 {
    font-size: 22px;
}

.product-card strong,
.shop-card strong {
    display: block;
    margin-top: 10px;
    color: #4b0910;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
}

.product-grid--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.shop-panel {
    padding-top: 52px;
    border: 1px solid var(--color-line);
}

.shop-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.shop-panel__heading h2 {
    color: #9a7247;
    font-size: 28px;
}

.shop-panel__heading a {
    color: #9a7247;
    font-family: var(--font-serif);
}

.gallery-page {
    grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
    padding-bottom: 46px;
}

.gallery-lookbook {
    grid-template-columns: repeat(6, 1fr);
    width: auto;
    margin: 0;
    padding: 42px 42px 0 0;
    gap: 2px;
}

.lookbook-item img {
    height: 100%;
    object-fit: cover;
}

.news-page {
    grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
    padding-bottom: 42px;
}

.news-list {
    width: auto;
    margin: 0;
    padding: 42px 64px 0 0;
}

.news-item--image {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr) 36px;
    gap: 30px;
    align-items: center;
    min-height: 182px;
    padding: 0;
    border: 1px solid var(--color-line);
    background: rgba(255, 253, 250, 0.78);
}

.news-item--image + .news-item--image {
    margin-top: 14px;
}

.news-item--image img {
    grid-row: span 3;
    height: 100%;
    min-height: 182px;
    object-fit: cover;
}

.news-item--image time {
    align-self: end;
    color: #2f211b;
}

.news-item--image h2 {
    align-self: start;
    font-size: 25px;
}

.news-item--image p {
    grid-column: 2;
    margin: 0 0 24px;
}

.access-section {
    width: calc(100vw - 60px);
    grid-template-columns: 0.9fr 1fr 0.9fr;
    gap: 0;
    padding: 24px 0 34px;
}

.access-card,
.map-panel {
    min-height: 390px;
    border: 1px solid var(--color-line);
    background: rgba(255, 253, 250, 0.76);
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1440px, calc(100vw - 60px));
    margin: 10px auto 36px;
    border: 1px solid var(--color-line);
    background: rgba(255, 253, 250, 0.82);
}

.service-strip div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 4px 22px;
    padding: 26px 34px;
    border-right: 1px solid var(--color-line);
}

.service-strip div:last-child {
    border-right: 0;
}

.service-strip span {
    grid-row: span 2;
    color: #b07335;
    font-size: 34px;
    line-height: 1.2;
}

.service-strip h3 {
    color: #4b0910;
    font-family: var(--font-jp);
    font-size: 19px;
}

.service-strip p {
    margin: 0;
    color: #6f5c50;
    font-size: 13px;
    line-height: 1.7;
}

.wide-cta {
    width: min(1200px, calc(100vw - 60px));
    min-height: 210px;
    margin: 0 auto 58px;
    padding: 48px;
    background:
        linear-gradient(90deg, rgba(43, 4, 5, 0.98), rgba(43, 4, 5, 0.78) 38%, rgba(43, 4, 5, 0.08)),
        url("assets/images/menu-cta.png");
    background-position: center;
    background-size: cover;
    border-radius: 4px;
}

.wide-cta h2 {
    max-width: 390px;
    color: #d8b56e;
    font-size: 30px;
    line-height: 1.5;
}

.menu-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 42px;
}

.menu-extra {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 18px 22px;
    align-items: start;
}

.menu-extra img {
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border-radius: 4px;
}

.menu-extra h2 {
    color: #4b0910;
    font-size: 32px;
}

.menu-extra h3 {
    grid-column: 2;
    color: #4b0910;
    font-size: 18px;
}

.menu-extra strong {
    grid-column: 2;
    color: #4b0910;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
}

.concept-story {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: #fffdfa;
}

.concept-story__image {
    margin: 0;
}

.concept-story__image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.concept-story .story-block__content {
    display: grid;
    align-content: center;
    padding: 44px max(34px, calc((100vw - 1120px) / 2));
}

.concept-story .story-block__content h2 {
    color: #9a7247;
    font-size: clamp(34px, 4vw, 50px);
}

.concept-commitment {
    width: min(1320px, calc(100vw - 60px));
    margin: 0 auto;
    padding: 42px 0 26px;
}

.concept-commitment .section-heading {
    margin: 0 auto 26px;
    text-align: center;
}

.concept-commitment .section-heading h2 {
    color: #9a7247;
    font-size: 34px;
}

.concept-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.concept-feature {
    display: grid;
    gap: 12px;
    padding-left: 26px;
    border-left: 1px solid var(--color-line);
}

.concept-feature h3 {
    color: #4b0910;
    font-family: var(--font-jp);
    font-size: 20px;
}

.concept-feature p {
    margin: 0;
    color: #6f5c50;
    font-size: 14px;
    line-height: 1.8;
}

.concept-feature img {
    aspect-ratio: 3.2 / 1;
    object-fit: cover;
}

.concept-cta {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    width: min(1120px, calc(100vw - 60px));
    margin: 24px auto 58px;
}

.concept-cta img {
    aspect-ratio: 3.6 / 1;
    object-fit: cover;
}

.concept-cta h2 {
    color: #4b0910;
    font-size: clamp(28px, 4vw, 42px);
}

.concept-cta p {
    margin: 12px 0 18px;
    color: #6f5c50;
}

.site-footer {
    padding: 28px 46px;
    background:
        radial-gradient(circle at 18% 0%, rgba(122, 38, 57, 0.24), transparent 34%),
        linear-gradient(90deg, #260405, #310708 48%, #230304);
}

.footer-inner {
    align-items: center;
    border: 0;
    padding: 0;
}

.footer-copy {
    display: none;
}

.footer-links {
    color: #fff;
    font-family: var(--font-serif);
    text-transform: none;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #d8b56e;
    color: #310708;
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 700;
}

.site-logo__image {
    width: 180px;
    max-width: 34vw;
    height: auto;
}

.footer-logo {
    width: 150px;
    max-width: 42vw;
    height: auto;
    filter: brightness(0) invert(1);
}

body:not(.home) .site-logo__image {
    filter: brightness(0) invert(1);
}

body.home .site-logo__image {
    filter: none;
}

body.home .site-header,
body.home .site-header.is-scrolled {
    background: rgba(255, 253, 250, 0.94);
    color: #2c0508;
    box-shadow: 0 1px 0 rgba(43, 23, 18, 0.12);
}

body.home .primary-nav a {
    color: #2c0508;
    font-size: 17px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.home .header-shop {
    background: #3a0508;
    color: #fff;
    border-color: #3a0508;
}

body.home .menu-toggle {
    display: none;
}

.home-hero {
    position: relative;
    min-height: 390px;
    margin-top: 80px;
    overflow: hidden;
    background: #fffdfa;
}

.home-hero__image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.home-hero__link {
    position: absolute;
    left: max(225px, calc((100vw - 1088px) / 2 + 94px));
    top: 226px;
    z-index: 2;
    width: 190px;
    height: 40px;
}

.home-hero__copy {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 42px 0 46px;
}

.home-hero h1 {
    color: #9a7247;
    font-family: var(--font-jp);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.35;
}

.home-hero p {
    max-width: 430px;
    margin: 18px 0 22px;
    color: #2f211b;
    line-height: 1.85;
}

.home-hero .button {
    min-height: 38px;
    border-radius: 0;
    background: #3a0508;
    font-family: var(--font-jp);
    font-size: 14px;
    letter-spacing: 0.06em;
}

.home-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.home-hero__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(43, 23, 18, 0.18);
}

.home-icon-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(1120px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-line);
}

.home-icon-nav__item {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    padding: 0 16px;
    border-right: 1px solid var(--color-line);
    text-align: center;
}

.home-icon-nav__item:last-child {
    border-right: 0;
}

.home-icon-nav__item span {
    color: #9a7247;
    font-size: 36px;
    line-height: 1;
}

.home-icon-nav__item strong {
    color: #3a0508;
    font-family: var(--font-serif);
    font-size: 16px;
}

.home-icon-nav__item small,
.home-icon-nav__item em {
    color: #6f5c50;
    font-style: normal;
    line-height: 1.5;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr 0.75fr 1fr;
    width: min(1275px, calc(100vw - 80px));
    margin: 36px auto 12px;
    border: 1px solid var(--color-line);
}

.home-feature {
    min-width: 0;
    margin: 0;
    border-right: 1px solid var(--color-line);
}

.home-feature:last-child {
    border-right: 0;
}

.home-feature img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.home-feature--text {
    padding: 20px 28px;
}

.home-label {
    margin: 0 0 12px;
    color: #3a0508;
    font-family: var(--font-serif);
    font-size: 22px;
}

.home-feature h2 {
    color: #3a0508;
    font-family: var(--font-jp);
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.55;
}

.home-feature p:not(.home-label) {
    color: #4e3d33;
    font-size: 14px;
    line-height: 1.9;
}

.home-feature .button,
.home-news .button {
    width: auto;
    min-height: 34px;
    border-radius: 0;
    padding-inline: 20px;
    font-family: var(--font-jp);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.home-banners {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1275px, calc(100vw - 80px));
    margin: 0 auto 18px;
}

.home-banner {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 96px;
    padding: 20px 28px;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.home-banner::before {
    position: absolute;
    inset: 0;
    background: rgba(43, 4, 5, 0.44);
    content: "";
}

.home-banner span,
.home-banner small {
    position: relative;
    z-index: 1;
}

.home-banner span {
    font-family: var(--font-serif);
    font-size: 20px;
}

.home-news {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    width: min(1080px, calc(100vw - 80px));
    margin: 16px auto 38px;
}

.home-news h2 {
    color: #3a0508;
    font-size: 30px;
}

.home-news__list {
    display: grid;
    gap: 4px;
}

.home-news__list p {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    margin: 0;
    border-bottom: 1px solid var(--color-line);
    color: #3a0508;
    font-size: 13px;
}

body.home .home-hero__copy,
body.home .home-hero__dots {
    display: none;
}

body.home .site-footer {
    padding: 24px max(24px, calc((100vw - 1280px) / 2 + 24px));
}

body.home .footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 34px;
    align-items: center;
}

body.home .footer-copy {
    display: block;
    max-width: 390px;
    margin: 12px 0 0;
    color: rgba(255, 253, 250, 0.78);
    font-size: 12px;
    line-height: 1.8;
}

body.home .copyright {
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
}

.shop-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.shop-card img {
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
}

.shop-card__body {
    padding: 18px;
}

.shop-card h2 {
    font-size: 19px;
}

.shop-card p {
    font-size: 13px;
    line-height: 1.75;
}

@media (max-width: 1180px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .primary-nav__list {
        justify-content: center;
    }

    .visual-hero,
    .visual-hero--chocolate,
    .gallery-page,
    .news-page {
        grid-template-columns: 1fr;
    }

    .visual-hero__brand {
        display: none;
    }

    .product-grid--six,
    .product-grid--menu-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .access-section,
    .service-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .site-header {
        display: flex;
        padding: 16px 20px;
    }

    .header-shop {
        display: none;
    }

    .site-logo__text span {
        font-size: 32px;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        display: grid;
        align-content: center;
        justify-self: stretch;
        width: 100%;
        min-height: 100svh;
        padding: 96px 36px;
        background: linear-gradient(180deg, #260405, #3b070a);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav__list {
        display: grid;
        gap: 24px;
        text-align: center;
    }

    .primary-nav a {
        color: #fff;
        font-size: 32px;
    }

    body.home .menu-toggle {
        display: grid;
    }

    body.home .primary-nav a {
        color: #fff;
        font-size: 32px;
        letter-spacing: 0;
        text-transform: none;
        white-space: normal;
    }

    .hero,
    .menu-hero {
        margin-top: 78px;
    }

    .visual-hero,
    .gallery-page,
    .news-page {
        padding-top: 78px;
    }

    .visual-hero__copy,
    .gallery-intro,
    .news-intro {
        min-height: auto;
        padding: 64px 24px 44px;
    }

    .visual-hero__image,
    .visual-hero__image img {
        min-height: 320px;
    }

    .category-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-section-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-grid--six,
    .product-grid--menu-row,
    .access-section,
    .service-strip {
        grid-template-columns: 1fr;
    }

    .gallery-lookbook,
    .news-list {
        padding: 0 20px 54px;
    }

    .news-item--image {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-item--image time,
    .news-item--image h2,
    .news-item--image p {
        padding-inline: 22px;
    }

    .news-item--image time {
        padding-top: 20px;
    }

    .news-item--image p {
        grid-column: 1;
        padding-bottom: 20px;
    }

    .service-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--color-line);
    }

    .wide-cta {
        width: calc(100vw - 40px);
        padding: 34px 24px;
    }

    .concept-story,
    .concept-feature-grid,
    .concept-cta,
    .menu-extra-grid,
    .menu-extra {
        grid-template-columns: 1fr;
    }

    .menu-extra h3,
    .menu-extra strong {
        grid-column: auto;
    }

    .concept-commitment,
    .concept-cta {
        width: calc(100vw - 40px);
    }

    .site-footer {
        padding: 34px 24px;
    }
}

/* Final responsive overlap fixes */
.gallery-intro,
.news-intro,
.visual-hero__copy,
.shop-card__body,
.news-item--image,
.news-item--image h2,
.news-item--image p,
.shop-card__footer {
    min-width: 0;
}

.gallery-intro p,
.news-intro p,
.visual-hero__copy p,
.news-item--image h2,
.news-item--image p,
.shop-card h2,
.shop-card p,
.shop-card__footer span {
    overflow-wrap: anywhere;
    word-break: normal;
}

.news-item--image {
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    padding-right: 28px;
}

.news-item--image h2,
.news-item--image p,
.news-item--image time {
    grid-column: 2;
}

.news-item--image h2 {
    line-height: 1.45;
}

.news-item--image p {
    line-height: 1.9;
}

.shop-card {
    min-width: 0;
}

.shop-card__footer {
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-inner {
    flex-wrap: wrap;
    align-items: center;
}

.footer-links,
.footer-social {
    max-width: 100%;
}

.footer-social {
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 1280px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-card h2 {
        font-size: 18px;
        line-height: 1.45;
    }
}

@media (max-width: 980px) {
    .news-item--image {
        grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
        gap: 18px;
        padding-right: 20px;
    }

    .news-item--image h2 {
        font-size: 22px;
    }
}

@media (max-width: 760px) {
    .gallery-page,
    .news-page {
        display: block;
    }

    .gallery-intro,
    .news-intro {
        padding-inline: 24px;
    }

    .gallery-lookbook {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 20px 52px;
    }

    .lookbook-item--wide,
    .lookbook-item--tall,
    .lookbook-item--square {
        grid-column: auto;
        grid-row: auto;
    }

    .news-list {
        padding: 0 20px 52px;
    }

    .news-item--image {
        display: block;
        padding: 0;
    }

    .news-item--image img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .news-item--image time,
    .news-item--image h2,
    .news-item--image p {
        display: block;
        padding-inline: 20px;
    }

    .news-item--image time {
        padding-top: 18px;
    }

    .news-item--image p {
        padding-bottom: 22px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-card h2 {
        font-size: 21px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 24px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .footer-social {
        gap: 12px;
    }

    body.home .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 18px;
    }

    body.home .site-logo__image {
        width: 132px;
    }

    .home-hero {
        min-height: 420px;
        margin-top: 78px;
    }

    .home-hero__image {
        background-position: 58% center;
    }

    .home-hero__copy {
        padding: 38px 0 46px;
    }

    .home-hero h1 {
        max-width: 270px;
        font-size: 34px;
    }

    .home-hero p {
        max-width: 280px;
        font-size: 13px;
    }

    .home-hero__link {
        left: 24px;
        top: 226px;
        width: 168px;
        height: 38px;
    }

    .home-icon-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100vw - 34px);
        gap: 0;
        padding: 18px 0;
    }

    .home-icon-nav__item {
        padding: 14px 10px;
        border-bottom: 1px solid var(--color-line);
    }

    .home-feature-grid,
    .home-banners,
    .home-news {
        width: calc(100vw - 34px);
    }

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

    .home-feature {
        border-right: 0;
        border-bottom: 1px solid var(--color-line);
    }

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

    .home-news {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-news__list p {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    body.home .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.home .footer-copy {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .site-footer {
        padding-inline: 18px;
    }

    .footer-brand {
        font-size: 30px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

/* Home polish requested after logo update */
.site-logo {
    gap: 8px;
}

.site-logo__fairy {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 253, 250, 0.95), transparent 18%),
        linear-gradient(135deg, #5a1422, #2b0407);
    color: #d8b56e;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(43, 4, 7, 0.18);
}

.site-logo__fairy-image {
    width: 54px;
    height: 54px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.site-logo__word {
    color: #4b0910;
    font-family: var(--font-serif);
    font-size: 38px;
    font-style: italic;
    line-height: 0.9;
}

.site-logo small {
    display: block;
    color: #8f6b3f;
    font-family: var(--font-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

body:not(.home) .site-logo__word,
body:not(.home) .site-logo small {
    color: #d8b56e;
}

body:not(.home) .site-logo__fairy-image {
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
}

.site-logo__image,
.footer-logo {
    display: none;
}

body.home .home-hero__copy {
    display: block;
}

body.home .home-hero__veil {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: min(52vw, 650px);
    background:
        linear-gradient(90deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 253, 250, 0.95) 58%, rgba(255, 253, 250, 0.18) 100%);
}

body.home .home-hero__copy {
    z-index: 2;
    padding-top: 52px;
}

body.home .home-hero__brand {
    margin: 0 0 12px;
    color: #8f6b3f;
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0.08em;
}

body.home .home-hero h1 {
    color: #8b6337;
    font-family: var(--font-jp);
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.28;
    text-shadow: 0 8px 24px rgba(154, 114, 71, 0.08);
}

body.home .home-hero p {
    max-width: 500px;
    color: #2f211b;
    font-size: 16px;
}

.home-banner {
    background-position: center;
}

.visual-hero--chocolate .visual-hero__brand {
    display: none;
}

.visual-hero--chocolate {
    grid-template-columns: minmax(290px, 0.46fr) minmax(420px, 1fr);
    align-items: stretch;
}

.visual-hero--chocolate .visual-hero__image {
    grid-column: 2;
}

.visual-hero--chocolate .visual-hero__copy {
    min-height: 0;
    padding-block: 92px 72px;
    overflow: visible;
}

.visual-hero--chocolate .visual-hero__copy h1 {
    overflow: visible;
    padding-bottom: 0.08em;
    line-height: 1.05;
}

.visual-hero--chocolate .visual-hero__copy p:not(.eyebrow) {
    max-width: 460px;
}

.visual-hero--chocolate .visual-hero__image,
.visual-hero--chocolate .visual-hero__image img {
    min-height: 430px;
}

.product-card strong,
.shop-card strong {
    font-size: 14px;
    line-height: 1.5;
}

.page-template-page-chocolate .product-card h2,
.page-template-page-chocolate-php .product-card h2,
body.page-template-page-chocolate .product-card h2 {
    font-size: 19px;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: normal;
}

.chocolate-card h2 {
    font-size: 19px;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: normal;
}

.page-template-page-chocolate .product-card strong,
.page-template-page-chocolate-php .product-card strong,
body.page-template-page-chocolate .product-card strong {
    font-size: 17px;
    line-height: 1.35;
}

.chocolate-card strong {
    font-size: 17px;
    line-height: 1.35;
}

.page-template-page-menu .product-card strong,
.page-template-page-menu-php .product-card strong,
body.page-template-page-menu .product-card strong,
.menu-extra strong {
    font-size: 17px;
    line-height: 1.35;
}

.footer-brand-block {
    min-width: 220px;
}

.footer-logo-text {
    margin: 0;
    color: #d8b56e;
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 500;
    line-height: 0.9;
}

.footer-logo-sub {
    margin: 6px 0 0;
    color: #d8b56e;
    font-family: var(--font-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.footer-copy,
body.home .footer-copy {
    display: block;
    max-width: 420px;
    margin: 14px 0 0;
    color: rgba(255, 253, 250, 0.76);
    font-size: 12px;
    line-height: 1.9;
}

@media (max-width: 900px) {
    body.home .home-hero__veil {
        width: 78vw;
    }

    body.home .home-hero h1 {
        font-size: 42px;
        letter-spacing: 0.04em;
    }

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

    .visual-hero--chocolate .visual-hero__image {
        grid-column: auto;
    }

    .visual-hero--chocolate .visual-hero__copy {
        padding-block: 64px 36px;
    }
}

@media (max-width: 520px) {
    .site-logo__fairy {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .site-logo__fairy-image {
        width: 42px;
        height: 42px;
    }

    .site-logo__word {
        font-size: 29px;
    }

    body.home .home-hero__veil {
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(255, 253, 250, 0.78) 64%, rgba(255, 253, 250, 0.18));
    }

    body.home .home-hero h1 {
        max-width: 100%;
        font-size: 36px;
    }

    body.home .home-hero p {
        max-width: 92%;
    }
}

/* Logo integration and home card spacing fixes */
.site-logo {
    align-items: center;
    gap: 10px;
}

.site-logo__type {
    display: grid;
    gap: 3px;
    line-height: 1;
}

.site-logo__fairy-image {
    width: 56px;
    height: 56px;
    object-fit: contain;
    mix-blend-mode: normal;
    opacity: 1;
    filter: none;
}

.site-logo__word {
    line-height: 0.82;
}

body.home .site-logo {
    background: transparent;
}

body:not(.home) .site-logo__fairy-image {
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
    opacity: 1;
}

.home-feature--text {
    padding: 30px 32px;
}

.home-feature h2 {
    font-size: clamp(20px, 2.05vw, 26px);
    line-height: 1.72;
    margin-bottom: 12px;
}

.home-feature p:not(.home-label) {
    margin-bottom: 18px;
}

.footer-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-fairy-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

@media (max-width: 520px) {
    .site-logo__fairy-image {
        width: 42px;
        height: 42px;
    }

    .site-logo__type {
        gap: 1px;
    }

    .home-feature--text {
        padding: 26px 22px;
    }
}

/* Online shop order form */
.order-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    width: min(1120px, calc(100vw - 48px));
    margin: 24px auto 72px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--color-line);
    background: rgba(255, 253, 250, 0.88);
}

.order-section__intro h2 {
    color: #4b0910;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.15;
}

.order-section__intro p {
    color: #6f5c50;
}

.order-message {
    grid-column: 2;
    padding: 16px 20px;
    border: 1px solid rgba(185, 151, 91, 0.4);
    background: #fff8ed;
    color: #4b0910;
}

.order-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.order-form label {
    display: grid;
    gap: 7px;
    color: #4b0910;
    font-size: 14px;
}

.order-form label:nth-child(2) {
    grid-column: 1 / -1;
}

.order-form span {
    font-weight: 600;
}

.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    border: 1px solid rgba(43, 23, 18, 0.18);
    border-radius: 4px;
    background: #fff;
    color: #2b1712;
    font: inherit;
    line-height: 1.5;
    padding: 12px 14px;
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
    outline: 2px solid rgba(185, 151, 91, 0.32);
    border-color: var(--color-gold);
}

.order-form__button {
    grid-column: 1 / -1;
    width: min(240px, 100%);
    justify-self: end;
    border-radius: 4px;
}

@media (max-width: 820px) {
    .order-section,
    .order-form {
        grid-template-columns: 1fr;
    }

    .order-message,
    .order-form label:nth-child(2) {
        grid-column: auto;
    }

    .order-form__button {
        justify-self: stretch;
    }
}

/* Final logo transparency and chocolate title spacing */
.site-logo__type {
    display: grid !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.site-logo__word {
    display: block !important;
    line-height: 0.78 !important;
    padding-bottom: 2px !important;
}

.site-logo small {
    display: block !important;
    line-height: 1 !important;
    margin-top: 0 !important;
}

.site-logo__fairy-image {
    background: transparent !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body:not(.home) .site-logo__fairy-image,
.footer-fairy-image {
    filter: brightness(0) invert(1) !important;
}

.visual-hero--chocolate .visual-hero__copy {
    min-height: 0 !important;
    padding-top: 110px !important;
    padding-bottom: 86px !important;
    overflow: visible !important;
}

.visual-hero--chocolate .visual-hero__copy h1 {
    max-width: 100% !important;
    color: #9a7247 !important;
    font-size: clamp(54px, 6.4vw, 94px) !important;
    line-height: 1.08 !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
}

.visual-hero--chocolate .visual-hero__copy p:not(.eyebrow) {
    max-width: 460px !important;
    margin-top: 22px !important;
    line-height: 2.08 !important;
}

@media (max-width: 520px) {
    .site-logo__type {
        gap: 5px !important;
    }
}

/* Keep the chocolate hero copy clear of the image column */
.visual-hero--chocolate {
    grid-template-columns: minmax(360px, 0.55fr) minmax(0, 0.9fr) !important;
}

.visual-hero--chocolate .visual-hero__copy {
    padding-left: max(44px, calc((100vw - 1280px) / 2 + 44px)) !important;
    padding-right: 44px !important;
}

.visual-hero--chocolate .visual-hero__image {
    grid-column: 2 !important;
}

.page-template-page-chocolate .product-card h2,
.page-template-page-chocolate-php .product-card h2,
body.page-template-page-chocolate .product-card h2,
.chocolate-card h2 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

@media (min-width: 901px) {
    .product-grid--six .chocolate-card h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 900px) {
    .visual-hero--chocolate {
        grid-template-columns: 1fr !important;
    }

    .visual-hero--chocolate .visual-hero__image {
        grid-column: auto !important;
    }

    .visual-hero--chocolate .visual-hero__copy h1 {
        font-size: clamp(48px, 14vw, 72px) !important;
    }
}

/* Keep page titles separate from adjacent media. */
.visual-hero--chocolate,
.gallery-page,
.news-page {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start;
}

.visual-hero--chocolate .visual-hero__copy,
.gallery-page .gallery-intro,
.news-page .news-intro {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 48px));
    min-height: auto !important;
    margin-inline: auto;
    padding: clamp(88px, 8vw, 128px) 0 clamp(44px, 5vw, 72px) !important;
}

.visual-hero--chocolate .visual-hero__copy h1,
.gallery-page .gallery-intro h1,
.news-page .news-intro h1 {
    max-width: 760px !important;
    padding-bottom: 0 !important;
}

.visual-hero--chocolate .visual-hero__copy p:not(.eyebrow),
.gallery-page .gallery-intro p:not(.eyebrow),
.news-page .news-intro p:not(.eyebrow) {
    max-width: 560px !important;
}

.visual-hero--chocolate .visual-hero__image {
    grid-column: auto !important;
    width: 100%;
    min-height: clamp(360px, 42vw, 520px) !important;
    border-top: 1px solid var(--color-line);
}

.visual-hero--chocolate .visual-hero__image img {
    min-height: clamp(360px, 42vw, 520px) !important;
    max-height: 560px;
}

.gallery-page .gallery-lookbook {
    width: min(1120px, calc(100vw - 48px)) !important;
    margin-inline: auto !important;
    padding: 0 0 100px !important;
}

.news-page .news-list {
    width: min(920px, calc(100vw - 48px)) !important;
    margin-inline: auto !important;
    padding: 0 0 100px !important;
}

@media (max-width: 760px) {
    .visual-hero--chocolate .visual-hero__copy,
    .gallery-page .gallery-intro,
    .news-page .news-intro {
        width: calc(100vw - 40px);
        padding: 72px 0 42px !important;
    }

    .visual-hero--chocolate .visual-hero__image,
    .visual-hero--chocolate .visual-hero__image img {
        min-height: 320px !important;
    }

    .gallery-page .gallery-lookbook,
    .news-page .news-list {
        width: calc(100vw - 40px) !important;
        padding-bottom: 52px !important;
    }
}
