/* ==========================================================================
   SYPANTO GENERAL CONTRACTORS LTD — Official Corporate Design System
   Theme Palette Derived Directly from the Official Sypanto Logo:
   1. Royal Cobalt Blue ("SYPANTO GENERAL" & Upper Swoosh)
   2. Luminous Turquoise Cyan (Central Monogram, Swooshes & "LTD")
   3. Metallic Copper Bronze ("CONTRACTORS" & Lower Swoosh)
   ========================================================================== */

:root {
  /* 1. Royal Cobalt Blue Scale (Primary Corporate Authority) */
  --cobalt-950: #0a1138;
  --cobalt-900: #111c5e;
  --cobalt-800: #172682;
  --cobalt-700: #1c2ea2; /* Exact logo "SYPANTO GENERAL" Royal Cobalt */
  --cobalt-600: #2b42bd;
  --cobalt-100: #e8ecfb;
  --cobalt-50:  #f4f6fd;

  /* 2. Luminous Turquoise Cyan Scale (Logo Monogram & "LTD") */
  --cyan-700: #007d8f;
  --cyan-600: #009eb3;
  --cyan-500: #15bcd1;
  --cyan-400: #23cee0; /* Exact logo Monogram & "LTD" Turquoise Cyan */
  --cyan-300: #5ce1f0;
  --cyan-100: #e0fafe;
  --cyan-50:  #f0fdff;

  /* 3. Metallic Copper Bronze Scale (Logo "CONTRACTORS" & Lower Swoosh) */
  --copper-800: #5e3523;
  --copper-700: #73422c;
  --copper-600: #885139; /* Exact logo "CONTRACTORS" Copper Bronze */
  --copper-500: #a46447;
  --copper-400: #c27d5e;
  --copper-100: #f9ebe4;
  --copper-50:  #fcf6f3;

  /* Neutral Architectural Slates */
  --slate-950: #090e1a;
  --slate-900: #131b2e;
  --slate-800: #222d42;
  --slate-700: #39465e;
  --slate-600: #52627a;
  --slate-500: #72829a;
  --slate-400: #99a8bd;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --success: #15803d;
  --success-bg: #dcfce7;
  --warning: #b45309;
  --error: #b91c1c;
  --error-bg: #fee2e2;

  /* Typography — Sora for headings, Inter for body */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout & Spacing */
  --container-max: 1280px;
  --header-height: 72px;
  --topbar-height: 36px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 12px;

  /* Shadows — one subtle style */
  --shadow-sm: 0 2px 8px rgba(10, 17, 56, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 17, 56, 0.08);

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@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;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

/* Focus Accessibility */
:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--cobalt-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

/* Typography — clear scale ~1.22 ratio, Sora for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--cobalt-950);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 600; }

p { max-width: 72ch; }

.text-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: var(--slate-700);
  line-height: 1.65;
}
.text-sm { font-size: 0.875rem; line-height: 1.55; }
.text-xs { font-size: 0.75rem; line-height: 1.45; }

/* Eyebrow: sentence case, no gradient dash — only where informative */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--copper-600);
  margin-bottom: 0.6rem;
}
.eyebrow::before { display: none; }
.eyebrow-light { color: var(--cyan-300); }

/* Layout Containers & Grids */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(4rem, 7vw, 6.25rem) 0; }
.section-sm { padding: clamp(2.5rem, 4.5vw, 3.75rem) 0; }
.section-lg { padding: clamp(5rem, 8.5vw, 7.5rem) 0; }

.bg-light { background-color: var(--cobalt-50); }
.bg-navy { background-color: var(--cobalt-950); color: var(--white); }

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.section-header.center p { margin-inline: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--slate-600); font-size: 1.05rem; }

