/* =================================================================
   Faraday Search — Executive Search & Recruitment
   Semiconductor & Electronics Manufacturing | Asia Pacific
   Brand: Bold & Trustworthy  |  Primary: Old Brick #991A1D
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brick:        #991A1D;
  --brick-dark:   #6E1214;
  --brick-light:  #C0292D;
  --brick-glow:   rgba(153, 26, 29, 0.35);

  /* Neutrals (from palette) */
  --white:   #ffffff;
  --n-50:    #f4f4f3;
  --n-100:   #eeeeee;
  --n-200:   #d5d5d5;
  --n-400:   #9a9a9a;
  --n-600:   #58564f;
  --n-800:   #2a2722;
  --n-900:   #1a1814;
  --ink:     #11100b;

  /* Semantic */
  --bg:        #ffffff;
  --bg-alt:    #f4f4f3;
  --bg-dark:   #14130f;
  --text:      #1f1d18;
  --text-soft: #58564f;
  --text-inv:  #f4f4f3;
  --border:    #e3e2df;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(17,16,11,0.06);
  --shadow:    0 16px 40px rgba(17,16,11,0.12);
  --shadow-lg: 0 30px 70px rgba(17,16,11,0.18);
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--dark { background: var(--bg-dark); color: var(--text-inv); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brick); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--brick-light); }
.section--dark .eyebrow::before { background: var(--brick-light); }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section-head p { font-size: 1.12rem; color: var(--text-soft); }
.section--dark .section-head p { color: var(--n-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.97rem;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--brick); color: #fff; box-shadow: 0 10px 26px var(--brick-glow); }
.btn-primary:hover { background: var(--brick-dark); transform: translateY(-3px); box-shadow: 0 16px 34px var(--brick-glow); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.3); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-3px); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(17,16,11,.06);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.scrolled .brand img { height: 38px; }

/* logo readability when over hero — original colored logo on a frosted-glass pill */
.site-header:not(.scrolled) .brand {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  color: var(--ink); position: relative; padding: 4px 0;
  transition: color .25s;
}
.site-header:not(.scrolled) .nav-links a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--brick-light); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brick); }
.site-header:not(.scrolled) .nav-links a.active { color: #fff; }

.nav-cta { padding: 11px 22px; }
.site-header:not(.scrolled) .nav-cta { box-shadow: 0 10px 26px rgba(0,0,0,.3); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.menu-toggle span {
  width: 26px; height: 2.5px; background: var(--ink); border-radius: 3px;
  transition: transform .3s var(--ease), opacity .3s;
}
.site-header:not(.scrolled) .menu-toggle span { background: #fff; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 140px 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(17,16,11,.92) 0%, rgba(20,19,15,.72) 42%, rgba(20,19,15,.25) 100%),
    linear-gradient(0deg, rgba(110,18,20,.35), rgba(110,18,20,0) 45%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: 8px 16px 8px 12px; border-radius: 100px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brick-light); box-shadow: 0 0 0 4px var(--brick-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 var(--brick-glow);} 50%{ box-shadow: 0 0 0 7px rgba(192,41,45,0);} }

.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 3.5rem); margin-bottom: 24px; }
.hero h1 .accent { color: var(--brick-light); position: relative; white-space: nowrap; }
.hero p.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 2;
  margin-top: 60px; display: flex; flex-wrap: wrap; gap: 14px 48px;
  padding-top: 34px; border-top: 1px solid rgba(255,255,255,.18); max-width: 720px;
}
.hero-stats .stat strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 2.1rem; color: #fff; line-height: 1;
}
.hero-stats .stat span { font-size: .86rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:3px; height:7px; background:#fff; border-radius:3px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0%{opacity:0; transform:translate(-50%,0);} 40%{opacity:1;} 80%,100%{opacity:0; transform:translate(-50%,12px);} }

/* =================================================================
   LOGO / CLIENTS STRIP
   ================================================================= */
.trust { padding: 38px 0; border-bottom: 1px solid var(--border); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.trust-label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-logos span {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em;
  color: var(--n-400); transition: color .3s;
}
.trust-logos span:hover { color: var(--brick); }

/* =================================================================
   FEATURE / SPLIT BLOCKS
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.split-media .badge {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; gap: 14px; align-items: center;
}
.split-media .badge.br { bottom: -24px; right: -16px; }
.split-media .badge.tl { top: -22px; left: -18px; }
.badge .badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brick); display: grid; place-items: center; flex: none; }
.badge .badge-ico svg { width: 22px; height: 22px; stroke: #fff; }
.badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.badge span { font-size: .8rem; color: var(--text-soft); }

.split-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 20px; }
.split-body > p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 24px; }
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ico {
  flex: none; width: 24px; height: 24px; border-radius: 7px; margin-top: 2px;
  background: rgba(153,26,29,.1); display: grid; place-items: center;
}
.check-list .ico svg { width: 14px; height: 14px; stroke: var(--brick); }
.check-list b { font-family: var(--font-head); color: var(--ink); }
.check-list p { font-size: .96rem; color: var(--text-soft); margin: 2px 0 0; }

/* =================================================================
   INDUSTRIES (cards)
   ================================================================= */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.icard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow); transition: transform .4s var(--ease);
}
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.icard::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(17,16,11,.92) 0%, rgba(17,16,11,.35) 55%, rgba(17,16,11,0) 100%); }
.icard:hover { transform: translateY(-6px); }
.icard:hover img { transform: scale(1.06); }
.icard-body { position: relative; z-index: 2; padding: 32px; }
.icard .tag { display:inline-block; font-family: var(--font-head); font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color: var(--brick-light); margin-bottom: 12px; }
.icard h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.icard p { color: rgba(255,255,255,.82); font-size: .96rem; }

