/* ==========================================================================
   Loop Freight — site styles
   Type: Archivo (headlines, wide + heavy) · IBM Plex Sans (body) · Plex Mono (document numbers)
   Colour: Loop blue (logo) · deep navy · road amber · paper
   One memorable element: the consignment-note card in the hero. Everything else is quiet.
   ========================================================================== */

:root {
  --ink: #0b1724;
  --ink-2: #364454;
  --muted: #5f6b79;
  --line: #dde3ea;
  --bg: #ffffff;
  --paper: #f4f6f9;
  --brand: #1572c9;
  --brand-deep: #0b4f93;
  --navy: #0a1a2f;
  --navy-2: #12263f;
  --signal: #ffb81c;
  --ok: #0f7a4f;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 23, 36, .06), 0 10px 26px -14px rgba(11, 23, 36, .22);
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  overflow-x: clip;  /* nothing (e.g. the stamp before it lands) may make the page scroll sideways on phones */
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
svg { flex-shrink: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--signal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--body);
  padding: 12px 18px; border-radius: 8px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-signal { background: var(--signal); color: var(--navy); }
.btn-signal:hover { background: #ffc84d; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link, .nav-trigger { text-decoration: none; font: 500 15px var(--body); color: var(--ink-2); }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--brand); }

/* Dropdown groups */
.nav-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-menu {
  display: none; position: absolute; top: 100%; left: -14px; min-width: 200px; padding: 8px;
  margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* keeps hover alive across the gap */
.nav-trigger[aria-expanded="true"] + .nav-menu { display: block; }
@media (hover: hover) and (min-width: 901px) { .nav-group:hover .nav-menu { display: block; } .nav-group:hover .chev { transform: rotate(180deg); } }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--paper); color: var(--brand); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
/* The footage is the point, so the stage is a true 16:9 window onto it. */
.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  height: clamp(540px, min(calc(100svh - 68px), 56.25vw), 900px);
  background: var(--navy) url('/assets/hero-1.jpg') center/cover no-repeat;   /* instant frame; also the reduced-motion fallback */
  color: #fff;
}
.hero-videos { position: absolute; inset: 0; z-index: -2; }
.hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.hv.is-active { opacity: 1; }
/* Shade only where the text sits; the right half of the footage stays untouched */
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 38, .86) 0%, rgba(8, 20, 38, .66) 30%, rgba(8, 20, 38, .18) 56%, rgba(8, 20, 38, 0) 72%);
}
.hero-grid { display: block; }
.hero-copy { max-width: 540px; }

/* Headline: weight and width carry the emphasis, not a colour accent */
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 span { display: block; }
.hero h1 .l1 { font-weight: 800; font-stretch: 112%; }
.hero h1 .l2 { font-weight: 500; font-stretch: 100%; color: rgba(255, 255, 255, .82); margin-top: .06em; }
.lede { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18px); color: #e6eef7; max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(10, 26, 47, .55); border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  backdrop-filter: blur(6px); transition: background .15s;
}
.video-toggle:hover { background: rgba(10, 26, 47, .85); }
.video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- The consignment note (the one memorable element) ---------- */
.challan {
  position: relative; margin: 0; overflow: hidden;
  background: #fff; color: var(--ink);
  border-radius: 6px; padding: 22px 24px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.challan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 2px dashed var(--line); }
.challan-label { font-size: 13px; color: var(--muted); }
.challan-route { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: 2px; letter-spacing: -0.02em; }
.challan-route span { font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--muted); padding: 0 4px; }
.challan-no { font: 500 13px var(--mono); color: var(--ink-2); border: 1px solid var(--line); padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.challan-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 16px 0; border-bottom: 2px dashed var(--line); }
.challan-fields dt { font-size: 12px; color: var(--muted); }
.challan-fields dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }

.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 13px 30px; font-size: 14px; }
.timeline li:last-child { padding-bottom: 0; padding-right: 132px; min-height: 40px; }  /* leaves room for the stamp */
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.timeline li::after { content: ''; position: absolute; left: 7px; top: 21px; bottom: -1px; width: 2px; background: var(--brand); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--muted); font-size: 13px; }

