/* ==========================================================================
   LTR Supply Solutions — main stylesheet
   Brand colours taken from the LTR company profile: red, black/charcoal, white, grey
   --------------------------------------------------------------------------
   1. Variables & reset        6. Cards, tiles, grids       11. Forms & contact
   2. Typography & helpers     7. Split / feature rows      12. Footer
   3. Buttons                  8. Stats, steps, strips      13. Scroll animations
   4. Header & navigation      9. Inner page hero           14. Keyframes
   5. Home hero & quick box   10. Products page             15. Responsive
   ========================================================================== */

/* 1. Variables & reset ---------------------------------------------------- */
:root {
  --red: #e2231a;
  --red-600: #c4160f;
  --red-700: #9c0f0a;
  --ink: #141518;
  --charcoal: #23252a;
  --slate: #3a3d44;
  --grey-600: #5f646d;
  --grey-400: #a3a7ae;
  --grey-200: #e4e5e8;
  --grey-100: #f3f4f5;
  --white: #ffffff;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 21, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 21, 24, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn 0.6s var(--ease) both;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

/* 2. Typography & helpers ------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--red); }
.lead { font-size: 1.1rem; color: var(--grey-600); max-width: 62ch; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.eyebrow--light { color: #fff; }

/* the short red-to-grey rule used under every title in the company profile */
.rule { display: block; width: 120px; height: 4px; margin: 0 0 22px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 45%, var(--grey-400) 45% 100%);
  transform-origin: left; }

.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--grey { background: var(--grey-100); }
.section--dark { background: var(--charcoal); color: #d7d9dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.head__text { max-width: 720px; }
.head__text p:last-child { margin-bottom: 0; color: var(--grey-600); }
.section--dark .head__text p:last-child { color: #b9bcc2; }
.head--center { justify-content: center; text-align: center; }
.head--center .rule { margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }

/* inline SVG icons are injected by js/main.js into <i class="ico" data-icon="name"> */
.ico { display: inline-flex; width: 1.5em; height: 1.5em; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* image placeholder — shows a labelled dark panel until you fill in the src="" */
.media { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #30333a, #17181c); }
.media::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px); }
.media::after { content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 600 0.7rem/1 var(--font-body); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.28); padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform 0.9s var(--ease); }
.media img[src=""], .media img:not([src]) { opacity: 0; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--rounded { border-radius: var(--radius); }

/* 3. Buttons -------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 6px; overflow: hidden; isolation: isolate;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
  border: 2px solid transparent; white-space: nowrap;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* slanted colour wipe on hover */
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; transform: translateX(-110%) skewX(-18deg);
  transform-origin: left; transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(226, 35, 26, 0.28); }
.btn--primary::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--red); }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, .card:hover .link-arrow .ico { transform: translateX(6px); }

/* 4. Header & navigation -------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  animation: headerDrop 0.7s var(--ease) both; }
.site-header::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--red) 0 30%, var(--ink) 30% 100%); }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 21, 24, 0.1); border-color: var(--grey-200); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.brand__img { height: 100px; width: auto; }   /* logo size: stays the same when the page scrolls */
.brand__img[src=""], .brand__img:not([src]) { display: none; }       /* no logo image yet → show the text logo */
.brand__img:not([src=""]) + .brand__text { display: none; }            /* logo image added → hide the text logo */
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.04em; color: var(--ink); display: inline-flex; align-items: flex-end; }
.brand__mark::after { content: ""; width: 9px; height: 9px; background: var(--red); margin: 0 0 5px 3px; }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 0.68rem; letter-spacing: 0.02em; color: var(--ink); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--charcoal); transition: color 0.3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 20px; font-size: 0.84rem; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease), background 0.3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

main { padding-top: var(--header-h); }

