/**
 * WAASI BESPOKE - base.css
 *
 * Fonts, design tokens, reset, typography, buttons, forms, media and motion.
 * Palette values are printed inline by waasi_inline_css(); the values below are
 * only fallbacks for when that inline block is unavailable.
 */

/* -------------------------------------------------------------------------
 * 1. Self-hosted fonts (SIL Open Font License - see assets/fonts/OFL.txt)
 * ---------------------------------------------------------------------- */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------------------------------------------------
 * 2. Tokens
 * ---------------------------------------------------------------------- */

:root {
	--wb-bg: #f7f5f1;
	--wb-surface: #ffffff;
	--wb-ink: #1c1c1c;
	--wb-ink-soft: #4b4b4b;
	--wb-ink-muted: #6f6f6f;
	--wb-navy: #101a2b;
	--wb-navy-soft: #1d2739;
	--wb-navy-line: rgba(255, 255, 255, 0.14);
	--wb-accent: #a2917c;
	--wb-accent-ink: #75664f;
	--wb-accent-soft: #ded6cb;
	--wb-stone: #e7e1d8;
	--wb-stone-deep: #d0cabf;
	--wb-line: rgba(28, 28, 28, 0.14);
	--wb-line-strong: rgba(28, 28, 28, 0.26);
	--wb-ink-rgb: 28, 28, 28;
	--wb-navy-rgb: 16, 26, 43;
	--wb-hero-overlay: 0.38;
	--wb-hero-height: 100svh;
	--wb-logo-width: 190px;

	--wb-serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
	--wb-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wb-step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.83rem);
	--wb-step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1.02rem);
	--wb-step-1: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
	--wb-step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
	--wb-step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
	--wb-step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
	--wb-step-5: clamp(2.5rem, 1.7rem + 3.8vw, 4.75rem);

	--wb-gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
	--wb-gap-lg: clamp(1.5rem, 0.9rem + 2.4vw, 3rem);
	--wb-pad: clamp(3rem, 2rem + 4.5vw, 7rem);
	--wb-shell: 1.25rem;

	--wb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--wb-fast: 0.2s;
	--wb-slow: 0.6s;
	--wb-radius: 2px;
	--wb-header: 82px;
}

@media (min-width: 782px) {
	:root {
		--wb-shell: 2rem;
		--wb-header: 96px;
	}
}

