/* ==========================================================================
   Butter & Bloom — storefront
   Bespoke stylesheet. No framework: every class here is written for this
   bakery, which is what keeps the page from looking like a template.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — palette drawn from the logo
   -------------------------------------------------------------------------- */
:root {
    --plum-900: #230F29;
    --plum-800: #2E1435;
    --plum-700: #3D1D48;
    --plum-600: #5C3268;
    --plum-500: #6E4180;
    --plum-300: #8B6396;
    --plum-100: #C3AECB;

    --orchid-700: #6A3D85;
    --orchid-600: #7B4A96;
    --orchid-500: #A97BC7;
    --orchid-400: #BE96DA;
    --orchid-300: #D4B6E6;
    --orchid-100: #EFE2F7;

    --blush-600: #C95183;
    --blush-500: #E88BB0;
    --blush-400: #F2A6C4;
    --blush-300: #F8C6D9;
    --blush-100: #FDE8F0;

    --sage: #8B9B6E;
    --sage-light: #B8C29E;

    --paper: #FCF8FB;
    --paper-warm: #F8EFF6;
    --paper-deep: #F2E4EE;
    --line: rgba(61, 29, 72, .12);
    --line-strong: rgba(61, 29, 72, .22);

    --ink: #2E1435;
    --ink-soft: #5C4A63;
    --ink-faint: #8A7A93;
    --on-dark: #F6ECF6;
    --on-dark-soft: #C3AECB;

    --ig-1: #f09433;
    --ig-2: #dc2743;
    --ig-3: #bc1888;
    --wa: #25d366;

    --gutter: 24px;
    --shell: min(1240px, 100% - 2 * var(--gutter));
    --bay: clamp(72px, 11vw, 148px);

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (min-width: 900px) { :root { --gutter: 48px; } }

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--orchid-300); color: var(--plum-800); }

:focus-visible {
    outline: 2px solid var(--orchid-600);
    outline-offset: 3px;
    border-radius: 2px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.025em;
    color: var(--plum-800);
}

.display em {
    font-style: italic;
    font-weight: 400;
    color: var(--orchid-600);
}

/* Letterspaced label sitting above every section heading */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--orchid-600);
}

.eyebrow::before {
    content: '';
    width: 34px; height: 1px;
    background: currentColor;
    opacity: .5;
}

.eyebrow.centred::after {
    content: '';
    width: 34px; height: 1px;
    background: currentColor;
    opacity: .5;
}

.lede {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 46ch;
}

.shell { width: var(--shell); margin-inline: auto; }
.bay { padding-block: var(--bay); }

/* --------------------------------------------------------------------------
   4. Ambient decoration
   -------------------------------------------------------------------------- */

/* Paper grain, so large flat areas do not read as flat CSS */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.petal-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -6vh;
    width: 14px; height: 14px;
    border-radius: 60% 10% 60% 10%;
    background: var(--tint, var(--blush-300));
    opacity: 0;
    animation: petal-fall var(--dur, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes petal-fall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(0deg) scale(.7); opacity: 0; }
    10%  { opacity: .5; }
    50%  { transform: translate3d(var(--drift, 60px), 50vh, 0) rotate(220deg) scale(1); opacity: .34; }
    90%  { opacity: .1; }
    100% { transform: translate3d(calc(var(--drift, 60px) * -.5), 110vh, 0) rotate(520deg) scale(.6); opacity: 0; }
}

.progress {
    position: fixed;
    top: 0; left: 0;
    z-index: 120;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--orchid-500), var(--blush-500), var(--orchid-600));
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.masthead {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: transform .5s var(--ease);
}

.masthead.tucked { transform: translateY(-42px); }

/* --- announcement ticker --- */
.ticker {
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-800);
    color: var(--on-dark-soft);
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ticker-track {
    display: flex;
    flex: none;
    white-space: nowrap;
    animation: ticker-run 38s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
    display: inline-flex;
    align-items: center;
    padding-inline: 28px;
}

.ticker-track span::after {
    content: '✿';
    margin-left: 28px;
    font-size: 10px;
    color: var(--orchid-400);
    letter-spacing: 0;
}

@keyframes ticker-run {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- navigation --- */
.navbar {
    position: relative;
    border-bottom: 1px solid transparent;
    transition: background .45s ease, border-color .45s ease;
}

.navbar.settled {
    background: rgba(252, 248, 251, .88);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--line);
}

.navbar-inner {
    width: var(--shell);
    margin-inline: auto;
    height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    transition: height .45s var(--ease);
}

.navbar.settled .navbar-inner { height: 68px; }

.nav-set { display: flex; align-items: center; gap: 34px; }
.nav-set.right { justify-content: flex-end; }

.nav-link {
    position: relative;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding-block: 6px;
    transition: color .3s ease;
}

/* Rule drawn from the centre outwards */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--orchid-600);
    transform: scaleX(0);
    transition: transform .45s var(--ease);
}

.nav-link:hover { color: var(--orchid-700); }
.nav-link:hover::after { transform: scaleX(1); }

/* --- centred brand lockup --- */
.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.brand-mark {
    width: 46px; height: 46px;
    flex: none;
    transition: transform .6s var(--ease-spring), width .45s var(--ease), height .45s var(--ease);
}

.navbar.settled .brand-mark { width: 36px; height: 36px; }
.brand-lockup:hover .brand-mark { transform: rotate(-10deg) scale(1.09); }

img.brand-logo { border-radius: 50%; object-fit: contain; background: #fff; }

.brand-word {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--plum-800);
    white-space: nowrap;
}

.brand-word .amp { font-style: italic; font-weight: 400; color: var(--orchid-600); }

.brand-sub {
    font-size: 8.5px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.icon-pill {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--plum-700);
    transition: color .35s ease, border-color .35s ease, background .35s ease, transform .35s var(--ease-spring);
}

.icon-pill:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(45deg, #f9ce34, var(--ig-1) 28%, var(--ig-2) 62%, var(--ig-3));
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Buttons — fill sweeps up from the base
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 999px;
    isolation: isolate;
    transition: color .4s var(--ease), transform .4s var(--ease-spring), box-shadow .4s ease, border-color .4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--orchid-600), var(--plum-600));
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900));
    transform: translateY(101%);
    transition: transform .5s var(--ease);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(94, 45, 118, .32); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(-1px) scale(.985); }

