/* ============================================================

   DP METAL CAST — v2 "THE LINE"
   Horizontal-scroll brand site. The page travels sideways the
   way a profile travels down the runout table: one continuous
   line runs through every panel, glowing where the metal is hot.
   Illustration language: technical drafting (Jindal-flavoured).
   ============================================================ */
/* ---------- brand font (client-supplied) ---------- */

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansExtralight.otf")
    format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansLight.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansRegular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansRegularItalic.otf")
    format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansMedium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Associate Sans";
  src: url("../assets/fonts/associate-sans/AssociateSansBold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --draft: #f7f6f2;
  /* drafting paper */
  --draft-2: #efede6;
  --ink: #16202b;
  --navy: #224161;
  /* DP brand, all linework */
  --navy-soft: #7f98b0;
  --hot: #e8a33d;
  /* amber: only where metal is hot */
  --hot-deep: #c4762a;
  --rule: rgba(44, 74, 104, 0.16);
  --rule-soft: rgba(44, 74, 104, 0.08);
  --font: "Associate Sans", "Helvetica Neue", Arial, sans-serif;
  --line-y: 63%;
  /* the constant Y of THE LINE */
  --pad: clamp(24px, 4.2vw, 84px);
}

@media (max-width: 360px) {
  :root {
    --pad: 16px;
  }
}

@media (max-width: 300px) {
  :root {
    --pad: 12px;
  }
  .brand__tagline {
    display: none;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--draft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--navy);
  color: var(--draft);
}

/* paper texture + blueprint grid, fixed behind everything */

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--draft);
}

/* paper texture on its own layer so it can be faded */

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/bg.png") center / cover no-repeat;
  opacity: 0.5;
}

/* edge vignette over the blueprint grid lines */

.grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse at 50% 50%,
      transparent 40%,
      rgba(233, 231, 223, 0.75) 100%
    ),
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size:
    auto,
    88px 88px,
    88px 88px;
}

/* ---------- type ---------- */

.display {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.015em;
}

.d-xl {
  font-size: clamp(46px, 7.2vw, 128px);
}

.d-lg {
  font-size: clamp(38px, 5.4vw, 92px);
}

.d-md {
  font-size: clamp(26px, 3.1vw, 54px);
}

.d-sm {
  font-size: clamp(19px, 1.7vw, 28px);
}

.station {
  font-size: clamp(10px, 0.78vw, 12.5px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
}

.lede {
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.6;
  max-width: 34em;
  color: rgba(22, 32, 43, 0.72);
}

.body-s {
  font-size: clamp(13px, 0.92vw, 13px);
  line-height: 1.62;
  color: rgba(22, 32, 43, 0.66);
}

.hot {
  color: var(--hot-deep);
}

.navy {
  color: var(--navy);
}

/* masked line reveal.

   The padding/negative-margin pair gives descenders room so `overflow:hidden`
   clips the reveal, never the letterforms. */
.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.mask-line > span {
  display: inline-block;
  will-change: transform;
}

/* ---------- chrome: header, index, progress ---------- */

.chrome {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.chrome > * {
  pointer-events: auto;
}

/* subdue page content scrolling behind the fixed top nav so the logo,

   brand, quote button and menu toggle stay clearly legible */
.chrome::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(96px, 13vh, 170px);
  background: linear-gradient(
    to bottom,
    var(--draft) 0%,
    rgba(247, 246, 242, 0.82) 55%,
    rgba(247, 246, 242, 0) 100%
  );
  pointer-events: none;
}

/* while the fullscreen menu is open, raise the whole fixed chrome above

   it (so the Close control stays reachable) and hide the nav pieces
   that would otherwise float awkwardly over the dark menu overlay */
body.menu-open .chrome,
body.menu-closing .chrome {
  z-index: 70;
}

body.menu-open .chrome::before,
body.menu-closing .chrome::before,
body.menu-open .index,
body.menu-closing .index,
body.menu-open .rail-progress,
body.menu-closing .rail-progress,
body.menu-open .scroll-hint,
body.menu-closing .scroll-hint,
body.menu-open .back-top,
body.menu-closing .back-top,
body.menu-open .top-right .btn--hot,
body.menu-closing .top-right .btn--hot,
body.menu-open .top-right .btn--products,
body.menu-closing .top-right .btn--products,
body.menu-open .top-right .btn--careers,
body.menu-closing .top-right .btn--careers,
body.menu-open .top-right .social-group,
body.menu-closing .top-right .social-group,
body.menu-open .top-right .social-icon,
body.menu-closing .top-right .social-icon {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

/* Logo and brand text sit over the dark menu overlay once open or closing, so swap

   the mark to white and lighten the text for contrast */
body.menu-open .brand img,
body.menu-closing .brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

body.menu-open .brand__name,
body.menu-closing .brand__name,
body.menu-open .brand__tagline,
body.menu-closing .brand__tagline {
  color: var(--draft);
  transition: color 0.3s ease;
}

/* Header buttons sit over the dark menu overlay once open or closing, so swap them to

   light-on-dark for contrast */
body.menu-open .top-right .btn,
body.menu-closing .top-right .btn {
  border-color: var(--draft);
  color: var(--draft);
  transition:
    color 0.25s,
    border-color 0.25s;
}

body.menu-open .top-right .btn::before,
body.menu-closing .top-right .btn::before {
  background: var(--draft);
}

body.menu-open .top-right .btn:hover,
body.menu-closing .top-right .btn:hover {
  color: var(--ink);
}

.brand {
  position: absolute;
  top: clamp(18px, 2.2vw, 30px);
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 11px;
  mix-blend-mode: normal;
}

.brand img {
  height: clamp(30px, 2.6vw, 40px);
  width: auto;
  aspect-ratio: 756 / 717;
  object-fit: contain;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.brand__logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__tooltip {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(34, 65, 97, 0.22);
  z-index: 1000;
}

.brand__tooltip::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--navy);
}

.brand:hover .brand__tooltip,
.brand__logo-wrap:hover .brand__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

body.menu-open .brand__tooltip {
  background: var(--draft);
  color: var(--ink);
}

body.menu-open .brand__tooltip::before {
  background: var(--draft);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__name {
  font-weight: 700;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand__tagline {
  font-weight: 500;
  font-size: clamp(8.5px, 0.65vw, 10.5px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.top-right {
  position: absolute;
  top: clamp(18px, 2.2vw, 30px);
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ============================================================

   SOCIAL MEDIA BUTTON GROUP (.social-group)
   Segmented group with seamless shared 1px borders & zero gap
   ============================================================ */
.social-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  vertical-align: middle;
}

/* square icon links, sized to match .btn--sm */

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 37px;
  height: 37px;
  border: 1px solid var(--rule);
  color: var(--navy);
  background: transparent;
  position: relative;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease,
    transform 0.15s ease;
}

.social-icon svg,
.social-icon img {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  pointer-events: none;
  user-select: none;
  transition: filter 0.25s ease;
}

.social-group .social-icon {
  margin-left: -1px;
}

.social-group .social-icon:first-child {
  margin-left: 0;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--hot-deep);
  border-color: var(--hot-deep);
  z-index: 2;
  background: rgba(224, 78, 45, 0.05);
}

.social-icon:hover img,
.social-icon:focus-visible img {
  filter: brightness(0) saturate(100%) invert(38%) sepia(87%) saturate(2250%)
    hue-rotate(345deg) brightness(92%) contrast(92%);
}

.social-icon:active {
  transform: scale(0.96);
  z-index: 2;
}

.social-icon:focus-visible {
  outline: 2px solid var(--hot-deep);
  outline-offset: 1px;
}

/* the menu overlay is dark; hide the icons there like the quote button */

body.menu-open .top-right .social-group,
body.menu-closing .top-right .social-group,
body.menu-open .top-right .social-icon,
body.menu-closing .top-right .social-icon {
  opacity: 0;
  pointer-events: none;
}

/* index of stations */

.index {
  position: absolute;
  top: 50%;
  right: var(--pad);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
  /* subtle frosted panel: content behind stays visible, labels stay legible */
  padding: 14px 12px 14px 16px;
  background: rgba(247, 246, 242, 0.35);
  border: 1px solid var(--rule-soft);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.index button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.4;
  transition: opacity 0.35s;
}

.index button .lbl {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.45s cubic-bezier(0.6, 0, 0.2, 1),
    opacity 0.35s;
}

.index button .tick {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: width 0.4s;
}

.index button:hover {
  opacity: 0.85;
}

.index button:hover .lbl,
.index button.on .lbl {
  max-width: 160px;
  opacity: 1;
}

.index button.on {
  opacity: 1;
  color: var(--hot-deep);
}

.index button.on .tick {
  width: 34px;
}

/* engineering dimension-line progress rail */

.rail-progress {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(18px, 2.4vw, 30px);
  height: 22px;
}

.rail-progress .base {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: var(--rule);
}

.rail-progress .base::before,
.rail-progress .base::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--rule);
}

.rail-progress .base::before {
  left: 0;
}

.rail-progress .base::after {
  right: 0;
}

.rail-progress .ticks {
  position: absolute;
  inset: 0;
}

.rail-progress .ticks i {
  position: absolute;
  top: 7px;
  width: 1px;
  height: 9px;
  background: var(--rule);
}

.rail-progress .fill {
  position: absolute;
  left: 0;
  top: 11px;
  height: 1.5px;
  background: var(--hot);
  transform-origin: left center;
  transform: scaleX(0);
  width: 100%;
  will-change: transform;
}

.rail-progress .cursor {
  position: absolute;
  top: 4px;
  left: 0;
  width: 2px;
  height: 15px;
  background: var(--hot-deep);
  will-change: transform;
}

.rail-progress .readout {
  position: absolute;
  right: 0;
  bottom: -3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--navy);
  opacity: 0.55;
}

