/* ===== KarryForward — Global Styles (Charcoal & Gold Edition) ===== */
:root {
  /* Palette — matched to KarryForward sales PDF */
  --ink: #1A1A1A;
  --ink-deep: #121212;
  --ink-soft: #2A2A2A;
  --ink-line: #2E2E2E;

  --gold: #D4A82C;
  --gold-deep: #B8901F;
  --gold-soft: #E8C547;
  --gold-glow: rgba(212, 168, 44, 0.15);

  --paper: #F5F1E8;
  --paper-warm: #EDE6D3;
  --paper-line: #E0D9C5;

  --text-on-dark: #F5F1E8;
  --text-on-dark-muted: rgba(245, 241, 232, 0.65);
  --text-on-light: #1A1A1A;
  --text-muted: #5A5A5A;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4);
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--paper);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-line);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar .tagline { color: var(--gold); font-style: italic; text-transform: none; letter-spacing: 0.02em; font-family: 'Fraunces', serif; font-size: 13px; }
.top-bar .contact-info { color: var(--text-on-dark-muted); }
.top-bar .contact-info a:hover { color: var(--gold); }

/* ===== Header (DARK) ===== */
.site-header {
  background: rgba(26, 26, 26, 0.96);
  border-bottom: 1px solid var(--ink-line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-wrap { display: flex; align-items: center; }
.logo-wrap img { height: 58px; width: auto; transition: opacity 0.3s var(--ease); }
.logo-wrap:hover img { opacity: 0.85; }

nav ul { display: flex; gap: 40px; list-style: none; align-items: center; }
nav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  color: var(--text-on-dark);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
nav a:hover { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--gold); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--text-on-dark); margin: 5px 0; transition: 0.3s; }

/* ===== Hero (DARK) ===== */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-line);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 44, 0.08), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }

.hero-layout { display: flex; align-items: stretch; }
.hero-bar { width: 4px; background: var(--gold); margin-right: 32px; min-height: 180px; align-self: stretch; }
.hero-content { flex: 1; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  margin-bottom: 36px;
  max-width: 950px;
  color: var(--text-on-dark);
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
  font-size: 20px;
  color: var(--text-on-dark-muted);
  max-width: 660px;
  margin-bottom: 48px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 20px; flex-wrap: wrap; }

/* Hero stats — echoes the "9/5/4/24" boxes in the PDF */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--ink-line);
}
.hero-stat {
  border: 1px solid var(--gold);
  padding: 32px 24px;
  text-align: center;
  background: rgba(0,0,0,0.25);
  transition: all 0.4s var(--ease);
}
.hero-stat:hover { background: rgba(212, 168, 44, 0.08); transform: translateY(-3px); }
.hero-stat .big {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 500;
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border-radius: 0;
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-outline { background: transparent; color: var(--text-on-dark); border-color: var(--text-on-dark); }
.btn-outline:hover { background: var(--text-on-dark); color: var(--ink); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--text-on-dark); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-ivory { background: var(--paper); color: var(--text-on-light); }
.section-warm { background: var(--paper-warm); color: var(--text-on-light); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-on-dark); }

.section-head { max-width: 780px; margin: 0 auto 80px; text-align: center; }
.section-head.left {
  margin-left: 0; text-align: left;
  display: flex; align-items: stretch;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 20px;
  font-weight: 400;
}
.section-head h2 em { color: var(--gold); font-style: italic; }
.section-head p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }
.section-dark .section-head p { color: var(--text-on-dark-muted); }

/* ===== Services Grid (DARK) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-line);
  border-left: 1px solid var(--ink-line);
}
.service-card {
  padding: 52px 44px;
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  transition: all 0.5s var(--ease);
  position: relative;
  background: transparent;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.5s var(--ease);
}
.service-card:hover { background: rgba(212, 168, 44, 0.04); }
.service-card:hover::before { height: 100%; }
.service-card .num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.service-card h3 { font-size: 28px; margin-bottom: 16px; color: var(--text-on-dark); font-weight: 400; }
.service-card p { color: var(--text-on-dark-muted); margin-bottom: 28px; font-size: 15.5px; }
.service-card .card-link {
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.service-card .card-link::after { content: '→'; transition: transform 0.3s var(--ease); }
.service-card:hover .card-link::after { transform: translateX(6px); }

/* ===== Value Props ===== */
.props-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 80px 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.prop h3 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 14px;
  font-style: italic;
  font-weight: 400;
}
.prop p { color: var(--text-on-dark-muted); font-size: 15px; }

/* ===== Resources Grid (IVORY) ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.resource-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 44px 32px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.resource-card:hover::before { transform: scaleX(1); }
.resource-card .icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--gold-deep);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
}
.resource-card h4 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 12px; font-weight: 400; }
.resource-card p { color: var(--text-muted); font-size: 14.5px; }

/* ===== CTA Band ===== */
.cta-band {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--gold);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--text-on-dark);
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { color: var(--text-on-dark-muted); font-size: 18px; max-width: 600px; margin: 0 auto 44px; }

