/* Becca Hulme theme. Base layout first, then .style-classic and .style-fresh.
   --accent / --tint / --cream come from the theme settings (inline in <head>). */

:root {
    --accent: #a549c5;
    --tint: #debcea;
    --cream: #fcfbf4;
    --accent-ink: color-mix(in srgb, var(--accent) 78%, #000);
    --soft: color-mix(in srgb, var(--tint) 35%, #fff);
    --ink: #3f3f3f;
    --muted: #6a6a6a;
    --line: #e9e4ec;
    --bg: #fff;
    --font-body: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    --radius: 4px;
    --radius-lg: 6px;
    --shadow: none;
    --narrow: 46rem;
    --normal: 64rem;
    --wide: 76rem;
    --gap: clamp(1rem, 2.5vw, 1.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--base-size, 1.1875rem);
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: var(--head-weight, 400); line-height: 1.2; color: #333; margin: 0 0 .6em; }
h1 { font-size: calc(clamp(2rem, 4vw, 2.75rem) * var(--head-scale, 1)); }
h2 { font-size: calc(clamp(1.6rem, 3vw, 2rem) * var(--head-scale, 1)); }
h3 { font-size: calc(1.4rem * var(--head-scale, 1)); }
h4 { font-size: calc(1.2rem * var(--head-scale, 1)); }
h5, h6 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45em;
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; letter-spacing: .04em;
    line-height: 1.2; padding: .7em 1.4em; border-radius: var(--btn-radius, var(--radius));
    border: 2px solid var(--accent); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--outline { background: #fff; color: var(--accent-ink); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--soft { background: var(--tint); border-color: var(--tint); color: #333; }
.btn--soft:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--small { font-size: .95rem; padding: .45em 1em; }
.btn--block { display: flex; width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.buttons--center { justify-content: center; }
.buttons--left { justify-content: flex-start; }
.buttons--right { justify-content: flex-end; }

/* ---------- Header + navigation (shared) ---------- */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a { text-decoration: none; }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: .5rem; letter-spacing: .15em; text-transform: uppercase; font-size: .9rem; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.social a { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem; color: inherit; text-decoration: none; border-radius: 999px; }
.social a:hover { color: var(--accent-ink); }
.social--labels { gap: .5rem 1rem; }
.social--labels a { padding: .25rem 0; }
.social--pills { justify-content: center; gap: .75rem; margin-top: 1rem; }
.social--pills a { border: 2px solid var(--tint); padding: .55rem 1.1rem; background: #fff; }
.social--pills a:hover { border-color: var(--accent); }
.social--stack { flex-direction: column; gap: .35rem; margin-top: 1rem; }

/* ---------- Page heads ---------- */
.page-head { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 1rem; max-width: var(--normal); margin: 0 auto; }
.page-head__title { margin-bottom: .3em; }
.page-head__sub { color: var(--muted); font-size: 1.15rem; margin: 0 auto; max-width: 40rem; }
.page-head__eyebrow { color: var(--muted); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5rem; }
.page-head__eyebrow a { color: inherit; }
.page-default { padding-bottom: 3rem; }
.page-default .buttons { margin-bottom: 3rem; }

/* ---------- Prose ---------- */
.prose { overflow-wrap: break-word; }
.prose > *:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: var(--radius); margin: 1.5rem auto; max-height: 34rem; width: auto; }
.prose p > img:only-child { margin-top: .5rem; margin-bottom: .5rem; }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--tint); font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose > h2:first-child, .prose > h3:first-child, .prose > h4:first-child { margin-top: 0; }
.prose--page { max-width: var(--narrow); margin: 0 auto; padding: 0 1.25rem 3rem; }
.align-center .prose { text-align: center; }
.align-center .prose ul, .align-center .prose ol { text-align: left; display: inline-block; }

/* ---------- Modules ---------- */
.module { padding: clamp(2rem, 5vw, 3.75rem) 1.25rem; }
/* Space above and below (Look tab), set separately. */
.module.space-top-compact { padding-top: 1.25rem; }
.module.space-top-large { padding-top: clamp(3rem, 8vw, 6rem); }
.module.space-top-none { padding-top: 0; }
.module.space-bottom-compact { padding-bottom: 1.25rem; }
.module.space-bottom-large { padding-bottom: clamp(3rem, 8vw, 6rem); }
.module.space-bottom-none { padding-bottom: 0; }
.module__inner { margin: 0 auto; max-width: var(--normal); }
.width-narrow { max-width: var(--narrow); }
.width-wide { max-width: var(--wide); }
.width-full { max-width: none; }
.module__title { text-align: center; margin-bottom: 1.25rem; }
.align-left .module__title { text-align: left; }
.module__intro { margin: 0 auto 1.75rem; max-width: var(--narrow); }
.bg-cream { background: var(--cream); }
.bg-soft { background: var(--soft); }
.bg-tint { background: var(--tint); }
.bg-accent { background: var(--accent); color: #fff; }
.bg-accent h2, .bg-accent h3, .bg-accent a { color: #fff; }
.bg-accent .btn--primary { background: #fff; color: var(--accent-ink); border-color: #fff; }
.bg-accent .btn--outline { background: transparent; color: #fff; border-color: #fff; }
.empty-note { text-align: center; color: var(--muted); }

/* Hero */
.module--hero { padding: 0; }
.hero__frame { position: relative; margin: 0 auto; max-width: var(--wide); }
.hero__img { width: 100%; }
.hero--medium .hero__img { height: clamp(260px, 45vw, 520px); object-fit: cover; }
.hero--tall .hero__img { height: clamp(340px, 70vh, 760px); object-fit: cover; }
.hero__link { display: block; }
.hero--overlay .hero__text {
    position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 4vw, 3rem);
    background: linear-gradient(to top, rgba(40, 20, 50, .65), rgba(40, 20, 50, 0)); color: #fff; text-align: center;
}
.hero__title, .style-fresh .hero__title, .style-classic .hero__title { color: #fff; margin: 0 0 .3em; text-shadow: 0 2px 12px rgba(30, 15, 40, .45); }
.hero__lead { font-size: 1.25rem; }

/* Photo collage: photos placed in % by bh_collage(), each inset half a --gap so every white gap between
   two photos is the same width (the original banner's ~1.25 % of its width). The inner layer bleeds half
   a gap past every edge, so the outer photos run to the edge like the original. */
.module--collage { padding-left: 0; padding-right: 0; }
.collage { --gap: clamp(6px, 1.2vw, 26px); --ratio: 2.2; position: relative; margin: 0 auto; aspect-ratio: var(--ratio); max-height: min(82vh, 920px); inline-size: 100%; overflow: hidden; background: var(--bg, #fff); }
.collage--page .collage { max-width: var(--wide); }
.collage--tall .collage { --ratio: 1.75; }
.collage--short .collage { --ratio: 2.8; }
.collage--gap-thin .collage { --gap: clamp(3px, .5vw, 10px); }
.collage--gap-none .collage { --gap: 0px; }
@media (max-width: 699px) { .collage { --ratio: 1.15; } .collage--short .collage { --ratio: 1.5; } }
.collage__inner { position: absolute; inset: calc(var(--gap) / -2); }
.collage__photo { position: absolute; margin: 0; background: #f3f0f4; overflow: hidden; }
.collage__photo a { display: block; width: 100%; height: 100%; }
.collage__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage__caption { margin-top: 1.25rem; text-align: center; }

/* The logo floating over the middle of the collage. */
.collage__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; inline-size: clamp(200px, 30%, 440px); pointer-events: none; }
.collage__logo--small { inline-size: clamp(160px, 22%, 320px); }
.collage__logo--large { inline-size: clamp(240px, 40%, 560px); }
.collage__logo img { inline-size: 100%; height: auto; display: block; }
.collage__logo--card { background: rgba(255, 255, 255, .93); padding: clamp(.75rem, 2vw, 1.75rem) clamp(1rem, 2.6vw, 2.25rem); border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(40, 20, 50, .25); }
.collage__logo--glow::before { content: ''; position: absolute; inset: -30% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .95) 55%, rgba(255, 255, 255, 0)); }
.collage__logo--none img { filter: drop-shadow(0 2px 10px rgba(255, 255, 255, .9)) drop-shadow(0 0 2px rgba(255, 255, 255, .9)); }
@media (max-width: 699px) {
    .collage__logo { inline-size: 56%; }
    .collage__logo--small { inline-size: 44%; }
    .collage__logo--large { inline-size: 70%; }
}
/* With the logo over the banner, Classic doesn't repeat the big logo above it. */
.style-classic.has-hero-logo .brand--classic { display: none; }

.style-fresh .collage--page { padding: clamp(.75rem, 2vw, 1.5rem) 1.25rem 0; }
.style-fresh .collage--page .collage { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Text + image */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split__media { margin: 0; }
.split__media img { border-radius: var(--radius-lg); margin: 0 auto; }
.split__media figcaption { color: var(--muted); font-size: .95rem; text-align: center; margin-top: .5rem; }
.split__title { margin-bottom: .5em; }
@media (min-width: 800px) {
    /* Columns are [picture, text]; with the picture on the right they swap. */
    .split { grid-template-columns: 2fr 3fr; }
    .split--small { grid-template-columns: 1fr 3fr; align-items: start; }
    .split--large { grid-template-columns: 1fr 1fr; }
    .split--image-right { grid-template-columns: 3fr 2fr; }
    .split--image-right.split--small { grid-template-columns: 3fr 1fr; }
    .split--image-right.split--large { grid-template-columns: 1fr 1fr; }
    .split--image-right .split__media { order: 2; }
    .split--contact { grid-template-columns: 2fr 3fr; align-items: start; }
}

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--cols-3 { grid-template-columns: repeat(3, 1fr); } .cards--cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.card__img img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.card__body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.35rem; margin-bottom: .4rem; }
.card__text p { margin-bottom: .6em; }
.card__link { margin-top: auto; font-weight: 500; }
.bg-cream .card, .bg-soft .card { border-color: transparent; }
.style-classic .card { border-top: 4px solid var(--tint); }
.style-fresh .card { border: 0; box-shadow: var(--shadow); }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
    .gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
    .gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
    .gallery--cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) { .gallery--cols-5 { grid-template-columns: repeat(5, 1fr); } }
.gallery--cols-1 { grid-template-columns: 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius); }
.gallery--square img { aspect-ratio: 1; object-fit: cover; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery figcaption { text-align: center; font-size: 1rem; margin-top: .5rem; color: var(--muted); }

/* Designs grid */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.75rem; }
.chip { font: inherit; font-size: 1rem; letter-spacing: .03em; border: 2px solid var(--tint); background: #fff; color: var(--ink); padding: .4rem 1rem; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.design-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .design-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .design-grid { grid-template-columns: repeat(4, 1fr); } }
.design-card[hidden] { display: none; }
.design-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.design-card__img { overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.design-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.design-card__link:hover .design-card__img img { transform: scale(1.04); }
.design-card__body { padding: .65rem .1rem 0; text-align: center; }
.design-card__title { font-size: 1.2rem; margin: 0 0 .15rem; }
.design-card__price { margin: 0; color: var(--accent-ink); font-weight: 500; }
.price-note { font-size: .95rem; font-style: italic; color: var(--muted); margin-top: 1.5rem; text-align: center; }

/* Announcements */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.news__item { text-align: center; padding: 1.25rem 1rem; border-bottom: 1px solid var(--line); }
.news__item:last-child { border-bottom: 0; }
.news__title { font-size: 1.3rem; margin: 0 0 .5rem; }
.news__date { color: var(--muted); font-size: .95rem; margin: 0 0 .2rem; letter-spacing: .05em; text-transform: uppercase; }
.news__text { margin: 0 auto .75rem; max-width: 36rem; }

/* Newsletter + forms */
.newsletter, .form-wrapper form, .split__form form { display: grid; gap: 1rem; text-align: left; }
.newsletter { max-width: 26rem; margin: 0 auto; }
.field label, .form-label label, .form-field label { display: block; font-weight: 500; margin-bottom: .3rem; }
.field input, .form-field input[type=text], .form-field input[type=email], .form-field textarea, .form-field select {
    width: 100%; font: inherit; font-size: 1.1rem; padding: .65rem .8rem; border: 1px solid #cfc6d4; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form-field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .form-field input:focus, .form-field textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 0; }
.field--checks { border: 0; padding: 0; margin: 0; }
.field--checks legend { font-weight: 500; margin-bottom: .3rem; padding: 0; }
.check { display: flex; align-items: center; gap: .5rem; margin: .2rem 0; font-weight: 400; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; }
.newsletter__small { font-size: .9rem; color: var(--muted); margin: 0; }
.form-field { margin-bottom: 1rem; }
.form-field .required, .form-label .required { color: var(--accent-ink); }
.form-input-wrapper { width: 100%; }
.form-honeybear { display: none !important; }
.buttons-wrapper, .form-wrapper .buttons { margin-top: .5rem; }
.form-wrapper .button, .split__form button[type=submit] { font: inherit; font-size: 1.05rem; font-weight: 500; letter-spacing: .04em; padding: .7em 1.6em; border-radius: var(--radius); border: 2px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.form-wrapper .button:hover, .split__form button[type=submit]:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.notices, .notice { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--soft); margin-bottom: 1rem; }
.notices.green, .notices.success { background: #e7f5ea; }
.notices.red, .notices.error { background: #fbe8e8; }
.contact-email { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; }

/* Instagram */
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .insta-grid { grid-template-columns: repeat(4, 1fr); } }
.insta-grid a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s, opacity .2s; }
.insta-grid a:hover img { transform: scale(1.04); opacity: .92; }
.insta-grid__badge { position: absolute; top: .5rem; right: .5rem; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }

/* Video */
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #111; }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { text-align: center; color: var(--muted); margin-top: .6rem; }

/* Downloads */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.downloads__link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border: 2px solid var(--tint); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: #fff; text-align: left; }
.downloads__link:hover { border-color: var(--accent); }
.downloads__link .icon { color: var(--accent-ink); }
.downloads__label { font-weight: 500; font-size: 1.15rem; }
.downloads__meta { color: var(--muted); font-size: .95rem; }
.downloads__note { margin: .35rem 0 0 .25rem; color: var(--muted); font-size: 1rem; text-align: left; }

/* ---------- Design page ---------- */
.design { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 2rem; }
.design__top { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .design__top { grid-template-columns: 1fr 1fr; } }
.design__collection { text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; margin: 0 0 .4rem; }
.design__collection a { color: var(--accent-ink); text-decoration: none; }
.design__title { margin-bottom: .2em; }
.design__sub { font-style: italic; color: var(--muted); margin-bottom: .75rem; }
.design__price { font-family: var(--font-head); font-size: 2rem; color: #333; margin: 0 0 .5rem; }
.design__buy .price-note { text-align: left; margin-top: 1.25rem; }
.design__info { display: grid; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .design__info { grid-template-columns: 3fr 2fr; align-items: start; } }
.design__details { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.design__details h2 { font-size: 1.45rem; }
.design__details strong { color: #333; }
@media (min-width: 960px) { .design__details { position: sticky; top: 5rem; } }

/* Carousel */
.carousel__stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.carousel__slide { margin: 0; }
.carousel__slide img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.88); color: #333; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.carousel__btn:hover { background: #fff; color: var(--accent-ink); }
.carousel__btn--prev { left: .75rem; }
.carousel__btn--next { right: .75rem; }
.carousel__thumbs { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.carousel__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.carousel__thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.carousel__thumbs img { width: 64px; height: 64px; object-fit: cover; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 10, 25, .88); }
.lightbox__inner { display: grid; place-items: center; width: 100%; height: 100%; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; border-radius: var(--radius); }
.lightbox__caption { color: #fff; text-align: center; margin-top: .5rem; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: fixed; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.post-card__img { border-radius: var(--radius); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 3; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card__link:hover img { transform: scale(1.04); }
.post-card__body { padding-top: .85rem; }
.post-card__date { color: var(--muted); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 .25rem; }
.post-card__title { font-size: 1.45rem; margin-bottom: .35rem; }
.post-card__summary { color: var(--ink); margin-bottom: .5rem; }
.post-card__more { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
.post__cover { max-width: 760px; margin: 0 auto 2rem; padding: 0 1.25rem; }
.post__cover img { border-radius: var(--radius-lg); }
.post__nav { max-width: var(--narrow); margin: 0 auto 3rem; padding: 1.5rem 1.25rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Links page (Instagram) ---------- */
.links-page { max-width: 30rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; text-align: center; }
.links-page__logo img { width: min(260px, 70vw); margin: 0 auto 1rem; }
.links-page__list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .85rem; }
.links-page__list .btn { font-size: 1.15rem; padding: .95em 1.25em; }
.links-page__social { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: 2.5rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.site-footer__inner { max-width: var(--wide); margin: 0 auto; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: auto 1fr; } }
.site-footer__logo img { width: 170px; }
.site-footer__links { display: grid; gap: .75rem; justify-items: start; }
@media (min-width: 760px) { .site-footer__links { justify-items: end; } }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__nav a, .site-footer__email a { color: inherit; }
.site-footer__email { display: flex; align-items: center; gap: .4rem; margin: 0; }
.site-footer__copy { text-align: center; color: var(--muted); font-size: .95rem; margin: 2rem 0 0; }

/* ---------- [carousel] in any text (shortcode) ---------- */
.md-carousel { max-width: 36rem; margin: 1.75rem auto; text-align: left; }
.md-carousel--landscape, .md-carousel--wide { max-width: 46rem; }
.prose .md-carousel img { margin: 0; max-height: none; border-radius: 0; }
.md-carousel .carousel__slide img { width: 100%; object-fit: cover; aspect-ratio: 1; }
.md-carousel--landscape .carousel__slide img { aspect-ratio: 4 / 3; }
.md-carousel--portrait .carousel__slide img { aspect-ratio: 3 / 4; }
.md-carousel--portrait { max-width: 30rem; }
.md-carousel--wide .carousel__slide img { aspect-ratio: 16 / 9; }
.md-carousel__caption { padding: .6rem .9rem; font-size: .95rem; color: var(--muted); background: var(--bg); text-align: center; }
.md-carousel__count { position: absolute; top: .75rem; right: .75rem; background: rgba(30, 15, 40, .55); color: #fff; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; pointer-events: none; }
.md-carousel .carousel__thumbs { justify-content: center; }
.card__text .md-carousel, .cols .md-carousel, .faq__a .md-carousel { margin: 1rem 0; }
.md-carousel img { display: block; }
.md-carousel figure { margin: 0; }

/* Fade: the photos sit on top of each other and fade in turn; dots underneath. */
.md-carousel--fade .carousel__stage { display: grid; }
.md-carousel--fade .carousel__slide { grid-area: 1 / 1; opacity: 1; transition: opacity .9s ease; }
.md-carousel--fade .carousel__slide[hidden] { display: block; opacity: 0; pointer-events: none; }
.md-carousel__dots { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; justify-content: center; gap: .55rem; }
.md-carousel__dots button { width: .7rem; height: .7rem; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; }
.md-carousel__dots button[aria-current="true"] { background: var(--accent); }

/* Row and Spotlight: a sideways-scrolling strip that stops on each photo. */
.md-carousel--row, .md-carousel--spotlight, .md-carousel--ticker { max-width: none; }
.md-track { position: relative; }
.md-track__list { display: grid; grid-auto-flow: column; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; }
.md-track__list::-webkit-scrollbar { display: none; }
.md-track__list:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.md-track__item { scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.md-track__item img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; }
.md-carousel--row .md-track__list { grid-auto-columns: 78%; }
@media (min-width: 640px) { .md-carousel--row .md-track__list { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (min-width: 960px) { .md-carousel--row .md-track__list { grid-auto-columns: calc((100% - 2rem) / 3); } }
.md-carousel--row.md-carousel--portrait .md-track__list { grid-auto-columns: 62%; }
@media (min-width: 640px) { .md-carousel--row.md-carousel--portrait .md-track__list { grid-auto-columns: calc((100% - 2rem) / 3); } }
@media (min-width: 960px) { .md-carousel--row.md-carousel--portrait .md-track__list { grid-auto-columns: calc((100% - 3rem) / 4); } }
/* Spotlight lays out as a flex row with a spacer each end, so the first and last photos can sit in the middle. */
.md-carousel--spotlight .md-track__list { display: flex; --item: 72%; }
.md-carousel--spotlight .md-track__list::before, .md-carousel--spotlight .md-track__list::after { content: ''; flex: 0 0 calc((100% - var(--item)) / 2 - 1rem); }
.md-carousel--spotlight .md-track__item { flex: 0 0 var(--item); }
@media (min-width: 960px) { .md-carousel--spotlight .md-track__list { --item: 52%; } }
.md-carousel--spotlight.md-carousel--portrait .md-track__list { --item: 52%; }
@media (min-width: 960px) { .md-carousel--spotlight.md-carousel--portrait .md-track__list { --item: 34%; } }
.md-carousel--spotlight.md-carousel--wide .md-track__list, .md-carousel--spotlight.md-carousel--landscape .md-track__list { --item: 80%; }
@media (min-width: 960px) { .md-carousel--spotlight.md-carousel--wide .md-track__list, .md-carousel--spotlight.md-carousel--landscape .md-track__list { --item: 62%; } }
.md-carousel--spotlight .md-track__item { scroll-snap-align: center; transform: scale(.86); opacity: .45; transition: transform .45s ease, opacity .45s ease; }
.md-carousel--spotlight .md-track__item.is-on { transform: none; opacity: 1; }
.md-track .carousel__btn--prev { left: .5rem; }
.md-track .carousel__btn--next { right: .5rem; }
.md-track .carousel__btn:disabled { opacity: 0; pointer-events: none; }
.md-carousel--row .md-track .carousel__btn, .md-carousel--spotlight .md-track .carousel__btn { top: calc(50% - var(--cap-space, 0px) / 2); }
.md-carousel.has-captions { --cap-space: 2.6rem; }

/* Stack: a pile of printed photos, each at a slight angle; the top one slides away to show the next. */
.md-carousel--stack { max-width: 26rem; }
.md-carousel--stack.md-carousel--landscape, .md-carousel--stack.md-carousel--wide { max-width: 34rem; }
.md-carousel--stack.md-carousel--portrait { max-width: 22rem; }
.md-stack__pile { display: grid; padding: 1rem 1.25rem; }
.md-stack__card { grid-area: 1 / 1; background: #fff; padding: .7rem .7rem 0; border-radius: 3px; box-shadow: 0 6px 20px rgba(40, 20, 50, .18), 0 1px 3px rgba(40, 20, 50, .12); transform: rotate(var(--turn, 0deg)); transition: transform .5s ease, opacity .5s ease; cursor: pointer; }
.md-stack__card img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; }
.md-stack__card figcaption { font-family: var(--font-head); color: #444; text-align: center; font-size: 1.05rem; line-height: 1.3; padding: .6rem .25rem .7rem; }
.md-stack__card:not(:has(figcaption)) { padding-bottom: 2.2rem; }
.md-stack__card.is-on { transform: rotate(0deg); }
.md-stack__card.is-leaving { transform: translateX(115%) rotate(14deg); opacity: 0; }
.md-stack__card.is-arriving { transform: translateX(-115%) rotate(-14deg); opacity: 0; transition: none; }
.md-stack__nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: .4rem; }
.md-stack__nav .carousel__btn { position: static; transform: none; }
.md-stack__count { color: var(--muted); font-size: .95rem; min-width: 4.5rem; text-align: center; }

/* Ticker: an endless strip drifting slowly sideways; stops while the mouse is over it. */
.md-ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.md-ticker__strip { display: flex; gap: 1rem; width: max-content; animation: md-ticker calc(var(--count, 4) * 5s) linear infinite; }
.md-ticker:hover .md-ticker__strip { animation-play-state: paused; }
.md-ticker__item { flex: none; width: auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.md-ticker__item img { height: clamp(10rem, 24vw, 15rem); width: auto; aspect-ratio: var(--ratio); object-fit: cover; }
.md-ticker__item .md-carousel__caption { max-width: 0; min-width: 100%; box-sizing: border-box; }
@keyframes md-ticker { to { transform: translateX(calc(-50% - .5rem)); } }
@media (prefers-reduced-motion: reduce) {
    .md-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .md-ticker__item[aria-hidden="true"] { display: none; }
}

/* ---------- Kind Words (testimonials) ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
@media (min-width: 760px) { .quotes--grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.quote figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; text-align: left; }
.quote__text { margin: 0; position: relative; font-size: 1.1em; }
.quote__text::before { content: '\201C'; display: block; font-family: var(--font-head); font-size: 3.2rem; line-height: .7; color: var(--accent); opacity: .55; }
.quote__text p { margin: 0 0 .5em; }
.quote__text p:last-child, .news__text p:last-child { margin-bottom: 0; }
.quote__by { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote__pic { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.quote__name { display: block; }
.quote__detail { display: block; color: var(--muted); font-size: .95rem; }
.quotes--single .quote figure { border: 0; background: transparent; text-align: center; align-items: center; padding: 0; max-width: 46rem; margin: 0 auto; }
.quotes--single .quote__text { font-family: var(--font-head); font-size: calc(1.5rem * var(--head-scale, 1)); line-height: 1.4; }
.quotes--single .quote__text::before { margin: 0 auto .4rem; }
.style-classic .quote figure { border-top: 4px solid var(--tint); }
.style-classic .quotes--single .quote figure { border-top: 0; }
.style-fresh .quote figure { border: 0; box-shadow: var(--shadow); }
.style-fresh .quotes--single .quote figure { box-shadow: none; }
.bg-cream .quote figure, .bg-soft .quote figure { border-color: transparent; }

/* ---------- Questions & Answers ---------- */
.faq { display: grid; gap: .6rem; text-align: left; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__q { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--accent-ink); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__q:hover { color: var(--accent-ink); }
.faq__a { padding: 0 1.2rem 1.1rem; }
.align-center .faq__a.prose { text-align: left; }
.style-fresh .faq__item { border: 0; box-shadow: var(--shadow); }

/* ---------- Columns ---------- */
.cols { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); text-align: left; }
@media (min-width: 760px) { .cols--2 { grid-template-columns: 1fr 1fr; } .cols--3, .cols--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols--3 { grid-template-columns: repeat(3, 1fr); } .cols--4 { grid-template-columns: repeat(4, 1fr); } }
.cols--valign-center { align-items: center; }
.align-center .cols { text-align: center; }
.align-center .cols .buttons { justify-content: center; }
.cols__img { margin: 0 0 1rem; }
.cols__img img { border-radius: var(--radius-lg); width: 100%; }
.cols__heading { margin-bottom: .4rem; }

/* ---------- Featured Design ---------- */
.featured .split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; }
.featured__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--accent-ink); margin: 0 0 .4rem; font-weight: 600; }
.featured__title a { color: inherit; text-decoration: none; }
.featured__title a:hover { color: var(--accent-ink); }
.featured__price { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 .75rem; }

/* ---------- Test Knit Call ---------- */
.testknit { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; background: #fff; border: 2px dashed var(--tint); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); text-align: left; }
@media (min-width: 800px) { .testknit:not(.testknit--no-image) { grid-template-columns: 2fr 3fr; } }
.testknit__img { margin: 0; }
.testknit__img img { width: 100%; border-radius: var(--radius-lg); }
.testknit__title { margin-bottom: .3rem; }
.testknit__dates { font-weight: 600; color: var(--accent-ink); }
.testknit__needs { background: var(--cream); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1rem 0; }
.testknit__needs h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.testknit__closed { color: var(--muted); font-style: italic; }
.testknit--full, .testknit--closed { border-style: solid; border-color: var(--line); }
.status-pill { display: inline-block; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.status-pill--open { background: var(--accent); color: #fff; }
.status-pill--full { background: var(--tint); color: #3d3d3d; }
.status-pill--closed { background: var(--line); color: var(--muted); }
.style-fresh .testknit { box-shadow: var(--shadow); }

/* ---------- Latest Blog Posts ---------- */
@media (min-width: 1100px) { .post-list--2 { grid-template-columns: repeat(2, 1fr); } .post-list--4 { grid-template-columns: repeat(4, 1fr); } }
.module--latest-posts .post-card__title { font-size: 1.3rem; }
.module--latest-posts .buttons { margin-top: 2rem; }

/* ---------- Logo Strip ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.25rem, 4vw, 3rem); }
.logos img { height: 64px; width: auto; max-width: 200px; object-fit: contain; }
.logos--small img { height: 44px; }
.logos--large img { height: 96px; max-width: 260px; }
.logos--grey img { filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos--grey a:hover img { filter: none; opacity: 1; }

/* ---------- Divider ---------- */
.divider { display: flex; justify-content: center; padding: 1.5rem 1.25rem; }
.divider--small { padding: .5rem 1.25rem; }
.divider--large { padding: 3rem 1.25rem; }
.divider span { display: block; width: min(var(--wide), 100%); }
.divider--line span { height: 1px; background: var(--line); }
.divider--dots span { width: 6rem; height: 8px; background: radial-gradient(circle, var(--tint) 3px, transparent 3.5px) 0 0 / 16px 8px repeat-x; }
/* A row of knit stitches: little V's, tinted with the soft colour. */
.divider--stitches span { width: min(28rem, 80%); height: 14px; background: var(--tint);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath d='M2 2 L8 12 L14 2' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 16px 14px repeat-x;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath d='M2 2 L8 12 L14 2' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 16px 14px repeat-x; }
.divider--space span { display: none; }
/* [divider] inside text: the same look, without the side padding, and no extra paragraph gap round it. */
.md-divider { padding-inline: 0; }
.prose p:has(> .md-divider:only-child) { margin: 0; }

/* ---------- Embed ---------- */
.embed { max-width: 100%; overflow: hidden; }
.embed iframe { display: block; width: 100%; height: 100%; max-width: 100%; border: 0; border-radius: var(--radius); }
.embed--video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.embed--video iframe, .embed--video video { position: absolute; inset: 0; width: 100%; height: 100%; }
.embed__caption { text-align: center; color: var(--muted); margin-top: .6rem; }

/* ---------- Block labels (pages with "Show Block Names", e.g. the Block Library) ---------- */
.block-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; max-width: var(--wide); margin: 2.5rem auto 0; padding: .55rem 1rem; border: 1px dashed var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: .9rem; color: var(--ink); scroll-margin-top: 6rem; }
.block-tag__type { font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.block-tag__note { color: var(--muted); }
@media (max-width: 1240px) { .block-tag { margin-left: 1rem; margin-right: 1rem; } }
.block-tag + .module--collage, .block-tag + .module--hero { margin-top: .75rem; }

/* ---------- Protect Photos (theme setting) ---------- */
.protect-images img, .protect-images video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---------- Shop patterns window ---------- */
.shop-modal { border: 0; padding: clamp(1.5rem, 4vw, 2.25rem); inline-size: min(28rem, calc(100vw - 2rem)); border-radius: var(--radius-lg); background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(40, 20, 50, .3); }
.shop-modal::backdrop { background: rgba(40, 20, 50, .55); }
.shop-modal[open] { animation: shop-in .18s ease-out; }
@keyframes shop-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.shop-modal__close-form { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.shop-modal__close { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.shop-modal__close:hover { background: var(--soft); color: var(--ink); }
.shop-modal__title { font-size: calc(1.6rem * var(--head-scale, 1)); margin: 0 2rem .4rem 0; }
.shop-modal__intro { color: var(--muted); margin-bottom: 1.25rem; }
.shop-modal__stores { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.store-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .95rem 1.1rem; border: 2px solid var(--tint); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, transform .15s; }
.store-link:hover, .store-link:focus-visible { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.store-link__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--soft); color: var(--accent-ink); }
.store-link__name { display: block; font-family: var(--font-head); font-weight: var(--head-weight, 500); font-size: 1.25rem; line-height: 1.2; }
.store-link__note { display: block; color: var(--muted); font-size: .95rem; }
.store-link__go { color: var(--muted); }
.style-fresh .store-link { border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .shop-modal[open] { animation: none; } }

/* ---------- Style switcher (while comparing looks) ---------- */
.style-switcher { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; display: flex; align-items: center; gap: .25rem; padding: .3rem; background: #2d2233; color: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-family: system-ui, sans-serif; font-size: .85rem; }
.style-switcher__label { padding: 0 .5rem 0 .65rem; opacity: .75; }
.style-switcher a { color: #fff; text-decoration: none; padding: .35rem .8rem; border-radius: 999px; }
.style-switcher a.is-on { background: #fff; color: #2d2233; font-weight: 600; }

/* ---------- Mobile navigation (shared) ---------- */
@media (max-width: 859px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; width: 100%; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; }
}

/* =====================================================================
   CLASSIC — the WordPress look, tidied
   ===================================================================== */
.style-classic .topbar { background: var(--tint); }
.style-classic .topbar__inner { max-width: var(--wide); margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 3rem; position: relative; }
.style-classic .topbar__social { color: #3d3d3d; }
.style-classic .site-nav a { display: block; padding: .9rem 1.1rem; color: #3d3d3d; text-transform: var(--nav-case, uppercase); letter-spacing: var(--nav-spacing, .2em); font-size: .9rem; }
.style-classic .site-nav a:hover, .style-classic .site-nav a.is-active { color: var(--accent-ink); }
.style-classic .site-nav a.is-active { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .5em; }
@media (min-width: 860px) {
    .style-classic .site-nav { position: absolute; left: 50%; transform: translateX(-50%); }
}
.style-classic .brand--classic { text-align: center; padding: clamp(1.25rem, 3vw, 2.25rem) 1rem clamp(.75rem, 2vw, 1.5rem); }
.style-classic .brand__link { display: inline-block; }
.style-classic .brand__link img { width: min(calc(380px * var(--logo-scale, 1)), 72vw); height: auto; }
.style-classic .site-footer { background: #fff; }
@media (max-width: 859px) {
    .style-classic .nav-toggle { color: #3d3d3d; }
    .style-classic .site-nav a { text-align: center; border-top: 1px solid rgba(0,0,0,.06); }
}

/* =====================================================================
   FRESH — redesign: warm paper, serif headings, rounded cards
   ===================================================================== */
.style-fresh {
    --bg: #fffbf6;
    --cream: #f9f3ea;
    --soft: color-mix(in srgb, var(--tint) 30%, #fffbf6);
    --ink: #3a3340;
    --muted: #6f6675;
    --line: #ece3dc;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Fraunces', Georgia, serif;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(58, 40, 70, .06), 0 8px 24px rgba(58, 40, 70, .08);
}
body.style-fresh { line-height: 1.7; }
.style-fresh h1, .style-fresh h2, .style-fresh h3, .style-fresh h4 { color: #2e2433; letter-spacing: -.01em; font-variation-settings: 'opsz' 96; }
.style-fresh h3, .style-fresh h4 { font-variation-settings: 'opsz' 36; }
.style-fresh .btn { font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; font-size: 1rem; }
.style-fresh .btn--outline { background: transparent; }
.style-fresh .btn--soft { background: var(--soft); border-color: transparent; }

.style-fresh .site-header--fresh { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.style-fresh .bar { max-width: var(--wide); margin: 0 auto; padding: .5rem 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.style-fresh .brand--fresh img { height: calc(64px * var(--logo-scale, 1)); width: auto; }
.style-fresh .site-nav ul { align-items: center; gap: .25rem; }
.style-fresh .site-nav a:not(.btn) { display: block; padding: .5rem .9rem; border-radius: 999px; color: var(--ink); font-weight: 500; text-transform: var(--nav-case, none); letter-spacing: var(--nav-spacing, .02em); }
.style-fresh .site-nav a:not(.btn):hover { background: var(--soft); color: #2e2433; }
.style-fresh .site-nav a.is-active { background: var(--soft); color: #2e2433; }
.style-fresh .site-nav__shop { margin-left: .5rem; }
@media (max-width: 859px) {
    .style-fresh .brand--fresh img { height: calc(52px * var(--logo-scale, 1)); }
    .style-fresh .site-nav ul { padding: .5rem 0 1rem; align-items: stretch; }
    .style-fresh .site-nav__shop { margin: .5rem 0 0; }
    .style-fresh .site-nav__shop .btn { width: 100%; }
}

.style-fresh .module--hero { padding: clamp(.75rem, 2vw, 1.5rem) 1.25rem 0; }
.style-fresh .hero__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.style-fresh .module__title { font-size: calc(clamp(1.8rem, 3.6vw, 2.5rem) * var(--head-scale, 1)); }
.style-fresh .module__title::after { content: ''; display: block; width: 3rem; height: 3px; border-radius: 3px; background: var(--accent); margin: .6rem auto 0; opacity: .8; }
.style-fresh .align-left .module__title::after { margin-left: 0; }

.style-fresh .design-card__link { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.style-fresh .design-card__link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(58,40,70,.08), 0 14px 32px rgba(58,40,70,.12); }
.style-fresh .design-card__img { border-radius: 0; }
.style-fresh .design-card__body { padding: .85rem 1rem 1.1rem; text-align: left; }
.style-fresh .design-card__title { font-size: 1.15rem; }
.style-fresh .chip { border-color: var(--line); background: #fff; font-weight: 500; }
.style-fresh .chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

.style-fresh .news { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.style-fresh .news__item { background: #fff; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.5rem; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.style-fresh .news__item .btn { margin-top: auto; }
.style-fresh .news__text { margin-left: 0; }

.style-fresh .bg-cream { background: var(--cream); }
.style-fresh .module--newsletter.bg-cream .module__inner, .style-fresh .module--newsletter.bg-soft .module__inner { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.style-fresh .field input, .style-fresh .form-field input[type=text], .style-fresh .form-field input[type=email], .style-fresh .form-field textarea { border-radius: 12px; border-color: #ddd2ca; }

.style-fresh .design__details { background: #fff; border: 0; box-shadow: var(--shadow); }
.style-fresh .design__price { font-family: var(--font-head); font-weight: var(--head-weight, 500); }
.style-fresh .carousel__stage { box-shadow: var(--shadow); }
.style-fresh .design__collection { font-weight: 600; font-size: .85rem; }

.style-fresh .downloads__link, .style-fresh .social--pills a { border-color: var(--line); }
.style-fresh .post-card__link { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.style-fresh .post-card__img { border-radius: 0; }
.style-fresh .post-card__body { padding: 1rem 1.25rem 1.4rem; }

.style-fresh .site-footer { background: var(--footer-bg, #2e2433); color: #efe6f2; border-top: 0; padding-top: 3rem; }
.style-fresh .site-footer__logo { display: inline-block; background: #fffbf6; border-radius: var(--radius-lg); padding: .5rem 1rem; }
.style-fresh .site-footer__logo img { width: 150px; }
.style-fresh .site-footer a, .style-fresh .site-footer .social a { color: #efe6f2; }
.style-fresh .site-footer a:hover { color: #fff; }
.style-fresh .site-footer__copy { color: #c9bccf; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; max-width: var(--wide); margin-left: auto; margin-right: auto; }
.style-fresh .page-head__title { font-size: calc(clamp(2.2rem, 5vw, 3.25rem) * var(--head-scale, 1)); }
