/*
 * Anywear 2026-10 redesign: design tokens, self-hosted fonts and shared primitives.
 *
 * The single place for colours, fonts and shadows of the new header, footer, home page and product card
 * (docs/design/homepage-2026-10/home.html is the visual spec). Components use these custom properties only:
 * no stray hex values outside this file.
 */

/*
 * ---- Fonts: Barlow Condensed 600 (display) / 500 (nav) and Barlow 400/500/600 (text), latin + latin-ext ----
 *
 * Chosen 2026-10 over Archivo 62% black for being calmer. Each face is declared for a whole weight range, so
 * the 800-900 weights the components ask for get the one calm static weight instead of a synthetic bold.
 * Headings ("Barlow Display", weight 600) sit about 20% below the width of the Archivo they replace; the nav
 * ("Barlow Nav", weight 500) matches it.
 */
@font-face {
	font-family: "Barlow Display";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	size-adjust: 85%;
	src: url(../fonts/barlow-condensed-600-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Display";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	size-adjust: 85%;
	src: url(../fonts/barlow-condensed-600-latin.woff2) format("woff2");
	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: "Barlow Nav";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	size-adjust: 105%;
	src: url(../fonts/barlow-condensed-500-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Nav";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	size-adjust: 105%;
	src: url(../fonts/barlow-condensed-500-latin.woff2) format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 100 499;
	font-display: swap;
	src: url(../fonts/barlow-400-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 100 499;
	font-display: swap;
	src: url(../fonts/barlow-400-latin.woff2) format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 500 699;
	font-display: swap;
	src: url(../fonts/barlow-500-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500 699;
	font-display: swap;
	src: url(../fonts/barlow-500-latin.woff2) format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 700 900;
	font-display: swap;
	src: url(../fonts/barlow-600-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700 900;
	font-display: swap;
	src: url(../fonts/barlow-600-latin.woff2) format("woff2");
	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;
}

/* The parent theme still sets Manrope by name in its own CSS (its Google Fonts request is dropped in AW_Home_Assets). */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/manrope-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/manrope-latin.woff2) format("woff2");
	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;
}

/*
 * Size-adjusted fallbacks (widths measured in Chromium against Arial / Arial Bold, vertical metrics from the
 * woff2 files): while the real font loads, text takes the same width and line box, so the swap does not
 * reflow the page. Barlow Condensed 600 is 0.68x Arial Bold (500: 0.67x), Barlow 400 0.95x Arial; ascent 1.0, descent 0.2.
 */
@font-face {
	font-family: "Barlow Display Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arial");
	font-weight: 700 900;
	size-adjust: 58%;
	ascent-override: 146%;
	descent-override: 29%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Barlow Nav Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arial");
	font-weight: 700 900;
	size-adjust: 70%;
	ascent-override: 149%;
	descent-override: 30%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Barlow Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 95%;
	ascent-override: 106%;
	descent-override: 21%;
	line-gap-override: 0%;
}

:root {
	--aw-ink: #000;
	--aw-paper: #fff;
	--aw-mute: #6b6b6b;
	--aw-hair: #e4e4e2;
	--aw-floor: #ecebe8;      /* studio-floor grey: card and store backgrounds */
	--aw-b2b: #1d3f66;        /* B2B navy: the ONLY colour in the shop UI (overridden from the B2B module's accent setting) */
	--aw-b2b-2: #2b5a8f;      /* arrow block inside the B2B button */
	--aw-b2b-stamp: #27507f;  /* logo stamp on the navy band */
	--aw-open: #1f8a4c;       /* "open now" dot */
	--aw-sale: #b3261e;       /* Outlet link in the mega menu */
	--aw-promo: #ff6b1a;      /* promotion "-X%" badges (tiles, 2026 cards, product page), black text on it */
	--aw-font-display: "Barlow Display", "Barlow Display Fallback", "Arial Narrow", system-ui, sans-serif;
	--aw-font-nav: "Barlow Nav", "Barlow Nav Fallback", "Arial Narrow", system-ui, sans-serif;
	--aw-font-text: "Barlow", "Barlow Fallback", system-ui, sans-serif;
	--aw-shadow-sticker: 5px 5px 0 #000;

	/* Secondary values from the mockup, named so components never carry raw hex. */
	--aw-tab-off: #8e8e8b;     /* inactive product tab: mockup #c9c9c6 darkened to 3.2:1 on white (WCAG large text) */
	--aw-mute-floor: #5e5e5e;  /* secondary text on --aw-floor (#6b6b6b is 4.47:1 there, below AA) */
	--aw-stamp-light: #ebeae6; /* W/Λ stamp behind the story text */
	--aw-ink-2: #262626;       /* long body copy */
	--aw-ink-3: #3b3b3b;       /* fact labels */
	--aw-foot-line: #333;      /* rules on the black footer */
	--aw-foot-mute: #9a9a9a;   /* secondary text on black */
	--aw-foot-text: #cfcfcf;   /* footer column links */
	--aw-foot-error: #ff8a80;  /* form errors on black (9.9:1) */
	--aw-off-line: #d0d0d0;    /* unavailable size border */
	--aw-off-text: #b0b0b0;    /* unavailable size label */
	--aw-gift-shadow: #555;    /* gift card graphic */

	--aw-mark: url(../img/aw-mark.svg);
	--aw-pattern: url(../img/aw-pattern.svg);

	--aw-gutter: 40px;
	--aw-header-h: 92px;
	--aw-header-h-stuck: 68px;
	--aw-ticker-h: 40px;
	--aw-focus: 0 0 0 3px var(--aw-paper), 0 0 0 5px var(--aw-ink);
	--aw-ease: cubic-bezier(.2, .7, .2, 1);
}

/* The header switches to its phone layout where the theme's own JS does (site-lib.js: innerWidth < 1190), so
   the theme's mobile menu initialises exactly when the hamburger is visible. */
@media (max-width: 1189px) {
	:root {
		--aw-header-h: 64px;
		--aw-header-h-stuck: 64px;
		--aw-ticker-h: 32px;
	}
}
@media (max-width: 767px) {
	:root {
		--aw-gutter: 16px;
	}
}
@media (min-width: 768px) and (max-width: 1189px) {
	:root {
		--aw-gutter: 24px;
	}
}

/* ---- Shared primitives (prefixed aw- to stay clear of the theme's c-/l-/h- classes) ---- */
.aw-ui,
.aw-ui button,
.aw-ui input,
.aw-ui select {
	font-family: var(--aw-font-text);
}

.aw-d,
.aw-ui .aw-d,
.aw-ui button.aw-d {
	font-family: var(--aw-font-display);
	font-stretch: 62%;
	font-weight: 900;
	text-transform: uppercase;
	line-height: .84;
	letter-spacing: -.005em;
}

.aw-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.aw-ui a,
.aw-ui button {
	-webkit-tap-highlight-color: transparent;
}

.aw-ui :focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.aw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 58px;
	padding: 0 30px;
	border: 0;
	border-radius: 0;
	font-family: var(--aw-font-text);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s var(--aw-ease), box-shadow .15s var(--aw-ease), background-color .15s, color .15s;
}
.aw-btn svg { width: 18px; height: 18px; flex: none; }
.aw-btn--white { background: var(--aw-paper); color: var(--aw-ink); }
.aw-btn--white:hover { background: var(--aw-floor); color: var(--aw-ink); }
.aw-btn--black { background: var(--aw-ink); color: var(--aw-paper); }
.aw-btn--black:hover { color: var(--aw-paper); }
.aw-btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.aw-btn--line:hover { color: inherit; box-shadow: inset 0 0 0 3px currentColor; }
.aw-btn--sticker { box-shadow: var(--aw-shadow-sticker); }
.aw-btn--sticker:hover,
.aw-btn--sticker:focus-visible { transform: translate(5px, 5px); box-shadow: 0 0 0 transparent; }

/*
 * Hover motion for buttons. Every white / line button sits on a dark or navy band: a fill sweeps in from the
 * left and the label inverts; arrows nudge forward. Sticker buttons keep their press-in.
 */
.aw-btn svg { transition: transform .25s var(--aw-ease); }
.aw-btn:hover svg,
.aw-btn:focus-visible svg { transform: translateX(4px); }
.aw-btn--white:not(.aw-btn--sticker),
.aw-btn--line {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.aw-btn--white:not(.aw-btn--sticker)::before,
.aw-btn--line::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	transform: translateX(-101%);
	transition: transform .35s var(--aw-ease);
}
.aw-btn--white:not(.aw-btn--sticker)::before { background: var(--aw-ink); box-shadow: inset 0 0 0 2px var(--aw-paper); }
.aw-btn--line::before { background: var(--aw-paper); }
.aw-btn--white:not(.aw-btn--sticker):hover::before,
.aw-btn--white:not(.aw-btn--sticker):focus-visible::before,
.aw-btn--line:hover::before,
.aw-btn--line:focus-visible::before { transform: none; }
.aw-ui .aw-btn--white:not(.aw-btn--sticker):hover,
.aw-ui .aw-btn--white:not(.aw-btn--sticker):focus-visible,
.aw-foot a.aw-btn--white:hover,
.aw-foot a.aw-btn--white:focus-visible { background: var(--aw-paper); color: var(--aw-paper); }
.aw-ui .aw-btn--line:hover,
.aw-ui .aw-btn--line:focus-visible { color: var(--aw-btn-line-on, var(--aw-ink)); box-shadow: inset 0 0 0 2px var(--aw-paper); }

/* Text link: the underline runs out to the right and draws back in from the left. */
.aw-link {
	padding-bottom: 5px;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.aw-link:hover,
.aw-link:focus-visible {
	color: inherit;
	animation: aw-redraw .55s var(--aw-ease);
}
@keyframes aw-redraw {
	0% { background-position: 100% 100%; background-size: 100% 2px; }
	45% { background-position: 100% 100%; background-size: 0 2px; }
	46% { background-position: 0 100%; background-size: 0 2px; }
	100% { background-position: 0 100%; background-size: 100% 2px; }
}

.aw-chip {
	display: inline-block;
	padding: 6px 8px;
	background: var(--aw-paper);
	color: var(--aw-b2b);
	font-family: var(--aw-font-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .06em;
}

/* Presentation attributes lose to the theme's svg rules, so stroke/fill are set here. */
.aw-ico { display: block; width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; }
.aw-ico--fill { fill: currentColor; stroke: none; }
.aw-ico path,
.aw-ico circle,
.aw-ico rect { fill: inherit; stroke: inherit; }

/* W/Λ logo mark as a stamp: one SVG mask, coloured from --stamp (brief §5). */
.aw-stamp {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	aspect-ratio: 180 / 298;
	background-color: var(--stamp, var(--aw-ink));
	-webkit-mask: var(--aw-mark) center / contain no-repeat;
	mask: var(--aw-mark) center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.aw-ui *,
	.aw-ui *::before,
	.aw-ui *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
	.aw-btn--sticker:hover,
	.aw-btn--sticker:focus-visible { transform: none; }
}

