/* ============================================================
   LD PILE & CO. — Modernized Brand Website
   Soft-geometric design system
   Palette: Navy #12263F | Gold #B08D4C | White | Light Grey
   ============================================================ */

:root {
  --navy: #12263F;
  --navy-deep: #0B1B2D;
  --navy-soft: #1E3A5C;
  --gold: #B08D4C;
  --gold-light: #C9A45C;
  --gold-pale: #F5EEDF;
  --white: #FFFFFF;
  --grey: #F4F6F8;
  --line: #E3E8EE;
  --ink: #1B2A3A;
  --slate: #5A6B7F;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(18, 38, 63, 0.07);
  --shadow-md: 0 8px 24px rgba(18, 38, 63, 0.10);
  --shadow-lg: 0 18px 44px rgba(18, 38, 63, 0.16);
  --glow-gold: 0 0 0 4px rgba(176, 141, 76, 0.18);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: var(--space-6) 0; }

.section-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}

.section-title.center, .section-label.center { text-align: center; }

.section-intro {
  color: var(--slate);
  max-width: 680px;
  margin: 0 auto var(--space-4);
  text-align: center;
  font-size: 18px;
}

/* ---------- Buttons: modern rounded pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  white-space: nowrap;
}

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--glow-gold);
}

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover {
  background: var(--navy-soft);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; gap: 12px; }

.logo-lockup { display: flex; align-items: center; gap: 12px; }

.logo-mark {
  height: 58px;
  width: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.logo-word {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.logo-word small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
  white-space: nowrap;
}
.logo-word-light { color: var(--white); }
.logo-word-light small { color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 20px; }

.main-nav > ul { display: flex; align-items: center; gap: 20px; list-style: none; }

.main-nav a.nav-link {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

.header-inner .btn { padding: 13px 26px; }
.main-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: right .25s ease;
}
.main-nav a.nav-link:hover::after, .main-nav li.active a.nav-link::after { right: 0; }
.main-nav a.nav-link:hover { color: var(--gold); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  list-style: none;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.dropdown a:hover { background: var(--gold-pale); color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero: full-width photo with white fade behind the copy ---------- */
.hero {
  padding: var(--space-6) 0 0;
  background:
    linear-gradient(90deg,
      var(--white) 0%,
      var(--white) 34%,
      rgba(255, 255, 255, 0.88) 48%,
      rgba(255, 255, 255, 0.35) 66%,
      rgba(255, 255, 255, 0) 82%),
    url("img/hero-bridgetown-web.jpg") right center / cover no-repeat;
}

.hero-content { max-width: 560px; padding-bottom: var(--space-6); }

.hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero h1 .accent { color: var(--gold); }

.hero .hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 23px);
  color: var(--navy-soft);
  margin: var(--space-3) 0 var(--space-2);
}

.hero .hero-body { color: var(--slate); font-size: 18px; max-width: 540px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-4); }

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-media:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--glow-gold); }
.hero-media img, .hero-media svg { width: 100%; height: auto; }