.grid { display: grid; gap: 2rem; }
.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)); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Top Utility Bar */
.top-bar {
  background: var(--cobalt-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  border-bottom: 2px solid var(--copper-600);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-badges, .top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.top-badge strong {
  color: var(--cyan-400);
  font-weight: 700;
}
.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.top-bar-links a:hover { color: var(--cyan-400); }

@media (max-width: 768px) {
  .top-bar { display: none; }
}

/* Site Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition-fast), height var(--transition-fast);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.25rem;
}

/* Official Sypanto Brand Logo Lockup */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-emblem {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cobalt-700);
}
.brand-subtitle {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
  text-transform: uppercase;
}
.brand-subtitle .sub-copper {
  color: var(--copper-600); /* Exact "CONTRACTORS" Copper Bronze */
}
.brand-subtitle .sub-cyan {
  color: var(--cyan-600); /* Exact "LTD" Turquoise Cyan */
}

/* Footer Logo Adjustments on Dark Background */
.footer-brand .brand-emblem {
  height: 60px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.footer-brand .brand-title {
  color: var(--white);
}
.footer-brand .brand-subtitle .sub-copper {
  color: var(--copper-400);
}
.footer-brand .brand-subtitle .sub-cyan {
  color: var(--cyan-400);
}

/* Official Full 3D Logo Showcase Card */
.official-logo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.official-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper-600);
}
.official-logo-card img {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a:not(.btn) {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav a:not(.btn):hover {
  color: var(--cobalt-700);
  background: var(--cobalt-50);
}
.nav a:not(.btn).active {
  color: var(--cobalt-700);
  font-weight: 700;
}
.nav a:not(.btn).active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2.5px;
  background: var(--copper-600);
  border-radius: 2px;
}
.nav-cta { margin-left: 0.65rem; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
  color: var(--cobalt-950);
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: var(--transition-fast);
}

@media (max-width: 1120px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 2px solid var(--copper-600);
    box-shadow: var(--shadow-md);
    gap: 0.35rem;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .nav a:not(.btn).active::after {
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    right: auto;
    width: 3px;
    height: auto;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }
  .mobile-toggle { display: inline-block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}
.btn:hover svg { transform: translateX(3px); }

/* Primary: solid cobalt */
.btn-primary {
  background: var(--cobalt-700);
  color: var(--white);
  border-color: var(--cobalt-700);
}
.btn-primary:hover {
  background: var(--cobalt-800);
  border-color: var(--cobalt-800);
}

/* Alias for primary */
.btn-navy {
  background: var(--cobalt-700);
  color: var(--white);
  border-color: var(--cobalt-700);
}
.btn-navy:hover {
  background: var(--cobalt-800);
  border-color: var(--cobalt-800);
}

.btn-cyan {
  background: var(--cobalt-700);
  color: var(--white);
  border-color: var(--cobalt-700);
}
.btn-cyan:hover {
  background: var(--cobalt-800);
  border-color: var(--cobalt-800);
}

/* Secondary: outlined cobalt */
.btn-secondary {
  background: transparent;
  color: var(--cobalt-700);
  border-color: var(--cobalt-700);
}
.btn-secondary:hover {
  background: var(--cobalt-50);
  border-color: var(--cobalt-800);
  color: var(--cobalt-800);
}

/* On dark sections: white outlined */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.84rem; border-radius: var(--radius-sm); }

/* Homepage Hero */
.hero-home {
  position: relative;
  min-height: clamp(540px, 76vh, 720px);
  display: flex;
  align-items: center;
  background: var(--cobalt-950);
  color: var(--white);
  overflow: hidden;
  border-bottom: 4px solid var(--cyan-400);
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ai-construction-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.02);
}
.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 17, 56, 0.95) 0%, rgba(23, 38, 130, 0.85) 45%, rgba(17, 28, 94, 0.35) 80%, rgba(10, 17, 56, 0.15) 100%);
}
.hero-home-inner {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  width: 100%;
}
.hero-home-content {
  max-width: 660px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(35, 206, 224, 0.14);
  border: 1px solid rgba(35, 206, 224, 0.4);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 1.25rem;
}
.hero-home h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.08;
}
.hero-home p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Credentials Strip */
.credentials-strip {
  background: linear-gradient(90deg, var(--cobalt-900) 0%, var(--cobalt-800) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 1.5rem 0;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.credential-item:last-child { border-right: none; }
.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(35, 206, 224, 0.16);
  border: 1px solid rgba(35, 206, 224, 0.3);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.credential-icon svg { width: 22px; height: 22px; }
.credential-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.credential-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 992px) {
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-item { border-right: none; }
}
@media (max-width: 560px) {
  .credentials-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Interior Page Hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--cobalt-950) 0%, var(--cobalt-700) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 6vw, 5.25rem) 0 clamp(3rem, 5vw, 4.25rem);
  overflow: hidden;
  border-bottom: 4px solid var(--copper-600);
}
.page-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--cobalt-700) 50%, var(--copper-600) 100%);
  z-index: 3;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35, 206, 224, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--cyan-400); }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.85rem;
  max-width: 22ch;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  max-width: 60ch;
}

/* Cards & Capability Blocks — no lift, copper top rule only */
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--copper-600);
}
.service-card::before { display: none; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cobalt-50);
  border: 1px solid var(--cobalt-100);
  color: var(--cobalt-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }

.service-card h3 { margin-bottom: 0.55rem; font-family: var(--font-display); }
.service-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--copper-600);
  margin-top: auto;
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.card-link:hover { color: var(--copper-700); }
.card-link:hover svg { transform: translateX(3px); }

