:root {
  --navy: #0B1D3A;
  --slate: #1E3354;
  --steel: #3A5A8C;
  --amber: #D4882E;
  --amber-light: #E8A84C;
  --amber-ink: #A9661A;
  --sand: #F4EDE4;
  --white: #FFFFFF;
  --gray-100: #F7F8FA;
  --gray-200: #E8ECF1;
  --gray-400: #9FAEC2;
  --gray-600: #5C6E87;
  --text: #1A2B42;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Libre Franklin', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* NAV (matches homepage) */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(11,29,58,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.logo-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.logo-icon { width: 46px; height: 42px; flex-shrink: 0; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 6px; padding: 6px; }
.logo-text-wrap { display: flex; flex-direction: column; justify-content: space-between; height: 42px; }
.logo-text { font-family: 'DM Serif Display', serif; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; transform: translateY(-3px); }
.logo-sub { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); line-height: 1; margin-top: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--gray-400); text-decoration: none; font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-cta {
  background: var(--amber) !important; color: var(--white) !important;
  padding: 10px 22px; border-radius: 4px; font-weight: 600 !important;
  letter-spacing: 0.03em !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-light) !important; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--amber); color: var(--white);
  padding: 15px 32px; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; transition: all 0.2s;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--navy); border: 1px solid var(--navy);
  padding: 13px 26px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-ink); }

/* PAGE HEADER */
.page-head {
  background: linear-gradient(168deg, var(--navy) 0%, var(--slate) 60%, var(--steel) 120%);
  padding: calc(72px + 4.5rem) 2rem 4.5rem;
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 80px);
}
.page-head-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.crumbs { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.6rem; }
.crumbs a { color: var(--amber); text-decoration: none; }
.crumbs a:hover { color: var(--amber-light); }
.crumbs span { color: rgba(255,255,255,0.35); margin: 0 0.5rem; }
.page-head-row { display: flex; gap: 1.6rem; align-items: flex-start; }
.head-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 10px;
  border: 1px solid rgba(212,136,46,0.4); color: var(--amber);
  display: flex; align-items: center; justify-content: center; margin-top: 6px;
}
.page-head h1 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.15;
  color: var(--white); margin-bottom: 1.1rem; max-width: 820px;
}
.page-head .lead {
  font-size: 1.1rem; line-height: 1.7; font-weight: 300;
  color: rgba(255,255,255,0.72); max-width: 680px; margin-bottom: 2.2rem;
}

/* SECTIONS */
section { padding: 5.5rem 2rem; }
.inner { max-width: 1100px; margin: 0 auto; }
.label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber-ink); margin-bottom: 1rem;
}
h2 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.22;
  color: var(--navy); margin-bottom: 1.4rem;
}

/* PERSPECTIVE */
.perspective-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: start; }
.perspective-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.byline { font-size: 0.85rem; color: var(--gray-600); }
.byline strong { color: var(--navy); font-weight: 600; }
.prose p { font-size: 1.05rem; line-height: 1.8; color: var(--text); font-weight: 300; margin-bottom: 1.2rem; }
.prose p:first-child { font-size: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }

.stats {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
}
.stat { padding: 2rem 1.8rem 2rem 0; }
.stat + .stat { padding-left: 1.8rem; border-left: 1px solid var(--gray-200); }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 2.6rem; color: var(--navy); line-height: 1; margin-bottom: 0.6rem; }
.stat-label { font-size: 0.88rem; line-height: 1.55; color: var(--gray-600); }
.source { margin-top: 1rem; font-size: 0.78rem; line-height: 1.6; color: var(--gray-600); }
.source a { color: var(--steel); }

