@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;600;700&family=Libre+Franklin:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --forest-deep: #14241C;
  --forest: #1F3B2C;
  --forest-soft: #2E523F;
  --copper: #A9633B;
  --copper-bright: #C77E4F;
  --off: #F4F5F1;
  --off-line: #DCDFD6;
  --ink: #1C201D;
  --ink-soft: #585E58;
  --white: #FFFFFF;
  --font-display: 'Zilla Slab', 'Rockwell', serif;
  --font-body: 'Libre Franklin', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(20, 36, 28, 0.08);
  --shadow-lg: 0 12px 24px rgba(20, 36, 28, 0.12);
  --border-radius: 2px;
  --transition-speed: 0.25s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

/* ---------- layout ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  display: inline-block;
}

svg {
  display: block;
}

/* ---------- top strip + nav ---------- */
.route-strip {
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--copper) 0 26px, transparent 26px 40px),
    var(--forest-deep);
}

header {
  background: var(--forest-deep);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #1f3529;
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--copper-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--copper);
}

.wordmark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--white);
}

.wordmark small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: #8FA396;
  margin-top: 2px;
}

.navlinks {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navlinks a {
  font-size: 13px;
  font-weight: 500;
  color: #CBD6CE;
  padding-bottom: 4px;
  position: relative;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width var(--transition-speed) ease;
}

.navlinks a:hover::after {
  width: 100%;
}

.navlinks a.active {
  color: var(--white);
}

.navlinks a.active::after {
  width: 100%;
  background: var(--copper-bright);
}

.navlinks a.navcta {
  background: var(--copper);
  color: var(--white) !important;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 2px solid var(--copper);
}

.navlinks a.navcta::after {
  display: none;
}

.navlinks a.navcta:hover {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #CBD6CE;
  transition: all 0.3s ease;
}

/* ---------- main layout ---------- */
main {
  flex: 1;
}

/* ---------- page headers ---------- */
.page-header {
  background: var(--forest-deep);
  color: var(--white);
  padding: 60px 0;
  border-bottom: 4px solid var(--copper);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-top: 8px;
}

.page-header .lead {
  font-size: 16px;
  color: #B9C6BD;
  max-width: 720px;
  margin-top: 12px;
}

/* ---------- hero ---------- */
.hero {
  background: var(--forest-deep);
  color: var(--white);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.hero-main {
  flex: 1.5;
  padding-bottom: 90px;
}

.hero .tag {
  margin-bottom: 18px;
  color: var(--copper-bright);
}

h1.hero-head {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--white);
}

.hero-head .hl {
  color: var(--copper-bright);
}

.hero-sub {
  margin-top: 22px;
  font-size: 16.5px;
  color: #B9C6BD;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 2px solid var(--copper);
  text-align: center;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--copper);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-dark:hover {
  background: var(--forest-soft);
  border-color: var(--forest-soft);
}

/* waypoint column */
.hero-way {
  flex: 1;
  border-left: 1px solid #2C4335;
  padding: 6px 0 90px 40px;
}

.way-item {
  position: relative;
  padding: 0 0 30px 26px;
}

.way-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--forest-deep);
  border: 2px solid var(--copper-bright);
}

.way-item::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 20px;
  bottom: 0;
  border-left: 1px dashed #3B584A;
}

.way-item:last-child::after {
  display: none;
}

.way-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.way-item p {
  font-size: 12.5px;
  color: #9FB0A5;
  line-height: 1.5;
}

/* ---------- manifest strip ---------- */
.manifest {
  background: var(--off);
  border-bottom: 1px solid var(--off-line);
}

.manifest .wrap {
  display: flex;
  flex-wrap: wrap;
}

.mcell {
  flex: 1;
  min-width: 170px;
  padding: 26px 22px;
  border-left: 1px solid var(--off-line);
}

.mcell:first-child {
  border-left: none;
}

.mcell .mval {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 500;
  color: var(--forest);
}

.mcell .mlabel {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.manifest-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-soft);
  text-align: right;
  padding: 6px 0 10px;
  letter-spacing: .06em;
}

/* ---------- pillars ---------- */
.pillars {
  padding: 86px 0;
}

.pillars-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 18px;
}

.pillars-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--forest);
  max-width: 520px;
  line-height: 1.15;
}

.pillars-head p {
  max-width: 340px;
  font-size: 14px;
  color: var(--ink-soft);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--off-line);
  border-top: 4px solid var(--copper);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar .tag {
  margin-bottom: 12px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.2;
}

.pillar p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.pillar-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--copper);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.pillar-link:hover {
  color: var(--forest);
}

/* ---------- teaming band ---------- */
.teaming {
  background: var(--forest);
  color: var(--white);
  padding: 80px 0;
}

