/* ==========================================================================
   Chawra Engineering Works (CEW) - shared stylesheet
   Mobile-first. Breakpoints: 640px (tablet) and 1024px (desktop).
   To change colours, fonts, spacing or corner radius, edit the variables below.
   ========================================================================== */

:root {
  /* Colours (CLAUDE.md section 5) */
  --bg: #1c1c1e;
  --surface: #2b2b2e;
  --accent: #ff6a1a;
  --text: #f2f2f2;
  --text-muted: #a8a8ad;

  /* Extra shades used by the components */
  --bg-alt: #242427;          /* alternate section background */
  --border: #424247;          /* thin card / divider lines */
  --accent-hover: #ff8444;    /* button hover */
  --on-accent: var(--bg);     /* text on orange: dark, never white */
  --light: #fdfcfb;           /* matches the logo's off-white background */
  --focus: #ffffff;           /* keyboard focus ring */
  --scrim: rgba(12, 12, 13, 0.92);
  --scrim-mid: rgba(12, 12, 13, 0.6);
  --scrim-soft: rgba(12, 12, 13, 0.25);
  --pill: rgba(12, 12, 13, 0.65);
  --lightbox-bg: rgba(8, 8, 9, 0.96);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

  /* Fonts (max two families) */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing and shape */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 3.5rem;
  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 4rem;
  --bar-h: 4.5rem;            /* height of the phone-only bottom bar */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* room for the phone-only bottom bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;           /* 16px minimum */
  line-height: 1.6;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0 0 var(--space-1);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
}
p { margin: 0 0 var(--space-2); }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.skip-link {
  position: absolute;
  left: var(--space-1);
  top: -4rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-1); color: var(--on-accent); }

.container {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: var(--space-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;          /* 48px tap target */
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

.btn--small { min-height: 2.75rem; padding: 0.4rem 1rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;           /* without JS the nav drops below the logo */
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  min-height: 2.75rem;
}
.brand:hover { color: var(--text); }

/* Light tile so the logo's off-white background looks intentional on the dark header */
.brand-tile {
  display: block;
  padding: 0.2rem 0.35rem;
  background: var(--light);
  border-radius: var(--radius);
}
.brand-tile img { width: 3.6rem; height: auto; }

.brand-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-text span { display: block; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.header-call { display: none; }

/* Hamburger button (shown by JS) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.is-open .nav-toggle-bars { background: transparent; }
.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Navigation. No JS: simple wrapped row. JS on: dropdown panel on small screens. */
.site-nav { order: 3; width: 100%; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--accent); }

.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.js .is-open .site-nav { display: block; }
.js .nav-list { flex-direction: column; padding: var(--space-1) var(--space-2) var(--space-2); }
.js .nav-list a { border-bottom: 1px solid var(--border); min-height: 3rem; }
.js .nav-list li:last-child a { border-bottom: 0; }

/* Hidden icon sprite (the <svg> holding the icon symbols) */
.svg-sprite { position: absolute; }

/* ---------- Hero (looping video) ---------- */
/* Phones and tablets: the portrait video fills the whole hero behind the text.
   Its action (the pour) is in the top ~40%, so the text sits low and a dark gradient
   (strongest at the bottom) keeps it readable. From 1024px up it becomes a split layout. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 36rem;
  overflow: hidden;
  background: var(--bg);
}

.hero-media { position: absolute; inset: 0; pointer-events: none; }   /* only the pause button takes clicks */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* keep the pour in view */
}

/* Dark gradient so the headline is always readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--scrim) 0%, var(--scrim) 60%, var(--scrim-mid) 76%, var(--scrim-soft) 88%, transparent 100%);
}

.hero-content {
  width: 100%;
  padding-block: 19rem var(--space-4);   /* top space leaves the pour visible */
}
/* Phones: hero fills the screen between the header and the sticky Call/WhatsApp bar,
   so the hero buttons are visible on first view. */
