/* ==========================================================================
   Barneplakat
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--bp-ink: #1b1b19;
	--bp-text: #2b2b28;
	--bp-muted: #6c6b66;
	--bp-line: #e3e1db;
	--bp-bg: #ffffff;
	--bp-card: #f1efea;
	--bp-sage: #e4e7de;
	--bp-sand: #f5f4f0;
	--bp-paper: #fcfbf8;
	--bp-oak-1: #dcbd8f;
	--bp-oak-2: #b98f5c;
	--bp-gold: #c9a24a;
	--bp-radius: 6px;
	--bp-container: 1184px;
	--bp-gutter: clamp(20px, 5vw, 48px);
	--bp-section: clamp(64px, 9vw, 120px);
	--bp-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bp-bg);
	color: var(--bp-text);
	font-family: var(--bp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--bp-ink); }

h1, h2, h3, h4 { color: var(--bp-ink); margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--bp-ink); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.bp-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--bp-ink); color: #fff; padding: 10px 16px; border-radius: var(--bp-radius);
}
.bp-skip:focus { top: 12px; color: #fff; }

.bp-container {
	width: 100%;
	max-width: calc(var(--bp-container) + 2 * var(--bp-gutter));
	margin-inline: auto;
	padding-inline: var(--bp-gutter);
}

/* Type -------------------------------------------------------------------- */

.bp-h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }

.bp-h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-bottom: 28px; }
.bp-h2--large { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; margin-bottom: 20px; }

.bp-lead { color: var(--bp-muted); font-size: 17px; line-height: 1.7; max-width: 34em; }

/* Buttons ----------------------------------------------------------------- */

.bp-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 26px;
	border: 1px solid var(--bp-ink);
	border-radius: 5px;
	background: var(--bp-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s;
}
.bp-btn:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover { background: #000; color: #fff; }

.bp-btn--outline { background: transparent; color: var(--bp-ink); }
.bp-btn--outline:hover { background: var(--bp-ink); color: #fff; }

/* Header ------------------------------------------------------------------ */

.bp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	transition: box-shadow .2s;
}
.admin-bar .bp-header { top: 32px; }
.bp-header.is-scrolled { box-shadow: 0 1px 0 var(--bp-line); }

.bp-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 76px;
	gap: 24px;
}

.bp-logo {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--bp-ink);
	justify-self: center;
}

.bp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.bp-nav--secondary { justify-self: end; }
.bp-nav a,
.bp-search-toggle {
	font-size: 14px;
	font-weight: 500;
	color: var(--bp-text);
	background: none;
	border: 0;
	padding: 4px 0;
	line-height: 1.6;
	cursor: pointer;
	position: relative;
}
.bp-nav a::after,
.bp-search-toggle::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left;
	transition: transform .2s;
}
.bp-nav a:hover::after,
.bp-search-toggle:hover::after,
.bp-nav .current-menu-item > a::after { transform: scaleX(1); }

.bp-header__burger { display: none; }

.bp-search { border-top: 1px solid var(--bp-line); padding: 18px 0; background: #fff; }
.bp-search__form { display: flex; gap: 10px; }
.bp-search__form input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--bp-line);
	border-radius: 5px;
	background: #fff;
}

.bp-mobile-nav { display: none; }

/* Hero -------------------------------------------------------------------- */

