/* ==========================================================================
   Meddio Pharma — site styles (home + inner pages)
   Bootstrap 5.3 + custom theme. Brand colours taken from the CorelDRAW logo master.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  --mp-blue: #0060AA;          /* Meddio Blue  (wordmark, lower faces) */
  --mp-blue-700: #004E8C;
  --mp-cyan: #00A0E3;          /* Pillar cyan */
  --mp-cyan-soft: #7FD3F7;
  --mp-sky: #E8F4FC;
  --mp-navy: #041E3A;
  --mp-navy-2: #072B52;
  --mp-ink: #0B1B2E;
  --mp-body: #4A5B70;
  --mp-muted: #66778A;
  --mp-grey: #B2B3B3;
  --mp-grey-d: #727271;
  --mp-surface: #F4F8FC;
  --mp-line: #E2EAF3;

  --ff-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ff-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;

  --sh-sm: 0 2px 10px rgba(4, 30, 58, .06);
  --sh-md: 0 16px 36px -14px rgba(4, 30, 58, .22);
  --sh-lg: 0 34px 70px -28px rgba(4, 30, 58, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar-h: 40px;
  --header-h: 86px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--ff-sans);
  --bs-body-color: var(--mp-body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.7;
  --bs-heading-color: var(--mp-ink);
  --bs-link-color-rgb: 0, 96, 170;
  --bs-link-hover-color-rgb: 0, 78, 140;
  --bs-border-color: var(--mp-line);
  --bs-primary: #0060AA;
  --bs-primary-rgb: 0, 96, 170;
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--mp-cyan); color: #fff; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--ff-sans); color: var(--mp-ink); }
a { transition: color .25s ease; }
:focus-visible { outline: 3px solid rgba(0, 160, 227, .55); outline-offset: 3px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; left: 1rem; top: -80px; z-index: 2000;
  background: var(--mp-blue); color: #fff; padding: .75rem 1.1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* -------------------------------------------------------------------------
   3. Shared components
   ------------------------------------------------------------------------- */
.section-pad { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mp-blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 12px; height: 14px; flex: none; background: var(--mp-cyan);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.eyebrow-light { color: var(--mp-cyan-soft); }

.section-title {
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.25rem);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 700;
  margin-bottom: 1.25rem; text-wrap: balance;
}
.accent {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: 1.08em; letter-spacing: -.01em; padding-right: .08em;
  background: linear-gradient(90deg, var(--mp-blue) 0%, var(--mp-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.philosophy .accent,
.enquiry-info .accent,
.page-hero .accent,
.cta-card .accent { background-image: linear-gradient(90deg, #45C1F2, #A6E3FB); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.section-head-text { max-width: 720px; }
.section-head-text p { margin-bottom: 0; }
.section-head-center {
  flex-direction: column; align-items: center; text-align: center;
  max-width: 860px; margin-inline: auto;
}
.section-head-center .eyebrow { margin-bottom: 1rem; }
.section-head-aside { max-width: 26rem; margin: 0; color: var(--mp-muted); }
.lead-text { font-size: 1.075rem; line-height: 1.75; }

/* Buttons */
.btn-mp {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border: 0; border-radius: 100px; overflow: hidden; isolation: isolate;
  background: var(--mp-blue); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(0, 96, 170, .75);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn-mp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, var(--mp-blue) 0%, var(--mp-cyan) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.btn-mp i { transition: transform .35s var(--ease); }
.btn-mp:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(0, 96, 170, .85); }
.btn-mp:hover::before { opacity: 1; }
.btn-mp:hover i { transform: translateX(3px); }
.btn-mp:hover i.bi-arrow-up-right { transform: translate(2px, -2px); }
.btn-mp-lg { padding: 1rem 1.8rem; font-size: 1rem; min-height: 3.25rem; }

/* Secondary pill button (same size as .btn-mp; the 1.5px border is taken out of the padding) */
.btn-mp-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: calc(.85rem - 1.5px) calc(1.5rem - 1.5px); border: 1.5px solid #CFDDEB; border-radius: 100px;
  background: #fff; color: var(--mp-ink); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, color .3s, background .3s;
}
.btn-mp-ghost.btn-mp-lg { padding: calc(1rem - 1.5px) calc(1.8rem - 1.5px); font-size: 1rem; }
.btn-mp-ghost i { color: var(--mp-blue); transition: transform .35s var(--ease); }
.btn-mp-ghost:hover {
  color: var(--mp-blue); border-color: var(--mp-blue); background: var(--mp-sky);
  transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0, 96, 170, .55);
}
.btn-mp-ghost:hover i { transform: scale(1.1); }

.btn-outline-mp {
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.4rem;
  border: 1.5px solid var(--mp-line); border-radius: 100px; background: #fff;
  color: var(--mp-ink); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.btn-outline-mp:hover { border-color: var(--mp-blue); color: var(--mp-blue); transform: translateY(-2px); }

.btn-link-mp {
  display: inline-flex; align-items: center; gap: .8rem; font-weight: 600;
  color: var(--mp-ink); text-decoration: none;
}
.icon-ring {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--mp-line); background: #fff; color: var(--mp-blue); font-size: 1.1rem;
  box-shadow: var(--sh-sm); transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.btn-link-mp:hover { color: var(--mp-blue); }
.btn-link-mp:hover .icon-ring { background: var(--mp-blue); border-color: var(--mp-blue); color: #fff; transform: rotate(-8deg); }

/* List formats (no tick bullets) -------------------------------------- */
/* 1. Numbered approach cards (2 × 2) */
.approach-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.approach-grid li {
  position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.1rem 1.05rem;
  border-radius: 16px; background: #fff; border: 1px solid var(--mp-line); color: var(--mp-ink);
  font-weight: 600; font-size: .95rem; line-height: 1.4; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.approach-grid li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--mp-cyan), var(--mp-blue)); }
.approach-grid li:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(0, 96, 170, .2); }
.approach-grid i { font-size: 1.3rem; color: var(--mp-blue); line-height: 1; }
.ag-num { position: absolute; top: .8rem; right: 1rem; font-family: var(--ff-serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: rgba(0, 96, 170, .2); }

/* 2. Icon rows (each point gets its own icon tile) */
.icon-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.icon-rows li { display: flex; align-items: center; gap: .9rem; color: var(--mp-ink); font-weight: 500; line-height: 1.5; }
.icon-rows i {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, var(--mp-sky), #fff); border: 1px solid var(--mp-line); color: var(--mp-blue); font-size: 1.05rem;
}

/* 3. Hex markers (long-form text) */
.dot-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.dot-list li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 11px; background: var(--mp-cyan);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* 4. Numbered rows */
.num-rows { list-style: none; padding: 0; margin: 0; counter-reset: nr; }
.num-rows > li { counter-increment: nr; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--mp-line); }
.num-rows > li:last-child { border-bottom: 1px solid var(--mp-line); }
.num-rows > li::before { content: counter(nr, decimal-leading-zero); font-family: var(--ff-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--mp-cyan); }
.num-rows h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 .25rem; }
.num-rows p { margin: 0; color: var(--mp-muted); font-size: .95rem; }

/* 5. Chips */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chip-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 100px; background: #fff; border: 1px solid var(--mp-line); font-weight: 600; font-size: .9rem; color: var(--mp-ink); }
.chip-list i { color: var(--mp-blue); }

/* -------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1045;
  transition: top .45s var(--ease);
}
.site-header.is-scrolled { top: calc(-1 * var(--topbar-h)); }

.topbar {
  height: var(--topbar-h); background: var(--mp-navy); color: rgba(255, 255, 255, .72);
  font-size: .8rem; display: flex; align-items: center;
}
.topbar-note { display: flex; align-items: center; gap: .5rem; white-space: nowrap; overflow: hidden; }
.topbar-note span { overflow: hidden; text-overflow: ellipsis; }
.topbar-note i, .topbar-links i { color: var(--mp-cyan); }
.topbar-links { display: flex; align-items: center; gap: 1.6rem; flex: none; }
.topbar-links li { display: flex; }
.topbar-links a, .topbar-links span { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; }
.topbar-links a:hover { color: #fff; }

.main-nav { height: var(--header-h); padding: 0; transition: height .4s var(--ease); }
.main-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 12px 30px -20px rgba(4, 30, 58, .35);
  opacity: 0; transition: opacity .4s ease;
}
.site-header.is-scrolled .main-nav { height: 72px; }
.site-header.is-scrolled .main-nav::before { opacity: 1; }

.navbar-brand { padding: 0; margin-right: 1.5rem; }
.brand-logo { display: block; height: 56px; width: auto; aspect-ratio: 5301 / 1763; transition: height .4s var(--ease); }
.site-header.is-scrolled .navbar-brand .brand-logo { height: 46px; }

/* Hamburger */
.nav-toggler {
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--mp-line); background: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: var(--sh-sm);
}
.nav-toggler span { width: 20px; height: 2px; border-radius: 2px; background: var(--mp-ink); transition: width .3s; }
.nav-toggler span:nth-child(2) { width: 14px; margin-left: 6px; }
.nav-toggler:hover span:nth-child(2) { width: 20px; margin-left: 0; }

/* Desktop navigation */
@media (min-width: 1200px) {
  .main-nav .navbar-nav { gap: .15rem; }
  .main-nav .navbar-nav { flex-wrap: nowrap; align-items: center; }
  .main-nav .nav-link {
    position: relative; padding: .55rem .95rem !important; font-size: .95rem; font-weight: 600;
    color: var(--mp-ink); border-radius: 100px; white-space: nowrap;
  }
  .main-nav .nav-link::before {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%;
    background: var(--mp-cyan); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
  }
  .main-nav .nav-link:hover, .main-nav .nav-link.active, .main-nav .nav-link.show { color: var(--mp-blue); }
  .main-nav .nav-link.active::before, .main-nav .nav-link:hover::before { transform: translateX(-50%) scale(1); }

  .main-nav .dropdown-menu {
    display: block; opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s ease, transform .35s var(--ease), visibility .3s;
    top: calc(100% + 12px); left: -12px;
  }
  .main-nav .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .main-nav .dropdown:hover > .dropdown-menu,
  .main-nav .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
  .nav-cta { margin-left: 1rem; }
}

/* Laptop widths (1200–1399px): container is 1140px, so tighten the menu */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-brand { margin-right: .75rem; }
  .main-nav .navbar-nav { gap: 0; }
  .main-nav .nav-link { padding: .5rem .68rem !important; font-size: .9rem; }
  .main-nav .dropdown-toggle::after { margin-left: .35rem; }
  .nav-cta { margin-left: .5rem; padding: .78rem 1.2rem; font-size: .9rem; }
}

.dropdown-toggle::after {
  border: solid currentColor; border-width: 0 1.6px 1.6px 0; width: 6px; height: 6px;
  margin-left: .45rem; vertical-align: .22em; transform: rotate(45deg); transition: transform .3s;
}
.dropdown:hover > .dropdown-toggle::after, .dropdown-toggle.show::after { transform: rotate(225deg); vertical-align: 0; }