@media (max-width: 639.98px) {
  .hero { min-height: calc(100svh - var(--header-h) - var(--bar-h)); }
  /* top space shrinks on short screens (real phones lose ~180px to browser toolbars) */
  .hero-content { padding-top: clamp(1.5rem, calc(100svh - 37rem), 13rem); }
}
/* Short phone screens (most phones once browser toolbars are counted): drop the intro line,
   which the Services section repeats, so the pour stays visible above the headline. */
@media (max-width: 639.98px) and (max-height: 760px) {
  .hero-lead { display: none; }
  .hero-content { padding-top: clamp(1.5rem, calc(100svh - 33rem), 13rem); }
}
/* Very narrow phones: keep the tagline and both hero buttons on one line each */
@media (max-width: 380px) {
  .hero-tagline { font-size: 1rem; letter-spacing: 0.06em; }
  .hero-buttons { gap: 0.5rem; }
  .hero-buttons .btn { padding-inline: 0.85rem; }
}
.hero-tagline {
  margin-bottom: var(--space-1);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--scrim), 0 1px 2px var(--scrim), 0 1px 8px var(--scrim);
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 10vw, 4.75rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 12px var(--scrim);
}
.hero-lead {
  max-width: 34rem;
  margin-top: var(--space-2);
  font-size: 1.1rem;
  text-shadow: 0 1px 8px var(--scrim);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

/* Pause / play button (shown by JS only while the video can play) */
.hero-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: var(--pill);
  border: 0;
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
}
.hero-ctrl:hover { color: var(--accent); }
.hero-ctrl .icon { width: 1.4rem; height: 1.4rem; }
.hero-toggle {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  pointer-events: auto;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-5); }
.section--alt { background: var(--bg-alt); }
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

.section-title {
  position: relative;
  margin-bottom: var(--space-3);
  padding-bottom: 0.75rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-title::after,
.page-head h1::after {           /* short orange underline bar */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section-intro { max-width: 40rem; margin-bottom: var(--space-3); color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--space-3); }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; padding: var(--space-3); }
.card h3 {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.card-spec { margin: 0; color: var(--text-muted); font-size: 1rem; }
.card-spec-label { color: var(--accent); font-weight: 600; }

/* Services: list of sub-services inside each card */
.service-list { display: grid; gap: 0.75rem; margin-top: var(--space-2); }
.service-list li { padding-left: 1rem; border-left: 3px solid var(--accent); }
.service-list strong { display: block; font-weight: 600; }
.service-list span { color: var(--text-muted); }

.section-cta { margin-top: var(--space-4); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-3) var(--space-1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  line-height: 1.25;
}
.industry .icon { width: 2.75rem; height: 2.75rem; color: var(--accent); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--space-4); align-items: center; }
.about-points { display: grid; gap: 0.75rem; margin-block: var(--space-3); }
.about-points li { position: relative; padding-left: 1.75rem; }
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  transform: rotate(45deg);
}
.about-photo {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); }
.contact-list { display: grid; gap: var(--space-2); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-item .icon { margin-top: 0.15rem; color: var(--accent); }
.contact-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-value { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--accent); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }

