/* ============================================================
   NS COACH & CONSULTING — Global Stylesheet
   ============================================================
   New direction: "data-driven executive authority" — forked from the
   Dark Tech v1 technical foundation (token architecture, working
   mobile hamburger nav) but fully recolored and restructured for a
   solo executive-coaching/consulting practice rather than a B2B SaaS.

   Palette sourced from the client's real logo (sampled, not derived
   from a reference site — real brand assets override generated ones):
     black/charcoal  #0D0D0D
     oxblood red     #7A1B20
     antique gold    #B8864A
     warm off-white  #F6F2E9

   Typography: Fraunces (display/headings) + Inter (body) — chosen to
   sit in harmony with the logo's own bold serif/monogram lettering,
   a departure from Dark Tech v1's Inter-only sans system.

   Candidate for Template Library archival as a new direction
   ("executive-authority-v1") once this build passes QA.

   Sections in this file, in order:
   1. Tokens
   2. Base/reset
   3. Nav (incl. mobile hamburger menu + language toggle)
   4. Buttons
   5. Hero (image-based, static variant for inner pages)
   6. Light body sections (generic)
   7. Value / service cards
   8. Process cards
   9. Case-split (bio/story layout)
   10. Stat / proof cards
   11. Form panel section
   12. Footer
   13. Responsive
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --black: #0D0D0D;
  --black-soft: #171412;
  --oxblood: #7A1B20;
  --oxblood-2: #9C2A30;
  --gold: #B8864A;
  --gold-2: #D4AC78;

  --bg-light: #F6F2E9;
  --bg-panel: #FFFFFF;
  --text-dark: #1A1613;
  --text-muted: #5C5650;
  --line-light: rgba(26, 22, 19, 0.1);

  --radius: 18px;
  --max: 1180px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. BASE / RESET ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section { padding: 90px 0; position: relative; }

.section-label {
  color: var(--oxblood);
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  font-weight: 700;
}

.section-copy { color: var(--text-muted); font-size: 1.05rem; max-width: 68ch; }

.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head .section-copy { margin: 0 auto; }

/* ---------- 3. NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 134, 74, 0.18);
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo { height: 84px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 30px; color: #E9E2D6; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold-2); }
.nav-links a.active { color: var(--gold-2); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-cta { padding: 11px 22px; font-size: 0.9rem; white-space: nowrap; }

/* Language toggle */
.lang-toggle-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(184, 134, 74, 0.4);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.lang-toggle-btn:hover { background: rgba(184, 134, 74, 0.14); }

.mobile-menu .lang-toggle-btn { align-self: flex-start; margin-top: 6px; color: #E9E2D6; border-color: rgba(233,226,214,0.3); }

/* Mobile hamburger toggle — hidden on desktop, shown only under the breakpoint below.
   CASCADE-ORDER WARNING: this base rule must stay physically BEFORE the
   @media(max-width:900px) override later in this file. Same-specificity rules resolve
   by source order — if this ends up after the media query, the hamburger silently
   never appears at any screen size. (Recurring bug across this template library —
   see quiet-luxury-v1 and dark-tech-v1 READMEs.) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(233, 226, 214, 0.25);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #E9E2D6;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px 22px;
  background: rgba(13, 13, 13, 0.98);
  border-bottom: 1px solid rgba(184, 134, 74, 0.18);
}

.mobile-menu a {
  padding: 14px 6px;
  color: #E9E2D6;
  font-size: 1rem;
  border-bottom: 1px solid rgba(233, 226, 214, 0.08);
}

.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 10px; }

.mobile-menu.is-open { display: flex; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: 180ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--oxblood);
  color: #FBF6EE;
  box-shadow: 0 8px 24px rgba(122, 27, 32, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--oxblood-2); }

.btn-secondary { background: transparent; color: #E9E2D6; border-color: rgba(233, 226, 214, 0.3); }
.btn-secondary:hover { transform: translateY(-1px); border-color: var(--gold-2); color: var(--gold-2); }

.btn-light { background: var(--black); color: #FBF6EE; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(13,13,13,0.25); }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--black) center/cover no-repeat;
  overflow: hidden;
}

.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.5) 40%, rgba(13,13,13,0.88) 85%, var(--bg-light) 100%);
}

.hero-content { position: relative; z-index: 2; padding: 60px 0 140px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(184, 134, 74, 0.12);
  border: 1px solid rgba(184, 134, 74, 0.35);
  color: var(--gold-2);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero h1,
.hero-static h1 {
  margin: 0 auto 22px;
  max-width: 22ch;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #FBF6EE;
  font-weight: 600;
}

.hero h1 em,
.hero-static h1 em {
  font-style: italic;
  color: var(--gold-2);
}

.hero-what {
  max-width: 50ch;
  margin: 0 auto 20px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--gold-2);
  letter-spacing: -0.01em;
}

.hero-sub { max-width: 62ch; margin: 0 auto 34px; color: #CFC7B8; font-size: 1.08rem; }

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

/* Static hero variant for inner pages — image or gradient only, no video, shorter.
   display:flex + align-items:center added so content is deliberately vertically
   centered (previously fell wherever normal flow put it); padding:0 cancels the
   generic `section{padding:90px 0}` base rule, which was double-stacking with each
   page's own inline hero-content padding and pushing the box far taller than the
   56vh min-height implied. */
.hero-static {
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(720px 340px at 15% 0%, rgba(184,134,74,0.14), transparent 60%),
    radial-gradient(720px 340px at 85% 100%, rgba(122,27,32,0.18), transparent 60%),
    var(--black) center/cover no-repeat;
}

/* Strengthened to properly darken real photo backgrounds behind hero text
   (About/Services/Contact all place a real image here) — the original transparent-
   until-50% version was only safe for the gradient-only fallback with no photo. */
.hero-scrim-static {
  background: linear-gradient(180deg, rgba(13,13,13,0.68) 0%, rgba(13,13,13,0.58) 45%, rgba(13,13,13,0.85) 80%, var(--bg-light) 100%);
}

/* ---------- 6. LIGHT BODY / GENERIC PANELS ---------- */
.diagnosis-panel {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 40px;
  border-radius: 26px;
  background: var(--bg-panel);
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 60px rgba(26,22,19,0.06);
}

.diagnosis-panel p { font-size: 1.3rem; line-height: 1.5; color: var(--text-dark); margin: 0; font-weight: 500; font-family: var(--font-display); }
.diagnosis-panel p strong { color: var(--oxblood); }

/* ---------- 7. VALUE / SERVICE CARDS ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; margin-top: 10px; }

.service-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--line-light);
  box-shadow: 0 14px 40px rgba(26,22,19,0.05);
  text-align: left;
}

.service-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  object-fit: contain;
}

.service-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 8. PROCESS CARDS ---------- */
.process { counter-reset: item; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 10px; }

.process-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--bg-panel);
  border: 1px solid var(--line-light);
  box-shadow: 0 14px 40px rgba(26,22,19,0.05);
}

