:root {
  --bg: #F6F3EC;
  --bg-alt: #EEE9DD;
  --ink: #1A1A1A;
  --ink-soft: #555049;
  --accent: #8B6F47;
  --line: #D9D2C2;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #9E9289;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.nav nav a { color: #1A1A1A; }
.nav nav a:hover { color: #fff; }
.nav-cta { border-color: #1A1A1A; }
.nav-cta:hover { background: #1A1A1A; color: #9E9289 !important; }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}
.brand img { height: 38px; width: auto; display: block; }
.brand-img { height: 44px; width: auto; display: block; margin-bottom: 8px; }
.nav nav { display: flex; gap: 24px; align-items: center; }
.nav nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav nav a:hover { color: var(--accent); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* hero */
.hero {
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--line);
}
.hero-image {
  background-image: linear-gradient(rgba(15,17,20,0.55), rgba(15,17,20,0.78)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #F4EFE3;
  border-bottom: none;
  padding: 140px 0 160px;
}
.hero-image .eyebrow { color: #D9B782; }
.hero-image h1 { color: #F4EFE3; }
.hero-image h1 em { color: #D9B782; }
.hero-image .lede { color: #D9D2C2; }
.hero-image .btn { background: #D9B782; border-color: #D9B782; color: #1A1A1A; }
.hero-image .btn:hover { background: #F4EFE3; border-color: #F4EFE3; }
.hero-image .btn-ghost { background: transparent; color: #F4EFE3; border-color: #F4EFE3; }
.hero-image .btn-ghost:hover { background: #F4EFE3; color: #1A1A1A; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 24px;
}
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 28px;
}
h1 em { color: var(--accent); font-style: italic; font-weight: 500; }
.lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 640px;
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* sections */
.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #F4EFE3;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-image .section-num { color: #D9B782; }
.section-image .section-tag { color: #F4EFE3; }
.section-image h2 { color: #F4EFE3; }
.section-image .section-lede { color: #D9D2C2; }
.section-image .logos-label { color: #BDB5A4; }
.section-image .capability-grid { border-top-color: rgba(255,255,255,0.18); }
.section-image .capability-grid li { border-bottom-color: rgba(255,255,255,0.18); }
.section-image .capability-grid li:nth-child(odd) { border-right-color: rgba(255,255,255,0.18); }
.section-image .capability-grid strong { color: #F4EFE3; }
.section-image .capability-grid span { color: #BDB5A4; }
.section-image .logos-strip img { filter: brightness(0) invert(1); opacity: 0.85; }
.section-image .logos-strip img:hover { opacity: 1; }
.two-col { display: grid; grid-template-columns: 180px 1fr; gap: 80px; align-items: start; }
.col-label { position: sticky; top: 100px; }
.section-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 6px;
}
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.col-body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 20px;
  max-width: 720px;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 680px;
  line-height: 1.55;
}

/* capabilities grid */
.capability-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.capability-grid li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  padding-right: 32px;
}
.capability-grid li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; }
.capability-grid li:nth-child(even) { padding-left: 32px; }
.capability-grid strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}
.capability-grid span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

/* stat */
.stat {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.stat-num {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 44px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.section-alt .stat { background: var(--bg); }
.link-arrow {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--accent); }

/* logo strips */
.logos-label {
  margin: 40px 0 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink-soft);
}
.logos-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.logos-strip li {
  display: flex;
  align-items: center;
  height: 56px;
}
.logos-strip img {
  max-height: 44px;
  max-width: 240px;
  width: auto;
  height: 44px;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.82;
  transition: opacity 0.2s, filter 0.2s;
}
.logos-strip img:hover { filter: grayscale(0); opacity: 1; }

/* contact */
.section-contact { background: var(--ink); color: var(--bg); border-bottom: none; }
.section-contact .eyebrow,
.section-contact h2 em { color: #C9A776; }
.section-contact h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--bg);
}
.section-contact .section-lede { color: #BDB5A4; }
.contact-head { max-width: 680px; margin-bottom: 56px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label.full { grid-column: span 2; }
.contact-form span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #BDB5A4;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #4A453E;
  color: var(--bg);
  font-family: inherit;
  font-size: 17px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: #C9A776; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn {
  background: #C9A776;
  border-color: #C9A776;
  color: var(--ink);
  grid-column: span 2;
  justify-self: start;
  margin-top: 12px;
}
.contact-form .btn:hover { background: var(--bg); border-color: var(--bg); }
.contact-direct { margin-top: 36px; color: #BDB5A4; font-size: 15px; }
.contact-direct a { color: #C9A776; text-decoration: none; border-bottom: 1px solid #4A453E; padding-bottom: 1px; }

/* footer */
.footer { padding: 56px 0 40px; background: var(--bg); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-inner .brand { font-size: 18px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-self: end; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.muted { color: var(--ink-soft); margin: 4px 0 0; }
.small { font-size: 13px; grid-column: span 2; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* tighter nav for mid widths */
@media (max-width: 1080px) {
  .nav nav { gap: 18px; }
  .nav nav a { font-size: 13px; }
}

/* mobile */
@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 18px 22px; border-bottom: 1px solid var(--line); gap: 16px; align-items: flex-start; }
  .nav.open nav { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 70px 0; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .col-label { position: static; display: flex; gap: 16px; align-items: baseline; }
  .section-num { margin: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid li,
  .capability-grid li:nth-child(odd),
  .capability-grid li:nth-child(even) { border-right: none; padding: 20px 0; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label.full,
  .contact-form .btn { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  .small { grid-column: span 1; }
  .logos-strip { gap: 32px; }
  .logos-strip img { max-height: 36px; max-width: 130px; }
}
