/* ============================================================
   ELITE INTEGRATION PARTNERS — style.css
   Shared stylesheet for all pages
   Tango Web Studio · Tango Apex LLC
   ============================================================ */

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

:root {
  --dark:       #060E1A;
  --navy:       #0A1628;
  --navy-mid:   #0D1E35;
  --blue:       #1B4F8A;
  --blue-mid:   #3366ff;
  --accent:     #e0bf38;
  --steel:      #8BA8C8;
  --muted:      #3A5070;
  --text:       #E8F0F8;
  --text-dim:   #6A8AAA;
  --line:       rgba(224, 191, 56, 0.18);
  --line-mid:   rgba(224, 191, 56, 0.28);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
}

.section-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 22px;
  height: 0.5px;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: var(--blue-mid);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-primary:hover {
  background: #2255dd;
}

.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 34px;
  background: transparent;
  color: var(--blue-mid);
  border: 0.5px solid var(--blue-mid);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--blue-mid);
  color: #fff;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: gap var(--transition);
}

.btn-text:hover {
  gap: 16px;
}

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  border-bottom: 0.5px solid var(--line);
  background: rgba(6, 14, 26, 0.97);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 24px;
  border: 0.5px solid var(--blue-mid);
  color: var(--blue-mid);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover {
  background: var(--blue-mid);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--steel);
  transition: var(--transition);
}

/* ------------------------------------------------------------
   SOCIAL ICONS
   ------------------------------------------------------------ */
.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0.5px solid rgba(224,191,56,0.3);
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--accent);
  background: rgba(224,191,56,0.08);
}

.social-icon img {
  width: 20px;
  height: 20px;
}

.footer-social {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-social .social-icon {
  width: 38px;
  height: 38px;
}

.footer-social .social-icon img {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
  padding: 28px 56px;
  border-top: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-left img {
  height: auto;
  width: 110px;
  opacity: 0.45;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--steel);
}

/* ------------------------------------------------------------
   HERO — HOME
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 72px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 14, 26, 0.62) 0%,
    rgba(6, 14, 26, 0.35) 30%,
    rgba(6, 14, 26, 0.55) 65%,
    rgba(6, 14, 26, 0.93) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 1px 12px rgba(0,0,0,1), 0 2px 24px rgba(0,0,0,0.9);
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 0.5px;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 16px;
  color: rgba(232, 240, 248, 0.82);
  max-width: 480px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 44px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 0.5px solid rgba(224, 191, 56, 0.3);
}

.stat-n {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}

.stat-l {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200, 220, 240, 0.75);
  margin-top: 6px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 56px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 24px;
  height: 2px;
  background: rgba(224, 191, 56, 0.3);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--accent);
}

/* ------------------------------------------------------------
   TAGLINE BAND
   ------------------------------------------------------------ */
.tagline-band {
  padding: 52px 56px;
  border-bottom: 0.5px solid var(--line);
  background: var(--navy);
  text-align: center;
}

.tagline-band p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text);
  letter-spacing: 0.01em;
}

.tagline-band p em {
  font-style: normal;
  color: var(--accent);
}

/* ------------------------------------------------------------
   SERVICES OVERVIEW — HOME
   ------------------------------------------------------------ */
.services-overview {
  padding: 88px 56px 0;
}

.services-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--line);
  margin-top: 52px;
}

.svc-card {
  padding: 34px 28px;
  border-right: 0.5px solid var(--line);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}

.svc-card:last-child {
  border-right: none;
}

.svc-card:hover {
  background: rgba(224, 191, 56, 0.06);
}

.svc-num {
  display: none;
}

.svc-icon {
  width: 48px;
  height: 48px;
  border: 0.5px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.svc-icon img {
  width: 24px;
  height: 24px;
}

.svc-card h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.78;
  font-weight: 300;
}

/* ------------------------------------------------------------
   PROJECTS GRID — HOME (asymmetric)
   ------------------------------------------------------------ */
.projects-home {
  padding: 88px 56px 88px;
}

.proj-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3px;
  margin-top: 52px;
}

.proj-featured {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  text-decoration: none;
}

.proj-featured-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.proj-featured:hover .proj-featured-img {
  transform: scale(1.04);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 20, 0.97) 0%,
    rgba(4, 10, 20, 0.55) 50%,
    rgba(4, 10, 20, 0.15) 100%
  );
}

.proj-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proj-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  text-decoration: none;
}

.proj-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.proj-card:hover .proj-card-img {
  transform: scale(1.05);
}