.bp-hero { padding-top: clamp(40px, 6vw, 72px); }
.bp-hero__text { text-align: center; }
.bp-hero__title {
	font-size: clamp(38px, 5.4vw, 66px);
	line-height: 1.04;
	letter-spacing: -0.04em;
	max-width: 12em;
	margin: 0 auto 22px;
}
.bp-hero__lead { color: var(--bp-muted); font-size: 17px; line-height: 1.65; max-width: 33em; margin: 0 auto 30px; }
.bp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bp-hero__image { margin: clamp(40px, 5vw, 56px) 0 0; border-radius: 10px; overflow: hidden; background: #c9cbc7; }
.bp-hero__image img { width: 100%; aspect-ratio: 1184 / 640; object-fit: cover; }

/* Sections ---------------------------------------------------------------- */

.bp-section { padding-top: var(--bp-section); }
.bp-band { padding-block: var(--bp-section); }
.bp-products { padding-bottom: var(--bp-section); }
.bp-band--sage { background: var(--bp-sage); }
.bp-band--sand { background: var(--bp-sand); }

.bp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.bp-split--top { align-items: start; }

/* Days -------------------------------------------------------------------- */

.bp-days__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.bp-days__item a { display: block; border-top: 2px solid var(--bp-ink); padding-top: 18px; height: 100%; }
.bp-days__item h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 8px; display: flex; justify-content: space-between; }
.bp-days__item h3::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.bp-days__item a:hover h3::after { opacity: 1; transform: none; }
.bp-days__item p { color: var(--bp-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* Products ---------------------------------------------------------------- */

.bp-products__intro { color: var(--bp-muted); max-width: 30em; margin: -12px 0 32px; }

.bp-tabs {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--bp-line);
	margin-bottom: 40px;
	overflow-x: auto;
	scrollbar-width: none;
}
.bp-tabs::-webkit-scrollbar { display: none; }
.bp-tabs__tab {
	flex: none;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	padding: 0 0 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--bp-muted);
	cursor: pointer;
	transition: color .2s, border-color .2s;
}
.bp-tabs__tab:hover { color: var(--bp-ink); }
.bp-tabs__tab[aria-selected="true"] { color: var(--bp-ink); font-weight: 600; border-bottom-color: var(--bp-ink); }

