@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Jost:wght@300;400;500;600&family=Roboto+Mono:wght@400;500&display=swap');

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

:root {
  --charcoal: #4d4d4d;
  --gold: #c5b358;
  --gold-light: #d4c97a;
  --gold-dark: #a8973f;
  --hero-bg: #ededec;
  --hero-bg2: #e6e6e4;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #eeece8;
  --mid-gray: #999890;
  --dark: #1a1a1a;
  --nav-height: 80px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}


/* ─── DARK MODE (auto, only when device is set to dark mode) ─── */
@media (prefers-color-scheme: dark) {

  /* Page backgrounds */
  body { background: #1c1c1a; color: #d4d0c8; }

  /* Muted gold hero backgrounds become deep warm charcoal */
  .page-hero,
  .hero-home {
    background: linear-gradient(160deg, #252420 0%, #1e1e1b 100%);
    border-bottom-color: #333;
  }

  /* Nav stays dark (already dark in light mode, just deepen slightly) */
  nav { background: #111110; border-bottom-color: rgba(255,255,255,0.06); }

  /* White/off-white content areas → deep warm darks */
  .home-about,
  .about-body-full,
  .services-detail,
  .experience-body,
  .legal-body { background: #1c1c1a; }

  .home-services,
  .values-section,
  .contact-right { background: #232320; }

  /* Service cards */
  .service-card { background: #1c1c1a; }
  .service-card:hover { background: #252420; }
  .services-grid { background: #333; }
  .service-detail-card { background: #1c1c1a; }
  .services-two-col { background: #333; }

  /* Section title and body text */
  h1.section-title,
  h2.section-title { color: #ede8dc; }
  .section-body { color: #8a8880; }
  .hero-home h1 { color: #ede8dc; }
  .hero-sub-line1 { color: #a0a098; opacity: 1; }
  .hero-sub-line2 { color: #7a7870; }
  .page-hero-left .section-title { color: #ede8dc; }
  .page-hero-left .section-body { color: #8a8880; opacity: 1; }

  /* Body text in content sections */
  .about-body-full p,
  .services-intro p,
  .experience-intro p,
  .service-detail-card p { color: #a0a098; }
  .service-detail-card h3 { color: #ede8dc; }
  .service-card h3 { color: #ede8dc; }
  .service-card p { color: #8a8880; }
  .service-list li { color: #a0a098; border-bottom-color: #2e2e2b; }

  /* Dividers and borders */
  .light-gray,
  .accordion,
  .accordion-item { border-color: #2e2e2b; }
  .accordion { border-top-color: #2e2e2b; }
  .accordion-item { border-bottom-color: #2e2e2b; }
  .projects-list { border-top-color: #2e2e2b; }
  .project-row { border-bottom-color: #2e2e2b; }
  .skyline-wrap { background: #232320; border-color: #2e2e2b; }

  /* Accordion */
  .accordion-trigger h3 { color: #ede8dc; }
  .accordion-icon::before,
  .accordion-icon::after { background: #a0a098; }
  .accordion-body p { color: #8a8880; }

  /* Project cards */
  .project-info h3 { color: #ede8dc; }
  .project-info p { color: #8a8880; }

  /* Buttons */
  .btn-ghost { color: #a0a098; border-bottom-color: #a0a098; }
  .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
  .btn-ghost-light { color: rgba(200,190,160,0.55); border-bottom-color: rgba(200,190,160,0.3); }

  /* Contact form inputs */
  .form-group input,
  .form-group textarea {
    background: #252420;
    border-color: #333;
    color: #d4d0c8;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: #5a5a58; }
  .form-group input:focus,
  .form-group textarea:focus { border-color: var(--gold); background: #2a2a27; }
  .form-group label { color: #7a7870; }
  .contact-right h2 { color: #ede8dc; }
  .form-note { color: #7a7870; }

  /* Diagram boxes */
  .diagram-party { background: #252420; border-color: #333; color: #d4d0c8; }
  .diagram-sub { background: #1c1c1a; color: #7a7870; }
  .gc-mobile-box { background: #252420; border-color: #333; color: #d4d0c8; }
  .gc-mobile-sub { background: #1c1c1a; color: #7a7870; }

  /* Skyline SVG text labels */
  .skyline-svg text { fill: #a0a098 !important; }

  /* Modal */
  .modal-box { background: #252420; }
  .modal-box h2 { color: #ede8dc; }
  .modal-updated { color: #7a7870; }
  .modal-body h3 { color: #c0b898; }
  .modal-body p { color: #a0a098; }
  .modal-sms-link { color: #7a7870; border-top-color: #2e2e2b; }

  /* Footer */
  footer { background: #111110; }

  /* Legal */
  .legal-intro p { color: #a0a098; }
  .legal-section h2 { color: #c0b898; }
  .legal-section p { color: #a0a098; }
  .legal-divider { border-top-color: #2e2e2b; }
  .legal-back { border-top-color: #2e2e2b; }

  /* Nav logo stays visible */
  .nav-logo img { filter: brightness(1) invert(0); }

  /* Form success */
  .form-success-block h3 { color: #ede8dc; }
  .form-success-block p { color: #8a8880; }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.35); }

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.65);
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding-bottom: 2px; transition: color 0.2s; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: 9px 20px !important; letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: rgba(255,255,255,0.7); }

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg2) 100%);
  border-bottom: 1px solid #dddcda;
  padding: 80px 60px 72px;
}

.hero-home {
  min-height: calc(100vh - var(--nav-height));
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}

.hero-centered { display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: 120px; width: auto; margin-bottom: 28px; }

.page-hero-left { padding: 72px 60px 60px; }
.page-hero-left .section-label { color: var(--gold-dark); }
.page-hero-left .section-title { color: var(--dark); max-width: 640px; }
.page-hero-left .section-body { color: var(--charcoal); max-width: 560px; opacity: 0.85; }

/* ─── TYPOGRAPHY ─── */
.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 300; color: var(--dark);
  line-height: 1.15; margin-bottom: 16px;
  letter-spacing: 0.01em; text-transform: none;
}

h1.section-title, h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 300; color: var(--dark);
  line-height: 1.13; margin-bottom: 16px;
}

.hero-sub-line1 {
  font-size: 15px; color: var(--charcoal); font-weight: 400;
  letter-spacing: 0.04em; margin-bottom: 6px; opacity: 0.8; text-align: center;
}
.hero-sub-line2 {
  font-size: 13px; color: var(--mid-gray); font-weight: 300;
  margin-bottom: 36px; text-align: center;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }

.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px;
}
.section-body { font-size: 15px; color: var(--mid-gray); line-height: 1.85; max-width: 580px; font-weight: 300; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--dark);
  padding: 13px 32px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s; cursor: pointer;
  border: none; font-family: var(--font-body); text-decoration: none;
}
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block; color: var(--charcoal); font-size: 12px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--charcoal); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s; cursor: pointer;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body); text-decoration: none;
}
.btn-ghost:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

.btn-ghost-light {
  display: inline-block; color: rgba(30,20,0,0.5); font-size: 12px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(30,20,0,0.25); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s; cursor: pointer;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body); text-decoration: none;
}
.btn-ghost-light:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* ─── SECTIONS ─── */
section { padding: 90px 60px; }
.divider-line { width: 40px; height: 1px; background: var(--gold); margin-bottom: 18px; }

/* ─── HOME ─── */
.home-about { background: var(--white); padding: 90px 60px; max-width: 800px; }
.home-services { background: var(--off-white); padding: 90px 60px; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--light-gray);
  margin-top: 56px; border: 1px solid var(--light-gray);
}
.service-card { background: var(--white); padding: 44px 32px; transition: background 0.3s; cursor: pointer; }
.service-card:hover { background: var(--off-white); }
.service-icon { width: 36px; height: 1px; background: var(--gold); margin-bottom: 22px; transition: width 0.3s; }
.service-card:hover .service-icon { width: 54px; }
.service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.75; font-weight: 300; }

/* ─── GC DIAGRAM ─── */
.gc-diagram-wrap { display: flex; justify-content: center; margin: 48px 0; }
.gc-diagram-svg-wrap { width: 100%; max-width: 760px; }
.gc-diagram-svg-wrap svg { width: 100%; height: auto; display: block; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--charcoal); padding: 80px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 300; color: var(--white); line-height: 1.2; }
.cta-band h2 strong { color: var(--gold); font-weight: 600; font-style: normal; }

/* ─── ABOUT ─── */
.about-body-full { padding: 80px 60px; background: var(--white); max-width: 860px; }
.about-body-full p { font-size: 15px; color: var(--charcoal); line-height: 1.85; font-weight: 300; margin-bottom: 22px; }
.about-body-full p:last-child { margin-bottom: 0; }

/* ─── VALUES ─── */
.values-section { background: var(--off-white); padding: 90px 60px; }
.values-header { max-width: 540px; margin-bottom: 56px; }
.accordion { border-top: 1px solid var(--light-gray); }
.accordion-item { border-bottom: 1px solid var(--light-gray); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--font-body);
}
.accordion-trigger h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--dark); transition: color 0.2s; }
.accordion-trigger:hover h3 { color: var(--gold-dark); }
.accordion-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.accordion-icon::before, .accordion-icon::after { content: ''; position: absolute; background: var(--charcoal); transition: all 0.3s; }
.accordion-icon::before { width: 16px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-icon::after { width: 1px; height: 16px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-item.open .accordion-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.accordion-item.open .accordion-body { max-height: 400px; padding-bottom: 26px; }
.accordion-body p { font-size: 15px; color: var(--mid-gray); line-height: 1.85; font-weight: 300; max-width: 680px; }

/* ─── SERVICES ─── */
.services-detail { padding: 80px 60px; background: var(--white); }
.services-intro { max-width: 720px; margin-bottom: 72px; }
.services-intro p { font-size: 15px; color: var(--charcoal); line-height: 1.85; font-weight: 300; }
.services-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--light-gray);
  border: 1px solid var(--light-gray); margin-bottom: 72px;
}
.service-detail-card { background: var(--white); padding: 44px 38px; }
.service-detail-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--dark); margin-bottom: 16px; }
.service-detail-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.8; font-weight: 300; margin-bottom: 28px; }
.service-list { list-style: none; border-top: 1px solid var(--light-gray); padding-top: 20px; }
.service-list li {
  font-size: 13px; color: var(--charcoal); padding: 8px 0;
  border-bottom: 1px solid var(--light-gray); font-weight: 300;
  display: flex; align-items: center; gap: 10px;
}
.service-list li::before { content: ''; display: inline-block; width: 16px; height: 1px; background: var(--gold); flex-shrink: 0; }
.service-list li:last-child { border-bottom: none; }

/* ─── EXPERIENCE ─── */
.experience-body { padding: 80px 60px; background: var(--white); }
.experience-intro { max-width: 780px; margin-bottom: 72px; }
.experience-intro p { font-size: 15px; color: var(--charcoal); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }

.sectors-infographic { margin-bottom: 20px; }
.skyline-wrap {
  background: var(--off-white); border: 1px solid var(--light-gray);
  padding: 40px 24px 20px; margin-top: 8px;
  overflow: hidden; display: flex; justify-content: center;
}
.skyline-svg { width: 100%; max-width: 800px; height: auto; display: block; }
.sky-group { cursor: default; transition: opacity 0.2s; }
.sky-group:hover { opacity: 0.8; }

/* ─── PROJECTS ─── */
.projects-list { border-top: 1px solid var(--light-gray); }
.project-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--light-gray); }
.project-info h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.project-info .type-tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-dark); border: 1px solid var(--gold); padding: 3px 9px; margin-bottom: 12px; font-weight: 400;
}
.project-info p { font-size: 14px; color: var(--mid-gray); line-height: 1.75; font-weight: 300; max-width: 580px; }
.project-meta { text-align: right; flex-shrink: 0; min-width: 120px; }
.project-value { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--gold-dark); line-height: 1.2; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.project-duration { font-size: 12px; color: var(--mid-gray); font-weight: 300; letter-spacing: 0.08em; }

/* ─── CONTACT ─── */
.contact-page { min-height: calc(100vh - var(--nav-height)); display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { background: var(--charcoal); padding: 90px 60px; }
.contact-left .section-label { color: var(--gold); }
.contact-left .section-title { color: var(--white); margin-bottom: 40px; }
.contact-details { margin-top: 56px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 30px; align-items: flex-start; }
.contact-item-icon { width: 36px; height: 36px; border: 1px solid rgba(197,179,88,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon span { color: var(--gold); font-size: 14px; }
.contact-item-text h4 { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 4px; font-weight: 400; }
.contact-item-text p { font-size: 15px; color: rgba(255,255,255,0.82); font-weight: 300; }
.contact-right { background: var(--off-white); padding: 90px 60px; }
.contact-right h2 { font-family: var(--font-display); font-size: 34px; font-weight: 300; color: var(--dark); margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; background: var(--white); border: 1px solid var(--light-gray);
  padding: 13px 15px; font-size: 14px; color: var(--charcoal);
  font-family: var(--font-body); font-weight: 300; transition: border-color 0.2s; outline: none; resize: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 130px; }
.form-note { font-size: 13px; color: var(--mid-gray); margin-bottom: 26px; font-weight: 300; }

/* ─── HCAPTCHA ─── */
.hcaptcha-wrap { margin-bottom: 22px; }

/* ─── FORM VALIDATION ─── */
.required-star { color: var(--gold-dark); font-size: 12px; }
.field-error { display: none; font-size: 11px; color: #c0392b; margin-top: 5px; font-weight: 400; letter-spacing: 0.03em; }
.form-group input.input-error, .form-group textarea.input-error { border-color: #c0392b; background: #fdf8f8; }
.form-banner { padding: 12px 16px; font-size: 13px; font-weight: 400; margin-bottom: 20px; }
.form-banner-error { background: #fdf1f0; border: 1px solid #f0c0bc; color: #a93226; }
.form-success-block { text-align: center; padding: 60px 20px; }
.form-success-icon { width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold-dark); margin: 0 auto 20px; }
.form-success-block h3 { font-family: var(--font-display); font-size: 28px; font-weight: 300; color: var(--dark); margin-bottom: 10px; }
.form-success-block p { font-size: 14px; color: var(--mid-gray); font-weight: 300; line-height: 1.7; }

/* ─── FOOTER ─── */
footer { background: var(--dark); padding: 44px 60px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-logo img { height: 26px; filter: brightness(0) invert(1); opacity: 0.5; }
.footer-contact-info { font-size: 12px; color: rgba(255,255,255,0.32); font-weight: 300; letter-spacing: 0.04em; }
.footer-sep { margin: 0 8px; opacity: 0.4; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; font-weight: 300; }
.footer-terms-btn { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.35); font-size: 11px; letter-spacing: 0.06em; font-family: var(--font-body); font-weight: 300; text-decoration: underline; transition: color 0.2s; padding: 0; }
.footer-terms-btn:hover { color: var(--gold); }

/* ─── MODAL ─── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 500; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); max-width: 680px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 48px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--mid-gray); font-family: var(--font-body); transition: color 0.2s; }
.modal-close:hover { color: var(--dark); }
.modal-box h2 { font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--dark); margin-bottom: 4px; }
.modal-updated { font-size: 12px; color: var(--mid-gray); margin-bottom: 32px; letter-spacing: 0.06em; }
.modal-body h3 { font-size: 13px; font-weight: 600; color: var(--charcoal); letter-spacing: 0.08em; text-transform: uppercase; margin: 24px 0 8px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 14px; color: var(--charcoal); line-height: 1.8; font-weight: 300; margin-bottom: 8px; }
.modal-sms-link { display: block; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--light-gray); font-size: 13px; color: var(--mid-gray); font-weight: 300; }
.modal-sms-link a { color: var(--gold-dark); text-decoration: none; border-bottom: 1px solid var(--gold); transition: opacity 0.2s; }
.modal-sms-link a:hover { opacity: 0.7; }

/* ─── LEGAL PAGE ─── */
.legal-body { max-width: 780px; padding: 72px 60px; background: var(--white); }
.legal-intro { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--light-gray); }
.legal-intro p { font-size: 16px; color: var(--charcoal); line-height: 1.85; font-weight: 300; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px; }
.legal-section p { font-size: 14px; color: var(--charcoal); line-height: 1.85; font-weight: 300; margin-bottom: 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { font-weight: 500; color: var(--dark); }
.legal-section a { color: var(--gold-dark); text-decoration: none; border-bottom: 1px solid var(--gold); transition: opacity 0.2s; }
.legal-section a:hover { opacity: 0.7; }
.legal-divider { border: none; border-top: 1px solid var(--light-gray); margin: 48px 0; }
.legal-back { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--light-gray); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE — hamburger triggers earlier at 900px ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Mobile nav includes Contact Us */
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: #1a1a1a; padding: 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 20px; align-items: flex-start; z-index: 99;
  }
  .nav-links.open a { color: rgba(255,255,255,0.75); font-size: 13px; }
  .nav-links.open a.active { color: var(--gold); }
  /* Show Contact Us as normal link in mobile menu, not button */
  .nav-links.open .nav-cta {
    background: none !important; color: rgba(255,255,255,0.75) !important;
    padding: 0 !important;
  }
  .nav-links.open .nav-cta:hover { color: var(--gold) !important; }
}

@media (max-width: 768px) {
  .page-hero { padding: 56px 20px 48px; }
  .hero-home { padding: 56px 20px; min-height: calc(100vh - var(--nav-height)); }
  .hero-logo { height: 80px; }
  .hero-sub-line1 { font-size: 14px; }
  .hero-sub-line2 { font-size: 12px; }
  .hero-actions { gap: 16px; }
  section, .services-detail, .experience-body,
  .about-body-full, .home-about, .home-services,
  .values-section, .cta-band { padding: 56px 20px; }
  .page-hero-left { padding: 56px 20px 44px; }

  /* Services title wraps on mobile */
  .page-hero-left .section-title { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-two-col { grid-template-columns: 1fr; }

  /* GC Diagram mobile: hide desktop SVG, show mobile SVG with lines */
  .gc-diagram-wrap { margin: 32px 0; }
  .gc-diagram-svg-wrap { display: none; }
  .gc-diagram-mobile { display: flex !important; justify-content: center; }

  .project-row { grid-template-columns: 1fr; gap: 12px; }
  .project-meta { text-align: left; }
  .project-value { font-size: 18px; }

  .contact-page { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 56px 20px; }

  .cta-band { flex-direction: column; align-items: flex-start; gap: 24px; }

  footer { padding: 36px 20px; }
  .footer-sep { display: none; }
  .footer-contact-info span { display: block; margin: 3px 0; }

  .skyline-wrap { padding: 20px 12px 12px; }
  .modal-box { padding: 32px 20px; }
  .legal-body { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .hero-logo { height: 64px; }
  .hero-home h1 { font-size: 24px; }
  h1.section-title, h2.section-title { font-size: 26px; }
  .project-value { font-size: 16px; }
}

/* ─── GC DIAGRAM MOBILE FALLBACK ─── */
.gc-diagram-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 20px;
}
.gc-mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.gc-mobile-left, .gc-mobile-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.gc-mobile-box {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 400;
  color: var(--charcoal);
  text-align: center;
}
.gc-mobile-sub {
  background: var(--white);
  color: var(--mid-gray);
  font-size: 10px;
}
.gc-mobile-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #1a1a1a;
  border: 1px solid var(--gold);
  padding: 10px 8px;
  flex-shrink: 0;
}
.gc-mobile-center img { width: 36px; height: 30px; object-fit: contain; }
.gc-mobile-center span { font-size: 7px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; text-align: center; }
.gc-mobile-lines {
  font-size: 11px;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 2px;
}

/* ─── SMS CONSENT TEXT ─── */
.sms-consent {
  font-size: 11px;
  color: var(--mid-gray);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 480px;
}
.sms-consent a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.2s;
}
.sms-consent a:hover { opacity: 0.7; }

/* ─── SMS CONSENT FINE PRINT ─── */
.sms-consent {
  font-size: 11px;
  color: var(--mid-gray);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 480px;
}
.sms-consent a {
  color: var(--mid-gray);
  text-decoration: underline;
  transition: color 0.2s;
}
.sms-consent a:hover { color: var(--gold-dark); }

/* ─── SMS CONSENT TEXT ─── */
.sms-consent {
  font-size: 11px;
  color: #bbb9b0;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 480px;
}
.sms-consent a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.2s;
}
.sms-consent a:hover { opacity: 0.7; }

/* ─── SMS CONSENT CHECKBOX ─── */
.sms-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.sms-checkbox-wrap input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

.sms-checkbox-wrap label {
  font-size: 11px;
  color: #bbb9b0;
  font-weight: 300;
  line-height: 1.65;
  cursor: pointer;
}

.sms-checkbox-wrap label a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.2s;
}
.sms-checkbox-wrap label a:hover { opacity: 0.7; }
