/* ═══ THE REMOTE CONSULTANT — UNIFIED DESIGN SYSTEM ═══
   Brand: navy #1a2a6c · teal #2bc4ad · amber #f9a826 · off-white #f5fbf9
   Type: Montserrat (300/400/600/800) */

:root {
  --navy:  #1a2a6c;
  --teal:  #2bc4ad;
  --amber: #f9a826;
  --light: #f5fbf9;
  --ink:   #0f1a3a;
  --mid:   #4a5a7a;
  --rule:  #d0dde8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  background: var(--light);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

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

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ═══ EYEBROW SYSTEM (signature, carried from checklist) ═══ */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.6rem;
}
.section-rule { width: 48px; height: 3px; background: var(--amber); border: 0; margin: 1rem 0 0; }

/* ═══ NAVIGATION ═══ */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}
.nav-logo { font-weight: 800; font-size: 1.05rem; color: #fff; text-decoration: none; letter-spacing: 0.02em; }
.nav-logo span { color: var(--teal); }
.nav-links { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0; }
.nav-links li a {
  color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 600;
  padding: 0.45rem 0.7rem; border-radius: 3px; transition: background 0.15s;
}
.nav-links li a:hover { background: rgba(43,196,173,0.25); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }

@media (max-width: 840px) {
  .nav-links { display: none; flex-direction: column; width: 100%; background: var(--navy); padding: 0.5rem 0 1rem; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .nav-container { flex-wrap: wrap; }
}

/* ═══ HERO ═══ */
.hero {
  background: var(--navy);
  color: var(--light);
  padding: 4.5rem 1.5rem 4rem;
}
.hero-inner { max-width: 1060px; margin: 0 auto; display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lede { font-size: 1.02rem; font-weight: 300; max-width: 560px; margin: 0 0 1.8rem; color: #e6f2ef; }
.hero p.lede strong { font-weight: 600; color: #fff; }
.hero-photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--teal); flex-shrink: 0;
}
.hero-buttons { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffba45; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-solid { background: var(--navy); color: var(--light); }
.btn-solid:hover { background: var(--teal); color: var(--ink); }

/* ═══ SECTIONS ═══ */
section { padding: 4rem 1.5rem; }
section:nth-of-type(even) { background: #fff; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-header { border-left: 5px solid var(--teal); padding-left: 22px; margin-bottom: 2.2rem; }
section h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; color: var(--navy); margin: 0; line-height: 1.15; }
section h3 { font-weight: 700; color: var(--navy); }
.section-lede { max-width: 720px; color: var(--mid); margin: 1rem 0 0; }

/* ═══ CARDS / GRIDS ═══ */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--teal);
  border-radius: 4px;
  padding: 1.5rem 1.6rem;
}
section:nth-of-type(even) .card { background: var(--light); }
.card h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.card p { margin: 0 0 0.8rem; font-size: 0.93rem; color: var(--mid); }
.card .card-tag {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem;
}
.card a.card-link { color: var(--navy); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.card a.card-link:hover { color: var(--teal); }

/* Before / after cards in case study */
.card.before { border-top-color: #e05c5c; }
.card.after  { border-top-color: var(--teal); }
.card ul { margin: 0; padding-left: 1.1rem; }
.card ul li { font-size: 0.92rem; color: var(--mid); margin-bottom: 0.45rem; }

/* ═══ ABOUT ═══ */
.about-flex { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; }
.about-text { flex: 1 1 460px; }
.about-text p { margin: 0 0 1rem; }
.about-img { flex: 0 1 300px; }
.about-img img { width: 100%; border-radius: 4px; border: 1px solid var(--rule); }
.cred-strip { margin-top: 2rem; border-top: 1.5px solid var(--rule); padding-top: 1.4rem; }
.cred-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cred-strip li { font-size: 0.9rem; color: var(--mid); padding-left: 1.1rem; position: relative; }
.cred-strip li::before { content: '▸'; color: var(--amber); position: absolute; left: 0; }
.cred-strip li strong { color: var(--ink); }

/* ═══ SPEAKING ═══ */
.topics { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.topics li {
  background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--amber);
  border-radius: 3px; padding: 0.85rem 1.2rem; margin-bottom: 0.7rem; font-size: 0.95rem;
}
section:nth-of-type(even) .topics li { background: var(--light); }

/* ═══ YOUTUBE FACADE (click-to-load, no third-party request until click) ═══ */
.video-facade {
  position: relative; max-width: 680px; margin: 1.6rem auto 0;
  aspect-ratio: 16 / 9; background: var(--navy); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid var(--rule); text-align: center; padding: 1rem;
}
.video-facade .play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--ink); margin-bottom: 0.9rem;
}
.video-facade p { color: var(--light); font-size: 0.85rem; margin: 0; max-width: 420px; }
.video-facade p strong { color: var(--amber); }
.video-container { max-width: 680px; margin: 1.6rem auto 0; aspect-ratio: 16 / 9; }
.video-container iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }

/* ═══ CONTACT / FOOTER ═══ */
footer#contact {
  background: var(--navy); color: var(--light);
  padding: 4rem 1.5rem 2rem; text-align: center;
}
footer#contact h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; margin: 0 0 1rem; }
footer#contact .contact-lede { max-width: 620px; margin: 0 auto 1.8rem; color: #e6f2ef; font-weight: 300; }
.footer-social { margin: 1.8rem 0 0; }
.footer-social a { color: var(--light); text-decoration: none; margin: 0 0.7rem; font-size: 0.9rem; font-weight: 600; }
.footer-social a:hover { color: var(--teal); }
.footer-legal { margin-top: 2.2rem; font-size: 0.82rem; }
.footer-legal a { color: rgba(245,251,249,0.85); text-decoration: none; margin: 0 0.4rem; }
.footer-legal a:hover { color: var(--amber); }
.footer-copy { margin-top: 0.8rem; font-size: 0.8rem; color: rgba(245,251,249,0.6); }

/* ═══ COOKIE BANNER ═══ */
#cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: var(--light);
  padding: 1.1rem 1.5rem; z-index: 99999;
  font-size: 0.85rem; line-height: 1.6;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
#cookie-banner .cookie-inner { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
#cookie-banner p { flex: 1; min-width: 240px; margin: 0; }
#cookie-banner a { color: var(--teal); }
.cookie-btns { display: flex; gap: 0.7rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.5rem 1.2rem; border-radius: 3px; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600; transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-accept { background: var(--amber); color: var(--ink); }
.cookie-btn-reject { background: transparent; color: var(--light); border: 1.5px solid rgba(255,255,255,0.45); }

/* ═══ BACK TO TOP ═══ */
#back-to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 900;
  background: var(--teal); color: var(--ink); border: none; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.1rem; font-weight: 800; cursor: pointer;
  display: none; box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
#back-to-top.visible { display: block; }

@media (max-width: 700px) {
  .hero-inner { justify-content: center; text-align: left; }
  .hero-photo { width: 160px; height: 160px; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  section { padding: 3rem 1.2rem; }
}
