/* ==========================================================================
   buildashelf v5 — base: design tokens (the ONE palette source), scoped reset,
   shared primitives (section headings, buttons). Loaded on every page.
   Everything is scoped under the v5 component roots so The7 and the Elementor
   kit (v4 typography) cannot leak in, and v5 cannot leak into Woo/The7 content.
   ========================================================================== */

:root {
	--ink: #1E1D1B;
	--ink-mid: #5A5754;
	--warm-mid: #8A8680;
	--cream: #F5F2EC;
	--linen: #FAF8F4;
	--linen-mid: #EDE9E1;
	--linen-dark: #D8D3C8;
	--rust: #C44B32;
	--rust-soft: #D4614A;
	--navy: #2A3F56;
	--white: #FFFFFF;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Mulish', sans-serif;
	--font-label: 'Karla', sans-serif;

	--bas-gutter: 52px;
	--bas-gutter-sm: 22px;

	/* Vertical padding inside homepage sections (the space between sections is twice this). */
	--bas-section-pad: 48px;
	--bas-section-pad-story: 56px;
	--bas-section-pad-email: 44px;
	--bas-section-pad-sm: 32px; /* phones and small screens */

	/* Legacy aliases used by the store styles ported from dt-the7-child
	   (assets/css/store/). Shared names above already map them to v5. */
	--font-mono: var(--font-label);
	--chrome: #BFC4CB;
	--chrome-light: #E2E6EA;
	--sage: #5C7A65;
	--sage-light: #E8F0EA;
	--blush: #E8D5CC;
	--terra: #B87055;
	--base-font-size: 15px;
	--base-line-height: 1.6;
}

/* The7 makes #page an overflow:hidden grid; that breaks the sticky nav and the
   v5 stacking. Block flow + horizontal clip keeps sticky working without side scroll. */
body.bas-v5 #page {
	display: block;
	overflow: visible;
	overflow-x: clip;
}

body.bas-v5 {
	font-family: var(--font-body);
	background: var(--white);
	color: var(--ink);
}

/* Scoped reset (the mockup's global reset, limited to v5 regions). */
.bas-topbar, .bas-topbar *, .bas-topbar *::before, .bas-topbar *::after,
.bas-nav, .bas-nav *, .bas-nav *::before, .bas-nav *::after,
.bas-home, .bas-home *, .bas-home *::before, .bas-home *::after,
.bas-footer, .bas-footer *, .bas-footer *::before, .bas-footer *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.bas-topbar, .bas-nav, .bas-home, .bas-footer { font-family: var(--font-body); color: var(--ink); }
.bas-nav a, .bas-home a, .bas-footer a, .bas-topbar a { color: inherit; text-decoration: none; }
.bas-home img, .bas-nav img, .bas-footer img { display: block; max-width: 100%; }
.bas-home ul, .bas-nav ul, .bas-footer ul { list-style: none; }

/* Section headings */
.bas-home .section-label {
	font-family: var(--font-label);
	font-size: 13px; letter-spacing: 2.5px;
	color: var(--rust); text-transform: uppercase; margin-bottom: 12px; font-weight: 700;
	line-height: normal;
}
/* Shelf line under each small label (same motif as the logo); it takes the label's own colour. */
.bas-home .section-label,
.bas-home .hero-eyebrow { position: relative; width: fit-content; padding-bottom: 9px; }
.bas-home .section-label::after,
.bas-home .hero-eyebrow::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
	border: 2px solid currentColor; border-bottom: 0;
}
.bas-home .email-section .section-label { margin-inline: auto; }
.bas-home .section-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 500;
	letter-spacing: -0.5px; line-height: 1.12; color: var(--ink); margin-bottom: 14px;
	text-transform: none;
}
.bas-home .section-sub {
	font-family: var(--font-body);
	font-size: 15px; color: var(--ink-mid); line-height: 1.7; font-weight: 300;
	max-width: 540px; margin-bottom: 50px;
}

/* Buttons */
.bas-home .btn-primary,
.bas-home .btn-outline {
	display: inline-block;
	border-radius: 0;
	padding: 14px 32px;
	font-size: 11.5px; font-weight: 700; font-family: var(--font-label);
	letter-spacing: 1.5px; text-transform: uppercase; line-height: normal;
	cursor: pointer;
}
.bas-home .btn-primary {
	background: var(--rust); color: #fff; border: none;
	transition: background 0.15s, transform 0.1s;
}
.bas-home .btn-primary:hover { background: var(--rust-soft); color: #fff; transform: translateY(-1px); }
.bas-home .btn-outline {
	background: transparent; color: var(--ink);
	border: 1.5px solid var(--ink);
	transition: border-color 0.15s, transform 0.1s;
}
.bas-home .btn-outline:hover { border-color: var(--rust); color: var(--rust); transform: translateY(-1px); }