/* back-to-top: sits above the progress rail's readout, fixed in the chrome

   so it's reachable from anywhere; only appears once the user is close
   to the end of the line */
.back-top {
  position: absolute;
  right: var(--pad);
  bottom: calc(clamp(18px, 2.4vw, 30px) + 34px);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.4s;
}

.back-top.show {
  opacity: 0.75;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  opacity: 1;
  color: var(--hot-deep);
}

.back-top .arrow {
  position: relative;
  width: 1px;
  height: 22px;
  background: currentColor;
  transform: rotate(-90deg);
}

.back-top .arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 22px;
  border: 1px solid var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
  background: transparent;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.2, 1);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:hover {
  color: var(--draft);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn--hot {
  border-color: var(--hot-deep);
  color: #fff;
  background: var(--hot-deep);
}

.btn--hot::before {
  background: var(--ink);
}

.btn--hot:hover {
  color: #fff;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn--sm {
  padding: 11px 17px;
  font-size: 11px;
}

/* ---------- loader: the die aperture opens ---------- */

/* ---------- loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader.done {
  transform: translateY(-100%);
}

.loader-logo {
  position: relative;
  width: clamp(120px, 16vw, 210px);
}

.loader-logo img {
  width: 100%;
}

.loader-logo .ghost {
  filter: brightness(0) invert(1);
  opacity: 0.18;
}

.loader-logo .fill {
  position: absolute;
  inset: 0;
  filter: brightness(0) invert(1);
  clip-path: inset(100% 0 0 0);
}

.loader-count {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  right: clamp(24px, 5vw, 64px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 110px);
  color: rgba(244, 241, 234, 0.16);
  line-height: 1;
}

/* ============================================================

   HORIZONTAL RAIL
   ============================================================ */
.rail {
  position: relative;
  z-index: 1;
}

.track {
  display: flex;
  align-items: stretch;
  height: 100svh;
  width: max-content;
  will-change: transform;
}

.panel {
  position: relative;
  width: 100vw;
  height: 100svh;
  flex: 0 0 auto;
  /* bottom padding clears the fixed progress rail */
  padding: clamp(84px, 9vh, 130px) var(--pad) clamp(104px, 13vh, 150px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel--w120 {
  width: 80vw;
}

.panel--w150 {
  width: 120vw;
}

.panel--w190 {
  width: 190vw;
}

/* process panel: 9 stages at roughly the same per-stage width as the old 6 */

.panel--w285 {
  width: 285vw;
}

/* products panel: sized to fit every card in one row.

   --prod-count must match the number of .prod cards in the HTML. */
.panel--w210 {
  --prod-count: 6;
  --prod-w: clamp(250px, 25vw, 400px);
  --prod-gap: clamp(18px, 2.2vw, 40px);
  width: max(
    100vw,
    calc(
      var(--prod-count) * var(--prod-w) + (var(--prod-count) - 1) *
        var(--prod-gap) + 2 * var(--pad)
    )
  );
}

.panel--w90 {
  width: 90vw;
}

/* panel edge rule + station stamp */

.panel + .panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--navy);
  opacity: 0.4;
  box-shadow: 8px 0 24px -8px rgba(44, 74, 104, 0.35);
}

.panel-stamp {
  position: absolute;
  left: var(--pad);
  top: clamp(84px, 12vh, 118px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-stamp .num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--hot-deep);
}

.panel-stamp .bar {
  width: 26px;
  height: 1px;
  background: var(--rule);
}

/* ---------- THE LINE: continuous profile running through every panel ---------- */

.line-seg {
  position: absolute;
  left: -1px;
  right: -1px;
  top: var(--line-y);
  height: 3px;
  background: var(--navy);
  background: transparent;
  z-index: 2;
}

/* profile shows two edges, like a section viewed side-on */

.line-seg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1.5px;
  background: transparent;
  opacity: 0.55;
}