.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-line {
    color: var(--plum-700);
    border: 1px solid var(--line-strong);
}
.btn-line::before { background: transparent; }
.btn-line::after { background: linear-gradient(135deg, var(--orchid-600), var(--plum-600)); }
.btn-line:hover { color: #fff; border-color: transparent; }

.btn-ghost {
    color: var(--on-dark);
    border: 1px solid rgba(195, 174, 203, .32);
}
.btn-ghost::before { background: transparent; }
.btn-ghost:hover { color: #fff; border-color: transparent; }

.btn-ghost.wa::after { background: var(--wa); }
.btn-ghost.ig::after { background: linear-gradient(45deg, #f9ce34, var(--ig-1) 28%, var(--ig-2) 62%, var(--ig-3)); }

.btn-sm { padding: 11px 22px; font-size: 10.5px; }
.btn-wide { width: 100%; }

/* --- burger --- */
.burger {
    display: none;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--plum-800);
    transition: transform .4s var(--ease), opacity .3s ease, width .3s ease;
}

.burger span:last-child { width: 14px; }
.burger:hover span:last-child { width: 22px; }

body.menu-open .burger span:first-child { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:last-child { width: 22px; transform: translateY(-6.5px) rotate(-45deg); }

/* --- full-screen drawer --- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--gutter) 60px;
    background: linear-gradient(160deg, var(--plum-800), var(--plum-900));
    color: var(--on-dark);
    clip-path: circle(0% at 100% 0);
    transition: clip-path .8s var(--ease), visibility 0s linear .8s;
    visibility: hidden;
}

body.menu-open .drawer {
    clip-path: circle(150% at 100% 0);
    visibility: visible;
    transition: clip-path .8s var(--ease), visibility 0s;
}

.drawer-list { display: grid; gap: 4px; }

.drawer-list a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-block: 13px;
    font-family: var(--serif);
    font-size: clamp(30px, 9vw, 46px);
    line-height: 1.1;
    border-bottom: 1px solid rgba(195, 174, 203, .16);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s ease;
}

body.menu-open .drawer-list a {
    opacity: 1;
    transform: none;
    transition-delay: calc(.24s + var(--i, 0) * .07s);
}

.drawer-list a:hover { color: var(--orchid-400); }

.drawer-list .num {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--orchid-400);
}

.drawer-foot {
    margin-top: 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
    opacity: 0;
    transition: opacity .6s ease .55s;
}

body.menu-open .drawer-foot { opacity: 1; }
.drawer-foot a:hover { color: var(--orchid-400); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    z-index: 2;
    padding-top: 176px;
    padding-bottom: clamp(60px, 9vw, 110px);
    overflow: hidden;
}

/* Oversized ghost word behind the headline */
.hero-ghost {
    position: absolute;
    top: 18%; left: 50%;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: clamp(180px, 30vw, 460px);
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(169, 123, 199, .15);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.hero-copy > * + * { margin-top: 26px; }
.hero-title { font-size: clamp(46px, 7.4vw, 94px); }

/* Each line masks up from below */
.reveal-line { display: block; overflow: hidden; }

.reveal-line > span {
    display: block;
    transform: translateY(105%);
    transition: transform 1.05s var(--ease);
    transition-delay: calc(var(--i, 0) * .11s);
}

.is-ready .reveal-line > span { transform: none; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px clamp(22px, 3vw, 46px);
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.fact { display: grid; gap: 2px; }

.fact dt {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--plum-700);
    font-variant-numeric: tabular-nums;
}

.fact dd {
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* --- hero image with an offset frame --- */
.hero-art { position: relative; }

.hero-frame {
    position: absolute;
    inset: 24px -24px -24px 24px;
    border: 1px solid var(--orchid-300);
    border-radius: 240px 240px 18px 18px;
    pointer-events: none;
}

.hero-shot {
    position: relative;
    overflow: hidden;
    border-radius: 240px 240px 18px 18px;
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
    box-shadow: 0 40px 90px rgba(61, 29, 72, .16);
}

.hero-shot img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1.4s var(--ease);
}

.hero-art:hover .hero-shot img { transform: scale(1.12); }

/* Rotating seal — the signature flourish */
.seal {
    position: absolute;
    right: -32px; bottom: 32px;
    width: 130px; height: 130px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--plum-800);
    box-shadow: 0 20px 50px rgba(46, 20, 53, .34);
    z-index: 3;
}

.seal svg { position: absolute; inset: 0; animation: seal-spin 24s linear infinite; }

.seal text {
    font-family: var(--sans);
    font-size: 8.4px;
    font-weight: 500;
    letter-spacing: .24em;
    fill: var(--orchid-300);
    text-transform: uppercase;
}

.seal-core {
    font-family: var(--serif);
    font-size: 25px;
    font-style: italic;
    color: var(--blush-300);
}

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

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 44px;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.scroll-cue i {
    display: block;
    width: 54px; height: 1px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
}

.scroll-cue i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orchid-600);
    transform: translateX(-100%);
    animation: cue-slide 2.6s var(--ease) infinite;
}

@keyframes cue-slide {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   8. Section headers
   -------------------------------------------------------------------------- */
.sec-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 14px clamp(24px, 5vw, 70px);
    margin-bottom: clamp(38px, 5vw, 62px);
}

.sec-index {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--orchid-500);
    padding-bottom: 10px;
}

.sec-title { font-size: clamp(32px, 4.6vw, 56px); }
.sec-head .lede { grid-column: 2; }

.sec-head.centred {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}
.sec-head.centred .lede { grid-column: 1; margin-inline: auto; }

/* --------------------------------------------------------------------------
   9. Filters
   -------------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: clamp(34px, 4vw, 54px);
}

.pill {
    position: relative;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    transition: color .4s var(--ease), border-color .4s ease, transform .4s var(--ease-spring), box-shadow .4s ease;
}

.pill::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--orchid-600), var(--plum-600));
    transform: translateY(101%);
    transition: transform .45s var(--ease);
}

.pill:hover { color: var(--plum-700); border-color: var(--orchid-300); transform: translateY(-2px); }

.pill.active {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(94, 45, 118, .26);
}
.pill.active::before { transform: translateY(0); }

/* --------------------------------------------------------------------------
   10. Product grid
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
    gap: clamp(24px, 2.6vw, 40px);
}

.card {
    position: relative;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms);
}

.card.shown { opacity: 1; transform: none; }

.card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 4px 4px 150px 150px;
    background: var(--paper-deep);
}

.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.card:hover .card-media img { transform: scale(1.07); }

/* Veil lifts to reveal the order action */
.card-veil {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 34px;
    background: linear-gradient(to top, rgba(46, 20, 53, .8), rgba(46, 20, 53, .18) 52%, transparent);
    opacity: 0;
    transition: opacity .5s ease;
}

.card:hover .card-veil,
.card:focus-within .card-veil { opacity: 1; }

.card-order {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--plum-800);
    background: var(--paper);
    border-radius: 999px;
    transform: translateY(14px);
    transition: transform .5s var(--ease), background .3s ease;
}

.card:hover .card-order,
.card:focus-within .card-order { transform: none; }
.card-order:hover { background: var(--blush-300); }

.card-tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 14px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--plum-700);
    background: rgba(252, 248, 251, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
}

.card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 14px;
    padding-top: 18px;
}

.card-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--plum-800);
}

.card-price {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    font-style: italic;
    color: var(--orchid-600);
    white-space: nowrap;
}

.card-meta {
    grid-column: 1 / -1;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.card-note {
    grid-column: 1 / -1;
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-note {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    color: var(--ink-faint);
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about { position: relative; background: var(--paper-warm); }

.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(38px, 6vw, 90px);
    align-items: center;
}

.about-art { position: relative; }

.about-shot {
    overflow: hidden;
    border-radius: 18px 18px 200px 200px;
    aspect-ratio: 3 / 4;
    box-shadow: 0 40px 80px rgba(61, 29, 72, .14);
    background: var(--paper-deep);
}

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

.about-badge {
    position: absolute;
    left: -26px; bottom: 46px;
    padding: 22px 26px;
    background: var(--plum-800);
    color: var(--on-dark);
    border-radius: 14px;
    box-shadow: 0 24px 54px rgba(46, 20, 53, .3);
    max-width: 210px;
}

.about-badge strong {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--blush-300);
    line-height: 1;
}

.about-badge span {
    display: block;
    margin-top: 6px;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 38px;
    background: var(--line);
    border: 1px solid var(--line);
}

.value {
    padding: 26px 24px;
    background: var(--paper-warm);
    transition: background .45s ease;
}

.value:hover { background: var(--paper); }

.value i {
    display: block;
    font-family: var(--serif);
    font-size: 12px;
    font-style: italic;
    color: var(--orchid-500);
    margin-bottom: 8px;
}

.value h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--plum-800);
}

.value p { margin-top: 5px; font-size: 13.5px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.contact-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 82px);
    border-radius: 26px;
    background: linear-gradient(150deg, var(--plum-700), var(--plum-900));
    color: var(--on-dark);
}

.contact-panel::after {
    content: '';
    position: absolute;
    top: -40%; right: -12%;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 150, 218, .26), transparent 68%);
    animation: glow-drift 13s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-6%, 6%) scale(1.14); }
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(34px, 5vw, 72px);
}

.contact-title { font-size: clamp(30px, 4vw, 48px); color: var(--on-dark); }
.contact-title em { color: var(--blush-300); }

.contact-list { display: grid; gap: 18px; margin-top: 30px; }

.contact-row {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(195, 174, 203, .18);
    font-size: 14.5px;
}

.contact-row dt {
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orchid-300);
    padding-top: 4px;
}

.contact-row dd { color: var(--on-dark); line-height: 1.6; }
.contact-row a:hover { color: var(--blush-300); }

.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.contact-quote {
    align-self: end;
    padding-left: clamp(0px, 3vw, 34px);
    border-left: 1px solid rgba(195, 174, 203, .18);
}

.contact-quote p {
    font-family: var(--serif);
    font-size: clamp(19px, 2.2vw, 25px);
    font-style: italic;
    line-height: 1.5;
    color: var(--blush-300);
}

.contact-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 10.5px;
    font-style: normal;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

/* --------------------------------------------------------------------------
   13. Order dialog
   -------------------------------------------------------------------------- */
.sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(35, 15, 41, .58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sheet.open { display: flex; animation: fade .3s ease both; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet-box {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(28px, 4vw, 44px);
    background: var(--paper);
    border-radius: 22px;
    box-shadow: 0 50px 110px rgba(35, 15, 41, .4);
    animation: sheet-in .6s var(--ease-spring) both;
}

@keyframes sheet-in {
    from { opacity: 0; transform: translateY(34px) scale(.95); }
    to   { opacity: 1; transform: none; }
}

.sheet-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: transform .45s var(--ease-spring), background .3s ease, color .3s ease, border-color .3s ease;
}

.sheet-close:hover {
    transform: rotate(90deg);
    background: var(--plum-800);
    color: #fff;
    border-color: transparent;
}

.sheet-title { font-size: clamp(26px, 3.4vw, 34px); }

.chosen {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 30px;
    padding: 18px 22px;
    background: var(--paper-deep);
    border-radius: 14px;
    border-left: 2px solid var(--orchid-500);
}

.chosen-name {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--plum-800);
}

.chosen-price {
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    color: var(--orchid-600);
    white-space: nowrap;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.field > label {
    display: block;
    margin-bottom: 8px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.field-input {
    width: 100%;
    padding: 13px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    transition: border-color .35s ease;
}

.field-input:hover { border-bottom-color: var(--orchid-300); }
.field-input:focus { outline: none; border-bottom-color: var(--orchid-600); }
.field-input::placeholder { color: var(--ink-faint); opacity: .7; }

textarea.field-input { resize: vertical; min-height: 66px; line-height: 1.6; }

select.field-input {
    appearance: none;
    padding-right: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='%238A7A93' d='M6 8 0 1.4 1.4 0 6 4.6 10.6 0 12 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.field-hidden { display: none; }

.sheet-foot { margin-top: 32px; }

.sheet-note {
    margin-top: 14px;
    font-size: 12px;
    text-align: center;
    color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    z-index: 2;
    background: var(--plum-900);
    color: var(--on-dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    padding-block: clamp(52px, 7vw, 88px);
}

.footer-word {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
}
.footer-word .amp { font-style: italic; font-weight: 400; color: var(--orchid-400); }

.footer-tag {
    margin-top: 12px;
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    color: var(--blush-300);
}

.footer-note { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-soft); line-height: 1.75; }

.footer-heading {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--orchid-400);
    margin-bottom: 16px;
}

.footer-links { display: grid; gap: 12px; }

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 13.5px;
    color: var(--on-dark-soft);
    transition: color .3s ease, transform .3s var(--ease);
}

.footer-links a:hover { transform: translateX(5px); color: var(--on-dark); }
.footer-links a.ig:hover { color: #f56040; }
.footer-links a.wa:hover { color: var(--wa); }

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 24px;
    border-top: 1px solid rgba(195, 174, 203, .14);
    font-size: 11.5px;
    color: var(--ink-faint);
}

.footer-staff { transition: color .3s ease; }
.footer-staff:hover { color: var(--orchid-400); }

/* Maker's credit. Quiet enough to read as fine print, with an underline that
   draws itself in on hover so it still rewards being noticed. */
.footer-credit { color: var(--ink-faint); }

.footer-credit a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    color: var(--on-dark-soft);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-credit a::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}

.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--orchid-400); }

.footer-credit a:hover::after,
.footer-credit a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------------------
   15. Floating social rail
   -------------------------------------------------------------------------- */
.social-rail {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-float {
    position: relative;
    width: 54px; height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    transition: transform .45s var(--ease-spring), box-shadow .35s ease;
}

.social-float:hover { transform: scale(1.1) translateY(-2px); }
.social-float.wa { background: var(--wa); box-shadow: 0 10px 26px rgba(37, 211, 102, .38); }
.social-float.ig { background: linear-gradient(45deg, #f9ce34, var(--ig-1) 26%, var(--ig-2) 60%, var(--ig-3)); box-shadow: 0 10px 26px rgba(220, 39, 67, .38); }

.social-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0;
    animation: ripple 3.4s ease-out infinite;
}
.social-float.wa::before { animation-delay: 1.7s; }

@keyframes ripple {
    0%   { transform: scale(1);   opacity: .5; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

.social-tip {
    position: absolute;
    right: 66px;
    padding: 7px 14px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--plum-800);
    background: var(--paper);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(61, 29, 72, .18);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s var(--ease);
}

.social-float:hover .social-tip { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16. Scroll reveal utility
   -------------------------------------------------------------------------- */
.rise {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .95s var(--ease), transform .95s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}

.rise.shown { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 54px; }
    .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
    .hero-ghost { top: 11%; font-size: clamp(150px, 42vw, 300px); }
    .about-grid { grid-template-columns: 1fr; }
    .about-art { max-width: 420px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-quote {
        border-left: 0;
        padding-left: 0;
        padding-top: 26px;
        border-top: 1px solid rgba(195, 174, 203, .18);
    }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-set.left { display: none; }
    .nav-set.right .nav-link { display: none; }
    .burger { display: flex; }

    .navbar-inner { height: 72px; }
    .navbar.settled .navbar-inner { height: 64px; }

    .hero { padding-top: 138px; }
    .seal { width: 104px; height: 104px; right: -12px; bottom: 20px; }
    .seal-core { font-size: 20px; }
    .about-badge { left: -14px; padding: 18px 20px; }
}

@media (max-width: 620px) {
    .form-grid { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bar { justify-content: center; text-align: center; gap: 10px; }
    .sec-head { grid-template-columns: 1fr; }
    .sec-head .lede { grid-column: 1; }
    .social-rail { right: 14px; bottom: 14px; }
    .social-float { width: 48px; height: 48px; }
    .social-tip { display: none; }
    .contact-row { grid-template-columns: 1fr; gap: 4px; }
    .about-badge { left: 0; bottom: 16px; }
}

/* --------------------------------------------------------------------------
   18. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .petal-field, .hero-ghost { display: none; }
    .rise, .card { opacity: 1; transform: none; }
    .reveal-line > span { transform: none; }
}

/* --------------------------------------------------------------------------
   19. Our Story — the baker, in three acts
   -------------------------------------------------------------------------- */
.story-grid {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

/* --- portrait --- */
.story-art { position: relative; }

.story-frame {
    position: absolute;
    inset: 26px -26px -26px 26px;
    border: 1px solid var(--orchid-300);
    border-radius: 200px 200px 16px 16px;
    pointer-events: none;
}

.story-portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 200px 200px 16px 16px;
    background: var(--paper-deep);
    box-shadow: 0 40px 84px rgba(61, 29, 72, .18);
}

.story-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 32%;
    transform: scale(1.03);
    transition: transform 1.5s var(--ease);
}

.story-art:hover .story-portrait img { transform: scale(1.08); }

/* Name plate tucked over the portrait's lower edge */
.story-plate {
    position: absolute;
    left: -22px; bottom: 40px;
    padding: 18px 24px;
    background: var(--plum-800);
    color: var(--on-dark);
    border-radius: 13px;
    box-shadow: 0 24px 54px rgba(46, 20, 53, .34);
    z-index: 2;
}

.story-plate strong {
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    color: var(--blush-300);
    line-height: 1.1;
}

.story-plate span {
    display: block;
    margin-top: 5px;
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

/* --- the three acts, on a timeline --- */
.acts {
    position: relative;
    margin-top: 34px;
    padding-left: 34px;
}

/* the spine */
.acts::before {
    content: '';
    position: absolute;
    left: 5px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(var(--orchid-300), var(--blush-300), transparent);
}

.act { position: relative; padding-bottom: 34px; }
.act:last-child { padding-bottom: 0; }

.act::before {
    content: '';
    position: absolute;
    left: -34px; top: 7px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--paper-warm);
    border: 1.5px solid var(--orchid-500);
    transition: background .4s ease, transform .4s var(--ease-spring);
}

.act:hover::before { background: var(--orchid-500); transform: scale(1.25); }

.act-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin-bottom: 9px;
}

.act-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--orchid-600);
}

.act-time {
    font-family: var(--serif);
    font-size: 12.5px;
    font-style: italic;
    color: var(--ink-faint);
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

.act h3 {
    font-family: var(--serif);
    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 600;
    color: var(--plum-800);
    line-height: 1.2;
}

.act p {
    margin-top: 9px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 54ch;
}

/* --- signature pull quote --- */
.signature {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--paper);
    border-radius: 16px;
    border-left: 2px solid var(--blush-500);
    box-shadow: 0 18px 44px rgba(61, 29, 72, .07);
}

.signature p {
    font-family: var(--serif);
    font-size: clamp(19px, 2.3vw, 25px);
    font-style: italic;
    line-height: 1.45;
    color: var(--plum-700);
}

.signature cite {
    display: block;
    margin-top: 14px;
    font-family: var(--sans);
    font-size: 10.5px;
    font-style: normal;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

@media (max-width: 1080px) {
    .story-grid { grid-template-columns: 1fr; }
    .story-art { max-width: 400px; margin-inline: auto; width: 100%; }
    .story-plate { left: -12px; }
}

@media (max-width: 620px) {
    .acts { padding-left: 26px; }
    .act::before { left: -26px; }
    .story-plate { left: 0; bottom: 16px; padding: 14px 18px; }
    .signature { padding: 22px 24px; }
    .act-time { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   20. Preloader — the curtain before the page
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, var(--plum-800), var(--plum-900) 70%, #1A0B1F);
    color: var(--on-dark);
    /* Failsafe: if the script never runs, the page still becomes reachable. */
    animation: preload-failsafe .8s ease 5s forwards;
}

.preloader.done {
    animation: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s linear .9s;
}

@keyframes preload-failsafe {
    to { opacity: 0; visibility: hidden; }
}

.preload-inner {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding: 24px;
    text-align: center;
}

/* The mark rises gently, like something proving */
.preload-mark {
    width: 74px;
    height: 74px;
    animation: proving 2.6s var(--ease) infinite;
}

.preload-mark img,
.preload-mark svg { width: 100%; height: 100%; }
.preload-mark img { border-radius: 50%; background: #fff; }

@keyframes proving {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-9px) scale(1.05); }
}

.preload-word {
    font-family: var(--serif);
    font-size: clamp(27px, 7vw, 38px);
    font-weight: 700;
    letter-spacing: .02em;
    overflow: hidden;
}

.preload-word span {
    display: inline-block;
    animation: word-rise .9s var(--ease) both;
}

.preload-word .amp {
    font-style: italic;
    font-weight: 400;
    color: var(--orchid-400);
    animation-delay: .1s;
}

.preload-word .b2 { animation-delay: .2s; }

@keyframes word-rise {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.preload-tag {
    font-size: 10px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
    opacity: 0;
    animation: fade-in-soft .7s ease .45s forwards;
}

@keyframes fade-in-soft { to { opacity: 1; } }

/* Icing poured along a line */
.preload-bar {
    width: min(210px, 60vw);
    height: 2px;
    border-radius: 2px;
    background: rgba(195, 174, 203, .22);
    overflow: hidden;
}

.preload-bar i {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--blush-400), var(--orchid-400), transparent);
    animation: icing 1.5s var(--ease) infinite;
}

@keyframes icing {
    0%   { transform: translateX(-110%); }
    100% { transform: translateX(320%); }
}

body.loading { overflow: hidden; }

/* ==========================================================================
   21. Lightbox
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 52px);
    background: rgba(26, 11, 31, .93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lightbox.open { display: flex; animation: fade .32s ease both; }

.lightbox-stage {
    position: relative;
    display: grid;
    gap: 16px;
    justify-items: center;
    max-width: 100%;
}

.lightbox-figure {
    position: relative;
    max-width: min(880px, 100%);
    border-radius: 14px;
    overflow: hidden;
    background: var(--plum-800);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
    animation: light-in .55s var(--ease-spring) both;
}

@keyframes light-in {
    from { opacity: 0; transform: scale(.9) translateY(20px); }
    to   { opacity: 1; transform: none; }
}

.lightbox-figure img {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-caption {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
    color: var(--on-dark);
    animation: fade-in-soft .5s ease .18s both;
}

.lightbox-name {
    font-family: var(--serif);
    font-size: clamp(19px, 3vw, 25px);
    font-weight: 600;
}

.lightbox-meta {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orchid-300);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--on-dark);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .3s ease, transform .3s var(--ease-spring);
    z-index: 2;
}

.lightbox-btn:hover { background: rgba(255, 255, 255, .22); transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: clamp(8px, 2vw, 26px); }
.lightbox-next { right: clamp(8px, 2vw, 26px); }

.lightbox-close {
    position: absolute;
    top: clamp(12px, 3vw, 28px);
    right: clamp(12px, 3vw, 28px);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--on-dark);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: background .3s ease, transform .45s var(--ease-spring);
    z-index: 3;
}

.lightbox-close:hover { background: var(--blush-600); transform: rotate(90deg); }

/* Expand affordance on each card */
.card-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--plum-800);
    background: rgba(252, 248, 251, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s var(--ease-spring), background .3s ease;
    z-index: 3;
}

