/* =====================================================
   North Star Building Solutions — style.css
   Editorial / architectural — matching reference design
   ===================================================== */

/* 1. RESET & TOKENS
   ================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — clean, editorial */
  --white:      #FFFFFF;
  --off-white:  #F8F7F4;
  --cream:      #F2EDE4;
  --line:       #E5E0D8;
  --line-dark:  #C8C2B8;
  --ink:        #1A1A18;
  --ink-mid:    #3D3C38;
  --ink-light:  #6B6A65;
  --ink-faint:  #9A9890;
  --gold:       #8B6914;
  --gold-light: #C49A30;
  --gold-bg:    rgba(139,105,20,0.08);

  /* Type */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Sizes */
  --max-w: 1200px;
  --nav-h: 64px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 220ms var(--ease);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); background: none; border: none; }
ul { list-style: none; }
svg { display: block; flex-shrink: 0; }
abbr { text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 2. LAYOUT
   ================================================== */
.wrapper {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* 3. TYPOGRAPHY HELPERS
   ================================================== */
.section-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-title i {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-mid);
}

.dot-accent {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}

.label-row {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
}

/* 4. BUTTONS
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover { background: var(--ink-mid); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #7a5c11; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--pill { border-radius: 999px; }

.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover { background: var(--cream); }

.btn--sm { font-size: 12px; padding: 0.5rem 1.1rem; }

.btn--full { width: 100%; justify-content: center; }

/* 5. NAVIGATION
   ================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

.nav.scrolled {
  background: rgba(10, 8, 6, 0.95);
  border-color: transparent;
  box-shadow: 0 1px 20px rgba(0,0,0,0.1);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--white);
}

.nav__logo-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: inherit;
}

.nav__menu {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}

.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--t);
  letter-spacing: 0.015em;
}

.nav__menu a:hover,
.nav__menu a.active { color: var(--white); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  transition: background var(--t);
  white-space: nowrap;
}

.nav__cta:hover { background: var(--cream); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* 6. HERO
   ================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 960px;
  overflow: hidden;
  background: var(--ink);
}

.hero__carousel {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  overflow: hidden;
}

.hero__slide.active { opacity: 1; z-index: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* left vignette — keeps headline readable */
    linear-gradient(to right, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.65) 100%),
    /* bottom vignette */
    linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
  z-index: 2;
  pointer-events: none;
}

/* Small note near the top-left */
.hero__note {
  position: absolute;
  top: calc(var(--nav-h) + 40px);
  left: 0;
  right: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 340px;
  z-index: 3;
  /* override max-width hack: */
  position: absolute;
  left: 48px;
  top: calc(var(--nav-h) + 40px);
  max-width: 360px;
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px 80px;
  gap: 32px;
}

.hero__headline {
  display: flex;
  flex-direction: column;
}

.hero__headline h1 {
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.92;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin-bottom: 32px;
}

.hero__headline-top { display: block; }
.hero__headline-bot { display: block; }
.hero__headline-bot i { font-weight: 300; font-style: italic; letter-spacing: -0.025em; }

.hero__headline-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.hero__headline-label .dot-accent {
  background: var(--gold-light);
  width: 5px; height: 5px;
  flex-shrink: 0;
}

/* ── Right tagline card ── */
.hero__tagline {
  max-width: 500px;
  flex-shrink: 0;
  border-left: none;
  padding-left: 0;
}

.hero__tagline h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.hero__tagline h2 i {
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
}

.hero__tagline p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.pill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 5px 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero__dots .dot {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  transition: background var(--t), width var(--t);
  cursor: pointer;
}

.hero__dots .dot--active {
  background: var(--white);
  width: 48px;
}

/* 7. ABOUT
   ================================================== */
