:root {
  --ink: #132338;
  --muted: #4b5b6d;
  --cream: #f6f8f6;
  --paper: #ffffff;
  --sage: #eef7ef;
  --forest: #0d4d23;
  --brand-green: #1b7736;
  --brand-lime: #45b84b;
  --blue: #0b66a7;
  --blue-deep: #063f73;
  --blue-soft: #eaf4fb;
  --gold: #45b84b;
  --line: #dde5df;
  --shadow: 0 18px 45px rgba(13, 77, 35, .10);
  --radius: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.admin-footer-link { margin-top: 18px; color: #d5e9cc; font-size: .75rem; }
.cms-text-override { white-space: pre-line; }
.brand img.cms-media-override { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.announcement { background: var(--forest); color: #e8f0e8; text-align: center; padding: 8px 18px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.announcement-blue { background: var(--blue-deep); }
.site-header { min-height: 104px; display: flex; align-items: center; gap: 28px; padding: 0 32px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.brand { display: block; position: relative; width: 130px; height: 104px; flex-shrink: 0; overflow: hidden; background: #fff; }
.brand img { position: absolute; width: 140px; height: 140px; max-width: none; top: -14px; left: -5px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: .88rem; color: var(--muted); }
.main-nav a, .account-link { padding: 28px 0 24px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.main-nav a:hover, .main-nav a.active, .account-link:hover, .active-account { color: var(--ink); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 4px; }
.language-control select, .filter-control select { border: 1px solid var(--line); background: transparent; padding: 8px 28px 8px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.account-link { font-size: .88rem; color: var(--muted); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: .84rem; }
.portfolio-hero { padding: 42px 0 28px; background: var(--cream); }
.portfolio-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-bottom: 28px; }
.portfolio-heading h1 { margin: 0; color: var(--forest); font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.05; }
.portfolio-heading h1 em { color: var(--brand-green); font-style: normal; }
.portfolio-heading .eyebrow { margin-bottom: 10px; }
.portfolio-lead { margin: 0; max-width: 440px; color: #40534e; font-size: 1.06rem; }
.portfolio-overview { min-width: 0; }
.victron-presence { margin-top: 18px; padding: 15px 18px; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }
.victron-presence-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 12px; }
.victron-wordmark { width: 220px; max-width: 100%; height: auto; object-fit: contain; flex-shrink: 0; }
.victron-presence h2 { margin: 0; max-width: 180px; color: var(--blue-deep); font-size: 1rem; line-height: 1.25; letter-spacing: -.02em; }
.victron-presence-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.victron-presence a { color: var(--blue-deep); border-bottom: 1px solid #8fb9d9; padding-bottom: 2px; font-size: .82rem; font-weight: 700; }
.victron-presence a:hover { color: var(--blue); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portfolio-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 20px; background: var(--forest); color: white; }
.portfolio-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 4px solid var(--brand-lime); }
.portfolio-card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 26px 25px; }
.portfolio-card-copy h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.15; overflow-wrap: anywhere; }
.portfolio-card-copy p { max-width: 510px; margin-bottom: 16px; color: #d7e4e0; font-size: .98rem; }
.portfolio-card-copy .text-link { margin-top: auto; color: white; border-color: var(--brand-lime); }
.portfolio-caption { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: #566b66; font-size: .7rem; }
.system-tech { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.7fr); gap: 26px; margin-top: 28px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; align-items: center; }
.system-tech > img { width: 100%; height: 180px; object-fit: cover; object-position: 88% center; border-radius: 10px; }
.system-tech h2 { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.2; }
.system-tech p { margin: 0; max-width: 640px; color: #40534e; font-size: .94rem; }
.system-tech .text-link { margin-top: 10px; }
#systems, #process, #contact { scroll-margin-top: 120px; }
@media (max-width: 760px) {
  .portfolio-hero { padding-top: 30px; }
  .portfolio-heading { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-grid { gap: 14px; }
  .portfolio-card-copy { padding: 18px; }
  .portfolio-card-copy h2 { font-size: 1.4rem; }
  .portfolio-card-copy p { font-size: .9rem; }
}
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } .portfolio-card-copy h2 { font-size: 1.65rem; } .system-tech { grid-template-columns: 1fr; gap: 18px; } .system-tech > img { height: 190px; } }
.hero { min-height: 640px; position: relative; display: flex; align-items: center; overflow: hidden; color: white; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 22, .88) 0%, rgba(10, 24, 22, .62) 36%, rgba(10, 24, 22, .10) 72%); }
.hero-shade-blue { background: linear-gradient(90deg, rgba(5, 31, 50, .92) 0%, rgba(6, 48, 77, .66) 40%, rgba(8, 57, 85, .16) 78%); }
.hero-shop h1 em { color: #b8e1fa; }
.hero-shop .eyebrow { color: #cde8fb; }
.hero-content, .hero-note { position: relative; z-index: 1; }
.hero-content { padding-top: 18px; padding-bottom: 48px; }
.eyebrow { margin: 0 0 18px; color: #d9edda; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dark { color: var(--brand-green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3.3rem, 7vw, 6.25rem); font-weight: 700; }
h1 em { color: #d3ebcf; font-style: normal; }
h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 4vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.3rem; }
.hero-lead { max-width: 470px; margin-bottom: 30px; color: rgba(255,255,255,.88); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { position: absolute; right: 32px; bottom: 24px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.button-primary { background: var(--brand-green); color: #ffffff; }
.button-primary:hover { background: var(--forest); }
.button-ghost { border-color: rgba(255,255,255,.58); color: white; background: rgba(255,255,255,.08); }
.button-dark { background: var(--forest); color: white; }
.button-blue { background: #78c4eb; color: #062a43; }
.button-outline { border-color: #8ca39e; background: transparent; }
.button-small { padding: 9px 14px; font-size: .78rem; }
.section-pad { padding: 110px 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--forest); color: white; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro h2 { max-width: 430px; }
.intro-copy { max-width: 520px; padding-top: 28px; color: var(--muted); font-size: 1.13rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--ink); font-size: .84rem; font-weight: 800; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.text-link:hover { color: var(--blue); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { max-width: 640px; margin-bottom: 0; }
.section-heading > p { max-width: 300px; margin-bottom: 2px; color: var(--muted); }
.section-heading-light > p { color: rgba(255,255,255,.7); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); display: flex; flex-direction: column; align-items: flex-start; }
.feature-card-blue { background: var(--brand-green); color: white; border-color: transparent; }
.feature-card p { color: var(--muted); }
.feature-card-blue p { color: rgba(255,255,255,.83); }
.feature-card .text-link { margin-top: auto; }
.feature-card-blue .text-link { color: white; border-color: #b9e1f2; }
.industry-panel { margin-top: 26px; padding: 34px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; background: var(--sage); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 120px; }
.industry-panel > div { min-width: 0; }
.industry-panel h3 { max-width: 580px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.industry-panel p:not(.eyebrow) { color: var(--muted); }
.industry-panel .text-link { flex-wrap: wrap; color: var(--forest); }
.industry-detail { align-self: center; border-left: 1px solid rgba(12,53,81,.22); padding-left: 30px; }
.industry-detail h4 { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.35; }
.industry-detail p { margin-bottom: 0; }
@media (max-width: 760px) { .industry-panel { grid-template-columns: 1fr; gap: 26px; padding: 26px; } .industry-detail { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(12,53,81,.22); } }
.icon-wrap { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 14px; background: var(--sage); color: var(--forest); font-size: 1.4rem; }
.feature-card-blue .icon-wrap { background: rgba(255,255,255,.18); color: white; }
.image-split-grid, .shop-feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 76px; align-items: center; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.image-caption { position: absolute; bottom: 18px; left: 18px; padding: 9px 13px; border-radius: 999px; background: rgba(255,253,248,.86); font-size: .75rem; font-weight: 700; }
.image-split-copy p, .shop-feature-copy p { color: var(--muted); font-size: 1.06rem; }
.image-split-copy h2, .shop-feature-copy h2 { max-width: 500px; }
.process .eyebrow { color: #b9d9cb; }
.process h2 { max-width: 600px; }
.steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.steps li { padding: 24px 22px 0 0; border-right: 1px solid rgba(255,255,255,.22); min-height: 174px; }
.steps li:not(:first-child) { padding-left: 22px; }
.steps li:last-child { border-right: 0; }
.steps li > span { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.steps h3 { margin: 21px 0 8px; }
.steps p { margin: 0; max-width: 210px; color: rgba(255,255,255,.7); font-size: .9rem; }
.contact { background: var(--sage); }
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 50px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-panel h2 { max-width: 460px; }
.contact-panel > div p:last-child { color: var(--muted); max-width: 430px; }
.demo-form, .login-form { display: grid; gap: 14px; }
.demo-form label, .login-form label { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 13px; outline: none; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,120,173,.14); }
.form-feedback, .shop-feedback { min-height: 24px; margin: 0; color: var(--blue-deep); font-size: .82rem; }
.site-footer { padding: 52px 0 22px; background: var(--forest); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 50px; padding-bottom: 42px; }
.brand-footer { margin-bottom: 16px; border-radius: 10px; }
.footer-grid p { margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: .85rem; }
.footer-grid a { display: block; width: max-content; margin: 5px 0; color: rgba(255,255,255,.78); font-size: .84rem; }
.footer-grid a:hover { color: white; }
.footer-grid .brand { width: 130px; height: 104px; }
.footer-label { color: #d5e9cc !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: .72rem; }
.shop-intro { background: var(--blue-deep); color: white; }
.shop-intro .eyebrow { color: #9fd3ee; }
.shop-intro h2 { max-width: 500px; }
.shop-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.shop-intro-grid > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 42px; }
.shop-toolbar h2 { margin-bottom: 0; }
.filter-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.filter-control select { border-radius: 12px; padding: 11px 30px 11px 12px; background: var(--paper); letter-spacing: 0; font-weight: 400; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-card { min-height: 292px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; align-items: flex-start; }
.product-tag { display: inline-block; padding: 5px 9px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin: 28px 0 10px; }
.product-card p { margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; margin-bottom: 15px; color: var(--muted); font-size: .68rem; }
.shop-feedback { margin-top: 22px; }
.shop-feature-copy { max-width: 570px; }
.shop-feature-art { min-height: 340px; position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, #dfeef6, #91c3dd); }
.shop-feature-art strong { position: absolute; right: 16%; top: 18%; color: rgba(12,53,81,.86); font-size: 15rem; line-height: 1; font-weight: 800; }
.circle { position: absolute; display: block; border: 1px solid rgba(12,53,81,.24); border-radius: 50%; }
.circle-one { width: 390px; height: 390px; left: -80px; top: 60px; }
.circle-two { width: 590px; height: 590px; left: -180px; top: -40px; }
.blue-line { position: absolute; left: 0; right: 0; top: 49%; height: 2px; background: rgba(12,53,81,.24); transform: rotate(-12deg); }
.login-main { min-height: calc(100vh - 180px); display: grid; place-items: center; position: relative; overflow: hidden; background: var(--cream); padding: 90px 20px; }
.login-card { position: relative; z-index: 1; width: min(500px, 100%); padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.login-mark { margin-bottom: 20px; }
.login-mark img { width: 132px; height: 132px; object-fit: contain; }
.login-card h1 { margin-bottom: 14px; font-size: clamp(2.5rem, 6vw, 4rem); }
.login-copy { margin-bottom: 28px; color: var(--muted); }
.back-link { display: inline-block; margin-top: 20px; color: var(--muted); font-size: .84rem; }
.login-orbit { position: absolute; border: 1px solid rgba(27,119,54,.18); border-radius: 50%; }
.orbit-a { width: 640px; height: 640px; right: -180px; top: -90px; }
.orbit-b { width: 420px; height: 420px; left: -190px; bottom: -170px; }
@media (max-width: 1000px) { .main-nav { gap: 13px; } .site-header { gap: 16px; padding-inline: 22px; } .product-grid { grid-template-columns: repeat(2,1fr); } .image-split-grid, .shop-feature-grid { gap: 40px; } }
@media (max-width: 760px) { .site-header { min-height: 68px; } .menu-toggle { display: block; order: 2; } .header-actions { order: 3; } .main-nav { display: none; position: absolute; left: 12px; right: 12px; top: 68px; padding: 12px 18px 20px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--paper); box-shadow: var(--shadow); } .main-nav.open { display: grid; } .main-nav a { padding: 11px 0; } .account-link { display: none; } .hero { min-height: 650px; } .hero-shade { background: linear-gradient(90deg, rgba(10,24,22,.92), rgba(10,24,22,.42)); } .hero-shade-blue { background: linear-gradient(90deg, rgba(5,31,50,.94), rgba(6,48,77,.5)); } .hero-note { right: 20px; bottom: 18px; } .container { width: min(100% - 34px, 1180px); } .section-pad { padding: 78px 0; } .two-column, .shop-intro-grid, .image-split-grid, .shop-feature-grid, .contact-panel { grid-template-columns: 1fr; gap: 36px; } .intro-copy { padding-top: 0; } .section-heading, .shop-toolbar { display: grid; align-items: start; gap: 18px; } .card-grid { grid-template-columns: 1fr; } .feature-card { min-height: 240px; } .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(3), .steps li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.22); } .steps li:nth-child(3) { padding-left: 0; } .contact-panel { padding: 28px; } .footer-grid { grid-template-columns: 1fr; gap: 24px; } .shop-feature-art { min-height: 260px; } .login-card { padding: 30px 24px; } }
@media (max-width: 480px) { h1 { font-size: 3rem; } .hero-actions, .hero-actions .button { width: 100%; } .hero-actions .button { text-align: center; } .product-grid { grid-template-columns: 1fr; } .filter-control { justify-content: space-between; } .footer-bottom { display: grid; gap: 5px; } }
@media (max-width: 760px) {
  .site-header { min-height: 88px; }
  .site-header .brand { width: 110px; height: 88px; }
  .site-header .brand img { width: 120px; height: 120px; top: -12px; left: -5px; }
  .main-nav { top: 100%; }
  #systems, #process, #contact, #industrial-energy { scroll-margin-top: 104px; }
}
