/* =====================================================
   TOP LEVEL CONSTRUCTION — FOUNDRY DESIGN SYSTEM
   ===================================================== */

/* === TOKENS === */
:root {
  --gold: #8CC540;
  --gold-light: #A8D16E;
  --gold-dim: rgba(140, 197, 64, 0.18);
  --ember: #D4521E;
  --dark: #0F0D0A;
  --surface: #171411;
  --surface-2: #1F1B17;
  --border: rgba(140, 197, 64, 0.16);
  --border-faint: rgba(140, 197, 64, 0.07);
  --text: #EDE8D8;
  --text-muted: #9A8F78;
  --text-dim: #564E3E;
  --radius: 5px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* === BASE === */
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.mono-dim {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.label-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.label-line::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 136px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(15,13,10,0.92) 0%, transparent 100%);
  transition: height 0.35s ease, background 0.35s ease;
}

.site-nav.scrolled {
  height: 90px;
  background: rgba(15, 13, 10, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 120px;
  height: 88px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.site-nav.scrolled .nav-logo img {
  transform: scale(0.75);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links > a,
.nav-dropdown > a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-dropdown > a:hover { color: var(--text); }
.nav-links > a.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted) !important;
  text-decoration: none;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius);
  transition: all 0.15s;
  letter-spacing: 0.01em;
}

.dropdown-menu a:hover {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s;
}

.nav-hamburger:hover { border-color: var(--gold); }

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 600;
  padding: 7rem 2rem 3rem;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

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

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-faint);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav .mobile-sub-group {
  padding-left: 1.25rem;
}

.mobile-nav .mobile-sub-group a {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  padding: 0.5rem 0;
}

.mobile-nav-work-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 1rem 0 0.25rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(140, 197, 64, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(237, 232, 216, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ember {
  background: var(--ember);
  color: #fff;
  border: 1px solid var(--ember);
}

.btn-ember:hover {
  background: #E5622E;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 82, 30, 0.25);
}

/* === LAYOUT === */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }

.section-head {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text);
  margin-top: 0.5rem;
}

.section-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 0.9rem;
  line-height: 1.75;
}

/* === HERO (HOME) === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 5rem 2.5rem;
  overflow: hidden;
}

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

@keyframes heroFade {
  0%, 42%  { opacity: 1; }
  50%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-1 { animation: heroFade 14s ease-in-out infinite; }
.hero-img-2 { animation: heroFade 14s ease-in-out infinite -7s; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,13,10,0.97) 0%,
    rgba(15,13,10,0.55) 45%,
    rgba(15,13,10,0.18) 100%
  );
}

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

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(12px);
}

.hero-label::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.hero-label .mono {
  font-size: 0.78rem;
  color: var(--text);
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(18px);
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  opacity: 0;
  transform: translateY(14px);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(12px);
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
  display: block;
  text-decoration: none;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img { transform: scale(1.09); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,13,10,0.93) 0%, transparent 55%);
  transition: opacity 0.3s;
}

.service-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}

.service-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text);
  transition: color 0.3s;
}

.service-card:hover .service-card-name { color: var(--gold); }

.service-card-cta {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}

.service-card:hover .service-card-cta {
  opacity: 1;
  transform: translateX(0);
}

/* === ABOUT STRIP === */
.about-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-strip-text {
  padding: 6rem 4rem 6rem 2.5rem;
}

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

.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-strip-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--surface) 0%, transparent 30%);
  z-index: 1;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat-item {}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.25rem;
  background: var(--dark);
  position: relative;
}

.testimonial-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-project {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === PAGE HERO === */
.page-hero {
  padding: 11rem 2.5rem 4.5rem;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.page-hero-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.page-hero-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.8;
}

/* === GALLERY === */
.gallery-section {
  padding: 0 2.5rem 5rem;
  max-width: 1360px;
  margin: 0 auto;
}

.gallery-project {
  margin-bottom: 4rem;
}

.gallery-project-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-project-name::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-faint);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(140, 197, 64, 0);
  transition: background 0.3s;
  pointer-events: none;
}