.process-card .num {
  counter-increment: item;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(184, 134, 74, 0.14);
  border: 1px solid rgba(184, 134, 74, 0.3);
  color: var(--oxblood);
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 18px;
}

.process-card .num::before { content: counter(item, decimal-leading-zero); }
.process-card h4 { margin: 0 0 10px; font-size: 1.15rem; }
.process-card p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- 9. CASE-SPLIT (bio / story layout, reused for About page) ---------- */
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-split.case-split--align-start { align-items: start; }
.case-split.reverse .case-visual { order: 2; }
.case-split.reverse .case-copy { order: 1; }

.case-visual { display: flex; align-items: center; justify-content: center; }

.case-visual img {
  width: 90%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(26,22,19,0.15);
  border: 1px solid var(--line-light);
}

.case-copy h2 { margin-bottom: 20px; }
.case-copy p { color: var(--text-muted); margin-bottom: 16px; }
.case-copy p:last-child { margin-bottom: 0; }

/* Credential chips (MBA, Wharton, etc.) */
.credential-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.credential-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(122, 27, 32, 0.07);
  border: 1px solid rgba(122, 27, 32, 0.18);
  color: var(--oxblood);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- 10. STAT / PROOF CARDS ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 10px; }

.stat-card {
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(184, 134, 74, 0.18);
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.stat-card .stat-label { color: #CFC7B8; font-size: 0.92rem; }

/* ---------- 11. FORM PANEL SECTION ---------- */
.eval-section { background: var(--black); color: #fff; }
.eval-section .section-label { color: var(--gold-2); }
.eval-section h2 { color: #fff; }
.eval-section .section-copy { color: #CFC7B8; }

.eval-points { display: grid; gap: 16px; }

.eval-point {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(233, 226, 214, 0.05);
  border: 1px solid rgba(233, 226, 214, 0.1);
}

.eval-point strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.eval-point span { color: #CFC7B8; font-size: 0.92rem; }

.form-panel {
  background: rgba(233, 226, 214, 0.05);
  border: 1px solid rgba(233, 226, 214, 0.14);
  border-radius: 22px;
  padding: 34px;
}

.form-panel label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: #E9E2D6; }

.form-panel input,
.form-panel textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(233, 226, 214, 0.16);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
}

.form-panel textarea { resize: vertical; }
.form-panel input::placeholder,
.form-panel textarea::placeholder { color: #8C8478; }

.contact-info-list { list-style: none; margin: 0 0 0; padding: 0; display: grid; gap: 18px; }
.contact-info-list li { color: #E9E2D6; font-size: 1rem; }
.contact-info-list li strong { display: block; color: var(--gold-2); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-list a:hover { color: var(--gold-2); }

/* ---------- 12. FOOTER ---------- */
.cta-final { text-align: center; }
.cta-final .diagnosis-panel { margin-bottom: 30px; }

footer { padding: 26px 0 46px; color: var(--text-muted); font-size: 0.92rem; background: var(--bg-light); }

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-light), transparent);
  margin-bottom: 18px;
}

.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-contact-group { display: inline-flex; gap: 6px; margin-left: 18px; }
.footer-contact-group a { color: var(--oxblood); font-weight: 600; }

.footer-right { display: flex; align-items: center; gap: 18px; }

.social-icons { display: flex; align-items: center; gap: 14px; }
.social-icons img { width: 22px; height: 22px; object-fit: contain; opacity: 0.75; transition: opacity 150ms ease, transform 150ms ease; }
.social-icons a:hover img { opacity: 1; transform: translateY(-1px); }

/* ---------- 13. RESPONSIVE ---------- */
@media (max-width: 900px) {
  .process, .stat-grid, .case-split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-split.reverse .case-visual, .case-split.reverse .case-copy { order: initial; }

  /* This override MUST come after the base .mobile-menu-toggle{display:none} rule
     above (see CASCADE-ORDER WARNING in section 3) or the hamburger never shows. */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}