.main-nav .dropdown-menu {
  min-width: 260px; padding: .6rem; border: 1px solid var(--mp-line); border-radius: 18px;
  box-shadow: var(--sh-lg); background: #fff;
}
.main-nav .dropdown-item {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 12px;
  font-weight: 600; font-size: .92rem; color: var(--mp-ink); white-space: normal;
}
.main-nav .dropdown-item i {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--mp-sky); color: var(--mp-blue); font-size: 1rem; transition: background .25s, color .25s;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus { background: var(--mp-surface); color: var(--mp-blue); }
.main-nav .dropdown-item:hover i { background: var(--mp-blue); color: #fff; }

/* Mobile offcanvas navigation */
@media (max-width: 1199.98px) {
  :root { --header-h: 76px; }
  .main-nav .offcanvas { --bs-offcanvas-width: min(370px, 88vw); border-left: 0; }
  .offcanvas-header { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--mp-line); }
  .offcanvas-header .brand-logo { height: 44px; }
  .offcanvas-body { display: flex; flex-direction: column; padding: .75rem 1.4rem 1.6rem; }
  .main-nav .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 0; font-size: 1.05rem; font-weight: 600; color: var(--mp-ink);
    border-bottom: 1px solid var(--mp-line);
  }
  .main-nav .nav-link.active { color: var(--mp-blue); }
  .main-nav .dropdown-menu { border: 0; box-shadow: none; padding: .35rem 0 .6rem; min-width: 0; background: transparent; }
  .main-nav .dropdown-item { font-size: .95rem; }
  .nav-cta { margin-top: 1.5rem; width: 100%; padding-block: 1rem; }
  .offcanvas-contact { margin-top: auto; padding-top: 1.75rem; display: flex; flex-direction: column; gap: .8rem; font-size: .92rem; }
  .offcanvas-contact a, .offcanvas-contact span { display: inline-flex; align-items: center; gap: .6rem; color: var(--mp-body); text-decoration: none; }
  .offcanvas-contact i { color: var(--mp-blue); }
}

/* -------------------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(4.5rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, #F1F7FD 0%, #F7FAFE 60%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; }
.glow-1 { width: 760px; height: 760px; right: -180px; top: -120px; background: radial-gradient(circle, rgba(0, 160, 227, .22) 0%, rgba(0, 160, 227, 0) 62%); }
.glow-2 { width: 700px; height: 700px; left: -300px; bottom: -340px; background: radial-gradient(circle, rgba(0, 96, 170, .12) 0%, rgba(0, 96, 170, 0) 62%); }
.hex-grid, .philo-bg::after {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.43' height='96' viewBox='0 0 34.64 60'%3E%3Cpath d='M17.32 0L34.64 10V30L17.32 40L0 30V10Z M17.32 40V60' fill='none' stroke='%230060AA' stroke-opacity='.10' stroke-width='.55'/%3E%3C/svg%3E");
  background-size: 55.43px 96px;
}
.hex-grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem .45rem .7rem;
  border-radius: 100px; background: #fff; border: 1px solid var(--mp-line); box-shadow: var(--sh-sm);
  font-size: .82rem; font-weight: 600; color: var(--mp-ink);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-cyan); flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--mp-cyan);
  animation: pulse 2.2s ease-out infinite;
}
.hero-title {
  font-size: clamp(2.65rem, 1.35rem + 4.3vw, 4.5rem); line-height: 1.03; letter-spacing: -.04em;
  font-weight: 700; margin: 1.4rem 0 1.4rem;
}
.hero-title .accent { font-size: 1.1em; }
.hero-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 34rem; margin-bottom: 2.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1rem 1rem; }

.hero-pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem;
  margin: 2.75rem 0 0; padding-top: 2rem; border-top: 1px solid var(--mp-line); max-width: 36rem;
}
.hero-pillars li { display: flex; align-items: flex-start; gap: .85rem; }
.hp-icon {
  width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--mp-line); color: var(--mp-blue); font-size: 1.15rem; box-shadow: var(--sh-sm);
}
.hero-pillars strong { display: block; color: var(--mp-ink); font-size: .95rem; line-height: 1.3; }

/* Hero layout — mobile follows DOM order (copy → image → 4 points);
   desktop puts copy + points on the left, image on the right, vertically centred. */
@media (min-width: 992px) {
  .hero-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". visual" "copy visual" "points visual" ". visual";
    margin-top: 0;
  }
  .hero-grid > * { margin-top: 0; }
  .hero-col-copy { grid-area: copy; }
  .hero-col-visual { grid-area: visual; align-self: center; }
  .hero-col-points { grid-area: points; }
}
@media (max-width: 991.98px) {
  .hero-col-points { margin-top: 1rem; }
  .hero-pillars {
    max-width: none; margin: 0; padding: 1.25rem; border: 1px solid var(--mp-line); border-radius: 20px;
    background: rgba(255, 255, 255, .8); box-shadow: var(--sh-sm);
  }
}
.hero-pillars div span { display: block; font-size: .82rem; color: var(--mp-muted); line-height: 1.45; margin-top: .15rem; }

/* Hero visual: the logo cube as a photographic window */
.hero-visual { position: relative; max-width: 580px; margin-inline: auto; padding: 1.5rem 0; }
.hex-frame {
  position: relative; width: 80%; margin-inline: auto; aspect-ratio: 1513 / 1752;
  filter: drop-shadow(0 40px 46px rgba(4, 30, 58, .25));
}
.hex-slice {
  position: absolute; inset: 0;
  background: #0b4f8a url("https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?auto=format&fit=crop&w=1100&q=80") 50% 50% / cover no-repeat;
  clip-path: var(--clip);
  animation: sliceIn 1.15s var(--ease) both;
  animation-delay: calc(.2s + var(--i) * .13s);
}
.hex-slice::before, .hex-slice::after { content: ""; position: absolute; inset: 0; }
.hex-slice::before { background: linear-gradient(160deg, rgba(0, 160, 227, .30) 0%, rgba(0, 160, 227, .06) 70%); }
.hex-slice::after {
  clip-path: polygon(0% 75.74%, 51.22% 53.65%, 100% 75.23%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(0, 96, 170, .66) 0%, rgba(4, 30, 58, .82) 100%);
  mix-blend-mode: multiply;
}
/* Slice outlines = the logo's own bar / face paths (as % of the cube's bounding box) */
.s1 { --clip: polygon(18.79% 15.82%, 18.79% 84.6%, 12.09% 81.42%, 0% 75.6%, 0% 25.14%); }
.s2 { --clip: polygon(42.39% 4.14%, 42.39% 95.62%, 23.84% 86.7%, 23.84% 13.32%); }
.s3 { --clip: polygon(50.71% 0%, 66.05% 8.06%, 66.05% 92.76%, 51.34% 100%, 47.23% 98.02%, 47.23% 1.74%); }
.s4 { --clip: polygon(66.05% 8.06%, 100% 25.67%, 100% 75.28%, 66.05% 92.59%); filter: saturate(.35) brightness(1.08); }
.s4::before { background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(178, 179, 179, .18)); }
.s4::after { background: linear-gradient(180deg, rgba(60, 64, 70, .55), rgba(30, 34, 40, .7)); }

.orbit {
  position: absolute; left: 50%; top: 50%; width: 96%; aspect-ratio: 1; translate: -50% -50%;
  border: 1.5px dashed rgba(0, 96, 170, .2); border-radius: 50%; animation: spin 48s linear infinite;
  pointer-events: none;
}
.orbit i {
  position: absolute; top: 14.6%; left: 14.6%; width: 12px; height: 12px; margin: -6px; border-radius: 50%;
  background: var(--mp-cyan); box-shadow: 0 0 0 7px rgba(0, 160, 227, .16);
}

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.15rem .75rem .75rem; border-radius: 18px;
  background: rgba(255, 255, 255, .84); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--sh-md);
  animation: cardIn .9s var(--ease) both, floatY 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--mp-ink); font-size: .92rem; line-height: 1.25; }