/* cold billet stock before the press */

/* .line-seg--cold { background: var(--navy-soft); }

.line-seg--cold::after { background: var(--navy-soft); } */
.line-seg--cold {
  background: transparent;
}

.line-seg--cold::after {
  background: transparent;
}

/* the metal leaves the die: hot */

/* .line-seg--hot {
  background: linear-gradient(90deg, var(--hot) 0%, var(--hot) 55%, var(--hot-deep) 100%);
  box-shadow: 0 0 22px rgba(232, 163, 61, 0.55);
}

.line-seg--hot::after { background: linear-gradient(90deg, var(--hot) 0%, var(--hot-deep) 100%); opacity: 0.8; } */
.line-seg--hot {
  background: transparent;
  box-shadow: none;
}

.line-seg--hot::after {
  /* background: linear-gradient(90deg, var(--hot) 0%, var(--hot-deep) 100%); 
  bac*/
  background: transparent;
  opacity: 0.8;
}

/* cooling gradient back to solid metal */

.line-seg--cooling {
  background: linear-gradient(90deg, var(--hot-deep) 0%, var(--navy) 100%);
}

.line-seg--cooling::after {
  background: linear-gradient(90deg, var(--hot-deep) 0%, var(--navy) 100%);
  opacity: 0.7;
}

/* the die itself: where hot begins */

.die-marker {
  position: absolute;
  top: var(--line-y);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(74px, 7vw, 112px);
}

.die-marker img {
  width: 100%;
  opacity: 0.92;
}

/* ---------- panel content helpers ---------- */

.above-line {
  position: relative;
  z-index: 4;
}

.p-head {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 24px);
}

.illus {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
  will-change: transform;
}

/* ---------- 01 hero ---------- */

/* headline lines are authored one per .mask-line, so no width cap is needed;

   a cap in `em` here would resolve against 16px and clip the display type */
.hero-type {
  margin-top: auto;
  margin-bottom: 0;
}

.hero-type .d-xl {
  color: var(--ink);
}

.hero-sub-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(20px, 3vh, 40px);
  flex-wrap: wrap;
}

.hero-sub-row .lede {
  max-width: 30em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-press {
  right: -4%;
  bottom: calc(var(--line-y) - 21%);
  width: min(56vw, 940px);
}

/* Sits in the fixed chrome beside the progress rail, not inside a panel, so

   it can never collide with panel copy. Fades out once travel begins. */
.scroll-hint {
  position: absolute;
  left: var(--pad);
  bottom: calc(clamp(18px, 2.4vw, 30px) + 34px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  transition:
    opacity 0.5s,
    transform 0.5s;
}

.scroll-hint.gone {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.scroll-hint .arrow {
  position: relative;
  width: 46px;
  height: 1px;
  background: currentColor;
  overflow: hidden;
}

.scroll-hint .arrow::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 14px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg) translateX(0);
  animation: nudge 1.9s ease-in-out infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    transform: rotate(45deg) translate(9px, -9px);
    opacity: 0;
  }
}

/* ---------- 02 standard ---------- */

.standard-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  height: 100%;
  gap: clamp(20px, 3vh, 40px) clamp(24px, 4vw, 64px);
}

.standard-wrap .d-lg {
  max-width: 11em;
}

.standard-copy {
  display: grid;
  gap: clamp(20px, 3vh, 40px);
}

.standard-illus {
  width: 100%;
  align-self: center;
  opacity: 1;
  filter: contrast(1.6) saturate(1.3) brightness(0.8);
}

/* ---------- about ---------- */

.about-facts {
  display: grid;
  gap: clamp(12px, 1.6vh, 18px);
  padding-top: clamp(14px, 2vh, 22px);
  border-top: 1px solid var(--rule);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 14px;
  align-items: baseline;
}

.about-facts .k {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
}

.about-facts .v {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(22, 32, 43, 0.72);
}

.about-action {
  display: flex;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--line-y) + 16%);
  overflow: hidden;
  z-index: 4;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}

.ticker-track span {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 52px);
  padding-right: clamp(26px, 3vw, 52px);
  font-size: clamp(28px, 3.6vw, 62px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(44, 74, 104, 0.42);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--hot);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- 03 capabilities: stations along the line ---------- */

.cap-row {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: clamp(118px, 14vh, 145px);
  bottom: clamp(55px, 7vh, 75px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 44px);
  align-items: center;
  z-index: 4;
}

.cap {
  position: relative;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* alternate above / below the line for rhythm */

.cap:nth-child(odd) {
  align-self: start;
  margin-top: clamp(0px, 1.2vh, 12px);
}

.cap:nth-child(even) {
  align-self: end;
  margin-bottom: clamp(0px, 1.2vh, 12px);
}

.cap .tie {
  position: absolute;
  left: 0;
  width: 1px;
  background: var(--rule);
}

.cap:nth-child(odd) .tie {
  top: 100%;
  height: 9vh;
}

.cap:nth-child(even) .tie {
  bottom: 100%;
  height: 6vh;
}

.cap .node {
  position: absolute;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--navy);
  background: var(--draft);
  border-radius: 50%;
}

.cap:nth-child(odd) .node {
  top: calc(100% + 9vh - 4px);
}

.cap:nth-child(even) .node {
  bottom: calc(100% + 6vh - 4px);
}

.cap h3 {
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
}

.cap .cap-illus {
  width: clamp(160px, 17vw, 260px);
  height: auto;
  opacity: 1;
  margin-bottom: 10px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.cap:hover .cap-illus {
  opacity: 1;
  transform: translateY(-3px) scale(1.02);
}

.cap .cap-btn {
  align-self: flex-start;
  margin-top: 4px;
  white-space: nowrap;
}

/* ---------- 04 process ---------- */

.proc-strip {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 60px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: clamp(16px, 2vw, 40px);
  align-items: center;
  z-index: 4;
}

.proc {
  align-self: start;
  margin-top: 15vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.proc .t {
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hot-deep);
}

.proc h3 {
  font-size: clamp(16px, 1.42vw, 23px);
  font-weight: 700;
  text-transform: uppercase;
}

.proc .temp {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--navy);
  opacity: 0.6;
  padding-top: 6px;
  border-top: 1px solid var(--rule);
  margin-top: 2px;
}

/* per-stage icon, drawn as a vector so it matches the drafting linework */