/* 5. Home hero & quick box ------------------------------------------------ */
.hero { position: relative; height: clamp(560px, calc(100vh - var(--header-h)), 780px); background: var(--ink); overflow: hidden; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); }
.hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
.hero__media::after { left: auto; right: 24px; top: 24px; transform: none; }
.hero__slide.is-active .hero__media img { animation: kenBurns 9s linear both; }
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(20, 21, 24, 0.9) 0%, rgba(20, 21, 24, 0.62) 42%, rgba(20, 21, 24, 0.1) 78%); }
/* red diagonal blades — the signature shape of the LTR profile */
.hero__shape { position: absolute; z-index: 3; right: -6%; bottom: -1px; width: 52%; height: 48%; pointer-events: none;
  background: linear-gradient(120deg, var(--red-700), var(--red));
  clip-path: polygon(30% 100%, 100% 0, 100% 100%); animation: bladeIn 1.2s 0.3s var(--ease) both; }
.hero__shape--2 { width: 34%; height: 27%; background: var(--ink); clip-path: polygon(30% 100%, 100% 8%, 100% 100%); animation-delay: 0.5s; }
.hero__content { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 90px; }
.hero__content > * { max-width: 680px; opacity: 0; transform: translateY(34px); }
.hero__slide.is-active .hero__content > * { animation: riseIn 0.9s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: 0.12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: 0.24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: 0.36s; }
.hero__title { font-size: clamp(2.2rem, 5.2vw, 4rem); color: #fff; margin-bottom: 0.45em; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); color: #dcdee2; max-width: 560px; }
.hero__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 118px; display: flex; gap: 10px; }
.hero__dot { width: 56px; height: 18px; display: flex; align-items: center; }
.hero__dot span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: dotFill 6.5s linear forwards; }
.hero:hover .hero__dot.is-active span::after { animation-play-state: paused; }

.quick { position: relative; z-index: 10; margin-top: -84px; }
.quick__box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick__tabs { display: flex; background: var(--grey-100); }
.quick__tab { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--grey-600); transition: color 0.3s, background 0.3s; }
.quick__tab::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.quick__tab:hover { color: var(--ink); }
.quick__tab.is-active { background: #fff; color: var(--ink); }
.quick__tab.is-active::after { transform: scaleX(1); }
.quick__tab.is-active .ico { color: var(--red); }
.quick__panel { display: none; padding: 26px 28px 30px; }
.quick__panel.is-active { display: block; animation: riseIn 0.5s var(--ease) both; }
.quick__form { display: flex; gap: 12px; }
.quick__form .input { flex: 1; }
.quick__hint { margin: 12px 0 0; font-size: 0.86rem; color: var(--grey-600); }
.quick__hours { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.quick__hours strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }

.input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--grey-200); border-radius: 6px; background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s; }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(226, 35, 26, 0.12); }
textarea.input { min-height: 140px; resize: vertical; }

.notice { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-radius: var(--radius-sm);
  background: var(--grey-100); border-left: 4px solid var(--red); }
.notice .ico { color: var(--red); }
.notice p { margin: 0; flex: 1; min-width: 220px; }
.notice strong { font-family: var(--font-head); color: var(--ink); }

/* 6. Cards, tiles, grids -------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* red rounded icon badge, as used throughout the profile */
.badge { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 14px; color: #fff;
  background: linear-gradient(145deg, #f0382f, var(--red-600)); box-shadow: 0 8px 18px rgba(226, 35, 26, 0.3);
  transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease); }