.float-card div span { display: block; color: var(--mp-muted); font-size: .77rem; line-height: 1.35; }
.fc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--mp-blue), var(--mp-cyan)); color: #fff !important; font-size: 1.15rem;
}
.fc-1 { top: 13%; left: -3%; animation-delay: .95s, 2s; }
.fc-2 { bottom: 8%; left: -5%; animation-delay: 1.1s, 3.2s; }
.fc-3 { top: 47%; right: -4%; animation-delay: 1.25s, 4.1s; }
.fc-big { font-size: 2.1rem !important; font-weight: 800; color: var(--mp-blue) !important; line-height: 1 !important; letter-spacing: -.04em; }
.fc-big sup { font-size: .5em; color: var(--mp-cyan); top: -.9em; }
.role-stack { display: flex; }
.role-stack span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center;
  background: var(--mp-sky); color: var(--mp-blue); font-size: .9rem; box-shadow: 0 2px 6px rgba(4, 30, 58, .12);
}
.role-stack span:nth-child(2) { background: var(--mp-blue); color: #fff; }
.role-stack span:nth-child(3) { background: var(--mp-cyan); color: #fff; }
.role-stack span + span { margin-left: -10px; }

.capsule {
  position: absolute; z-index: 1; width: 66px; height: 26px; border-radius: 20px;
  background: linear-gradient(90deg, var(--mp-cyan) 0 50%, #fff 50% 100%);
  box-shadow: 0 14px 22px -10px rgba(4, 30, 58, .45), inset 0 -4px 6px rgba(4, 30, 58, .08);
  animation: drift 9s ease-in-out infinite;
}
.capsule::after { content: ""; position: absolute; left: 10px; top: 5px; width: 18px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.capsule-1 { top: 3%; right: 14%; rotate: -32deg; }
.capsule-2 { bottom: 4%; right: 24%; width: 46px; height: 19px; rotate: 24deg; background: linear-gradient(90deg, var(--mp-blue) 0 50%, #fff 50% 100%); animation-delay: -4s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0; width: 26px; height: 40px;
  border: 2px solid rgba(11, 27, 46, .25); border-radius: 14px; display: flex; justify-content: center;
}
.scroll-cue span { width: 4px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--mp-blue); animation: wheel 1.8s ease-in-out infinite; }

/* -------------------------------------------------------------------------
   6. Segments marquee
   ------------------------------------------------------------------------- */
.segments { padding: 1.75rem 0; background: #fff; border-block: 1px solid var(--mp-line); overflow: hidden; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track > * { margin-right: 2.25rem; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item {
  text-decoration: none;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.35rem); font-weight: 700; letter-spacing: -.025em;
  color: var(--mp-ink); white-space: nowrap; line-height: 1.2;
}
.m-item.is-outline {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.65rem); letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--mp-blue), var(--mp-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.m-item:hover { color: var(--mp-blue); }
.m-sep { width: 26px; height: 30px; }

/* -------------------------------------------------------------------------
   7. About
   ------------------------------------------------------------------------- */
.about-media { position: relative; padding: 0 13% 13% 0; }
.about-img-main { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.7; box-shadow: var(--sh-lg); }
.about-img-main img, .about-img-sub img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.about-media:hover .about-img-main img { transform: scale(1.04); }
.about-img-sub {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; margin: 0;
  border-radius: var(--r-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--sh-lg);
}
.seal {
  position: absolute; top: 5%; right: 1%; width: 148px; height: 148px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh-md); display: grid; place-items: center;
}
.seal-text { position: absolute; inset: 6px; animation: spin 26s linear infinite; }
.seal-text text { font-family: var(--ff-cond); font-weight: 600; font-size: 15px; letter-spacing: 1.5px; fill: var(--mp-blue); }
.seal-mark { width: 44px; height: 51px; }
.about-chip {
  position: absolute; left: -5%; bottom: 22%; display: flex; align-items: center; gap: .8rem;
  max-width: 300px; padding: .95rem 1.2rem .95rem .95rem; border-radius: 18px;
  background: var(--mp-navy); color: rgba(255, 255, 255, .88); font-size: .84rem; line-height: 1.45;
  box-shadow: var(--sh-lg);
}
.about-chip i {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(0, 160, 227, .18); color: var(--mp-cyan); font-size: 1.2rem;
}

.tabs-mp {
  display: inline-flex; flex-wrap: nowrap; gap: .25rem; padding: .35rem; margin: 1.6rem 0 1.4rem;
  border-radius: 100px; background: var(--mp-surface); border: 1px solid var(--mp-line);
}
.tabs-mp .nav-link {
  border: 0; border-radius: 100px; padding: .6rem 1.2rem; background: transparent;
  font-weight: 600; font-size: .9rem; color: var(--mp-body); white-space: nowrap;
  transition: background .3s, color .3s, box-shadow .3s;
}
.tabs-mp .nav-link:hover { color: var(--mp-blue); }
.tabs-mp .nav-link.active { background: #fff; color: var(--mp-blue); box-shadow: var(--sh-sm); }
.about-tabs .tab-content p { margin-bottom: 1rem; }
.vision-quote {
  margin: 0; padding: .25rem 0 .25rem 1.4rem; border-left: 3px solid var(--mp-cyan);
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  line-height: 1.45; color: var(--mp-ink);
}
.about-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.2rem; }
.about-sign { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: var(--mp-muted); }
.about-sign svg { width: 30px; height: 35px; flex: none; }
.about-sign strong { color: var(--mp-ink); font-weight: 600; }

/* -------------------------------------------------------------------------
   8. Products carousel
   ------------------------------------------------------------------------- */
.products { position: relative; background: var(--mp-surface); overflow: hidden; }
.products::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 160, 227, .12), transparent 62%); pointer-events: none;
}
.ps-controls { display: flex; align-items: center; gap: .7rem; }
.ps-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--mp-line); background: #fff;
  color: var(--mp-ink); display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--sh-sm);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.ps-btn:hover { background: var(--mp-blue); color: #fff; border-color: var(--mp-blue); transform: translateY(-2px); }
.ps-controls .btn-mp { margin-left: .5rem; }

.ps-track {
  display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
  padding: 1rem var(--bleed, 1rem) 2.25rem; scroll-padding-inline: var(--bleed, 1rem);
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab; -webkit-user-select: none; user-select: none;
}
.ps-track::-webkit-scrollbar { display: none; }
.ps-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ps-track.is-dragging .p-card { pointer-events: none; }

.p-card {
  --pc: var(--mp-blue);
  flex: 0 0 clamp(262px, 76vw, 314px); scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--mp-line); color: inherit; text-decoration: none;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .3s;
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; color: inherit; }
.p-media {
  position: relative; aspect-ratio: 1.16; display: grid; place-items: center; overflow: hidden;
  background: #F4F8FB;
  background: radial-gradient(120% 95% at 50% 100%, color-mix(in srgb, var(--pc) 20%, #fff) 0%, #F6F9FC 64%);
}
.p-media::before {
  content: ""; position: absolute; top: 9%; left: 50%; width: 62%; aspect-ratio: 86.6 / 100; translate: -50% 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: color-mix(in srgb, var(--pc) 9%, transparent);
  transition: transform .8s var(--ease);
}
.p-card:hover .p-media::before { transform: rotate(30deg) scale(1.08); }
.p-pack, .p-media img { position: relative; width: 88%; height: auto; transition: transform .7s var(--ease); }
.p-media img { width: 78%; max-height: 82%; object-fit: contain; }
.p-card:hover .p-pack, .p-card:hover .p-media img { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.pack-svg text { font-family: var(--ff-sans); }
.p-cat {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: .4rem;
  padding: .36rem .72rem; border-radius: 100px; background: #fff; box-shadow: var(--sh-sm);
  font-size: .72rem; font-weight: 700; color: var(--mp-ink); letter-spacing: .01em;
}
.p-cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }
.p-idx { position: absolute; top: 14px; right: 18px; font-family: var(--ff-cond); font-weight: 600; font-size: 1rem; letter-spacing: .1em; color: rgba(11, 27, 46, .3); }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.45rem; }
.p-title {
  font-size: 1.04rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; margin-bottom: .35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-meta { font-size: .8rem; font-weight: 600; color: var(--mp-blue); margin-bottom: .6rem; }
.p-desc {
  font-size: .875rem; line-height: 1.6; color: var(--mp-muted); margin-bottom: 1.1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 700; color: var(--mp-ink); transition: color .3s; }
.p-link i { transition: transform .35s var(--ease); }
.p-card:hover .p-link { color: var(--mp-blue); }
.p-card:hover .p-link i { transform: translateX(4px); }

.ps-footer { display: flex; align-items: center; gap: 1.5rem; }
.ps-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--mp-line); overflow: hidden; }
.ps-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--mp-blue), var(--mp-cyan)); transition: width .45s var(--ease); }
.ps-count { font-family: var(--ff-cond); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; color: var(--mp-muted); }
.ps-count b { color: var(--mp-ink); }
.rx-note { display: flex; align-items: flex-start; gap: .5rem; margin: 1.4rem 0 0; font-size: .8rem; color: var(--mp-muted); }
.rx-note i { color: var(--mp-blue); }

/* -------------------------------------------------------------------------
   9. Philosophy (dark)
   ------------------------------------------------------------------------- */
.philosophy { position: relative; overflow: hidden; background: var(--mp-navy); color: rgba(255, 255, 255, .7); }
.philo-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 12% 28%, rgba(0, 160, 227, .22), transparent 62%),
    radial-gradient(50% 60% at 92% 92%, rgba(0, 96, 170, .4), transparent 62%);
}
.philo-bg::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.43' height='96' viewBox='0 0 34.64 60'%3E%3Cpath d='M17.32 0L34.64 10V30L17.32 40L0 30V10Z M17.32 40V60' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='.55'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%);
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}
/* Logo build animation: see section 22 */

.philo-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.7; color: rgba(255, 255, 255, .82); max-width: 40rem; margin-bottom: 2rem; }
.beliefs { margin: 0; counter-reset: none; }
.beliefs li { display: flex; gap: 1.4rem; padding: 1.35rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.beliefs li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.b-num { font-family: var(--ff-serif); font-style: italic; font-size: 2.3rem; line-height: 1; color: var(--mp-cyan); min-width: 3rem; }
.beliefs h3 { color: #fff; font-size: 1.18rem; font-weight: 700; margin-bottom: .25rem; }
.beliefs p { margin: 0; color: rgba(255, 255, 255, .64); }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3.5rem, 6vw, 5rem);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03);
}
.stat { padding: 2rem 1.8rem; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-num { display: block; font-size: clamp(2.5rem, 1.7rem + 2.4vw, 3.7rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.stat-num sup { font-size: .45em; top: -1em; color: var(--mp-cyan); margin-left: .05em; }
.stat-label { display: block; margin-top: .7rem; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .6); max-width: 15rem; }

/* -------------------------------------------------------------------------
   10. Process timeline
   ------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 1rem; }
.tl-steps { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.tl-line {
  position: absolute; top: 36px; height: 2px; background: var(--mp-line);
  left: calc((100% - 7.5rem) / 14); right: calc((100% - 7.5rem) / 14);
}
.tl-progress { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--mp-blue), var(--mp-cyan)); transition: width 2.4s var(--ease) .2s; }
.timeline.in-view .tl-progress { width: 100%; }
.tl-step { position: relative; text-align: center; transition: opacity .7s ease, transform .8s var(--ease); transition-delay: calc(var(--i) * .28s); }
.js .tl-step { opacity: 0; transform: translateY(20px); }
.timeline.in-view .tl-step { opacity: 1; transform: none; }
.tl-node {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 1.3rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--mp-line);
  color: var(--mp-blue); font-size: 1.45rem; box-shadow: var(--sh-sm); isolation: isolate;
  transition: color .5s ease, box-shadow .5s ease; transition-delay: calc(.3s + var(--i) * .28s);
}
.tl-node::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, var(--mp-blue), var(--mp-cyan)); opacity: 0;
  transition: opacity .5s ease; transition-delay: inherit;
}
.timeline.in-view .tl-node { color: #fff; box-shadow: 0 0 0 7px rgba(0, 160, 227, .12), var(--sh-md); }
.timeline.in-view .tl-node::before { opacity: 1; }
.tl-num { display: block; font-family: var(--ff-cond); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-blue); }
.tl-step h3 { font-size: 1.02rem; font-weight: 700; margin: .35rem 0 .5rem; line-height: 1.3; }
.tl-step p { font-size: .86rem; line-height: 1.6; color: var(--mp-muted); margin: 0; }

/* -------------------------------------------------------------------------
   11. Quality
   ------------------------------------------------------------------------- */
.quality { background: var(--mp-surface); }
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.q-item {
  display: flex; gap: .9rem; padding: 1.15rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--mp-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.q-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(0, 96, 170, .22); }
.q-item > i {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--mp-sky); color: var(--mp-blue); font-size: 1.2rem;
}
.q-item h3 { font-size: .98rem; font-weight: 700; margin-bottom: .2rem; }
.q-item p { font-size: .84rem; line-height: 1.5; color: var(--mp-muted); margin: 0; }

.promise-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 160, 227, .18); color: var(--mp-cyan); font-size: 1.25rem; }
.promise-label { font-family: var(--ff-cond); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-cyan-soft); margin-bottom: .35rem; }
.promise-text { font-family: var(--ff-serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; margin: 0; }
.gmp-badge {
  position: absolute; top: 1.5rem; left: 1.5rem; width: 96px; height: 111px; display: grid; place-items: center;
  text-align: center; animation: floatY 7s ease-in-out infinite;
}
.gmp-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 12px 18px rgba(4, 30, 58, .25)); }
.gmp-badge polygon { fill: #fff; }
.gmp-badge span { position: relative; font-family: var(--ff-cond); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; color: var(--mp-muted); }
.gmp-badge b { display: block; font-family: var(--ff-sans); font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--mp-blue); }