/* Lands once, a beat after the page loads: the only scripted motion on the page */
.stamp {
  position: absolute; right: 18px; bottom: 20px;
  font: 800 15px var(--display); letter-spacing: .05em; text-transform: uppercase;
  color: var(--ok); border: 3px solid var(--ok); border-radius: 6px; padding: 6px 12px;
  background: rgba(255, 255, 255, .7);
  transform: rotate(-9deg); opacity: .92;
  animation: stamp .45s cubic-bezier(.2, 1.5, .4, 1) 1.1s both;
}
@keyframes stamp { from { opacity: 0; transform: rotate(-9deg) scale(1.9); } }

.trip-grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.trip-grid .section-sub { max-width: 46ch; }
/* The stamp waits until the card is on screen (main.js adds .seen); without JS it simply plays on load */
.js .challan:not(.seen) .stamp { animation-play-state: paused; }

/* ---------- Motion ----------
   One load sequence in the hero, then sections settle in as they scroll into view.
   main.js only adds [data-reveal] when motion is allowed, so without JS (or with
   reduced motion) everything is simply visible. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero h1 .l1, .hero h1 .l2, .hero .lede, .hero .hero-ctas { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .l2 { animation-delay: .15s; }
.hero .lede { animation-delay: .3s; }
.hero .hero-ctas { animation-delay: .45s; }

[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal="zoom"].in { transform: none; }

/* How it works: the rule above each step fills in, and a truck drives the route */
.steps-road { position: relative; }
.steps-truck { display: none; }
.js-motion .steps .step::before { transform: scaleX(0); transition: transform .62s linear; transition-delay: calc(var(--i, 0) * 620ms + 200ms); }
.js-motion .steps.in .step::before { transform: scaleX(1); }
@media (min-width: 1001px) {
  .js-motion .steps-truck {
    display: block; position: absolute; top: -27px; left: 0; width: 46px; height: 23px;
    transform: translateX(0); opacity: 0;
  }
  .js-motion .steps-road.in .steps-truck { animation: drive 2.7s cubic-bezier(.4, 0, .25, 1) .1s forwards; }
  /* On desktop one continuous line is drawn behind the truck, using the same timing so they stay together */
  .js-motion .steps .step::before { display: none; }
  .js-motion .steps-road::before {
    content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ink); z-index: 1;
    transform: scaleX(0); transform-origin: left;
  }
  .js-motion .steps-road.in::before { animation: lay 2.7s cubic-bezier(.4, 0, .25, 1) .1s forwards; }
}
@keyframes lay { to { transform: scaleX(1); } }
@keyframes drive {
  0% { opacity: 0; transform: translateX(0); }
  8% { opacity: 1; }
  100% { opacity: 1; transform: translateX(calc(var(--road, 900px) - 46px)); }
}

/* Photos ease in slightly on hover */
.photo-open img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.photo-open:hover img { transform: scale(1.05); }

/* Dropdowns slide down a touch */
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.nav-menu { animation: drop .18s ease-out; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); color: #dbe5f1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; font-stretch: 108%; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 62ch; }
.section-dark .section-sub { color: #9fb1c6; }

/* Benefits: ruled columns, like a document, rather than boxed cards */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 3vw, 44px); }
.benefit { border-top: 2px solid var(--ink); padding-top: 18px; }
.benefit h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 16px; max-width: 42ch; }

/* Services: a ruled list; these are not a sequence, so they are not numbered */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.service { padding: 28px 0 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.service h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.service p { color: #9fb1c6; max-width: 46ch; }
.service ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.service li { position: relative; padding-left: 24px; font-size: 15px; color: #dbe5f1; }
.service li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }

/* Steps: a real sequence, so the numerals stay */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px clamp(20px, 3vw, 40px); }
.step { position: relative; border-top: 2px solid var(--line); padding-top: 14px; }
.step::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink); transform-origin: left; }
.step-n { display: block; font: 800 46px/1 var(--display); color: var(--brand); margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Industries: plain reference cards */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.industry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.industry h3 { font-size: 20px; font-weight: 800; }
.industry p { color: var(--muted); font-size: 15px; }

/* People at Loop: one large group shot, the rest around it */
.people-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 19vw, 270px); gap: 22px 18px;
}
.photo { display: flex; flex-direction: column; min-width: 0; }
.photo-lead { grid-column: 1 / 3; grid-row: span 2; }
.photo-wide { grid-column: 3 / 5; }
.photo-open {
  flex: 1; min-height: 0; display: block; width: 100%; padding: 0; border: 0; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
}
.photo-open img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-open:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.photo-caption { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.4; }
.photo-caption b { color: var(--ink); font-weight: 600; }
.photo-small .photo-caption span { display: block; font-size: 14px; }