.teaming-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.teaming-left {
  flex: 1.2;
}

.teaming-left h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.teaming-left p {
  font-size: 14.5px;
  color: #C3D0C7;
  max-width: 480px;
}

.teaming-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.titem {
  border-top: 2px solid var(--copper);
  padding-top: 16px;
}

.titem h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.titem p {
  font-size: 12.8px;
  color: #AEBFB3;
  line-height: 1.5;
}

/* ---------- general content styling ---------- */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--off-line);
  border-bottom: 1px solid var(--off-line);
  padding: 70px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.content-main h2, .content-main h3 {
  font-family: var(--font-display);
  color: var(--forest);
  margin-bottom: 18px;
}

.content-main h2 {
  font-size: 28px;
  font-weight: 600;
}

.content-main h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 30px;
}

.content-main p {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 18px;
}

.content-main ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.content-main li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* sidebar card */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--off-line);
  border-top: 4px solid var(--forest);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 16px;
  font-weight: 600;
}

/* values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  border-left: 3px solid var(--copper);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* manifest list layout */
.manifest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.manifest-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--off-line);
}

.manifest-list-label {
  font-weight: 600;
  font-size: 14px;
}

.manifest-list-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
}

/* ---------- data tables ---------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--off-line);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--white);
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--off-line);
  font-size: 14px;
}

.data-table th {
  background: var(--forest-deep);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--forest);
}

/* ---------- form designs ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--forest);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--off-line);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fbfbf9;
  transition: all var(--transition-speed) ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.form-message {
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  background: #E8F4EC;
  border-left: 4px solid #2E7D32;
  color: #1B5E20;
  display: block;
}

.form-message.error {
  background: #FCE8E6;
  border-left: 4px solid #C62828;
  color: #B71C1C;
  display: block;
}

/* ---------- capability statement page specific ---------- */
.capability-header {
  border-bottom: 2px solid var(--off-line);
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.capability-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.capability-section {
  margin-bottom: 35px;
}

.capability-section h3 {
  border-bottom: 2px solid var(--copper);
  padding-bottom: 6px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 20px;
}

.capability-section ul {
  padding-left: 20px;
}

.capability-section li {
  margin-bottom: 8px;
  font-size: 14px;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--off-line);
  padding: 24px;
}

.info-box h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
  font-weight: 600;
}

.info-box-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--off-line);
  font-size: 13px;
}

.info-box-row:last-child {
  border-bottom: none;
}

.info-box-label {
  font-weight: 600;
  color: var(--ink-soft);
}

.info-box-value {
  text-align: right;
  font-weight: 500;
}

.info-box-value.mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- past performance card grid ---------- */
.case-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--off-line);
  border-left: 4px solid var(--copper);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--off-line);
  padding-bottom: 10px;
}

.case-client {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.case-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 600;
}

.case-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 14px;
}

.case-outcome {
  background: var(--off);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  border-left: 2px solid var(--forest-soft);
}

/* ---------- cta band ---------- */
.cta-band {
  padding: 78px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--forest);
  max-width: 600px;
  margin: 0 auto 12px;
}

.cta-band p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ---------- footer ---------- */
footer {
  background: var(--forest-deep);
  color: #AEBFB3;
  padding: 60px 0 0;
  border-top: 4px solid var(--copper);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #263B2E;
}

.foot-brand .wordmark {
  color: var(--white);
}

.foot-addr {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #8FA396;
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 16px;
  font-weight: 500;
}

.foot-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 11px;
  color: #C3D0C7;
}

.foot-col a:hover {
  color: var(--white);
}

.foot-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7B8F82;
  flex-wrap: wrap;
  gap: 10px;
}

.foot-bottom a {
  color: #7B8F82;
  margin-left: 18px;
}

.foot-bottom a:hover {
  color: var(--copper-bright);
}

/* ---------- legal/policy layout ---------- */
.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--off-line);
  padding-bottom: 6px;
}

.policy-section p {
  font-size: 14.5px;
  margin-bottom: 16px;
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap {
    padding: 0 24px;
  }

  .navlinks {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--forest-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid #2C4335;
    box-shadow: var(--shadow-lg);
  }

  .navlinks.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  h1.hero-head {
    font-size: 38px;
  }

  .hero-grid {
    flex-direction: column;
    gap: 0;
  }

  .hero-way {
    border-left: none;
    padding-left: 0;
    padding-bottom: 60px;
  }

  .manifest .wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .mcell {
    border-left: none;
    border-bottom: 1px solid var(--off-line);
    border-right: 1px solid var(--off-line);
  }

  .mcell:nth-child(2n) {
    border-right: none;
  }

  .mcell:last-child {
    border-bottom: none;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .teaming-grid {
    flex-direction: column;
    gap: 34px;
  }

  .teaming-right {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