/* -------------------------------------------------------------------------
   12. Why Meddio (bento) + values
   ------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.25rem; }
.bento-card {
  position: relative; overflow: hidden; padding: 1.85rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--mp-line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.bento-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mp-sky); color: var(--mp-blue); font-size: 1.4rem; margin-bottom: 1.3rem;
}
.bento-card h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.35; }
.bento-card p { margin: 0; font-size: .93rem; color: var(--mp-muted); }
.bento-feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px;
  padding: 2.4rem; border: 0; color: rgba(255, 255, 255, .78);
  background: linear-gradient(155deg, #0A6BBB 0%, var(--mp-blue) 35%, #023E70 100%);
}
.bento-feature h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em; }
.bento-feature p { color: rgba(255, 255, 255, .75); font-size: .98rem; }
.bento-feature .bento-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.bento-mark {
  position: absolute; top: -12%; right: -14%; width: 64%; opacity: .14;
  --lm-c: #fff; --lm-b: #fff; --lm-g: #fff; --lm-gd: #fff;
  transition: transform 1.2s var(--ease);
}
.bento-feature:hover .bento-mark { transform: rotate(-8deg) scale(1.05); }
.bento-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.bento-tags li { padding: .35rem .85rem; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .3); font-size: .78rem; font-weight: 600; color: #fff; }
.bento-accent { background: linear-gradient(135deg, #E3F3FD 0%, #F5FAFE 100%); border-color: transparent; }
.bento-accent .bento-icon { background: #fff; }

.values-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--mp-line); }
.values-label { font-family: var(--ff-cond); font-weight: 600; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mp-blue); }
.values { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.values li {
  padding: .55rem 1.1rem; border-radius: 100px; border: 1px solid var(--mp-line); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--mp-ink); transition: border-color .3s, color .3s, background .3s;
}
.values li:hover { border-color: var(--mp-blue); color: var(--mp-blue); background: var(--mp-sky); }

/* -------------------------------------------------------------------------
   13. Partner / opportunities
   ------------------------------------------------------------------------- */
