/* ==========================================================================
   Bhartia Impex Pvt. Ltd. — landing page
   Palette is taken from the letterhead: red #e3000f, grey #6e6e6e, ink #1a1a18
   ========================================================================== */

:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --white: #ffffff;
  --ink: #151514;
  --ink-2: #454543;
  --mute: #6e6e6e;
  --line: rgba(21, 21, 20, .12);
  --line-strong: rgba(21, 21, 20, .26);

  --red: #e3000f;
  --red-deep: #bf000d;

  --dark: #131312;
  --dark-2: #1b1b19;
  --on-dark: #edeae3;
  --on-dark-mute: #a09d94;
  --line-dark: rgba(237, 234, 227, .14);

  --font: "Figtree", "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(84px, 11vw, 168px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono { font-family: var(--mono); font-size: .86em; letter-spacing: .02em; }
.nw { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

h1, h2, h3 { font-weight: 500; text-wrap: balance; }

h1 {
  font-size: clamp(3.5rem, 10.4vw, 9rem);
  line-height: .9;
  letter-spacing: -.045em;
}
h1 .stop { color: var(--red); }

h2 {
  font-size: clamp(2.1rem, 4.7vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.032em;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.eyebrow, .label, .tag, .num, dt {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8em;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.eyebrow .index {
  color: var(--red-deep);
  padding-right: .8em;
  border-right: 1px solid var(--line-strong);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .66rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.arrow {
  width: 16px; height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  height: 54px;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--red); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .95rem;
}
.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover span { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover .arrow { transform: translate(3px, 0); }
.hero .link-arrow:hover .arrow { transform: translate(0, 3px); }
.link-small { font-size: .88rem; }
.link-small:hover .arrow { transform: translate(2px, -2px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(245, 243, 238, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.brand-mark { width: auto; height: 44px; }
.brand-word { width: auto; height: 17px; margin-top: 8px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
  font-size: .93rem;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav-phone { display: none; }

.header-cta { height: 44px; padding: 0 1.2rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

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

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, transparent 72%);
}

.hero-flow {
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  z-index: -1;
  width: 100%;
  height: 78%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 60%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 60%, transparent 96%);
}
.hero-flow path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: .2;
  stroke-width: 1;
  stroke-dasharray: 3 15;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: flow 2.6s linear infinite;
}
.hero-flow path:nth-child(2n) { animation-duration: 3.4s; }
.hero-flow path:nth-child(3n) { animation-duration: 4.2s; }
@keyframes flow { to { stroke-dashoffset: -18; } }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.hero-copy { max-width: 720px; }
.hero h1 { margin-top: clamp(22px, 2.6vw, 36px); }

.lede {
  max-width: 34em;
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(28px, 3.2vw, 44px);
}

.hero-art { justify-self: end; width: 100%; max-width: 560px; }

/* hero figure: supply network drawn as a technical plate */
.fig { width: 100%; height: auto; overflow: visible; }
.fig circle, .fig path, .fig ellipse {
  fill: none;
  stroke: var(--ink);
  vector-effect: non-scaling-stroke;
}
.fig-hair { stroke-opacity: .16; stroke-width: 1; }
.fig-ticks { stroke-opacity: .5; stroke-width: 6; }
.fig-ticks-major { stroke-opacity: .85; stroke-width: 12; }
.fig-ring { stroke-width: 1.4; }
.fig .fig-globe { fill: rgba(21, 21, 20, .035); stroke-width: 1.3; }
.fig-grid ellipse, .fig-grid path { stroke-opacity: .28; stroke-width: 1; }
.fig .fig-routes path {
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 8;
  animation: route 1.3s linear infinite;
}
.fig .fig-nodes circle { fill: var(--paper); stroke-width: 1.4; }
.fig .fig-pulse {
  stroke: var(--red);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s var(--ease) infinite;
}
.fig .fig-hub { fill: var(--paper); stroke-width: 1.4; }
.fig .fig-dot { fill: var(--red); stroke: #1a1a18; stroke-width: .8; }
.fig-notes path { stroke-opacity: .45; stroke-width: 1; }
.fig-notes text {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .09em;
  fill: var(--ink);
}
.fig-notes .fig-note-mute { fill: var(--mute); font-weight: 400; }
@keyframes route { to { stroke-dashoffset: -12; } }
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.facts > div {
  padding: 22px 24px 30px 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { color: var(--mute); }
.facts dd {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.facts dd span { color: var(--mute); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section-tint { background: var(--paper-2); }

.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head h2 { margin-top: 22px; }
.section-intro {
  max-width: 36em;
  margin-top: 24px;
  font-size: 1.12rem;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}
.split-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 44px);
  background: var(--paper);
  transition: background-color .4s var(--ease);
}
.product:hover { background: var(--white); }

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.product .num { color: var(--red-deep); }

.product-art {
  width: 100%;
  margin: clamp(14px, 2vw, 28px) 0 clamp(20px, 2.4vw, 32px);
  padding: clamp(18px, 2.4vw, 34px);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--paper-2);
  border-radius: 4px;
  transition: background-color .4s var(--ease);
}
.product:hover .product-art { background-color: var(--paper); }

.ill {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  overflow: visible;
}
.ill * {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ill .ill-fill { fill: var(--paper-2); transition: fill .4s var(--ease); }
.product:hover .ill .ill-fill { fill: var(--paper); }
.ill .ill-dot { fill: var(--red); stroke: none; }
.ill .ill-pellets ellipse { fill: var(--paper-2); transition: fill .4s var(--ease); }
.product:hover .ill .ill-pellets ellipse { fill: var(--paper); }

.product h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); letter-spacing: -.025em; }
.product p { max-width: 30em; margin-top: 12px; color: var(--ink-2); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 30px;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-2);
}
.product .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   Applications (dark)
   -------------------------------------------------------------------------- */

.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section-dark .eyebrow { color: var(--on-dark-mute); }
.section-dark .eyebrow .index { color: #ff4a55; border-right-color: var(--line-dark); }
.section-dark .section-intro { color: var(--on-dark-mute); }

.apps { border-top: 1px solid var(--line-dark); }
.apps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 20px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left .45s var(--ease);
}
.apps li:hover { padding-left: 14px; }
.apps .num { color: #ff4a55; }
.apps h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.02em; }
.apps p { max-width: 34em; margin-top: 8px; color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}
.steps li::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
}
.step-num {
  display: block;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--mute);
}
.steps h3 { margin-top: 26px; font-size: 1.3rem; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Company
   -------------------------------------------------------------------------- */

.company-mark { width: auto; height: clamp(84px, 9vw, 132px); margin-top: clamp(32px, 4vw, 56px); }

.company-body p { max-width: 36em; color: var(--ink-2); }
.company-body p + p { margin-top: 20px; }
.company-body .company-lede {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.38;
  letter-spacing: -.015em;
  color: var(--ink);
}

.directors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
}
.directors li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.director-initials {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.directors .label { color: var(--red-deep); }
.directors h3 { margin-top: 2px; font-size: 1.25rem; }

.specs { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-strong); }
.specs > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--mute); padding-top: 4px; }
.specs dd { font-weight: 500; }
.specs dd.mono { font-weight: 400; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: clamp(22px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.marquee i {
  width: clamp(12px, 1.5vw, 20px);
  height: clamp(12px, 1.5vw, 20px);
  margin: 0 clamp(24px, 3.4vw, 52px);
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.contact-info h2 { margin-top: 22px; }

.contact-list { margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--line-strong); }
.contact-list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .label { color: var(--mute); padding-top: 9px; }
.contact-list li > a:not(.link-arrow) {
  justify-self: start;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.contact-list li > a:not(.link-arrow):hover { color: var(--red-deep); }
.contact-list address { padding-top: 4px; color: var(--ink-2); }
.contact-list .link-arrow { grid-column: 2; justify-self: start; margin-top: 8px; }

.enquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 28px;
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(21, 21, 20, .04), 0 30px 60px -40px rgba(21, 21, 20, .28);
}
.enquiry-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 6px;
}
.enquiry-head h3 { font-size: 1.6rem; letter-spacing: -.025em; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mute);
}
.field .optional { opacity: .7; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23151514' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 2px center / 16px no-repeat;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field ::placeholder { color: #9a9892; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-bottom-color: var(--red);
  box-shadow: 0 1px 0 var(--red);
}
.field .is-invalid { border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }

.enquiry-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 8px;
}
.enquiry-note { flex: 1 1 220px; font-size: .86rem; line-height: 1.45; color: var(--mute); }
.enquiry-note.is-error { color: var(--red-deep); }

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

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: clamp(56px, 7vw, 96px);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px clamp(32px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-brand .brand-mark { height: 56px; }
.footer-brand .brand-word { height: 20px; margin-top: 10px; }
.footer-brand p { max-width: 26em; margin-top: 26px; color: var(--on-dark-mute); }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .98rem; }
.footer-col .label { margin-bottom: 8px; color: var(--on-dark-mute); }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: #ff4a55; }
.footer-col > span:not(.label) { color: var(--on-dark-mute); max-width: 22em; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: .84rem;
  color: var(--on-dark-mute);
}

