/* Quantum NRG
   Developed by Innovatice Web Solutions */

:root {
  --ink: #15191f;
  --text: #22272e;
  --muted: #5d6570;
  --line: #d8dce1;
  --line-dark: #2c323a;
  --bg: #ffffff;
  --bg-alt: #f2f3f5;
  --dark: #15191f;
  --amber: #f0b028;
  --graphite: #585858;
  --error: #b42318;
  --ok: #146c43;
  --glass: rgba(13, 17, 23, .5);
  --glass-line: rgba(255, 255, 255, .14);

  --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --section: 72px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 80px; --section: 104px; }
}
@media (min-width: 1200px) {
  :root { --section: 128px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 4rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.1; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.5rem); font-weight: 300; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- Links, buttons, arrow ---------- */
.arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; flex: none; transition: transform .45s var(--ease); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(5px); }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 26px;
  font: 500 1rem/1.2 var(--font);
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--amber); color: var(--ink); }
.btn--light { color: var(--ink); background: #fff; }
.btn--light:hover { background: var(--amber); }
.btn[disabled] { opacity: .6; cursor: default; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; }
.link--light { color: #fff; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .5s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: block; }
.brand svg { width: 118px; height: auto; }
.brand .logo-word { fill: var(--graphite); transition: fill .45s var(--ease); }
@media (min-width: 768px) { .brand svg { width: 136px; } }

.progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* Transparent over hero, frosted after scroll */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #fff; }
.has-hero .site-header .logo-word { fill: #fff; }
.has-hero .site-header.is-scrolled,
.has-hero .site-header.is-open {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: rgba(21, 25, 31, .08);
  color: var(--ink);
}
.has-hero .site-header.is-scrolled .logo-word,
.has-hero .site-header.is-open .logo-word { fill: var(--graphite); }
.site-header.is-hidden { transform: translateY(-100%); }

.nav-toggle {
  padding: 8px 0;
  font: 500 .9375rem var(--font);
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 2px solid currentColor;
  cursor: pointer;
}

/* Mobile panel */
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px var(--gutter) 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.site-nav__list { list-style: none; padding: 0; }
.site-nav__list a { display: block; padding: 14px 0; font-size: 1.25rem; font-weight: 300; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav__list a[aria-current="page"] { font-weight: 500; }
.site-nav.is-open li { animation: rise .6s var(--ease) both; }
.site-nav.is-open li:nth-child(2) { animation-delay: .05s; }
.site-nav.is-open li:nth-child(3) { animation-delay: .1s; }
.site-nav.is-open li:nth-child(4) { animation-delay: .15s; }
.lang { margin: 20px 0 0; font-size: .9375rem; opacity: .75; }
.lang a { text-decoration: none; }
.lang a[aria-current="true"] { font-weight: 600; }
.lang a:hover { text-decoration: underline; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    position: static; display: flex; align-items: center; gap: 40px;
    padding: 0; color: inherit; background: none; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    visibility: visible; opacity: 1; transform: none;
  }
  .site-nav__list { display: flex; gap: 36px; }
  .site-nav__list a {
    position: relative; display: flex; align-items: center; height: var(--header-h); padding: 0;
    font-size: .9375rem; font-weight: 500; border: 0;
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--amber); transform: scaleX(0); transform-origin: right;
    transition: transform .5s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .site-nav__list a[aria-current="page"] { font-weight: 500; }
  .lang { margin: 0; padding-left: 32px; border-left: 1px solid rgba(127, 127, 127, .35); }
}

/* ---------- Hero media (shared) ---------- */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 14s var(--ease) both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }

.load > * { animation: rise 1.1s var(--ease) both; }
.load > :nth-child(2) { animation-delay: .15s; }
.load > :nth-child(3) { animation-delay: .3s; }
.load > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh; background: var(--dark); color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 15, 20, .55) 0%, rgba(12, 15, 20, .2) 35%, rgba(12, 15, 20, .7) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 64px); padding-bottom: 48px; }
.hero h1 { max-width: 14em; color: #fff; }
.hero p { max-width: 38em; margin-top: 24px; font-size: 1.0625rem; color: #e3e6ea; }
.hero .actions { margin-top: 36px; }
@media (min-width: 768px) {
  .hero { min-height: min(100svh, 900px); }
  .hero__content { padding-bottom: 72px; }
  .hero p { font-size: 1.25rem; }
}

/* Key facts: glass strip over the hero */
.facts {
  position: relative; z-index: 1;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--glass-line);
  animation: rise 1.2s .6s var(--ease) both;
}
.facts__list { display: grid; grid-template-columns: 1fr 1fr; }
.facts__list > div { padding: 20px 16px 20px 0; }
.facts__list > div:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
.facts dt { font-weight: 600; color: #fff; }
.facts dd { font-size: .875rem; color: #c3c9d1; }
@media (min-width: 900px) {
  .facts__list { grid-template-columns: repeat(4, 1fr); }
  .facts__list > div, .facts__list > div:nth-child(n+3) { padding: 28px 24px; border-top: 0; border-left: 1px solid var(--glass-line); }
  .facts__list > div:first-child { padding-left: 0; border-left: 0; }
  .facts dd { font-size: .9375rem; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 15, 20, .78) 0%, rgba(12, 15, 20, .45) 100%);
}
.page-hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 72px); padding-bottom: 64px; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 40em; margin-top: 20px; color: #e3e6ea; }
@media (min-width: 768px) { .page-hero__content { padding-top: calc(var(--header-h) + 120px); padding-bottom: 96px; } }

.breadcrumb { display: flex; gap: 8px; margin-bottom: 24px; padding: 0; list-style: none; font-size: .875rem; color: #c9ced5; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.js .r { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .r.in { opacity: 1; transform: none; }
.js [data-d="1"] { transition-delay: .1s; }
.js [data-d="2"] { transition-delay: .2s; }
.js [data-d="3"] { transition-delay: .3s; }

.media { overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* clip the image, not the observed wrapper, so IntersectionObserver still sees it */
.js .r-img img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); }
.js .r-img.in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Section heading with drawn rule */
.section-head { position: relative; display: grid; gap: 16px; margin-bottom: 48px; padding-top: 28px; }
.section-head::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink);
  transform-origin: left; transition: transform 1.4s var(--ease);
}
.js .section-head::before { transform: scaleX(0); }
.js .section-head.in::before { transform: scaleX(1); }
.section-head p { max-width: 40em; color: var(--muted); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 7fr; gap: 40px; margin-bottom: 64px; }
}