.proc-vec {
  width: 40px;
  height: 40px;
  margin-top: 4px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* stages with a generated machinery photo instead of the placeholder vector */

.proc-vec--img {
  width: 100%;
  max-width: 620px;
  height: auto;
  /*margin: 50px auto;*/
  opacity: 1;
}

/* stage illustration hangs below the line */

.proc-illus {
  position: absolute;
  top: calc(var(--line-y) + 6%);
  width: clamp(180px, 18vw, 320px);
  z-index: 3;
  opacity: 1;
  filter: contrast(1.6) saturate(1.3) brightness(0.8);
}

/* ---------- 05 products ---------- */

.prod-strip {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--prod-gap);
  z-index: 4;
  pointer-events: none;
}

.prod {
  flex: 0 0 auto;
  width: var(--prod-w);
  background: var(--draft);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}

.prod:hover,
.prod:focus-visible {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 32, 43, 0.12);
  outline: none;
}

.prod-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
}

.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.6, 0.3, 1);
}

.prod:hover .prod-media img {
  transform: scale(1.06);
}

.prod-media .sec {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 27, 36, 0.9);
  opacity: 0;
  transition: opacity 0.45s;
}

.prod:hover .sec {
  opacity: 1;
}

.prod-media .sec svg {
  width: 58%;
}

.prod-media .sec .s-line {
  fill: none;
  stroke: #86a8c8;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prod-media .sec .s-hot {
  stroke: var(--hot);
}

.prod-body {
  padding: clamp(16px, 1.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.prod-body .alloy {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--navy);
  opacity: 0.6;
}

.prod-body h3 {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.prod-tags span {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--rule);
  color: rgba(22, 32, 43, 0.6);
}

/* ---------- 06 proof: quality + stats ---------- */

.proof-grid {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 4vw, 80px);
  align-content: center;
  align-items: center;
  z-index: 4;
}

.q-list {
  display: grid;
}

.q-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: clamp(12px, 1.5vh, 20px) 0;
  /* border-bottom: 1px solid var(--rule); */
  align-items: baseline;
}

.q-item .n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hot-deep);
}

.q-item strong {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.q-item p {
  margin-top: 3px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 44px);
}

.stat .n {
  font-size: clamp(40px, 4.6vw, 78px);
  font-weight: 700;
  line-height: 0.94;
  color: var(--navy);
  display: flex;
  align-items: baseline;
}

.stat .n .sfx {
  font-size: 0.42em;
  color: var(--hot-deep);
  margin-left: 5px;
}

.stat .l {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 32, 43, 0.5);
}

/* secondary detail under a stat label, e.g. the individual press lines */

.stat .d {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(22, 32, 43, 0.62);
}

.proof-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(22, 32, 43, 0.38);
  font-style: italic;
}

.badge-pair {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.badge-pair svg {
  width: clamp(72px, 6.4vw, 100px);
}

.badge-pair .b-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.2;
}

.badge-pair text {
  font-weight: 700;
  fill: var(--navy);
  text-transform: uppercase;
}

/* ---------- 07 contact / end of line ---------- */

.end-wrap {
  display: grid;
  align-content: center;
  height: 100%;
  padding-bottom: clamp(40px, 8vh, 80px);
  gap: clamp(14px, 2vh, 26px);
  position: relative;
  z-index: 4;
}

.end-wrap .d-lg {
  max-width: 10em;
}

.end-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.end-meta {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(clamp(18px, 2.4vw, 30px) + clamp(38px, 5vh, 64px));
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 72px);
  z-index: 4;
}

.end-meta div h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin-bottom: 9px;
}

.end-meta div p,
.end-meta div a {
  font-size: 13.5px;
  color: rgba(22, 32, 43, 0.75);
  display: block;
  margin-bottom: 5px;
}

.end-meta div a:hover {
  color: var(--hot-deep);
}

.end-meta__cols {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  flex-wrap: wrap;
}

.end-meta__cols a {
  white-space: nowrap;
}

.tbc,
.end-meta .tbc {
  color: rgba(22, 32, 43, 0.42);
  font-style: italic;
}

.end-dispatch {
  right: 2%;
  bottom: clamp(18px, 2.4vw, 32px);
  top: auto;
  width: clamp(200px, 18vw, 290px);
  max-height: clamp(200px, 40vh, 310px);
  object-fit: contain;
  object-position: right bottom;
}

/* ---------- request-a-quote modal ---------- */

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 43, 0.55);
  backdrop-filter: blur(2px);
}

.quote-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--draft);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 70px rgba(22, 32, 43, 0.28);
  padding: clamp(28px, 4vw, 44px);
}

.quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: var(--navy);
  border: 1px solid var(--rule);
  transition:
    color 0.3s,
    border-color 0.3s;
}

.quote-modal__close:hover {
  color: var(--hot-deep);
  border-color: var(--hot-deep);
}

.quote-modal__head {
  margin-bottom: 22px;
  padding-right: 34px;
}

.quote-modal__head .station {
  display: block;
  margin-bottom: 10px;
}

.quote-modal__head h2 {
  margin-bottom: 10px;
  color: var(--ink);
}