.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 20, 0.96) 0%,
    rgba(4, 10, 20, 0.45) 55%,
    rgba(4, 10, 20, 0.1) 100%
  );
}

.proj-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3px;
}

.proj-tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  text-decoration: none;
}

.proj-tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.proj-tile:hover .proj-tile-img {
  transform: scale(1.05);
}

.proj-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 20, 0.96) 0%,
    rgba(4, 10, 20, 0.55) 45%,
    rgba(4, 10, 20, 0.15) 100%
  );
}

/* Shared project card text */
.proj-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.proj-title {
  font-family: var(--serif);
  font-weight: 300;
  color: #fff;
  position: relative;
  z-index: 2;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}

.proj-featured .proj-title { font-size: clamp(22px, 2.5vw, 30px); }
.proj-card .proj-title    { font-size: 22px; }
.proj-tile .proj-title    { font-size: 18px; }

.proj-meta {
  font-size: 11px;
  color: rgba(200, 220, 240, 0.7);
  position: relative;
  z-index: 2;
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

/* Hover overlay text */
.proj-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  background: rgba(6, 14, 26, 0.3);
}

.proj-featured:hover .proj-hover,
.proj-card:hover .proj-hover,
.proj-tile:hover .proj-hover {
  opacity: 1;
}

.proj-hover span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.6);
  padding: 10px 22px;
}

/* ------------------------------------------------------------
   FAQ — HOME
   ------------------------------------------------------------ */
.faq-section {
  padding: 88px 56px;
  border-top: 0.5px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 52px;
  align-items: start;
}

.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 0.5px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  text-align: left;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 0.5px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.85;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-image {
  position: relative;
  overflow: hidden;
}

.faq-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ------------------------------------------------------------
   CONTACT BAND
   ------------------------------------------------------------ */
.contact-band {
  background: var(--navy);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid var(--line);
}

.contact-band h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--text);
  line-height: 1.2;
}

.contact-band h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-band p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
}

.contact-band-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.contact-details span {
  font-size: 12px;
  color: var(--text-dim);
}

.contact-details strong {
  color: var(--steel);
}

/* ------------------------------------------------------------
   SERVICES PAGE
   ------------------------------------------------------------ */
.page-hero {
  padding: 80px 56px 64px;
  border-bottom: 0.5px solid var(--line);
  background: var(--navy);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  margin-top: 16px;
  max-width: 700px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-hero p {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 20px;
}

.services-list {
  padding: 0 56px 88px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 0.5px solid var(--line);
  align-items: stretch;
  min-height: 460px;
}

.service-row:first-child {
  border-top: 0.5px solid var(--line);
  margin-top: 80px;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-media {
  overflow: hidden;
  position: relative;
}

.service-media img,
.service-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-row:hover .service-media img,
.service-row:hover .service-media video {
  transform: scale(1.03);
}

.service-copy {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-copy-num {
  display: none;
}

.service-copy-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}

.service-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.5vw, 36px);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-copy p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.88;
  font-weight: 300;
  margin-bottom: 14px;
}

.service-copy ul {
  list-style: none;
  margin-top: 8px;
}

.service-copy ul li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 7px 0;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-copy ul li::before {
  content: '';
  width: 16px;
  height: 0.5px;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}

/* Services page FAQ */
.services-faq {
  padding: 80px 56px;
  border-top: 0.5px solid var(--line);
  background: var(--navy-mid);
}

/* ------------------------------------------------------------
   PROJECTS PAGE
   ------------------------------------------------------------ */
.projects-gallery {
  padding: 80px 56px 88px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 52px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, 0.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.6);
  padding: 8px 18px;
}

/* ------------------------------------------------------------
   PROJECT INDIVIDUAL PAGE (Case Study)
   ------------------------------------------------------------ */
.project-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.project-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,14,26,0.3) 0%,
    rgba(6,14,26,0.8) 100%
  );
}

.project-hero-content {
  position: absolute;
  bottom: 48px;
  left: 56px;
  right: 56px;
  z-index: 2;
}

.project-type {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.project-hero-content h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  margin-bottom: 12px;
}

.project-info-bar {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.project-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-info-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.project-info-value {
  font-size: 13px;
  color: rgba(232, 240, 248, 0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

.project-body {
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  border-bottom: 0.5px solid var(--line);
}

.project-description h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text);
  margin-bottom: 20px;
}

.project-description h2 em {
  font-style: italic;
  color: var(--accent);
}

.project-description p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.88;
  font-weight: 300;
  margin-bottom: 16px;
}