/* ---------- Split ---------- */
.split { display: grid; gap: 48px; }
.split__text h2 { margin-bottom: 28px; }
.split__text p { color: var(--muted); }
.split__text .link { margin-top: 8px; }
.split__media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .split { grid-template-columns: 6fr 5fr; gap: 96px; align-items: center; }
  .split__media { aspect-ratio: 4 / 3.6; }
}

/* ---------- Feature grid ---------- */
.features { display: grid; gap: 48px 32px; padding: 0; list-style: none; }
.feature a { display: block; text-decoration: none; }
.feature .media { aspect-ratio: 3 / 2; }
.feature .media img { transition: transform 1.1s var(--ease); }
.feature a:hover .media img { transform: scale(1.06); }
.feature h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 8px; }
.feature h3 span {
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .55s var(--ease);
}
.feature a:hover h3 span { background-size: 100% 2px; }
.feature h3 .arrow { color: var(--muted); }
.feature a:hover h3 .arrow { color: var(--ink); }
.feature p { font-size: .9375rem; color: var(--muted); }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Definition columns ---------- */
.columns-list { display: grid; gap: 0 32px; }
.columns-list > div { padding: 24px 0; border-top: 1px solid var(--line); }
.columns-list dt { margin-bottom: 6px; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.columns-list dd { color: var(--muted); }
@media (min-width: 600px) { .columns-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .columns-list { grid-template-columns: repeat(4, 1fr); }
  .columns-list--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Full-bleed band with glass panel ---------- */
.band, .cta { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--dark); color: #d5d9de; }
.band { min-height: 560px; padding: 96px 0; }
.band__media, .cta__media { position: absolute; inset: -12% 0; }
.band__media img, .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(12, 15, 20, .2); pointer-events: none; }
.band__inner, .cta__inner { position: relative; z-index: 1; }
.band__panel {
  max-width: 560px; padding: 32px 28px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-line);
}
.band__panel h2 { margin-bottom: 20px; color: #fff; }
.band__panel .link { margin-top: 8px; }
@media (min-width: 900px) {
  .band { min-height: 680px; }
  .band__panel { margin-left: auto; padding: 56px; }
}

/* ---------- CTA ---------- */
.cta { min-height: 460px; padding: 96px 0; }
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 15, 20, .82) 0%, rgba(12, 15, 20, .35) 100%); }
.cta__panel { max-width: 640px; }
.cta h2 { margin-bottom: 20px; color: #fff; }
.cta p { color: #d5d9de; }
.cta .btn { margin-top: 16px; }

/* Parallax (scroll-driven, progressive enhancement) */
@supports (animation-timeline: view()) {
  .parallax img { animation: parallax linear both; animation-timeline: view(); }
  @keyframes parallax { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px 0 36px; counter-increment: step; }
.steps li::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink);
  transform-origin: left; transition: transform 1.2s .2s var(--ease);
}
.js .steps li::after { transform: scaleX(0); }
.js .steps li.in::after { transform: scaleX(1); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; font-size: .875rem; color: var(--muted); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services ---------- */
.services-layout { display: grid; gap: 40px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; font-size: .9375rem; }
.toc a { color: var(--muted); text-decoration: none; transition: color .3s, box-shadow .4s var(--ease), padding .4s var(--ease); }
.toc a:hover, .toc a[aria-current="true"] { color: var(--ink); }
@media (min-width: 992px) {
  .services-layout { grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 40px); }
  .toc ul { display: block; border-left: 1px solid var(--line); }
  .toc li a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; }
  .toc a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: 24px; font-weight: 500; }
}
.service { display: grid; gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); }
.service:first-child { padding-top: 0; border-top: 0; }
.service__media { aspect-ratio: 3 / 2; }
.service h2 { margin-bottom: 12px; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.875rem); }
.service p { color: var(--muted); }
.service ul { margin-top: 16px; padding-left: 1.1em; }
.service li { padding: 3px 0; }
.service li::marker { color: var(--amber); }
@media (min-width: 768px) {
  .service { grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 56px; }
.contact h2 { margin-bottom: 16px; }
.contact__aside > p { color: var(--muted); }
.info { margin-top: 36px; }
.info > div { padding: 16px 0; border-top: 1px solid var(--line); }
.info dt { font-weight: 600; color: var(--ink); }
.info dd { color: var(--muted); }
@media (min-width: 992px) {
  .contact { grid-template-columns: 4fr 7fr; gap: 96px; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

.form-note { font-size: .9375rem; color: var(--muted); }
.form-grid { display: grid; gap: 24px; margin: 32px 0; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label:not(.check), .field legend { padding: 0; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.req { margin-left: 2px; color: var(--error); }
.opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: 400 1rem/1.5 var(--font);
  color: var(--text);
  background: var(--bg-alt);
  border: 0;
  border-bottom: 1px solid #a9b0b9;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.input:hover { border-bottom-color: var(--ink); }
.input:focus { outline: none; background: #fff; border-bottom-color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber), 0 0 0 1px var(--line); }
textarea.input { resize: vertical; min-height: 170px; }
.checks { display: grid; gap: 12px 24px; margin-top: 12px; }
@media (min-width: 600px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; font-weight: 400; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); cursor: pointer; }
.field.has-error .input { border-bottom-color: var(--error); box-shadow: inset 0 -1px 0 var(--error); }
.field__error { font-size: .875rem; color: var(--error); animation: rise .4s var(--ease) both; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin-top: 24px; padding: 14px 18px; border-left: 3px solid; font-size: .9375rem; }
.form-status.is-success { display: block; color: var(--ok); background: #eef6f1; animation: rise .5s var(--ease) both; }
.form-status.is-error { display: block; color: var(--error); background: #fbefee; animation: rise .5s var(--ease) both; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a9b0b9; font-size: .9375rem; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand .brand svg { width: 136px; }
.footer-brand .logo-word { fill: #fff; }
.footer-brand p { margin-top: 16px; max-width: 22em; }
.footer-col h2 { margin-bottom: 16px; font-size: .9375rem; font-weight: 600; color: #fff; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 8px; padding: 0; list-style: none; }
@media (min-width: 600px) { .footer-col--wide ul { display: block; columns: 2; column-gap: 32px; } .footer-col--wide li { margin-bottom: 8px; break-inside: avoid; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: 4fr 2fr 5fr; } }
.footer-bottom { display: grid; gap: 8px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
@media (min-width: 768px) { .footer-bottom { grid-template-columns: 1fr auto; } }

/* ---------- 404 ---------- */
.notfound { max-width: 640px; }
.notfound__code { font-size: 1rem; font-weight: 600; color: var(--muted); }
.notfound h1 { margin-bottom: 16px; }
.notfound .actions { margin-top: 32px; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .r, .js .r-img img { opacity: 1; transform: none; clip-path: none; }
  .js .section-head::before, .js .steps li::after { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta, .hero-media, .band__media { display: none; }
  .hero, .page-hero, .band { color: #000; background: none; min-height: 0; }
  .hero h1, .page-hero h1, .hero p, .page-hero p, .band__panel h2 { color: #000; }
}
