/*
Theme Name:   AmBIT Child
Theme URI:    https://www.ambitacs.com
Description:  AmBIT Asset Capital Solutions — Child theme of GeneratePress
Author:       AmBIT Asset Capital Solutions
Template:     generatepress
Version:      1.0.0
Text Domain:  ambit-child
*/

/* ═══════════════════════════════════════════════
   AMBIT ASSET CAPITAL SOLUTIONS — CUSTOM THEME
   Replicates ambit-website-v4.html design exactly
═══════════════════════════════════════════════ */

/* ── GENERATEPRESS NUCLEAR RESET ──
   Removes ALL GP layout interference so our
   sections stack vertically as intended.
─────────────────────────────────────────────── */
#page, #page.site, .site, #content, #content.site-content,
.site-content, .inside-site-inner, .site-inner,
.grid-container, .separate-containers,
.content-area, #primary, .entry, .entry-content, .post, .page {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ensure every AmBIT section stacks vertically, never sideways */
.ambit-hero, .ambit-ticker, .ambit-section,
.what-we-do, .home-about, .home-sectors,
.home-process, .home-insights-preview, .home-cta-strip,
.services-hero, .insights-hero, .contact-hero,
.contact-section, .insights-newsletter,
.single-post-hero, .single-post-content, #ambit-footer {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

/* ── GOOGLE FONTS loaded via functions.php ── */

:root {
  --gold:       #B08600;
  --gold-light: #D4A520;
  --gold-pale:  #F5EDD0;
  --charcoal:   #1C1C1E;
  --slate:      #3A3A3C;
  --mid:        #6B6B6E;
  --light:      #F2F2F0;
  --white:      #FAFAF8;
  --border:     rgba(176,134,0,0.2);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ── HIDE DEFAULT GENERATEPRESS ELEMENTS ── */
.site-header,
.main-navigation,
.site-footer,
.entry-header .entry-title,
.page-hero { display: none !important; }

/* ── NAVIGATION ── */
#ambit-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176,134,0,0.25);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px;
}
.ambit-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; margin-left: -30px;}
.ambit-nav-logo img { height: 40px; width: auto; display: block; }
.ambit-nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.ambit-nav-links a {
  color: rgba(250,250,248,0.7); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.ambit-nav-links a:hover,
.ambit-nav-links a.current-menu-item { color: var(--gold); }
.ambit-nav-links .nav-cta {
  background: var(--gold) !important; color: var(--charcoal) !important;
  padding: 8px 20px !important; border-radius: 3px; font-weight: 600 !important;
}
.ambit-nav-links .nav-cta:hover { background: var(--gold-light) !important; }

.ambit-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.ambit-hamburger span { width: 24px; height: 2px; background: var(--white); display: block; }

#ambit-mobile-menu {
  display: none; position: fixed; top: 90px; left: 0; right: 0;
  background: rgba(28,28,30,0.99); z-index: 999;
  padding: 2rem 5%;
  border-bottom: 1px solid rgba(176,134,0,0.2);
}
#ambit-mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
#ambit-mobile-menu a {
  color: rgba(250,250,248,0.8); text-decoration: none;
  font-size: 1rem; font-family: 'DM Sans', sans-serif;
}
#ambit-mobile-menu a.mobile-cta { color: var(--gold); font-weight: 600; }

/* ── CONTENT OFFSET FOR FIXED NAV ── */
.site-content,
body.page .site-content,
body.single .site-content,
body.archive .site-content { padding-top: 90px; }
.entry-content { max-width: 100% !important; }

/* ── SHARED SECTION STYLES ── */
.ambit-section { padding: 90px 5%; }
.ambit-section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.25em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 0.9rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--charcoal); margin-bottom: 1.2rem;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-title.light { color: var(--white); }
.section-intro { font-size: 0.97rem; color: var(--mid); line-height: 1.8; max-width: 560px; }
.section-intro.light { color: rgba(250,250,248,0.6); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--charcoal);
  padding: 13px 30px; border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--charcoal); }