.project-specs {
  padding: 32px;
  border: 0.5px solid var(--line);
  background: rgba(224, 191, 56, 0.04);
  align-self: start;
}

.project-specs h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
  gap: 16px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.spec-value {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* Project gallery (lightbox) */
.project-gallery {
  padding: 64px 56px 88px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 36px;
}

.lightbox-trigger {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lightbox-trigger:hover img {
  transform: scale(1.06);
}

.lightbox-trigger-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, 0.45);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-trigger:hover .lightbox-trigger-overlay {
  opacity: 1;
}

.lightbox-trigger video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Video play icon overlay */
.lightbox-trigger[data-type="video"] .lightbox-trigger-overlay span {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.97);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--steel);
  font-size: 24px;
  cursor: pointer;
  font-weight: 300;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--steel);
  font-size: 32px;
  cursor: pointer;
  padding: 20px;
  transition: color var(--transition);
  font-weight: 300;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

.lightbox-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

/* Project nav */
.project-nav {
  padding: 40px 56px;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}

.project-nav a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------
   ABOUT PAGE
   ------------------------------------------------------------ */
.about-founders {
  padding: 80px 56px;
  border-bottom: 0.5px solid var(--line);
}

.founders-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 52px;
}

.founder-card {
  position: relative;
  overflow: hidden;
  height: 480px;
}

.founder-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

.founder-card:hover .founder-card-img {
  transform: scale(1.04);
}

.founder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 20, 0.92) 0%,
    rgba(4, 10, 20, 0.3) 55%,
    rgba(4, 10, 20, 0.1) 100%
  );
}

.founder-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  z-index: 2;
}

.founder-card-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.founder-card-role {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.founder-card-bio {
  font-size: 13px;
  color: rgba(200, 220, 240, 0.75);
  margin-top: 10px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

.about-story {
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  border-bottom: 0.5px solid var(--line);
}

.about-story-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 42px);
  color: var(--text);
  line-height: 1.18;
  margin-bottom: 24px;
}

.about-story-copy h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-story-copy p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.88;
  font-weight: 300;
  margin-bottom: 18px;
}

.about-story-img {
  position: relative;
  overflow: hidden;
}

.about-story-img img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center center;
}

/* ============================================================
   FOUNDER BIOS — Option C (photo left, text right, alternating)
   To remove: delete this CSS block and the HTML section below
   ============================================================ */
.founder-bio-section {
  padding: 0 56px;
  border-top: 0.5px solid var(--line);
}

.founder-bio-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 0.5px solid var(--line);
}

.founder-bio-row.reverse {
  grid-template-columns: 1.4fr 1fr;
}

.founder-bio-row.reverse .founder-bio-img {
  order: 2;
}

.founder-bio-row.reverse .founder-bio-copy {
  order: 1;
}

.founder-bio-img {
  position: relative;
  overflow: hidden;
}

.founder-bio-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.founder-bio-copy .bio-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.founder-bio-copy .bio-tag::before {
  content: '';
  width: 22px;
  height: 0.5px;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}

.founder-bio-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 8px;
}

.founder-bio-copy .bio-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}

.founder-bio-copy p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.88;
  font-weight: 300;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .founder-bio-row,
  .founder-bio-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-bio-row.reverse .founder-bio-img,
  .founder-bio-row.reverse .founder-bio-copy {
    order: unset;
  }
  .founder-bio-img img { height: 360px; }
  .founder-bio-section { padding: 0 32px; }
}

/* ADDITIVE FIX — tablet landscape (iPad landscape etc. fall between 1024px and ~1300px)
   Rollback: delete this entire block, nothing else needs to change. */
@media (min-width: 1025px) and (max-width: 1300px) {
  .founder-bio-row,
  .founder-bio-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-bio-row.reverse .founder-bio-img,
  .founder-bio-row.reverse .founder-bio-copy {
    order: unset;
  }
  .founder-bio-img img { height: 400px; }
}

@media (max-width: 768px) {
  .founder-bio-section { padding: 0 20px; }
  .founder-bio-img img { height: 280px; }
  .founder-bio-row { padding: 48px 0; gap: 28px; }
}


.about-values {
  padding: 80px 56px;
  border-bottom: 0.5px solid var(--line);
  background: var(--navy-mid);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 52px;
}

.value-card {
  padding: 36px 28px;
  border: 0.5px solid var(--line);
  background: var(--dark);
}

.value-card h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.value-num {
  display: none;
}