.card:hover .card-zoom,
.card:focus-within .card-zoom { opacity: 1; transform: none; }
.card-zoom:hover { background: var(--blush-300); }

/* ==========================================================================
   22. Mobile — hero fills the screen, products go two-up
   ========================================================================== */
@media (max-width: 860px) {

    /* --- hero becomes one full-height frame --- */
    .hero {
        position: relative;
        display: grid;
        align-items: end;
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 104px;
        padding-bottom: 42px;
    }

    /* the photograph sits behind everything */
    .hero-art {
        position: absolute;
        inset: 0;
        max-width: none;
        width: auto;
        margin: 0;
        z-index: 0;
        transform: none !important;
    }

    .hero-frame { display: none; }

    .hero-shot {
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-shot img,
    .hero-art:hover .hero-shot img { transform: none; }

    /* Scrim, so the words stay legible over any photograph */
    .hero-shot::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(35, 15, 41, .74) 0%, rgba(35, 15, 41, .30) 34%, rgba(35, 15, 41, .82) 76%, rgba(26, 11, 31, .96) 100%),
            linear-gradient(90deg, rgba(35, 15, 41, .50), transparent 60%);
    }

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

    .hero-copy {
        position: relative;
        z-index: 3;
        color: var(--on-dark);
        text-shadow: 0 2px 24px rgba(26, 11, 31, .55);
    }

    .hero-copy > * + * { margin-top: 20px; }

    .hero .eyebrow { color: var(--blush-300); }
    .hero .display { color: #fff; }
    .hero .display em { color: var(--blush-300); }

    .hero-title {
        font-size: clamp(42px, 13vw, 62px);
        line-height: .98;
        letter-spacing: -.035em;
    }

    .hero .lede {
        color: rgba(246, 236, 246, .84);
        font-size: 15.5px;
        max-width: 34ch;
    }

    .hero-actions { gap: 12px; }
    .hero .btn { padding: 14px 26px; }
    .hero .btn-line { color: #fff; border-color: rgba(246, 236, 246, .42); }

    .hero-facts {
        border-top-color: rgba(246, 236, 246, .22);
        padding-top: 22px;
        gap: 16px 26px;
    }

    .fact dt { color: #fff; font-size: 23px; }
    .fact dd { color: rgba(246, 236, 246, .62); }

    .hero-ghost {
        top: auto;
        bottom: 6%;
        opacity: .5;
        -webkit-text-stroke-color: rgba(248, 198, 217, .18);
    }

    .seal {
        top: 96px;
        right: 16px;
        left: auto;
        bottom: auto;
        width: 86px;
        height: 86px;
    }

    .seal text { font-size: 8px; }
    .seal-core { font-size: 17px; }

    .scroll-cue { margin-top: 26px; color: rgba(246, 236, 246, .6); }
    .scroll-cue i { background: rgba(246, 236, 246, .3); }
    .scroll-cue i::after { background: var(--blush-300); }

    /* --- products two per row --- */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 12px;
    }

    .card-media { border-radius: 3px 3px 90px 90px; }
    .card-body { padding-top: 12px; gap: 1px 8px; }
    .card-name { font-size: 15px; line-height: 1.2; }
    .card-price { font-size: 13.5px; }
    .card-meta { font-size: 9.5px; letter-spacing: .1em; }
    .card-note { display: none; }

    .card-tag {
        top: 8px;
        left: 8px;
        padding: 4px 9px;
        font-size: 8.5px;
        letter-spacing: .12em;
    }

    /* Touch has no hover, so the controls stay visible */
    .card-veil {
        opacity: 1;
        background: linear-gradient(to top, rgba(46, 20, 53, .72), transparent 46%);
        padding-bottom: 14px;
    }

    .card-order {
        transform: none;
        padding: 8px 16px;
        font-size: 9.5px;
        letter-spacing: .1em;
    }

    .card-zoom {
        opacity: 1;
        transform: none;
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

    .lightbox-btn { width: 40px; height: 40px; }
}

@media (max-width: 400px) {
    .grid { gap: 12px 10px; }
    .card-name { font-size: 14px; }
    .card-order { padding: 7px 12px; }
    .hero-title { font-size: clamp(38px, 12.5vw, 52px); }
}

/* Landscape phones: never force a full screen the copy cannot fit inside */
@media (max-width: 860px) and (max-height: 560px) {
    .hero { min-height: auto; padding-top: 118px; padding-bottom: 46px; }
    .seal, .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader { animation: none; opacity: 0; visibility: hidden; }
    .preload-mark, .preload-bar i { animation: none; }
}

/* ==========================================================================
   23. Mobile hero corrections
   ========================================================================== */
@media (max-width: 860px) {

    /* .hero-grid is position:relative by default, which would make the
       absolutely-positioned art anchor to the shell — inset by the gutter.
       Going static lets it anchor to .hero and run edge to edge. */
    .hero-grid { position: static; }

    .hero {
        /* clear the fixed ticker (42) + navbar (72) with room to breathe */
        padding-top: 128px;
    }

    .hero-art {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        inset: 0;
    }

    /* Each headline line is its own block and cannot wrap, so the type has
       to be small enough for the longest one to fit the screen. */
    .hero-title {
        font-size: clamp(30px, 9.4vw, 46px);
        line-height: 1.04;
        letter-spacing: -.028em;
    }

    .hero-copy { max-width: 100%; }
    .hero .lede { font-size: 15px; max-width: 100%; }

    /* Seal drops below the header rather than colliding with it */
    .seal {
        top: auto;
        bottom: 16px;
        right: 14px;
        left: auto;
        width: 74px;
        height: 74px;
        z-index: 4;
    }

    .seal text { font-size: 7.4px; letter-spacing: .2em; }
    .seal-core { font-size: 15px; }

    /* Brand lockup has little room between the burger and the icon */
    .brand-word { font-size: 14.5px; }
    .brand-sub { font-size: 7.5px; letter-spacing: .34em; }
    .brand-mark { width: 38px; height: 38px; }
    .navbar.settled .brand-mark { width: 32px; height: 32px; }

    .hero-facts { gap: 14px 22px; }
    .fact dt { font-size: 21px; }
    .fact dd { font-size: 9.5px; letter-spacing: .14em; }
}

/* Very narrow phones */
@media (max-width: 400px) {
    .hero-title { font-size: clamp(27px, 8.8vw, 38px); }
    .hero .btn { padding: 13px 20px; font-size: 10.5px; letter-spacing: .12em; }
    .hero-actions { gap: 10px; }
    .seal { width: 64px; height: 64px; }
    .seal-core { font-size: 13px; }
    .seal text { font-size: 6.6px; }
    .brand-sub { display: none; }
}

/* Nothing may push the page sideways */
html, body { max-width: 100%; overflow-x: hidden; }
.hero, .hero-grid, .hero-copy { min-width: 0; }
.reveal-line > span { display: block; max-width: 100%; }

/* ==========================================================================
   24. Hard width bound on mobile
   Grid items size to their content by default, which let the hero copy grow
   past the screen. Bounding against the viewport removes the feedback loop.
   ========================================================================== */
@media (max-width: 860px) {
    .hero-grid,
    .hero-copy {
        width: 100%;
        max-width: calc(100vw - 2 * var(--gutter));
        min-width: 0;
    }

    .hero-copy > * { max-width: 100%; }
    .hero .lede { max-width: 100%; }
    .hero-facts { max-width: 100%; }
    .hero-title { overflow-wrap: break-word; }
}

/* ==========================================================================
   25. Mobile header & seal placement
   ========================================================================== */
@media (max-width: 860px) {
    /* Keep the empty left cell so the centred lockup stays centred.
       display:none would collapse the column and shift the brand left. */
    .nav-set.left { display: flex; }
    .nav-set.left .nav-link { display: none; }

    /* Seal moves to the empty sky below the header, clear of the
       floating social rail in the bottom-right corner. */
    .seal {
        top: 136px;
        right: 14px;
        bottom: auto;
        left: auto;
    }
}

@media (max-width: 860px) and (max-height: 700px) {
    .seal { display: none; }
}

/* ==========================================================================
   26. Two-up cards: stack name and price
   Side by side, a wrapping name squeezes the price off the card edge.
   ========================================================================== */
@media (max-width: 860px) {
    .card-body {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .card-name { font-size: 14.5px; }
    .card-price { font-size: 13px; }
    .card-meta { margin-top: 1px; }
}

/* ==========================================================================
   27. Our Story, condensed — beats instead of paragraphs
   ========================================================================== */
.story-grid { align-items: center; }

.story-copy > * + * { margin-top: 20px; }
.story-copy .sec-title { font-size: clamp(30px, 4vw, 50px); }

/* --- the three beats --- */
.beats {
    position: relative;
    display: grid;
    gap: 2px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: beat;
}

.beat {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 18px;
    padding: 18px 18px 18px 4px;
    border-top: 1px solid var(--line);
    border-radius: 10px;
    transition: background .4s var(--ease), padding-left .4s var(--ease);
}

.beat:last-child { border-bottom: 1px solid var(--line); }

.beat::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 2px; height: 0;
    background: linear-gradient(var(--orchid-500), var(--blush-500));
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height .45s var(--ease);
}

.beat:hover,
.beat:focus-within {
    background: var(--paper);
    padding-left: 16px;
}

.beat:hover::before,
.beat:focus-within::before { height: 62%; }

.beat-no {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    color: var(--orchid-500);
    letter-spacing: .04em;
    transition: color .3s ease;
}

.beat:hover .beat-no { color: var(--blush-600); }

.beat-body { min-width: 0; }

.beat h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    font-family: var(--serif);
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 600;
    color: var(--plum-800);
    line-height: 1.2;
}

.beat h3 i {
    font-family: var(--sans);
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding-left: 10px;
    border-left: 1px solid var(--line);
}

.beat p {
    margin-top: 5px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 48ch;
}

/* --- signature, tightened --- */
.signature {
    margin-top: 28px;
    padding: 0 0 0 22px;
    background: none;
    border-left: 2px solid var(--blush-500);
    border-radius: 0;
    box-shadow: none;
}

.signature p {
    font-family: var(--serif);
    font-size: clamp(18px, 2.1vw, 23px);
    font-style: italic;
    line-height: 1.45;
    color: var(--plum-700);
}

.signature cite {
    display: block;
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 10px;
    font-style: normal;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* --- creed: a moving line, not a box grid --- */
.creed {
    margin-top: clamp(48px, 7vw, 88px);
    padding-block: 20px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.creed-track {
    display: flex;
    flex: none;
    width: max-content;
    white-space: nowrap;
    animation: creed-run 42s linear infinite;
}

.creed:hover .creed-track { animation-play-state: paused; }

.creed-track span {
    display: inline-flex;
    align-items: center;
    padding-inline: 26px;
    font-family: var(--serif);
    font-size: clamp(17px, 2.1vw, 24px);
    font-style: italic;
    color: var(--plum-600);
}

.creed-track span::after {
    content: '✿';
    margin-left: 26px;
    font-size: 11px;
    font-style: normal;
    color: var(--blush-500);
}

@keyframes creed-run {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
    .story-copy { margin-top: 8px; }
}

@media (max-width: 620px) {
    .beat { grid-template-columns: 1fr; gap: 4px; padding: 15px 12px 15px 4px; }
    .beat-no { font-size: 11px; }
    .beat p { font-size: 13.5px; }
    .signature { padding-left: 16px; }
    .creed-track span { font-size: 16px; padding-inline: 18px; }
    .creed-track span::after { margin-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .creed-track { animation: none; }
}

/* ==========================================================================
   28. Visit panel — squared off and brought down in size
   The big rounded slab read as a template block. Sharp corners, less
   padding, and a thinner type scale make it feel like a printed card.
   ========================================================================== */
.contact-panel {
    padding: clamp(28px, 3.4vw, 52px);
    border-radius: 0;
    border-left: 3px solid var(--blush-500);
}

/* Tighter columns, less air between them */
.contact-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(26px, 3.4vw, 52px);
}

.contact-title {
    font-size: clamp(25px, 2.9vw, 36px);
    line-height: 1.12;
}

.contact-list { gap: 0; margin-top: 22px; }

.contact-row {
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding-block: 12px;
    font-size: 13.5px;
}

.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-row dt {
    font-size: 9.5px;
    letter-spacing: .18em;
    padding-top: 3px;
}

.contact-cta { margin-top: 22px; gap: 10px; }
.contact-cta .btn { padding: 12px 22px; font-size: 10.5px; letter-spacing: .14em; }

.contact-quote { padding-left: clamp(0px, 2.4vw, 26px); }

.contact-quote p {
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.42;
}

.contact-quote cite { margin-top: 12px; font-size: 9.5px; }

/* The glow was sized for the larger slab */
.contact-panel::after {
    top: -34%;
    right: -10%;
    width: 340px;
    height: 340px;
}

/* Square off the buttons inside, to match the panel */
.contact-cta .btn { border-radius: 0; }

@media (max-width: 620px) {
    .contact-panel { padding: 26px 20px; }
    .contact-row { grid-template-columns: 1fr; gap: 2px; padding-block: 11px; }
    .contact-cta .btn { width: 100%; }
}

/* Bottom-aligning the quote left a void in the top-right of the panel */
.contact-quote { align-self: center; }

/* ==========================================================================
   29. Order form — pickup points, delivery fee notice
   ========================================================================== */
.field-hint {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--ink-faint);
}

/* Something the customer must actually register before ordering */
.field-flag {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    padding: 11px 13px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--plum-700);
    background: var(--blush-100);
    border-left: 2px solid var(--blush-500);
}

.field-flag span { flex: none; color: var(--blush-600); }

/* The whole photo opens the lightbox, so say so on hover */
.card-media { cursor: zoom-in; }
.card-order { cursor: pointer; }

/* ==========================================================================
   30. Hero — poured icing layout
   A cream band carrying the navigation, an organic pour spilling out of it,
   and a deep plum block beneath holding the headline and the photograph.
   ========================================================================== */
.hero {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--plum-800);
    padding-top: clamp(230px, 26vw, 330px);
    padding-bottom: clamp(56px, 7vw, 96px);
}