/* the red / grey band from the foot of the letterhead */
.letterhead-bar { display: flex; height: 10px; }
.letterhead-bar i {
  width: 42%;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.letterhead-bar b {
  flex: 1;
  margin-left: -3px;
  background: var(--mute);
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running)
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }

  /* verticals stack; each card puts its illustration beside the copy */
  .products { grid-template-columns: 1fr; }
  .product {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: clamp(24px, 4vw, 44px);
    align-content: start;
    justify-items: start;
  }
  .product-top { grid-column: 1 / -1; margin-bottom: clamp(14px, 2vw, 24px); }
  .product-art { grid-column: 1; grid-row: 2 / span 4; margin: 0; align-self: start; }
  .product > h3, .product > p, .product > .chips, .product > .link-arrow { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    /* absolute, not fixed: the header's backdrop-filter would trap a fixed child */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h) + 1px);
    height: calc(100dvh - var(--header-h) + 1px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--paper);
    font-size: 2rem;
    letter-spacing: -.03em;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
  .nav-phone { display: block; margin-top: 24px; border-bottom: 0 !important; font-family: var(--mono); font-size: 1rem; letter-spacing: .04em; color: var(--red-deep) !important; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open .site-header { background: var(--paper); }
  .nav-open body { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 460px; margin-top: 8px; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .split, .contact { grid-template-columns: 1fr; }
  .split-head { position: static; margin-bottom: clamp(36px, 6vw, 56px); }
  .company-mark { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-mark { height: 38px; }
  .brand-word { height: 14px; margin-top: 7px; }

  .product { display: flex; }
  .product-top { margin-bottom: 0; }
  .product-art { margin: 14px 0 20px; }
  .directors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .enquiry { grid-template-columns: 1fr; }
  .enquiry-head .tag { display: none; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-list li { grid-template-columns: 1fr; }
  .contact-list .link-arrow { grid-column: 1; }
  .contact-list .label { padding-top: 0; }
  .hero-actions .btn { width: 100%; }
  .enquiry-foot .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .fig-notes text { font-size: 15px; }
}

@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; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .hero-flow, .hero-grid, .marquee, .nav-toggle { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