/* Sector Cards */
.sector-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sector-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--slate-200);
  border-bottom: 3px solid var(--copper-600);
}
.sector-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sector-body {
  padding: 1.35rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.sector-body h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.sector-body p { font-size: 0.9rem; color: var(--slate-600); }

/* Sector showcase tiles */
.sector-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}
.sector-tile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sector-tile.sector-tile-plain {
  background: var(--cobalt-950);
  border-color: var(--cobalt-900);
  color: var(--white);
  aspect-ratio: 3 / 2;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.sector-tile.sector-tile-plain .sector-tile-title {
  position: static;
  background: none;
  padding: 0;
  color: var(--white);
}
.sector-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid var(--copper-600);
}
.sector-tile-title {
  padding: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cobalt-950);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.25;
}
.sector-tile-title svg {
  width: 16px;
  height: 16px;
  color: var(--copper-600);
  flex-shrink: 0;
}

/* Split Feature Section */
.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .split-feature { grid-template-columns: 1fr; }
}
.feature-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}
.feature-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-badge-float {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 17, 56, 0.93);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--cyan-400);
}
.feature-badge-float strong {
  display: block;
  font-size: 0.95rem;
  color: var(--cyan-400);
}
.feature-badge-float span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Checklists */
.check-list {
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}
.check-list li svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Project Portfolio Grid & Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--cobalt-700);
  color: var(--cobalt-700);
}
.filter-btn.active {
  background: var(--cobalt-700);
  color: var(--white);
  border-color: var(--cobalt-700);
  box-shadow: 0 4px 12px rgba(28, 46, 162, 0.25);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cobalt-950);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border-bottom: 3px solid var(--cyan-400);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 56, 0.94) 0%, rgba(10, 17, 56, 0.38) 52%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.project-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--copper-600);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.project-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.2rem;
}
.project-overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 17, 56, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: var(--cobalt-950);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(35, 206, 224, 0.3);
}
.lightbox-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #000;
}
.lightbox-caption {
  padding: 1rem 1.5rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 17, 56, 0.85);
  color: var(--cyan-400);
  border: 1px solid rgba(35, 206, 224, 0.4);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

/* Data Table (Corporate Profile) */
.data-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-card-header {
  background: linear-gradient(90deg, var(--cobalt-900) 0%, var(--cobalt-700) 100%);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 3px solid var(--cyan-400);
}
.data-card-header h3 { color: var(--white); font-size: 1.1rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.data-table tr {
  border-bottom: 1px solid var(--slate-200);
}
.data-table tr:last-child { border-bottom: none; }
.data-table th, .data-table td {
  padding: 1rem 1.75rem;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  width: 38%;
  color: var(--slate-600);
  font-weight: 600;
  background: var(--cobalt-50);
}
.data-table td {
  color: var(--cobalt-950);
  font-weight: 600;
}
@media (max-width: 640px) {
  .data-table th, .data-table td {
    display: block;
    width: 100%;
    padding: 0.65rem 1.25rem;
  }
  .data-table th { padding-bottom: 0.2rem; background: transparent; }
  .data-table td { padding-top: 0; padding-bottom: 0.85rem; }
}

/* Contact Layout & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-panel {
  background: linear-gradient(155deg, var(--cobalt-950) 0%, var(--cobalt-800) 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--cyan-400);
}
.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-info-panel > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.contact-list {
  display: grid;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(35, 206, 224, 0.16);
  border: 1px solid rgba(35, 206, 224, 0.3);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
  margin-bottom: 0.2rem;
}
.contact-item a, .contact-item span {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--cyan-400); text-decoration: underline; }

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--copper-600);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cobalt-950);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cobalt-700);
  box-shadow: 0 0 0 3px rgba(28, 46, 162, 0.14);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-error {
  color: var(--error);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.35rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
  background: #fffafa;
}
.form-group.has-error .form-error { display: block; }
.form-success {
  background: var(--success-bg);
  border: 1px solid #86efac;
  color: var(--success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}

/* Notice / Honesty Callout */
.honesty-note {
  background: var(--cobalt-50);
  border-left: 4px solid var(--copper-600);
  padding: 1.15rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-top: 2rem;
}

/* Call To Action Banner */
.cta-band {
  position: relative;
  background: linear-gradient(125deg, var(--cobalt-950) 0%, var(--cobalt-700) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  overflow: hidden;
  border-top: 4px solid var(--cyan-400);
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-copy { max-width: 620px; }
.cta-band h2 { color: var(--white); margin-bottom: 0.65rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Site Footer */
.site-footer {
  background: var(--cobalt-950);
  color: var(--slate-400);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 3px solid var(--copper-600);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--slate-400);
  max-width: 36ch;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer-badge {
  background: rgba(35, 206, 224, 0.08);
  border: 1px solid rgba(35, 206, 224, 0.22);
  color: var(--cyan-300);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--cyan-400); }
.footer-contact-item {
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  color: var(--slate-300);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Utilities */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ==========================================================================
   V4 — WORLD-CLASS LAYER: type, hero, motion, mobile bar, polish
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

@view-transition { navigation: auto; }

/* Unified professional type — Inter throughout */
h1, h2 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
h1 em, h2 em { font-style: italic; font-weight: 600; }
.hero-v4 h1 em { color: var(--copper-400); }
h3, h4 { font-weight: 700; }

/* Top bar: single line, never wraps */
.top-bar-inner { flex-wrap: nowrap; white-space: nowrap; }
.top-bar-badges, .top-bar-links { flex-wrap: nowrap; }
@media (max-width: 1320px) { .top-bar-links a[href^="mailto"], .top-bar-badges .top-badge:nth-child(3) { display: none; } }
@media (max-width: 1060px) { .top-bar-links span { display: none; } }

/* Scroll progress */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-400), var(--copper-500)); z-index: 3000; pointer-events: none; }

/* ---------- Hero v4 ---------- */
.hero-v4 { position: relative; min-height: clamp(600px, calc(100vh - 126px), 780px); display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 78% 40%, #1c2ea2 0%, transparent 60%), linear-gradient(160deg, var(--cobalt-950) 0%, #0d1750 100%);
  color: var(--white); overflow: hidden; border-bottom: 4px solid var(--cyan-400); isolation: isolate; }
.hero-v4::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, #000 30%, transparent 80%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.hero-v4 h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; margin-bottom: 1.4rem; }
.hero-v4 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-v4 .line > span { display: block; transform: translateY(110%); animation: lineUp .95s var(--ease-out) forwards; }
.hero-v4 .line:nth-child(2) > span { animation-delay: .12s; }
.hero-v4 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-v4 .fade-in { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, .5s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-v4 p.hero-sub { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 50ch; margin-bottom: 2rem; }
.hero-v4 .hero-pill { margin-bottom: 1.4rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.25rem; font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.hero-proof span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(35,206,224,.18); }

.hero-media { position: relative; justify-self: end; width: min(100%, 560px); }
.hero-frame { position: relative; aspect-ratio: 4 / 4.6; border-radius: 4px 140px 4px 4px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12);
  clip-path: inset(0 0 100% 0); animation: wipe 1.3s var(--ease-out) .25s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%;
  transform: scale(1.04); animation: kenburns 24s ease-in-out 1s infinite alternate; will-change: transform; }
@keyframes kenburns { to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,56,.55), transparent 45%); }
.hero-tag { position: absolute; left: -1.25rem; bottom: 2rem; z-index: 3; background: var(--white); color: var(--cobalt-950); padding: 1rem 1.25rem 1rem 1.1rem;
  border-left: 4px solid var(--copper-600); border-radius: 2px; box-shadow: var(--shadow-md); max-width: 250px; opacity: 0; animation: fadeUp .9s var(--ease-out) 1.2s forwards; }
