/*
 * Maison: calm warmth. Soft radii, pill buttons, arches and organic shapes, gentle shadows.
 * Colours come from the active scheme (linen, sand, terracotta, sage).
 */
:root {
    --hk-radius: 1.5rem;
    --hk-tile-radius: 1.75rem;
    --hk-section-space: clamp(3.5rem, 7vw, 6rem);
    --hk-eyebrow-spacing: 0.08em;
    --hk-eyebrow-size: 0.85rem;
    --hk-star: #c98a5e;
    --hk-shadow: 0 24px 50px -28px rgb(91 64 46 / .45);
    --hk-btn-shadow: 0 10px 24px -14px rgb(181 101 74 / .8);
}

::selection { background: #f2d3b3; color: #3d322b; }

.hk-eyebrow { text-transform: none; font-weight: 500; display: inline-flex; align-items: center; gap: .6rem; }
.hk-eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }
.hk-section__head .hk-eyebrow { justify-content: center; }

.hk-btn { min-height: 3.1rem; padding-inline: 2rem; }
.hk-btn--primary:hover { box-shadow: 0 14px 30px -14px rgb(181 101 74 / .9); }

/* Split hero: an organic blob and a soft-cornered, slightly tilted image. */
.hk-hero--split { overflow-x: clip; overflow-y: visible; }
.hk-hero--split .hk-hero__aside::before {
    content: ''; position: absolute; inset: 8% -6% -6% 10%; z-index: -1;
    background: color-mix(in oklch, var(--color-accent) 55%, transparent);
    border-radius: 58% 42% 46% 54% / 47% 52% 48% 53%;
    animation: maison-morph 16s ease-in-out infinite alternate;
}
.hk-hero--split .hk-hero__figure { border-radius: 999px 999px 2rem 2rem; aspect-ratio: 4 / 5; max-height: 34rem; margin-inline-start: auto; }
.hk-hero__title { font-weight: 700; }

.hk-features--boxed .hk-feature { border-radius: 999px; padding-inline: 1rem 1.5rem; box-shadow: var(--hk-shadow); border: 0; }
.hk-features--boxed { padding-block: 1.5rem; }
.hk-feature__icon { background: var(--color-background); }

.hk-tile__media { box-shadow: var(--hk-shadow); }
.hk-tile__caption { justify-content: center; flex-direction: column; align-items: center; gap: .35rem; }
/* The store's headings font (theme settings), Amiri until the kit sets it. */
.hk-tile__title { font-family: var(--hk-font-heading, 'Amiri', serif); font-size: 1.45rem; }
.hk-tile__cta { border: 0; padding: 0; font-weight: 500; }

.hk-story--arch .hk-story__figure img, .hk-story--arch .hk-story__placeholder { box-shadow: var(--hk-shadow); }
.hk-story__copy { position: relative; }

.hk-quote { border: 0; box-shadow: var(--hk-shadow); background: var(--color-surface); }
.hk-quote__avatar { background: var(--color-accent); color: var(--color-on-accent); }

@keyframes maison-morph {
    from { border-radius: 58% 42% 46% 54% / 47% 52% 48% 53%; transform: rotate(0deg); }
    to { border-radius: 42% 58% 55% 45% / 55% 45% 55% 45%; transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hk-hero--split .hk-hero__aside::before { animation: none; }
}