.value-card::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

.value-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.78;
  font-weight: 300;
}

/* ------------------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------------------ */
.contact-page {
  padding: 80px 56px 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 42px);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-info p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 36px;
}

.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--line);
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 14px;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--navy-mid);
  padding: 44px;
  border: 0.5px solid var(--line);
}

.contact-form-wrap h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(6, 14, 26, 0.6);
  border: 0.5px solid var(--muted);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-faq {
  padding: 80px 56px;
  border-top: 0.5px solid var(--line);
  background: var(--navy-mid);
}

/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
body.lightbox-open {
  overflow: hidden;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .site-nav { padding: 16px 32px; }
  .hero { padding: 0 32px 56px; }
  .services-overview,
  .projects-home,
  .faq-section,
  .tagline-band,
  .contact-band { padding-left: 32px; padding-right: 32px; }
  .services-grid-home { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-image { display: none; }
  .service-row { grid-template-columns: 1fr; min-height: auto; }
  .service-row.reverse { direction: ltr; }
  .service-media { height: 280px; }
  .about-story,
  .contact-page { grid-template-columns: 1fr; gap: 48px; }
  .project-body { grid-template-columns: 1fr; gap: 40px; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; }

  /* Lightbox — mobile/tablet: hide side arrows, show bottom control bar */
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox.open {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .lightbox-inner {
    max-width: 96vw;
    max-height: 75vh;
  }

  .lightbox-inner img {
    max-width: 96vw;
    max-height: 72vh;
  }

  .lightbox-counter {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--steel);
  }

  .lightbox-counter::before {
    content: '←';
    font-size: 22px;
    color: var(--steel);
    cursor: pointer;
    padding: 10px 16px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-counter::after {
    content: '→';
    font-size: 22px;
    color: var(--steel);
    cursor: pointer;
    padding: 10px 16px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ADDITIVE FIX — tablet portrait gets hamburger nav too (nav only, nothing else changes)
   Rollback: delete this entire block. Desktop nav at 1025px+ and mobile nav below 768px
   are both untouched. */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100%;
    width: 50%;
    max-width: 340px;
    background: #060E1A;
    padding: 80px 32px 40px;
    gap: 32px;
    z-index: 200;
    box-shadow: -4px 0 32px rgba(0,0,0,0.6);
    border-left: 0.5px solid rgba(224,191,56,0.15);
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 16px; letter-spacing: 0.12em; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
  }
  .nav-overlay.open { display: block; }
  .nav-toggle { display: flex; z-index: 201; position: relative; }
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  .site-nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100%;
    width: 75%;
    max-width: 300px;
    background: #060E1A;
    padding: 80px 32px 40px;
    gap: 32px;
    z-index: 200;
    box-shadow: -4px 0 32px rgba(0,0,0,0.6);
    border-left: 0.5px solid rgba(224,191,56,0.15);
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 16px; letter-spacing: 0.12em; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
  }
  .nav-overlay.open { display: block; }
  .nav-toggle { display: flex; z-index: 201; position: relative; }
  .nav-cta { display: none; }
  .hero { padding: 0 20px 48px; min-height: 85vh; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 28px; }
  .services-overview,
  .projects-home,
  .faq-section { padding-left: 20px; padding-right: 20px; }
  .services-grid-home { grid-template-columns: 1fr; }
  .proj-grid-main { grid-template-columns: 1fr; }
  .proj-row { grid-template-columns: 1fr; }
  .proj-featured { min-height: 300px; }
  .tagline-band { padding: 36px 20px; }
  .contact-band { flex-direction: column; gap: 28px; text-align: center; padding: 40px 20px; }
  .contact-band-right { flex-direction: column; }
  .contact-details { text-align: center; }
  .page-hero { padding: 56px 20px 48px; }
  .services-list { padding: 0 20px 64px; }
  .service-copy { padding: 36px 20px; }
  .projects-gallery { padding: 56px 20px 64px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-hero-content { left: 20px; right: 20px; bottom: 32px; }
  .project-body,
  .project-gallery,
  .project-nav { padding-left: 20px; padding-right: 20px; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-founders,
  .about-story,
  .about-values,
  .contact-page,
  .contact-faq { padding-left: 20px; padding-right: 20px; }
  .founders-photos { grid-template-columns: 1fr; }
  .founder-card { height: 360px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .site-footer { padding: 24px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .project-info-bar { gap: 24px; }
  .footer-social { display: flex; }
  .contact-band .social-icons { display: none; }
}
