/* ============================================================
   TwelveFive — shared design system
   Used by: index.html, Services.html, Pricing.html, Mentorship.html
   ============================================================ */

:root {
  --bone-50:  #FEFDFC;
  --bone-100: #FDFBF9;
  --bone-200: #FAF7F4;
  --bone-300: #F5F3F0;
  --bone-400: #EDE8E2;
  --bone-500: #E0D8CF;

  --forest-300: #9FB399;
  --forest-500: #4A5D3E;
  --forest-600: #3A4A31;
  --forest-700: #2D3926;
  --forest-800: #1F2918;

  --clay-300:   #E8A87A;
  --clay-500:   #A1623D;
  --clay-600:   #8B4E2F;

  --charcoal-400: #666666;
  --charcoal-500: #2C2C2C;
  --charcoal-600: #1F1F1F;
  --charcoal-700: #141414;

  --rule:      rgba(31, 41, 24, 0.14);
  --rule-soft: rgba(31, 41, 24, 0.08);

  --serif:   'Fraunces', 'Playfair Display', Georgia, serif;
  --display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans:    'Source Sans 3', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone-100);
  color: var(--charcoal-500);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--forest-500); color: var(--bone-50); }

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url('PaperTexture.jpg');
  background-size: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}
main, header, footer { position: relative; z-index: 1; }

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

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
.nav.scrolled {
  background: rgba(254, 253, 252, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav.solid {
  background: rgba(254, 253, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-block;
  line-height: 0;
}
.brand img {
  display: block;
  height: 26px;
  width: auto;
}
.brand .five, .brand .dot { display: none; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal-500);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--forest-700);
  transition: right 220ms ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta, .nav-links a.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  background: var(--forest-700);
  color: var(--bone-50);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 220ms ease, transform 220ms ease;
}
.nav-cta:hover { background: var(--charcoal-700); transform: translateY(-1px); }
.nav-cta::after, .nav-links a.nav-cta::after { display: none; }
.nav-cta svg { width: 14px; height: 10px; flex: none; transition: transform 220ms ease; }
.nav-cta:hover svg { transform: translateX(3px); }

/* ---------- shared buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 0;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.btn svg { width: 16px; height: 11px; flex: none; transition: transform 220ms ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--forest-700); color: var(--bone-50); }
.btn-primary:hover { background: var(--charcoal-700); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal-700);
  border: 1px solid var(--rule);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--forest-700); color: var(--forest-700); }

/* ---------- shared sections ---------- */
section { padding: clamp(72px, 10vw, 144px) 0; position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section-head {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .num {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  color: var(--clay-500);
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--charcoal-700);
  text-wrap: balance;
  max-width: 18ch;
}
.section-head h2 em { font-style: italic; color: var(--forest-700); font-weight: 350; }
.section-head .kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--charcoal-400);
  align-self: end;
  text-align: right;
  line-height: 1.6;
}
.section-head .kicker strong { color: var(--forest-700); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow .dash { width: 28px; height: 1px; background: currentColor; }

/* ---------- shared page hero (used on inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid; align-items: end;
  overflow: hidden;
  padding: clamp(140px, 16vw, 220px) 0 clamp(56px, 8vw, 96px);
  isolation: isolate;
}
.page-hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%; height: 115%;
  object-fit: cover;
  object-position: center 60%;
  will-change: transform;
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(254,253,252,0.72) 0%, rgba(254,253,252,0.15) 38%, rgba(254,253,252,0.05) 65%, rgba(254,253,252,0.95) 100%),
    linear-gradient(95deg, rgba(254,253,252,0.55) 0%, rgba(254,253,252,0.0) 60%);
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.page-hero h1 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--charcoal-700);
  text-wrap: balance;
  max-width: 16ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.page-hero h1 em { font-style: italic; color: var(--forest-700); font-weight: 350; }
.page-hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--charcoal-500);
  max-width: 48ch;
  margin: 0;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}

/* ---------- footer (shared) ---------- */
footer.site {
  position: relative;
  background: var(--charcoal-700);
  color: var(--bone-200);
  overflow: hidden;
  isolation: isolate;
}
footer.site .bg {
  position: absolute; inset: 0;
  z-index: -1;
}
footer.site .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.45;
}
footer.site .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.55) 50%, rgba(20,20,20,0.95) 100%);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.foot-brand {
  display: inline-block;
  line-height: 0;
}
.foot-brand img {
  display: block;
  width: clamp(220px, 26vw, 360px);
  height: auto;
}
.foot-brand em { display: none; }
.foot-brand + p {
  margin-top: 18px;
  color: var(--bone-300);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-300);
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a {
  color: var(--bone-200);
  font-size: 14.5px;
  line-height: 1.4;
  transition: color 220ms ease;
}
.foot-col a:hover { color: var(--bone-50); }
.foot-bottom {
  border-top: 1px solid rgba(245, 243, 240, 0.12);
  margin-top: 24px;
  padding: 24px var(--gutter);
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px; letter-spacing: 0.04em; color: var(--bone-400);
}
.foot-bottom a:hover { color: var(--bone-50); }

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- mobile menu (hamburger) ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: background 220ms ease, border-color 220ms ease;
}
.nav-toggle:hover { background: rgba(255,255,255,0.9); border-color: var(--forest-700); }
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--charcoal-700);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, top 280ms ease, bottom 280ms ease;
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bone-50);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}
.mobile-menu::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('PaperTexture.jpg');
  background-size: cover;
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .menu-list {
  list-style: none;
  padding: clamp(28px, 6vw, 40px) var(--gutter);
  margin: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}
.mobile-menu .menu-list li {
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.mobile-menu .menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--charcoal-700);
  transform: translateY(20px);
  opacity: 0;
  transition: color 220ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease;
  transition-delay: 0ms;
}
.mobile-menu.open .menu-list li:nth-child(1) a { transition-delay: 120ms; }
.mobile-menu.open .menu-list li:nth-child(2) a { transition-delay: 180ms; }
.mobile-menu.open .menu-list li:nth-child(3) a { transition-delay: 240ms; }
.mobile-menu.open .menu-list li:nth-child(4) a { transition-delay: 300ms; }
.mobile-menu.open .menu-list li:nth-child(5) a { transition-delay: 360ms; }
.mobile-menu.open .menu-list a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu .menu-list a.active { color: var(--forest-700); font-style: italic; }
.mobile-menu .menu-list a .num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--clay-500);
  font-weight: 600;
}
.mobile-menu .menu-cta {
  padding: clamp(24px, 5vw, 40px) var(--gutter) clamp(28px, 6vw, 44px);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 16px;
  background: rgba(254, 253, 252, 0.7);
}
.mobile-menu .menu-cta .btn {
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 14px;
}
.mobile-menu .menu-cta .reach {
  display: grid; gap: 6px;
  font-size: 13px;
  color: var(--charcoal-500);
}
.mobile-menu .menu-cta .reach .label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal-400);
  font-weight: 600;
}
body.menu-open { overflow: hidden; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: flex; gap: 8px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta, .nav-links a.nav-cta {
    padding: 9px 14px;
    font-size: 12px;
    gap: 8px;
  }
  .nav-inner { gap: 10px; padding: 14px var(--gutter); }
  .nav-inner > .nav-links { margin-left: auto; }
  .nav-inner > .nav-toggle { margin-left: 4px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 22px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .kicker { text-align: left; }
}
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(40px, 13vw, 64px); }
}
