/* ==========================================================================
   Ascension Industries — Design System & Base Styles
   Tokens extracted from the Figma source file (eG1gAHl8F9I51csorY02SR).
   ========================================================================== */

:root {
  /* Color tokens */
  --color-background: #ffffff;   /* page background (white) */
  --color-surface: #ffffff;      /* white section background */
  --color-surface-alt: #f8f8f8;  /* card / alternating section background (light grey) */
  --color-border: #e5e7eb;       /* hairline borders on white/light-grey */

  --color-primary: #1b3a6b;      /* navy — headings, outline buttons, body of the mark */
  --color-primary-dark: #010d1e; /* footer background (near-black navy) */
  --color-metrics-panel: #02295c; /* trust-metrics content panel background */
  --color-text: #1b3a6b;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-footer-text: #e2e8f0;
  --color-footer-muted: #64748b;

  --color-cta: #2e7d5b;          /* green — primary CTA buttons */
  --color-cta-tint: rgba(46, 125, 91, 0.04);
  --color-cta-hover: #266b4d;

  --color-accent: #d4952a;       /* gold — numerals, icon tints */
  --color-accent-light: #f0cb8c; /* light gold — labels/eyebrows on dark backgrounds */
  --color-accent-tint: rgba(212, 149, 42, 0.1);
  --color-accent-shadow: rgba(212, 149, 42, 0.2);

  --color-badge-bg: var(--color-cta-tint);
  --color-overlay-light: rgba(18, 34, 64, 0.3);
  --color-overlay-medium: rgba(18, 34, 64, 0.4);
  --color-overlay-heavy: rgba(18, 34, 64, 0.7);

  /* Radius tokens */
  --radius-small: 8px;
  --radius-medium: 20px;
  --radius-large: 24px;
  --radius-pill: 100px;

  /* Layout tokens */
  --container-width: 1280px;
  --container-padding: 80px;
  --header-height: 96px;

  /* Typography tokens */
  --font-base: 'Manrope', 'Segoe UI', Arial, sans-serif;

  /* Shadow tokens */
  --shadow-card: 0px 8px 12px rgba(18, 34, 64, 0.04);
  --shadow-card-strong: 0px 8px 12px rgba(18, 34, 64, 0.05);
  --shadow-gold: 0px 4px 8px var(--color-accent-shadow);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text-secondary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* Visible focus states for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-small) 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  /* border-box means padding eats into max-width, so the cap has to be
     content-width + padding budget, not the bare content width — otherwise
     every section using .container renders ~160px narrower than intended
     and drifts out of alignment with sections that size themselves directly
     (hero, trust-metrics, etc). */
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section { width: 100%; }

.section-pad { padding-top: 112px; padding-bottom: 112px; }
.section-pad-lg { padding-top: 120px; padding-bottom: 120px; }
.section-pad-sm { padding-top: 96px; padding-bottom: 96px; }

