/* Brand universe layout for Atomic (views/brand/universe/layout/atomic.html). Everything is scoped under .au */

@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/outfit-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: 'Inter';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/inter-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: 'JetBrains Mono';
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url('../fonts/jetbrainsmono-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;
}

.au {
	--au-paper: #F1EFEB; --au-white: #FFFFFF; --au-ink: #111111; --au-text: #3A3733; --au-muted: #5F5B56; --au-line: #E2DED8; --au-rule: #CFCAC3;
	--au-red: #E8252A; --au-red-text: #C8161D; --au-dark: #1A1714; --au-dark-text: #F1EFEB; --au-dark-soft: #D6D1CA; --au-dark-kick: #FF8A80; --au-dark-line: #3A342E;
	--au-wrap: 1280px; --au-gutter: 40px;
	--au-display: Outfit, system-ui, sans-serif;
	--au-mono: 'JetBrains Mono', ui-monospace, monospace;
	display: block; background: var(--au-paper); color: var(--au-ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
.au * { box-sizing: border-box; }
.au img { max-width: 100%; display: block; }
/* Links: the text sits in a span, because the brand CSS colors <a> with !important */
.au a, .au a:hover { text-decoration: none; }
.au .au-link { color: var(--au-ink); }
.au a:hover .au-link { color: var(--au-red-text); }
.au :focus-visible { outline: 2px solid var(--au-red); outline-offset: 3px; }
.au p, .au h1, .au h2, .au h3, .au figure { margin: 0; }
.au h1, .au h2 { text-wrap: balance; }
.au p { text-wrap: pretty; }
.au-wrap { max-width: var(--au-wrap); margin: 0 auto; padding: 0 var(--au-gutter); }

/* Type */
.au-kick { margin-bottom: 24px !important; font: 700 13px/1 var(--au-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--au-muted); }
.au-red { color: var(--au-red-text) !important; }
.au-h2 { font-family: var(--au-display); font-size: clamp(42px, 6vw, 88px); line-height: .92; font-weight: 800; letter-spacing: -.035em; color: inherit; }
.au-h2-xl { font-size: clamp(44px, 6.8vw, 96px); }
.au-body { font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--au-text); }
.au-body p + p { margin-top: 20px; }
.au-cap { font: 500 12px/1.6 var(--au-mono); letter-spacing: .04em; color: var(--au-muted); }
.au-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.au-split-end { align-items: end; }
.au-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.au a.au-under { display: inline-block; align-self: flex-start; padding-bottom: 6px; border-bottom: 2px solid var(--au-red); font-size: 15px; font-weight: 700; }

/* Buttons: the background sits on the link, the text in its span */
.au a.au-btn { display: inline-flex; align-items: center; align-self: flex-start; min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 700; transition: background .2s ease; }
.au a.au-btn-dark { background: var(--au-ink); }
.au a.au-btn-dark .au-link, .au a.au-btn-dark:hover .au-link { color: var(--au-paper); }
.au a.au-btn-dark:hover { background: var(--au-red-text); }
.au a.au-btn-light { background: var(--au-white); min-height: 56px; padding: 0 36px; font-size: 16px; }
.au a.au-btn-light .au-link, .au a.au-btn-light:hover .au-link { color: var(--au-ink); }
.au a.au-btn-light:hover { background: var(--au-paper); }

/* Breadcrumbs */
.au-crumbs { padding-top: 16px; padding-bottom: 16px; }
.au-crumbs nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--au-muted); }
.au-crumb { color: var(--au-muted); }
.au-crumbs a:hover .au-crumb { color: var(--au-ink); }
.au-crumbs-current { color: var(--au-ink); font-weight: 600; }

/* Hero: copy on paper, photo beside it */
.au-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(560px, calc(100vh - 210px), 720px); }
.au-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: 48px 56px 56px max(var(--au-gutter), calc((100vw - var(--au-wrap)) / 2 + var(--au-gutter))); }
.au-logo { width: 104px; height: auto; margin-bottom: 40px; }
.au-hero h1 { font-family: var(--au-display); font-size: clamp(68px, 7.6vw, 116px); line-height: .88; font-weight: 800; letter-spacing: -.04em; color: var(--au-ink); }
.au-hero h1 span { color: var(--au-red); }
.au-hero-text { max-width: 460px; margin: 32px 0 36px !important; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--au-text); }
.au-hero-media { position: relative; min-height: 520px; overflow: hidden; background: var(--au-line); }
.au-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.au-hero-media figcaption { position: absolute; left: 24px; bottom: 24px; padding: 8px 10px; background: var(--au-paper); font: 700 12px/1 var(--au-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--au-ink); }

