/* Wallspapers — public site
   Spruce ground, bone type, birch-bark ochre reserved for actions and licences. */
:root {
  --ink: #151c17;
  --spruce: #1b231e;
  --spruce-2: #222c26;
  --spruce-3: #2c3830;
  --rule: #3a473e;
  --bone: #ebe6d8;
  --lichen: #a9b29d;
  --ochre: #d9b77e;
  --ochre-hi: #e8c995;
  --ochre-ink: #2a2113;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1440px;
  --gutter: clamp(16px, 3.6vw, 48px);
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--spruce); color: var(--bone); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ochre); color: var(--ochre-ink); padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ochre); color: var(--ochre-ink); font: 600 15px/1 var(--sans); padding: 14px 22px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { background: var(--ochre-hi); }
.btn:active { transform: scale(.97); }
.btn--quiet { background: transparent; color: var(--bone); border: 1px solid var(--rule); }
.btn--quiet:hover { background: var(--spruce-3); border-color: var(--lichen); }
.link { color: var(--ochre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25); border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); transition: background .3s; }
.is-home .masthead:not(.is-scrolled) { background: linear-gradient(rgba(10, 14, 11, .55), transparent); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.masthead__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 28px; }
.wordmark { font: italic 400 28px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; font-variation-settings: "opsz" 144; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; text-decoration: none; color: var(--bone); opacity: .82; font-size: 15px; padding: 10px 12px; border-radius: 999px; transition: opacity .2s, background .2s; }
.nav__link:hover, .nav__link[aria-current], .nav__item.is-open > .nav__link { opacity: 1; background: color-mix(in srgb, var(--bone) 8%, transparent); }
button.nav__link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s; }
.nav__item.is-open > button.nav__link::after { transform: translateY(1px) rotate(-135deg); }
.menu-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; background: var(--spruce-2); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.menu-panel--narrow { width: 300px; grid-template-columns: 1fr; }
.nav__item.is-open .menu-panel { opacity: 1; visibility: visible; transform: none; }
.menu-panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 9px; text-decoration: none; }
.menu-panel a:hover { background: var(--spruce-3); }
.menu-panel strong { font-weight: 500; font-size: 15px; }
.menu-panel span { font-size: 13px; color: var(--lichen); }
.menu-panel hr { border: 0; border-top: 1px solid var(--rule); margin: 6px 4px; grid-column: 1 / -1; }
.menu-panel__all { grid-column: 1 / -1; color: var(--ochre); font-size: 14px; }
.search { position: relative; margin-left: auto; display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--spruce-2) 85%, transparent); border: 1px solid var(--rule); border-radius: 999px; padding: 0 16px; color: var(--lichen); min-width: 0; transition: border-color .2s, width .3s var(--ease); }
.search input { background: none; border: 0; color: var(--bone); font: inherit; font-size: 15px; padding: 10px 0; width: 240px; outline: none; min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { border-color: var(--ochre); }
.suggest { position: absolute; top: calc(100% + 8px); right: 0; width: min(420px, 92vw); background: var(--spruce-2); border: 1px solid var(--rule); border-radius: 14px; padding: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); z-index: 60; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 9px; text-decoration: none; color: var(--bone); }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--spruce-3); }
.suggest img, .suggest i { width: 44px; height: 30px; border-radius: 5px; object-fit: cover; flex: none; background: var(--spruce-3); }
.suggest span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.suggest small { color: var(--lichen); font-size: 12px; flex: none; }
.suggest__all { justify-content: center; color: var(--ochre) !important; font-size: 14px; }
.menu { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu i { display: block; width: 22px; height: 1.5px; background: var(--bone); margin: 6px 0; transition: transform .25s var(--ease); }
.menu[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero: rotating wallpapers, search first ---------- */
.hero { position: relative; min-height: min(92vh, 940px); margin-top: -64px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 9s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 70% at 22% 55%, rgba(12, 17, 13, .62), transparent 70%),
  linear-gradient(180deg, rgba(12, 17, 13, .35) 0%, transparent 30%, transparent 55%, var(--spruce) 100%); }
.hero__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px var(--gutter) 150px; }
.hero__title { font-size: clamp(48px, 8.6vw, 136px); font-weight: 300; letter-spacing: -0.04em; line-height: .92; max-width: 10ch; font-variation-settings: "opsz" 144; text-wrap: balance; animation: rise 1.1s var(--ease) both; }
.hero__lede { font-size: clamp(17px, 1.5vw, 21px); color: color-mix(in srgb, var(--bone) 86%, transparent); max-width: 46ch; margin: 22px 0 30px; animation: rise 1.1s .12s var(--ease) both; }
.hero__search { display: flex; gap: 8px; max-width: 620px; padding: 7px 7px 7px 22px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 70%, transparent); border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: rise 1.1s .22s var(--ease) both; }
.hero__search:focus-within { border-color: var(--ochre); }
.hero__search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--bone); font: inherit; font-size: 18px; }
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; animation: rise 1.1s .3s var(--ease) both; }
.hero__quick span { color: var(--lichen); margin-right: 4px; }
.hero__quick a { text-decoration: none; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 55%, transparent); border: 1px solid color-mix(in srgb, var(--bone) 18%, transparent); backdrop-filter: blur(8px); transition: border-color .2s; }
.hero__quick a:hover { border-color: var(--ochre); }
.hero__captions { position: absolute; right: var(--gutter); bottom: 44px; width: min(360px, 42vw); }
.hero__caption { position: absolute; right: 0; bottom: 26px; width: 100%; display: grid; gap: 2px; text-decoration: none; text-align: right; opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; }
.hero__caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__now { font-size: 12px; color: var(--ochre); }
.hero__caption strong { font: italic 400 22px/1.2 var(--serif); }
.hero__caption span:last-child { font-size: 13px; color: var(--lichen); }
.hero__caption:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero__dots { position: absolute; right: 0; bottom: 0; display: flex; gap: 6px; }
.hero__dots button { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: color-mix(in srgb, var(--bone) 30%, transparent); cursor: pointer; transition: background .3s, width .3s var(--ease); }
.hero__dots button[aria-selected="true"] { width: 40px; background: var(--ochre); }
.hero--empty { min-height: 72vh; background: radial-gradient(120% 90% at 80% 0%, var(--spruce-3), var(--ink)); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 5vw, 64px); }
.section--tight { padding-top: 12px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.015em; }
.page-head { padding-top: clamp(36px, 6vw, 80px); padding-bottom: 10px; }
.page-title { font-size: clamp(40px, 6vw, 80px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; display: flex; align-items: center; gap: 18px; text-wrap: balance; }
.count-line { color: var(--ochre); font-size: 15px; margin: 16px 0 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--lichen); max-width: 66ch; margin-top: 14px; }
.crumb { display: inline-block; color: var(--lichen); font-size: 15px; margin-bottom: 14px; text-decoration: none; }
.crumb::before { content: "← "; }
.crumb:hover { color: var(--bone); }
.empty { color: var(--lichen); font-size: 18px; padding: 48px 0; max-width: 60ch; }
.more { text-align: center; margin: 28px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--spruce-2); border: 1px solid var(--rule); transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--lichen); background: var(--spruce-3); }
.chips small { color: var(--lichen); font-size: 12px; }