/* =================================================================
   ROLES / MANDATE GRID
   ================================================================= */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.section--dark .role { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.role:hover { transform: translateY(-5px); border-color: var(--brick); box-shadow: var(--shadow); }
.role .num { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--brick-light); margin-bottom: 14px; }
.role h4 { font-size: 1.18rem; margin-bottom: 6px; }
.section--dark .role h4 { color: #fff; }
.role p { font-size: .92rem; color: var(--text-soft); }
.section--dark .role p { color: var(--n-200); }

/* =================================================================
   WHY / VALUE GRID
   ================================================================= */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 30px;
  border: 1px solid var(--border); transition: transform .35s var(--ease), box-shadow .35s;
  position: relative; overflow: hidden;
}
.value::before { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background: var(--brick); transform: scaleX(0); transform-origin:left; transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value:hover::before { transform: scaleX(1); }
.value .v-ico { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brick), var(--brick-light)); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px var(--brick-glow); }
.value .v-ico svg { width: 28px; height: 28px; stroke: #fff; }
.value h3 { font-size: 1.3rem; margin-bottom: 12px; }
.value p { color: var(--text-soft); font-size: 1rem; }

/* =================================================================
   STATS BAND
   ================================================================= */
.statband { position: relative; overflow: hidden; }
.statband .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; position: relative; z-index: 2; }
.statband .stat strong { display:block; font-family: var(--font-head); font-weight:800; font-size: clamp(2.4rem,5vw,3.4rem); color:#fff; line-height:1; }
.statband .stat strong .plus { color: var(--brick-light); }
.statband .stat span { font-size:.95rem; color: rgba(255,255,255,.75); margin-top: 8px; display:block; }
.statband-deco { position:absolute; inset:0; z-index:1; opacity:.5; }

/* =================================================================
   PROCESS
   ================================================================= */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.pstep { position: relative; padding-top: 18px; }
.pstep .pnum {
  font-family: var(--font-head); font-weight:800; font-size: 1.05rem; color:#fff;
  width: 46px; height: 46px; border-radius: 50%; background: var(--brick);
  display:grid; place-items:center; margin-bottom: 20px; box-shadow: 0 8px 20px var(--brick-glow);
}
.pstep::before { content:""; position:absolute; top: 41px; left: 46px; right: -24px; height:2px; background: repeating-linear-gradient(90deg, var(--n-200) 0 6px, transparent 6px 12px); }
.pstep:last-child::before { display:none; }
.pstep h4 { font-size: 1.15rem; margin-bottom: 8px; }
.pstep p { font-size: .94rem; color: var(--text-soft); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem,4vw,2.9rem); margin-bottom: 18px; }
.contact-info > p { color: var(--n-200); font-size: 1.1rem; margin-bottom: 36px; }
.contact-list { display: grid; gap: 22px; }
.cline { display: flex; gap: 16px; align-items: flex-start; }
.cline .ci { flex:none; width:48px; height:48px; border-radius:13px; background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); display:grid; place-items:center; }
.cline .ci svg { width: 21px; height: 21px; stroke: var(--brick-light); }
.cline .ct span { display:block; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color: var(--n-400); margin-bottom: 3px; }
.cline .ct a, .cline .ct p { font-family: var(--font-head); font-weight:600; color:#fff; font-size: 1.05rem; }
.cline .ct a:hover { color: var(--brick-light); }

.form-card { background:#fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.form-card .sub { color: var(--text-soft); font-size: .96rem; margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; font-size:.86rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background:#fff;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--brick); box-shadow: 0 0 0 4px rgba(153,26,29,.1); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--text-soft); text-align: center; margin-top: 14px; }
.form-success {
  display:none; align-items:center; gap:12px; background: rgba(40,160,80,.1); border:1px solid rgba(40,160,80,.3);
  color:#1d7a3e; padding:14px 18px; border-radius:12px; font-weight:600; font-size:.95rem; margin-bottom: 20px;
}
.form-success.show { display:flex; }

/* =================================================================
   CTA BAND
   ================================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: 0; }
.cta-band .panel {
  position: relative; z-index:2; background: linear-gradient(120deg, var(--brick-dark), var(--brick));
  border-radius: var(--radius-lg); padding: 64px; text-align:center; overflow:hidden; box-shadow: var(--shadow-lg);
}
.cta-band .panel::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.14), transparent 45%); }
.cta-band h2 { color:#fff; font-size: clamp(2rem,4.5vw,3.2rem); margin-bottom: 16px; position:relative; z-index:2; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 600px; margin: 0 auto 32px; position:relative; z-index:2; }
.cta-band .hero-actions { justify-content:center; position:relative; z-index:2; }

/* =================================================================
   PAGE HERO (About)
   ================================================================= */
.page-hero { position: relative; padding: 180px 0 90px; color:#fff; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; z-index:0; }
.page-hero-bg img { width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.page-hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(110deg, rgba(17,16,11,.94) 0%, rgba(20,19,15,.78) 45%, rgba(110,18,20,.45) 100%); }
.page-hero .wrap { position:relative; z-index:2; }
.page-hero .crumb { font-family: var(--font-head); font-size:.85rem; font-weight:600; letter-spacing:.04em; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--brick-light); }
.page-hero h1 { color:#fff; font-size: clamp(2.4rem,5.5vw,4rem); margin-bottom: 18px; max-width: 760px; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 620px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: var(--n-200); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity:.95; }
.footer-brand p { font-size:.95rem; color: var(--n-400); max-width: 280px; }
.footer-col h5 { font-family: var(--font-head); font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; color:#fff; margin-bottom: 18px; }
.footer-col a, .footer-col p { display:block; font-size:.95rem; color: var(--n-400); margin-bottom: 11px; transition: color .25s; }
.footer-col a:hover { color: var(--brick-light); }
.foot-social { display:flex; gap:12px; margin-top: 6px; }
.foot-social a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.06); display:grid; place-items:center; margin:0; transition: background .3s, transform .3s; }
.foot-social a:hover { background: var(--brick); transform: translateY(-3px); }
.foot-social svg { width:18px; height:18px; fill: var(--n-200); }
.foot-social a:hover svg { fill:#fff; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding: 24px 0; font-size:.85rem; color: var(--n-400); }
.footer-bottom a:hover { color:#fff; }

/* =================================================================
   DECORATIVE — orbital / circuit motif (echoes logo)
   ================================================================= */
.deco-orbital { position:absolute; pointer-events:none; opacity:.07; z-index:0; }
.deco-orbital.tr { top: -60px; right: -60px; width: 320px; color: var(--brick); }
.section--dark .deco-orbital { opacity:.12; color: var(--brick-light); }

/* circuit-board / microchip corporate graphics */
.section > .wrap, .site-footer > .wrap { position: relative; z-index: 1; }
.deco-circuit, .deco-chip { position:absolute; pointer-events:none; z-index:0; color: var(--brick); opacity:.06; }
.section--dark .deco-circuit, .section--dark .deco-chip { color: var(--brick-light); opacity:.12; }
.deco-circuit.tr { top:-26px; right:-26px; width:300px; }
.deco-circuit.bl { bottom:-26px; left:-26px; width:300px; }
.deco-circuit.br { bottom:-26px; right:-26px; width:300px; }
.deco-chip.tl { top:30px; left:-18px; width:150px; }
.deco-chip.br { bottom:24px; right:-12px; width:150px; }
.deco-chip.tr { top:24px; right:-12px; width:150px; }

/* footer PCB texture + warm glow */
.site-footer { position: relative; overflow: hidden; }
.footer-circuit { position:absolute; inset:0; width:100%; height:100%; z-index:0; color: var(--brick-light); opacity:.14; pointer-events:none; }
.footer-glow { position:absolute; left:50%; bottom:-30%; transform:translateX(-50%); width:90%; height:70%; z-index:0; pointer-events:none;
  background: radial-gradient(ellipse at center, rgba(192,41,45,.28), transparent 62%); }

/* =================================================================
   SCROLL REVEAL
   ================================================================= */
.reveal { opacity:0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; } .reveal.d2 { transition-delay:.16s; }
.reveal.d3 { transition-delay:.24s; } .reveal.d4 { transition-delay:.32s; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .roles, .values, .process, .statband .grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pstep::before { display:none; }
}

/* Navigation collapses to the hamburger drawer below 900px (tablets + narrow windows) */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 96px 28px 32px; gap: 0; box-shadow: -20px 0 60px rgba(0,0,0,.18);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 1050;
  }
  .nav.open { transform: none; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 1.1rem; color: var(--ink) !important; text-shadow:none !important; }
  .nav-links a::after { display:none; }
  .nav-cta { display: inline-flex !important; margin-top: 22px; justify-content:center; }
  .nav-backdrop { position: fixed; inset:0; background: rgba(17,16,11,.5); opacity:0; visibility:hidden; transition: opacity .4s; z-index:1040; }
  .nav-backdrop.show { opacity:1; visibility:visible; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }

  .cards, .roles, .values, .process, .statband .grid, .footer-top, .frow { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-stats { gap: 18px 32px; }
  .hero-stats .stat strong { font-size: 1.7rem; }
  .scroll-cue { display:none; }
  .split-media .badge.br { right: 12px; bottom: -18px; }
  .split-media .badge.tl { left: 10px; }
  .form-card, .cta-band .panel { padding: 30px 24px; }
  .trust-inner { justify-content: center; text-align:center; }
  .footer-bottom { justify-content:center; text-align:center; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

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

/* ---- WordPress menu integration: mirror .active onto current menu item ---- */
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--brick); }
.site-header:not(.scrolled) .nav-links li.current-menu-item > a,
.site-header:not(.scrolled) .nav-links li.current_page_item > a { color: #fff; }
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after { width: 100%; }
.nav-links li { list-style: none; }
/* WP image fields output via wp-caption etc. — keep frames clean */
.split-media .frame img,
.icard img { display:block; }

/* =================================================================
   FLUENT FORMS — restyle to match the design (scoped to .form-card)
   ================================================================= */
.form-card .fluent_form_wrapper,
.form-card .frm-fluent-form { width: 100%; }

/* field groups */
.form-card .ff-el-group { margin-bottom: 18px; }
.form-card .ff-el-group:last-child { margin-bottom: 0; }

/* labels */
.form-card .ff-el-input--label label,
.form-card label.ff-el-input--label {
  font-family: var(--font-head) !important;
  font-weight: 600 !important;
  font-size: .86rem !important;
  color: var(--ink) !important;
  margin-bottom: 7px !important;
  line-height: 1.3;
}
.form-card .ff-el-is-required-asterisk,
.form-card .ff-el-input--label .text-danger,
.form-card .ff-el-is-required.asterisk-right label:after,
.form-card .ff-el-is-required.asterisk-left label:before { color: var(--brick) !important; }

/* inputs, selects, textareas */
.form-card .ff-el-form-control,
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="url"],
.form-card input[type="number"],
.form-card select,
.form-card textarea {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  font-family: var(--font-body) !important;
  font-size: .98rem !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .25s, box-shadow .25s !important;
  height: auto !important;
}
.form-card textarea { min-height: 120px !important; resize: vertical !important; }
.form-card .ff-el-form-control:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none !important;
  border-color: var(--brick) !important;
  box-shadow: 0 0 0 4px rgba(153,26,29,.10) !important;
}
.form-card .ff-el-form-control::placeholder,
.form-card textarea::placeholder { color: var(--n-400); opacity: 1; }

/* submit button — full-width brick pill */
.form-card .ff-el-group.ff-text-left,
.form-card .ff_submit_btn_wrapper { text-align: left; }
.form-card .ff-btn,
.form-card .ff-btn-submit,
.form-card button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  background: var(--brick) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: .97rem !important;
  text-transform: none !important;
  padding: 15px 28px !important;
  border-radius: 100px !important;
  box-shadow: 0 10px 26px var(--brick-glow) !important;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s !important;
  cursor: pointer;
}
.form-card .ff-btn:hover,
.form-card .ff-btn-submit:hover,
.form-card button[type="submit"]:hover {
  background: var(--brick-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px var(--brick-glow) !important;
}

/* success / error messages */
.form-card .ff-message-success {
  background: rgba(40,160,80,.10) !important;
  border: 1px solid rgba(40,160,80,.30) !important;
  color: #1d7a3e !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-weight: 600;
}
.form-card .ff-el-is-error .ff-el-form-control { border-color: var(--brick-light) !important; }
.form-card .error.text-danger, .form-card .ff-el-form-check-label + .text-danger { color: var(--brick) !important; font-size: .82rem; }

/* tidy spacing inside Fluent's column grid (e.g. first/last name row) */
.form-card .ff-el-group .ff-t-container { gap: 16px; }

/* ---- Footer columns driven by WP menus ---- */
.footer-col ul.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-col ul.footer-menu li { margin: 0; padding: 0; list-style: none; }
.footer-col ul.footer-menu a { display: block; font-size: .95rem; color: var(--n-400); margin-bottom: 11px; transition: color .25s; }
.footer-col ul.footer-menu a:hover { color: var(--brick-light); }