.quote-modal__head p {
  color: rgba(22, 32, 43, 0.66);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form__row {
  display: grid;
  gap: 6px;
}

.quote-form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form__row--half > div {
  display: grid;
  gap: 6px;
}

.quote-form label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.quote-form label .req {
  color: var(--hot-deep);
  margin-left: 2px;
}

.quote-form label .opt {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: rgba(22, 32, 43, 0.45);
}

.quote-form input,
.quote-form textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  padding: 11px 13px;
  width: 100%;
  transition: border-color 0.25s;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.quote-form input[type="file"] {
  padding: 9px 10px;
  font-size: 13px;
}

.quote-form input:invalid:not(:placeholder-shown),
.quote-form textarea:invalid:not(:placeholder-shown) {
  border-color: var(--hot-deep);
}

.quote-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* the reCAPTCHA iframe is a fixed 304px wide; shrink it on very narrow screens */

.quote-form__captcha {
  min-height: 78px;
}

@media (max-width: 360px) {
  .quote-form__captcha .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

.quote-form__error {
  font-size: 12.5px;
  color: var(--hot-deep);
  background: rgba(196, 118, 42, 0.1);
  border: 1px solid rgba(196, 118, 42, 0.35);
  padding: 10px 12px;
}

.quote-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quote-form__alt {
  font-size: 12.5px;
  color: var(--navy);
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-form__alt:hover {
  opacity: 1;
}

.quote-form__consent {
  margin-top: 4px;
}

.quote-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.quote-form__consent-label input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  accent-color: var(--hot-deep);
  cursor: pointer;
  outline-offset: 2px;
}

.quote-form__consent-label span {
  font-size: 12px;
  color: rgba(22, 32, 43, 0.7);
}

.quote-form__consent-label a {
  color: var(--hot-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.quote-form__consent-label a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* success toast, shown after the quote modal closes */

.quote-toast {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  transform: translateX(-50%);
  z-index: 90;
  width: min(440px, calc(100vw - 32px));
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--draft);
  border-left: 3px solid var(--hot);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: quote-toast-in 0.35s ease-out;
}

.quote-toast[hidden] {
  display: none;
}

.quote-toast strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-toast p {
  color: rgba(247, 246, 242, 0.75);
}

.quote-toast__close {
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  color: var(--draft);
  opacity: 0.7;
}

.quote-toast__close:hover {
  opacity: 1;
}

@keyframes quote-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-toast {
    animation: none;
  }
}

@media (max-width: 560px) {
  .quote-form__row--half {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- menu overlay ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  display: grid;
  align-content: center;
  /* top clears the logo / Close button, bottom clears the social row */
  padding: clamp(76px, 11vh, 110px) var(--pad);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu.open {
  clip-path: inset(0 0 0 0);
}

.menu a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-weight: 700;
  text-transform: uppercase;
  /* height cap keeps all links on short tablet screens; svh tracks the visible area under browser toolbars */
  font-size: clamp(28px, min(3.2vw, 4.8vh), 36px);
  font-size: clamp(28px, min(3.2vw, 4.8svh), 36px);
  line-height: 1.16;
  color: var(--draft);
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
  padding: clamp(8px, 1.3vh, 16px) 0;
  transition:
    color 0.3s,
    padding-left 0.4s;
}

.menu a .i {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--hot);
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--hot);
}

/* ============================================================

   RESPONSIVE / REDUCED MOTION: vertical stack fallback
   Horizontal scroll-jacking is hostile on touch and for anyone
   who asked for less motion, so both get a plain vertical page.
   ============================================================ */
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .track {
    display: block;
    width: 100%;
    height: auto;
    will-change: auto;
  }
  .panel,
  .panel--w115,
  .panel--w120,
  .panel--w140,
  .panel--w150,
  .panel--w190,
  .panel--w285,
  .panel--w210 {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: clamp(72px, 12vh, 110px) var(--pad);
  }
  .panel + .panel::before {
    left: var(--pad);
    right: var(--pad);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .line-seg,
  .die-marker,
  .scroll-hint,
  .index,
  .rail-progress {
    display: none;
  }
  .illus {
    position: relative;
    inset: auto;
    width: 100% !important;
    max-width: 460px;
    margin: 26px 0 0;
    opacity: 0.9;
  }
  .hero-press,
  .end-dispatch {
    right: auto;
    top: auto;
  }
  .panel-stamp {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 20px;
  }
  .ticker {
    position: relative;
    top: auto;
    margin-top: 30px;
  }
  .cap-row,
  .proc-strip,
  .prod-strip,
  .proof-grid,
  .standard-wrap {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .standard-illus {
    max-width: 400px;
  }
  .cap-illus {
    width: clamp(170px, 50vw, 260px) !important;
    height: auto;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
    margin-bottom: 12px;
  }
  .about-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .cap:nth-child(odd),
  .cap:nth-child(even) {
    align-self: auto;
    margin: 0;
  }
  .cap .tie,
  .cap .node {
    display: none;
  }
  .proc {
    align-self: auto;
    margin-top: 0;
  }
  .proc-illus {
    position: relative;
    top: auto;
    width: 150px;
  }
  .prod {
    width: 100%;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .end-meta {
    position: relative;
    inset: auto;
    margin-top: 40px;
  }
  .hero-type {
    margin-top: 0;
  }
  .grid-bg::after {
    background-size:
      auto,
      60px 60px,
      60px 60px;
  }
}

@media (min-width: 1025px) and (max-width: 1300px) {
  .panel--w210 {
    --prod-w: clamp(230px, 27vw, 320px);
  }
}

/* Laptop view (1025px – 1600px width, or viewport height <= 900px)

   1. Keep .end-dispatch small and anchored at right bottom.
   2. Keep .end-wrap vertically centered with gentle padding-bottom to remove the gap and prevent overlap. */
@media (min-width: 1025px) and (max-width: 1600px),
  (min-width: 1025px) and (max-height: 900px) {
  .end-dispatch {
    top: auto !important;
    right: clamp(16px, 2.5vw, 40px) !important;
    bottom: clamp(18px, 2.4vw, 32px) !important;
    width: clamp(200px, 18vw, 290px) !important;
    max-height: clamp(200px, 42vh, 310px) !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
  .proof-grid {
    padding-top: clamp(65px, 9vh, 85px) !important;
    padding-bottom: clamp(55px, 8vh, 75px) !important;
    gap: clamp(24px, 3.2vw, 54px) !important;
  }
  .proof-grid h2.d-md {
    font-size: clamp(22px, 2.3vw, 36px) !important;
    margin-bottom: clamp(10px, 1.5vh, 16px) !important;
  }
  .q-item {
    padding: clamp(5px, 0.9vh, 10px) 0 !important;
    gap: 12px !important;
  }
  .q-item strong {
    font-size: clamp(12px, 1vw, 14.5px) !important;
  }
  .q-item p {
    font-size: clamp(11.5px, 0.9vw, 13px) !important;
    line-height: 1.35 !important;
    margin-top: 2px !important;
  }
  .badge-pair {
    margin-top: 6px !important;
  }
  .badge-pair img {
    max-height: 48px !important;
    width: auto !important;
  }
  .stat-grid {
    gap: clamp(12px, 1.8vw, 24px) !important;
  }
  .stat .n {
    font-size: clamp(28px, 3.4vw, 48px) !important;
  }
  .stat .l {
    font-size: 9.5px !important;
    margin-top: 4px !important;
  }
  .stat .d {
    font-size: 10.5px !important;
    margin-top: 2px !important;
  }
  .end-wrap {
    height: 100% !important;
    align-content: start !important;
    justify-content: normal !important;
    margin-top: 0 !important;
    padding-top: clamp(80px, 11vh, 120px) !important;
    padding-bottom: 0 !important;
    gap: clamp(10px, 1.4vh, 16px) !important;
  }
  .end-wrap .d-lg {
    font-size: clamp(30px, 3.8vw, 46px) !important;
    line-height: 1.05 !important;
  }
  .end-wrap .lede {
    font-size: clamp(13px, 1.1vw, 15px) !important;
    max-width: 28em !important;
    line-height: 1.45 !important;
  }
  .end-actions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }
  .end-meta {
    bottom: calc(clamp(18px, 2.4vw, 30px) + clamp(36px, 4vh, 50px)) !important;
    gap: clamp(14px, 2vw, 32px) !important;
    font-size: 11.5px !important;
  }
  .end-meta div h4 {
    font-size: 9.5px !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 6px !important;
  }
  .end-meta div p,
  .end-meta div a {
    font-size: 11.5px !important;
    margin-bottom: 3px !important;
    line-height: 1.35 !important;
  }
  .end-meta__cols {
    gap: clamp(12px, 1.6vw, 24px) !important;
    flex-wrap: nowrap !important;
  }
  .panel {
    padding-top: clamp(105px, 14vh, 130px) !important;
    padding-bottom: clamp(65px, 9vh, 105px) !important;
  }
  /* Section 02 & 03 · Standard Wrap & Copy tablet/compact scaling */
  .standard-wrap {
    align-items: center !important;
    gap: clamp(16px, 2.5vw, 40px) !important;
  }
  .standard-copy {
    gap: clamp(10px, 1.5vh, 18px) !important;
  }
  .standard-wrap .d-lg {
    font-size: clamp(26px, 3.2vw, 42px) !important;
    line-height: 1.05 !important;
  }
  .standard-copy .lede {
    font-size: clamp(13px, 1.05vw, 15px) !important;
    line-height: 1.45 !important;
    max-width: 38ch !important;
  }
  .about-action {
    margin-top: 0 !important;
  }
  .about-action .btn {
    padding: 8px 18px !important;
    font-size: 13px !important;
  }
  .about-facts {
    gap: clamp(6px, 1vh, 10px) !important;
    padding-top: clamp(8px, 1.2vh, 14px) !important;
    border-top: 1px solid var(--rule);
  }
  .about-facts > div {
    grid-template-columns: 8em 1fr !important;
    gap: 10px !important;
  }
  .about-facts .k {
    font-size: 9.5px !important;
  }
  .about-facts .v {
    font-size: clamp(11.5px, 0.95vw, 13px) !important;
    line-height: 1.35 !important;
  }
  .standard-illus {
    max-height: clamp(190px, 36vh, 310px) !important;
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain !important;
    align-self: center !important;
  }
  .std-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .std-pills .pill-chip {
    font-size: 11.5px !important;
    padding: 4px 10px !important;
  }
  /* Section 04 · Capabilities compact spacing */
  .cap-row {
    top: clamp(116px, 15vh, 138px) !important;
    bottom: clamp(68px, 9vh, 90px) !important;
    gap: clamp(16px, 2vw, 36px) !important;
  }
  .cap {
    gap: 8px !important;
  }
  .cap:nth-child(odd) {
    margin-top: clamp(0px, 1vh, 8px) !important;
  }
  .cap:nth-child(even) {
    margin-bottom: 0 !important;
  }
  .cap-illus {
    width: clamp(150px, 17vw, 230px) !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: 1 !important;
    margin-bottom: 8px !important;
  }
  .cap h3 {
    font-size: clamp(15px, 1.5vw, 20px) !important;
    line-height: 1.15 !important;
  }
  .cap p.body-s {
    font-size: clamp(11.5px, 0.95vw, 12.5px) !important;
    line-height: 1.35 !important;
  }
  .cap-btn {
    padding: 5px 12px !important;
    font-size: 11.5px !important;
  }
  .cap:nth-child(odd) .tie,
  .cap:nth-child(even) .tie {
    height: clamp(16px, 3vh, 32px) !important;
  }
  /* Section 05 · Process compact spacing */
  .proc {
    margin-top: clamp(85px, 12vh, 115px) !important;
  }
}

/* Extra short laptop screens (e.g. 1366x768 with browser toolbars, height <= 720px) */

@media (min-width: 1025px) and (max-height: 720px) {
  .proof-grid {
    padding-top: 65px !important;
    padding-bottom: clamp(48px, 6.5vh, 60px) !important;
    gap: clamp(20px, 2.5vw, 36px) !important;
  }
  .proof-grid h2.d-md {
    font-size: clamp(20px, 2vw, 30px) !important;
    margin-bottom: 8px !important;
  }
  .q-item {
    padding: 4px 0 !important;
    gap: 10px !important;
  }
  .q-item strong {
    font-size: 12px !important;
  }
  .q-item p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .badge-pair img {
    max-height: 40px !important;
  }
  .stat .n {
    font-size: clamp(24px, 2.8vw, 38px) !important;
  }
  .end-dispatch {
    width: clamp(170px, 15vw, 240px) !important;
    max-height: 230px !important;
    bottom: clamp(14px, 2vh, 24px) !important;
  }
  .end-wrap {
    padding-top: clamp(75px, 10vh, 105px) !important;
    padding-bottom: 0 !important;
    gap: 8px !important;
  }
  .end-wrap .d-lg {
    font-size: clamp(26px, 3.4vw, 38px) !important;
  }
  .end-actions {
    margin-bottom: 0 !important;
  }
  .end-meta {
    bottom: calc(clamp(18px, 2.4vw, 30px) + 36px) !important;
    gap: clamp(12px, 1.8vw, 24px) !important;
    font-size: 11px !important;
  }
  .end-meta__cols {
    gap: clamp(10px, 1.4vw, 20px) !important;
    flex-wrap: nowrap !important;
  }
  .standard-wrap {
    gap: clamp(12px, 2vw, 24px) !important;
  }
  .standard-copy {
    gap: 8px !important;
  }
  .standard-wrap .d-lg {
    font-size: clamp(22px, 2.6vw, 32px) !important;
  }
  .standard-copy .lede {
    font-size: 12px !important;
    line-height: 1.38 !important;
  }
  .about-facts {
    gap: 4px !important;
    padding-top: 6px !important;
  }
  .about-facts .v {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
  .standard-illus {
    max-height: 220px !important;
  }
  .cap-row {
    top: clamp(108px, 14.5vh, 122px) !important;
    bottom: clamp(66px, 9.8vh, 78px) !important;
    gap: 12px !important;
  }
  .cap {
    gap: 6px !important;
  }
  .cap:nth-child(even) {
    margin-bottom: 0 !important;
  }
  .cap-illus {
    width: clamp(130px, 14.5vw, 180px) !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: 1 !important;
  }
  .cap h3 {
    font-size: 14px !important;
  }
  .cap p.body-s {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    display: none !important;
  }
  .scroll-hint .arrow::after {
    animation: none;
  }
  .ticker-track {
    transform: none !important;
  }
  .mask-line > span {
    transform: none !important;
  }
}

.badge-pair img {
  width: clamp(80px, 11.4vw, 250px);
}

@media (max-width: 1024px) {
  .top-right .btn--hot,
  .top-right .btn--products,
  .top-right .btn--careers,
  .top-right .social-group,
  .top-right .social-icon {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand {
    gap: 9px;
  }
  .brand img {
    height: 34px;
    width: auto;
    aspect-ratio: 756 / 717;
    object-fit: contain;
    flex-shrink: 0;
  }
  .brand__logo-wrap {
    flex-shrink: 0;
  }
  .brand__name {
    font-size: 13px;
  }
  .brand__tagline {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }
  .brand img {
    height: 32px;
  }
  .brand__name {
    font-size: 12px;
    letter-spacing: 0.09em;
  }
  .brand__tagline {
    font-size: 7.5px;
    letter-spacing: 0.07em;
  }
}

/* Mobile/tablet menu items: hidden on desktop, shown inside menu on <=1024px */

.menu__mobile-extra {
  display: none !important;
}

@media (max-width: 1024px) {
  .menu__mobile-extra {
    display: flex !important;
  }
  /* nine links here instead of seven, plus room for the social row */
  .menu {
    padding-bottom: calc(clamp(24px, 4vh, 40px) + 64px);
  }
  .menu a {
    font-size: clamp(28px, min(3.2vw, 2.4vh), 36px);
    font-size: clamp(28px, min(3.2vw, 2.4svh), 36px);
  }
}

/* Social icons row — bottom-right of the menu overlay, mobile/tablet only */

.menu__social-row {
  display: none;
  position: absolute;
  bottom: clamp(24px, 4vh, 40px);
  right: var(--pad);
  gap: 10px;
}

@media (max-width: 1024px) {
  .menu__social-row {
    display: flex;
  }
}

.menu__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 44px; */
  padding: 10px !important;
  height: fit-content;
  flex-shrink: 0;
  border: 1px solid rgba(244, 241, 234, 0.3);
  color: var(--draft);
  transition:
    color 0.3s,
    border-color 0.3s;
  line-height: 0;
}

.menu__social-icon svg,
.menu__social-icon img {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

.menu__social-icon:hover,
.menu__social-icon:focus-visible {
  color: var(--hot);
  border-color: var(--hot);
}

.menu__social-icon:hover img,
.menu__social-icon:focus-visible img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(93%) saturate(2333%)
    hue-rotate(346deg) brightness(99%) contrast(94%);
}

/* ============================================================

   PANEL 08 · GLOBAL REACH & DOMESTIC NETWORK
   ============================================================ */
.panel-network {
  width: 110vw;
  justify-content: center;
  padding-top: clamp(90px, 11vh, 130px);
  padding-bottom: clamp(65px, 8vh, 88px);
}

.network-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(70px, 9vw, 160px);
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  height: min(72vh, 560px);
  align-items: stretch;
}

.net-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  overflow: visible;
  height: 100%;
}

.net-card:hover {
  border-color: transparent;
  box-shadow: none;
}

.net-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.net-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  background: rgba(34, 65, 97, 0.07);
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 65, 97, 0.12);
}

