/* =========================================================
   RA — Executive Search
   Slalom-inspired template: navy/white corporate shell,
   full-bleed photography, oversized headlines, card grids.
   ========================================================= */

:root{
  --navy: #0B1F3A;
  --navy-2: #13284d;
  --navy-3: #1c3766;
  --ink: #10131a;
  --muted: #5b6472;
  --paper: #ffffff;
  --paper-soft: #F5F6F9;
  --line: #E4E6EB;
  --accent: #FDDC57;
  --accent-ink: #1c1c1c;
  --shadow: 0 20px 48px rgba(11, 31, 58, 0.12);
  --radius: 14px;
  --container: 1180px;
  font-size: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1, h2, h3, h4{ line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad{ padding: clamp(64px, 9vw, 128px) 0; }

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover{ box-shadow: 0 10px 24px rgba(253,220,87,.45); }
.btn-outline-light{ border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover{ background: rgba(255,255,255,.12); }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--line); }
.btn-small{ padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 10px 0;
}
.site-header.scrolled{
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 24px rgba(11,31,58,.08);
  backdrop-filter: blur(8px);
}
.nav{
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo{ display: flex; align-items: center; gap: 10px; }
.nav-logo img{ height: 34px; width: auto; filter: none; }
.nav-logo-mark{ height: 26px !important; }
.site-header:not(.scrolled) .nav-logo img{ filter: brightness(0) invert(1); }
.site-header:not(.scrolled) .nav-logo-mark{ filter: none !important; }
.nav-links{
  list-style: none; display: flex; gap: 28px; margin: 0 auto 0 40px; padding: 0;
}
.nav-links a{
  text-decoration: none; font-weight: 600; font-size: .95rem;
  color: #fff; transition: color .2s ease;
}
.site-header.scrolled .nav-links a{ color: var(--navy); }
.nav-links a:hover{ color: var(--accent); }
.nav-cta{ margin-left: auto; }
.site-header:not(.scrolled) .nav-cta .btn-primary{ box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.nav-toggle{
  display: none; background: none; border: 0; width: 40px; height: 40px;
  margin-left: 12px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px;
  background: #fff; transition: transform .2s ease;
}
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after{ background: var(--navy); }
.nav-toggle span{ top: 19px; }
.nav-toggle span::before{ top: -7px; }
.nav-toggle span::after{ top: 7px; }

.nav-mobile{
  display: none; flex-direction: column; gap: 4px; background: var(--navy);
  padding: 16px 24px 24px; position: fixed; top: 56px; left: 0; right: 0; z-index: 199;
}
.nav-mobile.open{ display: flex; }
.nav-mobile a{
  color: #fff; text-decoration: none; padding: 12px 0; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-mobile .btn{ margin-top: 12px; align-self: flex-start; }

@media (max-width: 900px){
  .nav-links{ display: none; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: block; margin-left: auto; }
}

/* ---------- Hero (slideshow) ---------- */
.hero{
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-slides{ position: absolute; inset: 0; z-index: 0; }
.hero-slide{
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.active{ opacity: 1; }
.hero-slide img{
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-kenburns 9s ease-out forwards;
}
@keyframes hero-kenburns{
  from{ transform: scale(1.08); }
  to{ transform: scale(1); }
}
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(11,31,58,.92) 10%, rgba(11,31,58,.72) 45%, rgba(11,31,58,.45) 100%);
}
.hero-inner{ position: relative; z-index: 1; max-width: 760px; padding-top: 120px; padding-bottom: 80px; }
.hero-text{
  display: none; opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.hero-text.active{ display: block; opacity: 1; transform: translateY(0); }
.eyebrow{
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700;
  color: var(--accent); margin-bottom: 18px;
}
.hero h1{ font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: .4em; }
.hero-sub{ font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-dots{
  position: absolute; z-index: 1; right: 32px; bottom: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-dot{
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  background: transparent; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.hero-dot.active{ background: var(--accent); border-color: var(--accent); transform: scale(1.15); }

.scroll-cue{
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 30px; height: 46px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span{
  width: 4px; height: 10px; background: #fff; border-radius: 2px;
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(12px); opacity: 0; }
  100%{ opacity: 0; }
}

/* ---------- Reveal animations ---------- */
.reveal{ opacity: 0; transform: translateY(18px); animation: reveal-in .7s ease forwards; }
.reveal-1{ animation-delay: .05s; }
.reveal-2{ animation-delay: .15s; }
.reveal-3{ animation-delay: .28s; }
.reveal-4{ animation-delay: .4s; }
@keyframes reveal-in{ to{ opacity: 1; transform: translateY(0); } }

.reveal-on-scroll{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on-scroll.in-view{ opacity: 1; transform: translateY(0); }

/* ---------- Mission strip ---------- */
.mission{ background: var(--paper-soft); text-align: center; }
.mission-inner{ max-width: 820px; }
.mission-statement{
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--navy);
  letter-spacing: -.01em; margin-bottom: .6em;
}
.mission-sub{ font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Stats strip ---------- */
.stats{ background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 44px 24px;
}
.stat{
  text-align: center; padding: 0 20px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:first-child{ border-left: 0; }
.stat-num{
  font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; color: #415c89;
  letter-spacing: -.01em;
}
.stat-label{ font-size: .9rem; color: var(--muted); }

@media (max-width: 720px){
  .stats-grid{ grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:nth-child(3){ border-left: 0; }
}
@media (max-width: 460px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stat{ border-left: 0; }
}

/* ---------- Feature rows ---------- */
.section-kicker{
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 40px;
}
.feature-row{
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 88px;
}
.feature-row:last-child{ margin-bottom: 0; }
.feature-row.reverse{ direction: rtl; }
.feature-row.reverse > *{ direction: ltr; }
.feature-copy h3{ font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-copy p{ color: var(--muted); font-size: 1.05rem; max-width: 480px; }
.feature-link{
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--navy); text-decoration: none; margin-top: 8px;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.feature-link span{ transition: transform .2s ease; }
.feature-link:hover span{ transform: translateX(4px); }
.feature-media{ margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-media img{ width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }

@media (max-width: 860px){
  .feature-row, .feature-row.reverse{ grid-template-columns: 1fr; direction: ltr; }
  .feature-media{ order: -1; }
}

/* ---------- Founder spotlight ---------- */
.founder{ background: #415c89; color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.founder-inner{ max-width: 820px; margin: 0 auto; padding: 0 24px; text-align: center; position: relative; }
.quote-mark{
  font-size: 5rem; line-height: 1; color: var(--accent); font-weight: 800;
  display: block; margin-bottom: 8px; font-family: Georgia, serif;
}
.founder blockquote{ margin: 0; }
.founder blockquote p{ font-size: 1.3rem; font-weight: 500; color: rgba(255,255,255,.94); }
.founder-byline{
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 32px;
}
.founder-photo{
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent);
}
.founder-byline span{ text-align: left; display: flex; flex-direction: column; }
.founder-byline a{ font-weight: 700; text-decoration: none; color: #fff; }
.founder-byline a:hover{ color: var(--accent); }
.founder-byline small{ color: rgba(255,255,255,.65); }

/* ---------- Services grid ---------- */
.services{ background: var(--paper-soft); }
.services-head{ max-width: 640px; margin-bottom: 48px; }
.services-head p{ color: var(--muted); font-size: 1.05rem; }
.services-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.service-card{
  position: relative; border: 0; padding: 0; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--navy);
  box-shadow: var(--shadow); text-align: left;
}
.service-card img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover img{ transform: scale(1.06); }
.service-card-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.35) 55%, rgba(11,31,58,.05) 100%);
}
.service-card-label{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff;
}
.service-card-label h3{ font-size: 1.3rem; margin: 0 0 8px; }
.service-hint{
  font-size: .85rem; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}

@media (max-width: 720px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* ---------- Process (How we work) ---------- */
.process{ background: var(--paper); }
.process-head{
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  flex-wrap: wrap; margin-bottom: 56px;
}
.eyebrow-label{
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--navy); margin: 0 0 14px;
}
.process-head h2{ max-width: 520px; margin: 0; }
.process-intro{ color: var(--muted); max-width: 320px; margin: 0; }
.process-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step{ padding: 32px 28px; border-left: 1px solid var(--line); }
.process-step:first-child{ border-left: 0; padding-left: 0; }
.process-num{ display: block; color: var(--navy); font-weight: 700; margin-bottom: 16px; }
.process-step h3{ font-size: 1.1rem; margin-bottom: 10px; }
.process-step p{ color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 860px){
  .process-grid{ grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3){ border-left: 0; padding-left: 0; }
}
@media (max-width: 560px){
  .process-grid{ grid-template-columns: 1fr; }
  .process-step{ border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .process-step:first-child{ border-top: 0; }
}

/* ---------- CTA banner ---------- */
.cta-banner{ background: #415c89; color: #fff; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta-inner h2{ font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .3em; }
.cta-inner p{ color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact{ background: var(--paper); }
.contact-wrap{
  background: var(--paper-soft); border-radius: 20px; padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.contact-grid{ display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-intro h2{ font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-intro p{ color: var(--muted); }
.contact-details{ margin: 24px 0; }
.contact-details dt{ font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 14px; }
.contact-details dd{ margin: 2px 0 0; }
.contact-details a{ text-decoration: none; color: var(--navy); font-weight: 600; }
.contact-details a:hover{ text-decoration: underline; }
.social-row{ display: flex; gap: 12px; margin-top: 12px; }
.social-row a{
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.social-row svg{ width: 18px; height: 18px; fill: currentColor; }

.path-tabs{ display: flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; margin-bottom: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.path-tab{
  flex: 1; border: 0; background: transparent; padding: 12px 16px; border-radius: 999px;
  font-weight: 700; cursor: pointer; color: var(--muted); transition: background .2s ease, color .2s ease;
}
.path-tab[aria-selected="true"]{ background: #415c89; color: #fff; }
.path-panel{ display: none; }
.path-panel.active{ display: block; }
.panel-intro{ color: var(--muted); margin-bottom: 20px; }

.field{ margin-bottom: 18px; }
.field label{ display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea{
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  font: inherit; background: #fff; resize: vertical;
}
.field input:focus, .field textarea:focus{ outline: 2px solid var(--navy); outline-offset: 1px; }
.form-note{ font-size: .82rem; color: var(--muted); }
.form-status{ font-size: .9rem; color: var(--navy); font-weight: 600; min-height: 1.2em; }

@media (max-width: 780px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer{ background: #415c89; color: rgba(255,255,255,.85); padding: 64px 0 0; }
.footer-top{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img{ height: 30px; margin-bottom: 0; }
.footer-logo-mark{ height: 24px !important; }
.footer-tagline{ color: rgba(255,255,255,.65); max-width: 320px; }
.footer-social{ display: flex; gap: 12px; margin-top: 16px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg{ width: 16px; height: 16px; fill: currentColor; }
.footer-links-col h4{ color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a{ text-decoration: none; color: rgba(255,255,255,.75); }
.footer-links a:hover{ color: var(--accent); }
.footer-tagline-row{
  text-align: center; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: rgba(255,255,255,.5); padding: 24px 0;
}
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem;
}
.footer-legal{ display: flex; gap: 20px; }
.footer-legal button{
  background: none; border: 0; color: rgba(255,255,255,.75); cursor: pointer; font: inherit; padding: 0;
}
.footer-legal button:hover{ color: var(--accent); text-decoration: underline; }

@media (max-width: 780px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 500;
  background: var(--navy); color: #fff; border-radius: 16px; box-shadow: var(--shadow);
  transform: translateY(150%); transition: transform .3s ease;
  pointer-events: none;
}
.cookie-banner.visible{ transform: translateY(0); pointer-events: auto; }
.cookie-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px 28px; max-width: var(--container); margin: 0 auto;
}
.cookie-text{ margin: 0; flex: 1 1 320px; font-size: .92rem; color: rgba(255,255,255,.85); }
.inline-link-btn{
  background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline;
  cursor: pointer; font: inherit;
}
.cookie-actions{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Modals ---------- */
.modal-overlay{
  position: fixed; inset: 0; background: rgba(11,31,58,.55); z-index: 600;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open{ display: flex; }
.modal{
  background: #fff; border-radius: 18px; max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 36px; position: relative;
}
.modal-close{
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--paper-soft); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.modal h2{ font-size: 1.5rem; padding-right: 30px; }
.modal-sub{ color: var(--muted); }
.toggle-row{
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.toggle-row h3{ font-size: 1rem; margin-bottom: 4px; }
.toggle-row p{ color: var(--muted); font-size: .9rem; margin: 0; }
.switch{ position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input{ opacity: 0; width: 0; height: 0; }
.track{
  position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .2s ease;
}
.thumb{
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff;
  border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.switch input:checked + .track{ background: var(--navy); }
.switch input:checked + .track .thumb{ transform: translateX(18px); }
.modal-actions{ display: flex; gap: 12px; margin-top: 24px; }
.policy-body h3{ font-size: 1.05rem; margin-top: 20px; }
.policy-body p{ color: var(--muted); }
.policy-note{ font-size: .82rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 16px; }
.service-modal-body p{ color: var(--muted); font-size: 1.02rem; }
.service-modal-body a{ color: var(--navy); font-weight: 700; }