.badge .ico { width: 28px; height: 28px; }
.badge--round { border-radius: 50%; width: 72px; height: 72px; }
.badge--round .ico { width: 34px; height: 34px; }
.badge--line { background: #fff; color: var(--red); border: 1.5px solid var(--grey-200); box-shadow: none; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); z-index: 2; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }
.card:hover .media img { transform: scale(1.07); }
.card:hover .badge { transform: rotate(-6deg) scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; text-transform: uppercase; letter-spacing: 0.01em; }
.card__body p { margin: 0; color: var(--grey-600); font-size: 0.95rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 10px; }
.card__top { display: flex; align-items: center; gap: 14px; }
.card__top .badge { width: 48px; height: 48px; border-radius: 12px; }
.card__top .badge .ico { width: 24px; height: 24px; }
.card--overlap .badge { margin-top: -52px; position: relative; z-index: 3; border: 4px solid #fff; width: 62px; height: 62px; }

.tile { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--grey-200); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tile:hover .badge { transform: rotate(-6deg) scale(1.06); }
.tile h3 { margin: 2px 0 6px; text-transform: uppercase; }
.tile p { margin: 0; color: var(--grey-600); font-size: 0.95rem; }
.tile > div { min-width: 0; }
.tile h3, .tile p, .card__body h3, .step h3, .standard h3 { overflow-wrap: break-word; min-width: 0; }
.tile--center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.tile--center h3 { margin: 0; }
.tile--center h3::after { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin: 12px auto 0; transition: width 0.4s var(--ease); }
.tile--center:hover h3::after { width: 64px; }
.tile--mini { padding: 22px 14px; }
.tile--mini h3 { font-size: 0.95rem; text-transform: none; }
.tile--mini h3::after { display: none; }
.tile--mini small { color: var(--grey-600); }
.section--dark .tile { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .tile p { color: #b9bcc2; }

/* tall photo cards (who we serve) */
.sector { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; }
.sector .media { aspect-ratio: 3 / 4; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 35%, rgba(20, 21, 24, 0.92) 100%); transition: background 0.5s; }
.sector__body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: center; gap: 12px; }
.sector__body h3 { margin: 0; color: #fff; font-size: 1.05rem; min-width: 0; overflow-wrap: break-word; }
.sector__body .ico { color: var(--red); width: 30px; height: 30px; transition: transform 0.5s var(--ease); }
.sector::before { content: ""; position: absolute; z-index: 3; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.sector:hover::before { transform: scaleX(1); }
.sector:hover .media img { transform: scale(1.08); }
.sector:hover .ico { transform: translateY(-4px) scale(1.1); }

/* horizontal carousel (scroll-snap, buttons wired in main.js) */
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 34px; margin: -10px -4px -10px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; min-width: 250px; }
.carousel__ctrl { display: flex; gap: 10px; flex: none; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--grey-200); display: grid; place-items: center; background: #fff; color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.carousel__btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }
.carousel__btn:disabled { opacity: 0.35; pointer-events: none; }

/* 7. Split / feature rows ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__media { position: relative; }
.split__media .media { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
/* red corner blade behind images */
.split__media::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 46%; height: 46%; background: var(--red);
  clip-path: polygon(0 0, 0 100%, 100% 100%); border-radius: 0 0 0 var(--radius); z-index: -1; }
.split--flip .split__media::before { left: auto; right: -18px; clip-path: polygon(100% 0, 0 100%, 100% 100%); border-radius: 0 0 var(--radius) 0; }
.section--dark .split__media::before { z-index: 0; }
.section--dark .split__media .media { position: relative; z-index: 1; }

.purpose { margin-top: 26px; padding: 22px 24px; background: var(--charcoal); color: #e5e6e9; border-radius: var(--radius); display: flex; gap: 18px; align-items: flex-start;
  border-left: 5px solid var(--red); }
.purpose h3 { color: #fff; margin: 0 0 6px; text-transform: uppercase; }
.purpose p { margin: 0; }
.purpose .ico { color: var(--red); width: 38px; height: 38px; }

.checklist { display: grid; gap: 14px; margin: 22px 0 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 6px; background: var(--red)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* numbered business-activity rows */
.activity { display: grid; grid-template-columns: 120px 1fr 42%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.activity + .activity { margin-top: 28px; }
.activity:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.activity:hover .media img { transform: scale(1.06); }
.activity__num { background: var(--charcoal); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; position: relative; }
.activity__num b { position: absolute; left: 0; top: 0; background: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; padding: 8px 22px 8px 14px; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.activity__num .ico { width: 54px; height: 54px; }
.activity__body { padding: 34px 36px; align-self: center; }
.activity__body h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.activity__body p { color: var(--grey-600); margin: 0; }
.activity .media { aspect-ratio: auto; min-height: 240px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }

/* 8. Stats, steps, strips ------------------------------------------------- */
.stats { position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; right: -4%; top: 0; bottom: 0; width: 34%; background: linear-gradient(135deg, var(--red), var(--red-700));
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.95; }
.stats .grid { position: relative; }
.stat { padding: 8px 0 8px 22px; border-left: 3px solid var(--red); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 10px; color: #c9ccd1; font-size: 0.95rem; }
.stat:nth-child(4) { border-color: #fff; }

.steps { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; counter-increment: step; background: #fff; border-radius: var(--radius); padding: 30px 14px 24px; text-align: center; border: 1px solid var(--grey-200);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; }
.step::before { content: "0" counter(step); position: absolute; top: 12px; left: 14px; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; color: var(--grey-400); transition: color 0.3s; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--grey-400); border-right: 3px solid var(--grey-400);
  transform: translateY(-50%) rotate(45deg); z-index: 2; animation: nudge 1.6s ease-in-out infinite; }
.step .ico { width: 44px; height: 44px; color: var(--red); margin-bottom: 12px; transition: transform 0.45s var(--ease); }
.step h3 { margin: 0; font-size: 0.98rem; }
.step small { display: block; color: var(--grey-600); margin-top: 4px; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--red); }
.step:hover::before { color: var(--red); }
.step:hover .ico { transform: scale(1.15); }

/* slanted value strip from the footer of each profile page */
.strip { display: flex; align-items: stretch; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: clamp(32px, 5vw, 56px); }
.strip__label { position: relative; flex: none; width: 300px; padding: 26px 60px 26px 30px; background: var(--charcoal); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1.2; text-transform: uppercase; display: flex; flex-direction: column; justify-content: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%); }
.strip__label::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 60px; background: var(--red); clip-path: polygon(74% 0, 100% 0, 26% 100%, 0 100%); }
.strip__label span { color: var(--red); }
.strip__items { flex: 1; display: flex; align-items: center; }
.strip__items li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; line-height: 1.25; color: var(--ink); border-left: 1px solid var(--grey-200); transition: transform 0.4s var(--ease); }
.strip__items li:first-child { border-left: 0; }
.strip__items li:hover { transform: translateY(-4px); }
.strip__items .ico { width: 34px; height: 34px; color: var(--red); }

.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; padding: 0 34px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; white-space: nowrap; }

/* food safety standard badges */
.standard { text-align: center; padding: 30px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-200); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.standard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.standard__seal { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--red); color: var(--red);
  font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; position: relative; }
.standard__seal::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--red); border-radius: 50%; animation: spin 26s linear infinite; }
.standard h3 { margin: 0 0 4px; }
.standard p { margin: 0; color: var(--grey-600); font-size: 0.92rem; }
.section--dark .standard { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .standard p { color: #b9bcc2; }
.section--dark .standard__seal { background: #fff; }

/* big vision / mission rows */
.vm { display: grid; grid-template-columns: 300px 1fr; align-items: center; background: var(--grey-100); border-radius: 60px 14px 60px 14px; padding: 26px 34px; }
.vm + .vm { margin-top: 20px; }
.vm__title { display: flex; align-items: center; gap: 20px; padding-right: 24px; }
.vm__title h3 { margin: 0; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }
.vm__text { border-left: 2px solid var(--grey-200); padding-left: 30px; font-size: 1.08rem; }
.vm__text p { margin: 0; }
.vm__text .checklist { margin: 0; }

/* CTA band */
.cta { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; top: 0; bottom: 0; }
.cta::before { right: 0; width: 38%; background: linear-gradient(135deg, var(--red), var(--red-700)); clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%); }
.cta::after { right: 30%; width: 12%; background: rgba(255, 255, 255, 0.07); clip-path: polygon(60% 0, 100% 0, 40% 100%, 0 100%); animation: sheen 5s ease-in-out infinite; }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(48px, 7vw, 80px) 0; }
.cta h2 { color: #fff; margin: 0 0 8px; text-transform: uppercase; }
.cta p { margin: 0; color: #c9ccd1; max-width: 560px; }

/* 9. Inner page hero ------------------------------------------------------ */
.page-hero { position: relative; background: var(--charcoal); color: #dcdee2; overflow: hidden; min-height: 400px; display: flex; align-items: center; }
.page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; aspect-ratio: auto; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); animation: slideInRight 1.1s var(--ease) both; }
.page-hero__media img { animation: kenBurns 14s linear both; }
.page-hero::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; right: 42%; width: 16%; background: linear-gradient(160deg, var(--red), var(--red-700));
  clip-path: polygon(82% 0, 100% 0, 18% 100%, 0 100%); animation: bladeIn 1s 0.2s var(--ease) both; }
.page-hero__inner { position: relative; z-index: 3; padding: 70px 0; }
.page-hero__inner > * { max-width: 520px; animation: riseIn 0.9s var(--ease) both; }
.page-hero__inner > :nth-child(2) { animation-delay: 0.1s; }
.page-hero__inner > :nth-child(3) { animation-delay: 0.2s; }
.page-hero__inner > :nth-child(4) { animation-delay: 0.3s; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); text-transform: uppercase; }
.page-hero p { font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 0.85rem; margin-bottom: 18px; color: var(--grey-400); }
.crumbs a:hover { color: #fff; }

/* 10. Products page ------------------------------------------------------- */
.filter { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grey-200); }
.filter__inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.filter__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.filter__list::-webkit-scrollbar { display: none; }
.filter__btn { flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--grey-200); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: var(--charcoal); background: #fff;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.filter__btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.filter__btn.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.filter__search { position: relative; flex: none; width: 240px; }
.filter__search .input { padding: 10px 14px 10px 40px; border-radius: 999px; font-size: 0.9rem; }
.filter__search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey-600); }