.about {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.about__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.about__label {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-top: 8px;
}

.about__statement {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* 8. FEATURED WORK
   ================================================== */
.projects {
  padding: 100px 0;
  background: var(--white);
}

.projects__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.projects__head-left {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  flex: 1;
}

.projects__head-left .section-title { flex-shrink: 0; }
.projects__head-left p { font-size: 14px; color: var(--ink-light); line-height: 1.75; max-width: 340px; padding-top: 4px; }

.projects__grid--8 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 20px;
}

.proj-card {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-radius: 8px;
  transition: transform var(--t);
  height: 100%;
}

.proj-card:nth-child(5n + 1) {
  grid-column: span 2;
}

.proj-card:hover { transform: translateY(-4px); }

.proj-card__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.proj-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.proj-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.proj-card__meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
}

.proj-card__location { 
  display: inline-flex; 
  align-items: center; 
  gap: 7px; 
  font-size: 10px; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: rgba(255,255,255,0.7); 
  margin-bottom: 8px; 
}
.proj-card__location svg circle { fill: var(--gold-light); }
.proj-card__meta h3 { 
  font-size: 1.35rem; 
  font-weight: 700; 
  color: var(--white); 
  letter-spacing: -0.01em; 
  line-height: 1.25;
}

/* 9. CATEGORIES (BANNER)
   ================================================== */
.banner-categories {
  position: relative;
  overflow: hidden;
  height: 58vw;
  max-height: 680px;
  min-height: 360px;
  background: #0a0a0a;
}

.banner-categories__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-categories__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

/* subtle vignette — same dual-gradient as hero overlay */
.banner-categories__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.65) 100%),
    linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
  z-index: 1;
}

/* all text/buttons sit inside this lower-third bar */
.banner-categories__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* match global wrapper: constrained width + standard 48px side padding */
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px 52px;
  gap: 60px;
}

.banner-categories__title h2 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.banner-categories__title h2 i {
  font-family: var(--font);
  font-style: italic;
  font-weight: 300;
  display: block;
}

/* mirror the hero tagline border-left column */
.banner-categories__list-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 28px;
}



.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
  background: transparent;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* 10. REVIEWS CAROUSEL
   ================================================== */
.reviews {
  padding: 120px 0;
  background: var(--off-white);
}

.reviews__wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.reviews__head .section-title { margin-top: 16px; }

.reviews__content { position: relative; }
.reviews__carousel { position: relative; min-height: 250px; }

.review-slide {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  animation: fade-in 0.5s ease;
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  border-radius: 8px;
}

.review-slide.active { display: flex; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-stars { display: flex; gap: 4px; color: var(--gold); }
.review-quote {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
}

.review-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.review-author h4 { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-author span { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }

.review-dots {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 32px;
}

.review-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-dark);
  transition: background var(--t);
  cursor: pointer;
}

.review-dots .dot--active { background: var(--gold); }

/* 11. STATS
   ================================================== */
.stats {
  background: var(--cream);
  padding: 80px 0;
}

.stats__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.stats__num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats__label {
  font-size: 13px;
  color: var(--ink-light);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stats__num[data-count]:not(.counted) {
  opacity: 0.15;
}

.stats__num[data-count].counted {
  opacity: 1;
  transition: opacity 0.6s ease;
}


/* 12. CONTACT
   ================================================== */
.contact {
  padding: 100px 0;
  background: var(--ink);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact__left .section-title { margin-bottom: 16px; color: var(--white); }
.contact__left .section-title i { color: rgba(255,255,255,0.65); }
.contact__left > p { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.75; margin-bottom: 40px; }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__info strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}

.contact__info a,
.contact__info span {
  font-size: 14px;
  color: var(--white);
  transition: color var(--t);
}

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

.contact__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 16px;
}

.contact__hours svg { color: var(--gold-light); }