.bg-surface { background: var(--color-surface); }
.bg-background { background: var(--color-background); }
.bg-surface-alt { background: var(--color-surface-alt); }
.bg-primary { background: var(--color-primary); }
.bg-cta { background: var(--color-cta); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin: 0 auto 64px;
  max-width: 720px;
}
.section-head.align-left { align-items: flex-start; text-align: left; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--color-badge-bg);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.section-title {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-primary);
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn-primary { background: var(--color-cta); color: #fff; }
.btn-primary:hover { background: var(--color-cta-hover); }

.btn-outline-navy { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline-navy:hover { background: var(--color-primary); color: #fff; }

.btn-outline-gold { background: transparent; color: var(--color-primary); border-color: var(--color-accent); }
.btn-outline-gold:hover { background: var(--color-accent); color: #fff; }

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

.btn-ghost-white { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }

.btn-gold { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-gold); border-radius: var(--radius-small); height: 52px; font-size: 15px; }
.btn-gold:hover { background: #c19f2e; }

.btn-block { width: 100%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* Homepage sections the nav/footer deep-link into (Capabilities, Technologies,
   Solutions, Partnerships) — offset the scroll target so the sticky header
   doesn't cover the section heading when jumped to. */
#capabilities, #technologies, #solutions, #partnerships {
  scroll-margin-top: var(--header-height);
}

/* The source mark is a wide lockup (icon + wordmark + tagline); crop to the
   icon + wordmark line only, matching the wide crop used in the Figma header. */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 140px;
  height: 52px;
  position: relative;
  overflow: hidden;
}
.brand img { position: absolute; left: 0; top: -22.12%; width: 100%; height: 133.63%; max-width: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a { color: var(--color-text-muted); transition: color .15s ease; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--color-primary); }

.nav-cta { flex-shrink: 0; display: flex; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--color-primary);
}
.nav-toggle svg { width: 28px; height: 28px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--container-padding) 24px;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:not(.btn) {
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 12px; }

.site-header.nav-open .mobile-nav { display: flex; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-primary-dark);
  padding: 96px var(--container-padding) 48px;
}

.footer-main {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 24px; width: 340px; max-width: 100%; }
.footer-logo { width: 222px; max-width: 100%; height: 81px; position: relative; overflow: hidden; }
.footer-logo img { position: absolute; left: 0; top: -22.07%; width: 100%; height: 136.88%; max-width: none; }
.footer-brand p { color: var(--color-footer-text); font-size: 14px; line-height: 1.5; }

.footer-col { display: flex; flex-direction: column; gap: 16px; min-width: 150px; }
.footer-col h3 {
  color: var(--color-accent-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-col a,
.footer-col p { color: var(--color-footer-text); font-size: 14px; }
.footer-col a:hover { color: #fff; }

.footer-divider {
  max-width: var(--container-width);
  margin: 64px auto 0;
  border: none;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--color-footer-muted);
}

.footer-social { display: flex; gap: 24px; }
.footer-social a { color: var(--color-footer-muted); }
.footer-social a:hover { color: var(--color-footer-text); }

/* ==========================================================================
   Page hero (used by Projects, Contact, and other secondary pages)
   ========================================================================== */

.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 80px var(--container-padding);
}

.page-hero h1 {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  color: var(--color-primary);
  max-width: 1000px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 720px;
}

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 80px var(--container-padding) 96px;
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
}

.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

.hero-copy h1 {
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  color: var(--color-primary);
  max-width: 1000px;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 720px;
}

.mosaic-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  height: 480px;
}
.mosaic-grid .img-frame { flex: 1 0 0; min-width: 0; border-radius: var(--radius-large); overflow: hidden; }
.mosaic-grid .img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic-grid .img-frame.tall { height: 460px; }
.mosaic-grid .img-frame.short { height: 360px; }

/* ==========================================================================
   Trust metrics
   ========================================================================== */

.trust-metrics {
  position: relative;
  height: 592px;
  overflow: hidden;
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-metrics .metrics-photo { position: absolute; inset: 0; }
.trust-metrics .metrics-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.metrics-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 726px;
  max-width: 100%;
  background: var(--color-metrics-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 75px;
}
.metrics-content { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 576px; }
.metrics-eyebrow { color: var(--color-accent-light); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.metrics-content h2 { font-weight: 800; font-size: 40px; line-height: 1.2; color: #fff; margin-top: 16px; }

.stats-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 140px; }
.stat .value { font-weight: 800; font-size: 48px; color: #fff; }
.stat .label { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, 0.8); }

.metrics-content hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.15); width: 100%; }
.metrics-quote { font-weight: 600; font-size: 16px; color: #fff; }

/* ==========================================================================
   Services / Core capabilities
   ========================================================================== */

.services-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.icon-box {
  width: 48px; height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  display: flex; align-items: center; justify-content: center;
}
.icon-box img { width: 24px; height: 24px; }

.service-card h3 { font-weight: 800; font-size: 20px; color: var(--color-primary); }
.service-card p { font-size: 14px; line-height: 1.5; color: var(--color-text-secondary); }

/* ==========================================================================
   Building technologies
   ========================================================================== */

.tech-section { display: flex; align-items: center; gap: 64px; padding: 112px var(--container-padding); max-width: calc(var(--container-width) + var(--container-padding) * 2); margin: 0 auto; }
.tech-copy { width: 500px; max-width: 100%; flex-shrink: 0; display: flex; flex-direction: column; gap: 32px; }
.tech-copy h2 { font-weight: 800; font-size: 40px; line-height: 1.2; color: var(--color-primary); margin-top: 16px; }
.tech-copy > div > p { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); margin-top: 16px; }

