/* Brand universe layout for Didriksons (views/brand/universe/layout/didriksons.html). Everything is scoped under .du */

@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/figtree-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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/plexmono-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;
}

.du {
	--du-slate: #1E2A30; --du-stage: #27353B; --du-ink: #34444A; --du-muted: #56656B; --du-soft: #8FA0A6; --du-pale: #D3DBDD;
	--du-line: #CDD4D5; --du-paper: #F4F5F3; --du-mist: #E7EBEA; --du-white: #FFFFFF; --du-print: #F3EFE6;
	--du-saffron: #F2C14E; --du-gold: #7A4F00;
	--du-wrap: 1280px; --du-gutter: 40px;
	--du-mono: 'IBM Plex Mono', ui-monospace, monospace;
	display: block; background: var(--du-paper); color: var(--du-slate); font-family: Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
.du * { box-sizing: border-box; }
.du img { max-width: 100%; display: block; }
/* Links: the text sits in a span, because the brand CSS colors <a> with !important */
.du a, .du a:hover { text-decoration: none; }
.du .du-link { color: var(--du-slate); }
.du a:hover .du-link { color: var(--du-gold); }
.du :focus-visible { outline: 2px solid var(--du-saffron); outline-offset: 3px; }
.du p, .du h1, .du h2, .du h3, .du figure, .du ol, .du ul, .du dl, .du dd { margin: 0; }
.du h1, .du h2, .du h3 { text-wrap: balance; }
.du p, .du dd { text-wrap: pretty; }
.du-wrap { max-width: var(--du-wrap); margin: 0 auto; padding: 0 var(--du-gutter); }
.du-kick { margin-bottom: 18px !important; font: 500 12px/1 var(--du-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--du-muted); }
.du-h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -.018em; color: inherit; }
.du-cap { font: 500 12px/1.5 var(--du-mono); letter-spacing: .04em; color: var(--du-muted); }
.du-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.du-under { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons: the background sits on the link, the text in its span */
.du a.du-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s ease, background .2s ease; }
.du a.du-btn:hover { transform: translateY(-1px); }
.du a.du-btn-accent { background: var(--du-saffron); }
.du a.du-btn-accent .du-link, .du a.du-btn-accent:hover .du-link { color: var(--du-slate); }
.du a.du-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .5); }
.du a.du-btn-ghost .du-link, .du a.du-btn-ghost:hover .du-link { color: #fff; }
.du a.du-btn-light { background: #fff; }
.du a.du-btn-light .du-link, .du a.du-btn-light:hover .du-link { color: var(--du-slate); }
.du a.du-btn-dark { background: var(--du-slate); color: #fff; }
.du a.du-btn-dark .du-link, .du a.du-btn-dark:hover .du-link { color: #fff; }

/* Breadcrumbs, as on the category pages */
.du-crumbs { padding-top: 16px; padding-bottom: 16px; }
.du-crumbs nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--du-muted); }
.du-crumb { color: var(--du-muted); }
.du-crumbs a:hover .du-crumb { color: var(--du-slate); }
.du-crumbs-current { color: var(--du-slate); }

/* Hero: copy on slate, photo beside it */
.du-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 780px; background: var(--du-slate); color: #fff; }
.du-hero-copy { padding: 88px 64px 64px 80px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.du-logo { width: 188px; height: auto; filter: invert(1); }
.du-hero .du-kick { color: var(--du-saffron); }
.du-hero h1 { font-size: clamp(48px, 6vw, 88px); line-height: .96; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.du-hero h1 span { color: var(--du-saffron); }
.du-hero-text { margin-top: 32px !important; max-width: 480px; font-size: 19px; line-height: 1.6; color: var(--du-pale); }
.du-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.du-tagline { font: 500 12px/1 var(--du-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--du-soft); }
.du-hero-media { position: relative; min-height: 520px; }
.du-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }

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

/* Philosophy */
.du-intro { padding: 128px 0 112px; }
.du-intro .du-split { align-items: start; }
.du-body { display: flex; flex-direction: column; gap: 18px; max-width: 580px; font-size: 19px; line-height: 1.65; color: var(--du-ink); }
.du-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 80px !important; padding: 32px 0 0; list-style: none; border-top: 1px solid var(--du-line); }
.du-facts li { display: flex; flex-direction: column; gap: 12px; }
.du-facts b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.du-facts sup { font-size: 22px; font-weight: 700; vertical-align: .9em; line-height: 0; }
.du-facts span { font-size: 15px; line-height: 1.55; color: var(--du-muted); }

/* History: chapter picker, archive photos shown as prints */
.du-history { background: var(--du-slate); color: #fff; padding: 112px 0 120px; }
.du-history-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.du-history .du-kick { color: var(--du-saffron); }
.du-counter { font: 500 13px/1 var(--du-mono); letter-spacing: .1em; color: var(--du-soft); }
.du-eras { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.du-era { appearance: none; background: transparent; border: 0; border-radius: 0; padding: 18px 16px 16px; min-height: 48px; font: 500 14px/1 var(--du-mono); color: #A9B6BA; cursor: pointer; transition: color .2s; }
.du-era:hover { color: #fff; }
.du-era[aria-selected="true"] { color: var(--du-saffron); box-shadow: inset 0 -3px 0 var(--du-saffron); }
.du-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; margin-top: 56px; }
.du-panel[hidden] { display: none; }
.du-text { min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.du-year { font-size: clamp(72px, 8vw, 112px); line-height: .9; font-weight: 800; letter-spacing: -.04em; color: var(--du-saffron); }
.du-panel h3 { margin-top: 24px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.du-panel .du-text > p:not(.du-year) { margin-top: 18px; max-width: 500px; font-size: 18px; line-height: 1.7; color: var(--du-pale); }
.du-arrows { display: flex; gap: 12px; margin-top: 36px; }
.du-arrow { appearance: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.du-arrow:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.du-stage { position: relative; height: 500px; border-radius: 6px; overflow: hidden; background: var(--du-stage); display: flex; align-items: center; justify-content: center; }
.du-stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.du-print { background: var(--du-print); padding: 10px 10px 12px; box-shadow: 0 22px 48px rgba(0, 0, 0, .42); transform: rotate(-1.6deg); }
.du-print img { width: auto; height: auto; max-width: 440px; max-height: 360px; }
.du-stage-two > .du-print:first-child { transform: rotate(-1.6deg) translateX(56px); }
.du-stage-two > .du-print:first-child img { max-width: 380px; }
.du-print-small { position: absolute; left: 36px; bottom: 40px; padding: 8px 8px 10px; transform: rotate(3.2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.du-print-small img { max-width: 220px; max-height: 210px; }
.du-history .du-cap { display: block; margin-top: 14px; color: #A9B6BA; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
	.du-panel:not([hidden]) { animation: du-fade .45s ease; }
}
@keyframes du-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Glossary */
.du-glossary { padding: 128px 0 120px; }
.du-oneline { margin-bottom: 56px !important; }
.du-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.du-trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.du-trio .du-cap { display: block; margin-top: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.du-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px !important; border-top: 1px solid var(--du-line); }
.du-terms > div { padding: 30px 32px; border-left: 1px solid var(--du-line); }
.du-terms > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.du-terms > div:nth-child(-n+3) { border-bottom: 1px solid var(--du-line); }
.du-terms dt { margin-bottom: 10px; font-size: 22px; font-weight: 700; }
.du-terms dd { font-size: 16px; line-height: 1.6; color: var(--du-ink); }

/* The classic: full-bleed photo */
.du-classic { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; background: #3A2A26; color: #fff; }
.du-classic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.du-classic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 20, 20, .78) 0%, rgba(24, 20, 20, .45) 38%, rgba(24, 20, 20, 0) 66%); }
.du-classic .du-wrap { position: relative; width: 100%; }
.du-classic .du-kick { color: var(--du-saffron); }
.du-classic h2 { max-width: 560px; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.du-classic p:not(.du-kick) { margin: 22px 0 32px; max-width: 460px; font-size: 18px; line-height: 1.6; color: #F0E7E3; }

/* Family: adults first, then the kids' classics */
.du-family { padding: 128px 0 112px; }
.du-family-head { align-items: end; margin-bottom: 48px; }
.du-family-head > p { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--du-ink); }
.du-collage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(232px, 1fr)); gap: 16px; }
.du-collage > div { overflow: hidden; border-radius: 6px; }
.du-collage > div:first-child { grid-row: span 2; min-height: 480px; }
.du-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.du-collage > div:hover img, .du-kid:hover img { transform: scale(1.03); }
.du-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.du a.du-chip { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--du-slate); font-weight: 600; font-size: 15px; transition: background .2s; }
.du a.du-chip:hover { background: var(--du-slate); }
.du a.du-chip:hover .du-link { color: #fff; }
.du-kids-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 104px 0 32px; padding-top: 56px; border-top: 1px solid var(--du-line); }
.du-kids-head h3 { font-size: 36px; line-height: 1.06; font-weight: 800; letter-spacing: -.015em; }
.du-kids-head a { font-weight: 600; font-size: 15px; }
.du-kids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.du a.du-kid { display: block; background: #fff; border-radius: 6px; overflow: hidden; }
.du-kid-media { display: block; overflow: hidden; }
.du-kid-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.du-kid-text { display: block; padding: 20px 22px 24px; }
.du-kid-text strong { display: block; font-size: 21px; font-weight: 800; color: var(--du-slate); }
.du-kid-text span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--du-ink); }

/* Gear: tabs with the product list's own cards (cat.css) */
.du-gear { background: var(--du-white); padding: 112px 0; }
.du-gear > .du-wrap { display: flex; flex-direction: column; gap: 40px; }
.du-gear-head { align-items: end; gap: 48px; }
.du-gear-head > p { font-size: 17px; line-height: 1.65; color: var(--du-muted); }
.du-gtabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--du-line); }
.du-gtab { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 18px; min-height: 44px; font: 600 15px Figtree, sans-serif; color: var(--du-muted); cursor: pointer; }
.du-gtab span { font: 500 12px var(--du-mono); color: var(--du-soft); margin-left: 6px; }
.du-gtab:hover { color: var(--du-slate); }
.du-gtab[aria-selected="true"] { color: var(--du-slate); border-bottom-color: var(--du-saffron); }
.du-gpanel { display: flex; flex-direction: column; gap: 24px; }
.du-gpanel[hidden] { display: none; }
.du-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.du-cards .cat-cell { min-width: 0; }
.du-more { align-self: flex-start; font-weight: 600; font-size: 15px; }
.du-gear-foot { display: flex; justify-content: center; padding-top: 8px; }

/* Why */
.du-why { padding: 112px 0 120px; background: var(--du-mist); }
.du-why-body { max-width: 580px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--du-ink); }
.du-why-body .du-btn { margin-top: 12px; }

/* Closing band */
.du-closing { background: var(--du-slate); color: #fff; padding: 96px 0 56px; }
.du-closing-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.du-closing-row p { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.du-closing-row img { width: 188px; height: auto; filter: invert(1); }
.du-closing small { display: block; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font: 400 11px/1.6 var(--du-mono); letter-spacing: .04em; color: var(--du-soft); }

@media (max-width: 900px) {
	.du { --du-gutter: 16px; }
	.du-split, .du-hero, .du-panel, .du-trio, .du-terms { grid-template-columns: minmax(0, 1fr); }
	.du-split { gap: 28px; }
	.du-hero { min-height: 0; }
	.du-hero-copy { padding: 48px 16px 40px; gap: 32px; }
	.du-hero-media { min-height: 380px; order: -1; }
	.du-logo { width: 148px; }
	.du-secnav nav { display: none; }
	.du-intro, .du-glossary, .du-family { padding: 80px 0; }
	.du-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px !important; }
	.du-facts b { font-size: 34px; }
	.du-history { padding: 80px 0; }
	.du-eras { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.du-era { white-space: nowrap; }
	.du-panel { gap: 28px; margin-top: 32px; }
	.du-text { min-height: 0; }
	.du-stage { height: 380px; }
	.du-print img { max-width: 260px; max-height: 300px; }
	.du-stage-two > .du-print:first-child { transform: rotate(-1.6deg); }
	.du-print-small { display: none; }
	.du-terms > div, .du-terms > div:nth-child(3n+1) { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--du-line); }
	.du-classic { min-height: 560px; }
	.du-classic::before { background: linear-gradient(180deg, rgba(24, 20, 20, .25) 0%, rgba(24, 20, 20, .7) 100%); }
	.du-classic .du-wrap { align-self: flex-end; padding-bottom: 48px; }
	.du-collage { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.du-collage > div:first-child { grid-row: auto; min-height: 320px; }
	.du-collage > div { min-height: 240px; }
	.du-kids-head { margin-top: 64px; }
	.du-kids, .du-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.du-gear { padding: 80px 0; }
	.du-gtabs { flex-wrap: nowrap; overflow-x: auto; }
	.du-gtab { white-space: nowrap; }
	.du-why { padding: 80px 0; }
	.du-closing small { margin-top: 48px; }
}

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