/* --- the pour ------------------------------------------------------------ */
.pour {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: clamp(200px, 24vw, 300px);
    pointer-events: none;
    z-index: 1;
}

.pour-wave {
    position: absolute;
    top: 0; left: 0;
    width: 200%;
    height: 100%;
    display: block;
}

/* The path repeats every 1440 units, so a -50% shift loops seamlessly. */
.pour-back {
    fill: var(--blush-100);
    animation: pour-drift 34s linear infinite;
}

.pour-front {
    fill: var(--paper);
    animation: pour-drift 26s linear infinite reverse;
}

@keyframes pour-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- headline block ------------------------------------------------------ */
.hero-grid {
    position: relative;
    z-index: 3;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: clamp(30px, 4vw, 64px);
}

.hero-copy > * + * { margin-top: 22px; }

.hero .eyebrow { color: var(--blush-300); }

.hero-title {
    font-size: clamp(58px, 10.5vw, 132px);
    line-height: .88;
    letter-spacing: -.045em;
    color: var(--paper);
    /* the soft drop the reference uses under its display type */
    text-shadow: 0 14px 40px rgba(20, 8, 24, .45);
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--blush-300);
}

/* the quoted line under the name */
.hero-quote {
    font-family: var(--serif);
    font-size: clamp(19px, 2.5vw, 31px);
    font-style: italic;
    line-height: 1.25;
    color: var(--blush-300);
    text-shadow: 0 6px 20px rgba(20, 8, 24, .4);
}

