@import "../fonts/faces.css";

:root {
  --bg: #f3efe8;
  --bg-raised: #fffcf8;
  --bg-sunken: #e7e1d6;
  --ink: #13394f;
  --muted: #3e5563;
  --line: rgba(19, 57, 79, 0.14);
  --brand: #13394f;
  --brand-ink: #fffcf8;
  --teal: #337090;
  --gold: #cb9b3b;
  --danger: #8c3a32;
  --ok: #1d6b45;
  --shadow: 0 24px 60px rgba(19, 57, 79, 0.12);
  --sans: "Familjen Grotesk", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --header: 4.25rem;
  --bottom: env(safe-area-inset-bottom);
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --content: 76rem;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0e2430;
  --bg-raised: #143140;
  --bg-sunken: #0a1c26;
  --ink: #f3efe8;
  --muted: #c5d0d4;
  --line: rgba(243, 239, 232, 0.16);
  --brand: #f3efe8;
  --brand-ink: #13394f;
  --teal: #8eb9cc;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.has-bottom-nav { padding-bottom: var(--bottom); }

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 0.6rem 0.9rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon-btn { position: relative; overflow: hidden; }

.wrap { width: min(var(--content), calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(90rem, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: #13394f;
  color: #f3efe8;
  border-bottom: 1px solid rgba(243, 239, 232, 0.12);
}
.site-header .logo img { filter: brightness(0) invert(1); }
.site-header .icon-btn,
.site-header .btn {
  color: #f3efe8;
  border-color: rgba(243, 239, 232, 0.35);
  background: transparent;
}
.site-header input[type="search"] {
  background: rgba(255, 252, 248, 0.08);
  border-color: rgba(243, 239, 232, 0.28);
  color: #f3efe8;
}
.site-header input[type="search"]::placeholder { color: rgba(243, 239, 232, 0.55); }

.header-inner, .footer-grid {
  width: min(90rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo img { width: 1.7rem; height: auto; }
.logo-word {
  font-weight: 650;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.primary-nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.primary-nav a, .text-btn, .lang-btn {
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }

.icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-gold { border-color: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 100svh;
  overflow: hidden;
  background: #0e2430;
  color: #f3efe8;
}
.hero-media,
.hero-shade { position: absolute; inset: 0; }
.hero-media { overflow: hidden; z-index: 0; }
.hero-film {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero-shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 22, 32, 0.45) 0%, rgba(8, 22, 32, 0.05) 34%, rgba(51, 112, 144, 0.28) 68%, rgba(8, 22, 32, 0.78) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(90rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 560;
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0;
  color: #f3efe8;
}
.hero .lede { color: rgba(243, 239, 232, 0.88); max-width: 36rem; }
.hero .btn { background: #f3efe8; border-color: #f3efe8; color: #13394f; }
.hero .btn-ghost { background: transparent; color: #f3efe8; border-color: rgba(243, 239, 232, 0.55); }
body.home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(8, 22, 32, 0.62), rgba(8, 22, 32, 0));
  border-bottom-color: transparent;
}
body.home .site-header.is-solid {
  background: #13394f;
  border-bottom-color: rgba(243, 239, 232, 0.12);
}
.hero-brands { position: relative; z-index: 2; padding: 0.4rem 0 1.6rem; }
.hero-brands .marquee-set { align-items: center; gap: 2.75rem; padding-right: 2.75rem; list-style: none; margin: 0; }
.hero-brands li { display: flex; }
.hero-brands img { height: clamp(3.1rem, 6vw, 4.6rem); width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.hero .hero-brands { background: #f3efe8; }
.hero .hero-brands img { filter: none; opacity: 1; }
.hero-brands--paper img { filter: none; opacity: 1; }
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.people li { display: flex; flex-direction: column; gap: 0.2rem; background: var(--bg); padding: 1.2rem 1.25rem; }
.people strong { font-size: 1.15rem; letter-spacing: -0.03em; }
.people span, .people a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.file-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.file-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.file-list b { font-size: 0.75rem; letter-spacing: 0.12em; }
.el-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.el-facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.el-facts strong { font-weight: 700; letter-spacing: -0.02em; }
.el-facts span { color: var(--muted); }
.el-facts a { color: inherit; text-decoration: none; border-bottom: 1.5px solid #337090; padding-bottom: 0.1rem; }
.elementor .people { margin-top: 0; }
@media (max-width: 800px) { .el-facts li { grid-template-columns: 1fr; gap: 0.2rem; } }
@media (max-width: 800px) {
  .people { grid-template-columns: 1fr; }
}
@keyframes vbs-marquee { to { transform: translateX(-33.3333%); } }
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: vbs-marquee 36s linear infinite;
  will-change: transform;
}
.marquee-track--brands { animation-duration: 28s; }
.marquee-track--slow { animation-duration: 52s; }
.marquee-set { display: flex; gap: 0.9rem; padding-right: 0.9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.stream { padding: 2.75rem 0 1rem; }
.stream-head, .staff-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.stream-head h2, .staff-head h2, .lanes-section h2, .showcase h2, .section h2 {
  font-family: var(--sans);
  font-weight: 560;
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 0.4rem;
}
.stream-card {
  flex: 0 0 auto;
  width: clamp(15rem, 22vw, 18.5rem);
  color: inherit;
  text-decoration: none;
}
.stream-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 0.85rem;
  background: #e7e2da;
}
.stream-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.stream-card:hover .stream-card-media img { transform: scale(1.06); }
.stream-card p {
  position: static;
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
.stream-card--product .stream-card-media { background: #f7f4ef; }
.stream-card--product img { object-fit: contain; padding: 1.1rem; }
.person-card .stream-card-media { background: #e4e1db; }
.person-card img { object-fit: contain; object-position: center bottom; padding: 0.4rem 0.4rem 0; background: transparent; }
.staff-list--grid li span { position: static; display: block; margin-top: 0.45rem; color: var(--ink); }
.hero-media,
.hero-shade { position: absolute; inset: 0; }
.hero-media { overflow: hidden; z-index: 0; }
.quote-band { background: #337090; color: #fff; }
.quote-band blockquote {
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border: 0;
  text-align: right;
}
.quote-band p {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.8vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.quote-band footer { font-size: 0.95rem; letter-spacing: 0.04em; }
.staff-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0 0 3rem;
  margin: 1.5rem auto 0;
  width: min(var(--content), calc(100% - 2rem));
}
.staff-list--grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center bottom;
  background: #e4e1db;
  border-radius: 0.85rem;
}
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.5rem; }
.lanes h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.staff-band { background: transparent; color: inherit; }
.staff-band .text-btn, .stream .text-btn { color: inherit; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; padding: 1.5rem 0 0; margin: 0; }
.timeline b { display: block; font-size: 1.4rem; letter-spacing: -0.04em; }
.timeline span { display: block; margin-top: 0.35rem; color: var(--muted); }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(24rem, 100%);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.22s var(--ease);
  box-shadow: var(--shadow);
}
.drawer.is-on { transform: translateX(0); }
.drawer-head, .cart-line { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.drawer-body { flex: 1; overflow: auto; }
.cart-line { padding: 0.85rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cart-line div { display: flex; flex-direction: column; gap: 0.15rem; }
.cart-line span { color: var(--muted); font-size: 0.85rem; }
.drawer-next { margin-top: 0.8rem; }
@media (max-width: 900px) {
  .lanes, .timeline, .showcase .split { grid-template-columns: 1fr; }
  .stream-head, .staff-head { align-items: start; flex-direction: column; }
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
.lede { max-width: 36rem; font-size: 1.15rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.door { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #0e2430; border-right: 1px solid rgba(243, 239, 232, 0.16); min-width: 0; color: #f3efe8; }
.door:last-child { border-right: 0; }
.door img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.door-copy { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 0.3rem; padding: 3.2rem 1.15rem 1.05rem; background: linear-gradient(transparent, rgba(8, 22, 32, 0.92)); }
.door-copy strong { font-size: 1.2rem; font-weight: 560; letter-spacing: -0.03em; }
.door-copy span:last-child { color: rgba(243, 239, 232, 0.86); font-size: 0.92rem; }
.door:hover strong { color: #f3efe8; }
.meter { background: #0e2430; color: #f3efe8; }
.meter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: 1.6rem; }
.meter b { display: block; font-size: 1.2rem; font-weight: 560; letter-spacing: 0.02em; }
.meter span { color: rgba(243, 239, 232, 0.72); font-size: 0.92rem; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-figure img.full { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-figure img.blur {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(16px); transform: scale(1.08);
}
.caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-list { border-bottom: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 4rem 1fr 1.4fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.index-row strong { font-size: 1.7rem; font-weight: 560; letter-spacing: -0.03em; }
.index-no { color: var(--gold); font-variant-numeric: tabular-nums; }
.index-row span:last-child { transition: transform 0.35s var(--ease); }
.index-row:hover span:last-child { transform: translateX(4px); }

.section { padding: clamp(3rem, 8vw, 6.5rem) 0; }
.section h2 {
  font-family: var(--sans);
  font-weight: 560;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--bg); padding: 1.25rem; }
.fact b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 450; }

.catalog {
  width: 100%;
  border-collapse: collapse;
}
.catalog th, .catalog td {
  text-align: left;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.catalog th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 560; }
.sku { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  min-height: 2.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip-n {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-raised);
}
.chip:hover .chip-n { color: inherit; }
.chip.is-active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip.is-active .chip-n { background: color-mix(in srgb, var(--brand-ink) 22%, transparent); color: var(--brand-ink); }
.chip-quick { margin-left: auto; border-color: var(--gold); color: var(--gold); font-weight: 560; }
.chip-quick:hover { background: var(--gold); color: #1b1205; }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.catalog-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0.25rem 0 1rem; font-size: 0.85rem; color: var(--muted); }
.catalog-crumbs a { color: var(--muted); text-decoration: none; transition: color 0.18s var(--ease); }
.catalog-crumbs a:hover { color: var(--gold); }
.catalog-crumbs .is-current { color: var(--ink); font-weight: 560; }
.catalog-count { margin: 0.25rem 0 0.75rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; }

.catalog tbody tr { transition: background 0.15s var(--ease); }
.catalog tbody tr:hover { background: var(--bg-raised); }
.catalog-act { text-align: right; white-space: nowrap; }

.catalog-pager { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.75rem; }
.catalog-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.catalog-pager a.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.catalog-pager .page-numbers.current { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.catalog-pager .page-numbers.dots { border-color: transparent; min-width: 1.5rem; }

.shop-section { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
.shop-grid {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.25rem, 1fr));
  gap: 1rem;
}
.shop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.shop-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  box-shadow: 0 18px 40px rgba(19, 57, 79, 0.1);
}
.shop-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #f7f4ef;
  overflow: hidden;
}
.shop-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem;
  transition: transform 0.45s var(--ease);
}
.shop-card:hover .shop-media img { transform: scale(1.045); }
.shop-media.is-empty img { width: 32%; height: auto; opacity: 0.28; padding: 0; }
.shop-body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.85rem 0.9rem 0.95rem;
  flex: 1;
}
.shop-name {
  color: inherit;
  text-decoration: none;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.shop-sku {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.shop-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding-top: 0.7rem;
}
.shop-foot .btn { width: 100%; justify-content: center; }
.shop-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.shop-price .woocommerce-Price-amount { font-weight: 600; }
.shop-empty { color: var(--muted); margin: 1.5rem 0; }

.shop-stage {
  background: #f7f4ef;
  border-radius: 0.85rem;
  min-height: 22rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shop-stage img { width: 100%; max-height: 36rem; object-fit: contain; padding: 1.5rem; }
.shop-stage.is-empty img { width: 26%; height: auto; opacity: 0.3; padding: 0; }
.shop-price-lg { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.2rem 0 0.4rem; font-weight: 450; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 0.8rem; }
.shop-cats a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: var(--muted);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.shop-cats a:hover { border-color: var(--gold); color: var(--gold); }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field span { font-size: 0.82rem; letter-spacing: 0.04em; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 2.85rem;
  padding: 0.6rem 0.75rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.85rem; }
.help { color: var(--muted); font-size: 0.9rem; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.45rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.buybox { position: sticky; top: calc(var(--header) + 1rem); display: flex; flex-direction: column; gap: 0.8rem; }
.gallery { background: var(--bg-sunken); min-height: 18rem; display: grid; place-items: center; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 0.7rem 0; text-align: left; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }

.site-footer {
  background: #0e2430;
  color: #f3efe8;
  border-top: 0;
  padding: 3rem 0 6rem;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer img { filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .legal, .site-footer .help { color: rgba(243, 239, 232, 0.7); }
.site-footer li { list-style: none; margin: 0.35rem 0; }
.site-footer ul { margin: 0; padding: 0; }
.legal { margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }

.bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a,
.bottom-nav button {
  flex: 1;
  min-height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cart-bar {
  position: fixed;
  left: auto;
  right: 1.25rem;
  width: max-content;
  max-width: calc(100% - 2.5rem);
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 46;
  background: #13394f;
  color: #f3efe8;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(8, 22, 32, 0.28);
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
body.has-bottom-nav .cart-bar { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
.cart-bar.is-on { transform: translateY(0); }
.cart-bar .bar-inner {
  width: auto;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.28rem 0.85rem 0.28rem 0.32rem;
  border-radius: 999px;
  cursor: pointer;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #f3efe8;
  color: #13394f;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.cart-bar [data-cart-label] { white-space: nowrap; font-size: 0.95rem; }
.cart-go { flex: none; opacity: 0.9; }
@media (max-width: 900px) {
  .cart-bar {
    left: 50%;
    right: auto;
    bottom: calc(var(--bottom) + 0.6rem);
    transform: translate(-50%, 160%);
  }
  .cart-bar.is-on { transform: translate(-50%, 0); }
}
.cart-bar a, .cart-bar button.linkish {
  color: var(--brand-ink);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--brand-ink) 40%, transparent);
  min-height: 2.4rem;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
  cursor: pointer;
}

.drawer-back {
  position: fixed; inset: 0;
  background: rgba(14, 36, 48, 0.46);
  z-index: 60;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(26rem, 100%);
  background: var(--bg);
  z-index: 61;
  padding: 1.25rem;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.drawer.is-on { transform: translateX(0); }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom) + 4.5rem);
  transform: translateX(-50%) translateY(1rem);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.skeleton { background: linear-gradient(90deg, var(--bg-sunken), var(--bg-raised), var(--bg-sunken)); background-size: 200% 100%; animation: sheen 1.2s linear infinite; min-height: 1rem; }
@keyframes sheen { to { background-position: -200% 0; } }

.suggest {
  font-size: 0.8rem;
  color: var(--muted);
}
.search-pop {
  position: absolute;
  z-index: 30;
  left: 0; right: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  max-height: 18rem;
  overflow: auto;
}
.search-pop a { display: block; padding: 0.7rem 0.8rem; text-decoration: none; color: inherit; }
.search-pop a:hover { background: var(--bg-sunken); }
.search-wrap { position: relative; }

.search-modal {
  width: min(40rem, calc(100% - 2rem));
  max-height: min(70vh, 36rem);
  margin: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.search-modal::backdrop {
  background: color-mix(in srgb, #0e2430 62%, transparent);
}
.search-modal-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.search-modal-bar input[type="search"] {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 3.1rem;
  font-size: 1.05rem;
}
.search-modal .search-pop {
  position: static;
  left: auto;
  right: auto;
  margin-top: 0.35rem;
  border: 0;
  background: transparent;
  max-height: min(50vh, 24rem);
}
.search-modal .search-pop a {
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  position: relative;
  min-height: clamp(22rem, 54vh, 34rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f3efe8;
  background: #0e2430;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(51, 112, 144, 0.45) 72%, rgba(0, 0, 0, 0.78) 100%);
}
.page-hero-copy {
  position: relative;
  z-index: 2;
  justify-self: center;
  padding-top: calc(var(--header) + 1.25rem);
  padding-bottom: clamp(5.2rem, 12vw, 8.2rem);
}
body.has-stage .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(8, 22, 32, 0.62), rgba(8, 22, 32, 0));
  border-bottom-color: transparent;
}
body.has-stage .site-header.is-solid {
  background: #13394f;
  border-bottom-color: rgba(243, 239, 232, 0.12);
}
body.has-stage .page-hero { min-height: clamp(26rem, 68vh, 40rem); }
.page-hero h1 {
  max-width: 16ch;
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-weight: 560;
  font-size: clamp(2.15rem, 6.4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f3efe8;
}
.page-hero-lead {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
  color: color-mix(in srgb, #f3efe8 88%, #337090);
}
.page-hero .btn-light, .page-cta .btn-light { background: #f3efe8; border-color: #f3efe8; color: #13394f; }
.page-cta .btn-ghost { background: transparent; color: #f3efe8; border-color: rgba(243, 239, 232, 0.55); }
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: clamp(4.5rem, 11vw, 8.5rem);
  display: block;
  pointer-events: none;
  fill: var(--bg);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f3efe8 72%, #337090);
}
.crumbs li { display: inline-flex; align-items: center; gap: 0.55rem; }
.crumbs li:not(:last-child)::after { content: "/"; opacity: 0.45; }
.crumbs a { color: inherit; text-decoration: none; }
.page-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.page-copy h2 {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-weight: 560;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.page-copy p { color: var(--muted); line-height: 1.7; margin: 0; }
.page-copy p + p, .page-copy p + .link-line { margin-top: 1rem; }
.link-line {
  display: inline-flex;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid #337090;
  padding-bottom: 0.15rem;
}
.page-facts { margin: 0; border-top: 1px solid var(--line); }
.page-facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.page-facts dt { margin: 0; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.02em; }
.page-facts dd { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--muted); }
.page-facts a { color: inherit; text-decoration: none; }
.page-facts a:hover { color: #337090; }
.section-tint { background: color-mix(in srgb, var(--bg) 86%, #337090); }
.page-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.page-photos figure { margin: 0; overflow: hidden; border-radius: 0.85rem; background: #e7e2da; }
.page-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.page-photos:not(.page-photos--logos) img[src$=".png"] {
  object-fit: contain;
  background: #f7f4ef;
  padding: 1.15rem;
}
.page-photos--logos { background: transparent; }
.page-photos--logos figure { background: #13394f; }
.page-photos--logos img { object-fit: contain; padding: 1.5rem; filter: brightness(0) invert(1); }
.page-cta { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: #337090; color: #fff; }
.page-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.page-cta h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-weight: 560;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.page-cta p { max-width: 42ch; margin: 0; color: color-mix(in srgb, #fff 78%, #337090); line-height: 1.65; }
@media (max-width: 800px) {
  .page-split, .page-photos, .page-cta-inner { grid-template-columns: 1fr; }
  .page-facts > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
.page-hero .btn { background: #f3efe8; border-color: #f3efe8; color: #13394f; }
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.entry-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.entry-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 0.85rem;
  background: #e7e2da;
}
.entry-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
.entry-card:hover .entry-media img { transform: scale(1.05); }
.entry-card--product .entry-media { background: #f7f4ef; }
.entry-card--product img { object-fit: contain; padding: 1.2rem; }
.entry-card--logo .entry-media { background: #13394f; }
.entry-card--logo img { object-fit: contain; padding: 2rem; filter: brightness(0) invert(1); }
.entry-copy { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.85rem 0.15rem 0; }
.entry-copy b { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; letter-spacing: -0.03em; }
.entry-copy span { color: var(--muted); }
.entry-card:not(:has(.entry-media)) {
  background: #13394f;
  color: #f3efe8;
  border-radius: 0.85rem;
  min-height: 12rem;
  justify-content: flex-end;
  padding: 1.4rem;
}
.entry-card:not(:has(.entry-media)) .entry-copy { padding: 0; }
.entry-card:not(:has(.entry-media)) b { font-size: clamp(2rem, 4vw, 3rem); color: #f3efe8; }
.entry-card:not(:has(.entry-media)) span { color: rgba(243, 239, 232, 0.78); }
.section-tight { padding-top: 0; }
.cta-band { background: #337090; color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 0.35rem; font-family: var(--sans); font-weight: 560; letter-spacing: -0.04em; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { margin: 0; max-width: 36rem; }
.cta-band .btn { background: #f3efe8; border-color: #f3efe8; color: #13394f; }
@media (max-width: 800px) {
  .entry-grid, .cta-band-inner { grid-template-columns: 1fr; display: grid; }
}
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 450; letter-spacing: -0.03em; }
.prose p { max-width: 42rem; }

.mobile-buy {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: var(--bottom);
  padding: 0.6rem 1rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line);
  z-index: 44;
}

@media (max-width: 1180px) {
  .search-wrap { display: none; }
  .primary-nav { gap: 0.85rem; }
}

@media (max-width: 900px) {
  .primary-nav, .desktop-only { display: none; }
  .header-inner > [data-search-open] { margin-left: auto; }
  .bottom-nav { display: flex; }
  .hero, .split, .product-layout, .footer-grid, .facts, .index-row {
    grid-template-columns: 1fr;
  }
  .doors, .meter-grid { grid-template-columns: 1fr; }
  .door { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-copy { padding-bottom: calc(var(--bottom) + 1.25rem); }
  .index-row strong { font-size: 1.35rem; }
  .catalog thead { display: none; }
  .catalog tr { display: grid; gap: 0.2rem; padding: 0.8rem 0; }
  .catalog td { border: 0; padding: 0; }
  .mobile-buy { display: block; }
  body.single-product { padding-bottom: calc(var(--bottom) + 4.5rem); }
}

/* --- Primary navigation --------------------------------------------------- */
.primary-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 0.65rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  position: relative;
  white-space: nowrap;
}
.nav-item.has-sub > .nav-link::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-item.has-sub:hover > .nav-link::after,
.nav-item.has-sub:focus-within > .nav-link::after { transform: rotate(-135deg) translateY(2px); opacity: 0.95; }
.nav-link::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.3rem;
  height: 1.6px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav-link:hover::before,
.nav-item:focus-within > .nav-link::before,
.nav-link[aria-current="page"]::before { transform: scaleX(1); }
.nav-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.45rem;
  background: var(--bg-raised);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  z-index: 50;
}
.nav-item.has-sub:hover > .nav-panel,
.nav-item.has-sub:focus-within > .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s;
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.95rem;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-panel a:hover,
.nav-panel a[aria-current="page"] { background: var(--bg-sunken); color: var(--teal); }

/* Hamburger */
.nav-toggle { display: none; }
.nav-bars { display: grid; gap: 4px; width: 20px; }
.nav-bars i { height: 2px; width: 100%; background: currentColor; border-radius: 2px; transform-origin: center; transition: transform 0.28s var(--ease), opacity 0.2s var(--ease); }
[data-nav-open][aria-expanded="true"] .nav-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[data-nav-open][aria-expanded="true"] .nav-bars i:nth-child(2) { opacity: 0; }
[data-nav-open][aria-expanded="true"] .nav-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav-back { position: fixed; inset: 0; z-index: 60; background: rgba(14, 36, 48, 0.5); opacity: 0; transition: opacity 0.25s var(--ease); }
.nav-back.is-on { opacity: 1; }
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 61;
  width: min(23rem, 100%);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.5rem;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  box-shadow: var(--shadow);
}
.nav-drawer.is-on { transform: translateX(0); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.nav-drawer .logo-word { font-weight: 650; letter-spacing: 0.16em; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-item { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; }
.m-link { flex: 1; display: block; padding: 1.15rem 0.25rem; text-decoration: none; font-size: 1.08rem; letter-spacing: -0.01em; }
.m-toggle { width: 3rem; height: 3rem; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: inherit; }
.m-toggle svg { transition: transform 0.22s var(--ease); }
.m-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { list-style: none; margin: 0; padding: 0.1rem 0 0.6rem 0.4rem; }
.m-sub li a { display: block; padding: 0.5rem 0.25rem; text-decoration: none; color: var(--muted); font-size: 1rem; }
.m-sub li a:hover,
.m-sub li a[aria-current="page"] { color: var(--teal); }
.nav-drawer-foot { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.nav-drawer-foot .btn { width: 100%; }
.nav-langs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.nav-langs a { padding: 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.85rem; }
.nav-langs a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
}

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