.hero-tag strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.hero-tag span { font-size: .78rem; color: var(--slate-600); line-height: 1.4; display: block; margin-top: .15rem; }
.hero-tag.top { left: auto; right: -1rem; bottom: auto; top: 2.5rem; border-left-color: var(--cyan-500); animation-delay: 1.5s; }

.hero-blueprint { position: absolute; z-index: -1; right: -2%; bottom: -6%; width: min(62vw, 880px); opacity: .55; pointer-events: none; }
.hero-blueprint path, .hero-blueprint line, .hero-blueprint rect { fill: none; stroke: rgba(92,225,240,.55); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease-out) forwards; animation-delay: var(--bd, .4s); }
.hero-blueprint .dim { stroke: rgba(255,255,255,.3); stroke-width: 1; stroke-dasharray: 4 6; animation: none; stroke-dashoffset: 0; opacity: 0; animation: fadeUp 1s ease 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; opacity: 0; animation: fadeUp 1s ease 2s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan-400); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.5rem 4rem; }
  .hero-media { justify-self: stretch; width: 100%; order: -1; }
  .hero-frame { aspect-ratio: 16 / 10; border-radius: 4px 70px 4px 4px; }
  .hero-tag { left: .75rem; bottom: .75rem; }
  .hero-tag.top { display: none; }
  .hero-v4 { min-height: 0; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--white); border-bottom: 1px solid var(--slate-200); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.25rem 1.5rem; border-right: 1px solid var(--slate-200); }
.stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--cobalt-700); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .45em; color: var(--copper-600); margin-left: .1em; vertical-align: super; }
.stat-label { margin-top: .6rem; font-size: .85rem; color: var(--slate-600); font-weight: 500; max-width: 22ch; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat { border-bottom: 1px solid var(--slate-200); padding: 1.5rem 1rem; } .stat:nth-child(2n) { border-right: 0; } .stat:first-child { padding-left: 1rem; } }

/* ---------- Marquee ---------- */
/* marquee removed */