/* ---------- Sub-categories & topics ---------- */
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding-top: 10px; }
.subcat { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; isolation: isolate; text-decoration: none; display: flex; align-items: flex-end; padding: 12px 14px; }
.subcat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.subcat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(10, 14, 11, .85)); }
.subcat:hover img { transform: scale(1.05); }
.subcat__name { font: 400 19px/1.15 var(--serif); }
.subcat__count { position: absolute; top: 10px; right: 10px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(10, 14, 11, .55); backdrop-filter: blur(6px); }
.chips--subs a { background: color-mix(in srgb, var(--ochre) 10%, var(--spruce-2)); border-color: color-mix(in srgb, var(--ochre) 35%, var(--rule)); }
.cat-card__subs { font-size: 13px; color: #e2d6bd; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.az a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--rule); text-decoration: none; font-weight: 500; transition: border-color .2s, background .2s; }
.az a:hover { border-color: var(--ochre); background: var(--spruce-2); }
.topics { columns: 3 280px; column-gap: 48px; }
.topics__group { break-inside: avoid; margin-bottom: 30px; scroll-margin-top: 100px; }
.topics__group h2 { font: 300 40px/1 var(--serif); color: var(--ochre); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.topics__group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.topics__group li { display: flex; justify-content: space-between; gap: 12px; }
.topics__group a { text-decoration: none; }
.topics__group a:hover { color: var(--ochre); }
.topics__group span { color: var(--lichen); font-size: 13px; text-align: right; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 18px; position: sticky; top: 62px; z-index: 20; background: linear-gradient(var(--spruce) 75%, transparent); }
.segmented { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--spruce-2); border: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.segmented::-webkit-scrollbar { display: none; }
.segmented a { flex: none; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px; color: var(--lichen); transition: color .2s, background .2s; }
.segmented a:hover { color: var(--bone); }
.segmented a[aria-current] { background: var(--bone); color: var(--ink); font-weight: 500; }

/* ---------- Device finder ---------- */
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.device { display: grid; justify-items: start; gap: 4px; padding: 20px; border-radius: 14px; text-decoration: none; background: var(--spruce-2); border: 1px solid var(--rule); transition: border-color .2s, transform .2s var(--ease); }
.device svg { color: var(--ochre); margin-bottom: 10px; }
.device strong { font: 400 21px/1.2 var(--serif); }
.device span { color: var(--lichen); font-size: 14px; }
.device:hover { border-color: var(--ochre); transform: translateY(-2px); }

/* ---------- Category shelf & rails ---------- */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.shelf__item { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; text-decoration: none; scroll-snap-align: start; isolation: isolate; }
.shelf__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .7s var(--ease); }
.shelf__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(10, 14, 11, .82)); }
.shelf__item:hover img { transform: scale(1.05); }
.shelf__name { position: absolute; left: 16px; right: 16px; bottom: 14px; font: 400 22px/1.1 var(--serif); }
.shelf__count { position: absolute; right: 12px; top: 12px; font-size: 12px; background: rgba(10, 14, 11, .55); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.rail { list-style: none; padding: 0 0 10px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.rail li { scroll-snap-align: start; }
.rail__item { position: relative; display: block; text-decoration: none; }
.rail__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rail__item:hover img { transform: scale(1.04); }
.rail__rank { position: absolute; left: 12px; top: 8px; font: 300 46px/1 var(--serif); color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.rail__title { display: block; padding-top: 10px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Masonry ---------- */
.grid { columns: 4 280px; column-gap: 14px; }
.grid.is-masonry { columns: auto; display: flex; gap: 14px; align-items: flex-start; }
.grid__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.grid.is-masonry .tile { margin: 0; }
.tile { display: block; break-inside: avoid; margin-bottom: 14px; text-decoration: none; }
.tile__img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.tile__badge { position: absolute; top: 10px; left: 10px; font: 600 11px/1 var(--sans); letter-spacing: .02em; padding: 5px 7px; border-radius: 5px; background: rgba(10, 14, 11, .58); backdrop-filter: blur(6px); color: #f3efe6; }
.tile__over { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 34px 14px 12px; background: linear-gradient(transparent, rgba(8, 11, 9, .82)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease); }
.tile__title { font: 400 17px/1.25 var(--serif); color: #f3efe6; }
.tile__meta { font-size: 12px; color: #c9cbbd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile:hover .tile__img img { transform: scale(1.035); }
.tile:hover .tile__over, .tile:focus-visible .tile__over { opacity: 1; transform: none; }
@media (hover: none) { .tile__over { opacity: 1; transform: none; padding-top: 26px; } .tile__meta { display: none; } }
.grid--art .tile__img { padding: 12px; background: #e6dfcc !important; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.grid--art .tile__img img { box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.grid--art .tile__badge { top: 20px; left: 20px; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.collection { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; text-decoration: none; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.collection::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 40%, rgba(10, 14, 11, .85)); }
.collection:hover img { transform: scale(1.05); }
.collection__name { font: 400 24px/1.1 var(--serif); }
.collection__count { font-size: 13px; color: #c9cbbd; }

/* ---------- Fine art band ---------- */
.gallery-band { background: #e9e3d3; color: #1f241f; padding-block: clamp(56px, 8vw, 104px); margin-block: clamp(24px, 4vw, 48px); }
.gallery-band__head { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: end; margin-bottom: 44px; }
.gallery-band h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 300; letter-spacing: -0.03em; }
.gallery-band p { color: #4a5048; margin: 0; max-width: 46ch; }
.gallery-band .btn--quiet { color: #1f241f; border-color: #b9b19c; }
.gallery-band .btn--quiet:hover { background: #ded6c2; }
.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); align-items: end; }
.frame { text-decoration: none; display: grid; gap: 14px; }
.frame__mat { display: block; padding: clamp(10px, 1.4vw, 18px); background: #f6f2e8; border: 6px solid #2a2219; box-shadow: 0 24px 40px -18px rgba(30, 24, 14, .55); transition: transform .4s var(--ease); }
.frame:hover .frame__mat { transform: translateY(-4px); }
.frame__mat img { width: 100%; object-fit: cover; }
.frame__label { font-size: 13px; color: #4a5048; display: grid; }
.frame__label em { font: italic 400 16px/1.3 var(--serif); color: #1f241f; }

/* ---------- Colour swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.swatch { aspect-ratio: 1; border-radius: 12px; display: flex; align-items: flex-end; padding: 10px; text-decoration: none; font-size: 13px; transition: transform .2s var(--ease); }
.swatch span { background: rgba(10, 14, 11, .5); padding: 2px 8px; border-radius: 999px; color: #f4f1e8; }
.swatch:hover { transform: translateY(-3px); }
.swatch--red { background: #a8382f; } .swatch--orange { background: #d07a2c; } .swatch--brown { background: #75533a; }
.swatch--yellow { background: #d8b33c; } .swatch--green { background: #4f7a43; } .swatch--teal { background: #2f7d7a; }
.swatch--blue { background: #2f5d9a; } .swatch--purple { background: #6a4d8f; } .swatch--pink { background: #c96f94; }
.swatch--black { background: #0d0f0e; border: 1px solid var(--rule); } .swatch--grey { background: #7d847f; } .swatch--white { background: #e9e7e1; }
.dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; flex: none; }

/* ---------- Promise ---------- */
.promise { border-top: 1px solid var(--rule); margin-top: 24px; }
.promise__title { font-size: clamp(30px, 3.6vw, 50px); font-weight: 300; letter-spacing: -0.025em; max-width: 20ch; margin-bottom: 36px; }
.promise__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.promise h3 { font-size: 22px; margin-bottom: 8px; }
.promise p { color: var(--lichen); margin: 0; }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card { border-top: 1px solid var(--rule); padding-top: 18px; }
.post-card time, .journal-item time { color: var(--lichen); font-size: 14px; }
.post-card h3 { font-size: 24px; margin: 8px 0 10px; letter-spacing: -0.01em; }
.post-card h3 a, .journal-item h2 a { text-decoration: none; }
.post-card h3 a:hover, .journal-item h2 a:hover { color: var(--ochre); }
.post-card p { color: var(--lichen); font-size: 16px; }
.journal-list { max-width: 980px; }
.journal-item { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.journal-item h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; letter-spacing: -0.015em; }
.journal-item p { color: var(--lichen); max-width: 62ch; }

/* ---------- Categories page ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { position: relative; min-height: 340px; border-radius: 14px; overflow: hidden; text-decoration: none; isolation: isolate; display: flex; align-items: flex-end; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 25%, rgba(10, 14, 11, .9)); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card__body { display: grid; gap: 6px; padding: 22px; }
.cat-card__name { font: 300 34px/1.05 var(--serif); letter-spacing: -0.02em; }
.cat-card__blurb { font-size: 14px; color: #c9cbbd; }
.cat-card__count { font-size: 13px; color: var(--ochre); }

/* ---------- Wallpaper page ---------- */
.wp__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--lichen); }
.crumbs a { text-decoration: none; }
.crumbs a + a::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a:hover { color: var(--bone); }
.wp__nav { display: flex; gap: 8px; }
.wp__nav a { font-size: 14px; text-decoration: none; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; }
.wp__nav a:hover { border-color: var(--lichen); }
.wp__stage { position: relative; margin: 0; background: radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--tone) 50%, var(--spruce)), var(--spruce)); padding: clamp(12px, 2.4vw, 32px) var(--gutter) 0; }
.wp__stage img { max-height: 80vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); cursor: zoom-in; }
.wp__stage--art img { border-radius: 0; padding: clamp(10px, 1.6vw, 22px); background: #f3eee2; border: 8px solid #2a2219; }
.wp__zoom { position: absolute; right: calc(var(--gutter) + 14px); top: calc(clamp(12px, 2.4vw, 32px) + 14px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 14, 11, .55); backdrop-filter: blur(8px); font-size: 14px; cursor: pointer; opacity: .85; transition: opacity .2s; }
.wp__zoom:hover { opacity: 1; }
.wp__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); padding-top: clamp(28px, 4vw, 48px); align-items: start; }
.wp__title { font-size: clamp(36px, 5vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
.wp__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--lichen); font-size: 14px; margin: 18px 0 28px; }
.fact-chip { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; }
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; max-width: 66ch; font-variation-settings: "opsz" 14; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; letter-spacing: -0.015em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.prose a { color: var(--ochre); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { font-weight: 600; }
.prose code { font-family: var(--sans); font-size: .85em; background: var(--spruce-3); padding: 1px 6px; border-radius: 4px; }
.preview { margin: 44px 0 8px; padding: 28px; border-radius: 16px; background: linear-gradient(160deg, var(--spruce-2), color-mix(in srgb, var(--tone) 18%, var(--spruce-2))); border: 1px solid var(--rule); }
.preview h2 { font-size: 24px; margin-bottom: 24px; }
.preview__devices { display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.mock__screen { position: relative; overflow: hidden; background: #000; }
.mock__screen img { width: 100%; height: 100%; object-fit: cover; }
.mock--laptop { flex: 0 1 440px; }
.mock--laptop .mock__screen { aspect-ratio: 16 / 10; border: 10px solid #0d0f0e; border-bottom-width: 14px; border-radius: 12px 12px 0 0; }
.mock__base { height: 12px; margin: 0 -7%; background: linear-gradient(#a7a9a4, #6d706b); border-radius: 0 0 14px 14px; }
.mock__dock { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 40%; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.mock--phone { flex: 0 0 150px; }
.mock--phone .mock__screen { aspect-ratio: 9 / 19.5; border: 7px solid #0d0f0e; border-radius: 26px; }
.mock__time { position: absolute; top: 18%; left: 0; right: 0; text-align: center; font: 300 36px/1 var(--sans); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.mock__date { position: absolute; top: 11%; left: 0; right: 0; text-align: center; font-size: 9px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.muted-note { font-size: 13px; color: var(--lichen); text-align: center; margin: 18px 0 0; }
.tags { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14px; padding: 6px 13px; border: 1px solid var(--rule); border-radius: 999px; color: var(--lichen); transition: color .2s, border-color .2s; }
.tags a:hover { color: var(--bone); border-color: var(--lichen); }
.credit { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
.credit h2 { font-size: 26px; margin-bottom: 18px; }
.credit .plate { background: var(--spruce-2); backdrop-filter: none; border-color: var(--rule); }
.credit__note { color: var(--lichen); margin: 18px 0 14px; max-width: 62ch; }
.credit__line { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.credit__line code { flex: 1 1 320px; font: 14px/1.5 var(--sans); background: var(--spruce-2); border: 1px dashed var(--rule); padding: 12px 14px; border-radius: var(--radius); color: var(--bone); }
.credit__report { font-size: 14px; color: var(--lichen); margin-top: 22px; }
.credit__report a { color: var(--bone); }
.howto { margin-top: 32px; border: 1px solid var(--rule); border-radius: 12px; padding: 0 20px; }
.howto summary { cursor: pointer; padding: 16px 0; font: 400 20px var(--serif); list-style: none; display: flex; justify-content: space-between; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::after { content: "+"; color: var(--ochre); font-family: var(--sans); }
.howto[open] summary::after { content: "−"; }
.howto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; padding-bottom: 20px; }
.howto h3 { font: 600 14px var(--sans); margin-bottom: 4px; }
.howto p { color: var(--lichen); font-size: 15px; margin: 0; }
.wp__aside { position: sticky; top: 84px; display: grid; gap: 14px; }
.downloads { background: var(--spruce-2); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.downloads h2 { font-size: 26px; margin-bottom: 16px; }
.downloads h3 { font: 500 13px var(--sans); color: var(--lichen); margin: 18px 0 6px; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius); text-decoration: none; font-size: 15px; transition: background .15s; }
.dl span:last-child { color: var(--lichen); font-variant-numeric: tabular-nums; }
.dl:hover { background: var(--spruce-3); }
.dl strong { font-weight: 600; }
.dl--primary { background: var(--spruce-3); margin: 8px 0 0; padding: 13px 16px; }
.dl--primary:hover { background: var(--rule); }
.dl--best { background: var(--ochre); color: var(--ochre-ink); margin: 0; padding: 13px 16px; }
.dl--best small { display: block; font-size: 12px; opacity: .8; }
.dl--best span:last-child { color: var(--ochre-ink); opacity: .8; }
.dl--best:hover { background: var(--ochre-hi); }
.dl.is-best { outline: 1px solid var(--ochre); }
.downloads__note { font-size: 13px; color: var(--lichen); margin: 16px 0 0; }
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share__btn { display: inline-flex; justify-content: center; padding: 11px; border-radius: 999px; border: 1px solid var(--rule); background: none; font-size: 14px; text-decoration: none; cursor: pointer; transition: border-color .2s; }
.share__btn:hover { border-color: var(--lichen); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 8, 7, .96); display: grid; place-items: center; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.lightbox button { position: fixed; top: 16px; right: 16px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 14, 11, .6); cursor: pointer; }

.dlbar { display: none; }

/* ---------- Provenance plate ---------- */
.plate { display: grid; grid-template-columns: repeat(3, auto); margin: 0; border: 1px solid color-mix(in srgb, var(--bone) 28%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--spruce) 72%, transparent); width: fit-content; max-width: 100%; }
.plate > div { padding: 12px 18px; min-width: 0; }
.plate > div + div { border-left: 1px solid color-mix(in srgb, var(--bone) 18%, transparent); }
.plate dt { font-size: 12px; color: var(--lichen); margin-bottom: 2px; }
.plate dd { margin: 0; font: italic 400 18px/1.3 var(--serif); overflow-wrap: anywhere; }
.plate dd a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--ochre) 60%, transparent); }
.plate dd a:hover { color: var(--ochre); }
.plate dd a[rel~="license"] { color: var(--ochre); }

/* ---------- Articles, pages, contact ---------- */
.article { max-width: 860px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: 48px; }
.article__head { margin-bottom: 40px; }
.article__meta { font-size: 14px; color: var(--lichen); margin-top: 20px; }
.prose--long { font-size: 20px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 7vw, 88px); padding-bottom: 72px; }
.contact__intro p:not(.lede) { color: var(--lichen); max-width: 52ch; }
.form { display: grid; gap: 18px; align-content: start; }
.field label { display: block; font-size: 14px; color: var(--lichen); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--bone); background: var(--spruce-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); }
.field--error input, .field--error textarea { border-color: #d77a6a; }
.field__error { color: #e59a8b; font-size: 14px; margin: 6px 0 0; }
.form__fine { font-size: 13px; color: var(--lichen); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { background: var(--spruce-2); border: 1px solid var(--rule); border-left: 3px solid var(--ochre); border-radius: var(--radius); padding: 28px; align-self: start; }
.notice h2 { font-size: 28px; margin-bottom: 8px; }
.search--big { margin: 26px 0 0; max-width: 640px; padding: 6px 6px 6px 22px; }
.search--big input { flex: 1; width: auto; font-size: 17px; }

/* ---------- Pager, ads ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--lichen); font-size: 15px; }
.pager a { color: var(--bone); text-decoration: none; padding: 10px 18px; border: 1px solid var(--rule); border-radius: 999px; }
.pager a:hover { border-color: var(--ochre); }
.ad { max-width: var(--wrap); margin: 24px auto; padding-inline: var(--gutter); text-align: center; min-height: 120px; }
.wp__main .ad, .wp__aside .ad, .article .ad { padding-inline: 0; }
.ad__label { display: block; font-size: 11px; color: var(--lichen); margin-bottom: 6px; opacity: .8; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(48px, 8vw, 96px); background: var(--ink); border-top: 1px solid var(--rule); }
.footer__promise { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.footer__line { font: 300 clamp(22px, 2.4vw, 32px)/1.25 var(--serif); max-width: 34ch; margin: 0; letter-spacing: -0.01em; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 32px; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer__lead p { color: var(--lichen); max-width: 36ch; margin: 16px 0 0; font-size: 15px; }
.footer nav { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.footer nav h2 { font: 500 13px var(--sans); color: var(--lichen); margin-bottom: 4px; }
.footer nav a { text-decoration: none; color: var(--bone); opacity: .82; }
.footer nav a:hover { opacity: 1; color: var(--ochre); }
.footer__base { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 36px; color: var(--lichen); font-size: 13px; border-top: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 480px; margin-left: auto; display: flex; gap: 16px; align-items: center; background: var(--spruce-3); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; z-index: 60; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); font-size: 14px; }
.consent p { margin: 0; flex: 1; }
.consent button { background: var(--ochre); color: var(--ochre-ink); border: 0; border-radius: 999px; padding: 9px 18px; font: 600 14px var(--sans); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .wp__layout { grid-template-columns: 1fr; }
  .wp__aside { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__lead { grid-column: 1 / -1; }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .collections, .frames { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .gallery-band__head { grid-template-columns: 1fr; gap: 14px; }
  .search input { width: 180px; }
}
@media (max-width: 1180px) {
  .dlbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--ochre); color: var(--ochre-ink); text-decoration: none; font-weight: 600; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--ease), opacity .3s; }
  .dlbar small { font-weight: 500; font-size: 13px; opacity: .8; }
  .dlbar.is-hidden { transform: translateY(140%); opacity: 0; }
  .wp { padding-bottom: 72px; }
}
@media (max-width: 900px) {
  .masthead__inner { gap: 10px; flex-wrap: wrap; }
  .menu { display: block; order: 2; margin-left: auto; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .search input { width: 100%; }
  .nav { order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; display: none; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 17px; opacity: 1; }
  .nav__link:hover { background: none; }
  .menu-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: none; padding: 4px 0 10px; grid-template-columns: 1fr 1fr; }
  .nav__item.is-open .menu-panel { display: grid; }
  .menu-panel--narrow { grid-template-columns: 1fr 1fr; }
  .hero { margin-top: -112px; min-height: 88vh; }
  .hero::after { background: linear-gradient(180deg, rgba(12, 17, 13, .55) 0%, rgba(12, 17, 13, .5) 45%, rgba(12, 17, 13, .35) 70%, var(--spruce) 100%); }
  .hero__lede { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
  .is-home .masthead:not(.is-scrolled) .search { display: none; }
  .is-home .hero { margin-top: -64px; }
  .hero__inner { padding-top: 160px; padding-bottom: 170px; }
  .hero__captions { left: var(--gutter); width: auto; }
  .hero__caption { text-align: left; }
  .hero__dots { left: 0; right: auto; }
  .toolbar { top: 108px; }
  .contact { grid-template-columns: 1fr; }
  .posts, .promise__cols { grid-template-columns: 1fr; }
  .journal-item { grid-template-columns: 1fr; gap: 6px; }
  .plate { grid-template-columns: 1fr; width: 100%; }
  .plate > div + div { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--bone) 18%, transparent); }
  .footer__promise { flex-direction: column; align-items: flex-start; }
  .rail { grid-auto-columns: 70%; }
  .howto__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid { columns: 2 140px; column-gap: 10px; }
  .grid.is-masonry, .grid__col { gap: 10px; }
  .tile { margin-bottom: 10px; }
  .tile__badge { top: 7px; left: 7px; }
  .devices { grid-template-columns: 1fr 1fr; }
  .device { padding: 16px; }
  .device:last-child { grid-column: 1 / -1; }
  .collections, .frames, .cat-grid { grid-template-columns: 1fr; }
  .frames { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .shelf { grid-auto-columns: 58%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__search { padding-left: 16px; }
  .hero__search .btn { padding: 12px 16px; }
  .preview { padding: 18px; }
  .mock--phone { flex-basis: 96px; }
  .mock__time { font-size: 22px; }
  .wp__zoom span, .wp__zoom { font-size: 0; gap: 0; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
