/* Polyproject – Tesla-inspired layout */
:root {
  --ink: #171a20;
  --ink-2: #393c41;
  --muted: #5c5e62;
  --line: #e2e3e3;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --brand: #066cb5;
  --brand-dark: #05589a;
  --accent: #066cb5;            /* brand blue used for text */
  --surface: #ffffff;           /* cards, panels and menus */
  --header-glass: rgba(255,255,255,.92);
  --hover: rgba(0,0,0,.06);
  --avatar-bg: #dfe7ef;
  --shadow: rgba(0,0,0,.08);
  --btn2-bg: #f6f8fa;           /* secondary button */
  --btn2-bg-hover: #eaeef2;
  --btn2-text: #24292f;
  --btn2-border: rgba(31,35,40,.25);
  --radius: 4px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --wide: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --header: 72px;
  color-scheme: light dark;
}

/* Dark mode follows the visitor's system setting */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f2;
    --ink-2: #c6cad0;
    --muted: #9ca3ab;
    --line: #2d3138;
    --bg: #111317;
    --bg-soft: #181b20;
    --accent: #5aa9e6;
    --surface: #20242a;
    --header-glass: rgba(17,19,23,.88);
    --hover: rgba(255,255,255,.08);
    --avatar-bg: #22303d;
    --shadow: rgba(0,0,0,.45);
    --btn2-bg: #262a30;
    --btn2-bg-hover: #30353c;
    --btn2-text: #e6e8eb;
    --btn2-border: rgba(255,255,255,.18);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 var(--gutter);
}
.site-header.solid { position: sticky; top: 0; background: var(--header-glass); backdrop-filter: blur(12px); }
.logo img { height: 56px; width: auto; }
@media (max-width: 520px) { .logo img { height: 46px; } }