.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.7);
  animation: dotPulse 2s infinite;
}

.dot-pulse--india {
  background: var(--navy);
  box-shadow: 0 0 0 0 rgba(34, 65, 97, 0.7);
  animation: dotPulseNavy 2s infinite;
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(232, 163, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0);
  }
}

@keyframes dotPulseNavy {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 65, 97, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 65, 97, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 65, 97, 0);
  }
}

/* 3D Globe Container */

.globe-viewport-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.globe-radial-glow {
  display: none;
}

.globe-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  z-index: 1;
}

/* Globe & India Static Destination Pills (Left Aligned, No Name Animation) */

.globe-countries-bottom,
.india-hubs-bottom {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 8px;
  flex-shrink: 0;
}

.country-pill,
.hub-pill {
  font-family: var(--font, sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(34, 65, 97, 0.05);
  border: 1px solid rgba(34, 65, 97, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-pill:hover,
.country-pill--active,
.hub-pill:hover,
.hub-pill--active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* India Map Viewport */

.map-viewport-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.india-map-container {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.india-map-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 24px rgba(34, 65, 97, 0.08));
}

/* India Map Solid Arcs matching 3D Globe */

.india-map-svg .india-arc {
  stroke: #224161;
  stroke-width: 1.6;
  opacity: 0.75;
  stroke-dasharray: none;
  transition:
    stroke-width 0.25s ease,
    opacity 0.25s ease,
    stroke 0.25s ease;
}

.india-map-svg .india-arc--active {
  stroke: #16202b;
  stroke-width: 2.6;
  opacity: 1;
  filter: drop-shadow(0 0 2.5px rgba(34, 65, 97, 0.45));
}

/* India Map HQ Radar Ring Ping */

.india-map-svg .hq-radar-ring {
  transform-origin: 0px 0px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.india-map-svg .hq-radar-ring--1 {
  animation: hqRadarPing 2.4s cubic-bezier(0.1, 0.7, 0.3, 1) infinite;
}

.india-map-svg .hq-radar-ring--2 {
  animation: hqRadarPing 2.4s cubic-bezier(0.1, 0.7, 0.3, 1) infinite 1.2s;
}

@keyframes hqRadarPing {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(4.4);
    opacity: 0;
  }
}

/* Traveling signal beacons along solid arcs */

.india-map-svg .network-beacons circle {
  filter: drop-shadow(0 2px 4px rgba(34, 65, 97, 0.25));
  will-change: transform, cx, cy, opacity;
}

.india-map-svg .hub {
  cursor: pointer;
}

.india-map-svg .hub circle:not(.hq-radar-ring) {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    stroke 0.2s ease,
    stroke-width 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.india-map-svg .hub:hover circle:not(.hq-radar-ring),
.india-map-svg .hub--active circle:not(.hq-radar-ring) {
  transform: scale(1.4);
  stroke: #ffffff;
  stroke-width: 2.2px;
}

.india-map-svg .hub:hover .hub-label,
.india-map-svg .hub--active .hub-label {
  fill: var(--ink);
  font-weight: 800;
}

.india-map-svg .hub-label {
  font-family: var(--font, sans-serif);
  font-size: 9.5px;
  font-weight: 700;
  fill: var(--navy);
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
  transition:
    fill 0.2s ease,
    font-weight 0.2s ease;
}

.india-map-svg .hub-label--hq {
  font-size: 11px;
  font-weight: 800;
  fill: var(--ink);
}

.india-map-svg .hub-sublabel {
  font-family: var(--font, sans-serif);
  font-size: 7.5px;
  font-weight: 600;
  fill: rgba(34, 65, 97, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  transition: fill 0.2s ease;
}

.india-map-svg .hub:hover .hub-sublabel,
.india-map-svg .hub--active .hub-sublabel {
  fill: rgba(22, 32, 43, 0.95);
  font-weight: 700;
}

/* Mobile & Portrait Tablet Overrides (Stacked 1-column layout) */

@media (max-width: 1024px) and (orientation: portrait), (max-width: 768px) {
  .panel-network {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: clamp(64px, 10vh, 90px) var(--pad);
    gap: 24px;
  }
  .network-split {
    grid-template-columns: 1fr;
    gap: 42px;
    height: auto;
    max-height: none;
  }
  .net-card {
    padding: 0;
    height: auto;
  }
  .globe-viewport-wrap,
  .map-viewport-wrap {
    min-height: 260px;
    max-height: 320px;
  }
}

/* Tablet Horizontal / Landscape View & Short Viewport Overrides

   Maintains the grand desktop look with tall models while ensuring bottom names are fully visible */
@media (min-width: 769px) and (max-width: 1366px) and (orientation: landscape),
  (min-width: 769px) and (max-height: 850px) {
  .panel-network {
    width: 105vw;
    padding-top: clamp(56px, 7.5vh, 72px);
    padding-bottom: clamp(48px, 6.5vh, 60px);
    padding-right: clamp(85px, 9vw, 130px);
    padding-left: clamp(30px, 3.5vw, 60px);
  }
  .network-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5.5vw, 84px);
    height: min(68vh, 490px);
    max-width: 1220px;
  }
  .net-card {
    height: 100%;
  }
  .net-card-top {
    margin-bottom: 6px;
  }
  .net-badge {
    font-size: 10.5px;
    padding: 4px 11px;
  }
  .globe-viewport-wrap,
  .map-viewport-wrap {
    flex: 1;
    min-height: 0;
    max-height: 390px;
  }
  .globe-container,
  .india-map-container {
    max-width: 440px;
    max-height: 390px;
    height: 100%;
  }
  .india-map-svg {
    max-height: 390px;
    height: 100%;
  }
  .globe-countries-bottom,
  .india-hubs-bottom {
    margin-top: 8px;
    gap: 5px 7px;
    max-width: 100%;
  }
  .country-pill,
  .hub-pill {
    font-size: 10px;
    padding: 3px 9px;
    line-height: 1.25;
  }
}

/* ============================================================

   HOME ANNOUNCEMENT POPUP MODAL (10-Second Auto-Close)
   ============================================================ */
.home-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.home-popup-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.home-popup-modal.is-closing {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.home-popup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.home-popup-modal__container {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 820px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-popup-modal.is-visible .home-popup-modal__container {
  transform: scale(1) translateY(0);
}

.home-popup-modal.is-closing .home-popup-modal__container {
  transform: scale(0.92) translateY(12px);
}

.home-popup-modal__content {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  line-height: 0;
  display: block;
}

.home-popup-modal__link {
  display: block;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.home-popup-modal__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(85vh - 48px);
  object-fit: contain;
  margin: 0 auto;
}

.home-popup-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hot, #f97316);
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
  padding: 0;
}

.home-popup-modal__close:hover,
.home-popup-modal__close:focus-visible {
  background: var(--hot-deep, #ea580c);
  transform: scale(1.1);
  outline: none;
}

.home-popup-modal__close span {
  display: block;
  transform: translateY(-1px);
}

.home-popup-modal__timer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 5;
}

.home-popup-modal__timer-bar {
  width: 100%;
  height: 100%;
  background: var(--hot, #f97316);
  transform-origin: left center;
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .home-popup-modal {
    padding: 16px;
  }
  .home-popup-modal__close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .home-popup-modal__content {
    border-radius: 10px;
  }
  .home-popup-modal__img {
    max-height: calc(80vh - 40px);
  }
}

/* ============================================================

   PANEL 07 · OUR VISION & MISSION
   ============================================================ */
.panel--w115 {
  width: clamp(960px, 92vw, 1300px);
}

.panel--w140 {
  width: 140vw;
}

/* ============================================================

   OUR VISION & MISSION SECTION (Tight, UI-Friendly Layout)
   ============================================================ */
.vision-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  gap: clamp(18px, 2.2vw, 28px);
}

/* --- Top Header Row: Heading Left, Summary & CTA Right --- */

.vision-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
}

.vision-header-left {
  display: flex;
  flex-direction: column;
}

.vision-main-heading {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-transform: none;
  text-wrap: balance;
  margin: 0;
}

.vision-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 2px;
}

.vision-header-lede {
  font-size: clamp(13.5px, 0.9vw, 14.5px);
  line-height: 1.58;
  color: rgba(22, 32, 43, 0.78);
  max-width: 44ch;
  text-wrap: pretty;
  margin: 0;
}

.vision-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    color 0.4s,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-pill-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.2, 1);
  z-index: 0;
}