.tags-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 12px;
  color: var(--color-primary);
}

.tech-collage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 520px;
}
.tech-collage-row { display: flex; gap: 20px; flex: 1; min-height: 0; }
.tech-collage-row .img-frame { border-radius: var(--radius-large); overflow: hidden; height: 100%; }
.tech-collage-row .img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-collage-row .wide { flex: 1; min-width: 0; }
.tech-collage-row .narrow-1 { width: 220px; flex-shrink: 0; }
.tech-collage-row .narrow-2 { width: 260px; flex-shrink: 0; }

/* ==========================================================================
   Solutions grid
   ========================================================================== */

.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.solution-tile { display: flex; flex-direction: column; gap: 4px; }

.solution-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-medium);
  overflow: hidden;
}
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-card::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--color-overlay-medium);
}
.solution-tile .label {
  width: 100%;
  text-align: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================================================
   Process track
   ========================================================================== */

.process-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-step {
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card-strong);
  height: 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-step .num { font-weight: 800; font-size: 28px; color: var(--color-accent); }
.process-step h3 { font-weight: 800; font-size: 18px; color: var(--color-primary); margin-bottom: 8px; }
.process-step p { font-size: 13px; line-height: 1.4; color: var(--color-text-secondary); }

/* ==========================================================================
   Selected projects (homepage teaser)
   ========================================================================== */

.projects-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }

.portfolio-mosaic { display: flex; gap: 24px; height: 540px; }
.portfolio-mosaic .portfolio-card:first-child { flex: 776 0 0; min-width: 0; }
.portfolio-mosaic .portfolio-card:last-child { flex: 480 0 0; min-width: 0; }