.hero .lede {
    color: rgba(246, 236, 246, .8);
    max-width: 48ch;
    font-size: 15.5px;
}

.hero .btn-line {
    color: var(--paper);
    border-color: rgba(246, 236, 246, .38);
}

.hero-facts { border-top-color: rgba(246, 236, 246, .2); }
.fact dt { color: var(--paper); }
.fact dd { color: rgba(246, 236, 246, .58); }

.scroll-cue { color: rgba(246, 236, 246, .55); }
.scroll-cue i { background: rgba(246, 236, 246, .28); }
.scroll-cue i::after { background: var(--blush-300); }

/* the outlined word, now sitting on plum */
.hero-ghost {
    top: 34%;
    -webkit-text-stroke-color: rgba(248, 198, 217, .12);
    opacity: .85;
}

/* --- the photograph, rising into the pour -------------------------------- */
.hero-art {
    position: relative;
    /* lifts the cake up through the icing, like the reference */
    margin-top: clamp(-190px, -18vw, -90px);
}

.hero-shot {
    position: relative;
    overflow: visible;
    aspect-ratio: 1;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.hero-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
    /* a cut-out sits on the colour rather than in a frame */
    filter: drop-shadow(0 40px 60px rgba(20, 8, 24, .55));
    animation: cake-float 9s ease-in-out infinite;
}

.hero-art:hover .hero-shot img { transform: none; }

@keyframes cake-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(-1deg); }
}

.seal {
    right: 2%;
    bottom: 6%;
    background: var(--paper);
    box-shadow: 0 18px 44px rgba(20, 8, 24, .5);
}

.seal text { fill: var(--orchid-600); }
.seal-core { color: var(--plum-700); }

/* --------------------------------------------------------------------------
   Navigation sits on the cream band, so it keeps its dark type
   -------------------------------------------------------------------------- */
.navbar { background: var(--paper); }
.navbar.settled { background: rgba(252, 248, 251, .93); }

/* --------------------------------------------------------------------------
   Mobile — stack it, keep the pour
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    .hero {
        display: block;
        min-height: 0;
        padding-top: clamp(190px, 44vw, 240px);
        padding-bottom: 44px;
    }

    .pour { height: clamp(170px, 42vw, 230px); }

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

    /* the photo leads, the words follow */
    .hero-copy { order: 2; text-shadow: none; }
    .hero-art  { order: 1; margin-top: clamp(-150px, -30vw, -80px); margin-bottom: 18px; max-width: 340px; margin-inline: auto; }

    .hero-title { font-size: clamp(52px, 17vw, 84px); }
    .hero-quote { font-size: clamp(17px, 5vw, 23px); }
    .hero .lede { font-size: 14.5px; max-width: 100%; }

    .seal { width: 74px; height: 74px; right: 0; bottom: 2%; top: auto; }
    .seal text { font-size: 7.4px; }
    .seal-core { font-size: 15px; }

    .hero-ghost { top: auto; bottom: 4%; }
}

@media (max-width: 400px) {
    .hero-title { font-size: clamp(44px, 15vw, 62px); }
    .hero-art { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    .pour-back, .pour-front, .hero-shot img { animation: none; }
}

/* ==========================================================================
   31. Hero corrections — deeper pour, cut-out cake
   ========================================================================== */
.pour { height: clamp(230px, 27vw, 340px); }
.hero { padding-top: clamp(260px, 29vw, 370px); }

/* A raw rectangle reads as a pasted stock photo. A disc with a soft ring
   sits on the colour the way the reference's cut-out does. */
.hero-shot {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    box-shadow:
        0 0 0 10px rgba(248, 198, 217, .16),
        0 0 0 26px rgba(248, 198, 217, .07),
        0 46px 80px rgba(20, 8, 24, .55);
}

.hero-shot img {
    object-fit: cover;
    filter: none;
}

.hero-art { margin-top: clamp(-230px, -20vw, -110px); }

.hero-ghost { opacity: .5; }

@media (max-width: 860px) {
    .pour { height: clamp(190px, 46vw, 250px); }
    .hero { padding-top: clamp(210px, 48vw, 270px); }
    .hero-art { margin-top: clamp(-170px, -32vw, -90px); }

    .hero-shot {
        box-shadow:
            0 0 0 7px rgba(248, 198, 217, .16),
            0 0 0 18px rgba(248, 198, 217, .07),
            0 30px 56px rgba(20, 8, 24, .5);
    }
}



/* ==========================================================================
   34. Hero — one screen, photograph as the background, words on top
   Supersedes the two-column layout. The photo is no longer a framed disc in
   its own column; it fills the section and the type sits over it.
   ========================================================================== */
.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: clamp(150px, 16vw, 210px);
    padding-bottom: clamp(60px, 7vw, 100px);
    overflow: hidden;
    background: var(--plum-800);
}

/* --- the photograph fills the section ----------------------------------- */
.hero-grid {
    /* static, so the absolutely-positioned photo anchors to .hero and not
       to this box — otherwise it shrinks to the width of the shell */
    position: static;
    grid-template-columns: 1fr;
    gap: 0;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: auto;
    max-width: none;
    margin: 0;
    transform: none !important;
}

.hero-shot {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.hero-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    filter: none;
    animation: none;
    transform: none;
}