.vision-pill-btn:hover::before {
  transform: translateY(0);
}

.vision-pill-btn > * {
  position: relative;
  z-index: 1;
}

.vision-pill-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 32, 43, 0.16);
}

.vision-pill-btn:active {
  transform: translateY(0);
}

.vision-pill-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-pill-btn:hover svg {
  transform: translateX(3px);
}

/* --- Main 2-Column Grid --- */

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: start;
}

/* Left Column: Feature Image, Descriptions, Circular Checkmarks */

.vision-grid-col--left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.vision-feature-card {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(44, 74, 104, 0.12);
  background: var(--draft-2);
  box-shadow: 0 6px 18px -6px rgba(22, 32, 43, 0.08);
}

.vision-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(0.96);
  transition: transform 0.5s ease;
}

.vision-feature-card:hover img {
  transform: scale(1.02);
}

.vision-text-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vision-paragraph {
  font-size: clamp(13px, 0.88vw, 14px);
  line-height: 1.55;
  color: rgba(22, 32, 43, 0.76);
  text-wrap: pretty;
  max-width: 50ch;
  margin: 0;
}

.vision-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vision-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(12.5px, 0.84vw, 13.5px);
  color: var(--navy);
  line-height: 1.42;
}

.vision-check-svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--navy);
}

/* Right Column: Proportional Showcase Card */

.vision-grid-col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vision-showcase-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(44, 74, 104, 0.14);
  background: #0c1622;
  box-shadow: 0 12px 28px -10px rgba(22, 32, 43, 0.12);
}

.vision-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.08) saturate(0.92);
  transition: transform 0.5s ease;
}

.vision-showcase-card:hover img {
  transform: scale(1.02);
}

/* Responsive Stack */

@media (max-width: 900px) {
  .vision-layout {
    gap: 20px;
    width: 100%;
    min-width: 0;
  }
  .vision-header-row {
    grid-template-columns: 1fr;
    gap: 14px;
    min-width: 0;
  }
  .vision-main-heading {
    max-width: 100%;
  }
  .vision-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    min-width: 0;
  }
  .vision-grid-col,
  .vision-grid-col--left,
  .vision-grid-col--right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .vision-feature-card {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .vision-grid-col--right {
    align-items: stretch;
  }
  .vision-showcase-card {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: 380px;
  }
}