/* ===== Forms ===== */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  padding: 60px 56px;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow);
  position: relative;
}
.form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.form-group label .req { color: var(--gold-deep); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--paper-line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--paper-warm);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--gold);
}
.checkbox-group input { width: auto; margin-top: 3px; accent-color: var(--gold-deep); }
.checkbox-group label { margin-bottom: 4px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14.5px; }
.checkbox-group .note { font-size: 13px; color: var(--text-muted); font-style: italic; }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line);
  text-align: center;
}
.form-success {
  display: none;
  padding: 44px;
  text-align: center;
  background: var(--paper-warm);
  border-left: 4px solid var(--gold);
}
.form-success.active { display: block; }
.form-success h3 { color: var(--gold-deep); margin-bottom: 14px; font-size: 26px; font-weight: 400; }

/* ===== Footer (DARK) ===== */
.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 90px 0 32px;
  border-top: 1px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { height: 110px; width: auto; margin-bottom: 20px; margin-left: -10px; }
.footer-brand p { color: var(--text-on-dark-muted); max-width: 320px; font-size: 14.5px; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
  font-family: 'Inter Tight', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(245, 241, 232, 0.75); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.45);
}
.footer-bottom .tagline { font-family: 'Fraunces', serif; font-style: italic; color: var(--gold); }

/* ===== Page Header (inner — DARK) ===== */
.page-header {
  padding: 110px 0 90px;
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}
.page-header .container { position: relative; z-index: 1; display: flex; align-items: stretch; }
.page-header .ph-bar { width: 4px; background: var(--gold); margin-right: 32px; min-height: 140px; align-self: stretch; }
.page-header .ph-content { flex: 1; }
.page-header h1 {
  font-size: clamp(48px, 7vw, 88px);
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--text-on-dark);
  font-weight: 400;
}
.page-header h1 em { color: var(--gold); font-style: italic; }
.page-header p {
  font-size: 19px;
  color: var(--text-on-dark-muted);
  max-width: 680px;
  line-height: 1.6;
}
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.breadcrumb span { color: var(--text-on-dark-muted); }

/* ===== Service Detail List ===== */
.service-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--paper-line);
  align-items: start;
  transition: padding 0.4s var(--ease);
  position: relative;
}
.service-row::before {
  content: '';
  position: absolute;
  left: 0; top: 56px;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease);
}
.service-row:hover { padding-left: 24px; }
.service-row:hover::before { height: calc(100% - 112px); }
.service-row .s-num {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-style: italic;
  color: var(--gold-deep);
}
.service-row h3 { font-size: 32px; margin-bottom: 16px; font-weight: 400; }
.service-row p { color: var(--text-muted); font-size: 16px; max-width: 660px; line-height: 1.65; }
.service-row .s-action { text-align: right; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 { font-size: 40px; margin-bottom: 24px; font-weight: 400; }
.about-text h2 em { color: var(--gold-deep); font-style: italic; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 16.5px; line-height: 1.75; }
.about-text p strong { color: var(--ink); font-weight: 500; }
.about-image-box {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 60px 48px;
  position: sticky;
  top: 120px;
  border-left: 4px solid var(--gold);
}
.about-image-box h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 28px;
  line-height: 1.3;
  font-weight: 400;
}
.about-image-box ul { list-style: none; }
.about-image-box li {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-on-dark);
}
.about-image-box li:last-child { border-bottom: none; }
.about-image-box li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===== Contact Info ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.contact-card {
  padding: 44px 32px;
  background: var(--ink);
  color: var(--text-on-dark);
  text-align: center;
  border: 1px solid var(--ink-line);
  transition: all 0.4s var(--ease);
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-card .ico {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 16px;
}
.contact-card h4 {
  font-size: 15px;
  margin-bottom: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.contact-card p { color: var(--text-on-dark-muted); font-size: 14.5px; line-height: 1.6; }
.contact-card a { color: var(--gold); font-weight: 500; }
.contact-card a:hover { color: var(--gold-soft); }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 0.9s var(--ease) both; }
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.3s; }
.d-4 { animation-delay: 0.4s; }
.d-5 { animation-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .props-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-box { position: static; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row .s-action { grid-column: 1 / -1; text-align: left; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--ink-line); gap: 16px; }
  nav ul.open { display: flex; }
  .mobile-toggle { display: block; }
  .top-bar { font-size: 11px; padding: 8px 0; }
  .top-bar .container { flex-direction: column; gap: 6px; }
  .hero { padding: 70px 0 90px; }
  .section { padding: 70px 0; }
  .page-header { padding: 70px 0 60px; }
  .form-wrap { padding: 44px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .service-card { padding: 40px 28px; }
  .logo-wrap img { height: 46px; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 56px; padding-top: 44px; }
  .hero-layout { flex-direction: column; }
  .hero-bar { width: auto; height: 4px; min-height: auto; margin-right: 0; margin-bottom: 28px; }
  .page-header .container { flex-direction: column; }
  .page-header .ph-bar { width: auto; height: 4px; min-height: auto; margin-right: 0; margin-bottom: 24px; }
}