.nav { display: flex; gap: 4px; align-items: center; }
.nav > a, .nav-toggle, .menu-btn {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background .25s;
}
.nav > a:hover, .nav-toggle:hover, .menu-btn:hover { background: var(--hover); }
.nav > a[aria-current="page"] { background: var(--hover); }
.on-dark .nav > a, .on-dark .nav-toggle, .on-dark .menu-btn { color: #fff; }
.on-dark .nav > a:hover, .on-dark .nav-toggle:hover, .on-dark .menu-btn:hover, .on-dark .nav > a[aria-current="page"] { background: rgba(255,255,255,.15); }

/* Products dropdown */
.nav-item { display: flex; align-items: center; height: var(--header); }
.nav-toggle { background: none; border: 0; cursor: pointer; font-family: inherit; line-height: inherit; }
.nav-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.nav-item:hover .nav-toggle::after, .nav-item.open .nav-toggle::after { transform: translateY(0) rotate(-135deg); }
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 16px 32px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .mega, .nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: var(--wide); margin: 0 auto; padding: 32px var(--gutter) 40px; }
.mega h3 { margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mega a { display: block; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.mega a:hover, .mega a[aria-current="page"] { color: var(--accent); }
/* Header turns white while the panel is open */
.site-header:has(.nav-item:hover), .site-header:has(.nav-item.open) { background: var(--bg); }
.on-dark:has(.nav-item:hover) .nav > a, .on-dark:has(.nav-item:hover) .nav-toggle,
.on-dark:has(.nav-item.open) .nav > a, .on-dark:has(.nav-item.open) .nav-toggle { color: var(--ink); }
.on-dark:has(.nav-item:hover) .nav > a:hover, .on-dark:has(.nav-item:hover) .nav-toggle,
.on-dark:has(.nav-item.open) .nav > a:hover, .on-dark:has(.nav-item.open) .nav-toggle { background: var(--hover); }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; font-family: inherit; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(320px, 100%);
  background: var(--bg);
  z-index: 40;
  padding: calc(var(--header) + 16px) 24px 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.drawer a { display: block; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 500; }
.drawer a:hover { background: var(--bg-soft); }
.drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--radius); font-weight: 500; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary:hover { background: var(--bg-soft); }
.drawer summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .2s; }
.drawer details[open] summary::after { transform: rotate(-135deg); }
.drawer .sub { padding: 0 0 8px 12px; }
.drawer .sub h3 { margin: 12px 12px 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.drawer .sub a { padding: 6px 12px; font-size: 15px; font-weight: 400; }
.drawer .sub a[aria-current="page"] { color: var(--accent); }
.drawer .close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; line-height: 1; color: var(--ink); }
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s; }
body.menu-open .drawer { transform: none; }
body.menu-open .backdrop { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; background: var(--hover); }
  .on-dark .menu-btn { background: rgba(255,255,255,.15); }
}

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 200px; height: 40px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 500; font-family: inherit; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Solid brand blue, a shade darker on hover */
.btn-primary { color: #fff; background: var(--brand); border-color: var(--brand-dark); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { background: #044a82; }
/* Flat light grey with a thin outline */
.btn-ghost { color: var(--btn2-text); background: var(--btn2-bg); border-color: var(--btn2-border); }
.btn-ghost:hover { background: var(--btn2-bg-hover); }
/* On photos the secondary button always stays light */
.btn-light { color: #24292f; background: #f6f8fa; border-color: rgba(31,35,40,.25); }
.btn-light:hover { background: #eaeef2; }
.btn-light:focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .btns { flex-direction: column; width: 100%; } .btn { width: 100%; } }

/* ---------- Photos ----------
   Set the image with an inline background-image; it always covers its box. */
.photo { position: relative; overflow: hidden; background: #222 center / cover no-repeat; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; color: #fff; }
.hero .photo { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.2) 65%, rgba(0,0,0,.65) 100%);
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center; padding: 18vh var(--gutter) 64px;
}
.hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.hero p { margin-top: 8px; font-size: clamp(15px, 1.6vw, 18px); opacity: .92; }
.hero .scroll { display: inline-block; margin-top: 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; text-decoration: none; }
.hero .scroll::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(5px) rotate(45deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) var(--gutter); }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }
.container { max-width: var(--max); margin: 0 auto; }
.center { text-align: center; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.dark .eyebrow { color: #7fb8e6; }
h2, .feature h1, .section h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
h3 { font-size: 20px; font-weight: 500; line-height: 1.3; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 680px; margin: 16px auto 0; }
.dark .lead { color: #c9cacc; }
.center .btns { margin-top: 32px; }
.center h2 { text-wrap: balance; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(36px, 5vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.stat .num small { font-size: .45em; font-weight: 500; margin-left: 4px; }
.stat .label { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 40px; } }

/* Split media/text */
.split {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(32px, 4vw, 64px);
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter);
}
.split .photo { aspect-ratio: 16 / 10; border-radius: 12px; }
.split .text { display: flex; flex-direction: column; justify-content: center; }
.split .text p { color: var(--muted); margin-top: 16px; max-width: 480px; }
.split.reverse { grid-template-columns: 1fr 1.15fr; }
.split.reverse .photo { order: 2; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.split .btns { justify-content: flex-start; margin-top: 32px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; padding-bottom: 48px; }
  .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .photo { order: 0; }
  .split .photo { aspect-ratio: 4 / 3; }
}

/* Feature: heading + text with a wide image below */
.feature {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--gutter) clamp(24px, 4vw, 48px);
}
.feature p { margin-top: 20px; color: var(--ink-2); font-size: 15px; max-width: 1100px; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-top: 40px; background: #222; }
@media (max-width: 860px) { .feature img { aspect-ratio: 4 / 3; } }

/* Product grid */
#produkter > .container { max-width: var(--wide); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 56px; text-align: left; }
.grid4 > div { background: var(--bg); padding: 32px 28px; }
.grid4 h3 { font-size: 17px; margin-bottom: 16px; }
.grid4 li { font-size: 14px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }

/* Full-bleed banner */
.banner {
  position: relative; height: 75vh; min-height: 480px; color: #fff; display: flex; align-items: flex-end;
  width: calc(100% - 2 * var(--gutter)); max-width: var(--wide); margin: clamp(24px, 4vw, 48px) auto;
  border-radius: 12px; overflow: hidden;
}
.banner .photo { position: absolute; inset: 0; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0) 60%); }
.banner .text { position: relative; z-index: 2; padding: 0 clamp(24px, 4vw, 56px) clamp(32px, 5vw, 56px); max-width: 720px; }
.banner p { margin-top: 12px; opacity: .9; }
.banner .btns { justify-content: flex-start; margin-top: 28px; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }
.faq details a { color: var(--accent); }

/* Certification band */
.section.cert { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 96px); }
.cert > .container { max-width: var(--wide); padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 56px); border-radius: 12px; background: var(--bg-soft); }
.cert .cards { max-width: 720px; }
.cert .card { text-align: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cert .card img.badge { width: 112px; height: 112px; margin: 0 auto 16px; }
.cert .std { font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.cert .card p:not(.std) { margin-top: 4px; }
.cert .specs-note { margin-top: 24px; }
.cert .btns { margin-top: 24px; }

/* ---------- Product pages ---------- */
.hero .kicker { margin: 0 0 8px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

/* Key figures inside a split */
.facts { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 28px; }
.facts .num { font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.facts .label { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 180px; }

/* Text cards on a soft background */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 980px; margin: 48px auto 0; text-align: left; }
.card { background: var(--bg-soft); border-radius: 8px; padding: 28px; }
.soft .card { background: var(--surface); }
.card h3 { font-size: 17px; }
.card p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.cards.compact .card { padding: 22px 24px; }

/* Links to sibling pages */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: left; }
.related a { display: block; text-decoration: none; }
.related .photo { aspect-ratio: 4 / 3; border-radius: 8px; }
.related .photo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s; }
.related a:hover .photo::after { background: rgba(0,0,0,.12); }
.related h3 { margin-top: 14px; font-size: 17px; }
.related p { margin-top: 2px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.center .chips { justify-content: center; }
.soft .chip { background: var(--surface); }
.cards.four { grid-template-columns: repeat(4, 1fr); max-width: var(--max); }
@media (max-width: 960px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards.four { grid-template-columns: 1fr; } }

/* Product hero: studio photo on white */
.hero-product { padding: calc(var(--header) + clamp(32px, 6vw, 72px)) var(--gutter) clamp(56px, 8vw, 96px); text-align: center; }
.hero-product .kicker { margin-bottom: 8px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hero-product h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.hero-product .sub { margin-top: 8px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); }
.hero-product img { width: min(100%, 800px); margin: clamp(8px, 2vw, 24px) auto 0; }
.hero-product .btns { margin-top: 8px; }
.hero-product .stats { max-width: 900px; margin: clamp(48px, 7vw, 80px) auto 0; }

/* Spec table */
.specs { max-width: 980px; margin: 40px auto 0; overflow-x: auto; text-align: left; }
.specs table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.specs th, .specs td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.specs thead th { font-size: 13px; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.specs thead tr.group th { padding-bottom: 0; border-bottom: 0; color: var(--ink); }
.specs tbody th { font-weight: 500; }
.specs-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.product-img { width: min(100%, 800px); margin: 32px auto 0; border-radius: 12px; }
.specs.wrap td { white-space: normal; min-width: 140px; }
.specs a { color: var(--accent); text-decoration: none; }
.specs a:hover { text-decoration: underline; }

/* Technical drawings: show the whole image on white */
.split .photo.drawing { background-color: #fff; background-size: contain; box-shadow: inset 0 0 0 1px var(--line); }

/* Cards with a drawing or a list */
.card img { max-height: 200px; margin: 0 auto 20px; }
.card .model { margin-top: 2px; font-size: 13px; color: var(--muted); }
.card ul { margin-top: 12px; }
.card li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Document downloads */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; max-width: 980px; margin: 40px auto 0; text-align: left; }
.docs a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 8px; background: var(--bg-soft); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.soft .docs a { background: var(--surface); }
.docs a:hover, .soft .docs a:hover { background: var(--line); }
.docs a::before { content: "PDF"; flex: none; padding: 3px 6px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; }
.docs a[href$=".xls"]::before { content: "XLS"; background: #1d6f42; }
.docs small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }

.grid4 li a { text-decoration: none; color: var(--ink); font-weight: 500; }
.grid4 li a::after { content: " →"; }
.grid4 li a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- About page: timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 48px auto 0; text-align: left; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 0 40px; padding-bottom: 36px; }
.timeline li::before { content: ""; position: absolute; left: 139px; top: 10px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 134px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg); }
.soft .timeline li::after { box-shadow: 0 0 0 4px var(--bg-soft); }
.timeline .year { font-size: 20px; font-weight: 500; line-height: 1.2; text-align: right; color: var(--accent); }
.timeline p { color: var(--ink-2); }
.timeline a { color: var(--accent); }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; padding-left: 32px; }
  .timeline li::before { left: 5px; }
  .timeline li::after { left: 0; }
  .timeline .year { text-align: left; margin-bottom: 4px; }
}