.btn-ghost {
  background: transparent; color: var(--charcoal);
  padding: 12px 28px; border: 1.5px solid rgba(28,28,30,0.3);
  border-radius: 3px; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost.light { color: rgba(250,250,248,0.7); border-color: rgba(250,250,248,0.25); }
.btn-ghost.light:hover { border-color: var(--gold); color: var(--gold); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   HOME PAGE
══════════════════════════════════════ */

/* HERO */
.ambit-hero {
  background: var(--charcoal);
  padding: 120px 5% 90px;
  position: relative; overflow: hidden;
}
.ambit-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(176,134,0,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 5rem; align-items: center;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.08;
  color: var(--white); margin-bottom: 1.5rem;
}
.hero-inner h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.05rem; color: rgba(250,250,248,0.65);
  line-height: 1.8; max-width: 520px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(176,134,0,0.15); border: 1px solid rgba(176,134,0,0.2);
  border-radius: 4px; overflow: hidden;
}
.hero-stat {
  background: rgba(28,28,30,0.6); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  font-weight: 700; color: var(--gold);
}
.hero-stat-label { font-size: 0.72rem; color: rgba(250,250,248,0.5); line-height: 1.4; }

/* TICKER */
.ambit-ticker {
  background: var(--charcoal); border-top: 1px solid rgba(176,134,0,0.2);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.ambit-ticker-inner { display: inline-flex; gap: 0; animation: ticker 28s linear infinite; }
.ticker-item {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.18em; color: rgba(176,134,0,0.6);
  text-transform: uppercase; padding: 0 2.5rem;
}
.ticker-item::before { content: '◆'; margin-right: 2.5rem; color: rgba(176,134,0,0.3); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* WHAT WE DO */
.what-we-do { background: var(--white); }
.wwd-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: var(--border);
  border: 1px solid var(--border); margin-top: 3.5rem; border-radius: 4px; overflow: hidden;
}
.wwd-card {
  background: var(--white); padding: 2.8rem 2.2rem;
  cursor: pointer; transition: background 0.2s;
  display: flex; flex-direction: column; gap: 1rem;
  aspect-ratio: auto;
}
.wwd-card:hover { background: #FFFFF8; }
.wwd-card-tag {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
}
.wwd-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  font-weight: 700; color: var(--charcoal); line-height: 1.25;
}
.wwd-card p { font-size: 0.85rem; color: var(--mid); line-height: 1.75; }
.wwd-card-link {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: auto;
}

/* HOME ABOUT */
.home-about { background: var(--charcoal); }
.home-about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.home-about .section-title { color: var(--white); }
.home-about .section-title em { color: var(--gold); }
.about-right { display: flex; flex-direction: column; gap: 2rem; }
.about-pillar {
  padding-left: 1.5rem;
  border-left: 2px solid rgba(176,134,0,0.3);
}
.about-pillar h4 {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem;
}
.about-pillar p { font-size: 0.88rem; color: rgba(250,250,248,0.55); line-height: 1.75; }

/* SECTORS */
.home-sectors { background: var(--light); }
.sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 3rem;
}
.sector-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.sector-icon { font-size: 1.5rem; }
.sector-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; }
.sector-card p { font-size: 0.78rem; color: var(--mid); line-height: 1.65; }

/* PROCESS */
.home-process { background: var(--white); }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 3.5rem; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.process-step { padding: 0 1.5rem; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 0.75rem;
  color: var(--gold); margin: 0 auto 1.4rem; position: relative; z-index: 1;
}
.process-step h4 {
  font-family: 'Playfair Display', serif; font-size: 0.95rem;
  font-weight: 700; margin-bottom: 0.5rem;
}
.process-step p { font-size: 0.78rem; color: var(--mid); line-height: 1.65; }

/* HOME INSIGHTS PREVIEW */
.home-insights-preview { background: var(--light); }
.insights-preview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.insight-preview-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; padding: 2rem; display: flex; flex-direction: column; gap: 0.8rem;
  transition: border-color 0.2s;
}
.insight-preview-card:hover { border-color: var(--gold); }
.insight-tag {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
}
.insight-preview-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 700; line-height: 1.3; color: var(--charcoal);
}
.insight-preview-card p { font-size: 0.82rem; color: var(--mid); line-height: 1.7; flex: 1; }
.insight-read-link {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: auto;
}
.insight-read-link:hover { color: var(--gold-light); }