/* Weighted to the left, where the words sit, and clearing to the right so
   the cake itself stays visible. */
.hero-shot::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(30, 12, 36, .90) 0%,
            rgba(30, 12, 36, .70) 30%,
            rgba(30, 12, 36, .26) 56%,
            rgba(30, 12, 36, .04) 78%,
            transparent 100%),
        linear-gradient(180deg,
            rgba(30, 12, 36, .55) 0%,
            rgba(30, 12, 36, .06) 26%,
            rgba(26, 11, 31, .30) 72%,
            rgba(26, 11, 31, .72) 100%);
}

/* --- the words ----------------------------------------------------------- */
.hero-copy {
    position: relative;
    z-index: 8;
    /* ch resolves against this element's 16px font, not the 150px headline,
       so a ch-based cap here clips the title — .reveal-line hides overflow. */
    max-width: min(660px, 58%);
    text-shadow: 0 4px 40px rgba(20, 8, 24, .55);
}

.hero-copy > * + * { margin-top: 20px; }

.hero-title {
    font-size: clamp(58px, 11vw, 150px);
    line-height: .84;
    letter-spacing: -.048em;
    color: var(--paper);
}

.hero-title em { color: var(--blush-300); }

.hero-quote {
    font-size: clamp(19px, 2.4vw, 30px);
    line-height: 1.3;
    color: var(--blush-300);
    max-width: 460px;
}

.hero-quote::before {
    content: '';
    display: block;
    width: 62px;
    height: 1px;
    margin-bottom: 20px;
    background: rgba(248, 198, 217, .55);
}

.hero-actions { margin-top: 30px; }
.hero .btn-line { color: var(--paper); border-color: rgba(246, 236, 246, .4); }

.scroll-cue { margin-top: 38px; color: rgba(246, 236, 246, .58); }
.scroll-cue i { background: rgba(246, 236, 246, .3); }
.scroll-cue i::after { background: var(--blush-300); }

.hero-ghost { display: none; }

/* --- the pour, over the photograph --------------------------------------- */
.pour {
    height: clamp(220px, 24vw, 330px);
    /* Above the photo. Tested values below 6 lost to it, so the whole hero
       uses one explicit order: photo 0 < pour 6 < words 8 < seal 9. */
    z-index: 6;
}

.pour-wave { width: 200%; }

/* --- seal ---------------------------------------------------------------- */
.seal {
    position: absolute;
    /* clear of the floating social buttons in the bottom-right corner */
    right: clamp(20px, 4vw, 64px);
    top: clamp(300px, 27vw, 400px);
    bottom: auto;
    left: auto;
    z-index: 9;
    width: clamp(92px, 9vw, 126px);
    height: clamp(92px, 9vw, 126px);
}

/* --------------------------------------------------------------------------
   Phones — same idea, centred, and without the buttons
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    .hero {
        padding-top: 132px;
        padding-bottom: 40px;
        align-items: end;
    }

    .hero-copy {
        max-width: 100%;
        text-align: center;
        text-shadow: 0 3px 30px rgba(20, 8, 24, .6);
    }

    /* wraps before it reaches the floating social buttons */
    .hero-quote { max-width: 17ch; margin-inline: auto; }
    .hero-quote::before { margin-inline: auto; width: 54px; margin-bottom: 16px; }

    .hero-actions { display: none; }
    .scroll-cue { justify-content: center; margin-top: 28px; }

    .hero-shot img { object-position: center 38%; }

    /* Centred type sits over the cake itself, which is near-white — the
       lower half has to carry real weight or the headline disappears. */
    .hero-shot::after {
        background:
            linear-gradient(180deg,
                rgba(30, 12, 36, .48) 0%,
                rgba(30, 12, 36, .16) 24%,
                rgba(30, 12, 36, .34) 48%,
                rgba(28, 11, 34, .74) 64%,
                rgba(26, 11, 31, .90) 80%,
                rgba(26, 11, 31, .96) 100%);
    }

    .pour { height: clamp(300px, 82vw, 380px); }
    .pour-wave { width: 400%; }

    .seal {
        top: clamp(300px, 80vw, 370px);
        bottom: auto;
        right: 14px;
        width: 72px;
        height: 72px;
    }

    .hero-title { font-size: clamp(58px, 20vw, 104px); }
    .hero-quote { font-size: clamp(18px, 5.4vw, 27px); }
}

@media (max-width: 400px) {
    .hero-title { font-size: clamp(50px, 18vw, 78px); }
    .hero-quote { font-size: clamp(16px, 5vw, 22px); }
    .seal { width: 62px; height: 62px; }
    .seal-core { font-size: 13px; }
}

@media (max-width: 860px) and (max-height: 560px) {
    .hero { min-height: auto; padding-top: 150px; padding-bottom: 44px; }
    .seal, .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pour-back, .pour-front { animation: none; }
}

/* ==========================================================================
   35. Hero — centred, wordmark on one line
   ========================================================================== */
.hero {
    place-items: center;
    text-align: center;
}

.hero-copy {
    max-width: min(1100px, 100%);
    margin-inline: auto;
    text-align: center;
    text-shadow: 0 4px 44px rgba(20, 8, 24, .5);
}

.hero-copy > * + * { margin-top: 22px; }

/*  "Butter & Bloom" is ~14 characters. At Playfair's ~0.52em average that
    needs about 7.3em of width, so the vw term is tuned to keep it on one
    line from 320px up without ever overflowing the shell.                */
.hero-title {
    font-size: clamp(30px, 10.4vw, 148px);
    line-height: 1;
    letter-spacing: -.035em;
    white-space: nowrap;
    color: var(--paper);
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--blush-300);
    padding-inline: .06em;
}

.hero-quote {
    font-size: clamp(15px, 2.1vw, 27px);
    line-height: 1.4;
    letter-spacing: .01em;
    color: var(--blush-300);
    max-width: 30ch;
    margin-inline: auto;
}

/* centred hairline above the tagline */
.hero-quote::before {
    content: '';
    display: block;
    width: clamp(44px, 6vw, 78px);
    height: 1px;
    margin: 0 auto 18px;
    background: rgba(248, 198, 217, .55);
}

.hero-actions {
    justify-content: center;
    margin-top: 30px;
}

.scroll-cue {
    justify-content: center;
    margin-top: 36px;
}

/* --- scrim: even on all sides now the type is centred ------------------- */
.hero-shot img { object-position: center center; }

.hero-shot::after {
    background:
        radial-gradient(120% 90% at 50% 50%,
            rgba(30, 12, 36, .30) 0%,
            rgba(30, 12, 36, .58) 46%,
            rgba(26, 11, 31, .82) 100%),
        linear-gradient(180deg,
            rgba(30, 12, 36, .52) 0%,
            rgba(30, 12, 36, .10) 30%,
            rgba(26, 11, 31, .48) 78%,
            rgba(26, 11, 31, .80) 100%);
}

/* seal returns to the corner, clear of centred type */
.seal {
    right: clamp(18px, 4vw, 60px);
    top: clamp(290px, 26vw, 390px);
    bottom: auto;
    left: auto;
}

/* --------------------------------------------------------------------------
   Phones
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    .hero {
        place-items: center;
        padding-top: 150px;
        padding-bottom: 56px;
    }

    .hero-copy { max-width: 100%; }
    .hero-copy > * + * { margin-top: 18px; }

    /* the wordmark stays on one line here too */
    .hero-title { font-size: clamp(28px, 11.2vw, 62px); }

    .hero-quote {
        font-size: clamp(14.5px, 4.4vw, 20px);
        max-width: 24ch;
    }

    .hero-actions { display: none; }
    .scroll-cue { margin-top: 26px; }

    .hero-shot img { object-position: center center; }

    .hero-shot::after {
        background:
            radial-gradient(130% 80% at 50% 52%,
                rgba(30, 12, 36, .26) 0%,
                rgba(30, 12, 36, .60) 48%,
                rgba(26, 11, 31, .86) 100%),
            linear-gradient(180deg,
                rgba(30, 12, 36, .54) 0%,
                rgba(30, 12, 36, .12) 26%,
                rgba(26, 11, 31, .54) 74%,
                rgba(26, 11, 31, .90) 100%);
    }

    .seal {
        top: clamp(296px, 80vw, 372px);
        right: 14px;
    }
}

@media (max-width: 400px) {
    .hero-title { font-size: clamp(26px, 10.8vw, 46px); }
    .hero-quote { font-size: 14px; max-width: 22ch; }
    .seal { width: 60px; height: 60px; }
    .seal-core { font-size: 12px; }
}

