/* ───────────────────────────────────────────────────────────────────────────
   The Arctic Marketplace – Nordic editorial theme
   Misty fjord blue-grey palette, deep ink text, one restrained accent (glacier slate).
   Headings: Newsreader (refined serif). Body: Inter.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
  /* Calm Nordic fjord palette: misty blue-grey page, slightly deeper slate surfaces, deep ink text. */
  --bg: #e5e9ea;
  --surface: #d7dee0;
  --card: #dde3e5;
  --card-2: #d3dadd;
  --field: #eef1f2;
  --media: #d2d9dc;
  --media-soft: #e1e6e7;
  --tint: #ccd8dc;
  --border: #b9c3c7;
  --line: #c8d0d3;
  --text: #15191c;
  --ink: #15191c;
  --muted: #535c62;
  --accent: #2a6475;
  /* deep fjord night (hero zone, footer) + aurora/glacier accents */
  --fjord: #0a1722;
  --fjord-2: #10263a;
  --fjord-3: #18354d;
  --glacier: #7fdbe8;
  --aurora-1: #5cc8d9;
  --aurora-2: #4fd1a9;
  --aurora-3: #8796ff;
  --aurora: linear-gradient(115deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  --ease: cubic-bezier(.2,.7,.2,1);
  --r-lg: 20px;
  --r-md: 14px;
  --accent-ink: #ffffff;
  --ok: #276b44;
  --warn: #8f5812;
  --info: #4d4887;
  --danger: #a3392a;
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: none;
  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --serif: 'Newsreader Variable', 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow, .label { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 600; color: var(--muted); margin: 0 0 .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-arrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.link-arrow:hover { opacity: .7; }

/* ── header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(229,233,234,.94); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.site-header.overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.site-header.overlay::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10,14,18,.38), transparent); pointer-events: none; z-index: -1; transition: opacity .3s; }
.site-header.overlay.is-solid, .site-header.overlay.menu-open { background: rgba(229,233,234,.97); color: var(--ink); border-color: var(--line); backdrop-filter: saturate(150%) blur(12px); }
.site-header.overlay.is-solid::before, .site-header.overlay.menu-open::before { opacity: 0; }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; max-width: 1600px; }
.site-header a { text-decoration: none; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 10px; color: inherit; white-space: nowrap; }
.brand .wordmark { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; line-height: 1; }
.brand .wordmark small { display: block; font-family: var(--sans); font-size: .56rem; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; opacity: .75; text-align: center; }
.nav { display: none; gap: 26px; }
.nav a { font-size: .8rem; font-weight: 500; letter-spacing: .06em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: .8rem; font-weight: 500; letter-spacing: .06em; }
.header-actions a, .header-actions button { color: inherit; background: none; border: 0; font: inherit; letter-spacing: inherit; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; }
.cart-count::before { content: '('; } .cart-count::after { content: ')'; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { justify-self: start; grid-column: 1; grid-row: 1; background: none; border: 0; padding: 12px 0; color: inherit; cursor: pointer; }
.menu-btn .bars { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; }
.menu-btn .bars::before { top: -7px; } .menu-btn .bars::after { top: 7px; }
.mobile-nav { display: none; padding: 12px var(--gutter) 28px; }
.mobile-nav.open { display: grid; max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav a { font-family: var(--serif); font-size: 1.7rem; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.header-actions .hide-sm { display: none; }
.lang-dd { position: relative; }
.lang-btn .caret { font-size: .62rem; transition: transform .2s; }
.lang-dd.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: -10px; top: calc(100% + 10px); min-width: 196px; margin: 0; padding: 8px; list-style: none; background: rgba(229,233,234,.99); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 40px -24px rgba(20,24,28,.4); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.lang-dd.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li.sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.header-actions .lang-menu a { display: flex; gap: 12px; padding: 8px 10px; border-radius: 6px; font-weight: 450; letter-spacing: .01em; font-size: .86rem; color: var(--ink); }
.lang-menu a .code { width: 22px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.header-actions .lang-menu a:hover, .header-actions .lang-menu a:focus-visible { background: var(--tint); }
.header-actions .lang-menu a[aria-current="true"] { background: var(--card-2); font-weight: 600; }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.mobile-nav .mobile-langs a { font-family: var(--sans); font-size: .9rem; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; }
.mobile-nav .mobile-langs a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 480px) { .lang-btn svg { display: none; } }
@media (max-width: 480px) { .brand .wordmark { font-size: 1.2rem; } .brand .wordmark small { letter-spacing: .22em; } .header-actions { gap: 14px; } }
@media (min-width: 1100px) {
  .nav { display: flex; grid-column: 1; grid-row: 1; justify-self: start; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .header-actions .hide-sm { display: inline-flex; }
}

/* ── layout ─────────────────────────────────────────────────────────────── */
main { padding: 40px 0 96px; min-height: 60vh; }
main.bleed { padding: 0 0 96px; }
.section { margin-top: clamp(56px, 8vw, 112px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.grid { display: grid; gap: 36px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; } }
@media (min-width: 1200px) { .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); }
.panel { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.panel.plain { background: transparent; border: 0; padding: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── hero & editorial blocks ────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 980px; color: #fff; overflow: hidden; background: #2a2f33; }
.hero img, .banner img, .ed-tile img, .ed-wide img, .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.12) 0%, rgba(8,12,16,0) 30%, rgba(8,12,16,.12) 55%, rgba(8,12,16,.55) 100%); }
.hero-inner { position: absolute; inset: auto 0 0 0; z-index: 1; padding-bottom: clamp(40px, 8vh, 96px); }
.hero .eyebrow, .banner .eyebrow, .ed-tile .eyebrow, .ed-wide .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { font-size: clamp(3rem, 8.5vw, 7rem); line-height: .95; margin: 0 0 20px; max-width: 12ch; letter-spacing: -.025em; }
.hero p { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 44ch; margin-bottom: 28px; color: rgba(255,255,255,.92); }
.banner { position: relative; height: clamp(420px, 72svh, 760px); color: #fff; overflow: hidden; background: #2a2f33; }
.banner .container { position: absolute; inset: auto 0 0 0; z-index: 1; padding-bottom: clamp(32px, 6vh, 72px); }
.banner h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; margin: 0; max-width: 14ch; }
.banner .breadcrumb, .banner .breadcrumb a { color: rgba(255,255,255,.8); }
.statement { text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(72px, 11vw, 150px) var(--gutter); }
.statement p.lead { font-family: var(--serif); font-size: clamp(1.6rem, 3.3vw, 2.6rem); line-height: 1.22; letter-spacing: -.01em; margin-bottom: 28px; }
.intro { max-width: 760px; margin: clamp(48px, 7vw, 88px) auto clamp(40px, 5vw, 64px); text-align: center; }
.intro p { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--ink); margin: 0; }
.ed-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .ed-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.ed-tile, .ed-wide { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--media); }
.ed-tile { aspect-ratio: 4 / 5; }
@media (min-width: 800px) { .ed-tile { aspect-ratio: 4 / 5; } }
.ed-wide { aspect-ratio: 16 / 10; }
@media (min-width: 800px) { .ed-wide { aspect-ratio: 21 / 9; } }
.ed-tile img, .ed-wide img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ed-tile:hover img, .ed-wide:hover img { transform: scale(1.03); }
.ed-tile::after, .ed-wide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,12,16,.55) 100%); }
.ed-caption { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 1; }
.ed-caption h2, .ed-caption h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 0 0 10px; }
.ed-caption p { max-width: 40ch; color: rgba(255,255,255,.88); margin: 0 0 16px; font-size: .95rem; }
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--media); }
.split-text { max-width: 480px; }
.split-text p { color: #3b3f43; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; font-size: .85rem; color: var(--muted); }
.band .container { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; justify-content: center; }
.band a { color: var(--ink); text-decoration: none; }
.band a:hover { text-decoration: underline; }
.band a span { color: var(--muted); margin-left: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: #45494d; max-width: 70ch; }

/* ── buttons & forms ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 0; font: inherit; font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; background: var(--ink); color: #fff; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #33383e; border-color: #33383e; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.small { padding: 9px 16px; font-size: .68rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }
label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--field); border: 1px solid var(--border); border-radius: 0; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--ink); }
input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--ink); }
input[type="file"] { background: transparent; border-style: dashed; }
.field { margin-bottom: 18px; }
.row { display: grid; gap: 14px; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } .row.three { grid-template-columns: 2fr 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .9rem; }
.alert { padding: 14px 16px; border: 1px solid var(--border); background: var(--card); margin-bottom: 18px; font-size: .92rem; }
.alert.ok { border-color: #b9d6c3; background: #eef6f0; }
.alert.err { border-color: #e2b9b0; background: #fbefec; }
.alert.info { border-color: #c5d5db; background: #eef3f5; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 20px 0 4px; margin: 0 0 12px; }
legend { padding: 0 12px 0 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }

/* ── product cards ──────────────────────────────────────────────────────── */
.p-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.p-media { position: relative; aspect-ratio: 4 / 5; background: var(--media-soft); overflow: hidden; }
/* white studio backgrounds of product photos blend into the tinted card instead of glaring */
.p-media img, .pdp-media img { mix-blend-mode: multiply; }
.p-media img, .p-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.p-media img.contain { object-fit: contain; padding: 12%; }
.p-media img.alt { opacity: 0; }
.p-card:hover .p-media img.alt { opacity: 1; }
.p-card:hover .p-media img.zoom { transform: scale(1.025); }
.p-media canvas.viz { pointer-events: none; z-index: 1; }
.p-body { padding: 14px 2px 0; display: grid; gap: 3px; }
.p-flag { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.p-title { font-size: .95rem; line-height: 1.35; }
.p-price { font-size: .9rem; color: #45494d; }
.p-price small { color: var(--muted); font-size: .85em; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge.in_stock, .badge.arrived { color: var(--ok); }
.badge.presale { color: var(--info); }
.badge.importing { color: var(--warn); }
.badge.made_to_order, .badge.quote_only { color: var(--accent); }
.badge.sold_out { color: var(--danger); }
.badge.vip { color: #8a6a1f; }
.badge.sample { color: var(--muted); }

/* filters */
.chips { display: flex; gap: 8px 26px; flex-wrap: wrap; margin: 0 0 32px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chip { font-size: .8rem; letter-spacing: .06em; color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.chip[aria-current="true"], .chip:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ── product page ───────────────────────────────────────────────────────── */
.pdp { display: grid; gap: 28px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; } .pdp-info { position: sticky; top: 100px; } }
.pdp-gallery { display: grid; gap: 10px; }
@media (min-width: 700px) { .pdp-gallery.multi { grid-template-columns: 1fr 1fr; } .pdp-gallery.multi > :first-child { grid-column: 1 / -1; } }
.pdp-media { position: relative; aspect-ratio: 4 / 5; background: var(--media-soft); overflow: hidden; }
.pdp-media img, .pdp-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-media img.contain { object-fit: contain; padding: 10%; }
.pdp-media canvas.viz { z-index: 1; }
.pdp-info h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 10px 0 12px; }
.price-lg { font-size: 1.15rem; margin: 0 0 22px; }
.price-lg .small { display: block; margin-top: 4px; }
.prose { color: #33373b; }
.prose ul { padding-left: 1.2em; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2em; }
.prose a { color: var(--ink); }
.details { border-top: 1px solid var(--line); margin-top: 28px; }
.details details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.details summary { cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: '+'; font-weight: 300; font-size: 1.1rem; line-height: 1; }
.details details[open] summary::after { content: '–'; }
.details details > :not(summary) { margin-top: 14px; }
.tiers { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .92rem; }
.tiers td, .tiers th { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.tiers th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.breadcrumb { font-size: .75rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── tables (cart/admin) ────────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.table img { background: var(--media); }
.table-wrap { overflow-x: auto; }
.summary { display: grid; gap: 10px; }
.summary .line { display: flex; justify-content: space-between; }
.summary .total { font-size: 1.1rem; font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: .88rem; color: #3f474c; border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .wordmark { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-langs { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; }
.footer-langs a { color: var(--muted); }
.footer-langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.footer-bottom .tools a { margin-right: 18px; }

/* ── logo visualizer ────────────────────────────────────────────────────── */
.viz-bar { display: grid; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 40px; }
@media (min-width: 900px) { .viz-bar { grid-template-columns: 1fr auto; align-items: center; } }
.viz-bar h2 { font-size: 1.6rem !important; }
.viz-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.viz-actions .btn:not(.secondary) { color: #fff !important; }
.viz-thumb { width: 52px; height: 52px; background: repeating-conic-gradient(#d3dadd 0 25%, #eef1f2 0 50%) 50% / 12px 12px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.viz-thumb img { max-width: 90%; max-height: 90%; }
.viz-controls { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin-top: 8px; }
.viz-controls .ctl { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; }
.viz-controls label { margin: 0; }

/* ── admin (stays dashboard-like) ───────────────────────────────────────── */
.admin-body main { padding-top: 28px; }
.admin-body h1 { font-size: 2.2rem; }
.admin-shell { display: grid; gap: 24px; }
@media (min-width: 960px) { .admin-shell { grid-template-columns: 220px 1fr; } }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 960px) { .admin-nav { flex-direction: column; position: sticky; top: 90px; } }
.admin-nav a { padding: 10px 12px; color: var(--muted); font-weight: 500; font-size: .9rem; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.admin-nav a[aria-current="page"], .admin-nav a:hover { color: var(--ink); border-color: var(--ink); }
.admin-body .site-header .bar { grid-template-columns: auto 1fr; }
.admin-body .brand { justify-self: start; }
.admin-body .header-actions .icon-btn { border: 1px solid var(--border); padding: 7px 12px; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 18px; }
.kpi b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; display: block; }
.kpi span { color: var(--muted); font-size: .85rem; }
.pill { display: inline-block; padding: 2px 8px; font-size: .72rem; font-weight: 600; background: var(--card-2); border: 1px solid var(--line); }
.pill.paid, .pill.processing, .pill.shipped { color: var(--ok); }
.pill.pending_payment, .pill.new { color: var(--warn); }
.pill.failed, .pill.cancelled { color: var(--danger); }
.pa-editor { position: relative; user-select: none; touch-action: none; max-width: 480px; aspect-ratio: 1; background: var(--media); overflow: hidden; }
.pa-editor img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pa-rect { position: absolute; border: 2px dashed #e0306f; background: rgba(224,48,111,.12); cursor: move; }
.pa-rect .h { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: #e0306f; cursor: nwse-resize; }
.pa-rect span { position: absolute; left: 4px; top: 2px; font-size: 11px; color: #e0306f; font-weight: 700; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 18px; color: var(--ink); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: none; }
label.btn { display: inline-flex; margin: 0; color: #fff; font-size: .76rem; letter-spacing: .16em; }
label.btn.secondary { color: var(--ink); }

/* ---------- Header: Verslun mega-menu ---------- */
.nav { align-items: center; }
.dd-btn { background: none; border: 0; color: inherit; font: inherit; font-size: .8rem; font-weight: 500; letter-spacing: .06em; padding: 6px 0; cursor: pointer; border-bottom: 1px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.dd-btn .caret { font-size: .62rem; transition: transform .2s; }
.dd.open .dd-btn .caret { transform: rotate(180deg); }
.dd-btn:hover, .dd-btn[aria-current="true"], .dd.open .dd-btn { border-bottom-color: currentColor; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: rgba(229,233,234,.985); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(20,24,28,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding-top: 32px; padding-bottom: 36px; max-width: 1600px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
.mega-list.one { grid-template-columns: 1fr; }
.mega-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mega-list a strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; }
.mega-list a span { display: block; font-size: .82rem; color: var(--muted, #5d646b); letter-spacing: 0; font-weight: 400; margin-top: 2px; }
.mega-list a:hover strong, .mega-list a[aria-current="page"] strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-header.overlay.mega-open { background: rgba(229,233,234,.97); color: var(--ink); border-color: var(--line); }
.site-header.overlay.mega-open::before { opacity: 0; }
.mobile-nav .eyebrow { margin: 18px 0 2px; }
.mobile-nav a.sub { font-size: 1.25rem; padding: 8px 0 8px 14px; }

/* ---------- Subpage heads, web apps ---------- */
.page-head { max-width: 760px; padding: clamp(12px, 3vw, 32px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0 0 14px; line-height: 1.02; }
.page-head .lead { font-size: 1.1rem; color: var(--muted); margin: 0; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; font-size: .95rem; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.app-list { display: grid; gap: clamp(48px, 7vw, 96px); padding-bottom: 24px; }
.app-card { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .app-card { grid-template-columns: 1.4fr 1fr; gap: 64px; } .app-card.reverse .app-shot { order: 2; } }
.app-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--media); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20,24,28,.45); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.app-shot:hover img { transform: scale(1.025); }
.app-host { position: absolute; left: 14px; bottom: 14px; background: rgba(229,233,234,.94); color: var(--ink); font-size: .74rem; letter-spacing: .04em; padding: 6px 10px; }
.app-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 14px; }
.app-text p { color: var(--ink); max-width: 52ch; }

/* ---------- Useful pages hub ---------- */
.useful { display: grid; gap: 40px 56px; }
@media (min-width: 900px) { .useful { grid-template-columns: 1fr 1fr; } }
.useful-group h2 { margin: 0 0 6px; }
.useful-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.useful-group a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.useful-group strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.useful-group a span span { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
.u-arrow { font-size: 1.1rem; transition: transform .25s; }
.useful-group a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.useful-group a:hover .u-arrow { transform: translateX(4px); }

/* ---------- Contractor ---------- */
.svc-cols { display: grid; gap: 32px 56px; }
@media (min-width: 800px) { .svc-cols { grid-template-columns: 1fr 1fr; } }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.svc-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.svc-list span { color: var(--muted); font-size: .92rem; }
.proj-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
.proj-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--media); margin-bottom: 14px; }
.proj-media img, .proj-empty { width: 100%; height: 100%; object-fit: cover; }
.proj-media .p-flag { position: absolute; top: 12px; left: 12px; background: rgba(229,233,234,.95); color: var(--ink); padding: 5px 9px; }
.proj-count { position: absolute; right: 12px; bottom: 12px; background: rgba(229,233,234,.94); font-size: .75rem; padding: 4px 8px; }
.proj-meta { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.proj h3 { font-size: 1.45rem; margin: 0 0 8px; }
.proj-desc { margin: 0; color: var(--ink); font-size: .95rem; }
.proj-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.proj-thumbs img { width: 72px; height: 54px; object-fit: cover; background: var(--media); }
.seg { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: .82rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); font-size: .88rem; background: var(--field); }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
h2.eyebrow { font-family: var(--sans); font-weight: 600; line-height: 1.4; }

/* contractor service cards */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(6, 1fr); } .svc-card { grid-column: span 2; } .svc-card:nth-child(4) { grid-column: 2 / span 2; } }
.svc-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.svc-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--media); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-media img { transform: scale(1.03); }
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.svc-top .proj-meta { margin: 0; }
.svc-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--accent); }
.svc-body h3 { font-size: 1.55rem; margin: 0 0 8px; }
.svc-body > p { margin: 0; font-size: .95rem; }
.svc-body .ticks { margin: 14px 0 18px; }
.svc-actions { margin-top: auto; display: flex; gap: 22px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   v6 "WOW" layer: glass header, hero carousel, bento dashboard, quick-view
   panels, scroll reveal and page transitions. Calm fjord-night hero zone with
   aurora/glacier accents against the misty grey-blue page.
   ═══════════════════════════════════════════════════════════════════════════ */

/* page transitions (native cross-document View Transitions; no JS router needed) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* sticky glass header */
.site-header { background: rgba(229,233,234,.68); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.5); box-shadow: 0 10px 30px -24px rgba(10,23,34,.45); }
.site-header.overlay { box-shadow: none; }
.site-header.overlay.is-solid, .site-header.overlay.menu-open, .site-header.overlay.mega-open { background: rgba(229,233,234,.72); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); border-color: rgba(255,255,255,.5); box-shadow: 0 10px 30px -24px rgba(10,23,34,.45); }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--aurora); color: var(--fjord); font-size: .66rem; font-weight: 700; }
.cart-count::before, .cart-count::after { content: none; }
.mega { background: rgba(232,236,238,.9); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.lang-menu { background: rgba(236,240,242,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--r-md); }

/* rounder, softer components */
.btn { border-radius: 999px; }
.btn.glow { background: var(--aurora); color: #04202a; border: 0; box-shadow: 0 12px 34px -14px rgba(92,200,217,.75); background-size: 160% 100%; transition: background-position .5s var(--ease), transform .3s var(--ease), box-shadow .3s; }
.btn.glow:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(79,209,169,.8); color: #04202a; }
input, select, textarea { border-radius: 10px; }
.panel, .card, .alert { border-radius: var(--r-md); }
.svc-card { border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -32px rgba(10,23,34,.55); }
.proj-media, .app-shot, .split-media { border-radius: var(--r-lg); }
.proj-thumbs img { border-radius: 8px; }
.seg span { border-radius: 999px; }
.proj-media .p-flag, .proj-count, .app-host { border-radius: 999px; backdrop-filter: blur(10px); }

/* product cards + quick-view button */
.p-item { position: relative; }
.p-media { border-radius: var(--r-md); transition: box-shadow .45s var(--ease); }
.p-card { transition: transform .45s var(--ease); }
.p-item:hover .p-card { transform: translateY(-4px); }
.p-item:hover .p-media { box-shadow: 0 26px 44px -30px rgba(10,23,34,.6); }
.qv-btn { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.7); background: rgba(240,244,246,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s var(--ease), background .2s; }
.p-item:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
.qv-btn:hover { background: #fff; }
@media (hover: none) { .qv-btn { opacity: 1; transform: none; padding: 9px; } .qv-btn > span:not(.visually-hidden) { display: none; } }

/* ── hero carousel ─────────────────────────────────────────────────────── */
.hero-slider { position: relative; height: min(94svh, 920px); min-height: 580px; background: var(--fjord); color: #fff; overflow: hidden; isolation: isolate; }
.hs-track { position: absolute; inset: 0; touch-action: pan-y; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.hs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); will-change: transform; }
.hs-slide.is-active .hs-img { animation: kenburns 11s ease-out both; }
.hero-slider.is-paused .hs-slide.is-active .hs-img { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.13) translate3d(-1.2%, -1%, 0); } }
.hs-shade { position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 88% 8%, rgba(92,200,217,.20), transparent 60%),
  linear-gradient(90deg, rgba(8,18,28,.80) 0%, rgba(8,18,28,.45) 42%, rgba(8,18,28,.06) 78%),
  linear-gradient(0deg, rgba(8,18,28,.92) 0%, rgba(8,18,28,0) 46%),
  linear-gradient(180deg, rgba(8,18,28,.45) 0%, rgba(8,18,28,0) 22%); }
.hs-content { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(130px, 17vh, 170px); }
.hs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--glacier); margin: 0 0 18px; }
.hs-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--aurora); }
.hs-title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -.028em; max-width: 13ch; margin: 0 0 18px; text-wrap: balance; }
.hs-text { max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.86); margin: 0 0 30px; }
.hs-slide .hs-eyebrow, .hs-slide .hs-title, .hs-slide .hs-text, .hs-slide .btn { opacity: 0; transform: translateY(22px); }
.hs-slide.is-active .hs-eyebrow, .hs-slide.is-active .hs-title, .hs-slide.is-active .hs-text, .hs-slide.is-active .btn { animation: rise .9s var(--ease) both; }
.hs-slide.is-active .hs-title { animation-delay: .08s; } .hs-slide.is-active .hs-text { animation-delay: .18s; } .hs-slide.is-active .btn { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hs-controls { position: absolute; left: 0; right: 0; bottom: clamp(22px, 4vh, 40px); z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: var(--maxw); }
.hs-dots { display: flex; gap: 12px; flex: 1; max-width: 860px; }
.hs-dot { flex: 1; min-width: 0; background: none; border: 0; padding: 14px 0 0; color: rgba(255,255,255,.6); font: inherit; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; transition: color .3s; }
.hs-dot:hover, .hs-dot[aria-current] { color: #fff; }
.hs-bar { display: block; position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; margin-bottom: 10px; }
.hs-bar::after { content: ''; position: absolute; inset: 0; background: var(--aurora); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hs-dot[aria-current] .hs-bar { background: rgba(255,255,255,.32); }
html:not(.js) .hs-dot[aria-current] .hs-bar::after, .hero-slider.reduced .hs-dot[aria-current] .hs-bar::after { transform: scaleX(1); }
.hs-dot-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-nav { display: flex; gap: 8px; }
.hs-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 1rem; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.hs-btn:hover { background: #fff; color: var(--fjord); }
.hs-btn .i-play, .hs-btn[aria-pressed="true"] .i-pause { display: none; }
.hs-btn[aria-pressed="true"] .i-play { display: block; }
.hero-slider :focus-visible { outline-color: var(--glacier); }
@media (max-width: 760px) {
  .hero-slider { height: 88svh; min-height: 540px; }
  .hs-dot-label { display: none; }
  .hs-dots { gap: 6px; }
  .hs-dot { padding: 18px 0 8px; }
  .hs-bar { margin: 0; }
  .hs-nav [data-prev], .hs-nav [data-next] { display: none; }
  .hs-content { padding-bottom: 110px; }
  .hs-shade { background: radial-gradient(70% 60% at 88% 8%, rgba(92,200,217,.18), transparent 60%), linear-gradient(0deg, rgba(8,18,28,.94) 0%, rgba(8,18,28,.35) 60%, rgba(8,18,28,.5) 100%); }
}

/* ── dashboard zone + bento grid ───────────────────────────────────────── */
.dash-zone { position: relative; isolation: isolate; padding-bottom: 24px; background: linear-gradient(180deg, var(--fjord) 0, var(--fjord-2) 240px, #3b5466 470px, var(--bg) 760px); }
.dash-zone::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 12% 10%, rgba(79,209,169,.14), transparent 70%), radial-gradient(35% 45% at 85% 25%, rgba(135,150,255,.14), transparent 70%); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2%, 3%, 0) scale(1.05); } }
.hub-head { display: grid; gap: 12px 48px; align-items: end; padding: clamp(40px, 6vw, 80px) 0 clamp(26px, 3vw, 40px); color: #fff; }
.hub-head h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin: 0; letter-spacing: -.015em; line-height: 1.02; color: #fff; }
.hub-head .eyebrow { margin-bottom: 14px; color: var(--glacier); }
.hub-lead { margin: 0; color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 44ch; }
@media (min-width: 900px) { .hub-head { grid-template-columns: 1fr auto; } .hub-lead { text-align: right; } }

.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; } .size-wide, .size-big { grid-column: span 2; } .size-big, .size-tall { grid-row: span 2; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 17vw, 270px); gap: 16px; } }
.hub-tile, .hub-widget { position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate; color: #fff; background: var(--fjord-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 22px 44px -30px rgba(8,18,28,.7); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (max-width: 699px) { .hub-tile { aspect-ratio: 16 / 11; } .hub-tile.size-big, .hub-tile.size-tall { aspect-ratio: 4 / 4.2; } .hub-widget { min-height: 230px; } }
.hub-tile:hover, .hub-tile:focus-within, .hub-widget:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(127,219,232,.45), 0 34px 60px -30px rgba(8,18,28,.8), 0 0 40px -12px rgba(92,200,217,.35); }
.hub-media, .hub-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-media img { object-fit: cover; transform: scale(1.08) translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -10px), 0); transition: transform .9s var(--ease); }
.hub-tile:hover .hub-media img { transform: scale(1.13) translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -12px), 0); }
.hub-tile::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8,18,28,.38) 0%, rgba(8,18,28,0) 30%, rgba(8,18,28,0) 45%, rgba(8,18,28,.7) 100%); pointer-events: none; }
.hub-cover { position: absolute; inset: 0; z-index: 1; }
.hub-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 40%), rgba(127,219,232,.30), transparent 60%); mix-blend-mode: screen; }
.hub-tile:hover .hub-glow { opacity: 1; }
.hub-chips { position: absolute; top: 14px; left: 14px; right: 66px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.chip-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(10,23,34,.42); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); border: 1px solid rgba(255,255,255,.18); font-size: .7rem; font-weight: 600; letter-spacing: .03em; color: #fff; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aurora-2); box-shadow: 0 0 0 0 rgba(79,209,169,.7); animation: pulse 2.4s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,209,169,.65); } 70%, 100% { box-shadow: 0 0 0 9px rgba(79,209,169,0); } }
.hub-info { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(10,23,34,.38); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, color .25s, transform .25s var(--ease); }
.hub-info:hover, .hub-info:focus-visible { background: #fff; color: var(--fjord); transform: scale(1.06); }
.hub-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; pointer-events: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: clamp(14px, 1.6vw, 20px); border-radius: var(--r-md); background: rgba(10,23,34,.34); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); transition: background .4s; }
.hub-cap a { pointer-events: auto; }
.hub-tile:hover .hub-cap { background: rgba(10,23,34,.48); }
.hub-cap h2 { color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.85rem); margin: 0 0 4px; line-height: 1.1; }
.size-big .hub-cap h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.hub-link { color: inherit; text-decoration: none; }
.hub-link:focus-visible { outline: 2px solid var(--glacier); outline-offset: 4px; border-radius: 4px; }
.hub-cap p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.84); max-width: 40ch; line-height: 1.45; }
@media (min-width: 1100px) { .size-normal .hub-cap p { display: none; } .size-normal .hub-chips .chip-live:nth-child(n+2) { display: none; } }
.hub-arrow { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); font-size: 1.05rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.hub-tile:hover .hub-arrow { background: var(--aurora); border-color: transparent; color: var(--fjord); transform: translateX(3px); }

