/* ==========================================================================
   Innovibyte — innovibyte.com
   Palette taken from the company logo: sky #209CDA → deep blue #0C6AC1,
   navy for type, white surfaces, soft blue-gray tints. One font family.
   ========================================================================== */

:root {
  --brand:       #1583D6;   /* logo mid blue — links, buttons */
  --brand-sky:   #209CDA;   /* logo top */
  --brand-deep:  #0C6AC1;   /* logo bottom — hovers */
  --brand-tint:  #E2F0FB;   /* icon chips, highlights */
  --navy:        #0D2B4E;   /* headings, footer */
  --navy-deep:   #0A2240;
  --text:        #46586E;   /* body copy */
  --text-soft:   #7A8CA1;
  --bg:          #FFFFFF;
  --bg-soft:     #F3F8FD;   /* alternating sections */
  --border:      #DFE9F4;

  --grad-brand:  linear-gradient(135deg, #209CDA 0%, #0C6AC1 100%);

  --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:       0 1px 2px rgba(13, 43, 78, 0.06);
  --shadow-hover: 0 12px 28px rgba(13, 43, 78, 0.12);

  --shell-max: 1160px;
  --shell-pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--navy); margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
main a:not(.btn) {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
main a:not(.btn):hover { color: var(--brand-deep); }

::selection { background: var(--brand); color: #fff; }

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-inline: var(--shell-pad);
}

/* helper anchor so the old /#ontheway-details links keep resolving */
.anchor-alias { position: relative; top: -90px; display: block; height: 0; }

.eyebrow,
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.9rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, box-shadow 160ms ease;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
}
.btn-solid:hover {
  background: var(--brand-deep);
  box-shadow: 0 6px 16px rgba(12, 106, 193, 0.3);
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-line:hover {
  border-color: var(--brand);
  color: var(--brand);
}

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

.btn-wide { width: 100%; }
.btn-nav { padding: 0.55rem 1.2rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
  margin: 0;
}
.brand img { width: 36px; height: 36px; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  padding-block: 0.25rem;
  transition: color 160ms ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  transition: right 260ms ease;
}
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav a:not(.btn):hover::after,
.site-nav a.is-current:not(.btn)::after { right: 0; }
.site-nav a.is-current:not(.btn) { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

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

.hero {
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(32, 156, 218, 0.10), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 6rem) clamp(2rem, 5vh, 3.5rem);
}

.hero-title {
  font-size: clamp(2.3rem, 5.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  max-width: 15em;
}
.hero-title .hl { color: var(--brand); }

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  max-width: 33em;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-meta {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---- Hero 3D scene ---- */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.scene {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
}

/* JS writes --rx / --ry on this element as the cursor moves */
.scene-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 15deg)) rotateY(var(--ry, -22deg));
  transition: transform 250ms ease-out;
}

.scene-float {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: sceneFloat 7s ease-in-out infinite;
}
@keyframes sceneFloat {
  0%, 100% { transform: translate3d(0, -9px, 0); }
  50%      { transform: translate3d(0,  9px, 0); }
}

.slab {
  position: absolute;
  border-radius: 28px;
}
.slab-back {
  inset: 8% 4%;
  background: var(--grad-brand);
  transform: translateZ(-70px);
  box-shadow: 0 30px 60px rgba(12, 106, 193, 0.35);
}
.slab-mid {
  inset: 14% 11%;
  background: linear-gradient(150deg, #EAF4FC, #CFE6F9);
  transform: translateZ(-30px);
  box-shadow: 0 24px 48px rgba(13, 43, 78, 0.14);
}
.slab-card {
  inset: 22% 20% 20% 24%;
  background: #fff;
  transform: translateZ(36px);
  box-shadow: 0 36px 64px rgba(13, 43, 78, 0.22);
  padding: clamp(14px, 4.5%, 22px);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ui-bar { display: flex; gap: 6px; margin-bottom: 4px; }
.ui-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D8E5F2; }
.ui-bar span:first-child { background: var(--brand); }
.ui-row { height: 9px; border-radius: 5px; background: #EDF3F9; }
.ui-row-lg { width: 72%; height: 13px; background: #DCEAF7; }
.ui-row-sm { width: 50%; }
.ui-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 44%;
}
.ui-chart div {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #5BB1E8, var(--brand));
}

.app-tile {
  position: absolute;
  width: clamp(64px, 24%, 92px);
  height: clamp(64px, 24%, 92px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 36px rgba(12, 106, 193, 0.38);
}
.app-tile-logo {
  top: 2%;
  right: 0;
  --tz: 96px;
  animation: tileFloat 5.5s ease-in-out infinite;
}
.app-tile-alt {
  bottom: 6%;
  left: 2%;
  --tz: 72px;
  background: var(--grad-brand);
  animation: tileFloat 6.5s ease-in-out 0.9s infinite;
}
.app-tile-alt svg { width: 46%; height: 46%; }
@keyframes tileFloat {
  0%, 100% { transform: translateZ(var(--tz)) translateY(-7px); }
  50%      { transform: translateZ(var(--tz)) translateY(8px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7FC4EF, #1583D6 70%);
  box-shadow: 0 12px 22px rgba(12, 106, 193, 0.4);
}
.orb-1 { width: 26px; height: 26px; top: 28%; left: 4%; transform: translateZ(120px); }
.orb-2 { width: 16px; height: 16px; bottom: 26%; right: 6%; transform: translateZ(150px); }

.stat-strip {
  list-style: none;
  margin: 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.stat-strip li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: transform 200ms ease;
}
.stat-strip li:hover { transform: translateY(-3px); }
.stat-strip li:hover .stat-num { color: var(--brand); }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 200ms ease;
}
.stat-label { font-size: 0.88rem; color: var(--text-soft); }

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

.section { padding-block: clamp(3.5rem, 8vh, 6rem); }
.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.section-soft + .section-soft,
.hero + .section-soft { border-top: none; }

.section-head { margin-bottom: clamp(2.25rem, 5vh, 3.5rem); }

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20em;
}
.section-title em { font-style: normal; color: var(--brand); }

.section-lede {
  margin-top: 1.1rem;
  max-width: 40em;
}

/* ---------- Cards ---------- */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-mini { padding: 1.4rem; transition: box-shadow 180ms ease, transform 180ms ease; }
.card-mini:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.about-story p { max-width: 36em; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.check-list li { display: flex; gap: 1rem; }
.check-icon { width: 28px; height: 28px; flex-shrink: 0; margin-top: 0.15rem; }
.check-list h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.check-list p { font-size: 0.95rem; margin: 0; }

/* ---------- Projects ---------- */

.project {
  padding: clamp(1.75rem, 4vw, 3rem);
  transition: box-shadow 260ms ease, transform 260ms ease;
}
.project:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.project + .project { margin-top: 2.5rem; }

.project-head { margin-bottom: 2rem; }

.project-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 0.9rem;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.pill-blue { background: var(--brand-tint); color: var(--brand-deep); }
.pill-gray { background: #EDF1F6; color: var(--text-soft); }

.project-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project-tag { margin-top: 0.4rem; font-size: 1.02rem; color: var(--text-soft); }

.project-cols {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.project-text h4,
.benefit-col h4,
.project-safety h4,
.steps h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.project-text h4 { margin-top: 1.4rem; }
.project-text h4:first-child { margin-top: 0; }
.project-text p { max-width: 38em; }
.project-note { font-size: 0.95rem; }

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.steps-list li { display: flex; gap: 1rem; }
.step-num {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.steps-list h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.steps-list p { font-size: 0.95rem; margin: 0; }

.project-benefits {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tick-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
  font-size: 0.98rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23E2F0FB'/%3E%3Cpath d='M7.5 12.5l3 3 6-7' fill='none' stroke='%231583D6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.tick-list strong { color: var(--navy); font-weight: 700; }

.project-safety { margin-bottom: 2.5rem; }

.safety-grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.glyph {
  width: 30px;
  height: 30px;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.safety-grid h5 { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; }
.safety-grid p { font-size: 0.92rem; margin: 0; }

.project-impact {
  display: grid;
  gap: 1.75rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2.5rem;
}
.impact-stat { display: flex; flex-direction: column; gap: 0.35rem; }
.impact-num {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.impact-label {
  font-size: 0.92rem;
  color: #AFC3DA;
  max-width: 22em;
}

.project-cta {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--grad-brand);
  border-radius: var(--radius);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.25rem);
}
.project-cta p { margin: 0; max-width: 36em; color: #EAF4FC; font-weight: 500; }
.project-cta .btn-white { justify-self: start; }

.project-more {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--brand-tint);
  border-radius: var(--radius);
}
.project-more h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem; }
.project-more p { margin: 0; max-width: 42em; }
.project-more .btn-line { background: #fff; flex-shrink: 0; }

/* ---------- Team ---------- */

.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.team-card {
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.team-photo {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
}
.team-monogram {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.team-info { padding: 1.4rem 1.5rem 1.6rem; }
.team-name { font-size: 1.2rem; font-weight: 700; }
.team-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0.3rem 0 0.7rem;
}
.team-bio { font-size: 0.95rem; margin: 0; }

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

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-details { display: grid; gap: 1.1rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.contact-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.contact-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 0.2rem;
}
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}
.contact-item p { margin: 0; }
.contact-link { font-weight: 600; }

.contact-form { padding: clamp(1.5rem, 4vw, 2.25rem); }

.contact-form .field { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2346586E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(21, 131, 214, 0.15);
}

.honeypot { display: none; }

.form-success {
  background: var(--brand-tint);
  border: 1px solid rgba(21, 131, 214, 0.35);
  border-radius: var(--radius-sm);
  color: var(--brand-deep);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.form-alt {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Legal pages ---------- */

.legal-page { padding-block: clamp(3rem, 8vh, 5rem); }

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0.75rem 0 0;
}

.legal-body {
  max-width: 42em;
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
}

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

.site-footer {
  background: var(--navy-deep);
  color: #AFC3DA;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vh, 4rem);
}

.footer-brand .brand { color: #fff; margin-bottom: 0.9rem; }
.footer-brand .brand img {
  width: 32px;
  height: 32px;
}
.footer-desc { font-size: 0.95rem; max-width: 26em; margin: 0; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7A93B2;
  margin: 0 0 0.9rem;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: #AFC3DA;
  font-size: 0.95rem;
  padding-block: 0.3rem;
}
.footer-col a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}
.footer-legal p {
  margin: 0;
  font-size: 0.82rem;
  color: #7A93B2;
}

/* ---------- Scroll reveals (added by js/main.js) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Under reduce-motion we keep a soft fade-in (no slide) and switch off the
   continuous floating / parallax that can cause discomfort. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; }
  .scene-float,
  .app-tile-logo,
  .app-tile-alt { animation: none; }
  .scene-tilt { transition: none; }
}

/* ---------- Layout: tablet up ---------- */

@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1.3fr 1fr; }
  .project-cols { grid-template-columns: 1.3fr 1fr; }
  .project-benefits { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .project-impact { grid-template-columns: repeat(3, 1fr); }
  .project-cta { grid-template-columns: 1fr auto; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.5fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  .safety-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Layout: mobile nav ---------- */

@media (max-width: 719px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--shell-pad) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .site-nav .btn-nav { margin-top: 1rem; text-align: center; }
  .hero-visual { padding-block: 1rem 0.5rem; }
  .scene { width: min(290px, 70vw); }
  .project-more { flex-direction: column; align-items: flex-start; }
}