@media (max-width: 860px) and (max-height: 620px) {
    .hero { min-height: auto; padding-top: 160px; padding-bottom: 50px; }
    .seal { display: none; }
}

/* ==========================================================================
   36. Hero corrections — shadow, seal, breathing room
   ========================================================================== */
/* A 44px blur across a long line merges into a visible dark rectangle.
   Two tight shadows read as depth without the box. */
.hero-copy { text-shadow: none; }

.hero-title {
    font-size: clamp(29px, 9.5vw, 132px);
    text-shadow: 0 1px 2px rgba(20, 8, 24, .5), 0 10px 34px rgba(20, 8, 24, .38);
}

.hero-quote { text-shadow: 0 1px 2px rgba(20, 8, 24, .5), 0 6px 22px rgba(20, 8, 24, .35); }

/* Bottom-left: clear of the centred type and of the floating social rail */
.seal {
    left: clamp(20px, 4vw, 60px);
    bottom: clamp(26px, 4vw, 62px);
    right: auto;
    top: auto;
}

@media (max-width: 860px) {
    .hero-title { font-size: clamp(27px, 10.6vw, 58px); }
    .seal {
        left: 14px;
        bottom: 14px;
        right: auto;
        top: auto;
        width: 62px;
        height: 62px;
    }
    .seal-core { font-size: 13px; }
}

@media (max-width: 400px) {
    .hero-title { font-size: clamp(25px, 10.2vw, 44px); }
}

/* ==========================================================================
   37. Hero photograph — show all of it, never crop
   A portrait photo in a landscape hero under object-fit:cover gets scaled up
   until it fills, which crops most of it away and reads as "zoomed in".
   Containing the photo keeps it whole; a blurred, darkened copy of the same
   image fills the space around it so the section still feels full-bleed.
   ========================================================================== */
.hero-shot { background: var(--plum-900); }

.hero-shot::before {
    content: '';
    position: absolute;
    inset: -8%;
    z-index: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    filter: blur(52px) saturate(1.15) brightness(.52);
    transform: scale(1.08);
}

.hero-shot img {
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: center center;
}

/* scrim rides above both layers */
.hero-shot::after { z-index: 2; }

/* The blurred backdrop already carries a lot of weight, so the scrim can
   ease off and let the photograph keep its colour. */
.hero-shot::after {
    background:
        radial-gradient(120% 90% at 50% 50%,
            rgba(30, 12, 36, .18) 0%,
            rgba(30, 12, 36, .44) 48%,
            rgba(26, 11, 31, .70) 100%),
        linear-gradient(180deg,
            rgba(30, 12, 36, .46) 0%,
            rgba(30, 12, 36, .08) 30%,
            rgba(26, 11, 31, .40) 76%,
            rgba(26, 11, 31, .74) 100%);
}

@media (max-width: 860px) {
    .hero-shot::before { filter: blur(38px) saturate(1.15) brightness(.5); }

    .hero-shot::after {
        background:
            radial-gradient(130% 80% at 50% 52%,
                rgba(30, 12, 36, .16) 0%,
                rgba(30, 12, 36, .46) 50%,
                rgba(26, 11, 31, .78) 100%),
            linear-gradient(180deg,
                rgba(30, 12, 36, .50) 0%,
                rgba(30, 12, 36, .10) 26%,
                rgba(26, 11, 31, .48) 72%,
                rgba(26, 11, 31, .86) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shot::before { filter: blur(52px) brightness(.52); }
}

/* ==========================================================================
   38. Never upscale the hero photograph past its own resolution
   A 413x459 file stretched across a 1440x900 hero is a 3.5x blow-up: huge
   and soft. Sizing the element by its natural size, capped, means a small
   file simply sits centred and crisp while the blurred copy fills behind.
   ========================================================================== */
.hero-shot img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: min(86%, 760px);
    max-height: 72%;
}

@media (max-width: 860px) {
    .hero-shot img {
        max-width: 88%;
        max-height: 52%;
        /* sit above the words rather than behind them */
        margin: 0 auto;
        top: 20%;
        bottom: auto;
    }
}

/* ==========================================================================
   39. Blend the photograph into its own blurred backdrop
   Contained, the photo has hard rectangular edges and reads as a picture
   pasted on top. Feathering it with a mask and lifting the backdrop makes
   the two layers meet as one continuous background.
   ========================================================================== */
.hero-shot img {
    -webkit-mask-image:
        radial-gradient(ellipse 76% 80% at 50% 48%,
            #000 38%, rgba(0, 0, 0, .82) 58%, rgba(0, 0, 0, .35) 78%, transparent 96%);
    mask-image:
        radial-gradient(ellipse 76% 80% at 50% 48%,
            #000 38%, rgba(0, 0, 0, .82) 58%, rgba(0, 0, 0, .35) 78%, transparent 96%);
    max-width: min(94%, 880px);
    max-height: 82%;
}

/* closer in tone to the photo, so the seam disappears */
.hero-shot::before {
    filter: blur(58px) saturate(1.2) brightness(.72);
    transform: scale(1.12);
}

/* the scrim can now be gentle — the backdrop does the work */
.hero-shot::after {
    background:
        radial-gradient(115% 88% at 50% 50%,
            rgba(30, 12, 36, .10) 0%,
            rgba(30, 12, 36, .40) 52%,
            rgba(26, 11, 31, .74) 100%),
        linear-gradient(180deg,
            rgba(30, 12, 36, .42) 0%,
            rgba(30, 12, 36, .06) 30%,
            rgba(26, 11, 31, .38) 74%,
            rgba(26, 11, 31, .76) 100%);
}

@media (max-width: 860px) {
    .hero-shot img {
        max-width: 100%;
        max-height: 62%;
        inset: 0;
        margin: auto;
        top: 0;
        -webkit-mask-image:
            radial-gradient(ellipse 82% 76% at 50% 46%,
                #000 34%, rgba(0, 0, 0, .8) 56%, rgba(0, 0, 0, .3) 78%, transparent 96%);
        mask-image:
            radial-gradient(ellipse 82% 76% at 50% 46%,
                #000 34%, rgba(0, 0, 0, .8) 56%, rgba(0, 0, 0, .3) 78%, transparent 96%);
    }

    .hero-shot::before { filter: blur(42px) saturate(1.2) brightness(.68); }
}

/* ==========================================================================
   40. Hero — plain colour, no photograph
   The image is gone. Depth comes from a soft plum gradient and the drifting
   petals rather than a picture, so nothing can look cropped or upscaled.
   ========================================================================== */
.hero {
    background:
        radial-gradient(120% 85% at 50% 32%, #3E1D4C 0%, #2E1435 46%, #230F29 100%);
}

/* every rule that existed to serve the photograph */
.hero-art,
.hero-shot,
.hero-shot img,
.hero-shot::before,
.hero-shot::after { display: none !important; }

/* the outlined word returns as the only texture behind the type */
.hero-ghost {
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(220px, 34vw, 560px);
    -webkit-text-stroke-color: rgba(248, 198, 217, .09);
    opacity: 1;
    z-index: 1;
}

.hero-copy { z-index: 8; }

/* a whisper of warmth under the wordmark */
.hero::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(900px, 92%);
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(190, 150, 218, .16), transparent 68%);
    pointer-events: none;
    z-index: 1;
}

.seal {
    position: absolute;
    left: clamp(20px, 4vw, 60px);
    bottom: clamp(26px, 4vw, 62px);
    right: auto;
    top: auto;
    z-index: 9;
    background: var(--paper);
}

@media (max-width: 860px) {
    .hero {
        place-items: center;
        padding-top: 150px;
        padding-bottom: 56px;
    }

    .hero-ghost { font-size: clamp(180px, 62vw, 300px); }

    .hero::after {
        width: 110%;
        height: 320px;
        top: 48%;
    }

    .seal {
        left: 14px;
        bottom: 14px;
        top: auto;
        right: auto;
        width: 62px;
        height: 62px;
    }
}

/* ==========================================================================
   41. The staff door
   A discreet way into the console. Styled to be indistinguishable from the
   text around it — no underline, no colour change, no cursor change — so it
   reads as part of the copyright line rather than as a link.
   ========================================================================== */
.footer-key {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

/* Keyboard users still get a visible target, as they must. */
.footer-key:focus-visible {
    outline: 2px solid var(--orchid-400);
    outline-offset: 2px;
    border-radius: 2px;
}