/* Operations gallery: mixed portrait and landscape shots, so a masonry of columns */
.ops-grid { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 16px; }
.ops-grid .photo { break-inside: avoid; margin-bottom: 22px; }
.ops-grid .photo-open { flex: none; }
.ops-grid .photo-open img { height: auto; }
.ops-grid .photo-caption span { display: block; font-size: 14px; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 15, 28, .96); }
.lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 64px); width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.lightbox-caption { margin-top: 12px; text-align: center; color: #b9c8da; font-size: 15px; }
.lightbox-caption b { color: #fff; font-weight: 600; }
.lightbox-btn {
  position: fixed; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.founder-quote { margin: 0; }
.founder-quote blockquote { margin: 0; }
.founder-quote p { font: 700 clamp(26px, 3.4vw, 40px)/1.15 var(--display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.founder-quote figcaption { margin-top: 20px; font-size: 17px; color: #9fb1c6; }
.founder-quote figcaption b { color: #fff; font-weight: 600; }
.founder-bio { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 60ch; }
.founder-bio p { color: #b9c8da; }
.founder-bio p + p { margin-top: 14px; }
.founder-note { margin: 24px 0 0; padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, .3); }
.founder-note p { color: #e6eef7; font-size: 17px; }
.founder-bio .founder-source { margin-top: 24px; font-size: 14px; color: #9fb1c6; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .15s, box-shadow .15s;
}
/* Investors, under the press cards */
.investors { margin-top: clamp(48px, 7vw, 80px); }
.investors-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin-bottom: 20px; }
.investor-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.investor-logos li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.investor-logo { height: 120px; display: grid; place-items: center; padding: 18px 22px; }
.investor-logo img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.investor-logos span { flex: 1; display: grid; place-items: center; padding: 12px 14px; font-size: 15px; font-weight: 600; text-align: center; color: var(--ink-2); border-top: 1px solid var(--line); background: var(--paper); }
@media (max-width: 900px) { .investor-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 600px) { .investor-logo { height: 96px; padding: 14px; } .investor-logo img { max-height: 64px; } .investor-logos span { font-size: 13px; padding: 10px; } }

.news-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.news-logo { height: 44px; display: flex; align-items: center; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.news-logo img { max-height: 34px; max-width: 180px; width: auto; object-fit: contain; }
.news-card time { font-size: 14px; color: var(--muted); }
.news-card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.news-card p { font-size: 15px; color: var(--muted); }
.news-link { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--brand); }
.news-card:hover .news-link { color: var(--brand-deep); }

/* Coverage */
.coverage { background: radial-gradient(700px 400px at 100% 0%, rgba(21, 114, 201, .35), transparent 60%), var(--navy); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.coverage .btn { margin-top: 28px; }
.zones { list-style: none; margin: 0; padding: 0; }
.zones li { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.zones li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.zone-code { flex: 0 0 56px; font: 800 20px var(--display); letter-spacing: .02em; color: var(--signal); }
.zones b { display: block; color: #fff; font-size: 17px; }
.zones span:not(.zone-code) { font-size: 15px; color: #9fb1c6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.contact-list svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.contact-list span { display: block; font-size: 14px; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.service-points { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service-points li { font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: clamp(20px, 3.5vw, 34px); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: 400 16px var(--body); color: var(--ink); width: 100%;
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 114, 201, .12); }
.form-note { font-size: 14px; color: var(--muted); text-align: center; }
.form-note.error { color: #b3261e; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb1c6; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.site-footer a, .site-footer span { display: block; text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: 14px; }
.footer-bottom span, .footer-bottom a { display: inline; margin: 0; }

/* Phone call / quote bar */
.m-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 23, 36, .3);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; text-align: left; }
  .nav-menu { position: static; margin: 0; padding: 4px 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; min-width: 0; }
  .nav-menu::before { display: none; }
  .nav-menu a { padding: 11px 14px; font-size: 15px; color: var(--muted); }
  .nav-cta { margin-top: 16px; }
  .coverage-grid, .contact-grid, .trip-grid, .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; aspect-ratio: 4 / 5; }
  .challan { max-width: 560px; }
  .services { grid-template-columns: 1fr; }

  /* Blur effects are expensive to scroll over a playing video on phones: use solid surfaces */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero .btn-ghost { backdrop-filter: none; }

  /* Hero: the video gets its own window at full brightness; the copy sits below it */
  .hero-stage { display: block; height: auto; background-image: none; padding-bottom: 36px; }
  .hero-videos { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; background: var(--navy) url('/assets/hero-1-m.jpg') center/cover; }
  .hv { object-position: 70% 50%; }
  .hero-overlay { display: none; }
  .hero-grid { padding-top: 26px; }
  .hero-ctas { display: none; }               /* the fixed Call / Get a quote bar covers this on phones */
    .video-toggle { top: calc(56.25vw - 52px); bottom: auto; }
  .needs-tap .video-toggle { width: 64px; height: 64px; top: calc(28.125vw - 32px); right: calc(50% - 32px); background: rgba(10, 26, 47, .72); }
  .needs-tap .video-toggle svg { width: 24px; height: 24px; }

  .people-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 20px 14px; }
  .photo-lead, .photo-wide { grid-column: 1 / -1; grid-row: auto; }
  .photo-open { flex: none; }
  .photo-open img { height: auto; aspect-ratio: 3 / 2; }
  .photo-small .photo-open img { aspect-ratio: 4 / 3; }

  .m-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -14px rgba(11, 23, 36, .35);
  }
  .m-cta .btn { flex: 1; padding: 14px 16px; }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section h2 { font-size: 30px; }
  .section-sub { font-size: 16px; margin-top: 12px; }
  .section-head { margin-bottom: 28px; }

  /* Hero: taller video window so the footage reads on a small screen */
  .hero-videos { aspect-ratio: 4 / 3; }
  .video-toggle { top: calc(75vw - 52px); }
  .needs-tap .video-toggle { top: calc(37.5vw - 32px); }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 16px; margin-top: 16px; }
  

  .benefits { grid-template-columns: 1fr; gap: 26px; }
  .benefit p { font-size: 15px; }

  /* Steps: number beside the text instead of stacked above it */
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding-top: 16px; }
  .step-n { grid-row: span 2; font-size: 32px; margin: 0; }
  .step p { font-size: 15px; }

  /* Industries and news: stacked, full width (sideways swipe rows read as cut-off on phones) */
  .industries { grid-template-columns: 1fr; gap: 10px; }
  .industry { padding: 16px 18px; gap: 4px; }
  .industry h3 { font-size: 18px; }
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-card { padding: 20px; }

  .field-row { grid-template-columns: 1fr; }
  .challan { padding: 18px 18px 22px; }
  .challan-fields { grid-template-columns: 1fr 1fr; }
  .challan-fields div:last-child { grid-column: span 2; }
  .challan-route { font-size: 19px; }
  .stamp { right: 14px; bottom: 16px; font-size: 13px; }


  .photo-caption { font-size: 14px; margin-top: 8px; }

  .photo-small .photo-caption span { font-size: 13px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox img { max-height: calc(94vh - 150px); }

  .zones li { gap: 14px; padding: 14px 0; }
  .zone-code { flex-basis: 48px; font-size: 17px; }
  .founder-quote p { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Phones: both photo galleries become one-photo-at-a-time swipe strips, so the page
   stays short and each photo is shown large. Controls (‹ 3 / 16 ›) are added by main.js. */
.gallery-nav { display: none; }
@media (max-width: 600px) {
  .people-grid, .ops-grid {
    display: flex; columns: auto; gap: var(--gutter); overflow-x: auto;  /* gap = gutter, so the next photo starts exactly at the screen edge */ scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .people-grid::-webkit-scrollbar, .ops-grid::-webkit-scrollbar { display: none; }
  .people-grid .photo, .ops-grid .photo {
    flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always;
    grid-column: auto; grid-row: auto;
  }
  .people-grid .photo-open img, .ops-grid .photo-open img { aspect-ratio: 4 / 3; height: auto; }
  .people-grid .photo-caption, .ops-grid .photo-caption { font-size: 15px; margin-top: 10px; min-height: 2.8em; }
  .people-grid .photo-caption span, .ops-grid .photo-caption span { display: inline; font-size: 15px; }
  .gallery-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
  .gallery-count { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
  .gallery-btn {
    width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
    border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink);
  }
  .gallery-btn:disabled { opacity: .35; cursor: default; }
  .gallery-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-videos, .video-toggle { display: none; }
  .hero-stage { background-image: url('/assets/hero-1.jpg'); }
  .hero-videos { display: block; }
  .hv { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