/* ---------- Process timeline ---------- */
.process { position: relative; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.process-line { position: absolute; top: 27px; left: 5%; right: 5%; height: 2px; background: var(--slate-200); }
.process-line i { display: block; height: 100%; width: 100%; background: var(--copper-600); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.process.in-view .process-line i { transform: scaleX(1); }
.step { position: relative; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--cobalt-700); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; color: var(--cobalt-700); position: relative; z-index: 1; margin-bottom: 1.25rem; transition: background .4s, color .4s; }
.step:hover .step-dot { background: var(--cobalt-700); color: var(--white); }
.step h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.step p { font-size: .92rem; color: var(--slate-600); }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 1rem; } .process-line { top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto; } .process-line i { transform: scaleY(0); transform-origin: top; } .process.in-view .process-line i { transform: scaleY(1); } .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; } .step-dot { margin: 0; grid-row: span 2; } }

/* ---------- Reveal on scroll ---------- */
/* reveal / img-wipe removed — content always visible */

/* ---------- Polish: cards, tiles, buttons ---------- */
.sector-showcase-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.sector-tile { flex: 1 1 calc(25% - 1rem); min-width: 190px; max-width: calc(25% - .75rem); }
@media (max-width: 760px) { .sector-tile { max-width: calc(50% - .5rem); flex-basis: calc(50% - .5rem); min-width: 0; } }
.sector-tile img { height: 150px; transition: transform .7s var(--ease-out); }
.sector-tile { overflow: hidden; } .sector-tile:hover img { transform: scale(1.07); }
.service-card { border-radius: 6px; }
.service-card .icon-box { border-radius: 4px; }
.btn { border-radius: 4px; } .btn-lg { border-radius: 4px; }
.btn-primary:active, .btn-navy:active { transform: translateY(0) scale(.98); }
.btn .arrow { transition: transform .3s var(--ease-out); }
.project-card { border-radius: 6px; }
.project-overlay p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s; }
.project-card:hover .project-overlay p, .project-card:focus-visible .project-overlay p { max-height: 80px; opacity: 1; }
@media (hover: none) { .project-overlay p { max-height: none; opacity: 1; } }
.project-card.is-hidden { display: none; }
.project-card.pop { animation: pop .55s var(--ease-out) both; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(14px); } }

/* Cursor follower on project cards */
/* custom cursor removed */

/* Lightbox upgrade */
.lightbox { opacity: 0; transition: opacity .3s; } .lightbox.open { opacity: 1; }
.lightbox-nav { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(35,206,224,.4); background: rgba(10,17,56,.8); color: var(--cyan-400); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lightbox-nav:hover { background: var(--cyan-400); color: var(--cobalt-950); }

/* Header: shrink on scroll */
.site-header { transition: box-shadow .2s, height .3s var(--ease-out); }
.site-header.scrolled { height: 72px; }
.site-header .brand-emblem { transition: height .3s var(--ease-out), transform .18s; }
.site-header.scrolled .brand-emblem { height: 46px; }
.nav a:not(.btn)::before { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 2px; height: 2px; background: var(--copper-600); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:not(.btn):hover::before { transform: scaleX(1); }
.mobile-toggle span { transform-origin: center; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Interior hero: gentle moving grid */
.page-hero::after { animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { background-position: 240px 120px; } }

/* Sticky mobile contact bar */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; background: var(--white); border-top: 1px solid var(--slate-200); box-shadow: 0 -8px 24px rgba(10,17,56,.12); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; transform: translateY(110%); transition: transform .5s var(--ease-out); }
  .mobile-cta.show { transform: none; }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 700; font-size: .85rem; padding: .7rem .5rem; border-radius: 4px; border: 1.5px solid var(--slate-300); color: var(--cobalt-700); }
  .mobile-cta svg { width: 17px; height: 17px; }
  .mobile-cta .mc-wa { color: #0f7a3c; border-color: #9fd9b5; }
  .mobile-cta .mc-quote { background: var(--copper-600); border-color: var(--copper-600); color: #fff; }
  body { padding-bottom: 68px; }
}

/* Form success + whatsapp fallback */
.form-success a { color: inherit; text-decoration: underline; font-weight: 700; }
.btn.is-loading { opacity: .7; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-v4 .line > span, .hero-v4 .fade-in, .hero-tag, .scroll-cue { animation: none !important; transform: none; opacity: 1; }
  .hero-frame { clip-path: none; animation: none; } .hero-frame img { animation: none; transform: none; }
  .hero-blueprint path, .hero-blueprint line, .hero-blueprint rect { animation: none; stroke-dashoffset: 0; }
  .marquee-track { animation: none; } .js .reveal, .js .img-wipe { opacity: 1; transform: none; clip-path: none; } .js .img-wipe img { transform: none; }
  .process-line i { transform: none !important; } .page-hero::after { animation: none; }
}

/* ==========================================================================
   v5 World-class enhancements — Differentiators & Testimonials
   Inspired by leading contractor sites (Seyani, Landmark, Intex, global GCs)
   ========================================================================== */

.why-sypanto { background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--copper-500));
  opacity: 0;
  transition: opacity .35s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cobalt-50);
  color: var(--cobalt-700);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--cobalt-900); }