.opp-card {
  position: relative; isolation: isolate; overflow: hidden; height: 100%; min-height: 520px;
  display: flex; align-items: flex-end; border-radius: 26px; color: #fff; box-shadow: var(--sh-md);
}
.opp-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.opp-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 30, 58, 0) 18%, rgba(4, 30, 58, .78) 58%, rgba(4, 30, 58, .96) 100%);
}
.opp-card:hover > img { transform: scale(1.07); }
.opp-body { padding: 2rem; }
.opp-icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.opp-card h3 { color: #fff; font-size: 1.45rem; font-weight: 700; margin: 1.1rem 0 .4rem; letter-spacing: -.02em; }
.opp-card p { color: rgba(255, 255, 255, .78); font-size: .94rem; margin-bottom: 0; }
.opp-list { max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .6s var(--ease), opacity .45s ease, margin .5s var(--ease); }
.opp-card:hover .opp-list, .opp-card:focus-within .opp-list { max-height: 220px; opacity: 1; margin: 1.1rem 0 1.3rem; }
.opp-list li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; font-size: .88rem; color: rgba(255, 255, 255, .88); }
.opp-list li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 9px; height: 10px; background: var(--mp-cyan);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.opp-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; padding: .7rem 1.25rem;
  border-radius: 100px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .3s, color .3s;
}
.opp-card:hover .opp-link, .opp-card:focus-within .opp-link { margin-top: 0; }
.opp-link:hover { background: #fff; color: var(--mp-navy); }

/* -------------------------------------------------------------------------
   14. Brand updates
   ------------------------------------------------------------------------- */
.updates { background: var(--mp-surface); }
.news-card {
  height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--mp-line); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.news-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-cat {
  position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .85rem; border-radius: 100px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .74rem; font-weight: 700; color: var(--mp-blue);
}
.news-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.news-body time { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--mp-muted); }
.news-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin: .6rem 0; }
.news-body h3 a {
  color: var(--mp-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.news-card:hover h3 a { color: var(--mp-blue); background-size: 100% 1.5px; }
.news-body p { font-size: .9rem; color: var(--mp-muted); margin-bottom: 1.1rem; }
.news-more { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .88rem; color: var(--mp-blue); text-decoration: none; }
.news-more i { transition: transform .35s var(--ease); }
.news-more:hover i { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   15. Enquiry
   ------------------------------------------------------------------------- */
.enquiry-card { overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--mp-line); box-shadow: var(--sh-lg); }
.enquiry-info {
  position: relative; height: 100%; overflow: hidden; padding: clamp(2rem, 4vw, 3.4rem);
  background: linear-gradient(160deg, #083463 0%, var(--mp-navy) 100%); color: rgba(255, 255, 255, .74);
}
.enquiry-mark { position: absolute; right: -70px; bottom: -70px; width: 270px; opacity: .12; }
.enquiry-title { color: #fff; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1rem; }
.enquiry-info > p { margin-bottom: 2rem; }
.contact-list li { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; color: #fff; font-weight: 500; }
.contact-list li > span {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--mp-cyan); font-size: 1.05rem;
}
.contact-list small { display: block; font-family: var(--ff-cond); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--mp-cyan-soft); }
.btn-wa {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; margin-top: .75rem; padding: .85rem 1.45rem;
  border-radius: 100px; background: #25D366; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 26px -12px rgba(37, 211, 102, .7); transition: transform .3s var(--ease);
}
.btn-wa:hover { color: #fff; transform: translateY(-2px); }
.btn-wa i { font-size: 1.15rem; }

.enquiry-form { position: relative; height: 100%; padding: clamp(1.6rem, 4vw, 3.4rem); }
.enquiry-form .form-control, .enquiry-form .form-select {
  border-radius: 14px; border-color: var(--mp-line); background-color: var(--mp-surface); color: var(--mp-ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus {
  border-color: var(--mp-blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 96, 170, .12);
}
.enquiry-form .form-floating > label { color: var(--mp-muted); }
.form-note { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--mp-muted); }
.form-success {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center; background: #fff;
}
.form-success[hidden] { display: none; }
.form-success h3 { font-size: 1.6rem; margin: 1.2rem 0 .4rem; }
.fs-icon {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #fff;
  background: linear-gradient(135deg, var(--mp-blue), var(--mp-cyan)); box-shadow: 0 0 0 10px rgba(0, 160, 227, .12);
  animation: pop .6s var(--ease) both;
}

/* -------------------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  position: relative; overflow: hidden; padding: clamp(4rem, 6vw, 5.5rem) 0 2rem;
  background: var(--mp-navy); color: rgba(255, 255, 255, .64);
  --lw: #ffffff; --lt: var(--mp-cyan-soft);
}
.footer-mark { position: absolute; right: -90px; top: -70px; width: 400px; opacity: .045; pointer-events: none; --lm-c: #fff; --lm-b: #fff; --lm-g: #fff; --lm-gd: #fff; }
.footer-mark svg { width: 100%; height: auto; }
.footer-brand { display: inline-block; }
.footer-brand .brand-logo { height: 68px; }
.footer-about { max-width: 23rem; margin: 1.3rem 0 1.6rem; font-size: .93rem; line-height: 1.7; }
.social { display: flex; gap: .6rem; margin: 0; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--mp-cyan); border-color: var(--mp-cyan); transform: translateY(-3px); color: #fff; }
.footer-title { font-family: var(--ff-cond); font-weight: 600; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.3rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { color: rgba(255, 255, 255, .64); text-decoration: none; font-size: .93rem; transition: color .25s, padding .3s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; font-size: .93rem; }
.footer-contact i { color: var(--mp-cyan); }
.footer-contact a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding-bottom: .25rem; border-bottom: 1.5px solid var(--mp-cyan); color: #fff; font-weight: 700; text-decoration: none; }
.footer-cta:hover { color: var(--mp-cyan-soft); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: 3.5rem; padding: 1.75rem 4.75rem 0 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { color: rgba(255, 255, 255, .45); }
.footer-credit { margin: 1.1rem 4.75rem 0 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-credit strong { color: #fff; font-weight: 700; }
.fc-office small { display: block; margin-bottom: .1rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-cyan-soft, #7fd3e6); }
@media (max-width: 575.98px) { .footer-credit { text-align: left; } }

/* -------------------------------------------------------------------------
   17. Floating actions
   ------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 5.4rem; z-index: 1020; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.55rem; text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { color: #fff; transform: scale(1.07); }
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--mp-blue); font-size: 1.15rem; box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 3px; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--mp-line); stroke-width: 2; }
.to-top circle.ring { stroke: var(--mp-blue); stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: 138.23; }

/* -------------------------------------------------------------------------
   18. Scroll reveal (lightweight, IntersectionObserver driven)
   ------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .9s ease, transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   19. Keyframes
   ------------------------------------------------------------------------- */
@keyframes sliceIn { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* -------------------------------------------------------------------------
   20. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .tl-steps { grid-template-columns: 1fr; gap: 0; }
  .timeline { max-width: 640px; margin-inline: auto; }
  .tl-line { top: 32px; bottom: 64px; left: 31px; right: auto; width: 2px; height: auto; }
  .tl-progress { width: 100%; height: 0; transition: height 2.4s var(--ease) .2s; }
  .timeline.in-view .tl-progress { height: 100%; width: 100%; }
  .tl-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 1.3rem; text-align: left; padding-bottom: 2rem; }
  .tl-node { grid-row: span 3; width: 64px; height: 64px; margin: 0; font-size: 1.3rem; }
  .tl-step h3 { margin-top: .2rem; }
}

@media (max-width: 991.98px) {
  .hero-visual { max-width: 520px; }
  .about-media { max-width: 560px; margin-inline: auto; }
  .quality-visual { max-width: 620px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-row: auto; grid-column: span 2; min-height: 360px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .opp-card { min-height: 440px; }
  .opp-list { max-height: none; opacity: 1; margin: 1rem 0 0; }
  .opp-link, .opp-card:hover .opp-link { margin-top: 1.2rem; }
  .ps-controls { width: 100%; }
  .ps-controls .btn-mp { margin-left: auto; }
}

@media (hover: none) {
  .opp-list { max-height: none; opacity: 1; margin: 1rem 0 0; }
  .opp-link, .opp-card:hover .opp-link { margin-top: 1.2rem; }
}

@media (max-width: 767.98px) {
  .topbar-note { font-size: .75rem; }
  .float-card { padding: .55rem .85rem .55rem .55rem; border-radius: 14px; gap: .55rem; }
  .float-card strong { font-size: .8rem; }
  .float-card div span { font-size: .7rem; }
  .fc-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
  .fc-big { font-size: 1.6rem !important; }
  .role-stack span { width: 28px; height: 28px; font-size: .78rem; }
  .fc-1 { left: 0; }
  .fc-2 { left: 0; }
  .fc-3 { right: 0; }
  .seal { width: 112px; height: 112px; }
  .seal-mark { width: 34px; height: 39px; }
  .about-chip { left: 0; bottom: 18%; max-width: 250px; font-size: .78rem; }
  .q-grid { grid-template-columns: 1fr; }
  .promise-text { font-size: 1.2rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-feature { grid-column: auto; }
  .stat { padding: 1.6rem 1.25rem; }
  .ps-btn { width: 46px; height: 46px; }
}

@media (max-width: 575.98px) {
  .topbar-note { display: none !important; }
  .topbar .container { justify-content: center !important; }
  .brand-logo { height: 46px; }
  .hero-kicker { font-size: .74rem; }
  .hero-pillars { gap: 1rem; }
  .hero-pillars div span { display: none; }
  .hero-pillars strong { font-size: .88rem; padding-top: .1rem; }
  .hp-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 11px; }
  .hero-pillars li { align-items: center; }
  .hero-cta .btn-mp, .hero-cta .btn-mp-ghost { width: 100%; }
  .tabs-mp .nav-link { padding: .55rem .8rem; font-size: .8rem; }
  .ps-controls .btn-mp { padding: .8rem 1.1rem; font-size: .88rem; }
  .ps-controls .btn-mp i { display: none; }
  .gmp-badge { width: 78px; height: 90px; top: 1rem; left: 1rem; }
  .gmp-badge b { font-size: 1.1rem; }
  .gmp-badge span { font-size: .6rem; }
  .footer-bottom { flex-direction: column; }
}

/* -------------------------------------------------------------------------
   21. Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ps-track { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   22. Logo build animation (Philosophy section)
   Science → Quality → Trust bars rise one by one, blink once together,
   then the cube completes and the full Meddio logo is revealed.
   ------------------------------------------------------------------------- */
.logo-build { position: relative; margin: 0; text-align: center; }
.logo-build-svg { display: block; width: min(100%, 390px); height: auto; margin-inline: auto; overflow: visible; }
.lg-label line { stroke: rgba(255, 255, 255, .45); stroke-width: 6; stroke-dasharray: 14 14; }
.lg-label text { font-family: var(--ff-cond); font-weight: 600; font-size: 104px; letter-spacing: 18px; fill: #fff; text-anchor: middle; }
.lg-wordmark { fill: var(--mp-cyan); }
.lg-tagline { fill: #8FD6F5; }
.logo-build figcaption { max-width: 340px; margin: 1.5rem auto 0; font-size: .9rem; color: rgba(255, 255, 255, .58); }
.lb-replay {
  position: absolute; top: 0; right: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8);
  opacity: 0; transition: opacity .4s ease, background .3s;
}
.logo-build.is-done .lb-replay { opacity: 1; }
.lb-replay:hover { background: var(--mp-cyan); color: #fff; }

/* Waiting state (only when JS is running) */
.js .logo-build .lg-bar,
.js .logo-build .lg-label,
.js .logo-build .lg-side,
.js .logo-build .lg-wordmark,
.js .logo-build .lg-tagline { opacity: 0; }

.logo-build.is-playing .lg-bar   { animation: lbRise .75s var(--ease) both; }
.logo-build.is-playing .lg-label { animation: lbLabel .6s var(--ease) both; }
.logo-build.is-playing .lg-step1 .lg-bar   { animation-delay: .1s; }
.logo-build.is-playing .lg-step1 .lg-label { animation-delay: .45s; }
.logo-build.is-playing .lg-step2 .lg-bar   { animation-delay: 1.05s; }
.logo-build.is-playing .lg-step2 .lg-label { animation-delay: 1.4s; }
.logo-build.is-playing .lg-step3 .lg-bar   { animation-delay: 2s; }
.logo-build.is-playing .lg-step3 .lg-label { animation-delay: 2.35s; }
/* All three blink once together */
.logo-build.is-playing .lg-step { animation: lbBlink .8s ease-in-out 3.15s both; }
/* Then the cube completes and the wordmark + tagline come out */
.logo-build.is-playing .lg-side     { animation: lbSide .8s var(--ease) 4s both; }
.logo-build.is-playing .lg-wordmark { animation: lbWord .9s var(--ease) 4.45s both; }
.logo-build.is-playing .lg-tagline  { animation: lbWord .9s var(--ease) 4.85s both; }
.logo-build.is-playing .lg-cube     { animation: lbGlow 1.4s ease-out 4.2s both; }

@keyframes lbRise  { from { opacity: 0; transform: translateY(260px); } to { opacity: 1; transform: none; } }
@keyframes lbLabel { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes lbBlink {
  0%, 100% { opacity: 1; filter: none; }
  35% { opacity: .12; }
  65% { opacity: 1; filter: brightness(1.7) drop-shadow(0 0 40px rgba(0, 160, 227, .9)); }
}
@keyframes lbSide { from { opacity: 0; transform: translateX(240px); } to { opacity: 1; transform: none; } }
@keyframes lbWord { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes lbGlow { 0% { filter: none; } 40% { filter: drop-shadow(0 0 60px rgba(0, 160, 227, .55)); } 100% { filter: none; } }

/* Hero placement: the logo build sits on its own dark "stage" card (Nov 2026) */
.hero-logo { max-width: 540px; padding: 0; }
.logo-stage {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2.6rem, 5vw, 3.6rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--r-xl); background: var(--mp-navy); box-shadow: var(--sh-lg);
}
.logo-stage::before, .logo-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.logo-stage::before {
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(0, 160, 227, .26), transparent 70%),
    radial-gradient(55% 45% at 90% 100%, rgba(0, 96, 170, .45), transparent 70%);
}
.logo-stage::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.43' height='96' viewBox='0 0 34.64 60'%3E%3Cpath d='M17.32 0L34.64 10V30L17.32 40L0 30V10Z M17.32 40V60' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='.55'/%3E%3C/svg%3E");
  background-size: 55.43px 96px;
}
.logo-stage .logo-build-svg { width: min(100%, 340px); }
.logo-stage figcaption { margin-top: 1.1rem; }
.logo-stage .lb-replay { top: 1rem; right: 1rem; opacity: 1; }
.logo-stage .lb-replay[hidden] { display: none; }
@media (max-width: 575.98px) {
  .logo-stage .logo-build-svg { width: min(100%, 280px); }
  .logo-stage figcaption { font-size: .82rem; }
}

/* Philosophy placement of the photo cube (moved down from the hero) */
.philo-visual { max-width: 520px; }
.philo-visual .orbit { border-color: rgba(255, 255, 255, .16); }
.philo-visual .hex-frame { filter: drop-shadow(0 40px 46px rgba(0, 0, 0, .45)); }
.js .philo-visual[data-reveal] .hex-slice,
.js .philo-visual[data-reveal] .float-card { animation-play-state: paused; }

/* Real pack photos (white studio background) blend into the tinted card (Nov 2026) */
.p-media img.is-photo, .pd-media img.is-photo { mix-blend-mode: multiply; }
.p-media img.is-photo { width: 84%; max-height: 78%; }
.pd-media img.is-photo { width: 84%; max-height: 80%; object-fit: contain; transition: opacity .25s ease; }
.pd-thumbs { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .5rem; z-index: 2; }
.pd-thumb {
  width: 72px; height: 54px; padding: 4px; border-radius: 12px; background: #fff; border: 2px solid var(--mp-line);
  box-shadow: var(--sh-sm); transition: border-color .25s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.pd-thumb.is-active, .pd-thumb:hover { border-color: var(--mp-blue); }

/* Gallery page + lightbox (Nov 2026) */
.gallery-grid { columns: 3 300px; column-gap: 1.25rem; margin-top: 2rem; }
.g-item { break-inside: avoid; margin: 0 0 1.25rem; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--mp-line); box-shadow: var(--sh-sm); }
.g-item[hidden] { display: none; }
.g-link { position: relative; display: block; overflow: hidden; background: var(--mp-sky); }
.g-link img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; transition: transform .9s var(--ease); }
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.04); }
.g-zoom {
  position: absolute; right: .9rem; bottom: .9rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--mp-blue); box-shadow: var(--sh-md); opacity: 0; translate: 0 8px; transition: opacity .3s, translate .4s var(--ease);
}
.g-link:hover .g-zoom, .g-link:focus-visible .g-zoom { opacity: 1; translate: 0 0; }
@media (hover: none) { .g-zoom { opacity: 1; translate: 0 0; } }
.g-item figcaption { padding: .9rem 1.1rem 1rem; font-weight: 700; color: var(--mp-ink); font-size: .95rem; line-height: 1.35; }
.g-cat { display: block; margin-bottom: .2rem; font-family: var(--ff-cond); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-cyan); }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #041E3A; color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: #041E3A; }
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: 100%; padding: 4.5rem 0 1.5rem; }
.lb-figure img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.lb-figure figcaption { display: flex; gap: 1rem; align-items: baseline; justify-content: center; flex-wrap: wrap; margin-top: 1rem; font-weight: 600; text-align: center; }
.lb-count { font-family: var(--ff-cond); letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 clamp(.4rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.25rem; transition: background .25s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--mp-cyan); border-color: var(--mp-cyan); }
.lb-close { position: absolute; top: 1rem; right: 0; }
@media (max-width: 575.98px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-figure { grid-column: 1; grid-row: 1; padding: 4.5rem .75rem 5.5rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* -------------------------------------------------------------------------
   23. Quality visual (landscape photo at its natural ratio — no stretching)
   ------------------------------------------------------------------------- */
.quality-visual { position: relative; }
@media (min-width: 992px) { .quality-visual { position: sticky; top: 120px; } }
.qv-photo { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--mp-sky); }
.qv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.quality-visual:hover .qv-photo img { transform: scale(1.04); }
.quality-visual .gmp-badge { top: 1.1rem; left: 1.1rem; }
.promise-card {
  position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 1rem;
  width: min(450px, 92%); margin: -3.25rem 1.25rem 0 auto; padding: 1.35rem 1.5rem;
  border-radius: 22px; background: var(--mp-navy); color: #fff; box-shadow: var(--sh-lg);
}
.promise-card .promise-label { margin-bottom: .25rem; }
.qv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 0; }
.qv-facts li { padding: .9rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--mp-line); }
.qv-facts b { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--mp-blue); }
.qv-facts span { display: block; font-size: .78rem; line-height: 1.35; color: var(--mp-muted); margin-top: .15rem; }
@media (max-width: 575.98px) {
  .promise-card { width: auto; margin: -2rem .75rem 0; padding: 1.1rem 1.2rem; }
  .promise-text { font-size: 1.1rem; }
  .qv-facts { gap: .5rem; }
  .qv-facts li { padding: .7rem .75rem; }
  .qv-facts b { font-size: 1.05rem; }
}

/* -------------------------------------------------------------------------
   24. Inner pages
   ------------------------------------------------------------------------- */