/* ---------- Contact page ---------- */
.page-head { padding: clamp(56px, 9vw, 104px) var(--gutter) 24px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -.01em; }

/* Long-form text, such as the privacy policy */
.legal { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) clamp(64px, 8vw, 104px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal h3 { font-size: 17px; margin-top: 20px; }
.legal p, .legal ul { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--accent); }
.legal .updated { margin-top: 48px; font-size: 14px; font-style: italic; color: var(--muted); }

.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.location { border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.location .photo { aspect-ratio: 16 / 9; }
.location .body { padding: 28px; }
.location dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin-top: 16px; font-size: 15px; }
.location dt { color: var(--muted); }
.location dd a { text-decoration: none; }
.location dd a:hover { text-decoration: underline; }
.location .btns { justify-content: flex-start; margin-top: 24px; }
.location .btn { min-width: 0; }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }

.team-group { margin-top: 56px; }
.team-group h3 { font-size: 15px; color: var(--muted); font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.team-group h3 b { color: var(--ink); font-weight: 500; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; margin-top: 24px; }
.person { display: flex; gap: 16px; align-items: center; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--avatar-bg); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.person .name { font-weight: 500; }
.person .role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.person a { display: block; font-size: 13px; text-decoration: none; color: var(--ink-2); margin-top: 2px; overflow-wrap: anywhere; }
.person a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { padding: 40px var(--gutter) 32px; text-align: center; font-size: 12px; color: var(--muted); }
.footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Dark mode: product photos and badges are shot on white, so frame them */
@media (prefers-color-scheme: dark) {
  .hero-product img, .product-img { border-radius: 12px; }
  .cert .card img.badge { border-radius: 50%; }
}