/* HOME CTA STRIP */
.home-cta-strip {
  background: var(--gold); padding: 70px 5%;
}
.cta-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700; color: var(--charcoal); line-height: 1.2;
}
.btn-dark {
  background: var(--charcoal); color: var(--white);
  padding: 14px 32px; border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: background 0.2s;
  display: inline-block; white-space: nowrap;
}
.btn-dark:hover { background: var(--slate); color: var(--white); }

/* ══════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════ */
.services-hero { background: var(--charcoal); padding: 100px 5% 80px; }
.services-hero .ambit-section-inner { max-width: 1280px; }
.svc-featured {
  background: var(--white);
  border: 1px solid var(--border); border-radius: 4px; margin-top: 3.5rem;
}
.svc-featured-grid { display: grid; grid-template-columns: 1fr 1fr; }
.svc-featured-left {
  padding: 3rem; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.svc-featured-right { padding: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.svc-featured-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase;
}
.svc-featured-left h2 {
  font-family: 'Playfair Display', serif; font-size: 1.9rem;
  font-weight: 700; line-height: 1.2;
}
.svc-featured-left p { font-size: 0.9rem; color: var(--mid); line-height: 1.8; }
.svc-detail-item { display: flex; gap: 1rem; }
.svc-detail-num {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  color: var(--gold); padding-top: 2px; flex-shrink: 0;
}
.svc-detail-item h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.3rem; }
.svc-detail-item p { font-size: 0.82rem; color: var(--mid); line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; padding: 2.2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.service-card-tag {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
}
.service-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.25rem;
  font-weight: 700; color: var(--charcoal);
}
.service-card p { font-size: 0.85rem; color: var(--mid); line-height: 1.75; }

/* ══════════════════════════════════════
   AMBIT INSIGHTS (BLOG)
══════════════════════════════════════ */
.insights-hero { background: var(--charcoal); padding: 100px 5% 80px; }
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.insight-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.2s;
}
.insight-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.insight-card-thumb {
  height: 180px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.insight-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-card-thumb .thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
  display: flex; align-items: center; justify-content: center;
}
.insight-card-thumb .thumb-placeholder span {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  color: rgba(176,134,0,0.4); font-weight: 700;
}
.insight-card-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.insight-card-meta {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase;
}
.insight-card-body h3 {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 700; line-height: 1.3; color: var(--charcoal);
}
.insight-card-body p { font-size: 0.82rem; color: var(--mid); line-height: 1.7; flex: 1; }
.insight-card-body a.read-more {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: auto; display: inline-block;
}
.insight-card-body a.read-more:hover { color: var(--gold-light); }