.pgroup { padding: clamp(48px, 7vw, 84px) 0; border-bottom: 1px solid var(--grey-200); }
.pgroup:nth-of-type(even) { background: var(--grey-100); }
.pgroup.is-hidden, .card.is-hidden { display: none; }
.pgroup__head { display: grid; grid-template-columns: 1fr 44%; background: var(--charcoal); color: #dcdee2; border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; }
.pgroup__title { padding: 38px 36px; display: flex; gap: 22px; align-items: flex-start; }
.pgroup__title > .ico { width: 56px; height: 56px; color: #fff; padding-right: 20px; border-right: 2px solid rgba(255, 255, 255, 0.4); box-sizing: content-box; }
.pgroup__title h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-transform: uppercase; margin-bottom: 0.4em; }
.pgroup__title p { margin: 0; }
.pgroup__head .media { aspect-ratio: auto; min-height: 220px; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.ribbon { display: inline-block; position: relative; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem;
  padding: 10px 50px 10px 22px; margin-bottom: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); }
/* product cards (Gribbite Fast Foods items on products.html) */
.pgroup__head--plain { grid-template-columns: 1fr; }
.grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product__media { aspect-ratio: 720 / 501; background: #fff; border-bottom: 1px solid var(--grey-200); }
.product__media::before, .product__media::after { display: none; }
.product__media img { object-fit: contain; }
.product .card__body { gap: 12px; padding: 20px; }
.product .card__body h3 { text-transform: none; font-size: 1.02rem; line-height: 1.3; overflow-wrap: break-word; }
.product__tag { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.product__tag--new { background: var(--ink); }
.filter__count { display: inline-block; min-width: 22px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--grey-100); color: var(--grey-600); font-size: 0.72rem; text-align: center; }
.filter__btn.is-active .filter__count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.no-results { display: none; text-align: center; padding: 80px 0; color: var(--grey-600); }
.no-results.is-visible { display: block; }

/* 11. Forms & contact ----------------------------------------------------- */
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); border-top: 5px solid var(--red); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.84rem; color: var(--ink); }
.field__error { display: none; color: var(--red-600); font-size: 0.82rem; }
.field.has-error .input { border-color: var(--red); animation: shake 0.4s; }
.field.has-error .field__error { display: block; }
.form__success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: #eef8f0; color: #1d6b34; border-left: 4px solid #2e9e4f; animation: riseIn 0.5s var(--ease) both; }
.form__success.is-visible { display: block; }
.form__error { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fdeeed; color: var(--red-700); border-left: 4px solid var(--red); animation: riseIn 0.5s var(--ease) both; }
.form__error.is-visible { display: block; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading .ico { animation: spin 0.9s linear infinite; }
.form__note { font-size: 0.82rem; color: var(--grey-600); margin: 14px 0 0; }

.info-list { display: grid; gap: 16px; }
.hours { background: var(--charcoal); color: #dcdee2; border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: center; border-left: 5px solid var(--red); }
.hours .ico { width: 44px; height: 44px; color: #fff; }
.hours h3 { color: #fff; margin: 0 0 4px; text-transform: uppercase; }
.hours p { margin: 0; }
.hours strong { color: #fff; }

/* pulsing hub marker on the network image */
.pin { position: absolute; z-index: 4; left: 66%; top: 58%; display: flex; align-items: center; gap: 8px; }
.pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--red); position: relative; }
.pin i::before, .pin i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; }
.pin i::after { animation-delay: 1.2s; }
.pin b { background: var(--red); color: #fff; font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 4px; }

/* contact links (phone / email) */
.tile p a, .hours a { transition: color 0.3s; word-break: break-word; }
.tile p a:hover, .hours a:hover { color: var(--red); }

/* Google Map on the contact page */
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grey-200); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; }
.map__card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: #fff; border-left: 5px solid var(--red); }
.map__card > .ico { color: var(--red); width: 26px; height: 26px; margin-top: 2px; }
.map__card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.map__card span { display: block; font-size: 0.92rem; color: var(--grey-600); margin: 2px 0 8px; }

/* 12. Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b4b7bd; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--red) 0 30%, var(--charcoal) 30% 100%); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer .brand__mark, .site-footer .brand__sub { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { position: relative; transition: color 0.3s, padding-left 0.3s var(--ease); }
.site-footer li a:hover { color: #fff; padding-left: 8px; }
.site-footer__about { margin-top: 18px; max-width: 320px; font-size: 0.94rem; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .ico { color: var(--red); width: 20px; height: 20px; margin-top: 3px; }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 0.85rem; }
.site-footer__bar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bar b { color: #fff; font-family: var(--font-head); letter-spacing: 0.12em; }
.site-footer__bar b i { color: var(--red); font-style: normal; padding: 0 6px; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(226, 35, 26, 0.4); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); transform: translateY(-4px); }
.to-top .ico { transform: rotate(-90deg); width: 20px; height: 20px; }

/* 13. Scroll animations (class "js" is added to <html> by main.js) -------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .rule { transform: scaleX(0); transition: transform 0.9s 0.2s var(--ease); }
.js .is-in .rule, .js .rule.is-in, .js .page-hero .rule { transform: scaleX(1); }
.js .page-hero .rule { animation: growX 0.9s 0.4s var(--ease) both; }

/* 14. Keyframes ----------------------------------------------------------- */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes bladeIn { from { opacity: 0; transform: translateX(40%); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(12%); } to { opacity: 1; transform: none; } }
@keyframes dotFill { to { transform: scaleX(1); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 0%, 100% { margin-right: 0; } 50% { margin-right: -4px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(4); opacity: 0; } }
@keyframes sheen { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(-40%); opacity: 1; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* 15. Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3n)::after { display: none; }
  .carousel__item { flex-basis: calc((100% - 48px) / 3); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .strip { flex-direction: column; }
  .strip__label { width: 100%; clip-path: none; padding: 20px 26px; }
  .strip__label::after { display: none; }
  .strip__items { flex-wrap: wrap; }
  .strip__items li { flex: 1 0 30%; border-left: 0; }

  /* mobile navigation panel */
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); height: 100vh; height: 100dvh; z-index: 110; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 96px 28px 32px; background: var(--charcoal); transform: translateX(100%); transition: transform 0.5s var(--ease); overflow-y: auto; }
  .nav::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
  .nav-open .nav { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { color: #fff; font-size: 1.1rem; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); opacity: 0; transform: translateX(24px); transition: opacity 0.4s, transform 0.4s var(--ease), color 0.3s; }
  .nav__link::after { display: none; }
  .nav-open .nav__link { opacity: 1; transform: none; }
  .nav-open .nav__list li:nth-child(1) .nav__link { transition-delay: 0.08s; }
  .nav-open .nav__list li:nth-child(2) .nav__link { transition-delay: 0.12s; }
  .nav-open .nav__list li:nth-child(3) .nav__link { transition-delay: 0.16s; }
  .nav-open .nav__list li:nth-child(4) .nav__link { transition-delay: 0.2s; }
  .nav-open .nav__list li:nth-child(5) .nav__link { transition-delay: 0.24s; }
  .nav-open .nav__list li:nth-child(6) .nav__link { transition-delay: 0.28s; }
  .nav-open .nav__list li:nth-child(7) .nav__link { transition-delay: 0.32s; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 95; background: rgba(20, 21, 24, 0.6); animation: pageIn 0.4s both; }
}

/* small laptop / iPad landscape: icon tiles inside a half-width column need the full column to fit their text */
@media (min-width: 821px) and (max-width: 1100px) {
  .split .grid--2:has(> .tile) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* iPad portrait: two-up */
  .grid--5, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .head { flex-direction: column; align-items: flex-start; }
  .head--center { align-items: center; }
  .carousel__item { flex-basis: 72%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3n)::after { display: block; }
  .step:nth-child(2n)::after { display: none; }
  .hero__shape { width: 70%; height: 20%; opacity: 0.85; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(20, 21, 24, 0.72), rgba(20, 21, 24, 0.86)); }
  .quick__tab span { display: none; }
  .quick__form { flex-direction: column; }
  .activity { grid-template-columns: 1fr; }
  .activity__num { flex-direction: row; justify-content: flex-end; padding: 16px 22px; }
  .activity .media, .pgroup__head .media { clip-path: none; min-height: 200px; }
  .pgroup__head { grid-template-columns: 1fr; }
  .vm { grid-template-columns: 1fr; gap: 18px; border-radius: 14px; }
  .vm__text { border-left: 0; padding-left: 0; }
  .page-hero__media { width: 100%; clip-path: none; opacity: 0.28; }
  .page-hero::before { right: -4%; width: 34%; opacity: 0.9; }
  .filter__inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter__search { width: 100%; }
  .form__grid { grid-template-columns: 1fr; }
  .stats::before, .cta::before, .cta::after { opacity: 0.25; }
  /* sideways slide-ins become simple fade-ups on small screens */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(36px); }
  .js [data-reveal].is-in { transform: none; }
}

