/* === Brand font: Crillee Extra Bold Italic === */
@font-face {
  font-family: 'Crillee';
  src: url('assets/CrilleeExtraBoldItalicStd.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* === Tokens === */
:root {
  --blue: #1C43D4;
  --blue-dark: #0F2CA8;
  --blue-bright: #3A5DE8;
  --blue-light: #EEF2FF;
  --navy: #0B1530;
  --navy-2: #111B3D;
  --text: #1F2937;
  --muted: #6B7280;
  --surface: #F7F8FC;
  --white: #ffffff;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(11,21,48,.06);
  --shadow: 0 6px 24px rgba(11,21,48,.08);
  --shadow-lg: 0 20px 60px rgba(11,21,48,.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* === Typography === */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 800; }

p { margin: 0 0 12px; }
a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-dark); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow-dark { color: var(--blue); }
.eyebrow-light { color: rgba(255,255,255,.7); }

.section-lead {
  text-align: center; max-width: 720px; margin: -16px auto 40px;
  color: var(--muted); font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(28,67,212,.35); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--blue-dark); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 20px;
  max-width: var(--max); margin: 0 auto;
}
.logo img { height: 30px; width: auto; }
.nav nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav nav a { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.nav nav a:hover { color: var(--blue); }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero {
  position: relative;
  color: #fff;
  min-height: calc(100svh - 80px);
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0b1530;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  transform: scale(1.04);
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,21,48,.82) 0%, rgba(15,44,168,.65) 55%, rgba(28,67,212,.55) 100%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(11,21,48,.25) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 960px; margin: 0 auto; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero .eyebrow { color: #fff; opacity: .85; }
.hero h1 { color: #fff; font-weight: 900; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.hero .tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 680px; margin: 14px auto 32px;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Sections === */
section { padding: clamp(64px, 9vw, 96px) 0; }
section h2 { margin-bottom: 40px; }

/* === About === */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center;
}
.about-grid h2 { text-align: left; margin-bottom: 20px; }
.lead {
  font-size: 1.15rem; color: var(--navy); font-weight: 500;
  margin-bottom: 12px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.stat {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  border: 1px solid rgba(28,67,212,.08);
}
.stat .num {
  display: block; font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 900;
  color: var(--blue); line-height: 1;
}
.stat .lbl {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-top: 8px; font-weight: 800;
}

/* === Services === */
.services { background: var(--surface); }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.service-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.sc-num {
  font-family: 'Crillee', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  font-size: 1.6rem;
  opacity: .35;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* === Sustainability / LEED === */
.sustainability { background: #ffffff; }
.leed-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-light) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.leed-text h2 { text-align: left; margin-bottom: 18px; }
.leed-text .lead { font-size: 1.1rem; }
.leed-text p { color: var(--text); }
.leed-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.leed-stat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.leed-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.leed-stat .num {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--blue);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: 70px;
}
.leed-stat .lbl {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .leed-card { grid-template-columns: 1fr; gap: 28px; }
  .leed-text h2 { text-align: center; }
}

/* === Projects === */
.project-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card.wide { grid-column: span 2; }
.img-wrap { overflow: hidden; background: var(--navy); }
.project-card img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-info { padding: 20px 22px; }
.project-info h3 { margin-bottom: 6px; color: var(--navy); }
.project-info .location {
  color: var(--blue); font-weight: 700; margin-bottom: 6px;
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 6px;
}
.pin { font-size: 0.9rem; }
.project-info .meta {
  color: var(--muted); font-size: 0.85rem; margin-bottom: 6px;
  font-weight: 500;
}
.project-info .client {
  color: var(--text); font-size: 0.88rem; margin: 0;
  border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px;
  line-height: 1.5;
}
.project-info .client strong { color: var(--navy); font-weight: 700; }

.subhead {
  text-align: center; margin: 24px 0 28px;
  font-size: 1.5rem; color: var(--navy); font-weight: 800;
}
.partner-projects {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.pp-card {
  background: var(--surface);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pp-card h4 { color: var(--navy); margin-bottom: 10px; }
.pp-card .location { font-weight: 700; color: var(--blue); margin-bottom: 6px; font-size: 0.95rem; }
.pp-card .meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.pp-card .client { color: var(--text); font-size: 0.9rem; margin: 0; line-height: 1.55; }

/* === Partners Strip === */
.partners {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 88px) 24px;
}
.partners h2 { color: #fff; margin-bottom: 40px; }
.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.partner-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 110px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.partner-cell img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
/* For logos designed for dark backgrounds (white text logos): darken to a silhouette so they're visible on the white card */
.partner-cell img.logo-darken {
  filter: brightness(0) saturate(100%) invert(11%) sepia(82%) saturate(4521%) hue-rotate(228deg) brightness(95%) contrast(93%);
}

/* === Contact === */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px;
  align-items: stretch;
}
.contact-grid .contact-map { min-height: 480px; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-grid .contact-map iframe { min-height: 480px; width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #ffffff 100%);
  border: 0; cursor: pointer;
  text-align: center; padding: 24px;
  transition: background .2s ease;
  font-family: inherit;
}
.map-placeholder:hover { background: linear-gradient(135deg, #d8e4ff 0%, #ffffff 100%); }
.map-placeholder .map-pin { font-size: 2.4rem; }
.map-placeholder .map-line1 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.map-placeholder .map-line2 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.map-placeholder .map-cta {
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 700;
}
.contact-form label em {
  color: var(--blue); font-style: normal; margin-left: 2px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-transform: none; letter-spacing: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28,67,212,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  align-self: flex-start;
  margin-top: 4px;
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
[hidden] { display: none !important; }
.form-error {
  margin: 8px 0 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #8a1f1f;
  background: #fdecec;
  border: 1px solid #f4c2c2;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.form-thanks {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 48px 32px;
  border: 1px solid #e6e8ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-thanks h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--blue);
}
.form-thanks p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.form-thanks a { color: var(--blue); font-weight: 600; }
.contact-side {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-info {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.ci-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.ci-row:first-child { padding-top: 0; }
.ci-row:last-child { border-bottom: none; padding-bottom: 0; }
.ci-row strong {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
  color: var(--muted); font-weight: 800; padding-top: 2px;
}
.ci-row a, .ci-row span { color: var(--navy); font-weight: 600; line-height: 1.5; }
.ci-row a:hover { color: var(--blue); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 240px;
  background: var(--surface);
  flex: 1;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; }

/* === Footer === */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-wordmark {
  font-family: 'Crillee', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.75rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}
.foot-brand p { margin: 0; font-size: 0.9rem; }
.foot-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 10px;
}
.foot-col p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: rgba(255,255,255,.78); }
.foot-col a { color: #fff; font-weight: 600; }
.foot-col a:hover { color: var(--blue-bright); }
.proud-cdn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: #fff;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.proud-cdn .leaf { font-size: 1rem; }
.foot-bottom {
  padding-top: 24px;
  display: flex; justify-content: center;
}
.copy { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,.55); }
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* === Responsive === */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid h2 { text-align: center; }
  .about-grid .eyebrow { display: block; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: span 1; }
}
@media (max-width: 820px) {
  /* Show hamburger, hide inline nav links */
  .nav { padding: 12px 18px; gap: 12px; align-items: center; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav nav.is-open {
    max-height: 480px;
  }
  .nav nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .nav nav a:last-child { border-bottom: 0; }
  .site-header { position: sticky; top: 0; }
}
@media (max-width: 700px) {
  .hero { padding: 40px 20px; min-height: calc(100svh - 80px); }
  .ci-row { grid-template-columns: 1fr; gap: 2px; }
  .ci-row strong { padding-top: 0; }

  /* Tighter section spacing on mobile */
  section { padding: clamp(56px, 12vw, 80px) 0; }
  .container { padding: 0 18px; }

  /* Hero scaling */
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero h1 br { display: none; }
  .hero .tagline { font-size: 1rem; line-height: 1.55; margin: 14px auto 28px; }
  .hero .eyebrow { font-size: 0.7rem; }
  .hero-cta { width: 100%; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; padding: 14px 24px; }

  /* About stats: 2 cols, 3rd spans full row */
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-stats .stat:nth-child(3) { grid-column: span 2; }
  .stat { padding: 22px 14px; }
  .lead { font-size: 1.05rem; }

  /* Service cards padding */
  .service-card { padding: 22px; }
  .service-card h3 { font-size: 1.1rem; }

  /* LEED card */
  .leed-card { padding: 28px 22px; }
  .leed-text .lead { font-size: 1rem; }
  .leed-stat { padding: 14px 18px; gap: 14px; }
  .leed-stat .num { min-width: 60px; font-size: 1.2rem; }
  .leed-stat .lbl { font-size: 0.85rem; }

  /* Project cards */
  .project-card img { height: 200px; }
  .project-info { padding: 16px 18px; }
  .project-info h3 { font-size: 1.05rem; }
  .project-info .location { font-size: 0.9rem; }

  /* Partners strip */
  .partner-strip {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  .partner-cell { min-height: 90px; padding: 16px 18px; }
  .partner-cell img { max-height: 48px; }

  /* Contact form & map */
  .contact-form { padding: 22px; }
  .contact-grid .contact-map,
  .contact-grid .contact-map iframe { min-height: 280px; }
  .form-thanks { padding: 36px 22px; }

  /* Sections center heading */
  section h2 { margin-bottom: 28px; }

  /* Footer */
  .site-footer { padding: 40px 0 24px; }
}

@media (max-width: 480px) {
  /* Tightest mobile tweaks */
  .hero h1 { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
  .container { padding: 0 14px; }

  /* Single-column stats on tiny screens */
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat:nth-child(3) { grid-column: span 1; }

  /* 2-col partner grid on tiny screens */
  .partner-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-cell { min-height: 80px; padding: 14px; }
  .partner-cell img { max-height: 42px; }

  /* Shorter map */
  .contact-grid .contact-map,
  .contact-grid .contact-map iframe { min-height: 240px; }

  /* Project image shorter */
  .project-card img { height: 180px; }
}

/* Prevent iOS auto-zoom on form input focus */
@media (max-width: 700px) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }
}

/* Prevent iOS Safari from inflating text on landscape rotation */
html { -webkit-text-size-adjust: 100%; }
