/* Family B, light and minimal. Colours, the one typeface and radii come from the salon's definition (tokens on :root); this file is layout only. */
body { font-size: 1.0625rem; line-height: 1.55; }
.pimi-wrap { width: min(1120px, 100% - 40px); }
h1, h2 { line-height: 1.05; }

/* Header: one hairline, nothing else */
.b-header { z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg); }
@media (min-width: 900px) { .b-header { position: sticky; top: 0; } }
.b-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-block: .7rem; }
.b-brand { flex: 0 1 auto; min-width: 0; font: 600 1.25rem var(--font-head); letter-spacing: -.01em; text-decoration: none; }
.b-brand .pimi-logo { height: 48px; max-width: min(100%, 240px); }
.b-bar > nav { order: 3; width: 100%; }
@media (min-width: 900px) { .b-bar > nav { order: 0; width: auto; margin-left: auto; } }
.b-nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.b-nav a { display: inline-block; padding: .7rem 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.b-btn, .pimi-design-B .pimi-btn { padding: .6rem 1.25rem; border-width: 1px; font-size: .95rem; font-weight: 500; }
.b-link { display: inline-block; padding: .6rem 0; color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Hero */
.b-hero { padding-block: clamp(2.5rem, 7vw, 6rem) 0; }
.b-hero h1 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6.2vw + .6rem, 5.6rem); letter-spacing: calc(var(--head-tracking) * 1.2); }
.b-intro { max-width: 40ch; margin: 0 0 1.5rem; color: var(--muted); font-size: 1.15rem; }
.b-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; margin: 0; }
.b-facts { margin: 0; }
.b-facts div { padding: .9rem 0; border-top: 1px solid var(--line); }
.b-facts dt { color: var(--muted); font-size: .8rem; }
.b-facts dd { margin: .15rem 0 0; }
.b-facts a { text-decoration: none; }
.b-hero-media { margin-top: clamp(2rem, 5vw, 4rem); }
.b-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-photo); }
@media (min-width: 700px) { .b-hero-img { aspect-ratio: 16 / 8; } }
/* center: everything on the middle axis, the facts as one row */
.pimi-hero-center .b-hero-text { text-align: center; }
.pimi-hero-center .b-intro { margin-inline: auto; }
.pimi-hero-center .b-actions { justify-content: center; }
.pimi-hero-center .b-hero-text .pimi-note { margin-inline: auto; }
.pimi-hero-center .b-facts { margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 760px) { .pimi-hero-center .b-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; border-bottom: 1px solid var(--line); } }
/* split: headline left, facts as a narrow column right */
.pimi-hero-split .b-hero-top { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .pimi-hero-split .b-hero-top { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: clamp(3rem, 8vw, 7rem); align-items: end; } .pimi-hero-split .b-facts div:last-child { border-bottom: 1px solid var(--line); } }

/* Sections: a hairline, the heading left, the content right */
.b-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.b-section + .b-section, .pimi-note-only + .b-section { border-top: 1px solid var(--line); }
main > .b-section:first-of-type { margin-top: 0; }
.b-row { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .b-row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); } }
.b-section h2 { margin: 0; font-size: clamp(1.9rem, 2.6vw + .8rem, 2.9rem); }
.b-side p { margin: .5rem 0 0; }
.b-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.b-top .pimi-note { flex-basis: 100%; }
.b-statement { margin: 0 0 1.25rem; font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.b-more { max-width: 60ch; margin: 0 0 .9rem; color: var(--muted); }
.b-about-img { width: 100%; margin-top: 1.75rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-photo); }
.pimi-note-only { padding-block: 1rem 1.5rem; }

/* Price list: plain rows */
.b-menu .pimi-cat { border-top: 1px solid var(--ink); }
.b-menu .pimi-cat:last-child { border-bottom: 1px solid var(--ink); }
.b-menu .pimi-cat summary { min-height: 64px; align-items: center; }
.b-menu .pimi-cat summary h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -.01em; }
.b-menu .pimi-rows { padding-bottom: 1.25rem; }
.b-menu .pimi-rows li { font-size: 1rem; }
.b-menu .pimi-row-price { font-weight: 500; }
@media (min-width: 700px) { .b-menu .pimi-rows { columns: 2; column-gap: 2.5rem; } }

/* Team */
.b-team { margin: 0; padding: 0; list-style: none; }
.b-team li { display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.b-team li:last-child { border-bottom: 1px solid var(--line); }
.b-portrait { width: 88px; height: 88px; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-photo); background: var(--soft); }
.b-team h3 { margin: 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.b-role { margin: .1rem 0 .4rem; color: var(--muted); font-size: .9rem; }
.b-team p:last-child { margin: 0; color: var(--muted); }

/* Hours and contact */
.b-hours { margin: 0; }
.b-hours div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.b-hours div:last-child { border-bottom: 1px solid var(--line); }
.b-hours dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-address { font-style: normal; }
.b-address p { margin: 0 0 .25rem; }
.b-address a { display: inline-block; padding: .4rem 0; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.b-phone a { font-size: clamp(1.8rem, 3vw + .8rem, 2.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; text-decoration: none; }
.b-social { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.b-social a { display: inline-block; padding: .7rem 0; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pimi-design-B .pimi-booking { padding: 1.5rem; border: 1px solid var(--line); }
.pimi-design-B .pimi-booking .pimi-btn { margin-right: 1rem; }

/* Shop and footer */
.b-section .woocommerce ul.products { margin-bottom: 0; }
.b-footer { padding-block: 2.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.b-footer-grid { display: grid; gap: .75rem 3rem; }
@media (min-width: 760px) { .b-footer-grid { grid-template-columns: 1fr 1.6fr auto; } }
.b-footer p { margin: 0; }

/* Order section */
.pimi-design-B .pimi-order h2 { margin-bottom: .75rem; }
.pimi-design-B .pimi-order-row { border-width: 1px; }
.pimi-design-B .pimi-order-row:has(input:checked) { border-color: var(--ink); }
.pimi-design-B .pimi-order-support legend { font-weight: 500; }
.pimi-design-B .pimi-order-total strong { font-weight: 400; letter-spacing: -.02em; }

@media (hover: hover) and (pointer: fine) {
	.b-nav a:hover { color: var(--ink); }
	.b-link:hover { color: var(--accent); }
}