/* -------------------------------------------------------------------------
 * 3. Reset
 * ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--wb-header) + 1rem);
}

body {
	margin: 0;
	background-color: var(--wb-bg);
	color: var(--wb-ink);
	font-family: var(--wb-sans);
	font-size: var(--wb-step-0);
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

body.waasi-locked {
	overflow: hidden;
}

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

figure {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

nav ul,
nav ol,
.product-grid,
.service-grid,
.process-list,
.testimonial-grid,
.lookbook-grid,
.social-list,
.footer-menu,
.footer-legal__list,
.footer-contact,
.mobile-drawer__contact {
	list-style: none;
}

a {
	color: inherit;
	text-decoration-color: var(--wb-line-strong);
	text-underline-offset: 0.25em;
	transition: color var(--wb-fast) var(--wb-ease), text-decoration-color var(--wb-fast) var(--wb-ease), opacity var(--wb-fast) var(--wb-ease);
}

a:hover {
	color: var(--wb-accent-ink);
}

button {
	font: inherit;
	color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wb-accent-ink);
	outline-offset: 3px;
	border-radius: var(--wb-radius);
}

hr {
	border: 0;
	border-top: 1px solid var(--wb-line);
	margin: var(--wb-gap-lg) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

/* -------------------------------------------------------------------------
 * 4. Typography
 * ---------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--wb-serif);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.005em;
	color: var(--wb-ink);
}

h1 {
	font-size: var(--wb-step-4);
}

h2 {
	font-size: var(--wb-step-3);
}

h3 {
	font-size: var(--wb-step-2);
}

h4 {
	font-size: var(--wb-step-1);
}

h5,
h6 {
	font-family: var(--wb-sans);
	font-size: var(--wb-step--1);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 600;
}

blockquote {
	margin: var(--wb-gap-lg) 0;
	padding-left: var(--wb-gap);
	border-left: 1px solid var(--wb-accent);
	font-family: var(--wb-serif);
	font-size: var(--wb-step-2);
	line-height: 1.4;
	color: var(--wb-ink-soft);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	padding: var(--wb-gap);
	background: var(--wb-surface);
	border: 1px solid var(--wb-line);
}

.eyebrow {
	margin: 0 0 1rem;
	font-size: var(--wb-step--1);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wb-accent-ink);
}

.eyebrow--light {
	color: rgba(255, 255, 255, 0.82);
}

.section-title {
	margin: 0 0 0.6em;
	font-size: var(--wb-step-3);
}

.section-title--sm {
	font-size: var(--wb-step-2);
}

.section-lead {
	max-width: 58ch;
	margin: 0;
	color: var(--wb-ink-soft);
	font-size: var(--wb-step-1);
	line-height: 1.65;
}

.section-header {
	margin-bottom: var(--wb-gap-lg);
}

.section-header--center {
	text-align: center;
}

.section-header--center .section-lead {
	margin-inline: auto;
}

.section-header--left {
	text-align: left;
}

.section-note {
	margin-top: var(--wb-gap);
	color: var(--wb-ink-muted);
	font-size: var(--wb-step--1);
	text-align: center;
}

.section-note--admin {
	padding: 0.85rem 1rem;
	border: 1px dashed var(--wb-line-strong);
	background: var(--wb-surface);
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.8em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
	list-style: revert;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose img,
.prose figure {
	margin-block: var(--wb-gap-lg);
}

.prose figcaption {
	margin-top: 0.6rem;
	font-size: var(--wb-step--1);
	color: var(--wb-ink-muted);
}

.prose a {
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * 5. Buttons
 * ---------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3rem;
	padding: 0.85rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--wb-radius);
	background: none;
	cursor: pointer;
	text-decoration: none;
	font-size: var(--wb-step--1);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background-color var(--wb-fast) var(--wb-ease), color var(--wb-fast) var(--wb-ease), border-color var(--wb-fast) var(--wb-ease), transform var(--wb-fast) var(--wb-ease);
}

.btn__icon {
	flex: 0 0 auto;
	transition: transform var(--wb-fast) var(--wb-ease);
}

.btn:hover .btn__icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--wb-navy);
	border-color: var(--wb-navy);
	color: #fff;
}

.btn--primary:hover {
	background: var(--wb-navy-soft);
	border-color: var(--wb-navy-soft);
	color: #fff;
}

.btn--navy {
	background: var(--wb-ink);
	border-color: var(--wb-ink);
	color: #fff;
}

.btn--outline {
	border-color: var(--wb-line-strong);
	color: var(--wb-ink);
}

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

.btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--wb-navy);
}

.btn--light:hover {
	background: var(--wb-stone);
	border-color: var(--wb-stone);
	color: var(--wb-navy);
}

.btn--outline-light {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.btn--outline-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.btn--link {
	min-height: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--wb-accent);
	border-radius: 0;
	color: var(--wb-ink);
}

.btn--link:hover {
	border-bottom-color: var(--wb-ink);
	color: var(--wb-ink);
}

.btn--quiet {
	border-color: var(--wb-line);
	color: var(--wb-ink-soft);
	background: var(--wb-surface);
}

.btn--quiet:hover {
	border-color: var(--wb-ink);
	color: var(--wb-ink);
}

.btn--sm {
	min-height: 2.4rem;
	padding: 0.55rem 1.1rem;
	font-size: 0.72rem;
}

.btn--full {
	width: 100%;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	transition: color var(--wb-fast) var(--wb-ease), opacity var(--wb-fast) var(--wb-ease);
}

.icon-btn:hover {
	color: var(--wb-accent-ink);
}

/* -------------------------------------------------------------------------
 * 6. Forms
 * ---------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--wb-line-strong);
	border-radius: var(--wb-radius);
	background: var(--wb-surface);
	color: var(--wb-ink);
	font-family: inherit;
	font-size: var(--wb-step-0);
	line-height: 1.5;
	transition: border-color var(--wb-fast) var(--wb-ease);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--wb-ink);
}

::placeholder {
	color: var(--wb-ink-muted);
	opacity: 1;
}

label {
	display: inline-block;
	font-size: var(--wb-step--1);
	letter-spacing: 0.08em;
	color: var(--wb-ink-soft);
}

select {
	appearance: none;
	padding-right: 2.4rem;
	cursor: pointer;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
	max-width: 32rem;
}

.search-form__field {
	flex: 1 1 auto;
}

.search-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	border: 1px solid var(--wb-ink);
	background: var(--wb-ink);
	color: #fff;
	cursor: pointer;
	border-radius: var(--wb-radius);
}

.search-form__submit:hover {
	background: var(--wb-navy);
	border-color: var(--wb-navy);
}

/* -------------------------------------------------------------------------
 * 7. Media
 * ---------------------------------------------------------------------- */