.gallery-item:hover::after { background: rgba(140, 197, 64, 0.06); }

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lb-btn {
  position: absolute;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
  z-index: 10;
}

.lb-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lb-close { top: -52px; right: 0; }
.lb-prev { left: -56px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -56px; top: 50%; transform: translateY(-50%); }

/* === PROCESS === */
.process-intro {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.process-intro p {
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.process-steps {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-faint);
}

.process-step:nth-child(even) { direction: rtl; }
.process-step:nth-child(even) > * { direction: ltr; }

.process-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-style: italic;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
}

.process-step:hover .process-step-num {
  color: rgba(140, 197, 64, 0.25);
}

.process-step-phase {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process-step h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.process-step p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.process-step-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  margin-bottom: 1.1rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.5s;
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* === CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail dt {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-detail dd {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-detail dd a {
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail dd a:hover { color: var(--gold); }

.map-wrap {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(0.85) saturate(0.75);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-input, .form-textarea, .form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

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

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238CC540' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--surface);
}

/* === CONCRETE PAGE === */
.concrete-block {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem 4.5rem;
}

.concrete-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-faint);
}

.concrete-service:nth-child(even) { direction: rtl; }
.concrete-service:nth-child(even) > * { direction: ltr; }

.concrete-service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.concrete-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.concrete-service:hover .concrete-service-img img {
  transform: scale(1.04);
}

.concrete-service-content h2 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.concrete-service-content h3 {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.concrete-service-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.warranty-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 1360px;
  margin: 0 auto 3rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

.warranty-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.warranty-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.aftercare-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.aftercare-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-faint);
  line-height: 1.5;
}

.aftercare-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* === CHARITY === */
.charity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .charity-gallery-grid { grid-template-columns: 1fr; }
}

.charity-gallery-grid .gallery-item {
  aspect-ratio: 16/9;
}

/* === OUR WORK GRID === */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}

.work-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  display: block;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover img { transform: scale(1.09); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,13,10,0.92) 0%, transparent 50%);
}

.work-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
}

.work-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
  transition: color 0.3s;
}

.work-card:hover .work-card-name { color: var(--gold); }

/* === FOOTER === */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 2.5rem 2.5rem;
}

.footer-grid {
  max-width: 1360px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 4rem;
}

.footer-brand .label-line { margin-bottom: 1.25rem; }

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.footer-brand a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-brand a:hover { color: var(--gold-light); }

.footer-nav {}
.footer-nav-head {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-faint);
}

.footer-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.footer-nav-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}

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

.footer-social {}

.footer-social-head {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-faint);
}

.footer-social-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.6rem 0;
  transition: color 0.2s;
  border-bottom: 1px solid var(--border-faint);
}

.footer-social-item:hover { color: var(--text); }

.footer-social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === UTILITY GRIDS === */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .cols-3 { grid-template-columns: 1fr; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-strip-img { height: 400px; }
  .about-strip-img::before { background: linear-gradient(to bottom, var(--surface) 0%, transparent 30%); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .process-step { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
  .process-step:nth-child(even) { direction: ltr; }
  .concrete-service { grid-template-columns: 1fr; direction: ltr !important; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding: 0 1.25rem; height: 100px; position: absolute; background: linear-gradient(to bottom, rgba(15,13,10,0.7) 0%, transparent 100%); }
  .site-nav.scrolled { height: 100px; background: linear-gradient(to bottom, rgba(15,13,10,0.7) 0%, transparent 100%); border-bottom: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav.scrolled .nav-logo img { transform: scale(0.65); }

  .hero { padding: 3.5rem 1.5rem; }
  .wrap, .page-hero, .gallery-section, .concrete-block, .process-steps { padding-left: 1.5rem; padding-right: 1.5rem; }
  .warranty-card { margin-left: 1.5rem; margin-right: 1.5rem; }
  .site-footer { padding: 3.5rem 1.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: -48px; }

  .form-row { grid-template-columns: 1fr; }
  .stat-row { gap: 2rem; }

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