/* COSMO HEALTHPRIME GLOBAL · Lumera catalogue
   Palette sampled from the supplied logos: royal at the top of each mark,
   cobalt through the middle, navy at the base. */

:root {
  --white: #FFFFFF;
  --ice: #F3F8FF;
  --ice-deep: #E5EEFB;
  --line: #D6E2F3;
  --line-strong: #B4C5E0;
  --royal: #0E6BF5;
  --cobalt: #0340BC;
  --navy: #07156B;
  --ink: #0B1433;
  --slate: #515D7C;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D8F6;
  --error: #B42318;
  --error-bg: #FDF1EF;
  --grad: linear-gradient(180deg, #0E6BF5 0%, #0340BC 52%, #07156B 100%);
  --grad-x: linear-gradient(100deg, #0E6BF5 0%, #0340BC 50%, #07156B 100%);

  --font-display: "Marcellus", "Optima", "Candara", "Palatino Linotype", Georgia, serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --fs-h2: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.2vw, 5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --header-h: 76px;
  --section: clamp(88px, 12vw, 184px);

  --ease: cubic-bezier(.19, .8, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--white);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.is-locked,
html.is-locked body { overflow: hidden; }

img, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 600;
  text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.label {
  font: 600 var(--fs-label)/1.3 var(--font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--navy);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 600 .8125rem/1 var(--font-text);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .3s var(--ease),
    translate .6s var(--ease),
    background-position .9s var(--ease),
    background-color .5s var(--ease),
    color .5s var(--ease),
    border-color .5s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn__arrow {
  width: 20px;
  height: 10px;
  flex: none;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(5px); }

.btn--primary {
  overflow: hidden;
  isolation: isolate;
  color: var(--on-navy);
  background-color: var(--cobalt);
  background-image: var(--grad-x);
  background-size: 220% 100%;
  background-position: 0% 0;
  background-origin: border-box;
  background-repeat: no-repeat;
}
.btn--primary:hover,
.btn--primary:focus-visible { background-position: 100% 0; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease);
}
.btn--primary:hover::after,
.btn--primary:focus-visible::after { transform: translateX(120%); }

.btn--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--navy); color: var(--on-navy); }

.btn--small { min-height: 44px; padding: 0 18px; font-size: .75rem; gap: 10px; }
.btn--block { width: 100%; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.is-loading { cursor: progress; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: 600 .75rem/1 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color .4s;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .7s var(--ease);
}
.text-link:hover,
.text-link:focus-visible { color: var(--royal); }
.text-link:hover::after,
.text-link:focus-visible::after { transform: scaleX(0); }
.text-link--quiet::after { transform: scaleX(0); transform-origin: left; }
.text-link--quiet:hover::after,
.text-link--quiet:focus-visible::after { transform: scaleX(1); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--ease), transform .8s var(--ease);
}
.site-header.is-hidden { transform: translateY(-101%); }
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-x);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.site-header.is-scrolled,
.site-header.is-menu-open { border-bottom-color: var(--line); }

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-inline: var(--gutter);
}