.media {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--wb-stone);
}

.media img,
.media .waasi-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--wb-slow) var(--wb-ease);
}

.media--portrait {
	aspect-ratio: 3 / 4;
}

.media--landscape {
	aspect-ratio: 16 / 10;
}

.media--square {
	aspect-ratio: 1 / 1;
}

.media--wide {
	aspect-ratio: 21 / 9;
}

a:hover > .media img,
a:hover .media img,
.has-zoom:hover .media img {
	transform: scale(1.045);
}

/* -------------------------------------------------------------------------
 * 8. Motion
 * ---------------------------------------------------------------------- */

.js-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--wb-ease), transform 0.7s var(--wb-ease);
	will-change: opacity, transform;
}

.js-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js-reveal--1 { transition-delay: 0.05s; }
.js-reveal--2 { transition-delay: 0.12s; }
.js-reveal--3 { transition-delay: 0.19s; }
.js-reveal--4 { transition-delay: 0.26s; }
.js-reveal--5 { transition-delay: 0.33s; }
.js-reveal--6 { transition-delay: 0.4s; }
.js-reveal--7 { transition-delay: 0.47s; }
.js-reveal--8 { transition-delay: 0.54s; }
.js-reveal--9 { transition-delay: 0.61s; }
.js-reveal--10 { transition-delay: 0.68s; }
.js-reveal--11 { transition-delay: 0.75s; }

.no-motion .js-reveal,
.no-motion .js-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.js-reveal {
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------------
 * 9. Small shared pieces
 * ---------------------------------------------------------------------- */

.skip-link:focus {
	display: block;
	top: 1rem;
	left: 1rem;
	z-index: 200;
	padding: 0.85rem 1.25rem;
	background: var(--wb-navy);
	color: #fff;
	font-size: var(--wb-step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

.label {
	display: inline-block;
	padding: 0.3rem 0.6rem;
	background: rgba(255, 255, 255, 0.94);
	color: var(--wb-ink);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1;
}

.label--mto {
	background: var(--wb-navy);
	color: #fff;
}

.is-flipped {
	transform: rotate(180deg);
}

.to-top {
	position: fixed;
	right: clamp(1rem, 2vw, 2rem);
	bottom: clamp(1rem, 2vw, 2rem);
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	height: 2.85rem;
	border: 1px solid var(--wb-line-strong);
	border-radius: 50%;
	background: var(--wb-surface);
	color: var(--wb-ink);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity var(--wb-fast) var(--wb-ease), transform var(--wb-fast) var(--wb-ease);
}

.to-top svg {
	transform: rotate(-90deg);
}

.to-top.is-visible {
	opacity: 1;
	transform: none;
}

.to-top:hover {
	border-color: var(--wb-ink);
}

.waasi-image {
	max-width: 100%;
}

@media print {
	.site-header,
	.announcement-bar,
	.site-footer,
	.to-top,
	.mobile-drawer,
	.search-overlay {
		display: none !important;
	}
}