/* Header sits on a solid bar on inner pages */
.is-inner .main-nav::before { opacity: 1; }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(2.5rem, 5vw, 4.25rem)) 0 clamp(3.25rem, 6vw, 5rem);
  background: linear-gradient(155deg, #0A3D72 0%, var(--mp-navy) 62%); color: rgba(255, 255, 255, .78);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 20%, rgba(0, 160, 227, .3), transparent 65%), radial-gradient(40% 60% at 5% 100%, rgba(0, 96, 170, .45), transparent 65%); }
.page-hero .hex-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.43' height='96' viewBox='0 0 34.64 60'%3E%3Cpath d='M17.32 0L34.64 10V30L17.32 40L0 30V10Z M17.32 40V60' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='.55'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); mask-image: linear-gradient(270deg, #000, transparent 70%);
}
.page-hero-mark { position: absolute; right: -40px; bottom: -80px; width: min(360px, 45vw); opacity: .1; --lm-c: #fff; --lm-b: #fff; --lm-g: #fff; --lm-gd: #fff; pointer-events: none; }
.page-title { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.7rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 700; max-width: 52rem; margin-bottom: 1.1rem; text-wrap: balance; }
.page-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 44rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: .85rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border: solid rgba(255, 255, 255, .45); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: .35rem; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] span { color: var(--mp-cyan-soft); }

.bg-surface { background: var(--mp-surface); }
.section-pad-sm { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

/* Long-form text */
.prose { color: var(--mp-body); }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6rem 0 .6rem; }
.prose strong { color: var(--mp-ink); }
.prose a { font-weight: 600; }

/* Photo with rounded corners + caption chip */
.media-frame { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--mp-sky); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-43 { aspect-ratio: 4 / 3; }
.media-frame.ratio-32 { aspect-ratio: 3 / 2; }
.media-frame.ratio-45 { aspect-ratio: 4 / 5; }
.media-chip {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 600; color: var(--mp-ink); box-shadow: var(--sh-sm);
}
.media-chip i { color: var(--mp-blue); font-size: 1.05rem; }

/* Two photos stacked with offset */
.duo-media { position: relative; padding: 0 0 12% 14%; }
.duo-media .media-frame:first-child { aspect-ratio: 4 / 3.3; }
.duo-media .media-frame.duo-sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 7px solid #fff; border-radius: var(--r-lg); }

/* Generic info card */
.info-card {
  height: 100%; padding: 1.7rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--mp-line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(0, 96, 170, .18); }
.info-card .ic-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--mp-sky); color: var(--mp-blue); font-size: 1.35rem; transition: background .3s, color .3s;
}
.info-card:hover .ic-icon { background: var(--mp-blue); color: #fff; }
.info-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .45rem; line-height: 1.35; }
.info-card p { margin: 0; font-size: .93rem; color: var(--mp-muted); }
.info-card .ic-num { float: right; font-family: var(--ff-serif); font-style: italic; font-size: 1.9rem; line-height: 1; color: rgba(0, 96, 170, .18); }
.info-card.is-dark { background: linear-gradient(155deg, #0A6BBB, var(--mp-blue) 40%, #023E70); border: 0; color: rgba(255, 255, 255, .78); }
.info-card.is-dark h3 { color: #fff; }
.info-card.is-dark p { color: rgba(255, 255, 255, .75); }
.info-card.is-dark .ic-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.info-card.is-dark .ic-num { color: rgba(255, 255, 255, .25); }

/* Statement band (vision / promise quotes) */
.statement {
  position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-xl);
  background: linear-gradient(135deg, #E3F3FD 0%, #F6FBFF 100%); border: 1px solid #D5EAF8;
}
.statement svg.st-mark { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .08; }
.statement blockquote { margin: 0; font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.35; color: var(--mp-ink); max-width: 56rem; }
.statement .st-label { display: block; margin-bottom: 1rem; font-family: var(--ff-cond); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; color: var(--mp-blue); }

/* Value cards */
.value-card { position: relative; height: 100%; padding: 1.8rem 1.7rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--mp-line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.value-card::after { content: ""; position: absolute; right: -26px; bottom: -30px; width: 110px; aspect-ratio: .866; background: var(--mp-sky); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform .8s var(--ease); }
.value-card:hover::after { transform: rotate(30deg) scale(1.1); }
.value-card > * { position: relative; z-index: 1; }
.value-card .vc-icon { font-size: 1.6rem; color: var(--mp-blue); }
.value-card h3 { font-size: 1.25rem; font-weight: 700; margin: .9rem 0 .5rem; }
.value-card p { margin: 0; color: var(--mp-muted); font-size: .95rem; }

/* Stat strip (light) */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--mp-line); border-radius: var(--r-lg); background: #fff; }
.stat-strip > div { padding: 1.6rem 1.5rem; }
.stat-strip > div + div { border-left: 1px solid var(--mp-line); }
.stat-strip b { display: block; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--mp-blue); }
.stat-strip span { display: block; margin-top: .5rem; font-size: .86rem; color: var(--mp-muted); line-height: 1.45; }
@media (max-width: 767.98px) {
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip > div:nth-child(3) { border-left: 0; }
  .stat-strip > div:nth-child(n+3) { border-top: 1px solid var(--mp-line); }
}

/* Mini navigation between related pages */
.sibling-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.sibling-nav a {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: 18px; background: #fff; border: 1px solid var(--mp-line);
  color: var(--mp-ink); font-weight: 700; text-decoration: none; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.sibling-nav a i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--mp-sky); color: var(--mp-blue); }
.sibling-nav a small { display: block; font-weight: 500; font-size: .8rem; color: var(--mp-muted); }
.sibling-nav a:hover { border-color: var(--mp-blue); transform: translateY(-3px); box-shadow: var(--sh-md); color: var(--mp-blue); }
.sibling-nav a .arrow { margin-left: auto; width: auto; height: auto; background: none; }

/* CTA band */
.cta-band { padding: 0 0 clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem 3rem;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.4rem); border-radius: var(--r-xl);
  background: linear-gradient(140deg, #0B5FA6 0%, #073C70 55%, var(--mp-navy) 100%); color: rgba(255, 255, 255, .78); box-shadow: var(--sh-lg);
}
.cta-mark { position: absolute; right: 18%; top: -60px; width: 260px; opacity: .1; --lm-c: #fff; --lm-b: #fff; --lm-g: #fff; --lm-gd: #fff; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.03em; font-weight: 700; margin-bottom: .6rem; }
.cta-card p { margin: 0; max-width: 36rem; }
.cta-actions { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.btn-mp-light { background: #fff; color: var(--mp-blue); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-mp-light::before { background: linear-gradient(90deg, #fff, #E3F3FD); }
.btn-mp-light:hover { color: var(--mp-blue); }
.cta-phone { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; text-decoration: none; }
.cta-phone i { color: var(--mp-cyan); }
.cta-phone:hover { color: var(--mp-cyan-soft); }
@media (max-width: 767.98px) { .cta-card { grid-template-columns: 1fr; } }

/* Forms (all pages) */
.mp-form { position: relative; }
.mp-form .form-control, .mp-form .form-select {
  border-radius: 14px; border-color: var(--mp-line); background-color: var(--mp-surface); color: var(--mp-ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.mp-form .form-control:focus, .mp-form .form-select:focus { border-color: var(--mp-blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 96, 170, .12); }
.mp-form .form-floating > label { color: var(--mp-muted); }
.mp-form .form-label { font-weight: 600; font-size: .9rem; color: var(--mp-ink); }
.mp-form .form-text { font-size: .8rem; color: var(--mp-muted); }
.mp-form input[type="file"].form-control { padding: .85rem 1rem; }
.mp-form .form-check-input:checked { background-color: var(--mp-blue); border-color: var(--mp-blue); }
.form-card { padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--mp-line); box-shadow: var(--sh-md); }
.form-card > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .4rem; }
.form-card > p { color: var(--mp-muted); margin-bottom: 1.6rem; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: #FDECEC; color: #A12A2A; font-size: .9rem; font-weight: 500; }
.form-error[hidden] { display: none; }
.btn-mp[disabled] { opacity: .7; pointer-events: none; }
.form-card .form-success { border-radius: var(--r-xl); }

/* Products page */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.filter-chips button, .filter-chips a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 100px; border: 1px solid var(--mp-line);
  background: #fff; color: var(--mp-ink); font-weight: 600; font-size: .86rem; text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.filter-chips .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--mp-blue)); }
.filter-chips button:hover, .filter-chips a:hover { border-color: var(--mp-blue); color: var(--mp-blue); }
.filter-chips .is-active { background: var(--mp-blue); border-color: var(--mp-blue); color: #fff !important; }
.filter-chips .is-active .dot { background: #fff; }
.filter-chips .count { font-size: .75rem; opacity: .7; }
.catalog-search { position: relative; flex: 0 1 320px; }
.catalog-search input { width: 100%; padding: .8rem 1rem .8rem 2.8rem; border-radius: 100px; border: 1px solid var(--mp-line); background: #fff; font-size: .95rem; }
.catalog-search input:focus { outline: none; border-color: var(--mp-blue); box-shadow: 0 0 0 4px rgba(0, 96, 170, .12); }
.catalog-search i { position: absolute; left: 1.05rem; top: 50%; translate: 0 -50%; color: var(--mp-muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.5rem; }
.product-grid .p-card { flex: none; }
.product-grid .p-card[hidden] { display: none; }
.catalog-empty { padding: 3rem 1rem; text-align: center; color: var(--mp-muted); }
.catalog-empty[hidden] { display: none; }
.catalog-count { font-size: .9rem; color: var(--mp-muted); margin: 0 0 1.25rem; }
.pack-slot { position: relative; display: block; width: 88%; aspect-ratio: 260 / 220; }
.pack-slot .p-pack, .pack-slot svg { width: 100%; height: 100%; }
.p-media .pack-slot { transition: transform .7s var(--ease); }
.p-card:hover .p-media .pack-slot { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.p-card:hover .p-media .pack-slot .p-pack { transform: none; }

/* Product details */
.pd-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1.08; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 95% at 50% 100%, color-mix(in srgb, var(--pc) 22%, #fff) 0%, #F6F9FC 64%); border: 1px solid var(--mp-line);
}
.pd-media::before { content: ""; position: absolute; top: 8%; left: 50%; width: 64%; aspect-ratio: .866; translate: -50% 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: color-mix(in srgb, var(--pc) 10%, transparent); }
.pd-media .pack-slot, .pd-media img { width: 86%; }
.pd-cat { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 100px; background: #fff; border: 1px solid var(--mp-line); font-size: .8rem; font-weight: 700; color: var(--mp-ink); text-decoration: none; }
.pd-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.pd-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; margin: 1rem 0 .8rem; }
.pd-desc { font-size: 1.07rem; margin-bottom: 1.6rem; }
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 1.8rem; border: 1px solid var(--mp-line); border-radius: 18px; overflow: hidden; background: #fff; }
.spec-table > div { padding: .95rem 1.15rem; border-bottom: 1px solid var(--mp-line); }
.spec-table > div:nth-child(odd) { border-right: 1px solid var(--mp-line); }
.spec-table > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-table dt { font-family: var(--ff-cond); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-muted); }
.spec-table dd { margin: .2rem 0 0; font-weight: 600; color: var(--mp-ink); }
.spec-table .span-2 { grid-column: 1 / -1; border-right: 0 !important; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pd-note { display: flex; gap: .6rem; margin-top: 1.6rem; padding: 1rem 1.15rem; border-radius: 14px; background: var(--mp-surface); border: 1px solid var(--mp-line); font-size: .85rem; color: var(--mp-muted); }
.pd-note i { color: var(--mp-blue); }
.pd-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--mp-line); }
.pd-nav a { display: inline-flex; align-items: center; gap: .6rem; max-width: 48%; font-weight: 600; color: var(--mp-ink); text-decoration: none; font-size: .92rem; }
.pd-nav a:hover { color: var(--mp-blue); }
.pd-nav small { display: block; font-size: .75rem; color: var(--mp-muted); font-weight: 500; }

/* Manufacturer / capability tiles */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.cap-grid li { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.15rem; border-radius: 18px; background: #fff; border: 1px solid var(--mp-line); font-weight: 700; color: var(--mp-ink); }
.cap-grid i { font-size: 1.4rem; color: var(--mp-blue); }
.partner-profile { height: 100%; padding: 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--mp-line); }
.partner-profile h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.partner-profile .pp-loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--mp-muted); margin-bottom: 1rem; }
.partner-profile dl { margin: 0; display: grid; gap: .7rem; }
.partner-profile dt { font-family: var(--ff-cond); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-blue); }
.partner-profile dd { margin: 0; font-size: .92rem; color: var(--mp-ink); }
.notice-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px dashed #BFD6EA; }
.notice-card i { font-size: 1.5rem; color: var(--mp-blue); }
.notice-card p { margin: 0; }

/* Careers */
.role-list { display: grid; gap: .9rem; }
.role-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--mp-line);
  transition: border-color .3s, box-shadow .35s, transform .35s var(--ease);
}
.role-item:hover { border-color: rgba(0, 96, 170, .25); box-shadow: var(--sh-md); transform: translateY(-2px); }
.role-item > i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mp-sky); color: var(--mp-blue); font-size: 1.25rem; }
.role-item h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 .2rem; }
.role-item p { margin: 0; font-size: .88rem; color: var(--mp-muted); }
.role-item .role-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; padding: 0; list-style: none; }
.role-item .role-tags li { padding: .2rem .65rem; border-radius: 100px; background: var(--mp-surface); font-size: .74rem; font-weight: 600; color: var(--mp-body); }
.role-apply { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--mp-blue); text-decoration: none; white-space: nowrap; }
@media (max-width: 575.98px) { .role-item { grid-template-columns: auto 1fr; } .role-apply { grid-column: 2; } }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--mp-line); }
.contact-card > i { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mp-blue), var(--mp-cyan)); color: #fff; font-size: 1.2rem; }
.contact-card h2, .contact-card h3 { font-family: var(--ff-cond); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-muted); margin: 0 0 .25rem; }
.contact-card a, .contact-card p { display: block; margin: 0; font-weight: 700; color: var(--mp-ink); text-decoration: none; word-break: break-word; }
.cc-offices { display: grid; gap: 1.25rem; min-width: 0; }
.contact-card.cc-wide { grid-column: span 2; }
.contact-card.cc-wide .cc-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 767.98px) { .contact-card.cc-wide { grid-column: auto; } .contact-card.cc-wide .cc-offices { grid-template-columns: 1fr; } }
.contact-card .cc-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .85rem; color: var(--mp-blue); }
.contact-card .cc-link:hover { color: var(--mp-cyan); }
.contact-card a:hover { color: var(--mp-blue); }
.map-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--mp-line); box-shadow: var(--sh-md); aspect-ratio: 16 / 7; background: var(--mp-sky); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767.98px) { .map-frame { aspect-ratio: 4 / 3; } }