.map-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
/* Google Maps embed (lazy iframe). The grid pattern shows while it loads. */
.map-embed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  flex: 1;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--border) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--border) 39px 40px),
    var(--bg);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-footer { padding: var(--space-2); border-top: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--space-4) var(--space-3);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; gap: var(--space-3); }
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-tagline { color: var(--text-muted); }
.footer-heading {
  margin-bottom: var(--space-1);
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  text-decoration: none;
}
.footer-list a:hover { color: var(--accent); text-decoration: underline; }
.copyright {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Phone-only sticky bottom bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-bar .btn { flex: 1; }

/* ---------- Gallery page ---------- */
.page-head {
  padding-block: var(--space-4) var(--space-3);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  position: relative;
  padding-bottom: 0.75rem;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  text-transform: uppercase;
}
.page-head p { max-width: 40rem; margin: var(--space-2) 0 0; color: var(--text-muted); font-size: 1.1rem; }

/* Less space between the page heading and the filters */
.page-head + .section { padding-top: var(--space-4); }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-2); }
.filter-btn {
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery-status:empty { display: none; }
.gallery-status { margin-bottom: var(--space-2); color: var(--text-muted); font-size: 0.95rem; }

/* Photos keep their own proportions (portrait and landscape mix) */
.gallery-grid { column-count: 2; column-gap: 0.75rem; }
.gallery-item { margin: 0 0 0.75rem; break-inside: avoid; }
.gallery-item a {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.gallery-item img { width: 100%; height: auto; transition: transform 0.3s; }
@media (hover: hover) {
  .gallery-item a:hover { border-color: var(--accent); }
  .gallery-item a:hover img { transform: scale(1.04); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0.5rem 1rem;
  background: var(--lightbox-bg);
}
.lb-figure { margin: 0; max-width: 100%; text-align: center; }
.lb-img img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}
.lb-caption { max-width: 40rem; margin: var(--space-1) auto 0; padding-inline: var(--space-1); color: var(--text); font-size: 1rem; }
.lb-count { margin: 0.25rem 0 0; color: var(--text-muted); font-size: 0.95rem; }
.lb-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: var(--pill);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lb-close { top: 0.5rem; right: 0.5rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0.25rem; }
.lb-next { right: 0.25rem; }
body.lb-open { overflow: hidden; }

/* ==========================================================================
   Tablet: 640px and up
   ========================================================================== */
@media (min-width: 640px) {
  :root { --bar-h: 0rem; }
  .container { padding-inline: var(--space-3); }

  .mobile-bar { display: none; }
  .header-call { display: inline-flex; }
  .brand-tile img { width: 4.2rem; }
  .brand-text { font-size: 1.3rem; }

  .section { padding-block: 4.5rem; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }

  .gallery-grid { column-count: 3; column-gap: 1rem; }
  .gallery-item { margin-bottom: 1rem; }

  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
  .lb-close { top: 1rem; right: 1rem; }
}

/* Tablet only: an odd last card (e.g. the 3rd service) spans both columns, photo beside text */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .card-grid--3 > .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .card-grid--3 > .card:last-child:nth-child(odd) .card-media { aspect-ratio: auto; height: 100%; }
}

/* ==========================================================================
   Desktop: 1024px and up
   ========================================================================== */
@media (min-width: 1024px) {
  .section { padding-block: 5.5rem; }

  /* Header: logo | nav | call button, all in one row */
  .header-inner { flex-wrap: nowrap; }
  .site-nav { order: 0; width: auto; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .nav-toggle { display: none; }
  .nav-list { gap: 0 1.5rem; }
  .js .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .js .nav-list { flex-direction: row; padding: 0; }
  .js .nav-list a { border-bottom: 0; min-height: 2.75rem; }

  /* Hero: split layout. Text on the charcoal surface (left), video in a square panel (right). */
  .hero {
    align-items: center;
    min-height: clamp(32rem, 80vh, 44rem);
    background: var(--surface);
  }
  .hero::before { display: none; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 27rem;
    gap: var(--space-5);
    align-items: center;
    padding-block: var(--space-4);
  }
  .hero-content { padding-block: 0; }
  .hero-media {
    position: relative;
    inset: auto;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 1 / 1;   /* shows the top ~55% of the portrait video, where the pour is */
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    pointer-events: auto;
  }
  .hero-video { z-index: 0; transform: scale(1.3); transform-origin: 50% 8%; }   /* zoom toward the pour */

  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(6, 1fr); }
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-5); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  .gallery-grid { column-count: 4; }
}

/* ---------- Reduced motion: no fades, no lifting, no smooth scroll ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .gallery-item a:hover img { transform: none; }
}
