@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/BarlowSemiCondensed-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --body: "Manrope", Arial, sans-serif;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --paper: #fff;
  --white: #fff;
  --ink: #222323;
  --muted: #58585d;
  --line: #dedde2;
  --emerald: #155d53;
  --petrol: #206d82;
  --blue: #405e9d;
  --purple: #654486;
  --plum: #974b7e;
  --ruby: #b54b51;
  --gold: #a18029;
  --deep: #164d44;
  --vms-navy: #162b3a;
  --gutter: clamp(1.25rem, 4.3vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.75rem; }
body { margin: 0; font: 400 1rem/1.55 var(--body); color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
[hidden] { display: none !important; }
::selection { background: #dcc7ef; color: #322247; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 90rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 110; position: fixed; top: 1rem; left: 1rem; background: white; padding: .75rem 1rem; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e6e5e7; }
.nav-shell { min-height: clamp(4.65rem, 6vw, 6rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.header .brand { width: clamp(13.2rem, 19.44vw, 18.3rem); flex: none; padding-block: .65rem; }
.brand img { display: block; width: 100%; }
.navigation { display: flex; align-items: center; gap: clamp(1.35rem,2.5vw,3rem); }
.navigation a { text-decoration: none; font-size: .91rem; font-weight: 600; padding: .75rem 0; }
.navigation a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .35em; }
.navigation .nav-contact { border: 1px solid var(--plum); background-color: var(--plum); color: #fff; padding: .69rem 1.18rem; border-radius: 2rem; }
.navigation .nav-contact:hover { background-color: var(--purple); border-color: var(--purple); color: #fff; text-decoration: none; }
.menu-toggle { display: none; }
.eyebrow { font: 600 .78rem/1.45 var(--body); text-transform: uppercase; letter-spacing: .105em; }
.hero { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; column-gap: clamp(2rem,4.8vw,5.25rem); padding-block: clamp(2.4rem,4.7vw,5rem) clamp(2rem,3.65vw,4rem); }
.hero-copy { min-width: 0; padding-bottom: 1.1rem; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 clamp(1.2rem,1.9vw,2rem); color: #423e45; }
.hero-copy .eyebrow::before { content: ""; width: 1.65rem; height: 2px; background: var(--plum); flex: none; }
.hero h1 { font-size: clamp(3.55rem,7.35vw,7.55rem); line-height: .93; letter-spacing: -.049em; margin: 0; }
.headline-row { display: block; width: fit-content; position: relative; }
.headline-accent { color: var(--purple); }
.spark { display: inline-grid; position: absolute; bottom: 48%; left: calc(100% + .12em); place-items: center; width: .48em; height: .48em; color: var(--ruby); transform: rotate(-12deg); }
.spark b { display: block; position: absolute; width: .11em; height: .49em; border-radius: 75%; background: currentColor; }
.spark b:nth-child(2) { transform: rotate(45deg); }
.spark b:nth-child(3) { transform: rotate(90deg); }
.spark b:nth-child(4) { transform: rotate(135deg); }
.hero-intro { max-width: 42ch; font-size: clamp(1rem,1.18vw,1.19rem); line-height: 1.56; color: #514f54; margin: clamp(1.3rem,2.3vw,2.35rem) 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.45rem; margin-top: clamp(1.35rem,2.1vw,2.3rem); }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; padding: .92rem 1.45rem; border-radius: 5rem; text-decoration: none; font: 600 .93rem/1.32 var(--body); cursor: pointer; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: var(--purple); }
.text-link { display: inline-flex; width: fit-content; padding-block: .55rem; color: var(--ink); font-size: .94rem; font-weight: 600; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.text-link:hover { color: var(--purple); }
.art-board { min-width: 0; margin: 0; }
.hero-art { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1.29; border-radius: clamp(.95rem,1.6vw,1.8rem) clamp(2.8rem,5.3vw,6rem) clamp(.95rem,1.6vw,1.8rem) clamp(.95rem,1.6vw,1.8rem); isolation: isolate; }
.hero-art canvas,
.hero-art:not([data-rendered])::before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(-6%);
}
.hero-art:not([data-rendered])::before {
  content: "";
  background: url("/assets/ziva-skladacka.webp?v=transparent") center / contain no-repeat;
  pointer-events: none;
}
.hero-art canvas { touch-action: pan-y; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-top: .65rem; font: 600 .78rem/1.5 var(--body); color: #5b565e; }
.swatches { display: inline-flex; gap: .21rem; flex-shrink: 0; }
.swatches i { width: .71rem; height: .62rem; background: var(--emerald); border-radius: 1rem; transform: skewX(-14deg); }
.swatches i:nth-child(2) { background: var(--petrol); }
.swatches i:nth-child(3) { background: var(--blue); }
.swatches i:nth-child(4) { background: var(--purple); }
.swatches i:nth-child(5) { background: var(--plum); }
.swatches i:nth-child(6) { background: var(--ruby); }
.swatches i:nth-child(7) { background: var(--gold); }
@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .spark { transition: transform 550ms cubic-bezier(.19,.65,.32,1); }
  .hero h1:hover .spark { transform: rotate(64deg); }
  .button, .nav-contact { transition: background-color 180ms, color 180ms, border-color 180ms; }
}
.brand-family { border-block: 1px solid var(--line); min-height: 6.1rem; display: grid; grid-template-columns: 1.15fr 1.05fr 1fr 1fr 1.05fr; gap: 1rem; align-items: center; }
.brand-family > p { margin: 0; line-height: 1.4; font-size: .79rem; letter-spacing: .055em; font-weight: 600; }
.brand-family a { display: inline-flex; justify-content: center; align-items: center; justify-self: center; min-height: 3rem; max-width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .brand-family a:hover { opacity: .85; }
}
.brand-family img { width: auto; max-width: 100%; max-height: 2.1rem; display: block; object-fit: contain; }
/* Center the lettering optically: the dots in viridisio and the g in EnergoFix
   put the visual centers at different heights inside their image boxes. */
.brand-family .viridisio-logo { width: min(7.6rem,100%); transform: translateY(-10%); }
.brand-family .energy-logo { width: min(9.2rem,100%); max-height: none; transform: translateY(1%); }
.brand-family .vms-logo {
  width: 10rem;
  max-height: none;
  padding: .55rem .75rem;
  border-radius: 2rem;
  background: var(--vms-navy);
}
.family-note { justify-self: end; font-size: .8rem; color: var(--muted); }
@media (min-width: 761px) and (max-width: 1020px) {
  .hero { column-gap: 1.65rem; }
  .hero h1 { font-size: clamp(3.5rem,7.4vw,4.67rem); }
  .hero-art { aspect-ratio: 1.20; }
  .hero-actions { gap: .4rem .85rem; }
  .navigation { gap: clamp(.75rem,1.65vw,1.2rem); }
  .nav-shell { gap: .85rem; }
  .brand-family { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
  .family-note { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .nav-shell { min-height: 4.45rem; }
  .header .brand { width: clamp(11.1rem,46.8vw,14.4rem); }
  .menu-toggle { width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); padding: 0; display: grid; align-content: center; justify-items: center; gap: 5px; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1.5px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .navigation { display: none; }
  .navigation.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: white; padding: .8rem var(--gutter) 1.5rem; gap: 0; box-shadow: 0 15px 22px #24212616; border-block: 1px solid var(--line); }
  .navigation a { padding-block: .9rem; }
  .navigation .nav-contact { align-self: start; margin-top: .5rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 1.85rem; padding-block: clamp(1.9rem,6.25vw,3.15rem) 1.45rem; }
  .hero-copy { padding: 0; }
  .hero-copy .eyebrow { font-size: .76rem; margin: 0 0 1.15rem; }
  .hero h1 { font-size: clamp(3.65rem,13.6vw,6rem); line-height: .96; }
  .hero-intro { margin: 1.05rem 0 0; }
  .hero-actions { margin-top: 1rem; gap: .45rem 1rem; }
  .hero-actions .button { padding-inline: 1.15rem; }
  .hero-art { aspect-ratio: 1.38; }
  .hero-caption { margin-top: .5rem; }
  .brand-family {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 1rem;
    padding-block: 1.5rem;
  }
  .brand-family > p { text-align: center; }
  .brand-family > p br { display: none; }
  .brand-family a { width: min(11rem, 100%); min-height: 2.75rem; }
  .brand-family .viridisio-logo { width: min(6.4rem,100%); }
  .brand-family .energy-logo { width: min(7.75rem,100%); }
  .brand-family .vms-logo { width: 9rem; padding: .45rem .45rem; }
  .family-note { display: none; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 15vw; }
  .hero-actions { gap: .45rem .75rem; }
  .hero-actions a { font-size: .87rem; }
  .swatches { gap: .15rem; }
  .swatches i { width: .56rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* The seven outlines reference the same vector artwork used throughout the site. */
.motion-logo { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
[data-motion-brand] { min-height: 44px; }
.identity-home[data-motion-brand] { display: flex; align-items: center; }
.motion-logo > g { transform-box: fill-box; transform-origin: 50% 100%; --order: 0; --tilt: -5deg; }
.motion-logo > g:nth-child(even) { --tilt: 5deg; }
.motion-logo > g:nth-child(2) { --order: 1; }
.motion-logo > g:nth-child(3) { --order: 2; }
.motion-logo > g:nth-child(4) { --order: 3; }
.motion-logo > g:nth-child(5) { --order: 4; }
.motion-logo > g:nth-child(6) { --order: 5; }
.motion-logo > g:nth-child(7) { --order: 6; }

@media (prefers-reduced-motion: no-preference) {
  .brand-arrival .motion-logo > g {
    animation: letter-arrival 1.35s linear calc(var(--order) * 120ms) both;
  }
  .brand-wave .motion-logo > g {
    animation: letter-wave 620ms ease-in-out calc(var(--order) * 95ms) both;
  }
}
@keyframes letter-arrival {
  0% { transform: translateY(-220%) rotate(var(--tilt)); animation-timing-function: cubic-bezier(.55,.02,.92,.55); }
  33% { transform: translateY(0); }
  36% { transform: scale(1.045,.90); animation-timing-function: ease-out; }
  48% { transform: translateY(-63%); animation-timing-function: ease-in; }
  61% { transform: translateY(0); }
  64% { transform: scale(1.025,.94); animation-timing-function: ease-out; }
  73% { transform: translateY(-25%); animation-timing-function: ease-in; }
  82% { transform: translateY(0); }
  84% { transform: scale(1.012,.97); animation-timing-function: ease-out; }
  90% { transform: translateY(-8%); animation-timing-function: ease-in; }
  97%, 100% { transform: none; }
}
@keyframes letter-wave {
  0%, 100% { transform: none; }
  30% { transform: translateY(-24%) rotate(-2deg); }
  50% { transform: translateY(-40%); }
  70% { transform: translateY(-24%) rotate(2deg); }
}