/* Brand update article */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: 1.4rem; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.article-meta .news-cat { position: static; }
.article-cover { margin: 0 0 2rem; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8.5; box-shadow: var(--sh-md); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-card { padding: 1.5rem; border-radius: var(--r-lg); background: var(--mp-surface); border: 1px solid var(--mp-line); }
.side-card + .side-card { margin-top: 1.25rem; }
.side-card h2 { font-family: var(--ff-cond); font-weight: 600; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-blue); margin-bottom: 1rem; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.side-list a { display: block; font-weight: 600; color: var(--mp-ink); text-decoration: none; line-height: 1.4; }
.side-list a:hover { color: var(--mp-blue); }
.side-list time { display: block; font-size: .78rem; color: var(--mp-muted); margin-top: .2rem; }
@media (min-width: 992px) { .sticky-lg { position: sticky; top: 120px; } }
.share-row { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--mp-line); font-weight: 600; color: var(--mp-ink); }
.share-row a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mp-line); color: var(--mp-blue); text-decoration: none; }
.share-row a:hover { background: var(--mp-blue); color: #fff; border-color: var(--mp-blue); }

/* 404 */
.error-hero { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--topbar-h) + var(--header-h) + 3rem) 0 4rem; }
.error-hero .err-code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(90deg, var(--mp-blue), var(--mp-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Values pill link on home */
.values-more { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--mp-blue); text-decoration: none; }

@media (max-width: 575.98px) {
  .approach-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .approach-grid li { padding: .85rem .85rem .9rem; font-size: .86rem; }
  .ag-num { font-size: 1.2rem; top: .65rem; right: .7rem; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-table > div:nth-child(odd) { border-right: 0; }
  .spec-table > div:nth-last-child(2) { border-bottom: 1px solid var(--mp-line); }
  .duo-media { padding: 0 0 16% 8%; }
  .catalog-search { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .logo-build .lg-bar, .js .logo-build .lg-label, .js .logo-build .lg-side,
  .js .logo-build .lg-wordmark, .js .logo-build .lg-tagline { opacity: 1; }
  .logo-build * { animation: none !important; }
}
.mini-head { font-family: var(--ff-cond); font-weight: 600; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-blue); margin: 1.75rem 0 1rem; }

/* Step cards (How We Work) */
.step-cards { position: relative; display: grid; gap: 1rem; margin: 0; }
.step-cards::before { content: ""; position: absolute; left: 29px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--mp-cyan), var(--mp-blue)); opacity: .35; }
.step-card { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; align-items: start; }
.step-card > div { padding: 1.2rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--mp-line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.step-card:hover > div { box-shadow: var(--sh-md); transform: translateX(4px); }
.sc-icon { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--mp-blue), var(--mp-cyan)); color: #fff; font-size: 1.35rem; box-shadow: 0 0 0 7px var(--mp-surface), var(--sh-md); }
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin: .25rem 0 .35rem; }
.step-card p { margin: 0; color: var(--mp-muted); font-size: .95rem; }
@media (max-width: 575.98px) {
  .step-cards::before { left: 23px; }
  .step-card { grid-template-columns: 48px 1fr; gap: .9rem; padding-right: 0; }
  .sc-icon { width: 48px; height: 48px; font-size: 1.1rem; }
}

/* Why section header: copy left, proof panel right (fills the empty top-right area) */
.why-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 2rem clamp(2rem, 5vw, 4.5rem); margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.why-head-text .lead-text { max-width: 30rem; color: var(--mp-muted); }
.proof-panel {
  position: relative; overflow: hidden; padding: 1.6rem 1.7rem; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #E9F5FD 0%, #F7FBFF 100%); border: 1px solid #D5EAF8;
}
.proof-mark { position: absolute; right: -26px; top: -30px; width: 150px; opacity: .07; }
.proof-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1.3rem; }
.proof-stats li { padding: .2rem 1rem; }
.proof-stats li:first-child { padding-left: 0; }
.proof-stats li + li { border-left: 1px solid #CFE3F2; }
.proof-stats b { display: block; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--mp-blue); }
.proof-stats span { display: block; margin-top: .45rem; font-size: .82rem; line-height: 1.35; color: var(--mp-muted); }
.proof-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding-top: 1.2rem; border-top: 1px solid #CFE3F2; }
.proof-foot p { flex: 1 1 180px; margin: 0; font-size: .9rem; font-weight: 600; color: var(--mp-ink); line-height: 1.4; }
.proof-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--mp-blue); text-decoration: none; white-space: nowrap; }
.proof-link:hover { color: var(--mp-navy); }
@media (max-width: 991.98px) { .why-head { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .proof-panel { padding: 1.3rem 1.2rem; }
  .proof-stats li { padding: .1rem .65rem; }
  .proof-stats span { font-size: .74rem; }
}

/* Section headers: keep heading and side text on one row on laptop widths */
.section-head-text { flex: 1 1 520px; }
.section-head-aside { flex: 0 1 24rem; }

/* =========================================================================
   20. Dosage forms, production line & manufacturing partners (Nov 2026)
   ========================================================================= */
.forms-sec { position: relative; overflow: hidden; }

/* --- Production line --- */
.pl-card {
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem); padding: clamp(1rem, 2.4vw, 2rem);
  border-radius: var(--r-xl); background: linear-gradient(180deg, #fff 0%, #F7FBFF 100%);
  border: 1px solid var(--mp-line); box-shadow: var(--sh-sm);
}
.pl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .5rem; }
.pl-live { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--ff-cond); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-ink); }
.pl-note { font-size: .8rem; color: var(--mp-muted); }
.pl-svg { display: block; width: 100%; height: auto; }
.pl-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 0; }
.pl-steps li { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border-radius: 14px; background: var(--mp-surface); font-weight: 600; font-size: .88rem; line-height: 1.3; color: var(--mp-ink); }
.pl-steps b { font-family: var(--ff-cond); font-size: 1.1rem; font-weight: 700; color: var(--mp-cyan); }

.pl-punch   { animation: plPunch 1.2s ease-in-out infinite; }
.pl-tablets { animation: plIndex 1.2s ease-in-out infinite; }
.pl-belt    { animation: plBelt 1.2s ease-in-out infinite; }
.pl-roller  { transform-box: fill-box; transform-origin: center; animation: spin 1.2s linear infinite; }
.pl-gran    { animation: plGran 1.2s linear infinite; animation-delay: calc(var(--i) * -.3s); }
.pl-blink   { animation: plBlink 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.4s); }
.pl-beam    { animation: plBeam 1.2s ease-in-out infinite; }
.pl-scan    { animation: plScan 1.2s linear infinite; }
.pl-ring    { transform-box: fill-box; transform-origin: center; animation: pulse 1.2s ease-out infinite; }
.pl-roll    { transform-box: fill-box; transform-origin: center; animation: spin 3s linear infinite; }
.pl-press2  { animation: plSeal 1.2s ease-in-out infinite; }
.pl-strips  { animation: plStrip 2.4s ease-in-out infinite; }
.pl-flap    { transform-box: fill-box; transform-origin: 0 100%; animation: plFlap 2.4s ease-in-out infinite; }
.pl-done    { transform-box: fill-box; transform-origin: center; animation: plDone 2.4s ease-out infinite; }

