:root {
  --background: #FFFFFF;
  --text: #3F3D35;
  --primary: #1F5E63;
  --primary-hover: #17494D;
  --secondary: #C07C35;
  --border: rgba(31, 94, 99, 0.16);
  --soft-border: rgba(63, 61, 53, 0.12);
  --max-width: 1160px;
  --section-padding: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--text);
  font-family: 'Work Sans', 'Inter', 'Source Sans 3', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
  color: var(--text);
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
}
.container, .nav-inner, .footer-inner { width: min(var(--max-width), calc(100% - 44px)); margin-inline: auto; }
.section { padding: var(--section-padding) 0; }
.section-tight { padding: 76px 0; }
.section-header { max-width: 740px; margin-bottom: 48px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker, .card-kicker, .statement-kicker {
  color: var(--secondary);
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-header h2, .page-hero h1 { font-size: clamp(2rem, 3.5vw, 2.65rem); }
.section-header p, .page-hero p, .hero-copy, .lead-copy { color: rgba(63, 61, 53, 0.86); margin-top: 18px; max-width: 690px; }

/* Navigation */
.site-nav {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--soft-border);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.nav-inner { align-items: center; display: flex; justify-content: space-between; min-height: 72px; }
.logo {
  color: var(--primary);
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.nav-links { align-items: center; display: flex; gap: 25px; }
.nav-links a {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links .nav-cta { border: 1px solid var(--primary); color: var(--primary); padding: 8px 14px; }
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { background: var(--primary); color: white; }

/* Buttons */
.button-row { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button, button {
  align-items: center;
  border: 1px solid var(--primary);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover, button:hover { transform: translateY(-1px); }
.button-primary, button { background: var(--primary); color: white; }
.button-primary:hover, button:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.button-secondary { background: rgba(255,255,255,0.92); color: var(--primary); }
.button-secondary:hover { background: white; color: var(--primary-hover); }
.button-outline { background: transparent; color: var(--primary); }
.button-outline:hover { background: var(--primary); color: white; }

/* Hero */
.hero {
  align-items: center;
  background: linear-gradient(90deg, rgba(23, 73, 77, 0.76), rgba(23, 73, 77, 0.32)), url('heroimg.jpg') center 36% / cover no-repeat;
  color: white;
  display: flex;
  min-height: 660px;
  padding: 145px 0 96px;
}
.hero-content { max-width: 790px; }
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.84);
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 { color: white; font-size: clamp(2.75rem, 6vw, 4.25rem); max-width: 790px; }
.hero-copy { color: rgba(255,255,255,0.9); font-size: clamp(1.03rem, 1.6vw, 1.18rem); max-width: 680px; }

/* Shared layouts */
.positioning-strip { border-bottom: 1px solid var(--soft-border); border-top: 1px solid var(--soft-border); padding: 26px 0; }
.positioning-inner { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.positioning-label { color: var(--primary); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.sector-list { font-size: 0.95rem; text-align: right; }
.two-column { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 72px; align-items: start; }
.service-list { border-top: 1px solid var(--border); }
.service-item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.service-item h3, .proof-point h3, .sector-card h3, .contact-card h3 { color: var(--primary); font-size: 1.45rem; margin-bottom: 8px; }
.service-item p, .proof-point p, .sector-card p, .contact-card p { color: rgba(63, 61, 53, 0.85); }
.split-panel { align-items: center; border: 1px solid var(--border); display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 430px; }
.text-block { padding: 58px; }
.text-block h2 { font-size: clamp(2rem, 3.5vw, 2.65rem); margin-bottom: 20px; }
.text-block p + p { margin-top: 16px; }
.quote-line { border-left: 3px solid var(--secondary); color: var(--primary); font-weight: 500; margin-top: 24px !important; padding-left: 18px; }
.split-image { height: 100%; min-height: 430px; }
.split-image img { height: 100%; object-fit: cover; width: 100%; }
/* Image crop helpers */
.image-journey img { object-position: center center; }
.image-canyon-path img { object-position: center center; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.proof-point { border-top: 2px solid var(--secondary); padding-top: 22px; }
.statement-band { background: var(--primary); color: white; padding: 82px 0; }
.statement-band h2 { color: white; font-size: clamp(2rem, 3.8vw, 3rem); max-width: 850px; }
.statement-band p { color: rgba(255,255,255,0.84); margin-top: 18px; max-width: 760px; }
.cta-section { border-top: 1px solid var(--soft-border); padding: 72px 0; }
.cta-inner { align-items: center; display: flex; gap: 40px; justify-content: space-between; }
.cta-inner h2 { font-size: clamp(1.9rem, 3vw, 2.45rem); }
.cta-inner p { margin-top: 12px; max-width: 640px; }

/* Page hero */
.page-hero { border-bottom: 1px solid var(--soft-border); padding: 148px 0 76px; }
.page-hero .container { max-width: 940px; }
.page-hero h1 { max-width: 760px; }
.page-hero p { font-size: 1.05rem; }

/* Cards and grids */
.cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cluster-card, .sector-card, .contact-card {
  border: 1px solid var(--border);
  padding: 30px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.cluster-card:hover, .sector-card:hover, .contact-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.cluster-card h3 { color: var(--primary); font-size: 1.55rem; margin-bottom: 12px; }
.cluster-card ul { list-style: none; margin-top: 18px; }
.cluster-card li { border-top: 1px solid var(--soft-border); padding: 11px 0; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.mini-card { border-left: 2px solid var(--secondary); padding-left: 18px; }
.mini-card h3 { color: var(--primary); font-family: 'Work Sans', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.mini-card p { font-size: 0.95rem; }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sector-card.wide { grid-column: 1 / -1; }
.process-list { counter-reset: step; display: grid; gap: 0; }
.process-step { border-top: 1px solid var(--border); counter-increment: step; display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 28px 0; }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step::before { color: var(--secondary); content: '0' counter(step); font-weight: 600; letter-spacing: 0.08em; }
.process-step h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 6px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-details { display: grid; gap: 20px; margin-top: 34px; }
.form-panel { border: 1px solid var(--border); padding: 38px; }
.form-panel h2 { font-size: 2rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 7px; text-transform: uppercase; }
input, textarea, select {
  border: 1px solid var(--soft-border);
  color: var(--text);
  font: inherit;
  margin-bottom: 16px;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); outline: none; }

/* Footer */
.site-footer { background: var(--primary-hover); color: white; padding: 48px 0; }
.footer-inner { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
.footer-brand h3 { color: white; font-size: 1.45rem; margin-bottom: 4px; }
.footer-brand p { color: rgba(255,255,255,0.74); font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.82); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: white; }

/* Mobile and tablet refinement layer */
.nav-toggle,
.nav-toggle-label { display: none; }

@media (max-width: 950px) {
  :root { --section-padding: 78px; }

  .hero { min-height: 600px; padding: 132px 0 78px; }
  .hero h1 { font-size: clamp(2.35rem, 8vw, 3.4rem); max-width: 13ch; }
  .hero-copy { font-size: 1.03rem; max-width: 38rem; }

  .positioning-inner,
  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sector-list { text-align: left; }

  .two-column,
  .split-panel,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .section-header { max-width: 720px; }
  .text-block { padding: 38px; }
  .split-image { min-height: 330px; }
  .split-image img { height: 330px; object-position: center; }

  .proof-grid,
  .cluster-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .container,
  .nav-inner,
  .footer-inner { width: min(100% - 36px, var(--max-width)); }

  .site-nav { position: fixed; }
  .nav-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    min-height: 66px;
    padding: 0;
  }

  .logo { font-size: 1.28rem; max-width: calc(100% - 58px); }

  .nav-toggle { display: block; height: 1px; opacity: 0; position: absolute; width: 1px; }
  .nav-toggle-label {
    align-items: center;
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    margin-left: auto;
    width: 44px;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    background: var(--primary);
    content: '';
    display: block;
    height: 2px;
    position: relative;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 20px;
  }

  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }

  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    border-top: 1px solid var(--soft-border);
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
    padding: 10px 0 16px;
    width: 100%;
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .nav-links a {
    border-bottom: 1px solid rgba(63, 61, 53, 0.08);
    display: block;
    font-size: 0.84rem;
    padding: 13px 0;
    width: 100%;
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    padding: 13px 16px;
    text-align: center;
  }

  .page-hero { padding: 118px 0 62px; }
  .page-hero h1,
  .section-header h2,
  .text-block h2 { font-size: clamp(1.95rem, 7vw, 2.45rem); }

  .section { padding: 72px 0; }
  .section-tight { padding: 64px 0; }

  .button-row { gap: 12px; }
  .button { min-height: 50px; padding: 13px 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.68; }

  .container,
  .nav-inner,
  .footer-inner { width: min(100% - 30px, var(--max-width)); }

  .section { padding: 64px 0; }
  .section-tight { padding: 58px 0; }
  .section-header { margin-bottom: 34px; }
  .section-header p,
  .page-hero p,
  .lead-copy,
  .hero-copy { max-width: 34rem; }

  .hero {
    background-position: center center;
    min-height: 540px;
    padding: 116px 0 62px;
  }

  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.65rem); max-width: 11ch; }
  .hero-copy { margin-top: 16px; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 14px; }

  .page-hero { padding: 112px 0 54px; }

  .positioning-strip { padding: 22px 0; }
  .positioning-inner { gap: 10px; }
  .sector-list { font-size: 0.92rem; line-height: 1.7; }

  .button-row,
  .button,
  .cta-section .button { width: 100%; }

  .proof-grid,
  .cluster-grid,
  .mini-grid,
  .sector-grid,
  .form-row { grid-template-columns: 1fr; }

  .cluster-grid,
  .sector-grid,
  .proof-grid { gap: 22px; }

  .split-panel { border-left: none; border-right: none; margin-inline: -15px; }
  .text-block { padding: 30px 15px; }
  .split-image { min-height: 300px; }
  .split-image img { height: 300px; }

  .service-item { padding: 24px 0; }
  .service-item h3,
  .proof-point h3,
  .sector-card h3,
  .contact-card h3 { font-size: 1.32rem; }

  .process-step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }

  .form-panel,
  .cluster-card,
  .sector-card,
  .contact-card { padding: 24px; }

  input,
  textarea,
  select {
    font-size: 16px;
    min-height: 52px;
    padding: 13px 14px;
  }

  textarea { min-height: 140px; }

  .cta-section { padding: 58px 0; }
  .cta-inner { gap: 24px; }

  .site-footer { padding: 42px 0; }
  .footer-inner { align-items: flex-start; gap: 24px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-links a { padding: 4px 0; }
}

@media (max-width: 430px) {
  .logo { font-size: 1.17rem; }
  .hero { min-height: 515px; }
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1,
  .section-header h2,
  .text-block h2 { font-size: 2rem; }
  .statement-band { padding: 62px 0; }
}
/* FINAL MOBILE FIX — split-panel image sections */
@media (max-width: 768px) {
  .split-panel {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .split-image {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    display: block;
  }

  .split-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
  }

  .image-journey img,
  .image-canyon-path img {
    object-position: center center;
  }
}
/* Mailing List */
.mailing-section {
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
  background: var(--background);
}

.mailing-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.mailing-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  max-width: 620px;
  margin-bottom: 14px;
}

.mailing-copy p {
  color: rgba(63, 61, 53, 0.84);
  max-width: 620px;
}

.mailing-form {
  border: 1px solid var(--border);
  padding: 30px;
}

.mailing-form .form-row {
  margin-bottom: 14px;
}

.mailing-form input {
  margin-bottom: 0;
}

.mailing-form button {
  width: 100%;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(63, 61, 53, 0.86);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 4px 0 20px;
  text-transform: none;
}

.checkbox-line input {
  flex: 0 0 auto;
  margin: 4px 0 0;
  min-height: auto;
  width: auto;
}

.text-link {
  color: var(--primary);
  display: inline-block;
  font-weight: 600;
  margin-top: 14px;
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mailing-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mailing-form {
    padding: 24px;
  }

  .mailing-form .form-row {
    grid-template-columns: 1fr;
  }
}
.footer-mailing-link {
  border: 1px solid var(--secondary);
  color: var(--secondary) !important;
  padding: 9px 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.footer-mailing-link:hover {
  background: var(--secondary);
  color: white !important;
  border-color: var(--secondary);
}
/* Footer mailing list CTA */
.footer-links .footer-cta {
  border: 1px solid var(--secondary);
  color: var(--secondary) !important;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.footer-links .footer-cta:hover {
  background: var(--secondary);
  color: white !important;
  border-color: var(--secondary);
}