.menu-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: 600 var(--fs-label)/1 var(--font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__icon {
  position: relative;
  width: 24px;
  height: 10px;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .6s var(--ease), top .6s var(--ease), width .6s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: calc(100% - 1.5px); width: 70%; }
.menu-toggle:hover .menu-toggle__icon::after { width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: calc(50% - .75px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: calc(50% - .75px); width: 100%; transform: rotate(-45deg); }

.brand { justify-self: center; display: block; line-height: 0; }
.brand img { width: auto; height: 46px; }

.header-inquire {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font: 600 var(--fs-label)/1 var(--font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .5s var(--ease), color .5s var(--ease), translate .6s var(--ease);
}
.header-inquire:hover,
.header-inquire:focus-visible { background: var(--navy); color: var(--on-navy); }

.motion .site-header__inner > * { animation: fade-in 1.4s var(--ease) both; }
.motion .site-header__inner > :nth-child(2) { animation-delay: .1s; }
.motion .site-header__inner > :nth-child(3) { animation-delay: .2s; }

@media (max-width: 767px) {
  .brand img { height: 36px; }
  .menu-toggle { gap: 10px; }
  .header-inquire { padding: 0 12px; }
}
@media (max-width: 359px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Menu overlay ---------- */

.menu {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 8vh, 96px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--ice);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }

.menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2px, 1.2vh, 14px);
}
.menu__link {
  display: inline-block;
  overflow: hidden;
  padding-block: .2em .14em;
  margin-block: -.2em -.14em;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.6rem + 6vw, 7rem);
  line-height: 1.02;
  color: var(--navy);
  text-decoration: none;
}
.menu__link span {
  display: inline-block;
  transform: translateY(140%);
  transition: transform 1s var(--ease), color .4s;
  transition-delay: calc(var(--i) * 80ms + 280ms), 0s;
}
.menu.is-open .menu__link span { transform: none; }
.menu__link:hover span,
.menu__link:focus-visible span { color: var(--royal); }

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: var(--slate);
  font-size: var(--fs-small);
  opacity: 0;
  transition: opacity .8s var(--ease) .5s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot p { display: grid; gap: 6px; max-width: 46ch; }
.menu__foot a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 1rem; }

/* ---------- Looping videos (hero + film) ---------- */

.loop-video__video,
.loop-video__still,
.loop-video__still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.loop-video__still { transition: opacity .9s linear; }
.loop-video__still.is-hidden { opacity: 0; }

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(7, 21, 107, .3);
  color: #fff;
  cursor: pointer;
  opacity: .8;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .3s, background-color .3s;
}
.video-toggle:hover,
.video-toggle:focus-visible { opacity: 1; background: rgba(7, 21, 107, .55); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 1240px;
}
.hero__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  background: var(--ice-deep);
}
.motion .hero__media > .loop-video__video,
.motion .hero__media > .loop-video__still img { animation: settle 2.8s var(--ease) both; }

.hero__band {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  padding-block: clamp(22px, 3.4vh, 44px);
  max-width: none;
}
.hero__copy { display: grid; gap: 16px; justify-items: start; }
.hero__brand { width: auto; height: clamp(13px, .7rem + .4vw, 18px); }
.hero__title { font-size: var(--fs-h1); line-height: 1; }
.hero__title .line {
  display: inline-block;
  overflow: hidden;
  /* Room for ascenders and descenders; negative margins keep the layout identical */
  padding: .24em 0 .16em;
  margin: -.24em 0 -.16em;
  vertical-align: top;
}
.hero__title .line > span { display: inline-block; }

.motion .hero__title .line > span { animation: rise 1.5s var(--ease) .15s both; }
.motion .hero__title .line + .line > span { animation-delay: .27s; }
.motion .hero__brand,
.motion .hero__cta { animation: fade-up 1.3s var(--ease) .45s both; }