@media (max-width: 700px) {
  .grid--3, .grid--2, .grid--4:has(> .tile:not(.tile--center)) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .strip__items li { flex-basis: 45%; }
  .btn { width: 100%; }
  .nav__cta, .cta .btn { width: 100%; }
  .pgroup__title { flex-direction: column; }
  .pgroup__title > .ico { border-right: 0; padding-right: 0; }

  /* phone: two-up photo cards — icon sits above a smaller title so long words fit */
  .grid--5, .grid--6 { gap: 14px; }
  .sector__body { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .sector__body h3 { font-size: 0.8rem; line-height: 1.2; max-width: 100%; hyphens: auto; }
  .sector__body .ico { width: 24px; height: 24px; }
  .tile { padding: 20px 16px; }
  .tile--center { padding: 20px 12px; }
  .tile--center h3 { font-size: 1rem; }
  .tile h3, .tile p, .card__body h3, .step h3, .standard h3 { hyphens: auto; }
  .tile--center p { font-size: 0.88rem; }
  .grid--products { gap: 14px; }
  .product .card__body { padding: 14px 12px; gap: 8px; }
  .product .card__body h3 { font-size: 0.9rem; }
  .product__tag { left: 8px; top: 8px; font-size: 0.58rem; padding: 4px 8px; }
  .steps { gap: 14px; }
  .step { padding: 30px 10px 20px; }
  .step:not(:last-child)::after { right: -12px; width: 8px; height: 8px; }
  .split__media::before { left: -10px; bottom: -10px; }
  .split--flip .split__media::before { right: -10px; }
  .btn { white-space: normal; text-align: center; }
  .quick__panel { padding: 20px 18px 24px; }
  .activity__body { padding: 26px 22px; }
  .pgroup__title { padding: 28px 22px; }
  .vm { padding: 22px 20px; }
  .hours, .purpose { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
}