.bp-products__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.bp-card[hidden] { display: none; }
.bp-card a { display: block; }
.bp-card__media {
	background: var(--bp-card);
	border-radius: 8px;
	aspect-ratio: 373 / 402;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.bp-card__media .bp-poster { width: 62%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.bp-card__media .bp-poster--wide { width: 82%; }
.bp-card a:hover .bp-poster { transform: translateY(-6px) scale(1.02); }
.bp-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 22px; }
.bp-card__title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bp-card__price { font-size: 15px; font-weight: 500; color: var(--bp-ink); white-space: nowrap; }
.bp-card__sub { color: var(--bp-muted); font-size: 15px; margin: 4px 0 0; }

.bp-card.is-entering { animation: bp-fade .35s ease both; }
@keyframes bp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Poster ------------------------------------------------------------------ */

.bp-poster {
	container-type: inline-size;
	aspect-ratio: 233 / 307;
	padding: 3.2%;
	background: #f7f6f3;
	box-shadow:
		0 1px 2px rgba(30, 25, 15, .08),
		0 18px 30px -12px rgba(30, 25, 15, .28);
}
.bp-poster--oak { background: linear-gradient(135deg, var(--bp-oak-1), var(--bp-oak-2) 55%, #d4b07e); }
.bp-poster--black { background: #1e1e1c; }
.bp-poster--white { background: #f3f2ee; box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 1px 2px rgba(30, 25, 15, .08), 0 18px 30px -12px rgba(30, 25, 15, .25); }
.bp-poster--wide { aspect-ratio: 560 / 410; padding: 2.2%; }

.bp-poster__paper {
	height: 100%;
	background: var(--bp-paper);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10% 8%;
	text-align: center;
	color: #2a2a27;
}
.bp-poster--white .bp-poster__paper { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .025); }

.bp-poster__art { width: 40%; margin-bottom: 7cqw; display: flex; align-items: flex-end; justify-content: center; }
.bp-poster__art svg { width: 100%; height: 100%; }
.bp-poster__art--balloon { width: 30%; }
.bp-poster__art--moon { width: 34%; }
.bp-poster__photo { width: 72%; aspect-ratio: 151 / 189; margin-bottom: 6cqw; background: #f4f1ec; }
.bp-poster__photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-poster__name { font-size: 8.5cqw; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4cqw; }
.bp-poster__lines { display: flex; flex-direction: column; gap: .9cqw; font-size: 2.7cqw; letter-spacing: .08em; text-transform: uppercase; color: #6f6d68; line-height: 1.3; }

.bp-poster__kids { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; width: 100%; }
.bp-poster__kid { display: flex; flex-direction: column; align-items: center; }
.bp-poster--wide .bp-poster__art { width: auto; height: 11cqw; margin-bottom: 4cqw; }
.bp-poster--wide .bp-poster__art svg { width: auto; height: 100%; }
.bp-poster--wide .bp-poster__name { font-size: 5.4cqw; margin-bottom: 2.4cqw; }
.bp-poster--wide .bp-poster__lines { font-size: 1.6cqw; gap: .6cqw; }

.bp-poster--large { box-shadow: 0 2px 4px rgba(30, 25, 15, .08), 0 30px 60px -20px rgba(30, 25, 15, .35); }

/* Sketch section ---------------------------------------------------------- */

.bp-sketch__visual { position: relative; padding-left: 6%; }
.bp-sketch__visual .bp-poster { width: 100%; max-width: 440px; aspect-ratio: 440 / 600; padding: 1.6%; }
.bp-sketch__visual .bp-poster__photo { width: 67%; aspect-ratio: 292 / 366; }
.bp-sketch__visual .bp-poster__paper { padding: 11% 8% 8%; }
.bp-sketch__visual .bp-poster__lines { font-size: 2.6cqw; }
.bp-sketch__photo {
	position: absolute;
	left: 0;
	bottom: 9%;
	width: 36%;
	max-width: 168px;
	border: 6px solid #fff;
	border-radius: 2px;
	transform: rotate(-3.5deg);
	box-shadow: 0 20px 40px -14px rgba(30, 25, 15, .45);
}

.bp-usps {
	list-style: none;
	margin: 32px 0 36px;
	padding: 26px 0 0;
	border-top: 1px solid rgba(27, 27, 25, .15);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.bp-usps strong { display: block; color: var(--bp-ink); font-size: 15px; font-weight: 600; line-height: 1.45; margin-bottom: 4px; }
.bp-usps span { color: var(--bp-muted); font-size: 14px; }

/* Siblings ---------------------------------------------------------------- */

.bp-split--reverse { grid-template-columns: 1fr 1.05fr; }
.bp-siblings__text .bp-lead { margin-bottom: 30px; }
.bp-siblings__visual .bp-poster { width: 100%; }

/* Reviews ----------------------------------------------------------------- */

.bp-reviews .bp-h2 { margin-bottom: 40px; }
.bp-reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.bp-review { border-top: 1px solid rgba(27, 27, 25, .15); padding-top: 22px; }
.bp-review__stars { color: var(--bp-ink); letter-spacing: 3px; font-size: 14px; margin-bottom: 12px; }
.bp-review blockquote { margin: 0; }
.bp-review blockquote p { color: var(--bp-ink); font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 16px; }
.bp-review__who { color: var(--bp-muted); font-size: 14px; margin: 0; }

/* Contact ----------------------------------------------------------------- */

.bp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bp-form__field { margin: 0 0 20px; }
.bp-form__field label { display: block; font-size: 13px; font-weight: 600; color: var(--bp-ink); margin-bottom: 8px; }
.bp-form input[type="text"],
.bp-form input[type="email"],
.bp-form textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--bp-line);
	border-radius: 5px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.bp-form textarea { min-height: 140px; resize: vertical; }
.bp-form input:focus,
.bp-form textarea:focus { outline: none; border-color: var(--bp-ink); box-shadow: 0 0 0 3px rgba(27, 27, 25, .08); }
.bp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-form__notice { padding: 14px 16px; border-radius: 5px; font-size: 15px; margin-bottom: 24px; }
.bp-form__notice--ok { background: var(--bp-sage); color: var(--bp-ink); }
.bp-form__notice--error { background: #f8e6e1; color: #7a2d1c; }

/* Footer ------------------------------------------------------------------ */

.bp-footer { border-top: 1px solid var(--bp-line); padding-top: clamp(48px, 6vw, 72px); font-size: 14px; }
.bp-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.bp-footer__logo { display: inline-block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--bp-ink); margin-bottom: 14px; }
.bp-footer__brand p { color: var(--bp-muted); max-width: 22em; line-height: 1.65; }
.bp-footer__heading { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.bp-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--bp-muted); }
.bp-footer__list a:hover { color: var(--bp-ink); text-decoration: underline; text-underline-offset: 3px; }
.bp-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid var(--bp-line);
	padding: 22px 0 28px;
	color: var(--bp-muted);
	font-size: 13px;
}

/* Generic pages ----------------------------------------------------------- */

.bp-page { padding-block: clamp(40px, 6vw, 80px); }
.bp-page__header { margin-bottom: 32px; }
.bp-prose { max-width: 720px; font-size: 17px; line-height: 1.75; }
.bp-prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.bp-prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.bp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart .bp-prose,
.woocommerce-checkout .bp-prose,
.woocommerce-account .bp-prose { max-width: none; }
.bp-list { display: grid; gap: 32px; }
.bp-list__title { font-size: 22px; margin-bottom: 8px; }
.bp-list__excerpt { color: var(--bp-muted); }
.bp-404 { text-align: center; padding-block: 120px; }
.bp-404 .bp-lead { margin-inline: auto; }

/* WooCommerce ------------------------------------------------------------- */

.bp-shop .woocommerce-breadcrumb { font-size: 13px; color: var(--bp-muted); margin-bottom: 20px; }
.bp-shop .woocommerce-products-header__title,
.bp-shop .product_title { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; margin-bottom: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 600; color: var(--bp-ink); padding-top: 14px; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--bp-ink); font-weight: 500; }
.woocommerce ul.products li.product a img { background: var(--bp-card); border-radius: 8px; }
.woocommerce span.onsale { background: var(--bp-ink); }
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info { border-top-color: var(--bp-ink); }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before { color: var(--bp-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #fff; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1080px) {
	.bp-nav__list { gap: 6px 18px; }
}

@media (max-width: 960px) {
	.bp-header__inner { grid-template-columns: auto 1fr auto; min-height: 64px; gap: 12px; }
	.bp-nav--primary,
	.bp-hide-mobile { display: none; }
	.bp-logo { justify-self: start; font-size: 20px; }

	.bp-header__burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 40px; height: 40px;
		margin-left: -8px;
		padding: 0 8px;
		background: none; border: 0; cursor: pointer;
	}
	.bp-header__burger span { display: block; height: 1.5px; background: var(--bp-ink); transition: transform .25s; }
	.bp-header__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
	.bp-header__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

	.bp-mobile-nav {
		display: block;
		border-top: 1px solid var(--bp-line);
		padding: 12px var(--bp-gutter) 24px;
		background: #fff;
	}
	.bp-mobile-nav[hidden] { display: none; }
	.bp-mobile-nav .bp-nav__list { flex-direction: column; gap: 0; }
	.bp-mobile-nav .bp-nav__list a { display: block; padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--bp-line); }
	.bp-mobile-nav__service { margin-bottom: 20px !important; }

	.bp-days__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
	.bp-products__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
	.bp-split,
	.bp-split--reverse { grid-template-columns: 1fr; }
	.bp-sketch__visual { max-width: 460px; margin-inline: auto; width: 100%; }
	.bp-siblings__visual { order: 2; }
	.bp-reviews__grid { grid-template-columns: 1fr; gap: 28px; }
	.bp-footer__grid { grid-template-columns: 1fr 1fr; }
	.bp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.bp-hero__lead,
	.bp-lead { font-size: 16px; }
	.bp-hero__actions .bp-btn { width: 100%; }
	.bp-hero__image { margin-inline: calc(var(--bp-gutter) * -1); border-radius: 0; }
	.bp-hero__image img { aspect-ratio: 4 / 3; object-position: 22% center; }
	.bp-days__grid { grid-template-columns: 1fr; gap: 24px; }
	.bp-products__grid { grid-template-columns: 1fr; }
	.bp-card__media { aspect-ratio: 1 / 1; }
	.bp-card__media .bp-poster { width: 54%; }
	.bp-usps { grid-template-columns: 1fr; gap: 16px; }
	.bp-form__row { grid-template-columns: 1fr; gap: 0; }
	.bp-form .bp-btn { width: 100%; }
	.bp-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 782px) {
	.admin-bar .bp-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .bp-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