/* Section nav: sticks below the shop header */
.au-secnav { position: sticky; top: 0; z-index: 30; background: rgba(241, 239, 235, .95); backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--au-line); border-bottom: 1px solid var(--au-line); }
.au-secnav .au-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.au-secnav-brand { font: 700 12px/1 var(--au-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--au-muted); }
.au-secnav nav { display: flex; gap: 24px; }
.au-secnav nav a { font-size: 14px; font-weight: 500; padding: 18px 0 16px; border-bottom: 2px solid transparent; }
.au-secnav nav a.au-on { border-bottom-color: var(--au-red); }

/* Image strip */
.au-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px 0; background: var(--au-ink); }
.au-strip figure { position: relative; }
.au-strip img { width: 100%; height: 420px; object-fit: cover; }
.au-strip figcaption { position: absolute; left: 12px; top: 12px; padding: 6px 8px; background: rgba(241, 239, 235, .9); font: 700 12px/1 var(--au-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--au-ink); }

/* World Cup: photo and red copy side by side */
.au-worldcup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--au-red); color: var(--au-ink); }
.au-worldcup-media img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }
.au-worldcup-copy { display: flex; flex-direction: column; justify-content: center; padding: 96px max(var(--au-gutter), calc((100vw - var(--au-wrap)) / 2 + var(--au-gutter))) 96px 64px; }
.au-worldcup .au-kick { color: var(--au-ink); }
.au-worldcup .au-body { max-width: 460px; margin: 32px 0 36px !important; font-weight: 400; color: var(--au-ink); }

/* Goggles: copy and photo side by side */
.au-goggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--au-white); }
.au-goggles-copy { display: flex; flex-direction: column; justify-content: center; padding: 112px 64px 112px max(var(--au-gutter), calc((100vw - var(--au-wrap)) / 2 + var(--au-gutter))); }
.au-goggles .au-body { max-width: 460px; margin: 28px 0 32px !important; }
.au-goggles-media img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }

/* Dark sections: warm black with light text */
.au-dark { background: var(--au-dark); color: var(--au-dark-text); }
.au-dark .au-kick { color: var(--au-dark-kick); }
.au-dark .au-body { color: var(--au-dark-soft); }
.au-dark .au-cap { color: #A39D95; }
.au-helmets, .au-factory { padding: 128px 0; }
.au-helmet-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); grid-template-rows: repeat(2, 274px); gap: 12px; margin-top: 56px; }
.au-helmet-grid img { width: 100%; height: 100%; object-fit: cover; }
.au-helmet-grid img:nth-child(1), .au-helmet-grid img:nth-child(2) { grid-row: span 2; }
.au-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.au-people img { width: 100%; height: 520px; object-fit: cover; }
.au-people img:nth-child(2) { margin-top: 64px; }
.au-factory-cap { margin-top: 20px !important; }

/* Herminator */
.au-maier { padding: 128px 0; }
.au-maier-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 16px; align-items: end; margin-top: 56px; }
.au-maier-grid img { width: 100%; height: 640px; object-fit: cover; }
.au-maier-grid .au-maier-archive img { height: 480px; }
.au-maier-grid .au-cap { margin-top: 12px; }
.au-maier-text { padding-bottom: 32px; }
.au-maier-wide { width: 100%; height: 300px; object-fit: cover; margin-top: 56px; }