.why-card p { font-size: .92rem; color: var(--slate-600); line-height: 1.55; }

/* Testimonials */
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}
@media (max-width: 900px) { .testimonials .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--copper-400);
  opacity: .55;
  position: absolute;
  top: .6rem; left: 1.1rem;
  pointer-events: none;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-700);
  margin: 1.4rem 0 1.25rem;
  position: relative;
  z-index: 1;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}
.testimonial-card footer strong {
  font-size: .92rem;
  color: var(--cobalt-800);
}
.testimonial-card footer span {
  font-size: .82rem;
  color: var(--slate-500);
}

/* Premium polish refinements */
.credentials-strip {
  background: var(--cobalt-950);
  color: var(--white);
}
.credential-item {
  border-right: 1px solid rgba(255,255,255,.08);
}
.credential-text strong { color: var(--white); }
.credential-text span { color: rgba(255,255,255,.7); }
.credential-icon { color: var(--cyan-400); }

.project-card {
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Focus rings for accessibility (world-class) */
:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 3px;
}
.btn:focus-visible, .filter-btn:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

/* Subtle grain overlay for premium texture (optional, low opacity) */
.hero-v4::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: .5;
}

/* ==========================================================================
   HERO VIDEO – Full-bleed screen-fitting video + strong CTA (v6.2)
   ========================================================================== */

.hero-video {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0a0e1a;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fallback when video fails or reduced-motion */
.hero-video.no-video .hero-video-el,
@media (prefers-reduced-motion: reduce) {
  .hero-video-el { display: none; }
  .hero-video-bg {
    background: url("../images/ai-construction-hero.jpg") center / cover no-repeat;
  }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 12, 28, 0.88) 0%, rgba(8, 12, 28, 0.55) 45%, rgba(8, 12, 28, 0.35) 100%),
    linear-gradient(to top, rgba(8, 12, 28, 0.75) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.hero-video-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.hero-video-content {
  position: relative;
  z-index: 5;
  padding-top: 6rem;
  padding-bottom: 5rem;
  width: 100%;
}

.hero-video-copy {
  max-width: 720px;
}

.hero-video .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-video h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-video h1 .hv-line {
  display: block;
}

.hero-video h1 .hv-line.accent {
  color: var(--cyan-400);
}

.hero-video-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.75rem;
}

/* Primary CTA emphasis */
.hero-video-actions .btn-primary {
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(35, 206, 224, 0.25);
}
.hero-video-actions .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(35, 206, 224, 0.35);
  
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.hero-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-video-meta .meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-video-meta strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero-video-meta span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Video controls */
.hero-video-controls {
  position: absolute;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hv-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(10,14,30,0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hv-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.05);
}
.hv-btn:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

.scroll-cue.light {
  border-color: rgba(255,255,255,0.5);
}
.scroll-cue.light::after {
  background: rgba(255,255,255,0.7);
}

/* Mobile adjustments for video hero */
@media (max-width: 768px) {
  .hero-video {
    min-height: 92vh;
  }
  .hero-video-content {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }
  .hero-video-meta {
    gap: 1.25rem 1.75rem;
  }
  .hero-video-controls {
    bottom: 5.5rem; /* above mobile CTA bar */
    right: 1rem;
  }
}

/* Ensure older hero styles don't conflict */
.hero-v4 { display: none; }

/* ==========================================================================
   v6.5 — Project photography integration
   (hero is intentionally untouched)
   ========================================================================== */

/* Shared figure caption */
.photo-cap { font-size: .82rem; color: var(--slate-600); line-height: 1.45; }
.photo-cap strong { display: block; color: var(--cobalt-950); font-size: .9rem; margin-bottom: .1rem; }

/* ---- Foundation-to-handover stage showcase (home) ---- */
.stages { background: var(--cobalt-950); color: var(--white); position: relative; overflow: hidden; }
.stages::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 400px at 85% -10%, rgba(35,206,224,.14), transparent 60%),
  radial-gradient(700px 380px at -5% 110%, rgba(136,81,57,.22), transparent 60%); pointer-events: none; }
.stages .container { position: relative; }
.stages .section-header h2 { color: var(--white); }
.stages .section-header h2 em { color: var(--cyan-400); font-style: normal; }
.stages .section-header p { color: rgba(255,255,255,.75); }
.stages-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.4fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.stage-tabs { display: grid; gap: .6rem; align-content: center; }
.stage-tab { display: grid; grid-template-columns: 3rem 1fr; gap: .9rem; align-items: center; text-align: left; width: 100%;
  padding: 1rem 1.15rem; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78); cursor: pointer; font: inherit; transition: background .3s, border-color .3s, transform .3s, color .3s; }
