/* ============================================================
   BROOTOPIA — design tokens
   Void black + copper, blueprint/spec-sheet industrial system
   ============================================================ */

:root {
  --void: #0a0906;
  --panel: #131109;
  --panel-raised: #1a170f;
  --hairline: #2c2818;
  --hairline-strong: #423c22;
  --steam: #f2ede1;
  --steam-dim: #bbb3a0;
  --brass: #8a7d5c;
  --copper: #d9a43d;
  --copper-bright: #ecb94f;
  --copper-dim: #7a5a22;

  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--steam);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--steam);
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0; color: var(--steam-dim); }

.lede {
  font-size: 1.0625rem;
  color: var(--steam-dim);
  max-width: 46ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--brass);
}

.copper-text { color: var(--copper-bright); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--copper);
  color: #140901;
}
.btn-primary:hover { background: var(--copper-bright); }

.btn-ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--steam);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-bright); }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 4, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a, .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--steam-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"],
.nav-link:hover {
  color: var(--steam);
  border-bottom-color: var(--copper);
}

.nav-item { position: static; }
.nav-item .caret { transition: transform 0.15s ease; }
.nav-item.open .caret,
.nav-item:hover .caret { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 20px; }


.btn-arrow svg { transition: transform 0.15s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-strong);
  color: var(--steam);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 64px);
    background: var(--void);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--gutter);
    gap: 4px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid var(--hairline);
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav a, .nav-link { font-size: 1.0625rem; padding: 12px 0; width: 100%; }
  .nav-item { width: 100%; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- section rhythm ---------- */

section { padding: clamp(60px, 9vw, 120px) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
}

.section-head .mono { white-space: nowrap; padding-bottom: 6px; }

.divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--hairline);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .mono { display: block; margin-bottom: 22px; }

.hero-copy h1 { margin-bottom: 24px; }

.hero-copy .lede { margin-bottom: 36px; max-width: 50ch; }

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: var(--copper-bright);
  display: block;
}
.hero-stat .label {
  font-size: 0.875rem;
  color: var(--brass);
  margin-top: 4px;
  display: block;
}

.hero-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic svg { width: 100%; height: auto; max-width: 420px; }

/* radial burst reveal animation — single orchestrated moment */
.burst-node {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  animation: node-in 0.6s cubic-bezier(.2,.8,.2,1) forwards;
}
.burst-spoke {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: spoke-in 0.5s ease forwards;
}
@keyframes node-in { to { opacity: 1; transform: scale(1); } }
@keyframes spoke-in { to { stroke-dashoffset: 0; } }

/* ---------- corner-bracket frame, blueprint device ---------- */

.plate {
  position: relative;
  border: 1px solid var(--hairline);
  background: var(--panel);
  padding: 32px;
}
.plate::before, .plate::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--copper);
}
.plate::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.plate::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---------- offerings (spec-row layout, not cards) ---------- */

.offering-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.offering-row:last-child { border-bottom: 1px solid var(--hairline); }

.offering-index {
  font-family: var(--font-mono);
  color: var(--copper-dim);
  font-size: 1rem;
  padding-top: 4px;
}

.offering-row h3 { margin-bottom: 12px; }
.offering-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offering-specs .spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brass);
  border-bottom: 1px dotted var(--hairline);
  padding-bottom: 6px;
}
.offering-specs .spec span:last-child { color: var(--steam-dim); text-align: right; }

@media (max-width: 760px) {
  .offering-row { grid-template-columns: 1fr; gap: 16px; }
  .offering-index { padding-top: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; max-width: 260px; margin: 0 auto; }
}

/* ---------- audience split ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline);
}
.audience-col {
  padding: 40px;
  border-left: 1px solid var(--hairline);
}
.audience-col:first-child { border-left: none; }
.audience-col .mono { display: block; margin-bottom: 18px; }
.audience-col ul { margin: 22px 0 0; padding: 0; list-style: none; }
.audience-col li {
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  color: var(--steam-dim);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-col { border-left: none; border-top: 1px solid var(--hairline); }
  .audience-col:first-child { border-top: none; }
}

/* ---------- process timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.timeline-step {
  border-top: 2px solid var(--copper);
  padding-top: 18px;
}
.timeline-step .mono { display: block; margin-bottom: 14px; color: var(--copper-dim); }
.timeline-step h4 { font-size: 1.05rem; margin-bottom: 10px; }
.timeline-step p { font-size: 0.9rem; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- installation / portfolio plates ---------- */

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.install-card {
  background: var(--void);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.install-visual { aspect-ratio: 4/3; }
.install-visual svg { width: 100%; height: 100%; }
.install-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brass);
}
.install-meta .spec-line { display: flex; justify-content: space-between; }
.install-meta .spec-line span:last-child { color: var(--steam-dim); }

@media (max-width: 900px) {
  .install-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .install-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--panel) 0%, var(--void) 100%);
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 56px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.footer-top .brand img { height: 67px; margin-bottom: 14px; }
.footer-top p { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brass);
  text-transform: none;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--steam-dim); }
.footer-col a:hover { color: var(--copper-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.875rem;
  color: var(--brass);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---------- page hero (interior pages) ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 80px) 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero .mono { display: block; margin-bottom: 18px; }
.page-hero .lede { margin-top: 20px; }

/* ---------- forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brass);
}
.field input,
.field select,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--hairline-strong);
  color: var(--steam);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  outline: none;
}
.form-note { font-size: 0.875rem; margin-top: 18px; color: var(--brass); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

.contact-info-item {
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.contact-info-item:last-child { border-bottom: 1px solid var(--hairline); }
.contact-info-item .mono { display: block; margin-bottom: 8px; }

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--copper-dim);
  font-size: 0.9rem;
  display: none;
}
.form-status.visible { display: block; }

/* ---------- about page ---------- */

.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.value-item { background: var(--void); padding: 32px; }
.value-item .mono { display: block; margin-bottom: 14px; }
@media (max-width: 700px) { .value-list { grid-template-columns: 1fr; } }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card .avatar {
  aspect-ratio: 1;
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
}
.team-card .avatar svg { width: 46%; height: 46%; }
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-mono); font-size: 0.875rem; color: var(--brass); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   HOME V2 — photo-style hero, feature strip, product scale grid
   (introduced with the sitemap-driven rebuild)
   ============================================================ */

.hero-v2 {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.hero-v2-copy {
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-v2-copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--copper-bright);
  display: block;
  margin-bottom: 22px;
}
.hero-v2-copy h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  margin-bottom: 26px;
}
.hero-v2-copy h1 em {
  font-style: normal;
  color: var(--copper-bright);
}
.hero-v2-copy .lede { max-width: 46ch; margin-bottom: 34px; }
.hero-v2-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--copper-dim);
  color: var(--copper-bright);
}
.btn-outline:hover { border-color: var(--copper); background: rgba(217,164,61,0.07); }



@media (max-width: 980px) {
}


/* ---------- top contact bar ---------- */
.topbar { background: var(--copper); color: #1a1204; }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 2px 28px; flex-wrap: wrap; padding-top: 3px; padding-bottom: 3px; min-height: 31px; }
.topbar-contact, .topbar-social { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 26px; }
.topbar a { color: #1a1204; font-size: 0.9375rem; line-height: 1.2; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-contact a:hover { text-decoration: underline; }
.topbar-social { gap: 8px; }
.topbar-social svg { width: 13px; height: 13px; }
.topbar-social a { width: 25px; height: 25px; justify-content: center; border: 1px solid rgba(26, 18, 4, 0.4); border-radius: 50%; }
.topbar-social a:hover { background: #1a1204; color: var(--copper-bright); }

/* ---------- hero carousel ---------- */
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 0.63fr 1.37fr;
  min-height: 396px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-v2-visual { position: relative; overflow: hidden; background: var(--panel); min-height: 336px; }
.hero-v2-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-v2-copy { padding-right: clamp(var(--gutter), 9vw, 150px); padding-bottom: 72px; }


.hero-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 4; display: flex; justify-content: center; gap: 12px; }
.hero-dot { position: relative; width: 60px; height: 20px; background: none; border: 0; padding: 0; cursor: pointer; }
.hero-dot::before, .hero-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2.5px; }
.hero-dot::before { background: var(--hairline-strong); }
.hero-dot::after { background: var(--copper-bright); transform: scaleX(0); transform-origin: left; }
.hero-dot.active::after { animation: dot-progress 10s linear forwards; }
.hero-v2.paused .hero-dot.active::after { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }

@media (max-width: 980px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-v2-visual { min-height: 180px; }
  .hero-v2-copy { padding-right: var(--gutter); padding-bottom: 80px; }
}

/* ---------- action strip (Plug-N-Play / Managed Services / Marketplace) ---------- */
.action-strip { border-bottom: 1px solid var(--hairline); background: var(--panel); padding: clamp(27px, 3.5vw, 63px) 0; }
.action-strip .wrap { max-width: none; padding: 0 var(--edge); display: grid; grid-template-columns: repeat(3, 1fr); }
.action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 21px 20px;
  border-left: 1px solid var(--hairline);
  transition: background 0.15s ease;
}
.action-tile:first-child { border-left: none; }
.action-tile:hover { background: rgba(217, 164, 61, 0.06); }
.action-tile > svg { flex-shrink: 0; width: 78px; height: 78px; color: var(--copper-bright); }
.action-tile h3 { font-size: 1.125rem; margin-bottom: 4px; }
.action-tile p { font-size: 0.875rem; color: var(--steam-dim); max-width: 30ch; margin: 0 auto; }
@media (max-width: 860px) {
  .action-strip .wrap { grid-template-columns: 1fr; }
  .action-tile { border-left: none; border-top: 1px solid var(--hairline); padding: 17px 20px; }
  .action-tile:first-child { border-top: none; }
}

/* ---------- masthead: logo + tagline, side by side ---------- */
.masthead { background: var(--void); border-bottom: 1px solid var(--hairline); }
.masthead-inner { display: flex; align-items: center; justify-content: flex-start; gap: clamp(20px, 3vw, 36px); padding-top: 14px; padding-bottom: 14px; }
.masthead-logo { flex-shrink: 0; }
.masthead-logo img { height: clamp(60px, 7vw, 88px); width: auto; display: block; }
.masthead-tagline { font-size: clamp(1.1rem, 2vw, 1.6rem); font-style: italic; font-weight: 500; letter-spacing: 0.02em; color: var(--steam); padding-left: clamp(20px, 3vw, 36px); border-left: 1px solid var(--hairline-strong); line-height: 1.25; }
.masthead-tagline span { color: var(--copper-bright); }
@media (max-width: 640px) {
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
  .masthead-tagline { padding-left: 0; border-left: none; }
}

/* ---------- header sections run edge to edge ---------- */
.topbar-inner,
.masthead-inner,
.site-header .wrap {
  max-width: none;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* ---------- hero: framed image + text, balanced ---------- */
:root { --edge: clamp(20px, 3vw, 48px); }

.hero-v2 { padding: var(--edge) var(--edge) calc(var(--edge) + 30px); }
.hero-slide {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  min-height: 0;
}
.hero-v2-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background: radial-gradient(circle at 65% 35%, #3a2d12 0%, #0d0b07 85%);
  border: 1px solid var(--hairline-strong);
}
.hero-v2-visual::before,
.hero-v2-visual::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--copper);
  z-index: 2;
}
.hero-v2-visual::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-v2-visual::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-v2-copy { padding: 0; max-width: 640px; }
.hero-v2-copy .eyebrow { margin-bottom: 16px; }
.hero-v2-copy h1 { font-size: clamp(2rem, 2.8vw, 2.75rem); margin-bottom: 20px; }
.hero-v2-copy .lede { margin-bottom: 28px; max-width: 52ch; }
.hero-controls { bottom: 14px; }

/* ---------- menu headers: uppercase, generous spacing ---------- */
.main-nav { gap: clamp(24px, 2.6vw, 44px); }
.main-nav > a,
.main-nav .nav-link {
  text-transform: uppercase;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--steam);
  padding: 8px 0;
  gap: 8px;
}
.main-nav > a:hover,
.main-nav .nav-link:hover,
.main-nav > a[aria-current="page"] { color: var(--copper-bright); }
.nav-item .caret { width: 12px; height: 8px; }

@media (max-width: 1180px) {
  .main-nav { gap: 2px; }
  .main-nav > a,
  .main-nav .nav-link { font-size: 1.0625rem; padding: 14px 0; width: 100%; }
}


/* ---------- placeholder section ---------- */
.placeholder-section { padding: clamp(40px, 5vw, 80px) 0; }
.placeholder-section .wrap { max-width: none; padding: 0 var(--edge); }
.placeholder-head { margin-bottom: 28px; }
.placeholder-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.placeholder-area { min-height: 220px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--hairline-strong); color: var(--brass); font-size: 0.9375rem; }

/* ---------- hero image caption, responsive stack ---------- */
.dummy-label { position: absolute; left: 24px; bottom: 18px; z-index: 2; font-size: 0.875rem; letter-spacing: 0.2em; color: var(--brass); }
@media (max-width: 980px) { .hero-slide { grid-template-columns: 1fr; } }

/* ---------- Configurator menu button ---------- */
.main-nav > a.btn { padding: 10px 22px; color: #140901; background: var(--copper); border: 1px solid transparent; }
.main-nav > a.btn:hover { background: var(--copper-bright); color: #140901; border-color: transparent; }
@media (max-width: 1180px) { .main-nav > a.btn { justify-content: center; margin-top: 8px; } }

/* ---------- placeholder section text ---------- */
.placeholder-head .lede { max-width: 62ch; }
.placeholder-text { column-count: 2; column-gap: clamp(32px, 5vw, 80px); }
.placeholder-text p { font-size: 1rem; margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 860px) { .placeholder-text { column-count: 1; } }

/* ---------- hero image: 25px of space on every side ---------- */
.hero-v2-visual { width: calc(100% - 50px); margin: 25px; }

/* ---------- mega menu: full-width horizontal panel, opens on hover ---------- */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #110f09;
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease 0.12s, transform 0.15s ease 0.12s, visibility 0s linear 0.27s;
  z-index: 60;
}
/* keeps the menu open while the pointer travels from the menu item down to the panel */
.mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega-panel,
.nav-item.open .mega-panel,
.nav-item:has(:focus-visible) .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.main-nav:hover .nav-item:not(:hover) .mega-panel { transition-delay: 0s; }

.mega-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  padding: 36px var(--edge) 44px;
}
.mega-col h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(242, 237, 225, 0.4);
}
.mega-col a {
  display: block;
  white-space: normal;
  padding: 6px 0;
  border-bottom: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--steam-dim);
}
.mega-col a:hover { color: var(--copper-bright); border-bottom: none; }
.mega-col p { font-size: 0.9375rem; margin-bottom: 16px; }
.mega-col a.btn { display: inline-flex; padding: 12px 22px; margin-bottom: 10px; font-weight: 600; }
.mega-col a.btn-outline { border: 1px solid var(--copper-dim); color: var(--copper-bright); }
.mega-col a.btn-outline:hover { border-color: var(--copper); background: rgba(217, 164, 61, 0.07); }
.mega-col a.btn-primary { background: var(--copper); color: #140901; border: 1px solid transparent; }
.mega-col a.btn-primary:hover { background: var(--copper-bright); color: #140901; }

@media (max-width: 1180px) {
  .mega-panel,
  .nav-item:hover .mega-panel,
  .nav-item:has(:focus-visible) .mega-panel {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    transition: none;
  }
  .mega-panel::before { display: none; }
  .nav-item.open .mega-panel { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 18px; padding: 4px 0 14px 14px; }
  .mega-col a { font-size: 1rem; padding: 8px 0; width: auto; }
  .mega-col a.btn { padding: 12px 22px; }
}

/* ---------- process page steps ---------- */
.long-step {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-top: 1px solid var(--hairline);
  }
  .long-step:last-child { border-bottom: 1px solid var(--hairline); }
  .long-step .step-num { font-family: var(--font-mono); color: var(--copper-bright); font-size: 1.0625rem; }
  .long-step .step-num small { display:block; color: var(--brass); font-size: 0.875rem; margin-top: 6px; }
  .long-step h3 { margin-bottom: 12px; }
  .long-step .step-meta { display:flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
  .long-step .step-meta div { font-family: var(--font-mono); font-size: 0.875rem; color: var(--brass); }
  .long-step .step-meta span { display:block; color: var(--steam-dim); margin-top: 4px; font-family: var(--font-body); font-size: .88rem; }
  @media (max-width: 700px) { .long-step { grid-template-columns: 1fr; } }

/* ---------- menu: section tabs are links, current section highlighted ---------- */
.main-nav .nav-link[aria-current] { color: var(--copper-bright); border-bottom-color: var(--copper); }
.mega-col h4 a { display: inline; padding: 0; color: inherit; font: inherit; border: none; }
.mega-col h4 a:hover { color: var(--copper-bright); }
.mega-inner > .mega-all { display: none; }
@media (max-width: 1180px) {
  .mega-inner > .mega-all { display: block; padding: 8px 0; font-weight: 700; color: var(--copper-bright); }
}

/* ---------- inner pages ---------- */
.page-section { padding: clamp(40px, 6vw, 80px) 0; }
.page-section + .page-section { padding-top: 0; }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.section-intro { max-width: 62ch; margin-bottom: 32px; }
.prose p { margin-bottom: 16px; max-width: 68ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.media {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline-strong);
  background: radial-gradient(circle at 65% 35%, #33280f 0%, #0d0b07 85%);
  overflow: hidden;
}
.media svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.media .dummy-label { left: 16px; bottom: 12px; }

.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--hairline); color: var(--steam-dim); font-size: 0.9375rem; }
.check-list li:last-child { border-bottom: 1px solid var(--hairline); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--copper-bright); border-bottom: 2px solid var(--copper-bright); transform: rotate(-45deg); }
.check-list.cross li::before { width: 12px; height: 12px; border: none; top: 13px; background: linear-gradient(45deg, transparent 45%, var(--brass) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--brass) 45% 55%, transparent 55%); transform: none; }