@keyframes rise { from { transform: translateY(140%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

@media (max-width: 767px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__media { flex: none; height: max(320px, calc(100svh - var(--header-h) - 250px)); max-height: 620px; }
  .hero__media .loop-video__video,
  .hero__media .loop-video__still img { object-position: 57% 50%; }
  .hero__band { align-items: stretch; flex-direction: column; }
  .hero__cta { align-self: flex-start; }
}

/* ---------- Reveals ---------- */

.mask {
  position: relative;
  overflow: hidden;
  background: var(--ice-deep);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.8s var(--ease);
}
.mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 2.4s var(--ease);
}
.mask picture { height: 100%; }
.mask__inner { position: absolute; inset: 0; }
.depth .mask[data-depth] .mask__inner {
  inset: -4% 0;
  translate: 0 var(--py, 0px);
  will-change: translate;
}
.mask.is-pending { clip-path: inset(24% 6% 0 6%); }
.mask.is-pending img { scale: 1.18; }

/* The hidden state is applied by script, so it must take effect instantly:
   only the reveal back to the resting state animates. */
.is-pending,
.is-pending *,
.is-pending::before,
.is-pending::after {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

[data-reveal="wipe"] { clip-path: inset(-10% 0 -10% 0); transition: clip-path 1.1s var(--ease-io); }
[data-reveal="wipe"].is-pending { clip-path: inset(-10% 100% -10% 0); }

[data-reveal=""],
[data-reveal="fade"] { transition: opacity 1.2s var(--ease), translate 1.4s var(--ease); }
[data-reveal=""].is-pending,
[data-reveal="fade"].is-pending { opacity: 0; translate: 0 32px; }

[data-reveal="stagger"] > * { transition: opacity 1.1s var(--ease), translate 1.3s var(--ease); }
[data-reveal="stagger"] > :nth-child(2) { transition-delay: .1s; }
[data-reveal="stagger"] > :nth-child(3) { transition-delay: .2s; }
[data-reveal="stagger"].is-pending > * { opacity: 0; translate: 0 24px; }

/* ---------- Collection ---------- */

.brand-intro {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding-top: var(--section);
  text-align: center;
}
.brand-intro__mark { width: min(640px, 78vw); }
.brand-intro__mark img { width: 100%; height: auto; }
.brand-intro__line { color: var(--slate); font-size: var(--fs-lead); }

.collection__figure {
  margin: clamp(48px, 6vw, 96px) auto 0;
  max-width: 1640px;
  padding-inline: var(--gutter);
}
.collection__mask { aspect-ratio: 1672 / 941; }

/* ---------- Features ---------- */

.features { padding-block: calc(var(--section) * .55) calc(var(--section) * .6); }
.feature { padding-block: clamp(36px, 5vw, 80px); }

.feature__media { aspect-ratio: 16 / 9; }
.feature__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-top: clamp(20px, 2.4vw, 36px);
}
.feature--flip .feature__caption { flex-direction: row-reverse; }
.feature__name { display: grid; gap: 10px; }
.feature--flip .feature__name { text-align: right; justify-items: end; }
.feature__kicker {
  font: 600 var(--fs-label)/1.2 var(--font-text);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.feature__title { font-size: var(--fs-h3); }
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  color: var(--slate);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--swatch, transparent);
  box-shadow: inset 0 0 0 1px rgba(11, 20, 51, .12);
}
.swatch--none::before { display: none; }
.meta-sep { width: 1px; height: 11px; background: var(--line-strong); }

@media (max-width: 767px) {
  .feature__media { aspect-ratio: 4 / 3; }
  .feature--flip .feature__caption { flex-direction: row; }
  .feature--flip .feature__name { text-align: left; justify-items: start; }
}

/* ---------- Catalogue ---------- */

.catalogue { background: var(--ice); padding-block: var(--section); overflow: hidden; }

.cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.cat-head__title { font-size: var(--fs-h2); }
.cat-head__note {
  font: 600 var(--fs-label)/1.3 var(--font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate);
}

.cat-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 68vw, 300px);
  gap: clamp(14px, 1.6vw, 24px);
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cat-rail:focus-visible { outline-offset: -2px; }
@media (min-width: 1100px) {
  .cat-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: var(--maxw);
    margin-inline: auto;
    overflow: visible;
  }
}

.card {
  display: grid;
  align-content: start;
  gap: 16px;
  scroll-snap-align: start;
  transition: opacity 1s var(--ease), translate 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.card.is-pending { opacity: 0; translate: 0 40px; }

.card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #E3ECF9;
  cursor: pointer;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.image-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--slate);
  font: 600 .625rem/1 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.card__body { display: grid; gap: 6px; }
.card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  line-height: 1.15;
  color: var(--navy);
}
.card__actions { display: flex; gap: 20px; margin-top: 2px; }