.stage-tab:hover { background: rgba(255,255,255,.07); border-color: rgba(35,206,224,.4); }
.stage-tab .stage-num { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--copper-400); transition: color .3s; }
.stage-tab strong { display: block; font-size: 1.02rem; color: var(--white); }
.stage-tab small { display: block; font-size: .82rem; line-height: 1.4; margin-top: .15rem; color: rgba(255,255,255,.62); }
.stage-tab[aria-selected="true"] { background: linear-gradient(90deg, rgba(35,206,224,.16), rgba(35,206,224,.04)); border-color: var(--cyan-400); transform: translateX(6px); }
.stage-tab[aria-selected="true"] .stage-num { color: var(--cyan-400); }
.stage-view { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.12); aspect-ratio: 4 / 3; background: #000; }
.stage-panel { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease-out), visibility .8s; }
.stage-panel.active { opacity: 1; visibility: visible; }
.stage-panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.stage-panel.active img { transform: scale(1); }
.stage-panel figcaption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.4rem; background: rgba(10,17,56,.92); backdrop-filter: blur(8px);
  padding: .95rem 1.2rem; border-radius: var(--radius-md); border-left: 4px solid var(--cyan-400); font-size: .85rem; color: rgba(255,255,255,.88); }
.stage-panel figcaption strong { display: block; color: var(--cyan-400); font-size: .95rem; margin-bottom: .1rem; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.14); }
.stage-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan-400), var(--copper-400)); transform: scaleX(0); transform-origin: left; }
.stage-progress i.run { animation: stageBar var(--stage-dur, 5500ms) linear forwards; }
@keyframes stageBar { to { transform: scaleX(1); } }
.stages-note { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
  .stages-grid { grid-template-columns: 1fr; }
  .stage-tabs { display: flex; overflow-x: auto; gap: .6rem; padding-bottom: .4rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .stage-tab { flex: 0 0 auto; width: auto; min-width: 190px; scroll-snap-align: start; grid-template-columns: 2.2rem 1fr; }
  .stage-tab small { display: none; }
  .stage-tab[aria-selected="true"] { transform: none; }
  .stage-view { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-panel, .stage-panel img { transition: none; } .stage-progress { display: none; }
}

/* ---- Stacked photo composition (services) ---- */
.photo-stack { position: relative; padding-bottom: 2.75rem; }
.photo-stack .ps-main { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--slate-200); }
.photo-stack .ps-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-stack .ps-inset { position: absolute; bottom: 0; right: 1.25rem; width: 36%; margin: 0; border: 6px solid var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.photo-stack.is-left .ps-inset { right: auto; left: 1.25rem; }
.photo-stack .ps-inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.photo-stack .ps-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(10,17,56,.88); color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(35,206,224,.4); }
.bg-light .photo-stack .ps-inset { border-color: var(--cobalt-50); }

/* ---- Side-by-side safety photos (HSQ) ---- */
.photo-duo-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.photo-duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; margin-top: 1.25rem; }
.photo-duo figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-md); }
.photo-duo img { width: 100%; height: clamp(240px, 32vw, 400px); object-fit: cover; display: block; }
.photo-duo figcaption { padding: .9rem 1.1rem; border-top: 3px solid var(--copper-600); }
@media (max-width: 700px) { .photo-duo { grid-template-columns: 1fr; } }

/* ---- Horizontal photo reel (about) ---- */
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.reel-head .section-header { margin-bottom: 0; }
.reel-ctrl { display: flex; gap: .5rem; }
.reel-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate-300); background: var(--white); color: var(--cobalt-700); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: all .25s; }
.reel-ctrl button:hover { background: var(--cobalt-700); color: var(--white); border-color: var(--cobalt-700); }
.photo-reel { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 0 1.25rem; scrollbar-width: thin; scrollbar-color: var(--cobalt-700) var(--cobalt-50); -webkit-overflow-scrolling: touch; }
.reel-item { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); display: block; transition: transform .4s var(--ease-out), box-shadow .4s; }
.reel-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.reel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.reel-item:hover img { transform: scale(1.05); }
.reel-item .reel-img { overflow: hidden; border-bottom: 3px solid var(--copper-600); }
.reel-item .photo-cap { padding: .85rem 1rem 1rem; }

