/* =========================================================
   ISCO — Iconic Service Construction Limited
   Brand palette: deep navy + metallic gold (from logo)
   ========================================================= */

:root {
  --navy-900: #061a3a;
  --navy-800: #0b2a5b;
  --navy-700: #123a78;
  --navy-100: #e7edf7;
  --gold-500: #c9a227;
  --gold-400: #d9b84a;
  --gold-100: #f8f0d6;
  --ink: #142033;
  --muted: #5a6577;
  --line: #dfe4ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(6, 26, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 26, 58, 0.18);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 0.6rem 1rem; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.gold { color: var(--gold-400); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35); }
.btn-gold:hover { background: var(--gold-400); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(6, 26, 58, 0.08);
  backdrop-filter: blur(8px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-logo { width: 52px; height: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: #fff; transition: color 0.3s; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.06em; }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.scrolled .brand-text { color: var(--navy-800); }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-400); }
.scrolled .nav-link { color: var(--ink); }
.scrolled .nav-link.active { color: var(--navy-800); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, background 0.3s;
}
.scrolled .nav-toggle span { background: var(--navy-800); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: center 40%; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 26, 58, 0.92) 0%, rgba(6, 26, 58, 0.72) 45%, rgba(6, 26, 58, 0.25) 100%),
    linear-gradient(to top, rgba(6, 26, 58, 0.85), transparent 45%);
}
.hero-content { max-width: 1200px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.stats {
  list-style: none; padding: 0; margin: 4rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.stats li { padding: 1.6rem 1.4rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stats li:first-child { border-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--muted); }
.section-head.light h2 { color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 8 / 9; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; z-index: -1;
  inset: -18px auto auto -18px; width: 55%; height: 55%;
  border: 3px solid var(--gold-500); border-radius: var(--radius);
}
.about-badge {
  position: absolute; right: -1.2rem; bottom: 2rem;
  background: var(--navy-800); color: #fff;
  padding: 1.3rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 190px;
  border-bottom: 4px solid var(--gold-500);
}
.about-badge strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-400); line-height: 1; }
.about-badge span { font-size: 0.88rem; }
.about-copy > p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.4rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 600; font-size: 0.97rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Services */
.services { background: var(--bg-alt); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative;
  background: #fff;
  padding: 2.2rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-800);
  margin-bottom: 1.4rem;
  transition: background 0.3s;
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: var(--gold-500); }
.service-card:hover .service-icon svg { stroke: var(--navy-900); }

/* Projects */
.project-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  font: 600 0.9rem var(--font-sans);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--navy-800); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 7 / 5.6;
  background: var(--navy-900);
  box-shadow: var(--shadow);
}
.project-card.is-hidden { display: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 58, 0.95) 0%, rgba(6, 26, 58, 0.35) 45%, transparent 70%);
}
.project-card:hover img { transform: scale(1.07); }
.project-info { position: absolute; inset: auto 0 0 0; padding: 1.5rem; color: #fff; z-index: 1; }
.project-info h3 { color: #fff; margin: 0.6rem 0 0.3rem; }
.project-info p {
  margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.4s;
}
.project-card:hover .project-info p,
.project-card:focus-within .project-info p { max-height: 4rem; opacity: 1; }
.project-open {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in;
  border-radius: inherit;
}
.project-open:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.project-count {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-400);
}
.project-tag {
  display: inline-block;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 4px;
}

/* Architectural designs */
.designs { background: var(--bg-alt); }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.design-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.design-open {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900);
}
.design-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.design-open:hover img, .design-open:focus-visible img { transform: scale(1.06); }
.design-open:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.design-item figcaption { padding: 1rem 1.2rem 1.2rem; }
.design-item figcaption strong { display: block; color: var(--navy-800); }
.design-item figcaption span { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 26, 58, 0.94); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1400px, 88vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-sm); margin: 0 auto; }
.lightbox figcaption { margin-top: 1rem; color: rgba(255, 255, 255, 0.85); }
.lightbox-close, .lightbox-nav {
  position: absolute; border: 0; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.12); border-radius: 50%;
  width: 52px; height: 52px; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold-500); color: var(--navy-900); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav[hidden] { display: none; }

/* Process */
.process {
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 162, 39, 0.18), transparent 40%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.process-steps li {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s, transform 0.35s var(--ease);
}
.process-steps li:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.process-steps h3 { color: #fff; }
.process-steps p { color: rgba(255, 255, 255, 0.75); margin: 0; font-size: 0.97rem; }
.step-num {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  line-height: 1; margin-bottom: 1rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-400);
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  margin: 0;
  padding: 2.2rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: "“"; position: absolute; top: 0.6rem; right: 1.4rem;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--gold-100);
}
.testimonial blockquote { margin: 0 0 1.4rem; font-size: 1.02rem; color: var(--ink); position: relative; }
.testimonial figcaption { display: flex; flex-direction: column; padding-top: 1rem; border-top: 1px solid var(--line); }
.testimonial figcaption strong { color: var(--navy-800); }
.testimonial figcaption span { color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--gold-500), var(--gold-400)); padding: 3.5rem 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.4rem 2rem; }
.cta-inner h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { margin: 0; grid-column: 1; color: var(--navy-900); }
.cta-inner .btn { grid-column: 2; grid-row: 1 / span 2; }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { color: var(--navy-800); font-family: var(--font-display); }
.contact-list a, .contact-list span { color: var(--muted); text-decoration: none; }
.contact-list a:hover { color: var(--navy-800); text-decoration: underline; }
.ci-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); display: grid; place-items: center; }
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-form {
  background: #fff;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500);
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--navy-900); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: 400 1rem var(--font-sans);
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--navy-700); background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 58, 120, 0.12);
}
.contact-form .invalid { border-color: #c0392b; }
.hidden-field { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 600; font-size: 0.95rem; }
.form-status.success { color: #1e7a46; }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); padding: 4.5rem 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 120px; border-radius: 10px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; word-break: break-word; }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }
.back-top { color: var(--gold-400); font-weight: 600; }

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-grid, .project-grid, .design-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav ul { gap: 1.1rem; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff;
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 20px 40px rgba(6, 26, 58, 0.15);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav .nav-link { display: block; padding: 0.9rem 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link.active { color: var(--navy-800); font-weight: 800; }
  .nav-cta { align-self: flex-start; }
  body.menu-open .site-header { background: #fff; }
  body.menu-open .brand-text { color: var(--navy-800); }
  body.menu-open .nav-toggle span { background: var(--navy-800); }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner .btn { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 1rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .service-grid, .project-grid, .design-grid, .testimonial-grid, .process-steps, .footer-grid { grid-template-columns: 1fr; }
  .lightbox-nav { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox figure { max-width: 94vw; }
  .form-row, .checklist { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .about-badge { right: 0.8rem; bottom: 0.8rem; }
  .about-media::before { display: none; }
  .brand-text small { display: none; }
  .project-info p { max-height: 4rem; opacity: 1; }
  .stats li { padding: 1.2rem 1rem; }
}