/* ELEMENTS LIST */
.elements { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.el-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem; margin-top: 2.6rem; counter-reset: el;
}
.el {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 6px;
  padding: 2rem 2rem 1.8rem; display: flex; flex-direction: column;
  counter-increment: el;
}
.el::before {
  content: counter(el, decimal-leading-zero);
  font-family: 'DM Serif Display', serif; font-size: 1rem;
  color: var(--amber-ink); margin-bottom: 0.9rem;
  padding-bottom: 0.9rem; border-bottom: 2px solid var(--amber); width: 28px;
}
.el h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.22rem; line-height: 1.3; color: var(--navy); margin-bottom: 0.7rem; }
.el p { font-size: 0.93rem; line-height: 1.7; color: var(--gray-600); font-weight: 300; flex: 1; }
.cfr {
  align-self: flex-start; margin-top: 1.2rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--slate); background: rgba(11,29,58,0.06);
  padding: 5px 11px; border-radius: 3px;
}

/* CALLOUT */
.callout {
  margin-top: 3rem; background: var(--sand);
  border-left: 3px solid var(--amber); border-radius: 0 6px 6px 0;
  padding: 2.2rem 2.4rem;
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start;
}
.callout h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.3rem; line-height: 1.3; color: var(--navy); }
.callout p { font-size: 0.97rem; line-height: 1.75; color: var(--text); font-weight: 300; }
.callout .btn-ghost { margin-top: 1.3rem; }

/* EXPERIENCE */
.experience { background: var(--navy); }
.experience h2 { color: var(--white); }
.experience .label { color: var(--amber); }
.exp-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.exp-body p { font-size: 1.02rem; line-height: 1.8; color: rgba(255,255,255,0.72); font-weight: 300; margin-bottom: 1.1rem; }
.exp-body p:last-child { margin-bottom: 0; }

/* HOW WE HELP */
.help-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.help-text p { font-size: 1.02rem; line-height: 1.8; color: var(--text); font-weight: 300; }
.pull {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 2px solid var(--amber);
  font-family: 'DM Serif Display', serif; font-size: 1.35rem; line-height: 1.45; color: var(--navy);
}
.panel { border: 1px solid var(--gray-200); border-radius: 6px; padding: 2rem; }
.panel h4 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 1.1rem;
}
.panel ul { list-style: none; }
.panel li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.95rem; line-height: 1.55; color: var(--text); margin-bottom: 0.8rem;
}
.panel li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 10px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
.panel + .panel { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; background: rgba(11,29,58,0.06); color: var(--slate); padding: 6px 13px; border-radius: 3px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--slate) 0%, var(--navy) 100%); padding: 4.5rem 2rem; }
.cta-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin-bottom: 0.5rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { color: rgba(255,255,255,0.6); font-weight: 300; font-size: 0.98rem; }

/* OTHER SERVICES */
.others { padding: 4.5rem 2rem 5rem; }
.others-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.other {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem;
  border: 1px solid var(--gray-200); border-radius: 6px; padding: 1.4rem;
  text-decoration: none; color: var(--navy); transition: all 0.2s; min-height: 132px;
}
.other:hover { border-color: var(--amber); box-shadow: 0 6px 22px rgba(11,29,58,0.07); transform: translateY(-2px); }
.other-icon { color: var(--steel); }
.other span { font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.3; }

/* FOOTER (matches homepage) */
footer { background: var(--navy); padding: 3rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 2rem; }
.footer-col h5 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45); text-decoration: none; line-height: 2; font-weight: 300; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.75rem; color: rgba(255,255,255,0.25); text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .perspective-grid, .exp-grid, .help-grid { grid-template-columns: 1fr; gap: 2rem; }
  .callout { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 1rem; }
  section, .others, .cta { padding-left: 1rem; padding-right: 1rem; }
  section { padding-top: 4rem; padding-bottom: 4rem; }
  .page-head { padding: calc(72px + 3rem) 1rem 3.5rem; }
  .head-icon { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 1.5rem 0; border-left: none; }
  .stat + .stat { border-top: 1px solid var(--gray-200); }
  .el-grid { grid-template-columns: 1fr; }
  .el { padding: 1.6rem; }
  .callout { padding: 1.6rem; }
  .others-grid { grid-template-columns: 1fr 1fr; }
}
