/* ============================================================
   RAVAL CONSULTING — style.css
   Brand: Navy #1B3A5C | Gold #C4A35A | Cream #F8F4EC
   ============================================================ */

:root {
  --navy:       #1B3A5C;
  --navy-deep:  #122840;
  --gold:       #C4A35A;
  --gold-light: #D4B878;
  --cream:      #F8F4EC;
  --cream-dark: #EDE8DF;
  --white:      #FFFFFF;
  --text:       #2C3E50;
  --text-muted: #5A6A7A;
  --border:     #E2DDD5;

  --serif: Georgia, 'Times New Roman', serif;
  --sans:  'Calibri', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --max-w:    1100px;
  --pad-sec:  90px;
  --nav-h:    72px;
  --radius:   4px;
  --ease:     0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--sans); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.22;
  font-weight: normal;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(19px, 2.5vw, 24px); }
h4 { font-size: 19px; }
p  { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section        { padding: var(--pad-sec) 0; }
.section-cream  { background: var(--cream); }
.section-navy   { background: var(--navy); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  transition: all var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover   { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248,244,236,0.45);
}
.btn-outline:hover { border-color: var(--cream); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-navy:hover   { background: var(--navy-deep); }
.btn-full { width: 100%; justify-content: center; }
.link-arrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease);
}
.link-arrow:hover { gap: 11px; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-raval {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  font-weight: bold;
  letter-spacing: 0.5px;
}
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-cta {
  background: var(--navy) !important;
  color: var(--cream) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px !important;
  transition: background var(--ease) !important;
}
.nav-cta:hover { background: var(--navy-deep) !important; }
.nav-cta.active::after { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all var(--ease);
}

/* ── Hero (home) ── */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  top: -60px;
  right: -10px;
  font-family: var(--serif);
  font-size: 340px;
  font-weight: bold;
  color: rgba(248,244,236,0.045);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -10px;
}
.hero-content   { position: relative; max-width: 720px; }
.hero .eyebrow  { color: var(--gold); }
.hero h1        { color: var(--cream); margin-bottom: 22px; }
.hero-sub {
  font-size: 18px;
  color: rgba(248,244,236,0.78);
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Section heading ── */
.sec-head          { margin-bottom: 48px; }
.sec-head h2       { margin-bottom: 14px; }
.sec-head p        { font-size: 18px; color: var(--text-muted); max-width: 560px; }

/* ── Service cards (home overview) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color var(--ease);
}
.card:hover { border-color: var(--gold); }
.card-bar {
  width: 36px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 22px;
}
.card h3       { margin-bottom: 12px; }
.card p        { color: var(--text-muted); font-size: 15.5px; }

/* ── Credibility bar ── */
.credibility    { text-align: center; }
.cred-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.company-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.company-list span {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  opacity: 0.55;
}

/* ── Split layout (about teaser) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.headshot-wrap  { position: relative; }
.headshot-img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
}
.headshot-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 52px;
  color: rgba(27,58,92,0.35);
}
.headshot-accent {
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 72px;
  height: 72px;
  border: 2.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.split-text { }
.split-text h2 { margin-bottom: 20px; }
.split-text .link-arrow { margin-top: 8px; display: inline-flex; }

/* ── Pull quote ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 36px 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 0;
}

/* ── CTA band ── */
.cta-band {
  background: var(--navy);
  padding: 84px 0;
  text-align: center;
}
.cta-band h2        { color: var(--cream); margin-bottom: 14px; }
.cta-band p {
  color: rgba(248,244,236,0.72);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer { background: var(--navy-deep); padding: 48px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px;
  color: rgba(248,244,236,0.55);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 12px;
  color: rgba(248,244,236,0.35);
  margin-bottom: 0;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--cream);
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); }

/* ── About page ── */
.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.bio-headshot {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.bio-headshot-placeholder {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 60px;
  color: rgba(27,58,92,0.3);
}
.bio-text h2      { margin-bottom: 20px; }
.bio-text p       { color: var(--text-muted); }
.timeline         { margin-top: 64px; }
.timeline-title   { font-family: var(--serif); font-size: 28px; color: var(--navy); margin-bottom: 32px; }
.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-left { padding-top: 2px; }
.tl-company {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 3px;
}
.tl-period {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.tl-role   { font-weight: 600; color: var(--navy); margin-bottom: 4px; font-size: 15px; }
.tl-desc   { font-size: 14.5px; color: var(--text-muted); margin-bottom: 0; }

/* ── Services page ── */
.service-block {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.service-block:first-of-type { border-top: none; padding-top: 0; }
.service-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.service-num {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 12px;
}
.service-inner h3     { margin-bottom: 16px; }
.service-inner > div > p { color: var(--text-muted); margin-bottom: 20px; }
.deliverables         { margin-top: 8px; }
.deliverables li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.deliverables li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--gold);
  font-size: 7px;
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.eng-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.eng-card.featured { border: 2px solid var(--gold); }
.eng-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.eng-card h4  { margin-bottom: 10px; }
.eng-card p   { font-size: 14.5px; color: var(--text-muted); }

/* ── Experience page ── */
.stats-row {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl { font-size: 13px; color: var(--text-muted); }
.exp-company {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 52px;
}
.exp-company:first-of-type { border-top: none; padding-top: 0; }
.exp-co-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 4px;
}
.exp-co-period { font-size: 12px; color: var(--text-muted); letter-spacing: 0.3px; }
.exp-body h4   { margin-bottom: 8px; font-size: 18px; }
.exp-body p    { color: var(--text-muted); font-size: 15.5px; }
.rep-list      { margin-top: 24px; }
.rep-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.rep-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-size: 7px;
}

/* ── Blog page ── */
.blog-empty {
  text-align: center;
  padding: 60px 0;
}
.blog-empty h2 { margin-bottom: 14px; }
.blog-empty p  { color: var(--text-muted); max-width: 500px; margin: 0 auto 28px; }
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Contact page ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-options { display: flex; flex-direction: column; gap: 36px; }
.c-option {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.c-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  color: var(--navy);
}
.c-option h4   { margin-bottom: 4px; font-size: 17px; }
.c-option p    { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.c-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--ease);
}
.c-link:hover { opacity: 0.8; }
.contact-form-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-box h3 { font-size: 23px; margin-bottom: 26px; }
.fg { margin-bottom: 18px; }
.fg label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--navy);
  margin-bottom: 6px;
}
.fg input,
.fg textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease);
  outline: none;
}
.fg input:focus,
.fg textarea:focus { border-color: var(--navy); }
.fg textarea   { resize: vertical; min-height: 110px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success  {
  display: none;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--navy);
}
.form-success h4 { margin-bottom: 6px; }
.form-success p  { font-size: 14px; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .card-grid         { grid-template-columns: 1fr; }
  .bio-grid          { grid-template-columns: 1fr; }
  .service-inner     { grid-template-columns: 1fr; }
  .engagement-grid   { grid-template-columns: 1fr; }
  .exp-company       { grid-template-columns: 1fr; gap: 12px; }
  .contact-wrap      { grid-template-columns: 1fr; }
  .split             { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --pad-sec: 60px; }
  .container         { padding: 0 24px; }
  .nav-inner         { padding: 0 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    align-items: stretch;
  }
  .nav-links.open    { display: flex; }
  .nav-links a       { padding: 12px 24px; }
  .nav-cta           { margin: 8px 24px 4px; text-align: center; }
  .nav-toggle        { display: flex; }
  .company-list      { gap: 24px; }
  .stats-row         { gap: 32px; }
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-box  { padding: 28px 24px; }
  .tl-item           { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