/* ---------- About ---------- */

.about { padding-top: var(--section); }
.about__text { display: grid; justify-items: center; }
.about__statement {
  max-width: 22ch;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
  line-height: 1.14;
  text-align: center;
}
.about__film { margin: clamp(48px, 6vw, 96px) 0 0; }
.about__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 88svh;
  width: 100%;
  overflow: hidden;
  background: var(--ice-deep);
}
@media (max-width: 767px) {
  .about__frame { aspect-ratio: 4 / 3; }
}

/* ---------- Scroll-linked motion (where supported) ---------- */

@supports (animation-timeline: view()) {
  .motion .collection__mask,
  .motion .about__frame {
    animation: expand linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 42%;
  }
  .motion .feature__media img {
    animation: drift linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .motion .brand-intro__mark img {
    animation: breathe linear both;
    animation-timeline: view();
    animation-range: cover 10% cover 90%;
  }
}
@keyframes expand { from { clip-path: inset(0 9% 0 9%); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes breathe { from { transform: scale(.94); } to { transform: scale(1.04); } }
@media (max-width: 767px) {
  @keyframes expand { from { clip-path: inset(0 5% 0 5%); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- Inquire ---------- */

.inquire {
  padding-block: var(--section);
  background: linear-gradient(180deg, #0B2A9A 0%, var(--navy) 70%);
  color: var(--on-navy);
}
.inquire__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.inquire__intro { display: grid; gap: 20px; align-content: start; }
.inquire__title { font-size: var(--fs-h2); color: var(--on-navy); }
.inquire__lead { color: var(--on-navy-soft); font-size: var(--fs-lead); max-width: 34ch; }

.contact-list { display: grid; gap: 26px; margin: 20px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.contact-list div { display: grid; gap: 6px; }
.contact-list dt { font: 600 var(--fs-label)/1.3 var(--font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy-soft); }
.contact-list dd { margin: 0; max-width: 40ch; line-height: 1.55; }
.contact-list__phone {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  color: var(--on-navy);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .7s var(--ease);
}
.contact-list__phone:hover,
.contact-list__phone:focus-visible { background-size: 100% 1px; }

.inquiry-box {
  scroll-margin-top: 20px; /* html scroll-padding already clears the header */
  background: var(--white);
  color: var(--ink);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 20, .6);
}
.inquiry-form { display: grid; gap: 24px; }
.inquiry-form__title { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); outline: none; }
.inquiry-form__fields { display: grid; gap: 22px; }

.form-notice {
  padding: 14px 16px;
  border-left: 3px solid var(--cobalt);
  background: var(--ice);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.form-notice a { color: var(--cobalt); font-weight: 600; }

.field { display: grid; gap: 8px; min-width: 0; }
.field label,
.field-group legend {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
}
.field-group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.field-group legend { padding: 0; margin-bottom: 2px; }
.field-group__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group .field label { font-weight: 500; color: var(--slate); font-size: var(--fs-small); }
.field__hint { color: var(--slate); font-size: var(--fs-small); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2307156B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--navy); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(14, 107, 245, .18);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error {
  display: flex;
  gap: 8px;
  color: var(--error);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--error); color: #fff; font-size: .6875rem; font-weight: 700; }

.field.is-highlighted select { animation: highlight 1.6s var(--ease); }
@keyframes highlight {
  0% { box-shadow: 0 0 0 0 rgba(14, 107, 245, .5); border-color: var(--royal); }
  100% { box-shadow: 0 0 0 10px rgba(14, 107, 245, 0); }
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.form-status.is-error { background: var(--error-bg); color: var(--error); border-left: 3px solid var(--error); }
.form-status.is-info { background: var(--ice); color: var(--ink); border-left: 3px solid var(--cobalt); }
.form-status a { color: inherit; font-weight: 600; }
.form-status .btn { justify-self: start; }

.form-success { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-success__title { font-size: var(--fs-h3); }

@media (max-width: 899px) {
  .inquire__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 559px) {
  .field-group__row { grid-template-columns: minmax(0, 1fr); }
  /* Full-bleed sheet on phones so long product names fit in the select */
  .inquiry-box { margin-inline: calc(-1 * var(--gutter)); padding: 28px 20px 32px; }
  .field select { padding-right: 38px; background-position: right 14px center; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--white); padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px clamp(24px, 5vw, 72px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.site-footer__brand img { height: 44px; width: auto; }
.site-footer__contact { display: grid; gap: 4px; font-size: var(--fs-small); color: var(--slate); }
.site-footer__contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-footer__contact a:hover { color: var(--royal); }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer__nav a {
  color: var(--navy);
  font: 600 var(--fs-label)/1 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 14px;
}
.site-footer__nav a:hover { color: var(--royal); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  color: var(--slate);
  font-size: .8125rem;
}
@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .site-footer__brand img { height: 38px; }
}

.noscript-note { margin-top: 24px; color: var(--slate); }
.noscript-note a { color: var(--navy); font-weight: 600; }

/* ---------- Drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 107, .34);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(580px, 100%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .85s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.drawer__close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.drawer__close svg { width: 14px; height: 14px; }

.drawer__content { display: flex; flex-direction: column; flex: 1 0 auto; }
.drawer__media {
  position: relative;
  display: grid;
  place-items: center;
  height: min(62vh, 700px);
  overflow: hidden;
  background: #E6EFFB;
}
.drawer__media picture { height: 100%; }
.drawer__media img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.motion .drawer.is-open .drawer__media img { animation: drawer-image 1.4s var(--ease) both; }
@keyframes drawer-image { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.photo-pending {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--slate);
  font: 600 .6875rem/1.4 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.drawer__body { display: grid; gap: 18px; padding: 32px clamp(20px, 5vw, 44px) 24px; }
.drawer__title { font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); }
.drawer__desc { color: var(--slate); font-size: var(--fs-lead); }

.variant-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-picker button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.variant-picker button:hover { border-color: var(--navy); }
.variant-picker button[aria-pressed="true"] { border-color: var(--navy); background: var(--ice); box-shadow: inset 0 0 0 1px var(--navy); }

.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 28px;
  margin: 6px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.facts dt { font: 600 .6875rem/1.6 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 0; color: var(--ink); }

.drawer__foot {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 16px clamp(20px, 5vw, 44px) calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--line);
}
.drawer__note {
  font: 600 .6875rem/1.3 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu { clip-path: none; opacity: 0; transition: opacity .2s linear; }
  .menu.is-open { opacity: 1; }
  .menu__link span { transform: none; transition: color .2s; }
  .menu__foot { opacity: 1; transition: none; }
  .drawer__panel { transform: none; opacity: 0; transition: opacity .2s linear; }
  .drawer.is-open .drawer__panel { opacity: 1; }
  .drawer__backdrop { transition-duration: .2s; }
  .mask, .mask img, .card, [data-reveal], [data-reveal] > * { transition: none; }
  .card:hover .card__media img { transform: none; }
  .btn, .btn__arrow, .text-link, .text-link::after { transition-duration: .15s; }
  .btn:active { transform: none; }
  .loop-video__still { transition: none; }
}

/* ======================================================================
   Motion layer
   Everything below only runs with the .motion class (no reduced-motion
   preference). Without it the page renders fully at rest.
   ====================================================================== */

/* Split headings: words rise one after another */
.split-rise .w,
.split-scrub .w { display: inline-block; vertical-align: top; }
.split-rise .w { overflow: hidden; padding: .22em 0 .16em; margin: -.22em 0 -.16em; }
.split-rise .w > span,
.split-scrub .w > span { display: inline-block; }
.motion .split-rise .w > span {
  transition: translate 1.4s var(--ease);
  transition-delay: calc(var(--wi, 0) * 70ms + 120ms);
}
.motion .is-pending .split-rise .w > span,
.motion .split-rise.is-pending .w > span { translate: 0 145%; transition-delay: 0s; }
.motion .split-scrub .w > span { opacity: .16; transition: opacity .4s linear; }

/* Longer staggers */
[data-reveal="stagger"] > :nth-child(4) { transition-delay: .3s; }
[data-reveal="stagger"] > :nth-child(5) { transition-delay: .4s; }
[data-reveal="stagger"] > :nth-child(6) { transition-delay: .5s; }

/* Hero: frame opens on load, then eases away as you scroll past */
.motion .hero__media { animation: hero-open 1.9s var(--ease-io) both; }
@keyframes hero-open { from { clip-path: inset(7% 7% 7% 7%); } to { clip-path: inset(0 0 0 0); } }
@supports (animation-timeline: view()) {
  .motion .hero__media {
    animation: hero-open 1.9s var(--ease-io) both, hero-exit linear both;
    animation-timeline: auto, view();
    animation-range: normal, exit 0% exit 100%;
  }
  .motion .hero__band {
    animation: hero-band-exit linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }
  @keyframes hero-exit { to { scale: .94; opacity: .55; } }
  @keyframes hero-band-exit { to { translate: 0 -48px; opacity: .2; } }
}

/* Feature captions: a hairline draws in before the text */
.feature__caption { position: relative; padding-top: clamp(20px, 2vw, 28px); }
.feature__caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 1.8s var(--ease);
}
.feature--flip .feature__caption::before { transform-origin: right; }
.motion .feature__caption.is-pending::before { transform: scaleX(0); }
.feature__media.is-clickable { cursor: pointer; }

/* Catalogue heading line */
.cat-head { position: relative; padding-bottom: 20px; }
.cat-head::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform-origin: left;
  transition: transform 1.8s var(--ease) .2s;
}
.motion .cat-head.is-pending::after { transform: scaleX(0); }

/* Cards: tilt toward the pointer, lift on hover, drift at different speeds */
.card__media {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.card:hover .card__media { box-shadow: 0 34px 60px -34px rgba(7, 21, 107, .45); }
.card__name { transition: color .4s; }
.card:hover .card__name { color: var(--cobalt); }
@supports (animation-timeline: view()) {
  @media (min-width: 1100px) {
    .motion .card:nth-child(even) {
      animation: card-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
  @keyframes card-drift { from { transform: translateY(36px); } to { transform: translateY(-36px); } }
  .motion .collection__mask img {
    animation: drift linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}

/* Pointer label that follows the cursor over images */
.cursor-label {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;
}
.cursor-label span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: rgba(7, 21, 107, .82);
  color: #fff;
  font: 600 .6875rem/1 var(--font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: scale(0);
  transition: transform .6s var(--ease);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cursor-label.is-active span { transform: scale(1); }

/* Menu details */
.menu__link span { transition: transform 1s var(--ease), color .4s, letter-spacing .7s var(--ease); }
.menu__link:hover span,
.menu__link:focus-visible span { letter-spacing: .02em; }
.menu__foot p { transition: opacity .9s var(--ease), translate 1s var(--ease); }
.motion .menu:not(.is-open) .menu__foot p { opacity: 0; translate: 0 16px; }
.motion .menu.is-open .menu__foot p:nth-child(1) { transition-delay: .5s; }
.motion .menu.is-open .menu__foot p:nth-child(2) { transition-delay: .6s; }
.motion .menu.is-open .menu__foot p:nth-child(3) { transition-delay: .7s; }

/* Video toggles */
.video-toggle { transition: opacity .3s, background-color .3s, transform .6s var(--ease), translate .6s var(--ease); }
.video-toggle:hover { transform: scale(1.08); }
.motion .video-toggle:not([hidden]) { animation: fade-in 1s var(--ease) both; }

/* Inquire: slow ambient light behind the section */
.inquire { position: relative; overflow: hidden; isolation: isolate; }
.inquire::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(38% 38% at 28% 30%, rgba(14, 107, 245, .38), transparent 70%),
    radial-gradient(34% 34% at 76% 72%, rgba(3, 64, 188, .45), transparent 70%);
}
.motion .inquire::before { animation: ambient 22s ease-in-out infinite alternate; }
@keyframes ambient {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6%, -4%) rotate(8deg); }
  100% { transform: translate(-5%, 5%) rotate(-6deg); }
}
.contact-list__email {
  color: var(--on-navy);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .7s var(--ease);
}
.contact-list__email:hover,
.contact-list__email:focus-visible { background-size: 100% 1px; }
.form-notice a + a,
.form-notice a { word-break: break-word; }

/* Form fields arrive in sequence with the box */
.inquiry-form__title,
.inquiry-form__fields > * { transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
.motion .inquiry-box.is-pending .inquiry-form__title,
.motion .inquiry-box.is-pending .inquiry-form__fields > * { opacity: 0; translate: 0 22px; }
.inquiry-form__fields > :nth-child(1) { transition-delay: .15s; }
.inquiry-form__fields > :nth-child(2) { transition-delay: .22s; }
.inquiry-form__fields > :nth-child(3) { transition-delay: .29s; }
.inquiry-form__fields > :nth-child(4) { transition-delay: .36s; }
.inquiry-form__fields > :nth-child(5) { transition-delay: .43s; }
.inquiry-form__fields > :nth-child(6) { transition-delay: .5s; }
.field label { transition: color .3s; }
.field:focus-within > label { color: var(--cobalt); }
.motion .field.is-shake input,
.motion .field.is-shake textarea,
.motion .field-group.is-shake input { animation: shake .5s var(--ease-io); }
@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.motion .form-status:not(:empty) { animation: fade-up .7s var(--ease) both; }

/* Success: the check draws itself */
.success-check { width: 56px; height: 56px; fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--line-strong); }
.motion .form-success:not([hidden]) .success-check circle { stroke-dasharray: 151; animation: draw 1s var(--ease) both; }
.motion .form-success:not([hidden]) .success-check path { stroke-dasharray: 36; animation: draw .8s var(--ease) .5s both; }
@keyframes draw { from { stroke-dashoffset: var(--len, 151); } to { stroke-dashoffset: 0; } }
.success-check path { --len: 36; }
.motion .form-success:not([hidden]) > :not(svg) { animation: fade-up 1s var(--ease) .6s both; }

/* Drawer content cascades in */
.motion .drawer.is-open .drawer__body > * { animation: fade-up 1s var(--ease) both; }
.motion .drawer.is-open .drawer__body > :nth-child(1) { animation-delay: .22s; }
.motion .drawer.is-open .drawer__body > :nth-child(2) { animation-delay: .29s; }
.motion .drawer.is-open .drawer__body > :nth-child(3) { animation-delay: .36s; }
.motion .drawer.is-open .drawer__body > :nth-child(4) { animation-delay: .43s; }
.motion .drawer.is-open .drawer__body > :nth-child(5) { animation-delay: .5s; }
.motion .drawer.is-open .drawer__body > :nth-child(6) { animation-delay: .57s; }
.motion .drawer.is-open .drawer__foot { animation: fade-up 1s var(--ease) .45s both; }

/* Footer */
.site-footer__contact p { margin: 0; }
.site-footer__contact a { text-decoration: none; }
.site-footer__nav a { position: relative; }
.site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.site-footer__nav a:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: border-color .2s; }
  .site-header.is-hidden { transform: none; }
  .card__media { transform: none; transition: none; }
  .btn--primary::after { display: none; }
  .video-toggle:hover { transform: none; }
  .inquiry-form__title, .inquiry-form__fields > *, .feature__caption::before, .cat-head::after, .menu__foot p { transition: none; }
}
