/* ============================================================
   Hreinsivélar - "Signal" direction
   Production stylesheet. Framework-free, class-based.
   ============================================================ */

:root{
  color-scheme: dark;
  /* surfaces */
  --bg-deep:    #06120f;
  --bg-surface: #081a15;
  --footer:     #040d0b;
  --paper:      #f6f8f4;
  --soft:       #eef5ef;
  --ink:        #10201b;
  --muted:      #5d7a70;
  /* brand */
  --brand:      #0e8c6e;
  --brand-deep: #0a6f61;
  --accent:     #3be0a0;
  --accent-soft:#8effd0;
  /* lines */
  --line-dark:  rgba(255,255,255,.12);
  --line-light: #e0e7e2;
  /* on-dark text */
  --on-dark:    #ffffff;
  --on-dark-2:  rgba(255,255,255,.72);
  --on-dark-3:  rgba(255,255,255,.60);
  /* shape */
  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 24px;
  --r-sm: 18px;
  --r-input: 12px;
  /* shadow */
  --shadow-lg: 0 30px 80px rgba(0,0,0,.40);
  --shadow-card: 0 18px 50px rgba(7,19,18,.07);
  /* layout */
  --maxw: 1200px;
  --pad-section: 88px;
  /* fonts */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg-deep);
  color: var(--on-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a{ color: inherit; }
img{ max-width: 100%; display: block; }
::selection{ background: var(--accent); color: var(--bg-deep); }

:focus-visible{ outline: 3px solid rgba(59,224,160,.5); outline-offset: 3px; border-radius: 4px; }

.container{ max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }

/* sections that anchor under the sticky header */
[id]{ scroll-margin-top: 88px; }

.skip-link{
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--accent); color: var(--bg-deep);
  padding: 12px 16px; border-radius: var(--r-pill); font-weight: 800; text-decoration: none;
}
.skip-link:focus{ top: 16px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 1.02rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn--primary{ background: var(--accent); color: var(--bg-deep); }
.btn--ghost{ background: rgba(255,255,255,.06); color: var(--on-dark); border-color: rgba(255,255,255,.18); }
.btn--light{ background: #fff; color: var(--bg-deep); }
.btn--block{ width: 100%; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,18,15,.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.nav{ display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.logo{ display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-img{
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
}
.logo-text{ font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.04em; }
.logo-text em{ font-style: normal; color: var(--accent); }
.nav-links{ display: flex; align-items: center; gap: 4px; }
.nav-links a{
  font-weight: 700; font-size: .94rem; color: var(--on-dark-2);
  text-decoration: none; padding: 9px 13px; border-radius: var(--r-pill); transition: background .18s ease, color .18s ease;
}
.nav-links a:hover{ background: rgba(255,255,255,.06); color: #fff; }
.nav-cta{ background: var(--accent); color: var(--bg-deep) !important; font-weight: 800; margin-left: 6px; white-space: nowrap; }
.nav-cta:hover{ background: var(--accent); }

/* ---------- generic section heads ---------- */
.kicker{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 18px;
}
.kicker--brand{ color: var(--brand); }
.section-title{
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .94; letter-spacing: -.04em; margin: 0;
  text-wrap: balance;
}
.section-head{ margin-bottom: 34px; max-width: 680px; }
.section-head .intro{ color: var(--on-dark-3); font-size: 1.08rem; line-height: 1.6; margin: 16px 0 0; }
.section-head--split{
  display: grid; grid-template-columns: 1fr .7fr; gap: 40px; align-items: end; margin-bottom: 34px; max-width: none;
}
.section-head--split .intro{ margin: 0; }
.on-light .intro{ color: var(--muted); }

/* ---------- hero ---------- */
.hero{
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(59,224,160,.20), transparent 36%),
    radial-gradient(circle at 18% 6%, rgba(14,140,110,.26), transparent 30%),
    var(--bg-deep);
}
.hero-bg-grid{
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,224,160,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,224,160,.06) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
          mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.hero-inner{
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center;
  padding-top: 84px; padding-bottom: 78px;
}
.hero h1{
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.045em;
  margin: 0 0 24px; text-wrap: balance;
}
.hero h1 .hl{ color: var(--accent); }
.lede{ font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--on-dark-2); max-width: 500px; margin: 0 0 32px; }
.hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; }

.stat-strip{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; max-width: 560px; }
.stat{ border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 15px 18px; background: rgba(255,255,255,.04); text-align: center; }
.stat-num{ font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; color: var(--accent); letter-spacing: -.04em; }
.stat-label{ color: var(--on-dark-3); font-size: .86rem; margin-top: 2px; }

/* hero visual */
.hero-visual{
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.orbit{ position: absolute; left: 50%; top: 52%; border-radius: var(--r-pill); }
.orbit--1{ width: 420px; height: 420px; transform: translate(-50%,-50%) rotate(-12deg); border: 1px solid rgba(59,224,160,.28); }
.orbit--2{ width: 280px; height: 280px; transform: translate(-50%,-50%) rotate(24deg); border: 1px solid rgba(14,140,110,.4); }
.chip{
  position: absolute; font-family: var(--font-mono); font-size: 11px; padding: 7px 12px; border-radius: var(--r-pill); font-weight: 700;
}
.chip--live{ top: 22px; left: 22px; background: var(--accent); color: var(--bg-deep); }
.chip--map{ bottom: 22px; right: 22px; background: rgba(6,18,15,.7); color: #fff; border: 1px solid rgba(59,224,160,.3); font-weight: 400; }

/* ---------- section backgrounds ---------- */
.section{ padding-block: var(--pad-section); }
.section--deep{ background: var(--bg-deep); }
.section--surface{ background: var(--bg-surface); }
.section--paper{ background: var(--paper); color: var(--ink); }
.section--soft{ background: var(--soft); color: var(--ink); }

/* ---------- manifesto ---------- */
.manifesto{ display: grid; grid-template-columns: 1fr .82fr; gap: 48px; align-items: start; }
.manifesto-body{ font-size: 1.12rem; line-height: 1.7; color: var(--on-dark-2); }
.manifesto-body .lead{ color: #fff; font-size: 1.2rem; margin: 0 0 18px; }
.manifesto-body p{ margin: 0; }

/* ---------- card grids ---------- */
.grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* use cases */
.use-case{
  min-height: 320px; border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden;
}
.use-case-img{
  width: 100%; height: 132px; object-fit: cover; object-position: center;
  border-radius: calc(var(--r-md) - 8px); margin-bottom: auto;
  border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.06);
}
.uc-index{ font-family: var(--font-display); color: var(--accent); font-weight: 900; margin-top: 18px; }
.use-case h3{ font-family: var(--font-display); font-size: 1.26rem; letter-spacing: -.03em; margin: 16px 0 10px; }
.use-case p{ color: var(--on-dark-3); line-height: 1.5; margin: 0; font-size: .92rem; }

/* products */
.product-card{
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 24px;
  box-shadow: var(--shadow-card); color: var(--ink);
  display: flex; flex-direction: column;
}
.product-card--featured{
  grid-row: span 2; color: #fff; border: none;
  background:
    radial-gradient(circle at 75% 16%, rgba(59,224,160,.4), transparent 30%),
    linear-gradient(150deg, #0b2823, #06100f);
  display: flex; flex-direction: column; padding: 30px;
}
.product-img{
  border-radius: 16px; border: 1px solid var(--line-light);
  background-image: repeating-linear-gradient(135deg, #eef3ee 0 2px, transparent 2px 13px);
  display: grid; place-items: center; margin-bottom: 18px; aspect-ratio: 16/10;
  font-family: var(--font-mono); font-size: 10.5px; color: #8a9c93;
}
.product-card--featured .product-img{
  aspect-ratio: 1/1; border: 1px dashed rgba(59,224,160,.3);
  background-image: repeating-linear-gradient(135deg, rgba(59,224,160,.13) 0 2px, transparent 2px 14px);
  color: var(--accent-soft); margin-bottom: 24px; text-align: center; line-height: 1.7;
}
.product-type{ font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 7px; }
.product-card--featured .product-type{ color: var(--accent); font-size: 11px; }
.product-name{ font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; margin: 0 0 8px; }
.product-card--featured .product-name{ font-weight: 900; font-size: 2.4rem; letter-spacing: -.05em; margin-bottom: 12px; }
.product-desc{ color: var(--muted); line-height: 1.5; margin: 0; font-size: .92rem; }
.product-card--featured .product-desc{ color: rgba(255,255,255,.74); margin-bottom: 18px; }
.product-bullets{ margin: auto 0 0; padding-left: 18px; display: grid; gap: 9px; color: rgba(255,255,255,.74); font-size: .92rem; }

.supporting-brands{
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, .95fr));
  gap: 16px;
  align-items: stretch;
}
.supporting-brands__copy,
.brand-card{
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.supporting-brands__copy{
  background:
    radial-gradient(circle at 8% 0%, rgba(59,224,160,.16), transparent 34%),
    #fff;
}
.supporting-brands__copy h3{
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.supporting-brands__copy p:last-child,
.brand-card p{ color: var(--muted); line-height: 1.55; margin: 0; }
.brand-card{ display: flex; flex-direction: column; gap: 12px; }
.brand-card--primary{
  background:
    radial-gradient(circle at 78% 14%, rgba(59,224,160,.36), transparent 38%),
    linear-gradient(150deg, #0b2823, #06100f);
  color: #fff;
  border-color: rgba(59,224,160,.28);
}
.brand-card__eyebrow{
  width: fit-content;
  border-radius: var(--r-pill);
  padding: 5px 9px;
  background: rgba(14,140,110,.10);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-card--primary .brand-card__eyebrow{ background: rgba(59,224,160,.16); color: var(--accent); }
.brand-card h4{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.brand-card--primary h4{ color: #fff; }
.brand-card--primary p{ color: rgba(255,255,255,.72); }
.brand-card a{ margin-top: auto; color: var(--brand-deep); font-weight: 800; text-decoration: none; }
.brand-card--primary a{ color: var(--accent); }
.brand-overview{
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, .9fr));
  gap: 16px;
}
.brand-overview__lead,
.brand-overview__item{
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.brand-overview__lead h2{
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.brand-overview__lead p,
.brand-overview__item p{ margin: 0; color: var(--muted); line-height: 1.5; }
.brand-overview__item strong{ display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.035em; color: var(--ink); }
.brand-overview__item--primary{ background: linear-gradient(150deg, #0b2823, #06100f); border-color: rgba(59,224,160,.28); }
.brand-overview__item--primary strong{ color: #fff; }
.brand-overview__item--primary p{ color: rgba(255,255,255,.72); }
.brand-anchor{ scroll-margin-top: 96px; }
.catalog-card[data-vendor="Gausium"]{ border-color: rgba(14,140,110,.34); box-shadow: 0 20px 60px rgba(7,19,18,.10); }
.catalog-card[data-vendor="Gausium"] .product-type::before{ content: "Gausium · "; }
.catalog-card[data-vendor="Eureka"] .product-type::before{ content: "Eureka · "; }
.catalog-card[data-vendor="Kemaro"] .product-type::before{ content: "Kemaro · "; }

/* process */
.service-proof{ margin: -6px 0 18px; }
.service-photo-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 300px;
  margin: 0;
  border: 1px solid var(--line-light);
  background: #fff;
  box-shadow: 0 22px 70px rgba(6,18,15,.12);
}
.service-photo-card img{
  display: block;
  width: 100%;
  height: min(52vw, 460px);
  object-fit: cover;
  object-position: 50% 48%;
}
.service-photo-card figcaption{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 680px;
  margin: 0;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.82);
  background: rgba(6,18,15,.68);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}
.process-card{ background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 26px; color: var(--ink); }
.step-badge{
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--bg-deep); color: var(--accent); font-family: var(--font-display); font-weight: 900;
}
.process-card h3{ font-family: var(--font-display); font-size: 1.24rem; letter-spacing: -.03em; margin: 24px 0 10px; }
.process-card p{ color: var(--muted); line-height: 1.55; margin: 0; font-size: .92rem; }

/* ---------- calculator ---------- */
.calc-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.calc-inputs{ background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 28px; }
.calc-inputs .label{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 14px; }
.robot-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.robot-chip{
  cursor: pointer; text-align: left; border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.05); color: var(--on-dark-2); border-radius: var(--r-input);
  padding: 9px 14px; font-family: var(--font-body); font-weight: 700; font-size: 13px;
  display: inline-flex; flex-direction: column; gap: 1px; transition: .15s;
}
.robot-chip span{ font-weight: 800; }
.robot-chip small{ font-size: 10px; opacity: .62; font-family: var(--font-mono); }
.robot-chip.is-active{ background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }

.sliders{ display: grid; gap: 22px; }
.slider-head{ display: flex; justify-content: space-between; margin-bottom: 8px; }
.slider-head label{ font-weight: 700; font-size: .95rem; }
.slider-val{ font-family: var(--font-mono); color: var(--accent); font-size: .9rem; }
input[type=range]{
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14); accent-color: var(--accent); cursor: pointer;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: var(--r-pill);
  background: #fff; border: 4px solid var(--accent); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
input[type=range]::-moz-range-thumb{
  width: 22px; height: 22px; border-radius: var(--r-pill); background: #fff;
  border: 4px solid var(--accent); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.calc-results{ display: grid; gap: 18px; align-content: start; }
.result-card{ background: var(--accent); color: var(--bg-deep); border-radius: var(--r-lg); padding: 32px; }
.result-label{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(6,18,15,.6); margin: 0 0 6px; }
.result-value{ font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 5.5vw, 4.2rem); letter-spacing: -.05em; line-height: .9; margin: 0 0 4px; }
.result-sub{ margin: 0 0 24px; font-weight: 700; color: #0a3a2c; }
.bar-row{ margin-bottom: 14px; }
.bar-row:last-child{ margin-bottom: 0; }
.bar-label{ display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: #0a3a2c; margin-bottom: 7px; }
.bar-label strong{ font-weight: 700; }
.bar{ height: 14px; border-radius: var(--r-pill); background: rgba(6,18,15,.16); overflow: hidden; }
.bar-fill{ height: 100%; border-radius: var(--r-pill); transition: width .25s ease; }
.bar-fill--manual{ width: 100%; background: var(--bg-deep); }
.bar-fill--robot{ background: var(--brand-deep); }

.metrics{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric{ background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 18px; }
.metric-label{ font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.metric-value{ font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: -.03em; color: var(--accent); margin-top: 4px; }
.disclaimer{ font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,.4); margin: 18px 0 0; line-height: 1.6; max-width: 780px; }

/* ---------- guarantees ---------- */
.guarantees{ padding-block: 64px; }
.guarantee{ border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 24px; display: grid; gap: 8px; }
.guarantee strong{ font-family: var(--font-display); font-size: 1.12rem; }
.guarantee span{ color: var(--on-dark-3); line-height: 1.45; font-size: .92rem; }

/* ---------- final cta ---------- */
.final-cta{ background: radial-gradient(circle at 50% 0%, rgba(59,224,160,.18), transparent 42%), var(--bg-deep); }
.final-inner{ max-width: 900px; margin: 0 auto; text-align: center; padding-block: 96px; }
.final-inner h2{ margin: 0 0 30px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .96; letter-spacing: -.045em; }
.final-inner .hero-actions{ justify-content: center; }

/* ---------- footer ---------- */
.site-footer{ background: var(--footer); border-top: 1px solid var(--line-dark); padding: 40px 24px; color: var(--on-dark-2); }
.footer-inner{ display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.logo-img--footer{ width: 38px; height: 38px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.footer-brand .name{ color: #fff; font-family: var(--font-display); font-weight: 800; }
.footer-brand .reg{ font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); }
.footer-links{ display: flex; gap: 20px; font-weight: 700; font-size: .92rem; }
.footer-links a{ text-decoration: none; }
.footer-links a.mail{ color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px){
  .hero-inner,
  .manifesto,
  .section-head--split,
  .calc-grid{ grid-template-columns: 1fr; }
  .section-head--split{ align-items: start; }
  /* collapse section links on small screens but keep the primary CTA reachable */
  .nav-links{ gap: 8px; }
  .nav-links a:not(.nav-cta){ display: none; }
  .grid-4, .grid-3{ grid-template-columns: 1fr 1fr; }
  .supporting-brands,
  .brand-overview{ grid-template-columns: 1fr 1fr; }
  .supporting-brands__copy,
  .brand-overview__lead{ grid-column: 1 / -1; }
  .product-card--featured{ grid-row: auto; grid-column: 1 / -1; }
  .hero-visual{ max-width: 460px; }
}
@media (max-width: 560px){
  :root{ --pad-section: 64px; }
  .grid-4, .grid-3, .stat-strip, .metrics, .supporting-brands, .brand-overview{ grid-template-columns: 1fr; }
  .supporting-brands__copy,
  .brand-overview__lead{ grid-column: auto; }
}

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


/* ---------- curated Hreinsivélar image assets ---------- */
.hero-photo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  filter: saturate(1.05) contrast(1.04);
}
.hero-visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 24% 18%, rgba(59,224,160,.22), transparent 32%), linear-gradient(180deg, rgba(6,18,15,.03), rgba(6,18,15,.48));
  pointer-events: none;
}
.hero-visual .orbit,
.hero-visual .chip{ z-index: 2; }
img.product-img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  background: #eef5ef;
}
/* In the 3-col machine grid the featured card forces the side cards to span
   two rows; let their photos grow to fill the extra height instead of
   leaving dead space below the copy. */
.product-card:not(.product-card--featured) img.product-img{
  height: auto;
  flex: 1 1 190px;
  min-height: 190px;
}
.product-card--featured img.product-img{
  height: 260px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  padding: 14px;
}

/* ============ PRODUCT DETAIL / SCRAPED CATALOG ============ */
.product-detail-link{
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.product-card:not(.product-card--featured) .product-detail-link{ color: var(--brand-deep); }
.catalog-cta{
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.catalog-cta p{ margin: 0; color: var(--muted); max-width: 760px; }
.detail-hero{ padding-top: 140px; background: radial-gradient(circle at 75% 20%, rgba(59,224,160,.18), transparent 36%), var(--bg-deep); color: var(--on-dark); }
.detail-hero-grid{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.detail-copy h1{ font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -.06em; margin: 0 0 22px; }
.detail-copy .lede{ color: var(--on-dark-2); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.detail-price{ font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 900; color: var(--accent); margin: 26px 0; }
.detail-actions{ max-width: 340px; margin: 0 0 18px; }
.source-note{ color: var(--on-dark-3); font-family: var(--font-mono); font-size: 11px; line-height: 1.6; }
.source-note a{ color: var(--accent); }
.detail-visual{ margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); min-height: 360px; display: grid; place-items: center; }
.detail-visual img{ width: 100%; height: 100%; max-height: 540px; object-fit: contain; padding: 24px; }
.detail-content-grid{ display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 28px; align-items: start; }
/* ===== ported hreinsivelar.is marketing bands (full-bleed bg image + copy) ===== */
.product-features-section{ background: #eef3fb; color: #13233b; }
/* each band = the original Elementor section background image, copy overlaid */
.product-feature-band{ position: relative; background: #eef3fb; }
.product-feature-band__img{ display: block; width: 100%; height: auto; }
.product-feature-band__overlay{ position: absolute; inset: 0; }
.product-feature-band__overlay .container{ height: 100%; display: flex; align-items: center; }
/* frosted backing keeps the copy legible over any part of the band artwork */
.product-feature-band__copy{
  width: min(46%, 560px);
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(10, 22, 40, 0.12);
}
.product-feature-band__copy--right{ margin-left: auto; }
.product-feature-band__copy--left{ margin-right: auto; }
.product-feature-band__copy h3,
.product-feature-card__copy h3{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  color: #13233b;
}
.product-feature-band__copy h3 .accent,
.product-feature-card__copy h3 .accent{ color: #2f6fe0; }
.product-feature-band__copy p{ color: #3f5161; line-height: 1.6; font-size: clamp(.86rem, 1.35vw, 1.05rem); margin: 0 0 11px; }
.product-feature-band__copy p:last-child{ margin-bottom: 0; }

/* fallback contained card for products without a ported band image */
.product-feature-card{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,56px); align-items: center; padding-block: clamp(36px,5vw,72px); }
.product-feature-card--reverse .product-feature-card__media{ order: 2; }
.product-feature-card__media{ margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-light); background: #fff; box-shadow: var(--shadow-card); display: grid; place-items: center; min-height: clamp(260px,32vw,400px); }
.product-feature-card__media img{ width: 100%; height: 100%; max-height: 400px; object-fit: contain; padding: clamp(18px,4vw,48px); }
.product-feature-card__copy p{ color: #3f5161; line-height: 1.7; font-size: 1.04rem; margin: 0 0 12px; }

/* demo video sits in the page container below the bands */
.product-feature-video{ padding-block: clamp(36px, 5vw, 72px); }
.product-feature__video{
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #071525;
  box-shadow: var(--shadow-card);
}
.product-feature__video video{ display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #071525; }
.detail-panel--full{ max-width: 880px; }
@media (max-width: 820px){
  /* stack: image on top, copy below on the light band background */
  .product-feature-band__overlay{ position: static; }
  .product-feature-band__overlay .container{ display: block; padding-block: 22px 30px; }
  .product-feature-band__copy{ width: 100%; }
  .product-feature-card{ grid-template-columns: 1fr; }
  .product-feature-card--reverse .product-feature-card__media{ order: 0; }
}
.detail-panel{ background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-md); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-card); }
.detail-panel h2{ font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.045em; margin: 0 0 22px; color: var(--ink); }
.detail-panel p{ color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.detail-spec-list{ margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--muted); line-height: 1.55; }
.catalog-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.catalog-card{ background: #fff; border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; min-height: 100%; }
.catalog-card-image{ display: grid; place-items: center; min-height: 210px; background: #eef5ef; border-radius: var(--r-sm); overflow: hidden; margin-bottom: 18px; }
.catalog-card-image img{ width: 100%; height: 210px; object-fit: contain; padding: 14px; }
.catalog-card h2{ font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: -.035em; margin: 0 0 10px; color: var(--ink); }
.catalog-card p{ color: var(--muted); line-height: 1.5; }
.catalog-card-footer{ margin-top: auto; display: flex; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid var(--line-light); padding-top: 16px; }
.catalog-card-footer strong{ font-family: var(--font-display); color: var(--brand-deep); }
.catalog-card-footer a{ font-weight: 800; color: var(--brand-deep); text-decoration: none; }
@media (max-width: 900px){
  .detail-hero-grid,
  .detail-content-grid,
  .catalog-grid{ grid-template-columns: 1fr; }
  .catalog-cta{ align-items: flex-start; flex-direction: column; }
}

/* ============ SHOPIFY COMMERCE ============ */
/* product card actions */
.product-actions{ margin-top: 18px; display: grid; gap: 10px; }
.product-card--featured .product-actions{ margin-top: 20px; }
.product-price{ font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); min-height: 1.2em; }
.product-card--featured .product-price{ color: #fff; }
.product-cta{ min-height: 48px; font-size: .98rem; }
.product-cta.is-loading{ opacity: .7; pointer-events: none; }

/* header cart toggle + badge */
.cart-toggle{
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  color: var(--on-dark); cursor: pointer; transition: background .18s ease;
}
.cart-toggle:hover{ background: rgba(255,255,255,.12); }
.cart-badge{
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--bg-deep); font-size: 11px; font-weight: 800;
  border-radius: var(--r-pill); line-height: 1;
}

/* overlay + drawer */
.cart-overlay{
  position: fixed; inset: 0; z-index: 80; background: rgba(4,11,9,.55);
  opacity: 0; transition: opacity .24s ease; backdrop-filter: blur(2px);
}
.cart-overlay.is-open{ opacity: 1; }
.cart-drawer{
  position: fixed; top: 0; right: 0; z-index: 90; height: 100%;
  width: min(420px, 92vw); display: flex; flex-direction: column;
  background: var(--bg-surface); color: var(--on-dark);
  border-left: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .24s ease;
}
.cart-drawer.is-open{ transform: translateX(0); }
.cart-drawer.is-busy{ opacity: .6; pointer-events: none; }
.cart-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
}
.cart-close{
  background: none; border: none; color: var(--on-dark-2); font-size: 28px;
  line-height: 1; cursor: pointer; padding: 0 4px;
}
.cart-close:hover{ color: #fff; }
.cart-empty{ padding: 28px 24px; color: var(--on-dark-3); margin: 0; }
.cart-lines{ list-style: none; margin: 0; padding: 8px 0; flex: 1; overflow-y: auto; }
.cart-line{ display: flex; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line-dark); }
.cart-line-img{ width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,.06); flex: none; }
.cart-line-img--ph{ display: block; }
.cart-line-body{ flex: 1; min-width: 0; }
.cart-line-title{ font-weight: 700; margin: 0 0 8px; font-size: .98rem; }
.cart-line-row{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-line-price{ font-family: var(--font-display); font-weight: 800; }
.qty{ display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.06); border-radius: var(--r-pill); padding: 2px; }
.qty-btn{
  width: 28px; height: 28px; border: none; border-radius: var(--r-pill);
  background: transparent; color: var(--on-dark); font-size: 17px; cursor: pointer; line-height: 1;
}
.qty-btn:hover{ background: rgba(255,255,255,.12); }
.qty-num{ min-width: 22px; text-align: center; font-weight: 700; }
.cart-line-remove{ background: none; border: none; color: var(--on-dark-3); font-size: .82rem; padding: 8px 0 0; cursor: pointer; text-decoration: underline; }
.cart-line-remove:hover{ color: var(--accent); }
.cart-foot{ padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); display: grid; gap: 14px; }
.cart-subtotal{ display: flex; align-items: baseline; justify-content: space-between; font-size: 1.05rem; }
.cart-subtotal strong{ font-family: var(--font-display); font-size: 1.3rem; }
.cart-note{ margin: 0; font-size: .78rem; color: var(--on-dark-3); line-height: 1.5; }
.btn.is-disabled{ opacity: .45; pointer-events: none; }
body.cart-open{ overflow: hidden; }
@media (prefers-reduced-motion: reduce){
  .cart-drawer, .cart-overlay{ transition: none; }
}

/* ============ LEGAL / CONTENT PAGES ============ */
.legal{ max-width: 760px; }
.legal h2{ font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; margin: 34px 0 10px; color: var(--accent); }
.legal p{ color: var(--on-dark-2, rgba(255,255,255,.78)); line-height: 1.7; margin: 0 0 14px; }
.legal a{ color: var(--accent); }
.legal .lede{ margin-bottom: 28px; }
.legal-back{ margin-top: 36px; }