@keyframes plPunch { 0%, 4% { transform: translateY(0); } 16%, 24% { transform: translateY(24px); } 36%, 100% { transform: translateY(0); } }
@keyframes plIndex { 0%, 36% { transform: translateX(0); } 92%, 100% { transform: translateX(40px); } }
@keyframes plBelt  { 0%, 36% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: -40; } }
@keyframes plGran  { 0% { transform: translateY(0); opacity: 0; } 10%, 88% { opacity: 1; } 100% { transform: translateY(104px); opacity: 0; } }
@keyframes plBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes plBeam  { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes plScan  { 0% { transform: translateY(0); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateY(60px); opacity: 0; } }
@keyframes plSeal  { 0%, 40% { transform: translateY(0); } 55%, 65% { transform: translateY(8px); } 80%, 100% { transform: translateY(0); } }
@keyframes plStrip { 0%, 40% { transform: translateX(0); } 90%, 100% { transform: translateX(80px); } }
@keyframes plFlap  { 0% { transform: rotate(0); } 20%, 88% { transform: rotate(-24deg); } 96%, 100% { transform: rotate(0); } }
@keyframes plDone  { 0%, 88% { transform: translateY(6px); opacity: 0; } 94% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }

/* --- Dosage form cards --- */
.df-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.df-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.3rem 1rem 1rem;
  border-radius: 22px; background: #fff; border: 1px solid var(--mp-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.df-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #CFE3F2; }
.df-art { flex: none; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 20px; background: radial-gradient(circle at 50% 42%, #fff 0, #EAF4FC 72%); }
.df-svg { width: 94px; height: 94px; overflow: visible; }
.df-copy h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; }
.df-copy p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--mp-muted); }

.df-fall    { animation: dfFall 4.2s var(--ease) infinite both; animation-delay: calc(var(--i) * var(--step, .2s)); }
.df-bob     { transform-box: fill-box; transform-origin: center; animation: dfBob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
.df-twinkle { transform-box: fill-box; transform-origin: center; animation: dfTwinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.dfc-cap    { animation: dfcCap 3.6s ease-in-out infinite; }
.dfc-gran   { animation: dfcGran 3.6s ease-out infinite; }
.dfs-wave   { animation: dfsWave 1.8s linear infinite; }
.dfs-level  { animation: dfsLevel 4s ease-in-out infinite; }
.dfs-bub    { animation: dfsBub 2.4s ease-in infinite; animation-delay: calc(var(--i) * .75s); }
.dfi-plunger { animation: dfiPlunger 3.4s ease-in-out infinite; }
.dfi-liq    { transform-box: fill-box; transform-origin: 100% 50%; animation: dfiLiq 3.4s ease-in-out infinite; }
.dfi-drop   { transform-box: fill-box; transform-origin: 50% 0; animation: dfiDrop 3.4s ease-in infinite; }
.dfo-tube   { transform-box: fill-box; transform-origin: center; animation: dfoTube 4s ease-in-out infinite; }
.dfo-rib    { stroke-dasharray: 100; animation: dfoRib 4s ease-in-out infinite; }
.dfj-lid    { transform-box: fill-box; transform-origin: 0 100%; animation: dfjLid 4s var(--ease) infinite; }
.dfj-swirl  { transform-box: fill-box; transform-origin: 50% 100%; animation: dfjSwirl 4s var(--ease) infinite; }
.dfe-bottle { transform-box: fill-box; transform-origin: center; animation: dfeSqueeze 3.2s ease-in-out infinite; }
.dfe-drop   { transform-box: fill-box; transform-origin: 50% 0; animation: dfeDrop 3.2s ease-in infinite; }
.dfe-ripple { transform-box: fill-box; transform-origin: center; animation: dfeRipple 3.2s ease-out infinite; }
.dfe-eye    { transform-box: fill-box; transform-origin: center; animation: dfeBlink 3.2s ease-in-out infinite; }

@keyframes dfFall {
  0% { transform: translateY(var(--dy, -46px)); opacity: 0; }
  6% { opacity: 1; }
  16% { transform: translateY(0); }
  20% { transform: translateY(-4px); }
  24%, 80% { transform: translateY(0); opacity: 1; }
  90%, 100% { transform: translateY(0); opacity: 0; }
}
@keyframes dfBob     { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes dfTwinkle { 0%, 100% { transform: scale(.4); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }
@keyframes dfcCap    { 0%, 18% { transform: translateX(0); } 34%, 62% { transform: translateX(-16px); } 78%, 100% { transform: translateX(0); } }
@keyframes dfcGran   { 0%, 30% { transform: translate(0, 0); opacity: 0; } 36% { opacity: 1; } 62% { transform: translate(-10px, -18px); opacity: 0; } 100% { opacity: 0; } }
@keyframes dfsWave   { to { transform: translateX(-40px); } }
@keyframes dfsLevel  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes dfsBub    { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-30px); opacity: 0; } }
@keyframes dfiPlunger { 0%, 12% { transform: translateX(0); } 55%, 70% { transform: translateX(25px); } 92%, 100% { transform: translateX(0); } }
@keyframes dfiLiq    { 0%, 12% { transform: scaleX(1); } 55%, 70% { transform: scaleX(.39); } 92%, 100% { transform: scaleX(1); } }
@keyframes dfiDrop   { 0%, 28% { transform: translateY(0) scale(0); opacity: 0; } 36%, 50% { transform: translateY(0) scale(1); opacity: 1; } 68% { transform: translateY(32px) scale(.8); opacity: 0; } 100% { opacity: 0; } }
@keyframes dfoTube   { 0%, 10% { transform: scaleY(1); } 25%, 50% { transform: scaleY(.88); } 65%, 100% { transform: scaleY(1); } }
@keyframes dfoRib    { 0%, 12% { stroke-dashoffset: 100; opacity: 1; } 55%, 82% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dfjLid    { 0%, 15% { transform: none; } 35%, 70% { transform: translate(4px, -22px) rotate(-16deg); } 88%, 100% { transform: none; } }
@keyframes dfjSwirl  { 0%, 25% { transform: scale(.4); opacity: 0; } 42%, 72% { transform: scale(1); opacity: 1; } 82%, 100% { transform: scale(.4); opacity: 0; } }
@keyframes dfeSqueeze { 0%, 8% { transform: scaleX(1); } 18% { transform: scaleX(.9); } 30%, 100% { transform: scaleX(1); } }
@keyframes dfeDrop   { 0%, 10% { transform: scale(0); opacity: 0; } 24%, 30% { transform: translateY(0) scale(1); opacity: 1; } 46% { transform: translateY(26px) scale(1); opacity: 1; } 47%, 100% { transform: translateY(26px); opacity: 0; } }
@keyframes dfeRipple { 0%, 45% { transform: scale(.3); opacity: 0; } 48% { opacity: 1; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes dfeBlink  { 0%, 50% { transform: scaleY(1); } 55% { transform: scaleY(.12); } 60%, 100% { transform: scaleY(1); } }

/* Animations only run on screen; nothing moves for reduced-motion visitors */
.js [data-anim]:not(.is-playing) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] * { animation: none !important; }
  .dfe-ripple, .dfc-gran, .pl-done, .pl-gran { opacity: 0; }
}

/* --- Manufacturing partners --- */
.mfg-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 0; }
.mfg-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--mp-line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.mfg-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #CFE3F2; }
.mfg-logo { position: relative; display: grid; place-items: center; height: 150px; padding: 1rem 1.5rem; background: linear-gradient(135deg, #F4F8FC 0%, #E8F4FC 100%); border-bottom: 1px solid var(--mp-line); }
.mfg-logo.has-logo { background: #fff; }
.mfg-logo.has-logo .mfg-mono { display: none; }
.mfg-logo.logo-failed { background: linear-gradient(135deg, #F4F8FC 0%, #E8F4FC 100%); }
.mfg-logo.logo-failed .mfg-mono { display: grid; }
.mfg-logo img { width: auto; height: auto; max-width: 74%; max-height: 76px; object-fit: contain; transition: transform .5s var(--ease); }
.mfg-card:hover .mfg-logo img { transform: scale(1.05); }
.mfg-mono {
  display: grid; place-items: center; width: 74px; height: 84px; color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(135deg, var(--mp-blue) 0%, var(--mp-cyan) 100%);
  font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; transition: transform .6s var(--ease);
}
.mfg-card:hover .mfg-mono { transform: rotate(-8deg) scale(1.06); }
.mfg-num { position: absolute; top: .85rem; left: 1.1rem; font-family: var(--ff-cond); font-weight: 600; font-size: .9rem; letter-spacing: .12em; color: var(--mp-muted); }
.mfg-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.35rem 1.3rem; }
.mfg-body h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.mfg-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--mp-blue); text-decoration: none; }
.mfg-link:hover { color: var(--mp-navy); }
.mfg-link:hover i { transform: translate(2px, -2px); }
.mfg-link i { transition: transform .3s var(--ease); }
.mfg-link.is-plain { color: var(--mp-muted); font-weight: 500; }
.mfg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--mp-line); }
.mfg-foot p { margin: 0; max-width: 40rem; color: var(--mp-muted); font-size: .95rem; }

@media (max-width: 991.98px) {
  .pl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .df-grid, .mfg-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .pl-note { display: none; }
  .pl-steps { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .pl-steps li { padding: .55rem .7rem; font-size: .8rem; }
  .df-grid { gap: .7rem; }
  .df-card { flex-direction: column; align-items: flex-start; gap: .7rem; padding: .8rem; }
  .df-art { width: 100%; height: 108px; }
  .df-copy h3 { font-size: 1rem; }
  .df-copy p { font-size: .8rem; }
  .mfg-partners { gap: .7rem; }
  .mfg-logo { height: 108px; }
  .mfg-mono { width: 56px; height: 64px; font-size: 1rem; }
  .mfg-body { padding: .85rem .9rem 1rem; }
  .mfg-body h3 { font-size: .95rem; }
  .mfg-link { font-size: .74rem; white-space: nowrap; }
  .mfg-link i { display: none; }
}
@media (max-width: 991.98px) {
  .df-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .df-card:last-child:nth-child(odd) { flex-direction: row; align-items: center; }
  .df-card:last-child:nth-child(odd) .df-art { width: 108px; }
}

.pl-swipe { display: none; }
@media (max-width: 767.98px) {
  .pl-stage { overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 2.4vw, 2rem)); padding-inline: clamp(1rem, 2.4vw, 2rem); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pl-stage::-webkit-scrollbar { display: none; }
  .pl-svg { width: 680px; max-width: none; }
  .pl-swipe { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; color: var(--mp-blue); }
}
