/* ───────────────────────────────────────────────────────────────────
   LIVRAXE CONSULTING — Design System
   Inspired: Prophet (70%) + Tangible (20%) + Webflow modern (10%)
   ─────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Palette */
  --bg:           #FAF7F0;       /* warm cream */
  --bg-soft:      #F3EFE5;       /* soft cream */
  --bg-card:      #FFFFFF;       /* pure white card */
  --navy:         #0F2A52;       /* primary text + brand */
  --navy-soft:    #1A3D74;       /* hover / secondary */
  --text:         #1A1F2E;       /* near black */
  --text-mute:    #5C5A55;       /* warm gray */
  --text-subtle:  #8A8780;       /* muted text */
  --gold:         #A88842;       /* deep gold accent */
  --gold-light:   #C9A961;       /* lighter gold */
  --line:         rgba(15, 42, 82, 0.08);
  --line-strong:  rgba(15, 42, 82, 0.16);

  /* Type scale */
  --f-display:    'Fraunces', Georgia, serif;
  --f-body:       'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* ───── Layout ───── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 48px; }

/* ───── Navigation ───── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
}
.nav-logo-text {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.nav-logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 2px;
  font-weight: 500;
}
.nav-links {
  display: flex; gap: 44px; align-items: center;
}
.nav-link {
  font-size: 14px; font-weight: 400;
  color: var(--text-mute);
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.nav-cta {
  background: var(--navy); color: var(--bg);
  padding: 12px 22px;
  border-radius: 0;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--navy);
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: transparent; color: var(--navy); }
.nav-cta-arrow {
  display: inline-block; transition: transform 0.25s;
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

/* ───── Sections ───── */
.section { padding: 140px 0; }
.section-tight { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: var(--bg); }

/* ───── Eyebrow labels ───── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.eyebrow.no-line::before { display: none; }

/* ───── Typography ───── */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display-italic { font-style: italic; font-weight: 300; }
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  font-variation-settings: "opsz" 144;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.h4 {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--text-mute);
  font-weight: 300;
}
.body-l { font-size: 18px; line-height: 1.65; color: var(--text-mute); }
.body-m { font-size: 16px; line-height: 1.65; color: var(--text-mute); }
.body-s { font-size: 14px; line-height: 1.6;  color: var(--text-mute); }
.cap    { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
          font-weight: 500; color: var(--gold); }

/* ───── Hero (homepage) ───── */
.hero {
  padding: 80px 0 140px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: end;
}
.hero-display { max-width: 880px; }
.hero-aside {
  border-left: 1px solid var(--line-strong);
  padding-left: 32px;
}
.hero-cta-row { display: flex; gap: 16px; margin-top: 56px; align-items: center; }
.btn-primary {
  background: var(--navy); color: var(--bg);
  padding: 18px 32px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--navy);
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.25s;
}
.btn-primary:hover { background: transparent; color: var(--navy); }
.btn-ghost {
  padding: 18px 32px;
  font-size: 15px; font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--navy); }

/* ───── Marquee / scrolling tags ───── */
.tag-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex; gap: 48px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.tag-band-item {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-subtle);
}

/* ───── Expertise grid ───── */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  margin-top: 80px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.expertise-cell {
  background: var(--bg);
  padding: 56px 48px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: background 0.3s;
}
.expertise-cell:hover { background: var(--bg-soft); }
.expertise-number {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
}
.expertise-title {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.expertise-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
  margin-bottom: auto;
  padding-bottom: 32px;
}
.expertise-arrow {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}

/* ───── Method steps ───── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  position: relative;
}
.method-step {
  padding-right: 40px;
  position: relative;
}
.method-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 14px; right: 20px;
  width: 24px; height: 1px;
  background: var(--gold);
}
.method-num {
  font-family: var(--f-display);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.method-num::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
.method-title {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 500;
}
.method-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
}

/* ───── CTA section ───── */
.cta-section {
  padding: 140px 0;
  background: var(--navy);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-section .display { color: var(--bg); }
.cta-section .eyebrow { color: var(--gold-light); }
.cta-section .eyebrow::before { background: var(--gold-light); }
.cta-section .lead { color: rgba(250, 247, 240, 0.7); }

.cta-section .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.cta-section .btn-primary:hover {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}

/* ───── Footer ───── */
.footer {
  background: var(--navy);
  color: rgba(250, 247, 240, 0.7);
  padding: 100px 0 48px;
  border-top: 1px solid rgba(168, 136, 66, 0.2);
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}
.footer-brand-mark {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--bg);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 247, 240, 0.55);
  max-width: 360px;
}
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  line-height: 2;
  color: rgba(250, 247, 240, 0.7);
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(250, 247, 240, 0.5);
  letter-spacing: 0.04em;
}

/* ───── Page hero (subpages) ───── */
.page-hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
}
.page-hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variation-settings: "opsz" 144;
}
.page-hero-intro {
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-mute);
  font-weight: 300;
  max-width: 580px;
}

/* ───── Service detail block ───── */
.service-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block-meta { position: sticky; top: 100px; align-self: start; }
.service-meta-num {
  font-family: var(--f-display);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 32px;
  font-style: italic;
}
.service-meta-cat {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}
.service-title-large {
  font-family: var(--f-display);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.service-desc-large {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-mute);
  margin-bottom: 48px;
  max-width: 700px;
  font-weight: 300;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.service-detail-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.service-detail-list { list-style: none; }
.service-detail-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.service-detail-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 1px; background: var(--gold);
}
.service-detail-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mute);
}

/* ───── Method page specific ───── */
.method-philosophy {
  padding: 80px 0 120px;
}
.method-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.3;
  color: var(--navy);
  max-width: 880px;
  letter-spacing: -0.01em;
}
.method-quote-mark {
  font-size: 80px;
  color: var(--gold);
  line-height: 0;
  vertical-align: -20px;
  margin-right: 8px;
  font-weight: 300;
}
.method-detailed {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.method-detailed:last-child { border-bottom: none; }
.method-stage-num {
  font-family: var(--f-display);
  font-size: 140px;
  line-height: 1;
  font-weight: 300;
  color: var(--gold);
  font-style: italic;
}
.method-stage-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.method-stage-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}
.method-stage-title {
  font-family: var(--f-display);
  font-size: 56px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.method-stage-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-mute);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 40px;
}
.method-stage-details {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mute);
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  max-width: 600px;
}

/* ───── Contact page ───── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-top: 80px;
}
.contact-cell {
  background: var(--bg);
  padding: 64px 40px;
  display: flex; flex-direction: column;
  min-height: 360px;
}
.contact-cat {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}
.contact-method {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.contact-detail {
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 24px;
  font-family: var(--f-display);
}
.contact-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
  margin-bottom: auto;
  padding-bottom: 32px;
}
.contact-hours {
  font-size: 13px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* ───── Info row ───── */
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.info-item-num {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
}
.info-item-title {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.info-item-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
}

/* ───── Trust / Partner band ───── */
.trust-band {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-band-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.trust-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.trust-quote {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-style: italic;
  font-weight: 300;
}