.hero-tagline {
  margin-top: var(--space-5);
  background: var(--navy);
  color: rgba(255,255,255,.92);
  text-align: center;
  padding: 18px 24px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-tagline .dot { color: var(--gold-light); margin: 0 12px; }

/* ---------- Cards (universal soft-geometric) ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(176, 141, 76, 0.45);
}

/* Service cards */
.services-band { padding: var(--space-5) 0 var(--space-6); background: var(--grey); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.service-card { padding: var(--space-4) var(--space-3) var(--space-3); display: flex; flex-direction: column; }

.service-card .icon-frame { margin-bottom: var(--space-3); }

.service-card h3 {
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-card p { color: var(--slate); font-size: 15.5px; flex: 1; }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.learn-more .arrow { transition: transform .22s ease; }
.learn-more:hover .arrow { transform: translateX(5px); }

/* Icon frames: soft rounded squares */
.icon-frame {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .25s ease, transform .25s ease;
}
.icon-frame svg { width: 32px; height: 32px; }
.card:hover .icon-frame, .approach-tile:hover .icon-frame { background: var(--gold); color: var(--white); transform: scale(1.06); }

/* ---------- Approach section ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.approach-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.approach-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--glow-gold);
  border-color: rgba(176, 141, 76, 0.45);
}
.approach-tile .icon-frame { margin: 0 auto var(--space-2); border-radius: 50%; }
.approach-tile h3 { font-size: 15.5px; letter-spacing: 0.05em; margin-bottom: 8px; }
.approach-tile p { color: var(--slate); font-size: 14.5px; }

/* ---------- Trusted clients / industries ---------- */
.industries { background: var(--grey); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

.industry-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.industry-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176, 141, 76, 0.5);
}
.industry-tile .icon-frame { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 12px; }
.industry-tile .icon-frame svg { width: 26px; height: 26px; }
.industry-tile span {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  display: block;
  line-height: 1.35;
}

/* ---------- Insights / blog cards ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.insight-card { overflow: hidden; display: flex; flex-direction: column; }

.insight-card .insight-img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.insight-card .insight-img img, .insight-card .insight-img svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.insight-card:hover .insight-img img, .insight-card:hover .insight-img svg { transform: scale(1.045); }

.insight-body { padding: var(--space-3); display: flex; flex-direction: column; flex: 1; }
.insight-meta {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.insight-body h3 { font-size: 18px; margin-bottom: 10px; }
.insight-body h3 a { color: var(--navy); }
.insight-body h3 a:hover { color: var(--gold); }
.insight-body p { color: var(--slate); font-size: 15px; flex: 1; }

.insight-card.featured { background: var(--navy); border-color: var(--navy); }
.insight-card.featured .insight-body h3, .insight-card.featured .insight-body h3 a { color: var(--white); }
.insight-card.featured .insight-body h3 a:hover { color: var(--gold-light); }
.insight-card.featured .insight-body p { color: rgba(255,255,255,.75); }
.insight-card.featured .insight-meta { color: var(--gold-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  padding: var(--space-5) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,76,.25) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 3.6vw, 42px); }
.page-hero p {
  color: rgba(255,255,255,.78);
  max-width: 640px;
  margin-top: var(--space-2);
  font-size: 18px;
}
.breadcrumb {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Content blocks ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.content-card { padding: var(--space-4); }
.content-card h2 { font-size: 22px; margin-bottom: var(--space-2); }
.content-card p { color: var(--slate); }
.content-card p + p { margin-top: var(--space-2); }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: var(--space-2);
  color: var(--slate);
}
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-pale) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B08D4C" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/13px no-repeat;
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.value-card { padding: var(--space-3); text-align: center; }
.value-card h3 { font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; margin: var(--space-2) 0 8px; }
.value-card p { color: var(--slate); font-size: 14.5px; }
.value-card .icon-frame { margin: 0 auto; }

/* Service detail rows */
.service-detail { padding: var(--space-4); margin-bottom: var(--space-3); scroll-margin-top: 110px; }
.service-detail .detail-head { display: flex; align-items: center; gap: 20px; margin-bottom: var(--space-2); }
.service-detail h2 { font-size: 21px; }
.service-detail p, .service-detail li { color: var(--slate); }
.service-detail ul { margin: var(--space-2) 0 0 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -80px; bottom: -140px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,76,.28) 0%, transparent 70%);
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); margin-bottom: var(--space-2); }
.cta-band p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto var(--space-3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-4); align-items: start; }

.contact-info-card { padding: var(--space-4); background: var(--navy); border: none; }
.contact-info-card h2 { color: var(--white); font-size: 20px; margin-bottom: var(--space-3); }
.contact-info-card ul { list-style: none; }
.contact-info-card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-2);
  font-size: 15.5px;
}
.contact-info-card li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-light); margin-top: 3px; }
.contact-info-card a { color: var(--gold-light); }

.form-card { padding: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form-group { margin-bottom: var(--space-2); }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--grey);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--glow-gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-4);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: var(--space-4) 0 var(--space-2); }
.prose h3 { font-size: 18px; margin: var(--space-3) 0 var(--space-1); }
.prose p { color: var(--slate); margin-bottom: var(--space-2); }
.prose ul { margin: 0 0 var(--space-2) 22px; color: var(--slate); }
.prose li { margin-bottom: 10px; }
.prose .article-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin: var(--space-3) 0; }

/* Legal pages: slightly smaller, justified text */
.prose-legal p, .prose-legal li { font-size: 15px; text-align: justify; }

/* Insights "Coming Soon" card */
.insight-coming {
  max-width: 620px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  text-align: center;
}
.insight-coming .icon-frame { margin: 0 auto var(--space-3); border-radius: 50%; }
.insight-coming h3 { font-size: 22px; letter-spacing: 0.06em; margin-bottom: 10px; }
.insight-coming p { color: var(--slate); }

.article-meta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: var(--space-5) 0 0; margin-top: var(--space-6); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}

.footer-brand .logo-lockup { margin-bottom: var(--space-2); }
.footer-brand img.logo-mark { height: 52px; width: 52px; }
.footer-brand p { font-size: 14.5px; max-width: 280px; }

.site-footer h4 {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-light); }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: all .22s ease;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: var(--space-3) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .service-cards, .approach-grid, .insight-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse nav to hamburger before the header gets crowded */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    top: 88px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .main-nav a.nav-link { font-size: 16px; padding: 12px 4px; display: block; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 0 0 0 18px;
  }
  .main-nav .btn { margin-top: var(--space-2); }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 720px) {
  section { padding: var(--space-5) 0; }

  /* On small screens the copy sits over the photo, so strengthen the white veil */
  .hero {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.9) 55%,
        rgba(255, 255, 255, 0.55) 100%),
      url("img/hero-bridgetown-web.jpg") center / cover no-repeat;
  }
  .hero-content { padding-bottom: var(--space-5); }
  .service-cards, .approach-grid, .insight-grid, .value-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn { width: auto; flex: 1; }
}