/* SINGLE POST */
.single-post-hero { background: var(--charcoal); padding: 90px 5% 70px; }
.single-post-content { padding: 70px 5%; }
.single-post-inner { max-width: 780px; margin: 0 auto; }
.single-post-inner .entry-content h2,
.single-post-inner .post-body h2 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  font-weight: 700; margin: 2.5rem 0 1rem; color: var(--charcoal);
}
.single-post-inner .entry-content h3,
.single-post-inner .post-body h3 {
  font-family: 'Playfair Display', serif; font-size: 1.25rem;
  font-weight: 700; margin: 2rem 0 0.8rem; color: var(--charcoal);
}
.single-post-inner .entry-content p,
.single-post-inner .post-body p {
  font-size: 1rem; line-height: 1.85; color: var(--slate);
  margin-bottom: 1.5rem;
}
.single-post-inner .entry-content strong { color: var(--charcoal); }
.single-post-inner .entry-content blockquote {
  border-left: 3px solid var(--gold); padding: 1rem 1.5rem;
  background: var(--gold-pale); margin: 2rem 0; border-radius: 0 3px 3px 0;
}
.post-meta-bar {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.post-meta-bar span {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.15em; color: var(--mid); text-transform: uppercase;
}
.post-meta-bar .post-category { color: var(--gold); }
.back-to-insights {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.back-to-insights:hover { color: var(--gold-light); }

/* Newsletter strip on Insights page */
.insights-newsletter { background: var(--charcoal); padding: 70px 5%; }
.newsletter-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.newsletter-inner h3 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  font-weight: 700; color: var(--white); line-height: 1.25;
}
.newsletter-inner p { font-size: 0.85rem; color: rgba(250,250,248,0.5); margin-top: 0.4rem; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  background: rgba(250,250,248,0.07); border: 1px solid rgba(250,250,248,0.15);
  color: var(--white); padding: 11px 18px; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  width: 280px; outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: rgba(250,250,248,0.3); }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-hero { background: var(--charcoal); padding: 100px 5% 80px; }
.contact-section { background: var(--light); padding: 80px 5%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 {
  font-family: 'Playfair Display', serif; font-size: 1.8rem;
  font-weight: 700; margin-bottom: 1rem;
}
.contact-info p { font-size: 0.97rem; color: var(--mid); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem;
}
.contact-icon { font-size: 1.2rem; }
.contact-item strong {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 2px;
}
.contact-item span { font-size: 0.95rem; color: var(--charcoal); }
.contact-tagline {
  background: var(--charcoal); border-radius: 4px; padding: 1.8rem; margin-top: 2rem;
}
.contact-tagline-label {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.8rem;
}
.contact-tagline p { font-size: 0.83rem; color: rgba(250,250,248,0.65); line-height: 1.75; }

/* Contact form wrapper */
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 2.5rem;
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 700; margin-bottom: 1.8rem;
}

/* ── CONTACT FORM 7 OVERRIDES ── */
.wpcf7-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
.wpcf7-form .form-group,
.wpcf7 p { margin-bottom: 1rem; }
.wpcf7 label {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid #D8D8D4; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--charcoal); background: var(--white);
  transition: border-color 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--gold); }
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--gold); color: var(--charcoal);
  padding: 14px 30px; border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; width: 100%; transition: background 0.2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--gold-light); }
.wpcf7-response-output {
  margin-top: 1rem; padding: 0.8rem 1rem;
  border-radius: 3px; font-size: 0.85rem;
}
.wpcf7-mail-sent-ok { border-color: #4CAF50 !important; color: #2E7D32; background: #F1F8E9; }
.wpcf7-validation-errors { border-color: var(--gold) !important; color: #7A5C00; background: var(--gold-pale); }

/* ── FOOTER ── */
#ambit-footer { background: #111; padding: 55px 5% 28px; border-top: 1px solid rgba(176,134,0,0.18); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem; max-width: 1280px; margin: 0 auto;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1.8rem;
}
.footer-brand p { font-size: 0.8rem; color: rgba(250,250,248,0.4); line-height: 1.75; margin-top: 0.9rem; max-width: 270px; }
.footer-col h5 {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.1rem; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  color: rgba(250,250,248,0.45); text-decoration: none;
  font-size: 0.8rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.73rem; color: rgba(250,250,248,0.28); }
.footer-tagline {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  color: rgba(176,134,0,0.55); letter-spacing: 0.15em; text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .home-about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .wwd-grid { grid-template-columns: 1fr; }
  .svc-featured-grid { grid-template-columns: 1fr; }
  .svc-featured-left { border-right: none; border-bottom: 1px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: 1fr 1fr 1fr; }
  .process-steps::before { display: none; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ambit-nav-links { display: none; }
  .ambit-hamburger { display: flex; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input[type="email"] { width: 100%; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   SOCIAL MEDIA ICONS
══════════════════════════════════════ */

/* Footer brand column — larger icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid rgba(176,134,0,0.25);
  color: rgba(250,250,248,0.45);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(176,134,0,0.08);
}

/* Footer bottom bar — smaller icons */
.footer-bottom-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.social-icon-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  color: rgba(250,250,248,0.28);
  text-decoration: none;
  transition: color 0.2s;
  flex-shrink: 0;
}

.social-icon-sm svg {
  width: 13px;
  height: 13px;
  display: block;
}

.social-icon-sm:hover {
  color: rgba(176,134,0,0.7);
}

/* Adjust footer-bottom layout to accommodate social icons */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-social { gap: 0.6rem; }
}