.spec-table { width: 100%; border-collapse: collapse; max-width: 720px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 0.9375rem; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--hairline); }
.spec-table th { color: var(--brass); font-weight: 500; width: 38%; padding-right: 16px; }
.spec-table td { color: var(--steam); }
.note { font-size: 0.875rem; color: var(--brass); margin-top: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.card { background: var(--void); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: background 0.15s ease; }
a.card:hover { background: var(--panel-raised); }
.card .media { aspect-ratio: 16 / 10; }
.card h3 { font-size: 1.125rem; }
.card p { font-size: 0.9375rem; }
.card .more { margin-top: auto; padding-top: 6px; color: var(--copper-bright); font-weight: 600; font-size: 0.9375rem; }
.card .tag { font-size: 0.875rem; font-weight: 600; color: var(--copper-bright); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

.doc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.doc-row:last-child { border-bottom: 1px solid var(--hairline); }
.doc-row h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.doc-row p { font-size: 0.9375rem; max-width: 62ch; }
.doc-row .meta { font-size: 0.875rem; color: var(--brass); white-space: nowrap; }
@media (max-width: 600px) { .doc-row { flex-direction: column; gap: 6px; } }

.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--copper-bright); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 40px 22px 0; max-width: 70ch; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Design notes round: Bebas Neue for tagline + menu, uppercase
   dropdowns, Contact | Login links, slimmer sub-page headers
   ============================================================ */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeue-Regular.ttf') format('truetype'),
       url('../assets/fonts/BebasNeue-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root { --font-menu: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; }

/* tagline */
.masthead-tagline { font-family: var(--font-menu); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: 0.05em; line-height: 1.1; }

/* Contact | Login, right-aligned under the social icons */
.masthead-links { margin-left: auto; display: flex; align-items: center; gap: 12px; font-family: var(--font-menu); font-size: 1.25rem; letter-spacing: 0.06em; }
.masthead-links a { color: var(--steam-dim); padding: 4px 0; border-bottom: 1px solid transparent; }
.masthead-links a:hover, .masthead-links a[aria-current="page"] { color: var(--copper-bright); border-bottom-color: var(--copper); }
.masthead-links span { color: var(--brass); }
@media (max-width: 640px) { .masthead-links { margin-left: 0; } }

/* main menu */
.main-nav > a,
.main-nav .nav-link { font-family: var(--font-menu); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.06em; }
.main-nav > a.btn { font-size: 1.25rem; }

/* dropdowns: same font, everything capitalised */
.mega-col h4 { font-family: var(--font-menu); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mega-col a { font-family: var(--font-menu); font-weight: 400; font-size: 1.125rem; letter-spacing: 0.05em; text-transform: uppercase; }
.mega-col a.btn { font-size: 1.125rem; font-weight: 400; }
.mega-col p { margin-bottom: 0; }
.mega-col a.btn { margin-top: 16px; }
.mega-inner > .mega-all { font-family: var(--font-menu); font-weight: 400; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mega-inner { grid-template-columns: repeat(5, minmax(0, 300px)); justify-content: start; }
@media (max-width: 1180px) {
  .mega-inner { grid-template-columns: 1fr; justify-content: stretch; }
}

/* sub-page header: half the height */
.page-hero { padding: 28px 0 24px; }
.page-hero .mono { margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.page-hero .lede { margin-top: 10px; max-width: 90ch; }

/* Contact | Login: top-aligned, close to the social icons */
.masthead-links { align-self: flex-start; margin-top: -8px; }
@media (max-width: 640px) { .masthead-links { align-self: flex-start; margin-top: 0; } }

/* ---------- hero slides: client copy ---------- */
.hero-v2-copy .lede { font-size: 1rem; max-width: 60ch; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 4px; color: var(--copper-bright); font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid transparent; }
.hero-link:hover { border-bottom-color: var(--copper); }
.hero-link svg { transition: transform 0.15s ease; }
.hero-link:hover svg { transform: translateX(3px); }

/* ============================================================
   Headings: Bebas Neue everywhere (it is condensed, so sizes
   are a little larger than the previous font)
   ============================================================ */
:root { --font-display: var(--font-menu); }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: 0.03em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.3rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
h4 { font-size: 1.5rem; }
.section-title, .placeholder-head h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.hero-v2-copy h1 { font-size: clamp(2.6rem, 3.6vw, 3.6rem); }
.page-hero h1 { font-size: clamp(2.4rem, 3.4vw, 3.1rem); }
.card h3, .doc-row h3, .action-tile h3 { font-size: 1.5rem; }
.timeline-step h4, .team-card h4 { font-size: 1.4rem; }
.long-step h3 { font-size: 1.8rem; }
.footer-col h4 { font-family: var(--font-menu); font-size: 1.25rem; font-weight: 400; letter-spacing: 0.06em; }
.action-tile { padding: 18px 20px; }

/* ---------- slide show text: slightly bigger; arrows are solid double triangles ---------- */
.hero-v2-copy .lede { font-size: 1.25rem; max-width: 50ch; line-height: 1.55; }
.hero-v2-copy .slide-sub { font-size: clamp(1.4rem, 2vw, 1.75rem); font-style: italic; color: var(--steam); line-height: 1.3; margin: 0 0 14px; }
.hero-v2-copy .lede .hero-link { display: inline-flex; padding: 0; margin-left: 6px; vertical-align: baseline; font-size: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 8px; }
.btn-arrow svg, .hero-link svg, .card .more svg { flex-shrink: 0; }

/* ---------- double-triangle icons: sit on the text baseline, as tall as the capital letters ---------- */
.btn-arrow,
.main-nav > a.btn-arrow,
.hero-link,
.card .more { align-items: baseline; }
.btn-arrow svg,
.hero-link svg,
.card .more svg { height: 0.7em; width: 0.955em; flex-shrink: 0; }

/* ---------- buttons and call-to-action links in Bebas Neue ---------- */
.btn, .hero-link, .card .more { font-family: var(--font-menu); font-weight: 400; letter-spacing: 0.06em; }
.btn { font-size: 1.25rem; line-height: 1.2; }
.main-nav > a.btn { line-height: 1.6; }
.hero-link { font-size: 1.25rem; }
.hero-v2-copy .lede .hero-link { font-size: 1.15em; }
.card .more { font-size: 1.2rem; }

/* ============================================================
   Body font: Oswald (SIL Open Font License, assets/fonts/Oswald-OFL.txt)
   Headings, sub-headings, menu, tagline and buttons stay Bebas Neue.
   ============================================================ */
@font-face {
  font-family: 'Oswald';
  src: url('../assets/fonts/Oswald-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('../assets/fonts/Oswald-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-body: 'Oswald', 'Arial Narrow', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: var(--font-body);
}
body { letter-spacing: 0.01em; }
p, li, td, th, label, input, select, textarea, .lede { font-weight: 400; }
strong, b { font-weight: 700; }

/* ---------- hero slide with a real image (slide 3 diagram) ---------- */
.hero-v2-visual.has-image { background: var(--void); }
.hero-v2-visual.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-v2-visual.is-photo img { object-fit: cover; }

/* ---------- slide 1 heading on a single line, sized to the text column ---------- */
.hero-v2-copy { container-type: inline-size; }
.hero-v2-copy h1.one-line { white-space: nowrap; font-size: min(3.6rem, 6.8cqw); }

/* ---------- mega menu: bigger type, columns spread across the full width ---------- */
@media (min-width: 1181px) {
  .mega-inner {
    --mega-gap: clamp(32px, 3.5vw, 72px);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: var(--mega-gap);
    padding: 40px var(--edge) 48px;
  }
  /* two-column panels (Solutions): wider columns, descriptions get more room */
  .mega-inner:not(:has(> div:nth-of-type(3))) .mega-col p { max-width: 52ch; font-size: 1.125rem; }
  .mega-col h4 { font-size: 1.6rem; padding-bottom: 14px; margin-bottom: 16px; }
  .mega-col a { font-size: 1.4rem; padding: 7px 0; }
  .mega-col p { font-size: 1.0625rem; line-height: 1.5; max-width: 34ch; }
  .mega-col a.btn { font-size: 1.35rem; padding: 12px 24px; margin-top: 18px; }
}

/* ============================================================
   Hero: Chrome-style tabs above one card (no auto-rotation)
   Active tab = theme gold, inactive tabs = grey.
   ============================================================ */
.hero-tabbed { padding: var(--edge); }

.hero-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 20px;
}
.hero-tab {
  position: relative;
  flex: 0 1 320px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 11px;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: #2d2d2d;
  color: #a6a6a6;
  font-family: var(--font-menu);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-tab-num { font-size: 1rem; opacity: 0.7; }
.hero-tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tab:hover { background: #3a3a3a; color: #e4e4e4; }
.hero-tab.active { z-index: 1; background: var(--copper); color: #140901; }
.hero-tab.active .hero-tab-num { opacity: 0.6; }
/* curved feet where the active tab meets the card, like a browser tab */
.hero-tab.active::before,
.hero-tab.active::after { content: ""; position: absolute; bottom: 0; width: 12px; height: 12px; pointer-events: none; }
.hero-tab.active::before { left: -12px; background: radial-gradient(circle at 0 0, transparent 11.5px, var(--copper) 12px); }
.hero-tab.active::after { right: -12px; background: radial-gradient(circle at 100% 0, transparent 11.5px, var(--copper) 12px); }
.hero-tab:focus-visible { outline: 2px solid var(--steam); outline-offset: -4px; }

.hero-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline-strong);
  border-top: 4px solid var(--copper);
  border-radius: 16px;
  padding: clamp(20px, 2.6vw, 40px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* inside the card the image is a clean rounded panel, no corner brackets */
.hero-tabbed .hero-v2-visual { border: 0; border-radius: 10px; }
.hero-tabbed .hero-v2-visual::before,
.hero-tabbed .hero-v2-visual::after { display: none; }

/* slides 2 and 3 use h2 but look like the slide 1 heading */
.hero-v2-copy h2.slide-title { font-size: clamp(2.6rem, 3.6vw, 3.6rem); line-height: 1.05; margin-bottom: 20px; }
.hero-v2-copy h2.slide-title em { font-style: normal; color: var(--copper-bright); }

/* switching tabs: quick fade, image settles, text rises in */
.hero-tabbed .hero-slide { transition: opacity 0.35s ease, visibility 0.35s; }
.hero-tabbed .hero-slide.active .hero-v2-visual img { animation: hero-img-in 0.6s cubic-bezier(.2, .8, .2, 1) both; }
.hero-tabbed .hero-slide.active .hero-v2-copy > * { animation: hero-rise 0.5s cubic-bezier(.2, .8, .2, 1) both; }
.hero-tabbed .hero-slide.active .hero-v2-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-tabbed .hero-slide.active .hero-v2-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-tabbed .hero-slide.active .hero-v2-copy > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes hero-img-in { from { opacity: 0; transform: scale(1.04); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .hero-tabbed .hero-v2-copy { padding-bottom: 8px; }
}
@media (max-width: 640px) {
  .hero-tabbed { padding: 16px 12px 24px; }
  .hero-tabs { gap: 4px; padding: 0 6px; }
  .hero-tab { flex: 1 1 0; justify-content: center; padding: 10px 8px 9px; font-size: 1rem; text-align: center; }
  .hero-tab-num { display: none; }
  .hero-tab-label { white-space: normal; line-height: 1.1; }
  .hero-card { padding: 16px; border-radius: 12px; }
}
.hero-tabbed .hero-v2-visual { width: 100%; margin: 0; }
@media (max-width: 640px) { .hero-tabs { align-items: stretch; } }

/* ============================================================
   Hero card v2: image and text blended into one panel,
   slide 3 segments highlighted in turn.
   ============================================================ */
.hero-tabbed .hero-card {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 52% 50%, rgba(217, 164, 61, 0.10), transparent 70%),
    #0c0b08;
}
.hero-tabbed .hero-slide { gap: 0; align-items: center; }

/* image fills the left of the card and dissolves into it: no box, no hard edge */
.hero-tabbed .hero-v2-visual {
  background: transparent;
  max-height: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.hero-tabbed .hero-v2-visual.has-diagram { aspect-ratio: 1440 / 910; }
.hero-tabbed .hero-v2-visual .eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-tabbed .hero-v2-copy { padding: clamp(28px, 3vw, 48px) clamp(28px, 3.5vw, 56px) clamp(28px, 3vw, 48px) clamp(12px, 1.5vw, 24px); }

/* ---------- slide 3: each segment of the circle highlighted for 5 s, in turn ---------- */
.eco-svg .eco-ic-in { transform-box: fill-box; transform-origin: center; }
.hero-slide.active .eco-seg .eco-hl   { animation: eco-hl 40s linear infinite both; }
.hero-slide.active .eco-seg .eco-lb   { animation: eco-lb 40s linear infinite both; }
.hero-slide.active .eco-seg .eco-t    { animation: eco-t 40s linear infinite both; }
.hero-slide.active .eco-seg .eco-ic   { animation: eco-lb 40s linear infinite both; }
.hero-slide.active .eco-seg .eco-ic-in { animation: eco-ic 40s linear infinite both; }
.hero-slide.active .eco-seg .eco-dot  { animation: eco-dot 40s linear infinite both; }
.eco-seg.seg-1 * { animation-delay: 5s !important; }
.eco-seg.seg-2 * { animation-delay: 10s !important; }
.eco-seg.seg-3 * { animation-delay: 15s !important; }
.eco-seg.seg-4 * { animation-delay: 20s !important; }
.eco-seg.seg-5 * { animation-delay: 25s !important; }
.eco-seg.seg-6 * { animation-delay: 30s !important; }
.eco-seg.seg-7 * { animation-delay: 35s !important; }
/* one 40 s cycle = 8 segments x 5 s; each segment is "on" for its 12.5% */
@keyframes eco-hl  { 0% { opacity: 0; } 1.2% { opacity: 1; } 11.3% { opacity: 1; } 12.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes eco-lb  { 0% { opacity: 0.4; } 1.2% { opacity: 1; } 11.3% { opacity: 1; } 12.5% { opacity: 0.4; } 100% { opacity: 0.4; } }
@keyframes eco-t   { 0% { fill: #f2ede1; } 1.2% { fill: #ecb94f; } 11.3% { fill: #ecb94f; } 12.5% { fill: #f2ede1; } 100% { fill: #f2ede1; } }
@keyframes eco-ic  { 0% { transform: scale(1); } 1.2% { transform: scale(1.18); } 11.3% { transform: scale(1.18); } 12.5% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes eco-dot { 0% { fill: #0a0906; } 1.2% { fill: #ecb94f; } 11.3% { fill: #ecb94f; } 12.5% { fill: #0a0906; } 100% { fill: #0a0906; } }

@media (max-width: 980px) {
  .hero-tabbed .hero-v2-visual {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 88%, transparent 100%);
  }
  .hero-tabbed .hero-v2-copy { padding: 4px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .eco-seg * { animation: none !important; }
}

/* ============================================================
   Slide 3: the label of the highlighted segment glows too
   ============================================================ */
.hero-slide.active .eco-seg .eco-lb {
  animation: eco-lb 40s linear infinite both, eco-glow 40s linear infinite both;
}
.hero-slide.active .eco-seg .eco-lb .eco-s { animation: eco-sub 40s linear infinite both; }
@keyframes eco-glow {
  0%    { filter: drop-shadow(0 0 0 rgba(236, 185, 79, 0)) drop-shadow(0 0 0 rgba(236, 185, 79, 0)); }
  1.2%  { filter: drop-shadow(0 0 4px rgba(236, 185, 79, 0.95)) drop-shadow(0 0 14px rgba(236, 185, 79, 0.6)); }
  11.3% { filter: drop-shadow(0 0 4px rgba(236, 185, 79, 0.95)) drop-shadow(0 0 14px rgba(236, 185, 79, 0.6)); }
  12.5% { filter: drop-shadow(0 0 0 rgba(236, 185, 79, 0)) drop-shadow(0 0 0 rgba(236, 185, 79, 0)); }
  100%  { filter: drop-shadow(0 0 0 rgba(236, 185, 79, 0)) drop-shadow(0 0 0 rgba(236, 185, 79, 0)); }
}
@keyframes eco-sub { 0% { fill: #bbb3a0; } 1.2% { fill: #f6dfa6; } 11.3% { fill: #f6dfa6; } 12.5% { fill: #bbb3a0; } 100% { fill: #bbb3a0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .eco-seg .eco-lb, .hero-slide.active .eco-seg .eco-lb .eco-s { animation: none !important; }
}


/* ============================================================
   Review round (Oct 25)
   ============================================================ */

/* 1. contact bar: dark grey instead of gold */
.topbar { background: #2a2a2a; color: #d9d4c8; border-bottom: 1px solid #3a3a3a; }
.topbar a { color: #d9d4c8; }
.topbar-contact a:hover { color: var(--copper-bright); text-decoration: none; }
.topbar-social a { border-color: rgba(255, 255, 255, 0.28); }
.topbar-social a:hover { background: var(--copper); color: #1a1204; border-color: var(--copper); }

/* 2. smaller tagline and Contact | Login */
.masthead-tagline { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.masthead-links { font-size: 1.05rem; gap: 10px; }

/* 3. dropdowns: open after hovering 0.5 s, close immediately */
@media (min-width: 1181px) {
  .mega-panel { transition: opacity 0.15s ease 0s, transform 0.15s ease 0s, visibility 0s linear 0.15s; }
  .nav-item:hover .mega-panel { transition: opacity 0.18s ease 0.5s, transform 0.18s ease 0.5s, visibility 0s linear 0.5s; }
  .nav-item:has(:focus-visible) .mega-panel { transition-delay: 0s; }
  .nav-item .caret { transition: transform 0.15s ease 0s; }
  .nav-item:hover .caret { transition-delay: 0.5s; }
}

/* 4. tabs: no gold fill; the active tab joins the card and only its text is gold */
.hero-tab.active { background: #13110c; color: #e49d21; }
.hero-tab.active .hero-tab-num { opacity: 0.75; }
.hero-tab.active::before { background: radial-gradient(circle at 0 0, transparent 11.5px, #13110c 12px); }
.hero-tab.active::after { background: radial-gradient(circle at 100% 0, transparent 11.5px, #13110c 12px); }
.hero-tabbed .hero-card { border-top: 1px solid var(--hairline-strong); background: #13110c; }
.hero-tabs { margin-bottom: -1px; }

/* 6a. slide 1: the little light bulbs flare one after another, slowly */
.fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bulb {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 4.2%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.4);
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe9 0 14%, rgba(255, 214, 120, 0.9) 24%, rgba(236, 185, 79, 0.45) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
}
.hero-slide.active .bulb { animation: bulb-flare 11s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes bulb-flare {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  6%   { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  14%  { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}

/* 6b. slide 2: a slow glint twinkles on one tank, then the other */
.twinkle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 7%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  mix-blend-mode: screen;
  opacity: 0;
}
.twinkle::before, .twinkle::after {          /* 4-point star: two thin crossed beams */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 246, 220, 0.95) 50%, transparent 100%) center / 100% 6% no-repeat,
    linear-gradient(0deg, transparent 0, rgba(255, 246, 220, 0.95) 50%, transparent 100%) center / 6% 100% no-repeat;
  filter: blur(0.5px);
}
.twinkle::after {                             /* soft halo */
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0 18%, rgba(255, 226, 160, 0.55) 40%, transparent 72%);
  filter: blur(2px);
}
.hero-slide.active .twinkle { animation: twinkle 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes twinkle {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  9%   { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(45deg); }
  18%  { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(90deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .fx { display: none; } }

/* 8. tighter dropdown panels */
@media (min-width: 1181px) {
  .mega-inner { padding: 22px var(--edge) 26px; gap: clamp(24px, 2.6vw, 52px); }
  .mega-col h4 { padding-bottom: 8px; margin-bottom: 8px; }
  .mega-col a { padding: 3px 0; }
  .mega-col p { margin-top: 0; line-height: 1.4; }
  .mega-col a.btn { margin-top: 12px; padding: 10px 20px; }
}

/* 9. footer: brand text above its logo, link columns sized to their content */
.footer-top .brand { flex-direction: column; align-items: flex-start; gap: 0; }
.footer-top { grid-template-columns: minmax(0, 1fr) auto auto auto; column-gap: clamp(28px, 4vw, 64px); }
.footer-col ul { gap: 6px; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 16px; row-gap: 28px; }
  .footer-top .brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 1.05rem; margin-bottom: 10px; }
  .footer-col a { font-size: 0.875rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
/* active tab outlined so it still reads as a tab, open into the card below */
.hero-tab.active { box-shadow: inset 1px 0 0 var(--hairline-strong), inset -1px 0 0 var(--hairline-strong), inset 0 1px 0 var(--hairline-strong); }
.hero-tab.active::before, .hero-tab.active::after { display: none; }
@media (min-width: 1181px) {
  .mega-col a { line-height: 1.2; padding: 5px 0; }
  .mega-col h4 { line-height: 1.15; }
}

/* ============================================================
   FREE Consultation buttons in #E49D21
   ============================================================ */
.hero-v2-actions .btn-primary { background: #e49d21; color: #140901; }
.hero-v2-actions .btn-primary:hover { background: #f0ad38; }

/* ============================================================
   Theme toggle button (header, next to Contact | Login)
   ============================================================ */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: 6px; padding: 0;
  border: 1px solid var(--hairline-strong); border-radius: 50%;
  background: transparent; color: var(--steam-dim); cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.theme-toggle:hover { color: var(--copper-bright); border-color: var(--copper); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .ico-moon { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* ============================================================
   Light theme
   The hero showcase card, the dark image placeholders and the
   top contact bar stay dark on purpose: the renders and line
   drawings are made for a dark background.
   ============================================================ */
:root { color-scheme: dark; }
[data-theme="light"] {
  color-scheme: light;
  --void: #f6f2ea;
  --panel: #ffffff;
  --panel-raised: #efe9de;
  --hairline: #e3dccf;
  --hairline-strong: #cfc4b0;
  --steam: #1c1912;
  --steam-dim: #4b4537;
  --brass: #7a6b4c;
  --copper: #d9a43d;
  --copper-bright: #b07813;
  --copper-dim: #c99a4a;
}
/* areas that stay dark keep the dark colour set */
[data-theme="light"] .hero-tabbed .hero-card,
[data-theme="light"] .media {
  --void: #0a0906; --panel: #131109; --panel-raised: #1a170f;
  --hairline: #2c2818; --hairline-strong: #423c22;
  --steam: #f2ede1; --steam-dim: #bbb3a0; --brass: #8a7d5c;
  --copper-bright: #ecb94f; --copper-dim: #7a5a22;
  color: var(--steam);
}
[data-theme="light"] .hero-tab.active { box-shadow: inset 1px 0 0 #423c22, inset -1px 0 0 #423c22, inset 0 1px 0 #423c22; }
[data-theme="light"] .hero-tabbed .hero-card { border-color: #423c22; box-shadow: 0 24px 48px rgba(60, 45, 15, 0.22); }
[data-theme="light"] .site-header { background: rgba(246, 242, 234, 0.92); }
[data-theme="light"] .masthead-logo img,
[data-theme="light"] .footer-top .brand img { filter: invert(1); }
[data-theme="light"] .mega-panel { background: var(--panel); box-shadow: 0 24px 40px rgba(60, 45, 15, 0.16); }
[data-theme="light"] .mega-col h4 { border-bottom-color: var(--hairline-strong); }
[data-theme="light"] .dropdown-group, [data-theme="light"] .mega-col a:hover { color: var(--copper-bright); }
[data-theme="light"] .action-tile > svg:first-child { color: var(--copper); }
[data-theme="light"] .cta-band { background: linear-gradient(180deg, var(--panel-raised) 0%, var(--void) 100%); }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #fff; }
[data-theme="light"] .btn-ghost { color: var(--steam); }
@media (max-width: 1180px) {
  [data-theme="light"] .main-nav { background: var(--void); }
}

/* ============================================================
   Light theme: the showcase sliders go light as well
   ============================================================ */
/* card + text use the light colour set again (undoes the dark scope above) */
[data-theme="light"] .hero-tabbed .hero-card {
  --void: #f6f2ea; --panel: #ffffff; --panel-raised: #efe9de;
  --hairline: #e3dccf; --hairline-strong: #cfc4b0;
  --steam: #1c1912; --steam-dim: #4b4537; --brass: #7a6b4c;
  --copper-bright: #b07813; --copper-dim: #c99a4a;
  color: var(--steam);
  background: #ffffff;
  border-color: #ddd3c2;
  box-shadow: 0 24px 48px rgba(60, 45, 15, 0.12);
}
/* tabs: light grey, the active one white like the card */
[data-theme="light"] .hero-tab { background: #e7e1d5; color: #6d6656; }
[data-theme="light"] .hero-tab:hover { background: #ddd5c6; color: #2b271e; }
[data-theme="light"] .hero-tab.active { background: #ffffff; color: #b9780c; box-shadow: inset 1px 0 0 #ddd3c2, inset -1px 0 0 #ddd3c2, inset 0 1px 0 #ddd3c2; }

/* slides 1-2: the dark renders become framed, rounded pictures instead of fading into the card */
[data-theme="light"] .hero-tabbed .hero-v2-visual.is-photo {
  -webkit-mask-image: none; mask-image: none;
  width: calc(100% - 2 * clamp(16px, 2vw, 32px));
  margin: clamp(16px, 2vw, 32px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(40, 30, 10, 0.25);
}

/* slide 3: the diagram redrawn in light colours */
[data-theme="light"] .eco-svg rect[fill="#0a0906"] { fill: transparent; }
[data-theme="light"] .eco-svg circle[fill="#100e08"] { fill: #f4eee3; }
[data-theme="light"] .eco-svg path[fill="#15120b"] { fill: #fbf8f2; }
[data-theme="light"] .eco-svg path[fill="#1b170e"] { fill: #f2ece0; }
[data-theme="light"] .eco-svg [stroke="#423c22"] { stroke: #d6cab3; }
[data-theme="light"] .eco-svg [stroke="#f2ede1"] { stroke: #2a251b; }
[data-theme="light"] .eco-svg circle[fill="url(#eco-hub)"] { fill: #fbf8f2; }
[data-theme="light"] .eco-svg polygon[fill="#0d0b07"] { fill: #ffffff; }
[data-theme="light"] .eco-svg text[fill="#f2ede1"] { fill: #1c1912; }
[data-theme="light"] .eco-svg text[fill="#bbb3a0"] { fill: #5d5646; }
[data-theme="light"] .eco-svg tspan[fill="#ecb94f"] { fill: #b07813; }
[data-theme="light"] .eco-svg circle.eco-dot { fill: #ffffff; }
[data-theme="light"] .hero-slide.active .eco-seg .eco-t { animation-name: eco-t-l; }
[data-theme="light"] .hero-slide.active .eco-seg .eco-lb .eco-s { animation-name: eco-sub-l; }
[data-theme="light"] .hero-slide.active .eco-seg .eco-dot { animation-name: eco-dot-l; }
@keyframes eco-t-l   { 0% { fill: #1c1912; } 1.2% { fill: #b07813; } 11.3% { fill: #b07813; } 12.5% { fill: #1c1912; } 100% { fill: #1c1912; } }
@keyframes eco-sub-l { 0% { fill: #5d5646; } 1.2% { fill: #8a5d0a; } 11.3% { fill: #8a5d0a; } 12.5% { fill: #5d5646; } 100% { fill: #5d5646; } }
@keyframes eco-dot-l { 0% { fill: #ffffff; } 1.2% { fill: #d9a43d; } 11.3% { fill: #d9a43d; } 12.5% { fill: #ffffff; } 100% { fill: #ffffff; } }

/* ============================================================
   Light theme v2: whites and neutral off-whites (no beige)
   ============================================================ */
[data-theme="light"],
[data-theme="light"] .hero-tabbed .hero-card {
  --void: #f7f7f5;            /* page background: off-white */
  --panel: #ffffff;           /* cards, panels: white */
  --panel-raised: #f0f0ed;    /* raised panels: light off-white */
  --hairline: #e6e6e2;
  --hairline-strong: #d3d3cd;
}
[data-theme="light"] .site-header { background: rgba(247, 247, 245, 0.94); }
[data-theme="light"] .hero-tabbed .hero-card { border-color: #e2e2de; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08); }
[data-theme="light"] .hero-tab { background: #ececea; color: #6a6a66; }
[data-theme="light"] .hero-tab:hover { background: #e2e2df; color: #2a2a27; }
[data-theme="light"] .hero-tab.active { box-shadow: inset 1px 0 0 #e2e2de, inset -1px 0 0 #e2e2de, inset 0 1px 0 #e2e2de; }
[data-theme="light"] .mega-panel { box-shadow: 0 24px 40px rgba(0, 0, 0, 0.10); }
[data-theme="light"] .hero-tabbed .hero-v2-visual.is-photo { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
/* slide 3 diagram in white / off-white */
[data-theme="light"] .eco-svg circle[fill="#100e08"] { fill: #f4f4f1; }
[data-theme="light"] .eco-svg path[fill="#15120b"] { fill: #ffffff; }
[data-theme="light"] .eco-svg path[fill="#1b170e"] { fill: #f5f5f2; }
[data-theme="light"] .eco-svg circle[fill="url(#eco-hub)"] { fill: #ffffff; }
[data-theme="light"] .eco-svg [stroke="#423c22"] { stroke: #d9d9d3; }

/* ============================================================
   Light theme: dummy image tiles go light too
   ============================================================ */
[data-theme="light"] .media {
  --void: #f7f7f5; --panel: #ffffff; --panel-raised: #f0f0ed;
  --hairline: #e6e6e2; --hairline-strong: #d3d3cd;
  --steam: #1c1912; --steam-dim: #4b4537; --brass: #7a6b4c;
  --copper-bright: #b07813; --copper-dim: #c99a4a;
  color: var(--steam);
  background: radial-gradient(circle at 65% 35%, #ffffff 0%, #f1f1ee 85%);
  border-color: #e2e2de;
}
[data-theme="light"] .media svg [stroke="#d9a43d"] { stroke: #c48a1c; }   /* gold outlines, a touch deeper */
[data-theme="light"] .media svg [stroke="#f2ede1"] { stroke: #2f2a20; }   /* white details become dark */
[data-theme="light"] .media svg [stroke="#8a7d5c"] { stroke: #8f8467; }   /* pipes and connectors */
[data-theme="light"] .media svg [stroke="#4a4128"] { stroke: #cfc9bb; }   /* legs and floor lines */
[data-theme="light"] .media .dummy-label { color: #9a927f; }

/* ============================================================
   Light theme: slides 1 and 2 use their own light photos
   ============================================================ */
.hero-v2-visual .img-light { display: none; }
[data-theme="light"] .hero-v2-visual .img-dark { display: none; }
[data-theme="light"] .hero-v2-visual .img-light { display: block; }
/* the light photos blend into the white card, like the dark ones into the dark card */
[data-theme="light"] .hero-tabbed .hero-v2-visual.is-photo {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  mask-composite: intersect;
  width: 100%; margin: 0; border-radius: 0; box-shadow: none;
}
@media (max-width: 980px) {
  [data-theme="light"] .hero-tabbed .hero-v2-visual.is-photo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 88%, transparent 100%);
  }
}
/* on white, the bulb flare and the twinkle need warm gold instead of a white glow */
[data-theme="light"] .bulb {
  mix-blend-mode: normal;
  background: radial-gradient(circle, #fff8e6 0 12%, rgba(240, 170, 40, 0.95) 22%, rgba(228, 157, 33, 0.45) 42%, transparent 68%);
}
[data-theme="light"] .twinkle { mix-blend-mode: normal; filter: drop-shadow(0 0 3px rgba(200, 130, 20, 0.8)); }
[data-theme="light"] .twinkle::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 1) 50%, transparent 100%) center / 100% 6% no-repeat,
    linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 1) 50%, transparent 100%) center / 6% 100% no-repeat;
}
[data-theme="light"] .twinkle::after { background: radial-gradient(circle, #ffffff 0 18%, rgba(255, 214, 140, 0.8) 40%, transparent 72%); }

/* fix: these must outrank ".hero-v2-visual.has-image img", which forces every slide image to show */
.hero-v2-visual.has-image img.img-light { display: none; }
[data-theme="light"] .hero-v2-visual.has-image img.img-dark { display: none; }
[data-theme="light"] .hero-v2-visual.has-image img.img-light { display: block; }

/* theme button with a text label: "Light mode" / "Dark mode" */
.theme-toggle {
  width: auto; height: 30px; padding: 0 12px 0 10px; gap: 7px;
  border-radius: 999px;
  font-family: var(--font-menu); font-size: 1.05rem; letter-spacing: 0.06em; line-height: 1;
}
.theme-toggle .theme-label { padding-top: 2px; white-space: nowrap; }

/* ============================================================
   Motion round: scroll reveals, page-header entrance, hover
   polish, header shadow once the page scrolls.
   Reveals only apply when script.js adds .motion to <html>, so
   content stays visible without JS. The reduced-motion rule at
   the top of this file still shortens everything to near zero.
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* scroll reveal: fade up, staggered within a group via --i */
.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .reveal.in-view { opacity: 1; transform: none; }

/* page header: label, title and intro rise in on load */
.page-hero .mono, .page-hero h1, .page-hero .lede {
  animation: hero-rise 0.8s var(--ease-out) both;
}
.page-hero h1 { animation-delay: 0.08s; }
.page-hero .lede { animation-delay: 0.16s; }

/* gold rule under the page-header title draws in */
.page-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 14px;
  background: var(--copper);
  transform-origin: left;
  animation: rule-draw 0.9s var(--ease-out) 0.35s both;
}
@keyframes rule-draw { from { transform: scaleX(0); } }

/* cards: gold line sweeps across the top, image eases in, arrow nudges */
.card { position: relative; transition: background 0.25s ease; }
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 3;
}
a.card:hover::before, a.card:focus-visible::before { transform: scaleX(1); }
.card .media svg { transition: transform 0.6s var(--ease-out); }
a.card:hover .media svg { transform: scale(1.05); }
.card .more svg { transition: transform 0.25s var(--ease-out); }
a.card:hover .more svg { transform: translateX(4px); }

/* action tiles on the home page: icon lifts slightly */
.action-tile > svg { transition: transform 0.35s var(--ease-out); }
.action-tile:hover > svg { transform: translateY(-4px); }

/* buttons: soft light sweep on hover, slight press on click */
.btn { position: relative; overflow: hidden; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; transition: left 0.7s ease; }
.btn:active { transform: translateY(1px); }
.btn-arrow svg { transition: transform 0.25s var(--ease-out); }

/* footer links slide a touch on hover */
.footer-col a { display: inline-block; transition: color 0.2s ease, transform 0.25s var(--ease-out); }
.footer-col a:hover { transform: translateX(3px); }

/* header gains depth once the page scrolls */
.site-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
[data-theme="light"] .site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

/* card grids reveal as one block (its 1px gaps are the grid background),
   then each card's contents rise in turn */
.motion .card-grid.reveal { opacity: 1; transform: none; }
.motion .card-grid.reveal .card > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .card-grid.reveal.in-view .card > * { opacity: 1; transform: none; }

/* ============================================================
   Lively round (content v2): the effects of the sign-in page
   brought to the website. Aurora glows and rising bubbles in
   page headers, words that rise in, cards that tilt towards the
   pointer with a glint, figures that count up, steps on a line
   that draws itself, a scroll progress bar and the home intro.
   Pointer and scroll values come from script.js ("Lively").
   Everything still works, and stays still, with reduced motion.
   ============================================================ */
:root {
  --lv-gold: #e0a94a;
  --lv-gold-hi: #ffd37a;
  --lv-ember: #c4622d;
}

/* scroll progress */
.lv-progress {
  position: fixed; left: 0; top: 0; z-index: 80;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--lv-ember), var(--lv-gold), var(--lv-gold-hi));
  transform: scaleX(var(--lv-scroll, 0)); transform-origin: left;
  pointer-events: none;
}

/* ---------- menu: more items, a little tighter ---------- */
.site-header > .wrap { max-width: 1440px; }
.main-nav { gap: clamp(14px, 1.5vw, 26px); }
.main-nav > a, .main-nav .nav-link { font-size: 1.125rem; }
.main-nav > a.btn { font-size: 1.125rem; padding: 8px 18px; }
.main-nav .nav-link { position: relative; }
@media (min-width: 1181px) {
  .main-nav > a.nav-link::after, .main-nav .nav-item > .nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, var(--lv-ember), var(--lv-gold-hi));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
  }
  .main-nav > a.nav-link:hover::after, .main-nav .nav-item:hover > .nav-link::after,
  .main-nav .nav-link[aria-current]::after { transform: scaleX(1); }
}
.lv-mega { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 320px); align-items: start; }
.mega-col a.lv-mega-item, .lv-mega > a.lv-mega-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 10px;
  background: linear-gradient(160deg, rgba(224, 169, 74, 0.06), transparent 60%);
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out), background 0.25s ease;
}
.lv-mega > a.lv-mega-item:hover { border-color: var(--copper); transform: translateY(-2px); background: linear-gradient(160deg, rgba(224, 169, 74, 0.14), transparent 70%); }
.lv-mega-title { font-family: var(--font-menu); font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steam); }
.lv-mega-item:hover .lv-mega-title { color: var(--copper-bright); }
.lv-mega-blurb { font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0; text-transform: none; color: var(--steam-dim); }
.lv-mega-side { grid-column: 4; grid-row: 1 / span 3; padding-left: 24px; border-left: 1px solid var(--hairline); }
@media (max-width: 1180px) {
  .lv-mega { grid-template-columns: 1fr; }
  .lv-mega-side { grid-column: auto; grid-row: auto; padding-left: 0; border-left: 0; }
  .lv-mega > a.lv-mega-item { padding: 8px 0; border: 0; background: none; }
  .lv-mega-blurb { display: none; }
}

/* ---------- shared: aurora, bubbles, glint, tilt ---------- */
.lv-aurora { position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -22px), 0);
  transition: transform 0.6s var(--ease-out); }
.lv-aurora span { position: absolute; border-radius: 50%; opacity: 0.5; animation: lv-drift 18s ease-in-out infinite alternate; }
.lv-aurora span:nth-child(1) { left: 12%; top: 18%; width: 38vmax; height: 38vmax; background: radial-gradient(circle, rgba(224, 169, 74, 0.32), transparent 65%); }
.lv-aurora span:nth-child(2) { right: 8%; top: 28%; width: 32vmax; height: 32vmax; background: radial-gradient(circle, rgba(196, 98, 45, 0.28), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.lv-aurora span:nth-child(3) { left: 40%; bottom: 6%; width: 28vmax; height: 28vmax; background: radial-gradient(circle, rgba(255, 214, 140, 0.18), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes lv-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5vw, -4vh) scale(1.12); } 100% { transform: translate(-4vw, 4vh) scale(0.94); } }
.lv-fizz { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.lv-tilt {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}
.lv-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 2;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 220, 150, 0.16), transparent 45%);
  transition: opacity 0.35s ease; }
.lv-tilt:hover .lv-glare, .lv-tilt:focus-within .lv-glare { opacity: 1; }

/* ---------- page header ---------- */
.lv-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 72px);
  background: radial-gradient(120% 90% at 10% 0%, rgba(42, 28, 8, 0.9) 0%, transparent 55%), radial-gradient(90% 70% at 100% 100%, rgba(31, 20, 6, 0.85) 0%, transparent 60%), var(--void); }
.lv-hero::after { content: ""; position: absolute; left: -50%; right: -50%; bottom: -12%; height: 55%; z-index: 0; pointer-events: none;
  transform: perspective(600px) rotateX(72deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(224, 169, 74, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 169, 74, 0.16) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: lv-floor 3.5s linear infinite; }
@keyframes lv-floor { to { background-position: 0 64px; } }
.lv-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lv-hero .mono { color: var(--lv-gold); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.8125rem; }
.lv-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 0.98; letter-spacing: 0.01em; animation: none; }
.lv-hero h1::after { width: 84px; height: 3px; margin-top: 18px; background: linear-gradient(90deg, var(--lv-ember), var(--lv-gold-hi)); }
.lv-w { display: inline-block; animation: lv-word 0.9s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: calc(0.08s + var(--i, 0) * 0.07s); transform-origin: 50% 100%; }
@keyframes lv-word { from { opacity: 0; transform: translateY(0.6em) rotateX(-70deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lv-word-clip { from { opacity: 0; transform: translateY(0.6em) rotateX(-70deg); } }
.lv-hero-sub, .lv-sub {
  margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.3vw, 2rem); letter-spacing: 0.03em; line-height: 1.1;
  background: linear-gradient(90deg, var(--lv-gold-hi), var(--lv-gold), #ff9d4d, var(--lv-gold-hi)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lv-fade-up 0.9s var(--ease-out) 0.35s both, lv-gradient 6s linear infinite;
}
.lv-sub { font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin: 0 0 14px; animation: lv-gradient 6s linear infinite; }
@keyframes lv-gradient { to { background-position: 300% 0; } }
@keyframes lv-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
/* gradient-clipped text goes invisible in Chrome while a filter animates, so it rises without the blur */
@keyframes lv-fade-up { from { opacity: 0; transform: translateY(18px); } }
.lv-hero .lede { max-width: 62ch; font-size: 1.125rem; animation-delay: 0.45s; }
.lv-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: lv-rise 0.9s var(--ease-out) 0.55s both; }

/* the emblem: a glowing ring with the page's icon, floating and leaning to the pointer */
.lv-emblem { justify-self: center; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  animation: lv-rise 1.1s var(--ease-out) 0.3s both; }
.lv-emblem > * { grid-area: 1 / 1; }
.lv-emblem-ring { width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid rgba(224, 169, 74, 0.55);
  background: radial-gradient(circle, rgba(224, 169, 74, 0.16), transparent 62%);
  box-shadow: 0 0 60px rgba(224, 169, 74, 0.18), inset 0 0 50px rgba(224, 169, 74, 0.12); }
.lv-emblem-ring-2 { width: 78%; height: 78%; border-style: dashed; border-color: rgba(224, 169, 74, 0.35); background: none; box-shadow: none; animation: lv-spin 40s linear infinite; }
.lv-emblem-orbit { position: relative; width: 100%; height: 100%; animation: lv-spin 14s linear infinite; }
.lv-emblem-orbit i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--lv-gold-hi); box-shadow: 0 0 16px 4px rgba(255, 211, 122, 0.7); }
.lv-emblem-orbit i:nth-child(2) { top: auto; bottom: 14%; left: 8%; width: 7px; height: 7px; opacity: 0.8; }
.lv-emblem-orbit i:nth-child(3) { top: 22%; left: auto; right: 2%; width: 5px; height: 5px; opacity: 0.6; }
.lv-emblem-core { width: 46%; height: 46%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2a2212, #0d0b07 70%); border: 2px solid var(--lv-gold);
  box-shadow: 0 0 0 10px rgba(224, 169, 74, 0.08), 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 169, 74, 0.35);
  animation: lv-float 7s ease-in-out infinite; }
.lv-emblem-icon { width: 54%; height: 54%; color: var(--lv-gold-hi); stroke-width: 1.4; filter: drop-shadow(0 0 10px rgba(255, 211, 122, 0.55)); }
.lv-emblem .lv-glare { border-radius: 50%; }
@keyframes lv-spin { to { transform: rotate(360deg); } }
@keyframes lv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.lv-hero-photo, .lv-photo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(224, 169, 74, 0.12); background: #0c0b08; }
.lv-hero-photo { animation: lv-rise 1.1s var(--ease-out) 0.3s both; }
.lv-hero-photo img, .lv-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.lv-hero-photo .img-light, .lv-photo .img-light { display: none; }
[data-theme="light"] .lv-hero-photo .img-dark, [data-theme="light"] .lv-photo .img-dark { display: none; }
[data-theme="light"] .lv-hero-photo .img-light, [data-theme="light"] .lv-photo .img-light { display: block; }

@media (max-width: 900px) {
  .lv-hero-grid { grid-template-columns: 1fr; }
  .lv-emblem { width: min(64vw, 260px); order: -1; }
}

/* ---------- sections ---------- */
.lv-section { position: relative; }
.page-section.lv-panel { background: linear-gradient(180deg, var(--panel) 0%, var(--void) 100%); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.page-section.lv-section, .page-section + .page-section.lv-section { padding-top: clamp(40px, 6vw, 80px); }
.lv-head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 860px; }
.lv-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.lv-head .mono { display: block; margin-bottom: 10px; color: var(--lv-gold); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8125rem; }
.lv-head .section-title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.lv-head .section-intro p, .lv-lead-text p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 14px; max-width: 75ch; }
.lv-head-center .section-intro p { margin-left: auto; margin-right: auto; }
.lv-lead-text { max-width: 860px; }
.lv-lead-text p:first-child { font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--steam); }
.lv-head-center + .lv-lead-text { margin: 0 auto; text-align: center; }
.lv-head-center + .lv-lead-text p { margin-left: auto; margin-right: auto; }
.lv-list-title { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 8px 0 20px; color: var(--copper-bright); }
.lv-center-note { max-width: 70ch; margin: 36px auto 0; text-align: center; font-size: 1.0625rem; }
.lv-fineprint { margin-top: 18px; font-size: 0.875rem; color: var(--brass); font-style: italic; }
.lv-mt { margin-top: 36px; }
.lv-section .prose p { margin-bottom: 14px; }
.lv-lead-text + .lv-stats { margin-top: 36px; }

/* ---------- cards ---------- */
.lv-cards { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lv-cards.lv-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-cards.lv-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .lv-cards.lv-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .lv-cards.lv-cols-2, .lv-cards.lv-cols-3 { grid-template-columns: 1fr; } }
.lv-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 14px;
  background: linear-gradient(160deg, rgba(224, 169, 74, 0.07), transparent 45%), var(--panel);
  border: 1px solid var(--hairline); color: inherit; overflow: hidden;
}
.lv-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--lv-ember), var(--lv-gold), var(--lv-gold-hi));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.lv-card:hover { --lift: -4px; border-color: rgba(224, 169, 74, 0.55); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(224, 169, 74, 0.12); }
.lv-card:hover::before, .lv-card:focus-within::before { transform: scaleX(1); }
.lv-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: 0.02em; }
.lv-card p { font-size: 1rem; line-height: 1.6; }
.lv-card .btn { align-self: flex-start; margin-top: auto; white-space: normal; }
.lv-card-sub { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.03em; color: var(--copper-bright) !important; }
.lv-card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  color: var(--lv-gold-hi); background: radial-gradient(circle at 30% 25%, rgba(255, 211, 122, 0.22), rgba(224, 169, 74, 0.06) 70%);
  border: 1px solid rgba(224, 169, 74, 0.35); transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease; }
.lv-card-icon .lv-icon { width: 28px; height: 28px; }
.lv-card:hover .lv-card-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 24px rgba(224, 169, 74, 0.45); }
.lv-card-num { position: absolute; right: 22px; top: 18px; font-family: var(--font-display); font-size: 2.6rem; color: rgba(224, 169, 74, 0.14); }
.lv-card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-menu); font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--copper-bright); }
.lv-card-cta svg { transition: transform 0.25s var(--ease-out); }
.lv-card:hover .lv-card-cta svg { transform: translateX(5px); }
a.lv-card { text-decoration: none; }

/* ---------- figures ---------- */
.lv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; }
.lv-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: clamp(22px, 3vw, 36px) 16px;
  background: radial-gradient(circle at 50% 0%, rgba(224, 169, 74, 0.12), transparent 70%), var(--panel); }
.lv-stat-n { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--lv-gold-hi), var(--lv-gold) 60%, #b07813); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv-stat-n small { font-size: 0.42em; margin-left: 6px; letter-spacing: 0.08em; }
.lv-stat-l { font-size: 0.9375rem; color: var(--steam-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- steps on a line ---------- */
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.lv-steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--hairline-strong); }
.lv-steps::after { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--lv-gold-hi), var(--lv-ember)); transform: scaleY(var(--lv-draw, 1)); transform-origin: top; transition: transform 1.6s var(--ease-out); }
.motion .lv-steps:not(.in-view) { --lv-draw: 0; }
.lv-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 14px 0 26px; }
.lv-step-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; color: #140901; background: radial-gradient(circle at 35% 30%, var(--lv-gold-hi), var(--lv-gold) 60%, #a86a14);
  box-shadow: 0 0 0 6px var(--void), 0 0 26px rgba(224, 169, 74, 0.45); }
.lv-panel .lv-step-dot { box-shadow: 0 0 0 6px var(--panel), 0 0 26px rgba(224, 169, 74, 0.45); }
.lv-steps h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); margin: 12px 0 6px; }
.lv-steps p { max-width: 70ch; }
.lv-steps p a { color: var(--copper-bright); border-bottom: 1px solid currentColor; }
.motion .lv-steps li { opacity: 0; translate: -16px 0; transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out); transition-delay: calc(0.2s + var(--i) * 0.22s); }
.motion .lv-steps.in-view li { opacity: 1; translate: 0 0; }
.motion .lv-steps.reveal { opacity: 1; transform: none; }
/* compact: a horizontal line of words (Plan. Build. Operate. Manage. Grow.) */
.lv-steps-compact { grid-template-columns: repeat(5, 1fr); text-align: center; }
.lv-steps-compact::before, .lv-steps-compact::after { left: 10%; right: 10%; top: 28px; bottom: auto; width: auto; height: 2px; }
.lv-steps-compact::after { transform: scaleX(var(--lv-draw, 1)); transform-origin: left; }
.lv-steps-compact li { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 0; }
.lv-steps-compact h3 { margin: 6px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: 0.06em; }
.lv-steps-compact h3::after { content: "."; color: var(--copper-bright); }
.motion .lv-steps-compact li { translate: 0 16px; }
@media (max-width: 640px) {
  .lv-steps-compact { grid-template-columns: 1fr; text-align: left; }
  .lv-steps-compact::before, .lv-steps-compact::after { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .lv-steps-compact::after { transform: scaleY(var(--lv-draw, 1)); transform-origin: top; }
  .lv-steps-compact li { grid-template-columns: 56px 1fr; justify-items: start; align-items: center; gap: 22px; padding: 8px 0; }
}

/* ---------- text beside a visual ---------- */
.lv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lv-split.lv-flip .lv-split-visual { order: 2; }
@media (max-width: 900px) { .lv-split { grid-template-columns: 1fr; } .lv-split.lv-flip .lv-split-visual { order: 0; } }
.lv-split-copy p { font-size: 1.0625rem; line-height: 1.7; }
.lv-iconart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: clamp(20px, 3vw, 36px); border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(224, 169, 74, 0.16), transparent 70%), #0c0b08; border: 1px solid #2c2818;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.lv-iconart > span:not(.lv-glare) { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; border: 1px solid #2c2818;
  background: linear-gradient(160deg, rgba(224, 169, 74, 0.08), transparent 60%); color: var(--lv-gold-hi);
  animation: lv-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.lv-iconart > span:nth-child(2n) { color: #f2ede1; }
.lv-iconart .lv-icon { width: 46%; height: 46%; filter: drop-shadow(0 0 8px rgba(255, 211, 122, 0.35)); }
@keyframes lv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- home: title band, duo cards ---------- */
.lv-home-title { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 4vw, 56px) 0 clamp(8px, 1vw, 16px); text-align: center; }
.lv-home-title .wrap { position: relative; z-index: 2; }
.lv-home-title h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: 0.02em; }
.lv-home-title .lv-line { display: block; }
.lv-line-accent .lv-w { background: linear-gradient(90deg, var(--lv-gold-hi), var(--lv-gold), #ff9d4d, var(--lv-gold-hi)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: lv-word-clip 0.9s cubic-bezier(0.2, 1.3, 0.4, 1) both, lv-gradient 6s linear infinite; animation-delay: calc(0.08s + var(--i) * 0.07s), 0s; }
.lv-home-title .lv-hero-sub { margin-top: 14px; }
.lv-home-title .lede { margin: 14px auto 0; max-width: 78ch; font-size: 1.125rem; animation: lv-rise 0.9s var(--ease-out) 0.5s both; }
.lv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .lv-duo { grid-template-columns: 1fr; } }
.lv-duo-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline); background: var(--panel); }
.lv-duo-card:hover { --lift: -4px; border-color: rgba(224, 169, 74, 0.5); box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35); }
.lv-duo-card .lv-photo { border-radius: 0; border: 0; box-shadow: none; transform: none; }
.lv-duo-card .lv-photo img { aspect-ratio: 16 / 9; transition: transform 1.2s var(--ease-out); }
.lv-duo-card:hover .lv-photo img { transform: scale(1.06); }
.lv-duo-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 36px); flex: 1; }
.lv-duo-body .mono { color: var(--lv-gold); letter-spacing: 0.18em; }
.lv-duo-body h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lv-duo-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- closing call to action ---------- */
.lv-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(44px, 6vw, 80px) 0;
  background: radial-gradient(600px circle at calc(50% + var(--mx, 0) * 40%) calc(50% + var(--my, 0) * 60%), rgba(224, 169, 74, 0.18), transparent 60%),
    linear-gradient(120deg, #1b1309 0%, #0c0b08 55%, #1f1406 100%); }
.lv-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 122, 0.7), transparent) top / 200% 1px no-repeat, linear-gradient(90deg, transparent, rgba(255, 211, 122, 0.7), transparent) bottom / 200% 1px no-repeat;
  animation: lv-sweep 6s linear infinite; }
@keyframes lv-sweep { from { background-position: -100% 0, 200% 100%; } to { background-position: 200% 0, -100% 100%; } }
.lv-cta .wrap { position: relative; z-index: 1; }
.lv-cta h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); color: #f7f1e3; }
.lv-cta .lede { color: #cfc6b1; max-width: 62ch; margin-top: 10px; }
.lv-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lv-cta .btn { white-space: normal; }
.lv-cta .btn-outline { color: #ffd37a; border-color: rgba(255, 211, 122, 0.6); }
.lv-cta-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lv-cta-bubbles i { position: absolute; bottom: -20px; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(255, 220, 150, 0.55); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(224, 169, 74, 0.15));
  animation: lv-bubble 9s linear infinite; }
.lv-cta-bubbles i:nth-child(1) { left: 4%; } .lv-cta-bubbles i:nth-child(2) { left: 11%; width: 6px; height: 6px; animation-delay: -2s; animation-duration: 7s; }
.lv-cta-bubbles i:nth-child(3) { left: 19%; animation-delay: -5s; } .lv-cta-bubbles i:nth-child(4) { left: 27%; width: 14px; height: 14px; animation-delay: -1s; animation-duration: 11s; }
.lv-cta-bubbles i:nth-child(5) { left: 35%; width: 5px; height: 5px; animation-delay: -6s; } .lv-cta-bubbles i:nth-child(6) { left: 44%; animation-delay: -3s; animation-duration: 8s; }
.lv-cta-bubbles i:nth-child(7) { left: 52%; width: 7px; height: 7px; animation-delay: -7s; } .lv-cta-bubbles i:nth-child(8) { left: 60%; width: 12px; height: 12px; animation-delay: -4s; animation-duration: 10s; }
.lv-cta-bubbles i:nth-child(9) { left: 68%; animation-delay: -8s; } .lv-cta-bubbles i:nth-child(10) { left: 75%; width: 6px; height: 6px; animation-delay: -2.5s; }
.lv-cta-bubbles i:nth-child(11) { left: 82%; animation-delay: -5.5s; animation-duration: 12s; } .lv-cta-bubbles i:nth-child(12) { left: 88%; width: 15px; height: 15px; animation-delay: -1.5s; }
.lv-cta-bubbles i:nth-child(13) { left: 93%; width: 5px; height: 5px; animation-delay: -6.5s; } .lv-cta-bubbles i:nth-child(14) { left: 98%; animation-delay: -3.5s; animation-duration: 9.5s; }
@keyframes lv-bubble { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(10px, -140px) scale(1); } 100% { transform: translate(-6px, -300px) scale(1.2); opacity: 0; } }

/* ---------- capacity converter ---------- */
.lv-converter { max-width: 720px; padding: clamp(22px, 3vw, 36px); border-radius: 16px; border: 1px solid var(--hairline-strong); background: var(--panel); }
.lv-converter .mono { display: block; margin-bottom: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lv-gold); }
.lv-converter input[type="range"] { width: 100%; accent-color: var(--lv-gold); height: 28px; cursor: pointer; }
.lv-converter-out { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 0.04em; }
.lv-converter-out b { font-weight: 400; font-size: 1.6em; color: var(--copper-bright); }
.lv-converter-eq { color: var(--brass); }
.lv-converter-note { margin-top: 12px; font-size: 0.875rem; color: var(--brass); }

/* ---------- Plug-n-Play: water + power -> brewhouse -> brew, and the three sizes ---------- */
.lv-plugflow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lv-plugflow span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(224, 169, 74, 0.45);
  font-family: var(--font-menu); font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steam); background: var(--panel); }
.lv-plugflow span .lv-icon { width: 24px; height: 24px; color: var(--lv-gold-hi); }
.lv-plugflow i { width: clamp(28px, 6vw, 80px); height: 2px; background: repeating-linear-gradient(90deg, var(--lv-gold) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: lv-flow 1s linear infinite; }
@keyframes lv-flow { to { background-position: 28px 0; } }
.lv-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 980px) { .lv-sizes { grid-template-columns: 1fr; } }
.lv-size { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 32px); border-radius: 16px; border: 1px solid var(--hairline); background: var(--panel); overflow: hidden; }
.lv-size:hover { --lift: -4px; border-color: rgba(224, 169, 74, 0.55); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.lv-size .btn { align-self: flex-start; margin-top: auto; white-space: normal; }
.lv-size h3 { font-size: 1.5rem; }
.lv-size-gauge { position: absolute; right: 22px; top: 22px; width: 54px; height: 86px; border: 2px solid rgba(224, 169, 74, 0.6); border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; }
.lv-size-beer { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill); background: linear-gradient(180deg, #fff3d6 0 10%, var(--lv-gold-hi) 14%, #c8821c); transition: height 1.4s var(--ease-out) 0.3s; }
.motion .lv-sizes:not(.in-view) .lv-size-beer { height: 0; }
.lv-size-bubbles i { position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); animation: lv-mini 2.6s linear infinite; }
.lv-size-bubbles i:nth-child(1) { left: 20%; } .lv-size-bubbles i:nth-child(2) { left: 45%; animation-delay: -0.8s; } .lv-size-bubbles i:nth-child(3) { left: 70%; animation-delay: -1.6s; } .lv-size-bubbles i:nth-child(4) { left: 33%; animation-delay: -2.1s; }
@keyframes lv-mini { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-70px); opacity: 0; } }
.lv-size-figure { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); line-height: 1; }
.lv-size-figure b { font-weight: 400; font-size: clamp(4rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--lv-gold-hi), var(--lv-gold) 60%, #b07813); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv-size-figure span { font-size: 1.6rem; letter-spacing: 0.1em; color: var(--steam-dim); }
.lv-size-litres { font-family: var(--font-menu); font-size: 1.2rem; letter-spacing: 0.06em; color: var(--brass); }

/* ---------- industries ---------- */
.lv-segments { display: grid; gap: clamp(16px, 2vw, 24px); }
.lv-segment { display: grid; grid-template-columns: 160px 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 18px; border: 1px solid var(--hairline); background: linear-gradient(110deg, rgba(224, 169, 74, 0.08), transparent 45%), var(--panel); overflow: hidden; }
.lv-segment.lv-flip { background: linear-gradient(250deg, rgba(224, 169, 74, 0.08), transparent 45%), var(--panel); }
.lv-segment:hover { border-color: rgba(224, 169, 74, 0.5); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3); }
.lv-segment-badge { position: relative; width: 140px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--lv-gold-hi);
  background: radial-gradient(circle at 35% 30%, #2a2212, #0d0b07 70%); border: 2px solid var(--lv-gold); box-shadow: 0 0 36px rgba(224, 169, 74, 0.3); }
.lv-segment-badge .lv-icon { width: 46%; height: 46%; }
.lv-segment-badge span { position: absolute; top: -6px; right: -6px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; color: #140901; background: var(--lv-gold); }
.lv-segment:hover .lv-segment-badge { animation: lv-wobble 0.8s var(--ease-out); }
@keyframes lv-wobble { 30% { transform: rotate(-8deg) scale(1.05); } 60% { transform: rotate(5deg); } }
.lv-segment-copy { display: flex; flex-direction: column; gap: 10px; }
.lv-segment-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lv-segment-copy .btn { align-self: flex-start; margin-top: 8px; white-space: normal; }
@media (max-width: 700px) { .lv-segment { grid-template-columns: 1fr; } .lv-segment-badge { width: 100px; } }

/* ---------- insights ---------- */
.lv-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.lv-chip { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--hairline); background: var(--panel); overflow: hidden; }
.lv-chip > .lv-icon { flex: none; width: 34px; height: 34px; color: var(--lv-gold-hi); }
.lv-chip h3 { font-size: 1.35rem; margin-bottom: 6px; }
.lv-chip:hover { border-color: rgba(224, 169, 74, 0.5); --lift: -3px; }
.lv-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .lv-articles { grid-template-columns: 1fr; } }
.lv-article { display: flex; flex-direction: column; gap: 10px; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline); background: var(--panel); padding: 0 0 26px; }
.lv-article > *:not(.lv-article-art):not(.lv-glare) { margin-left: 26px; margin-right: 26px; }
.lv-article-art { height: 150px; display: grid; place-items: center; color: var(--lv-gold-hi);
  background: radial-gradient(circle at 50% 120%, rgba(224, 169, 74, 0.35), transparent 60%), repeating-linear-gradient(135deg, #12100a 0 14px, #0d0b07 14px 28px); border-bottom: 1px solid #2c2818; }
.lv-article-art .lv-icon { width: 64px; height: 64px; transition: transform 0.6s var(--ease-out); filter: drop-shadow(0 0 12px rgba(255, 211, 122, 0.45)); }
.lv-article:hover .lv-article-art .lv-icon { transform: scale(1.15) rotate(-6deg); }
.lv-article:hover { --lift: -4px; border-color: rgba(224, 169, 74, 0.5); }
.lv-article-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lv-gold); border: 1px solid rgba(224, 169, 74, 0.5); margin-top: 18px; }
.lv-article h3 { font-size: 1.5rem; }

/* ---------- contact form ---------- */
.lv-form { max-width: 920px; }
.lv-choice { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.lv-choice legend { margin-bottom: 12px; font-family: var(--font-menu); font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steam); }
.lv-choice label { position: relative; cursor: pointer; }
.lv-choice input { position: absolute; opacity: 0; pointer-events: none; }
.lv-choice span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--hairline-strong);
  font-size: 1rem; color: var(--steam-dim); background: var(--void); transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out); }
.lv-choice span .lv-icon { width: 20px; height: 20px; }
.lv-choice label:hover span { border-color: var(--copper); color: var(--steam); }
.lv-choice input:checked + span { border-color: var(--lv-gold); color: #140901; background: linear-gradient(135deg, var(--lv-gold-hi), var(--lv-gold)); box-shadow: 0 6px 20px rgba(224, 169, 74, 0.3); transform: translateY(-1px); }
.lv-choice input:focus-visible + span { outline: 2px solid var(--copper-bright); outline-offset: 3px; }
.lv-choice-small span { padding: 9px 14px; font-size: 0.9375rem; }
.lv-choice[hidden] { display: none; }
.lv-consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: 0.9375rem; color: var(--steam-dim); }
.lv-consent input { margin-top: 4px; accent-color: var(--lv-gold); width: 18px; height: 18px; }
.lv-contact-lines a { color: var(--copper-bright); }
#enquiry { scroll-margin-top: 90px; }
.lv-form.lv-flash { animation: lv-flash 1.2s var(--ease-out); }
@keyframes lv-flash { 0% { box-shadow: 0 0 0 0 rgba(224, 169, 74, 0.7); } 100% { box-shadow: 0 0 0 24px rgba(224, 169, 74, 0); } }

/* ---------- home slider, tab 4: the client's Our Promise picture, whole, framed (the same picture in both themes) ---------- */
.hero-tabbed .hero-v2-visual.promise-photo { -webkit-mask-image: none; mask-image: none; aspect-ratio: 16 / 9; width: calc(100% - 2 * clamp(16px, 2vw, 32px)); margin: clamp(16px, 2vw, 32px); border-radius: 12px; overflow: hidden; background: #f6f2ea; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.hero-tabbed .hero-v2-visual.promise-photo img { object-fit: cover; }
[data-theme="light"] .hero-tabbed .hero-v2-visual.promise-photo { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }

/* ---------- footer ---------- */
.footer-top.lv-footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.lv-footer-top .brand { flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-top p.lv-footer-tag { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--copper-bright); }
@media (max-width: 760px) { .footer-top.lv-footer-top { grid-template-columns: 1fr 1fr; } .lv-footer-top .brand { grid-column: 1 / -1; } }

/* ---------- reveals for the new pieces ---------- */
.motion .lv-cards.reveal, .motion .lv-segments.reveal, .motion .lv-articles.reveal, .motion .lv-chips.reveal, .motion .lv-sizes.reveal, .motion .lv-duo.reveal, .motion .lv-stats.reveal { opacity: 1; transform: none; }
.motion .reveal > .lv-card, .motion .reveal > .lv-segment, .motion .reveal > .lv-article, .motion .reveal > .lv-chip, .motion .reveal > .lv-size, .motion .reveal > .lv-duo-card, .motion .reveal > .lv-stat {
  opacity: 0; translate: 0 28px; transition: opacity 0.75s var(--ease-out), translate 0.75s var(--ease-out), transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease; }
.motion .reveal.in-view > * { opacity: 1; translate: 0 0; }
.motion .reveal.in-view > :nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(3) { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s; }
.motion .reveal.in-view > :nth-child(4) { transition-delay: 0.3s, 0.3s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(5) { transition-delay: 0.4s, 0.4s, 0s, 0s, 0s; }
.motion .reveal.in-view > :nth-child(6) { transition-delay: 0.5s, 0.5s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(n+7) { transition-delay: 0.6s, 0.6s, 0s, 0s, 0s; }

/* ---------- light theme ---------- */
[data-theme="light"] .lv-hero { background: radial-gradient(120% 90% at 10% 0%, #fdf1da 0%, transparent 55%), radial-gradient(90% 70% at 100% 100%, #f8e6c6 0%, transparent 60%), var(--void); }
[data-theme="light"] .lv-hero::after { opacity: 0.5; }
[data-theme="light"] .lv-aurora span { opacity: 0.35; }
[data-theme="light"] .lv-hero .mono, [data-theme="light"] .lv-head .mono, [data-theme="light"] .lv-duo-body .mono, [data-theme="light"] .lv-converter .mono { color: #a86a0c; }
[data-theme="light"] .lv-hero-sub, [data-theme="light"] .lv-sub, [data-theme="light"] .lv-line-accent .lv-w { background-image: linear-gradient(90deg, #b8720a, #d9921f, #c4622d, #b8720a); }
[data-theme="light"] .lv-emblem-core { background: radial-gradient(circle at 35% 30%, #ffffff, #f4ead6 70%); box-shadow: 0 0 0 10px rgba(224, 169, 74, 0.1), 0 20px 40px rgba(120, 80, 20, 0.18), 0 0 40px rgba(224, 169, 74, 0.35); }
[data-theme="light"] .lv-emblem-icon { color: #b07813; filter: none; }
[data-theme="light"] .lv-card { background: linear-gradient(160deg, rgba(224, 169, 74, 0.09), transparent 45%), #fff; }
[data-theme="light"] .lv-card:hover, [data-theme="light"] .lv-duo-card:hover, [data-theme="light"] .lv-size:hover, [data-theme="light"] .lv-segment:hover { box-shadow: 0 24px 50px rgba(80, 60, 20, 0.14); }
[data-theme="light"] .lv-card-icon { color: #b07813; background: radial-gradient(circle at 30% 25%, rgba(255, 211, 122, 0.45), rgba(224, 169, 74, 0.1) 70%); }
[data-theme="light"] .lv-card-num { color: rgba(176, 120, 19, 0.16); }
[data-theme="light"] .lv-glare { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 200, 100, 0.22), transparent 45%); }
[data-theme="light"] .lv-stat-n, [data-theme="light"] .lv-size-figure b { background-image: linear-gradient(180deg, #d9921f, #b07813 60%, #8a5a0c); }
[data-theme="light"] .lv-segment-badge { background: radial-gradient(circle at 35% 30%, #ffffff, #f4ead6 70%); color: #b07813; }
[data-theme="light"] .lv-step-dot { box-shadow: 0 0 0 6px var(--void), 0 0 20px rgba(224, 169, 74, 0.35); }
[data-theme="light"] .lv-panel .lv-step-dot { box-shadow: 0 0 0 6px var(--panel), 0 0 20px rgba(224, 169, 74, 0.35); }
[data-theme="light"] .lv-hero-photo, [data-theme="light"] .lv-photo { box-shadow: 0 24px 50px rgba(80, 60, 20, 0.18); border-color: #e2e2de; background: #fff; }
[data-theme="light"] .lv-mega > a.lv-mega-item { background: linear-gradient(160deg, rgba(224, 169, 74, 0.1), transparent 60%); }
[data-theme="light"] .lv-chip > .lv-icon, [data-theme="light"] .lv-plugflow span .lv-icon { color: #b07813; }
[data-theme="light"] .lv-converter-out b { color: #b07813; }
[data-theme="light"] .lv-choice span { background: #fff; }
/* the closing band, icon art and article art stay dark on purpose: they are made for a dark ground */


/* fixes after the first look: full-width section intros, menu blurbs wrap, the + in the Plug-n-Play flow */
.lv-head .section-intro { max-width: none; }
.lv-mega > a.lv-mega-item { white-space: normal; border-bottom-width: 1px; }
.lv-plugflow b { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--lv-gold-hi); }
@media (min-width: 1181px) {
  .mega-inner.lv-mega { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 320px); grid-template-rows: none; row-gap: 14px; column-gap: 16px; justify-content: stretch; align-items: stretch; }
  .lv-mega > a.lv-mega-item { text-align: left; align-items: flex-start; justify-content: center; }
}

/* refinements after testing on dev (2026-11-17): whole pictures in page headers and text-beside-picture sections,
   a tighter footer tagline, quicker card reveals */
.lv-hero-photo img, .lv-split .lv-photo img { aspect-ratio: auto; height: auto; }
.footer-top p.lv-footer-tag { line-height: 1.15; margin-bottom: 6px; }
.motion .reveal > .lv-card, .motion .reveal > .lv-segment, .motion .reveal > .lv-article, .motion .reveal > .lv-chip, .motion .reveal > .lv-size, .motion .reveal > .lv-duo-card, .motion .reveal > .lv-stat {
  transition-duration: 0.55s, 0.55s, 0.45s, 0.35s, 0.3s; }
.motion .reveal.in-view > :nth-child(2) { transition-delay: 0.06s, 0.06s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(3) { transition-delay: 0.12s, 0.12s, 0s, 0s, 0s; }
.motion .reveal.in-view > :nth-child(4) { transition-delay: 0.18s, 0.18s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(5) { transition-delay: 0.24s, 0.24s, 0s, 0s, 0s; }
.motion .reveal.in-view > :nth-child(6) { transition-delay: 0.3s, 0.3s, 0s, 0s, 0s; } .motion .reveal.in-view > :nth-child(n+7) { transition-delay: 0.36s, 0.36s, 0s, 0s, 0s; }

/* ============================================================
   Intro round: the client's hero animation rebuilt as live
   graphics (was a video). Everything sits on a 1920 x 1080
   frame scaled to the screen by --px, so it is sharp at any
   size and runs at the screen's frame rate. script.js ("Home
   intro") drives it with the Web Animations API, animating
   only transform, opacity and a few clip-paths, so the browser
   can keep it smooth. The head script on the home page adds
   .lv-intro-on (and .lv-intro-short after the first visit).
   ============================================================ */
.bi { display: none; }
html.lv-intro-on { overflow: hidden; }
html.lv-intro-on .bi { display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; --px: min(calc(100vw / 1920), calc(100dvh / 1080)); }
html.lv-intro-on .masthead-logo img, html.lv-intro-on .masthead-tagline { opacity: 0; }
.bi-bg { position: absolute; inset: 0; background: #f6f5f1; will-change: opacity; }
.bi-frame { position: absolute; left: 50%; top: 50%; width: calc(1920 * var(--px)); height: calc(1080 * var(--px)); margin: calc(-540 * var(--px)) 0 0 calc(-960 * var(--px)); }
.bi-frame > * { position: absolute; }

/* the faint outer ring and the dots that gather on it */
.bi-ring { left: calc(649 * var(--px)); top: calc(229 * var(--px)); width: calc(622 * var(--px)); height: calc(622 * var(--px)); border-radius: 50%;
  border: max(1px, calc(1.6 * var(--px))) solid #e9dcc2; opacity: 0; }
.bi-dots { inset: 0; will-change: transform; }
.bi-dot { position: absolute; left: calc(909 * var(--px)); top: calc(489 * var(--px)); width: calc(102 * var(--px)); height: calc(102 * var(--px)); border-radius: 50%;
  background: #1d1a15; translate: calc(cos(var(--a)) * 311 * var(--px)) calc(sin(var(--a)) * 311 * var(--px)); scale: 0; will-change: scale, opacity; }

/* the disc: white card with a soft shadow, a gold arc that draws round it, a dark disc behind for the flip */
.bi-disc-wrap { left: calc(728 * var(--px)); top: calc(308 * var(--px)); width: calc(464 * var(--px)); height: calc(464 * var(--px)); perspective: calc(1600 * var(--px)); }
.bi-disc, .bi-disc-back { position: absolute; inset: 0; border-radius: 50%; }
.bi-disc-back { background: #1d1a15; scale: 0.985; opacity: 0; }
.bi-disc { background: #fff; overflow: hidden; scale: 0; will-change: transform, scale;
  box-shadow: 0 calc(34 * var(--px)) calc(70 * var(--px)) rgba(70, 50, 15, 0.13), 0 calc(4 * var(--px)) calc(12 * var(--px)) rgba(70, 50, 15, 0.06); }
.bi-arc { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.bi-arc circle { fill: none; stroke: #b8862b; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.bi-disc-dark { position: absolute; inset: 0; border-radius: 50%; background: #55524b; opacity: 0; }
.bi-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; }
.bi-card .bi-icon { width: calc(58 * var(--px)); height: calc(58 * var(--px)); color: #b8862b; stroke-width: 1.3; margin-bottom: calc(14 * var(--px)); }
.bi-card b { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; font-size: calc(47 * var(--px)); line-height: 1.1; letter-spacing: 0.02em; color: #1d1a15; text-transform: uppercase; }
.bi-card small { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; font-size: calc(25 * var(--px)); letter-spacing: 0.07em; color: #9a6a18; text-transform: uppercase; margin-top: calc(6 * var(--px)); }
.bi-hub .bi-icon { width: calc(64 * var(--px)); height: calc(64 * var(--px)); margin: calc(18 * var(--px)) 0 calc(8 * var(--px)); }
.bi-hub small { color: #1d1a15; font-size: calc(19 * var(--px)); letter-spacing: 0.22em; }
.bi-hub-arc { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -12deg; }
.bi-hub-arc text { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: 3.2px; fill: #1d1a15; }
.bi-hub-arc tspan { fill: #b8862b; }

/* the logo: the real logo file, dark, in two layers (wordmark, dots with stems) so each can be revealed on its own */
.bi-logo { left: calc(224.5 * var(--px)); top: calc(176.5 * var(--px)); width: calc(1471 * var(--px)); height: calc(727 * var(--px)); transform-origin: 0 0; will-change: transform; }
.bi-logo img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(0); opacity: 0.92; }
.bi-logo .bi-words { clip-path: inset(41% 55% 39.5% 45%); visibility: hidden; }
.bi-logo .bi-knobs { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 15.8% 41%, 100% 41%, 100% 60.5%, 15.8% 60.5%, 15.8% 41%); opacity: 0; }
.bi-tag { margin: 0; right: calc(232 * var(--px)); top: calc(606 * var(--px)); font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; font-size: calc(34 * var(--px)); letter-spacing: 0.06em; color: #1d1a15; opacity: 0; white-space: nowrap; }
.bi-tag span { color: #b8862b; }

.bi .lv-intro-skip { position: absolute; right: 22px; bottom: 22px; z-index: 3; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.7); color: #1d1a15; border: 1px solid #d8c49a; font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; font-size: 1.1rem; letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.3s ease; }
.bi .lv-intro-skip:hover { background: #e0a94a; color: #140901; }
.lv-arrive .masthead-tagline { animation: lv-tag-in 0.6s var(--ease-out) both; }
@keyframes lv-tag-in { from { opacity: 0; transform: translateX(-10px); } }
.bi-logo .bi-knobs { transform-origin: 23.9% 50.9%; }
.bi-logo img.bi-white { filter: none; opacity: 0; }
/* while the intro covers the page, the page's own effects wait (less work for the browser); its headline then rises
   in as the page appears */
html.lv-intro-on body > :not(#lv-intro), html.lv-intro-on body > :not(#lv-intro) * { animation-play-state: paused !important; }

/* ============================================================
   Performance round (measured in Chrome on dev, 2026-11-17):
   effects that repainted large areas every frame now move with
   transforms only, so the graphics card does the work.
   ============================================================ */
/* slider glints: normal blending (screen blending made the browser repaint the whole slide every frame) */
.bulb, .twinkle { mix-blend-mode: normal; will-change: transform, opacity; }
/* page-header grid floor: the grid moves as a layer instead of repainting its background */
.lv-hero::after { animation: none; top: auto; height: 70%; background-position: 0 0; }
@supports (translate: 0) {
  .lv-hero::after { animation: lv-floor-move 3.5s linear infinite; will-change: transform; }
  @keyframes lv-floor-move { from { transform: perspective(600px) rotateX(72deg) translateY(0); } to { transform: perspective(600px) rotateX(72deg) translateY(64px); } }
}
/* glows and floating pieces on their own layers */
.lv-aurora, .lv-aurora span, .lv-emblem-orbit, .lv-emblem-ring-2, .lv-emblem-core, .lv-iconart > span:not(.lv-glare), .lv-cta-bubbles i, .promise-svg .ps-spin { will-change: transform; }
/* closing banner: one light line sweeping along the top edge, moved by transform */
.lv-cta::before { animation: none; background: none; }
.lv-cta::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 1px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 122, 0.8), transparent); animation: lv-sweep-move 6s linear infinite; will-change: transform; }
@keyframes lv-sweep-move { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.lv-cta { border-top: 1px solid rgba(224, 169, 74, 0.25); }
/* gradient text: the colours shift slowly instead of every frame */
.lv-hero-sub, .lv-sub, .lv-line-accent .lv-w { animation-duration: 0.9s, 12s; }
.lv-sub { animation-duration: 12s; }
/* the steps line runs behind the numbered dots: each step's reveal gives it its own layer, so order them explicitly */
.lv-steps::before, .lv-steps::after { z-index: 0; }
.lv-steps li { z-index: 1; }

/* the slider card: only the open tab sets the card's height (script.js eases the card between heights) */
.hero-tabbed .hero-slides { position: relative; }
.hero-tabbed .hero-slide:not(.active) { position: absolute; top: 0; left: 0; right: 0; }

/* =====================================================================
   November 17 changes round
   ===================================================================== */

/* slider tab headings: tighter letters (the client found them too spread out) */
.hero-tab { letter-spacing: 0.01em; gap: 9px; }
.hero-tab-label { letter-spacing: 0.01em; }

/* slider tab 4 and About Us: the Our Promise photo on the left, its words on the right */
.hero-tabbed .hero-slide.promise-slide { grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr); align-items: stretch; }
.hero-tabbed .hero-slide.promise-slide .hero-v2-visual.promise-photo { aspect-ratio: auto; width: auto; height: auto; min-height: 440px; background: none; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
.hero-tabbed .promise-copy { align-self: center; }
@media (max-width: 900px) { .hero-tabbed .hero-slide.promise-slide { grid-template-columns: 1fr; } .hero-tabbed .hero-slide.promise-slide .hero-v2-visual.promise-photo { min-height: 0; aspect-ratio: 16 / 10; -webkit-mask-image: none; mask-image: none; } }
.hero-tabbed .promise-photo img.promise-main { object-fit: cover; object-position: 50% 88%; }
.promise-tagline { font-family: var(--font-menu); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steam); margin: 0 0 6px; font-style: italic; }
.promise-tagline em { color: var(--copper-bright); }
.promise-title span { display: inline-flex; align-items: center; gap: 0.35em; }
.promise-title span::before, .promise-title span::after { content: ""; width: 1.2em; height: 2px; background: var(--copper-bright); }
.promise-title em { font-style: normal; color: var(--copper-bright); }
.promise-pillars { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.promise-pillars li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 12px 6px; border-radius: 12px;
  background: rgba(224, 169, 74, 0.08); border: 1px solid rgba(224, 169, 74, 0.25); font-family: var(--font-menu); font-size: 1.05rem; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; color: var(--steam);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), border-color 0.3s ease, background 0.3s ease; }
.promise-pillars li:hover { transform: translateY(-3px); border-color: var(--copper-bright); background: rgba(224, 169, 74, 0.14); }
.promise-pillars .lv-icon { width: 34px; height: 34px; color: var(--copper-bright); }
.hero-tabbed .promise-copy .lede { margin-bottom: 0; }
@media (max-width: 720px) { .promise-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lv-promise { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.lv-promise-photo { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.lv-promise-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; display: block; }
.lv-promise-copy .section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
@media (max-width: 820px) { .lv-promise { grid-template-columns: 1fr; } .lv-promise-photo { aspect-ratio: 16 / 10; } }

/* About Us: "We Do the Heavy Lifting for You" in condensed capitals on one line */
.lv-head .section-title.lv-title-heavy { text-transform: uppercase; white-space: nowrap; letter-spacing: 0.005em; font-size: clamp(1.5rem, 5.4vw, 3.6rem); }

/* Home: the facility picture beside the "Complete Brewery Solutions" introduction */
.lv-intro-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; margin: 0 0 clamp(28px, 4vw, 44px); }
.lv-intro-split .section-intro p { margin: 0 0 14px; }
.lv-intro-split .section-intro { margin: 0; text-align: left; }
.lv-intro-art { position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 7; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.lv-intro-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .lv-intro-split { grid-template-columns: 1fr; } }

/* a figure shown as an icon (Serving Globally) */
.lv-stat-icon .lv-stat-n .lv-icon { width: 1em; height: 1em; color: var(--copper-bright); stroke-width: 1.6; }
.lv-stat-icon .lv-stat-l { color: var(--steam); }

/* call-to-action bands in the light theme: dark words on the light band (they were cream on cream) */
[data-theme="light"] .lv-cta { background: radial-gradient(600px circle at calc(50% + var(--mx, 0) * 40%) calc(50% + var(--my, 0) * 60%), rgba(217, 146, 31, 0.16), transparent 60%),
  linear-gradient(120deg, #fbf3e3 0%, #f6f2ea 55%, #f8ecd6 100%); }
[data-theme="light"] .lv-cta h2 { color: #1c1912; }
[data-theme="light"] .lv-cta .lede { color: #4b4537; }
[data-theme="light"] .lv-cta .btn-outline { color: #8a5a0c; border-color: rgba(138, 90, 12, 0.55); }
[data-theme="light"] .lv-cta .btn-outline:hover { color: #1c1912; background: rgba(217, 146, 31, 0.14); border-color: #b07813; }
[data-theme="light"] .lv-cta-bubbles i { border-color: rgba(176, 120, 19, 0.35); }
[data-theme="light"] .promise-tagline, [data-theme="light"] .promise-pillars li, [data-theme="light"] .lv-stat-icon .lv-stat-l { color: #1c1912; }
[data-theme="light"] .promise-pillars li { background: rgba(217, 146, 31, 0.08); border-color: rgba(176, 120, 19, 0.3); }
[data-theme="light"] .promise-pillars .lv-icon, [data-theme="light"] .promise-tagline em, [data-theme="light"] .promise-title em, [data-theme="light"] .lv-stat-icon .lv-stat-n .lv-icon { color: #b07813; }
[data-theme="light"] .promise-title span::before, [data-theme="light"] .promise-title span::after { background: #b07813; }

/* managed-service pages: buttons to the other services, so nobody has to go back up to the menu */
.lv-other-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; }
.lv-other-service span:not(.lv-glare) { line-height: 1.15; }
.lv-other-service { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 14px 14px; border-radius: 12px;
  border: 1px solid rgba(224, 169, 74, 0.3); background: rgba(224, 169, 74, 0.06); color: var(--steam); text-decoration: none;
  font-family: var(--font-menu); font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s cubic-bezier(.2, .8, .2, 1); }
.lv-other-service span:not(.lv-glare) { flex: 1; }
.lv-other-service .lv-icon { width: 28px; height: 28px; color: var(--copper-bright); flex: none; }
.lv-other-service > svg:last-of-type { color: var(--copper-bright); transition: transform 0.25s ease; }
.lv-other-service:hover, .lv-other-service:focus-visible { border-color: var(--copper-bright); background: rgba(224, 169, 74, 0.13); color: var(--steam); }
.lv-other-service:hover > svg:last-of-type { transform: translateX(4px); }
[data-theme="light"] .lv-other-service { color: #1c1912; background: rgba(217, 146, 31, 0.07); border-color: rgba(176, 120, 19, 0.3); }
[data-theme="light"] .lv-other-service .lv-icon, [data-theme="light"] .lv-other-service > svg:last-of-type { color: #b07813; }

/* Financing page: lists inside cards, a centred button under the steps, the questions, the disclosure */
.lv-ticks { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 8px; }
.lv-ticks li { position: relative; padding-left: 22px; color: var(--steam-dim); }
.lv-ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 9px; height: 5px; border-left: 2px solid var(--copper-bright); border-bottom: 2px solid var(--copper-bright); transform: rotate(-45deg); }
.lv-center-actions { display: flex; justify-content: center; margin: 36px 0 0; }
.lv-faq { max-width: 860px; margin: 0 auto; }
.lv-faq .faq-item summary { font-size: 1.0625rem; transition: color 0.2s ease; }
.lv-faq .faq-item summary:hover { color: var(--copper-bright); }
.lv-faq .faq-item[open] p { animation: lv-fade-up 0.35s ease both; }
.lv-disclosure { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--hairline); }
.lv-disclosure h2 { margin: 0 0 12px; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steam-dim); }
.lv-disclosure p { max-width: 90ch; margin: 0 0 8px; font-size: 0.875rem; color: var(--steam-dim); }
[data-theme="light"] .lv-ticks li::before { border-color: #b07813; }

/* Resources: article cards and topics are links now */
a.lv-article, a.lv-chip { color: inherit; text-decoration: none; }
.lv-article .lv-card-cta { margin-top: auto; color: var(--lv-gold-hi); font-family: var(--font-menu); letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.lv-articles .lv-article p { color: var(--steam-dim); }
@media (min-width: 1100px) { .lv-articles:has(> .lv-article:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Resources: one article per page */
.lv-read-progress { position: sticky; top: 0; z-index: 40; height: 3px; background: transparent; }
.lv-read-progress span { display: block; height: 100%; width: 100%; transform: scaleX(var(--read, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, #c4622d, var(--lv-gold), var(--lv-gold-hi)); box-shadow: 0 0 10px rgba(236, 185, 79, 0.6); }
.lv-article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lv-toc { position: sticky; top: 96px; padding: 18px 18px 14px; border-radius: 14px; border: 1px solid var(--hairline); background: var(--panel); }
.lv-toc .mono { margin: 0 0 10px; }
.lv-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.lv-toc li { counter-increment: toc; }
.lv-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--steam-dim); text-decoration: none; font-size: 0.9375rem; line-height: 1.3; transition: color 0.2s ease, background 0.2s ease; }
.lv-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-menu); color: var(--lv-gold); }
.lv-toc a:hover { color: var(--steam); background: rgba(224, 169, 74, 0.08); }
.lv-toc a[aria-current="true"] { color: var(--steam); background: rgba(224, 169, 74, 0.14); box-shadow: inset 3px 0 0 var(--lv-gold-hi); }
.lv-article-body { max-width: 74ch; font-size: 1.0625rem; }
.lv-article-body > p:first-child { font-size: 1.25rem; color: var(--steam); }
.lv-article-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 48px 0 14px; scroll-margin-top: 96px; }
.lv-article-body h3 { font-size: 1.35rem; margin: 26px 0 8px; color: var(--lv-gold-hi); }
.lv-article-body p { max-width: none; }
.lv-article-body .lv-ticks { margin: 4px 0 22px; }
.lv-article-body strong { color: var(--steam); }
.lv-flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 24px; padding: 0; }
.lv-flow li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(224, 169, 74, 0.4); background: rgba(224, 169, 74, 0.08);
  font-family: var(--font-menu); letter-spacing: 0.03em; text-transform: uppercase; }
.lv-flow li:not(:last-child)::after { content: "→"; margin-right: -24px; color: var(--lv-gold-hi); width: 14px; }
.lv-flow li:not(:last-child) { margin-right: 14px; }
.lv-table-wrap { overflow-x: auto; margin: 8px 0 24px; border-radius: 12px; border: 1px solid var(--hairline); }
.lv-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.lv-table th, .lv-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--hairline); }
.lv-table thead th { font-family: var(--font-menu); letter-spacing: 0.06em; text-transform: uppercase; color: var(--lv-gold-hi); background: rgba(224, 169, 74, 0.08); }
.lv-table tbody tr:last-child > * { border-bottom: 0; }
.lv-table tbody tr:hover { background: rgba(224, 169, 74, 0.06); }
@media (max-width: 960px) { .lv-article-layout { grid-template-columns: 1fr; } .lv-toc { position: static; } }
[data-theme="light"] .lv-article-body > p:first-child, [data-theme="light"] .lv-article-body strong, [data-theme="light"] .lv-toc a[aria-current="true"], [data-theme="light"] .lv-toc a:hover { color: #1c1912; }
[data-theme="light"] .lv-article-body h3, [data-theme="light"] .lv-table thead th, [data-theme="light"] .lv-article .lv-card-cta { color: #8a5a0c; }
[data-theme="light"] .lv-toc a::before, [data-theme="light"] .lv-flow li:not(:last-child)::after, [data-theme="light"] .lv-article-art { color: #b07813; }
[data-theme="light"] .lv-flow li { background: rgba(217, 146, 31, 0.08); border-color: rgba(176, 120, 19, 0.35); color: #1c1912; }

/* ---------- November 17 intro and caption round ----------
   The wordmark is no longer revealed with an animated clip-path and blur (both repaint every frame, which stuttered
   on slower machines): it sits under two covers the colour of the backdrop that scale away from the "O". The ring,
   dots and disc stay above the logo so the disc can land on the "O". */
.bi-logo { z-index: 0; }
.bi-ring, .bi-dots, .bi-disc-wrap, .bi-tag { z-index: 1; }
.bi-disc-wrap { will-change: transform, opacity; }
.bi-logo .bi-words { clip-path: inset(41% 0% 39.5% 15.8%); visibility: visible; }
.bi-cover { position: absolute; top: 40.4%; height: 20.8%; background: #f6f5f1; will-change: transform; }
.bi-cover-l { left: 15%; width: 30.2%; transform-origin: 0 50%; }
.bi-cover-r { left: 45%; right: -0.5%; transform-origin: 100% 50%; }

/* the caption under the intro: the title, then the white text, then the tagline, one after another */
.lv-home-title .lede { animation: lv-fade-up 0.9s var(--ease-out) 1.25s both; }
.lv-home-title .lv-hero-sub { margin-top: 16px; animation: lv-fade-up 0.8s var(--ease-out) 2s both, lv-gradient 12s linear infinite; }
.lv-form .btn { white-space: normal; max-width: 100%; text-align: center; }

/* =====================================================================
   Uniform typography round (client, 19 Nov 2026): every heading is
   centred and set tight (letters and words closely grouped); every
   piece of running text is left-aligned. Text under a centred heading
   stays a centred block whose lines start on the left.
   ===================================================================== */
html body :is(h1, h2, h3, .section-title, .slide-title, .lv-hero-sub, .lv-sub, .lv-card-sub, .promise-title, .promise-tagline, .lv-footer-tag) {
  letter-spacing: 0.004em !important;
  word-spacing: -0.03em;
}
html body :is(.lv-hero .mono, .lv-head .mono, .lv-duo-body .mono) { letter-spacing: 0.1em; }

/* headings: centred */
.lv-hero-copy > .mono, .lv-hero-copy > h1, .lv-hero-copy > .lv-hero-sub,
.lv-head, .lv-head .section-title, .lv-head .lv-sub, .lv-head > .mono,
.lv-home-title h1, .lv-home-title .lv-hero-sub,
.lv-cta h2, .lv-promise-copy .promise-tagline, .lv-promise-copy .section-title,
.hero-v2-copy .slide-title, .hero-v2-copy .promise-tagline,
.lv-article-body h2, .lv-disclosure h2, .page-hero h1, .page-hero > .wrap > .mono { text-align: center; }
.lv-hero-copy > .mono, .lv-head > .mono { display: block; }
.lv-hero h1::after, .page-hero h1::after { margin-left: auto; margin-right: auto; }
.lv-hero-actions, .lv-hero-copy .lv-hero-actions { justify-content: center; }
.lv-head { margin-left: auto; margin-right: auto; }

/* running text: left-aligned (a centred block where it sits under a centred heading) */
.lede, .section-intro, .section-intro p, .lv-lead-text, .lv-lead-text p, .lv-center-note, .lv-intro-split .section-intro p,
.lv-hero-copy .lede, .lv-home-title .lede, .lv-cta .lede, .hero-v2-copy .lede, .hero-v2-copy .slide-sub, .prose p, .lv-promise-copy .lede,
.lv-disclosure p, .lv-faq .faq-item p { text-align: left; }
.lv-head .section-intro, .lv-head-center + .lv-lead-text, .lv-lead-text, .lv-center-note { margin-left: auto; margin-right: auto; }
.lv-head .section-intro { max-width: 72ch; }
.lv-home-title .lede { max-width: 72ch; }
.lv-disclosure h2 { letter-spacing: 0.12em !important; }
.lv-hero h1::after, .page-hero h1::after { transform-origin: center; }
/* call-to-action bands: stacked, so the heading can sit in the centre like every other heading */
.lv-cta .wrap { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.lv-cta .wrap > div:first-child { width: 100%; max-width: 72ch; }
.lv-cta .lede { margin-left: auto; margin-right: auto; }
.lv-cta .cta-actions { justify-content: center; }

/* Card tiles at half their former size (client, 19 Nov 2026): padding, icon boxes, gaps and the article picture strip
   are halved; card titles and text keep their size. */
.lv-card { padding: clamp(11px, 1.2vw, 16px); gap: 5px; border-radius: 10px; }
.lv-card-icon { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 2px; }
.lv-card-icon .lv-icon { width: 18px; height: 18px; }
.lv-card-num { right: 12px; top: 8px; font-size: 1.6rem; }
.lv-card .lv-ticks { margin: 4px 0 8px; }
.lv-card p { margin-bottom: 6px; }
.lv-cards { gap: clamp(10px, 1.2vw, 14px); }
.lv-chip { padding: 10px 12px; gap: 10px; border-radius: 10px; }
.lv-chip > .lv-icon { width: 24px; height: 24px; }
.lv-chips { gap: 10px; }
.lv-article { gap: 5px; padding: 0 0 13px; border-radius: 10px; }
.lv-article > *:not(.lv-article-art):not(.lv-glare) { margin-left: 13px; margin-right: 13px; }
.lv-article-art { height: 75px; }
.lv-article-art .lv-icon { width: 34px; height: 34px; }
.lv-articles { gap: clamp(10px, 1.2vw, 14px); }

/* =====================================================================
   Launch round (20 Nov 2026): coming-soon pages, legal links, markers
   ===================================================================== */
.lv-soon { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); min-height: calc(100vh - 160px); }
.lv-soon .wrap { position: relative; z-index: 2; }
.lv-soon-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lv-soon-copy > .mono { display: block; text-align: center; color: var(--lv-gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; margin-bottom: 14px; }
.lv-soon-copy h1 { text-align: center; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; }
.lv-soon-copy .lv-hero-sub { text-align: center; }
.lv-soon-copy .lede { text-align: left; max-width: 60ch; margin: 18px auto 0; }
.lv-soon-copy .lv-hero-actions { justify-content: center; }
.lv-soon-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; width: max-content; max-width: 100%; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(224, 169, 74, 0.45); background: rgba(224, 169, 74, 0.08); font-family: var(--font-menu); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lv-gold-hi); }
.lv-soon-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lv-gold-hi); box-shadow: 0 0 0 0 rgba(255, 211, 122, 0.6); animation: lv-soon-pulse 1.8s ease-out infinite; }
@keyframes lv-soon-pulse { to { box-shadow: 0 0 0 12px rgba(255, 211, 122, 0); } }

/* the brewing glass: beer rises, the foam settles, bubbles climb; then it starts again */
.lv-soon-glass { position: relative; justify-self: center; width: clamp(150px, 18vw, 220px); aspect-ratio: 3 / 4; }
.lv-soon-mug { position: absolute; inset: 0 18% 0 0; border: 3px solid rgba(242, 237, 225, 0.75); border-top: 0; border-radius: 6px 6px 22px 22px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 30px rgba(255, 211, 122, 0.08), 0 30px 60px rgba(0, 0, 0, 0.35); }
.lv-soon-handle { position: absolute; right: 0; top: 22%; width: 26%; height: 46%; border: 3px solid rgba(242, 237, 225, 0.75); border-left: 0; border-radius: 0 40% 40% 0; }
.lv-soon-beer { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: 50% 100%; transform: scaleY(0.08);
  background: linear-gradient(180deg, #f7b733 0%, #e0a94a 40%, #b8720a 100%); animation: lv-soon-fill 6s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.lv-soon-foam { position: absolute; left: -2px; right: -2px; top: 0; height: 22%; border-radius: 40% 40% 12px 12px; transform-origin: 50% 100%;
  background: radial-gradient(circle at 20% 60%, #fffaf0 0 22%, transparent 23%), radial-gradient(circle at 55% 45%, #fffaf0 0 26%, transparent 27%), radial-gradient(circle at 85% 62%, #fffaf0 0 20%, transparent 21%), #f6efe1;
  opacity: 0; animation: lv-soon-foam 6s ease infinite; }
.lv-soon-beer i { position: absolute; bottom: 4%; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.75); animation: lv-soon-bubble 2.4s linear infinite; }
.lv-soon-beer i:nth-child(1) { left: 18%; } .lv-soon-beer i:nth-child(2) { left: 38%; animation-delay: -0.8s; width: 5px; height: 5px; }
.lv-soon-beer i:nth-child(3) { left: 58%; animation-delay: -1.6s; } .lv-soon-beer i:nth-child(4) { left: 75%; animation-delay: -0.4s; width: 4px; height: 4px; }
.lv-soon-beer i:nth-child(5) { left: 28%; animation-delay: -1.2s; width: 4px; height: 4px; } .lv-soon-beer i:nth-child(6) { left: 66%; animation-delay: -2s; width: 5px; height: 5px; }
@keyframes lv-soon-fill { 0% { transform: scaleY(0.08); } 55%, 88% { transform: scaleY(0.78); } 100% { transform: scaleY(0.08); } }
@keyframes lv-soon-foam { 0%, 40% { opacity: 0; transform: translateY(78%) scaleY(0.4); } 55%, 88% { opacity: 1; transform: translateY(78%) scaleY(1); } 100% { opacity: 0; transform: translateY(78%) scaleY(0.4); } }
@keyframes lv-soon-bubble { from { transform: translateY(0); opacity: 0.9; } to { transform: translateY(-900%); opacity: 0; } }

.lv-soon-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.lv-soon-tile { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 14px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--panel); }
.lv-soon-tile > .lv-icon { flex: none; width: 28px; height: 28px; color: var(--lv-gold-hi); }
.lv-soon-tile h2 { font-size: 1.35rem; margin: 0 0 4px; text-align: left; }
.lv-soon-tile p { margin: 0; color: var(--steam-dim); font-size: 0.9375rem; }
.lv-soon-badge { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lv-gold); border: 1px solid rgba(224, 169, 74, 0.45); }
.lv-soon-tile > div { padding-right: 86px; }
@media (max-width: 820px) { .lv-soon-grid { grid-template-columns: 1fr; } .lv-soon-glass { order: -1; width: 130px; } .lv-soon { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-soon-beer { animation: none; transform: scaleY(0.7); } .lv-soon-foam { animation: none; opacity: 1; transform: translateY(78%); } .lv-soon-beer i, .lv-soon-dot { animation: none; } }
html.lv-intro-on .lv-soon * { animation-play-state: paused; }
[data-theme="light"] .lv-soon-mug, [data-theme="light"] .lv-soon-handle { border-color: rgba(28, 25, 18, 0.55); }
[data-theme="light"] .lv-soon-status { color: #8a5a0c; border-color: rgba(176, 120, 19, 0.45); background: rgba(217, 146, 31, 0.08); }
[data-theme="light"] .lv-soon-tile > .lv-icon, [data-theme="light"] .lv-soon-badge { color: #b07813; }
[data-theme="light"] .lv-soon-copy > .mono { color: #b07813; }

/* footer: legal links */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: inherit; text-decoration: none; opacity: 0.8; transition: color 0.2s ease, opacity 0.2s ease; }
.footer-legal a:hover { color: var(--copper-bright); opacity: 1; }

/* legal pages: blanks the client has still to fill */
mark.lv-tbc { background: rgba(240, 122, 102, 0.18); color: inherit; padding: 1px 6px; border-radius: 4px; outline: 1px dashed rgba(240, 122, 102, 0.7); }
.lv-legal .lv-article-body > p:first-child { font-size: inherit; }

/* forms: the bot trap stays out of sight, the captcha box only takes space when Turnstile shows something */
.lv-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lv-captcha:empty { display: none; }
.lv-captcha { margin: 6px 0 14px; min-height: 0; }
.form-status.is-ok { color: #6fcf97; }
.form-status.is-warn { color: #f2c14e; }
.form-status a { color: inherit; text-decoration: underline; }
[data-theme="light"] .form-status.is-ok { color: #1f8a4c; }
[data-theme="light"] .form-status.is-warn { color: #9a6a00; }
.lv-form { position: relative; }

/* =====================================================================
   Configurator round (20 Nov 2026): the Brewery Capacity Configurator
   (configurator/, js/configurator.js)
   ===================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cfg { max-width: 920px; margin: 0 auto; padding: clamp(18px, 3vw, 34px); border-radius: 16px; border: 1px solid var(--hairline-strong);
  background: linear-gradient(160deg, rgba(224, 169, 74, 0.07), transparent 40%), var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.cfg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cfg-top .mono { margin: 0; color: var(--lv-gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; }
.cfg-step-label { margin: 0; font-family: var(--font-menu); font-size: 1.05rem; letter-spacing: 0.04em; color: var(--steam-dim); }
.cfg-progress { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 12px 0 22px; padding: 0; }
.cfg-progress li { height: 4px; border-radius: 4px; background: var(--hairline-strong); overflow: hidden; position: relative; }
.cfg-progress li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--lv-gold), var(--lv-gold-hi)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.cfg-progress li.done::after, .cfg-progress li.on::after { transform: scaleX(1); }
.cfg fieldset { border: 0; margin: 0; padding: 0; min-width: 0; animation: lv-fade-up 0.45s var(--ease-out) both; }
.cfg fieldset[hidden] { display: none; }
.cfg h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 6px; text-align: center; outline: none; }
.cfg-intro { text-align: left; max-width: 62ch; margin: 0 auto 20px; color: var(--steam-dim); }
.cfg-q { width: 100%; margin: 0 0 6px; font-family: var(--font-menu); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steam); }
.cfg .lv-choice { margin-bottom: 18px; }
.cfg-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cfg-cards .cfg-q { grid-column: 1 / -1; }
.cfg-cards label span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; text-align: left; }
.cfg-cards label span b { font-family: var(--font-menu); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.03em; text-transform: uppercase; }
.cfg-cards label span small { font-size: 0.875rem; opacity: 0.85; }
.cfg-hint { margin: 6px 0 0; font-size: 0.875rem; color: var(--steam-dim); }
.cfg-range label { display: flex; justify-content: space-between; gap: 12px; }
.cfg-range output { font-family: var(--font-menu); font-size: 1.25rem; color: var(--lv-gold-hi); }
.cfg input[type="range"] { width: 100%; accent-color: var(--lv-gold); height: 28px; }
.cfg-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.cfg-pair > div { padding: 12px 14px; border-radius: 12px; background: rgba(224, 169, 74, 0.07); border: 1px solid rgba(224, 169, 74, 0.25); }
.cfg-pair span { display: block; font-size: 0.875rem; color: var(--steam-dim); }
.cfg-pair b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--steam); }
.cfg-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.cfg-nav [data-next] { margin-left: auto; }
.cfg-small { max-width: 920px; margin: 14px auto 0; font-size: 0.8125rem; color: var(--steam-dim); text-align: left; }

/* step 5: the recommendation */
.cfg-hero { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 32px); margin: 8px 0 20px; flex-wrap: wrap; }
.cfg-size { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 211, 122, 0.35), rgba(224, 169, 74, 0.08) 70%); border: 2px solid var(--lv-gold); box-shadow: 0 0 40px rgba(224, 169, 74, 0.3);
  animation: lv-fade-up 0.6s var(--ease-out) both; }
.cfg-size-n { font-family: var(--font-display); font-size: 3.8rem; line-height: 1; color: var(--steam); margin-top: -8px; }
.cfg-size-u { position: absolute; bottom: 26px; font-family: var(--font-menu); letter-spacing: 0.1em; color: var(--lv-gold-hi); }
.cfg-kind { margin: 0; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; color: var(--steam); }
.cfg-kind-sub { margin: 4px 0 0; color: var(--steam-dim); }
.cfg-litres { margin: 8px 0 0; font-family: var(--font-menu); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--lv-gold-hi); }
.cfg-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0 0 16px; }
.cfg-figs > div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.02); animation: lv-fade-up 0.5s var(--ease-out) both; }
.cfg-figs > div:nth-child(2) { animation-delay: 0.05s; }
.cfg-figs > div:nth-child(3) { animation-delay: 0.1s; }
.cfg-figs > div:nth-child(4) { animation-delay: 0.15s; }
.cfg-figs > div:nth-child(5) { animation-delay: 0.2s; }
.cfg-figs > div:nth-child(6) { animation-delay: 0.25s; }
.cfg-figs dt { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steam-dim); }
.cfg-figs dd { margin: 4px 0 0; }
.cfg-figs dd b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--steam); }
.cfg-figs dd span { font-size: 0.875rem; color: var(--steam-dim); }
.cfg-gauge { position: relative; z-index: 0; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hairline); overflow: hidden; font-size: 0.9375rem; color: var(--steam-dim); }
.cfg-gauge span { position: absolute; z-index: -1; inset: 0 auto 0 0; width: var(--use); background: linear-gradient(90deg, rgba(224, 169, 74, 0.25), rgba(255, 211, 122, 0.35)); animation: cfg-grow 1s var(--ease-out) both; }
.cfg-gauge b { color: var(--steam); }
@keyframes cfg-grow { from { width: 0; } }
.cfg-notes { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cfg-notes li { padding: 10px 14px 10px 38px; border-radius: 10px; position: relative; background: rgba(242, 193, 78, 0.08); border: 1px solid rgba(242, 193, 78, 0.3); }
.cfg-notes li::before { content: "\0021"; position: absolute; left: 13px; top: 11px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: #140901; background: #f2c14e; }
.cfg-caveat { margin: 16px 0 0; font-size: 0.875rem; color: var(--steam-dim); text-align: left; }

/* step 6: the summary */
.cfg-summary { white-space: pre-wrap; margin: 0 0 12px; padding: 16px; border-radius: 12px; border: 1px dashed rgba(224, 169, 74, 0.45); background: rgba(0, 0, 0, 0.25);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.8125rem; line-height: 1.55; color: var(--steam); max-height: 340px; overflow: auto; }
.cfg-tools { margin: 0 0 18px; }
.cfg-formula { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0 auto 22px; padding: 18px; border-radius: 14px; border: 1px solid var(--hairline); background: var(--panel); font-family: var(--font-menu); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--steam); }
.cfg-frac { display: inline-flex; flex-direction: column; text-align: center; }
.cfg-frac span:first-child { border-bottom: 2px solid var(--lv-gold); padding-bottom: 4px; margin-bottom: 4px; }

[data-theme="light"] .cfg { background: linear-gradient(160deg, rgba(224, 169, 74, 0.08), transparent 40%), #fff; box-shadow: 0 18px 44px rgba(80, 60, 20, 0.12); }
[data-theme="light"] .cfg-pair b, [data-theme="light"] .cfg-figs dd b, [data-theme="light"] .cfg-kind, [data-theme="light"] .cfg-size-n, [data-theme="light"] .cfg-gauge b, [data-theme="light"] .cfg-q { color: #1c1912; }
[data-theme="light"] .cfg-range output, [data-theme="light"] .cfg-litres, [data-theme="light"] .cfg-size-u, [data-theme="light"] .cfg-top .mono { color: #8a5a0c; }
[data-theme="light"] .cfg-summary { background: #faf7f0; color: #1c1912; }
[data-theme="light"] .cfg-notes li { background: rgba(154, 106, 0, 0.07); }

/* Save as PDF / Print: only the recommendation and the summary, on white */
@media print {
  body * { visibility: hidden !important; }
  .cfg, .cfg * { visibility: visible !important; }
  .cfg { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; background: #fff !important; }
  .cfg fieldset { display: none !important; }
  .cfg fieldset:nth-of-type(5), .cfg fieldset:nth-of-type(6) { display: block !important; animation: none; }
  .cfg-nav, .cfg-progress, .cfg-tools, .cfg .form-grid, .cfg .lv-consent, .cfg button, .cfg .lv-captcha, .cfg .form-status, .cfg-step-label, .cfg-intro { display: none !important; }
  .cfg * { color: #000 !important; background: none !important; box-shadow: none !important; animation: none !important; }
  .cfg-summary { max-height: none; border-color: #999; }
}

/* Configurator: every heading and sub-heading centred (client, 20 Nov 2026); running text stays left-aligned */
.cfg-top { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cfg-q, .cfg .field > label, .cfg .field > .cfg-q, .cfg-range label { text-align: center; justify-content: center; }
.cfg .field > label { display: block; }
.cfg-range label { display: flex; align-items: baseline; gap: 10px; }
.cfg .lv-choice:not(.cfg-cards) { justify-content: center; }
.cfg .field .lv-choice { justify-content: center; }
.cfg-cards label span { align-items: center; text-align: center; }
.cfg-pair > div, .cfg-figs dt, .cfg-figs dd { text-align: center; }
.cfg-hero { flex-direction: column; text-align: center; }
.cfg-hero > div:last-child { text-align: center; }
.cfg-summary-title, .cfg .lv-consent { text-align: left; }
.cfg-gauge { text-align: center; }