/* live ATLAS weather widget */
.hub-widget { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 20px 22px; background: linear-gradient(150deg, #0d2233 0%, #11314a 55%, #0f3d47 100%); }
.aurora { position: absolute; inset: -45%; z-index: -1; background: conic-gradient(from 90deg at 50% 50%, rgba(92,200,217,0), rgba(92,200,217,.38), rgba(79,209,169,.32), rgba(135,150,255,.34), rgba(92,200,217,0)); filter: blur(42px); opacity: .75; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-widget p { margin: 0; }
.w-label { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.w-temp { font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: .95; letter-spacing: -.03em; }
.w-unit { font-size: .4em; vertical-align: top; margin-left: 4px; color: rgba(255,255,255,.7); letter-spacing: 0; }
.w-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.85); }
.w-meta span:empty { display: none; }
.w-clock { font-size: .8rem; color: rgba(255,255,255,.7); }
.w-clock time { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.w-link { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; position: relative; z-index: 1; }
.w-link:hover { border-color: var(--glacier); color: var(--glacier); }
.hub-widget[data-state="off"] .w-temp, .hub-widget[data-state="off"] .w-meta { display: none; }
.hub-fresh .section-head h2 { margin: 0; }

/* ── quick-view panels & modals (native <dialog>) ──────────────────────── */
html:has(dialog[open]) { overflow: hidden; }
dialog.drawer { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; overflow: visible; }
dialog.drawer::backdrop { background: rgba(6,14,22,.52); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
dialog.drawer[open]::backdrop { animation: fade .3s ease both; }
dialog.drawer.closing::backdrop { animation: fade .18s ease reverse both; }
@keyframes fade { from { opacity: 0; } }
.drawer-inner { position: relative; background: rgba(236,240,242,.97); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); overflow: auto; overscroll-behavior: contain; }
dialog.drawer.side { margin: 0 0 0 auto; width: min(480px, 100vw); height: 100dvh; }
dialog.drawer.side .drawer-inner { height: 100%; box-shadow: -40px 0 80px -40px rgba(0,0,0,.55); border-left: 1px solid rgba(255,255,255,.6); }
dialog.drawer.side[open] .drawer-inner { animation: slide-in .42s cubic-bezier(.16,.84,.24,1) both; }
dialog.drawer.side.closing .drawer-inner { animation: slide-out .18s ease-in both; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }
dialog.drawer.center { margin: auto; width: min(940px, 94vw); max-height: 90dvh; }
dialog.drawer.center .drawer-inner { max-height: 90dvh; border-radius: var(--r-lg); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.6); }
dialog.drawer.center[open] .drawer-inner { animation: pop .34s var(--ease) both; }
dialog.drawer.center.closing .drawer-inner { animation: pop .18s ease-in reverse both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.drawer-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(240,244,246,.85); backdrop-filter: blur(10px); color: var(--ink); font-size: .95rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.drawer-close:hover { background: #fff; transform: rotate(90deg); }
.tv-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fjord-2); }
.tv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(236,240,242,.9)); }
.tv-body { padding: 4px 28px 32px; position: relative; }
.tv-body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 8px; }
.tv-text { color: #3b4449; margin-bottom: 22px; }
.hub-chips.static { position: static; margin: 0 0 14px; }
.hub-chips.static .chip-live { background: var(--tint); color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.tv-list, .tv-plain, .tv-links { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.tv-list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .2s; }
.tv-list a:hover { background: rgba(255,255,255,.7); }
.tv-list img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--media); mix-blend-mode: multiply; }
.tv-list strong { display: block; font-weight: 500; font-size: .92rem; }
.tv-list .muted { font-size: .82rem; }
.tv-plain li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tv-plain strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.tv-plain a { text-decoration: none; color: var(--ink); }
.tv-plain span { color: var(--muted); font-size: .88rem; }
.tv-links { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.tv-links a { font-size: .92rem; color: var(--ink); }
.qv { display: grid; }
@media (min-width: 760px) { .qv { grid-template-columns: 1.05fr 1fr; } }
.qv-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--media-soft); aspect-ratio: 4 / 5; max-height: 90dvh; scrollbar-width: thin; }
@media (max-width: 759px) { .qv-media { aspect-ratio: 1; } }
.qv-media img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; mix-blend-mode: multiply; }
.qv-media img.contain { object-fit: contain; padding: 10%; }
.qv-info { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.qv-info h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 6px 0 4px; padding-right: 36px; }
.qv-price { font-size: 1.15rem; margin: 0 0 6px; }
.qv-sum { color: #3b4449; margin-bottom: 14px; }
.qv-info .panel.plain { padding: 0; }
.qv-more { align-self: flex-start; margin-top: 10px; }

/* ── subpage banners: Ken Burns image + slide-in content ───────────────── */
.banner { background: var(--fjord); }
.banner img { animation: kenburns-slow 16s ease-out both; }
@keyframes kenburns-slow { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.banner::after { background: radial-gradient(60% 70% at 90% 0%, rgba(92,200,217,.16), transparent 60%), linear-gradient(180deg, rgba(8,18,28,.42) 0%, rgba(8,18,28,0) 32%, rgba(8,18,28,.2) 55%, rgba(8,18,28,.82) 100%); }
.banner .container > * { animation: rise .9s var(--ease) both; }
.banner .container > :nth-child(2) { animation-delay: .08s; } .banner .container > :nth-child(3) { animation-delay: .16s; } .banner .container > :nth-child(4) { animation-delay: .26s; }
.banner .eyebrow { color: var(--glacier); }
.banner-short { height: clamp(380px, 58svh, 600px); }
.banner-lead { max-width: 52ch; margin: 16px 0 0; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.88); }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }

/* ── footer: fjord night ───────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--fjord); color: rgba(255,255,255,.66); border-top: 0; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--aurora); opacity: .7; }
.footer-brand .wordmark, .site-footer h2 { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-langs a { color: rgba(255,255,255,.55); }
.footer-langs a[aria-current="true"] { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.site-footer :focus-visible { outline-color: var(--glacier); }

/* ── scroll reveal (only with JS; content is visible without it) ───────── */
html.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms), transform .5s var(--ease), box-shadow .5s var(--ease); }
html.js [data-reveal].in { opacity: 1; translate: none; }

/* ── reduced motion: no autoplay zoom, drifting or sliding ─────────────── */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .hs-slide, .hs-slide.is-active { transition: none; }
  .hs-slide.is-active .hs-img, .banner img, .aurora, .dash-zone::before, .dot { animation: none; }
  .hs-slide .hs-eyebrow, .hs-slide .hs-title, .hs-slide .hs-text, .hs-slide .btn, .banner .container > * { animation: none !important; opacity: 1; transform: none; }
  .hub-tile, .hub-widget, .p-card, .svc-card, .hub-media img { transition: none; }
  .hub-tile:hover, .hub-tile:focus-within, .hub-widget:hover, .p-item:hover .p-card, .svc-card:hover { transform: none; }
  dialog.drawer[open] .drawer-inner, dialog.drawer[open]::backdrop { animation: none; }
}
.drawer-inner:focus { outline: none; }