.contact__info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(196,154,48,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* 13. FORM
   ================================================== */
.contact-form {
  background: #1E1D1A;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.form-field label abbr { color: var(--gold); margin-left: 2px; }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t), box-shadow var(--t);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.45); }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(196,154,48,0.12);
  background: rgba(255,255,255,0.08);
}

.form-field input.err,
.form-field textarea.err,
.form-field select.err { border-color: #c0392b; }

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

.form-field select option { background: #1E1D1A; color: var(--white); }

.select-wrap { position: relative; }

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  pointer-events: none;
}

.field-error {
  font-size: 11px;
  color: #c0392b;
  font-weight: 500;
  min-height: 16px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.form-note svg { color: rgba(255,255,255,0.5); flex-shrink: 0; }

/* ── Success Modal ── */
.success-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.success-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.success-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 56px 48px;
  max-width: 440px;
  width: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.success-modal-backdrop.open .success-modal {
  transform: translateY(0) scale(1);
}

.success-modal h3 { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.success-modal p  { font-size: 14px; color: var(--ink-light); line-height: 1.7; }

.success-modal__close {
  margin-top: 8px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.8rem;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t);
}

.success-modal__close:hover { background: var(--gold); }

/* 14. FOOTER
   ================================================== */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer__brand > p { font-size: 13px; color: var(--ink-light); line-height: 1.65; max-width: 260px; }
.footer__reg { font-size: 11px !important; color: rgba(107,106,101,0.55) !important; margin-top: 10px !important; }

.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col ul li svg { color: var(--gold); }

.footer__col ul a {
  font-size: 13px;
  color: var(--ink-light);
  transition: color var(--t);
}

.footer__col ul a:hover { color: var(--ink); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p { font-size: 12px; color: var(--ink-light); }

.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 12px; color: var(--ink-light); transition: color var(--t); }
.footer__legal a:hover { color: var(--ink); }

/* 15. REVEAL ANIMATION
   ================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

/* 16. RESPONSIVE
   ================================================== */
@media (max-width: 1024px) {
  .wrapper { padding: 0 32px; }
  .nav__inner { padding: 0 32px; gap: 24px; }

  .hero__note { left: 32px; }
  .hero__content { padding: 0 32px 72px; }

  .projects__head-left { grid-template-columns: 1fr; gap: 20px; }
  .projects__grid--8 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .banner-categories__inner { gap: 40px; padding-bottom: 40px; }
  .banner-categories__title h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
  .banner-categories__list-wrap { padding-left: 24px; gap: 20px; }
  .footer__brand { grid-column: span 2; }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; position: relative; z-index: 101; }

  .nav__menu.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }

  .nav__menu.open a { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
  .nav__menu.open a:hover { color: var(--gold); }

  .hero__note { display: none; }
  .hero__content { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-bottom: 56px; }
  .hero__tagline { max-width: 100%; }

  .about__inner { grid-template-columns: 1fr; gap: 16px; }

  .projects__grid--8 { grid-template-columns: 1fr; }
  .proj-card:nth-child(5n + 1) { grid-column: 1 / -1; }
  .projects__head { flex-direction: column; gap: 24px; }
  .projects__head-left { grid-template-columns: 1fr; gap: 16px; }
  
  .banner-categories { height: auto; padding: 100px 0; min-height: 520px; display: flex; align-items: center; }
  .banner-categories__inner { position: relative; bottom: auto; left: auto; right: auto; flex-direction: column; align-items: flex-start; gap: 48px; padding-bottom: 0; }
  .banner-categories__list-wrap { border-left: none; padding-left: 0; gap: 32px; }
  
  .reviews__wrapper { grid-template-columns: 1fr; gap: 40px; }
  .reviews__head { text-align: center; }
  .reviews__head .label-row { justify-content: center; }
  .review-dots { justify-content: center; }

  .stats__divider { display: none; }
  .stats__inner { justify-content: flex-start; padding: 0 24px; gap: 36px; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .wrapper { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .hero__content { padding: 0 20px 48px; }
  .hero__headline h1 { font-size: 3.2rem; }
}