.portfolio-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.portfolio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portfolio-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 34, 64, 0.85), rgba(18, 34, 64, 0) 55%);
}
.portfolio-card .info {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portfolio-card .info h3 { color: #fff; font-weight: 800; font-size: 24px; }
.portfolio-card .info span { color: var(--color-accent-light); font-weight: 600; font-size: 14px; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-medium);
  width: 100%;
}

/* ==========================================================================
   Funding & partnerships
   ========================================================================== */

.partnerships-section { display: flex; align-items: center; gap: 64px; padding: 120px var(--container-padding); max-width: calc(var(--container-width) + var(--container-padding) * 2); margin: 0 auto; }
.partnerships-copy { width: 500px; max-width: 100%; flex-shrink: 0; display: flex; flex-direction: column; gap: 32px; }
.partnerships-copy > .btn { align-self: flex-start; }
.partnerships-copy h2 { font-weight: 800; font-size: 40px; line-height: 1.2; color: var(--color-primary); margin-top: 20px; }
.partnerships-copy > div > p { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); margin-top: 20px; }
.partnerships-image { flex: 1; min-width: 0; height: 400px; border-radius: var(--radius-large); overflow: hidden; }
.partnerships-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  padding: 120px var(--container-padding);
}
.cta-band h2 { font-weight: 800; font-size: 40px; color: #fff; max-width: 800px; }
.cta-band p { font-size: 16px; line-height: 1.5; color: var(--color-footer-text); max-width: 620px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-band .btn-row { justify-content: center; }

.cta-band-sm { padding: 96px var(--container-padding); gap: 24px; }
.cta-band-sm h2 { font-size: 32px; }

/* ==========================================================================
   Projects listing page
   ========================================================================== */

.project-row { padding: 96px var(--container-padding); }
.project-row:nth-child(even) { background: var(--color-background); }
.project-row:nth-child(odd) { background: var(--color-surface); }

.project-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.project-row.reverse .project-row-inner { flex-direction: row-reverse; }

.project-row .project-image { width: 680px; max-width: 50%; flex-shrink: 0; height: 440px; border-radius: var(--radius-large); overflow: hidden; }
.project-row .project-image img { width: 100%; height: 100%; object-fit: cover; }

.project-text-block { width: 540px; max-width: 50%; flex: 1; display: flex; flex-direction: column; gap: 32px; }
.project-text-block > .btn { align-self: flex-start; }
.project-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.project-text-block h2 { font-weight: 800; font-size: 40px; line-height: 1.2; color: var(--color-primary); margin-top: 16px; }
.project-text-block > p.description { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-content-section { padding: 56px var(--container-padding); }
.contact-content-inner { display: flex; gap: 20px; align-items: flex-start; justify-content: center; max-width: var(--container-width); margin: 0 auto; }

.contact-form {
  width: 576px;
  max-width: 100%;
  flex: 1;
  background: var(--color-surface-alt);
  border-radius: var(--radius-large);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form .form-status { margin-bottom: 4px; }
.contact-form .btn {
  height: 52px;
  font-size: 15px;
  border-radius: var(--radius-pill);
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: 14px; color: var(--color-primary); }

.form-control {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #fff;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--color-primary);
}
.form-control::placeholder { color: var(--color-text-muted); }
textarea.form-control { min-height: 140px; resize: vertical; }

.select-wrapper { position: relative; }
.select-wrapper select.form-control { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  background: url('../icons/icon-chevron-down.svg') center / contain no-repeat;
  pointer-events: none;
}

.form-error { font-size: 13px; color: #b91c1c; }
.form-control.has-error { border-color: #b91c1c; }

.form-status { padding: 16px 20px; border-radius: var(--radius-small); font-size: 14px; margin-bottom: 8px; }
.form-status.success { background: rgba(34, 139, 87, 0.1); color: #1c7a4d; border: 1px solid rgba(34, 139, 87, 0.3); }
.form-status.error { background: rgba(185, 28, 28, 0.08); color: #b91c1c; border: 1px solid rgba(185, 28, 28, 0.3); }

.contact-info-card {
  width: 576px;
  max-width: 100%;
  background: var(--color-surface-alt);
  border-radius: var(--radius-large);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-info-card h2 { font-weight: 800; font-size: 24px; color: var(--color-primary); }
.contact-info-card > .intro p { font-size: 15px; line-height: 1.5; color: var(--color-text-muted); margin-top: 12px; }

.contact-info-list { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-circle {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon-circle img { width: 20px; height: 20px; }
.contact-info-item .label { font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--color-text-muted); }
.contact-info-item .value { font-weight: 600; font-size: 15px; color: var(--color-primary); margin-top: 4px; }

.contact-info-card hr { border: none; border-top: 1px solid var(--color-border); }

.follow-us h3 { font-weight: 700; font-size: 14px; color: var(--color-primary); margin-bottom: 16px; }
.social-row { display: flex; gap: 12px; }
.social-circle {
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
}
.social-circle img { width: 16px; height: 16px; }
.social-circle:hover { background: var(--color-background); }

/* Office locations */
.office-locations { padding: 100px var(--container-padding); display: flex; flex-direction: column; gap: 56px; max-width: calc(var(--container-width) + var(--container-padding) * 2); margin: 0 auto; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.office-card h3 { font-weight: 800; font-size: 22px; color: var(--color-primary); }
.office-detail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-text-secondary); }
.office-detail img { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   Utility page sections (About / Services / Technologies / Solutions / Partnerships)
   ========================================================================== */

.content-block { padding: 96px var(--container-padding); max-width: var(--container-width); margin: 0 auto; }
.content-block + .content-block { border-top: 1px solid var(--color-border); }
.prose { display: flex; flex-direction: column; gap: 20px; max-width: 840px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); }
.prose h2 { font-weight: 800; font-size: 32px; color: var(--color-primary); }

/* ==========================================================================
   Maintenance page (no header/footer — see maintenance.php)
   ========================================================================== */

.maintenance-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
}
.maintenance-page { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 560px; padding: 40px; }
.maintenance-logo { width: 140px; height: 52px; position: relative; overflow: hidden; }
.maintenance-logo img { position: absolute; left: 0; top: -22.12%; width: 100%; height: 133.63%; max-width: none; }
.maintenance-page h1 { font-weight: 800; font-size: 32px; color: var(--color-primary); margin: 0; }
.maintenance-page p { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 160px var(--container-padding);
}
.error-page .code { font-weight: 800; font-size: 96px; color: var(--color-accent); line-height: 1; }
.error-page h1 { font-weight: 800; font-size: 32px; color: var(--color-primary); }
.error-page p { font-size: 16px; color: var(--color-text-secondary); max-width: 480px; }

/* ==========================================================================
   About page
   ========================================================================== */

.eyebrow-label { display: inline-block; color: var(--color-accent); font-weight: 800; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }

.about-hero { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 80px var(--container-padding) 96px; }
.about-hero-text { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 1000px; margin: 0 auto; }
.about-hero-text h1 { font-weight: 800; font-size: 56px; line-height: 1.1; color: var(--color-primary); text-transform: uppercase; }
.about-hero-text p { font-size: 18px; line-height: 1.6; color: var(--color-text-muted); max-width: 700px; }
.about-hero-image { width: 100%; max-width: var(--container-width); height: 500px; border-radius: var(--radius-large); overflow: hidden; }
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.who-we-are {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 112px var(--container-padding);
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.who-we-are-image { width: 580px; max-width: 45%; flex-shrink: 0; height: 440px; border-radius: var(--radius-large); overflow: hidden; }
.who-we-are-image img { width: 100%; height: 100%; object-fit: cover; }
.who-we-are-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.who-we-are-content h2 { font-weight: 800; font-size: 32px; line-height: 1.2; color: var(--color-primary); margin-top: 12px; }
.who-we-are-content p { font-size: 16px; line-height: 1.6; color: var(--color-text-muted); margin-top: 16px; }
.who-we-are-content hr { border: none; border-top: 1px solid var(--color-border); }
.who-we-are-content .stats-row { gap: 48px; }

.mission-vision { padding: 120px var(--container-padding); display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.mission-block { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 1000px; }
.mission-block blockquote { margin: 0; font-weight: 800; font-size: 42px; line-height: 1.3; color: var(--color-primary); text-transform: uppercase; }
.mission-vision hr { border: none; border-top: 1px solid var(--color-border); width: 200px; }
.vision-block { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 800px; }
.vision-block p { font-size: 18px; line-height: 1.6; color: var(--color-text-secondary); }

.about-section-header { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.about-section-header h2 { font-weight: 800; font-size: 36px; color: var(--color-primary); }

.sets-us-apart { padding: 112px var(--container-padding); display: flex; flex-direction: column; align-items: center; gap: 64px; max-width: var(--container-width); margin: 0 auto; }
.about-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
.feature-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-large); overflow: hidden; }
.feature-card .card-image { height: 220px; }
.feature-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .card-content { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.feature-card h3 { font-weight: 800; font-size: 18px; color: var(--color-primary); }
.feature-card p { font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }

.our-approach { display: flex; align-items: center; gap: 64px; padding: 112px var(--container-padding); max-width: calc(var(--container-width) + var(--container-padding) * 2); margin: 0 auto; }
.approach-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.approach-text h2 { font-weight: 800; font-size: 36px; color: #fff; }
.approach-text p { font-size: 16px; line-height: 1.6; color: var(--color-footer-text); }
.approach-image { width: 580px; flex-shrink: 0; height: 380px; border-radius: var(--radius-large); overflow: hidden; }
.approach-image img { width: 100%; height: 100%; object-fit: cover; }

.who-we-serve { padding: 112px var(--container-padding); display: flex; flex-direction: column; align-items: center; gap: 48px; max-width: var(--container-width); margin: 0 auto; }
.sector-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sector-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; color: var(--color-primary);
  white-space: nowrap;
}
.sector-pill img { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   Motion — hover states + scroll reveal
   Subtle and performant: transform/opacity only (GPU-friendly), respects
   prefers-reduced-motion, and reveal animations run once per element.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color .15s ease, color .15s ease, border-color .15s ease,
      box-shadow .2s ease, transform .15s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }

  .service-card,
  .process-step,
  .office-card,
  .stat { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }

  .service-card:hover,
  .process-step:hover { transform: translateY(-6px); box-shadow: 0 20px 32px rgba(18, 34, 64, 0.08); }

  .office-card:hover { transform: translateY(-4px); box-shadow: 0 20px 32px rgba(18, 34, 64, 0.1); }

  .icon-box { transition: transform .25s ease, background-color .25s ease; }
  .service-card:hover .icon-box { transform: scale(1.08); background: var(--color-accent); }
  .service-card:hover .icon-box img { filter: brightness(0) invert(1); }

  .icon-circle,
  .social-circle { transition: transform .2s ease, background-color .2s ease; }
  .social-circle:hover { transform: translateY(-3px); background: var(--color-primary); border-color: var(--color-primary); }
  .social-circle:hover img { filter: brightness(0) invert(1); }
  .contact-info-item:hover .icon-circle { transform: scale(1.08); }

  .tag { transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
  .tag:hover { transform: translateY(-2px); border-color: var(--color-accent); }

  /* Image zoom-on-hover: every clipped image container gets a slow, subtle scale. */
  .img-frame img,
  .solution-card img,
  .portfolio-card img,
  .project-row .project-image img,
  .metrics-photo img,
  .partnerships-image img {
    transition: transform .6s cubic-bezier(.25, .8, .25, 1);
  }
  .img-frame:hover img,
  .solution-card:hover img,
  .portfolio-card:hover img,
  .project-row .project-image:hover img,
  .metrics-photo:hover img,
  .partnerships-image:hover img {
    transform: scale(1.06);
  }

  .portfolio-card .info { transition: background-color .3s ease; }

  /* Scroll reveal: fade + rise once, the first time each element enters view. */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (max-width: 1280px) {
  :root { --container-padding: 56px; }
  .hero-copy h1 { font-size: 52px; }
  .page-hero h1 { font-size: 48px; }
  .mosaic-grid { height: 400px; }
  .mosaic-grid .img-frame.tall { height: 380px; }
  .mosaic-grid .img-frame.short { height: 300px; }
}

@media (max-width: 1024px) {
  :root { --container-padding: 40px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 16px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p { font-size: 16px; }

  .mosaic-grid { flex-direction: column; height: auto; }
  .mosaic-grid .img-frame,
  .mosaic-grid .img-frame.tall,
  .mosaic-grid .img-frame.short { width: 100%; height: 240px; }

  .trust-metrics { height: auto; }
  .trust-metrics .metrics-photo { position: static; height: 320px; }
  .metrics-panel { position: static; width: 100%; height: auto; padding: 56px var(--container-padding); }

  .services-row { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }

  .tech-section { flex-direction: column; }
  .tech-copy { width: 100%; }
  .tech-collage { width: 100%; height: 420px; }

  .process-track { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .process-step { height: auto; min-height: 180px; }

  .project-row { padding: 64px var(--container-padding); }
  .project-row-inner,
  .project-row.reverse .project-row-inner { flex-direction: column; gap: 40px; }
  .project-row .project-image,
  .project-text-block { width: 100%; max-width: 100%; }

  .portfolio-mosaic { flex-direction: column; height: auto; }
  .portfolio-mosaic .portfolio-card:first-child,
  .portfolio-mosaic .portfolio-card:last-child { flex: none; width: 100%; height: 340px; }

  .partnerships-section { flex-direction: column; }
  .partnerships-copy { width: 100%; }
  .partnerships-image { width: 100%; }

  .contact-content-inner { flex-direction: column; }
  .contact-form, .contact-info-card { width: 100%; }

  .offices-grid { grid-template-columns: 1fr; }

  .about-hero-text h1 { font-size: 42px; }
  .about-hero-image { height: 380px; }

  .who-we-are, .our-approach { flex-direction: column; }
  .who-we-are-image, .approach-image { width: 100%; max-width: 100%; height: 340px; }

  .about-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --container-padding: 24px; }

  .hero { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .hero-copy h1 { font-size: 36px; }
  .page-hero { padding-top: 56px; padding-bottom: 56px; }
  .page-hero h1 { font-size: 32px; }

  .section-pad, .section-pad-lg, .section-pad-sm { padding-top: 72px; padding-bottom: 72px; }

  .section-title,
  .metrics-content h2,
  .tech-copy h2,
  .partnerships-copy h2,
  .cta-band h2 { font-size: 30px; }

  .stats-row { gap: 24px; }
  .stat .value { font-size: 36px; }

  .services-row,
  .solutions-grid { grid-template-columns: 1fr; }

  .process-track { grid-template-columns: 1fr 1fr; }

  .projects-teaser-head { flex-direction: column; align-items: flex-start; }

  .project-row .project-image { height: 300px; }
  .project-text-block h2 { font-size: 30px; }

  .cta-band h2 { font-size: 28px; }
  .cta-band-sm h2 { font-size: 24px; }

  .contact-info-card, .contact-form { padding: 32px; }

  .footer-main { gap: 40px 24px; }
  .footer-brand { width: 100%; }

  .about-hero { padding: 56px var(--container-padding) 64px; gap: 40px; }
  .about-hero-text h1 { font-size: 32px; }
  .about-hero-text p { font-size: 16px; }
  .about-hero-image { height: 260px; }

  .who-we-are { padding: 64px var(--container-padding); gap: 40px; }
  .who-we-are-image { height: 260px; }
  .who-we-are-content h2 { font-size: 26px; }
  .who-we-are-content .stats-row { gap: 32px; }

  .mission-vision { padding: 64px var(--container-padding); gap: 40px; }
  .mission-block blockquote { font-size: 20px; }
  .vision-block p { font-size: 16px; }

  .sets-us-apart, .who-we-serve { padding: 64px var(--container-padding); gap: 40px; }
  .about-section-header h2 { font-size: 28px; }

  .our-approach { padding: 64px var(--container-padding); gap: 40px; }
  .approach-text h2 { font-size: 28px; }
  .approach-image { height: 240px; }
}

@media (max-width: 480px) {
  :root { --container-padding: 16px; }

  .site-header .container { height: 76px; }
  .brand { width: 112px; height: 41.6px; }
  :root { --header-height: 76px; }

  .hero-copy h1 { font-size: 30px; }
  .hero-copy p { font-size: 15px; }
  .page-hero h1 { font-size: 28px; }

  .eyebrow { font-size: 11px; padding: 5px 12px; }

  .mosaic-grid .img-frame,
  .mosaic-grid .img-frame.tall,
  .mosaic-grid .img-frame.short { height: 160px; }

  .process-track { grid-template-columns: 1fr; }

  .portfolio-mosaic .portfolio-card:first-child,
  .portfolio-mosaic .portfolio-card:last-child { height: 240px; }

  .btn { padding: 0 20px; font-size: 13px; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn { width: 100%; }

  .about-hero-text h1 { font-size: 26px; }
  .about-hero-image { height: 200px; }
  .sector-pill { height: 42px; padding: 0 14px; font-size: 13px; }
}