/* Sketches: a sideways row with arrows */
.au-sketches { padding: 128px 0; background: var(--au-white); }
.au-arrows { display: flex; gap: 8px; margin-top: 28px; }
.au-arrow { appearance: none; width: 52px; height: 52px; padding: 0; border: 1px solid var(--au-rule); background: var(--au-white); color: var(--au-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.au-arrow:hover { border-color: var(--au-ink); }
.au-arrow-dark { background: var(--au-ink); border-color: var(--au-ink); color: var(--au-white); }
.au-arrow-dark:hover { background: var(--au-red-text); border-color: var(--au-red-text); }
.au-sketch-row { display: flex; gap: 16px; overflow-x: auto; margin-top: 56px; padding: 0 max(var(--au-gutter), calc((100vw - var(--au-wrap)) / 2 + var(--au-gutter))); scroll-snap-type: x mandatory; scroll-padding-left: max(var(--au-gutter), calc((100vw - var(--au-wrap)) / 2 + var(--au-gutter))); scrollbar-width: none; }
.au-sketch-row::-webkit-scrollbar { display: none; }
.au-sketch-row figure { flex: 0 0 420px; scroll-snap-align: start; }
.au-sketch-row img { width: 100%; height: 320px; object-fit: contain; background: var(--au-paper); }
.au-sketch-row .au-cap { margin-top: 12px; font-weight: 700; text-transform: uppercase; }

/* Film: poster with a play button; YouTube loads on click */
.au-film { background: var(--au-ink); }
.au-film-frame { position: relative; min-height: 720px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; color: var(--au-white); }
.au-film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.au-film-copy { position: relative; padding: 64px var(--au-gutter); }
.au-film .au-kick { color: var(--au-white); }
.au-play { appearance: none; width: 112px; height: 112px; border-radius: 50%; background: var(--au-red); border: 0; color: var(--au-white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s ease; }
.au-play:hover { transform: scale(1.06); }
.au-film .au-h2 { margin-top: 32px; font-size: clamp(48px, 5vw, 72px); }
.au-film .au-body { max-width: 520px; margin: 16px auto 0 !important; color: var(--au-paper); }
.au-film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Gear: pill tabs with the product list's own white cards (cat.css) */
.au-gear { padding: 128px 0; background: var(--au-paper); }
.au-gtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.au-gtab { appearance: none; padding: 14px 22px; min-height: 46px; border: 1px solid var(--au-rule); border-radius: 999px; background: var(--au-white); font: 600 14px/1 Inter, sans-serif; color: var(--au-ink); cursor: pointer; }
.au-gtab span { margin-left: 4px; font: 500 12px var(--au-mono); color: var(--au-muted); }
.au-gtab:hover { border-color: var(--au-ink); }
.au-gtab[aria-selected="true"] { background: var(--au-ink); border-color: var(--au-ink); color: var(--au-white); }
.au-gtab[aria-selected="true"] span { color: #CFCAC3; }
.au-gpanel { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.au-gpanel[hidden] { display: none; }
.au-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.au-cards .cat-cell { min-width: 0; }

/* Closing: red band */
.au-closing { padding: 144px 0 72px; background: var(--au-red); color: var(--au-white); text-align: center; }
.au-star { width: 56px; height: auto; margin: 0 auto 32px; }
.au-closing h2 { font-family: var(--au-display); font-size: clamp(60px, 10.2vw, 148px); line-height: .86; font-weight: 800; letter-spacing: -.045em; color: var(--au-white); }
.au-closing a.au-btn-light { margin-top: 48px; }
.au-closing small { display: block; margin-top: 88px; font: 500 11px/1.6 var(--au-mono); letter-spacing: .08em; text-transform: uppercase; color: #FFE3E1; }

/* The universe ends in its own band: no white gap above the shop footer (ftr.css gives it margin-top) */
.au ~ .ftr { margin-top: 0; }

@media (max-width: 900px) {
	.au { --au-gutter: 16px; }
	.au-split, .au-hero, .au-worldcup, .au-goggles, .au-maier-grid { grid-template-columns: minmax(0, 1fr); }
	.au-split { gap: 24px; }
	.au-hero { min-height: 0; }
	.au-hero-copy { padding: 40px 16px 56px; }
	.au-hero-media { min-height: 420px; order: -1; }
	.au-logo { width: 88px; margin-bottom: 28px; }
	/* The section nav scrolls sideways instead of disappearing */
	.au-secnav-brand { display: none; }
	.au-secnav .au-wrap { padding-right: 0; }
	.au-secnav nav { gap: 22px; overflow-x: auto; scrollbar-width: none; padding-right: 16px; }
	.au-secnav nav::-webkit-scrollbar { display: none; }
	.au-secnav nav a { flex: none; white-space: nowrap; }
	.au-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.au-strip img { height: 240px; }
	.au-worldcup-media img, .au-goggles-media img { min-height: 380px; }
	.au-worldcup-copy, .au-goggles-copy { padding: 56px 16px 72px; }
	.au-goggles-media { order: -1; }
	.au-helmets, .au-factory, .au-maier, .au-sketches, .au-gear { padding: 80px 0; }
	.au-helmet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; margin-top: 40px; }
	.au-helmet-grid img { height: 220px; }
	.au-helmet-grid img:nth-child(1), .au-helmet-grid img:nth-child(2) { grid-row: auto; }
	.au-helmet-grid img:nth-child(1) { grid-column: span 2; height: 300px; }
	.au-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
	.au-people img { height: 300px; }
	.au-people img:nth-child(2) { margin-top: 0; }
	.au-people img:nth-child(1) { grid-column: span 2; height: 360px; }
	.au-maier-grid { gap: 20px; margin-top: 40px; }
	.au-maier-grid img, .au-maier-grid .au-maier-archive img { height: 420px; }
	.au-maier-text { padding-bottom: 0; }
	.au-maier-wide { height: 200px; margin-top: 32px; }
	.au-sketch-row { margin-top: 40px; gap: 10px; }
	.au-sketch-row figure { flex-basis: 78vw; }
	.au-sketch-row img { height: 240px; }
	.au-film-frame { min-height: 520px; }
	.au-play { width: 84px; height: 84px; }
	.au-gtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.au-gtab { white-space: nowrap; }
	.au-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.au-closing { padding: 96px 0 56px; }
	.au-closing small { margin-top: 64px; }
}