/* ---- Projects page: feature banner + mosaic gallery ---- */
.gallery-feature { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: clamp(2rem, 4vw, 3rem); background: var(--cobalt-950); }
.gallery-feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.gallery-feature .gf-copy { position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 3vw, 2.25rem); background: linear-gradient(to top, rgba(10,17,56,.95), rgba(10,17,56,.55) 60%, transparent); color: var(--white); }
.gallery-feature .gf-copy h2 { color: var(--white); font-size: clamp(1.3rem, 2.6vw, 2rem); margin: .2rem 0 .35rem; }
.gallery-feature .gf-copy p { color: rgba(255,255,255,.85); max-width: 62ch; font-size: .95rem; }
@media (max-width: 700px) { .gallery-feature img { aspect-ratio: 4 / 3; } .gallery-feature .gf-copy p { display: none; } }
.gallery-counts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin: -1rem 0 2rem; font-size: .9rem; color: var(--slate-600); }
.gallery-counts b { color: var(--cobalt-700); font-size: 1.15rem; margin-right: .3rem; }
.gallery-mosaic { display: block; column-count: 3; column-gap: 1.25rem; }
.gallery-mosaic .project-card { display: block; aspect-ratio: auto; break-inside: avoid; margin: 0 0 1.25rem; }
.gallery-mosaic .project-card.is-hidden { display: none; }
.gallery-mosaic .project-card img { height: auto; display: block; }
.gallery-mosaic .project-overlay { padding: 1.1rem; }
.gallery-mosaic .project-overlay h3 { font-size: 1rem; }
@media (max-width: 980px) { .gallery-mosaic { column-count: 2; } }
@media (max-width: 560px) { .gallery-mosaic { column-gap: .75rem; } .gallery-mosaic .project-card { margin-bottom: .75rem; } .gallery-mosaic .project-overlay p { display: none; } }
.gallery-sub { margin-top: clamp(3rem, 6vw, 5rem); }
.illustrative-note { font-size: .85rem; color: var(--slate-500); margin: -.5rem 0 1.5rem; text-align: center; }
.lightbox-count { font-size: .78rem; letter-spacing: .08em; color: var(--cyan-400); font-weight: 700; white-space: nowrap; }
.lightbox-caption > div { display: grid; gap: .35rem; }
.lightbox-caption .lb-desc { font-size: .85rem; color: rgba(255,255,255,.75); }
.stages-grid > * { min-width: 0; }

/* ==========================================================================
   v7 Homepage structure & photography
   ========================================================================== */

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}
.featured-main {
  grid-row: span 2;
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cobalt-950);
}
.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  min-height: 320px;
}
.featured-side, .featured-wide {
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cobalt-950);
}
.featured-side img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.featured-wide {
  grid-column: 2 / -1;
}
.featured-wide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.featured-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(to top, rgba(10,17,56,0.85), transparent);
}
/* Subtle cobalt tonal treatment on project photos */
.featured-grid img,
.sector-tile img,
.project-card img,
.stage-panel img {
  filter: contrast(1.03) saturate(0.96);
}
.featured-cta { margin-top: 1.75rem; text-align: center; }

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-main { grid-row: auto; grid-column: 1 / -1; }
  .featured-main img { aspect-ratio: 16 / 9; min-height: 0; }
  .featured-wide { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* Services as ruled list */
.services-list {
  list-style: none;
  max-width: 820px;
  border-top: 1px solid var(--slate-200);
}
.services-list li {
  border-bottom: 1px solid var(--slate-200);
}
.services-list a {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  align-items: baseline;
  color: inherit;
  transition: color var(--transition-fast);
}
.services-list a:hover strong { color: var(--copper-600); }
.services-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cobalt-950);
}
.services-list span {
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .services-list a { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.1rem 0; }
}

/* Why statements — one row, no cards */
.why-statements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-statement strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cobalt-950);
  margin-bottom: 0.45rem;
}
.why-statement p {
  color: var(--slate-600);
  font-size: 0.95rem;
  max-width: none;
}
@media (max-width: 900px) {
  .why-statements { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 560px) {
  .why-statements { grid-template-columns: 1fr; }
}

/* Text link accent */
.text-link {
  color: var(--copper-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.text-link:hover { color: var(--copper-300); }

/* Sector tile title overlay */
.sector-tile {
  position: relative;
  text-decoration: none;
}
.sector-tile-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(to top, rgba(10,17,56,0.88), transparent);
}

/* Credentials strip polish */
.credentials-strip {
  background: var(--cobalt-50);
  border-block: 1px solid var(--slate-200);
  padding: 1.5rem 0;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .credentials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .credentials-grid { grid-template-columns: 1fr; }
}
.credential-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.credential-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--copper-600);
}
.credential-icon svg { width: 100%; height: 100%; }
.credential-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cobalt-950);
}
.credential-text span {
  font-size: 0.8rem;
  color: var(--slate-600);
}
.credential-text a { color: var(--copper-600); text-decoration: underline; }

/* Honesty note */
.honesty-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Top bar when only links */
.top-bar-inner { justify-content: flex-end; }
.top-bar-links { gap: 1.5rem; }

/* Simple fade for featured photos (one restrained entrance) */
@media (prefers-reduced-motion: no-preference) {
  .featured-grid figure {
    animation: fadeIn 0.6s ease both;
  }
  .featured-grid figure:nth-child(2) { animation-delay: 0.05s; }
  .featured-grid figure:nth-child(3) { animation-delay: 0.1s; }
  .featured-grid figure:nth-child(4) { animation-delay: 0.15s; }
  .featured-grid figure:nth-child(5) { animation-delay: 0.2s; }
  .featured-grid figure:nth-child(6) { animation-delay: 0.25s; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
