@font-face {
  font-family: "Aileron";
  src: url("../fonts/aileron-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Telegraf";
  src: url("../fonts/telegraf.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F3EBDD;
  --sage: #D7DED6;
  --gold: #B7A678;
  --green: #2F5F4F;
  --wash: #F6F6F6;
  --display: "Telegraf", "Outfit", sans-serif;
  --body: "Aileron", "Montserrat", sans-serif;
  --ui: "Montserrat", sans-serif;
  --button: "Play", "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (max-width: 1099px) {
  html { scroll-padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(48px, 6vw, 76px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: 28px; line-height: 1.1; }

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.section-label { display: none; }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.logo img { width: 180px; height: auto; }

.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--ui);
  font-size: 15px;
}

.site-nav a { text-decoration: none; }

.menu-toggle { display: none; }

.hero { padding-bottom: 48px; }

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.hero-photo {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo img { width: 100%; height: 520px; object-fit: cover; }

.pill, .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #F3EBDD;
  font-family: var(--button);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.band { padding: 56px 0; }

.perspective-grid, .about-grid, .contact-grid, .insights-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.contour { width: 220px; height: auto; }

.banner {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 0;
  display: flex;
  justify-content: flex-end;
}

.banner span {
  background: var(--green);
  color: var(--gold);
  font-family: var(--ui);
  padding: 14px 22px;
  max-width: 100%;
  min-width: 0;
}

.help-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.help-grid, .industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.help-card, .industry-card, .service-card {
  background: var(--wash);
  border-radius: 18px;
  overflow: hidden;
}

.help-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
}

.help-card div, .industry-card div, .service-card { padding: 22px; }

.help-card img, .industry-card img { width: 100%; height: 100%; object-fit: cover; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.center { text-align: center; margin-bottom: 28px; }

.card-top, .tags {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.v-mark { width: 46px; height: 32px; overflow: hidden; }

.v-mark img { width: 92px; height: 32px; object-fit: cover; object-position: left center; }

.eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.for-you, .tags { list-style: none; padding: 0; margin: 0; }

.for-you li { position: relative; padding-left: 1.1em; margin: 8px 0; }

.for-you li::before { content: "▸"; position: absolute; left: 0; }

.tags { justify-content: flex-start; flex-wrap: wrap; margin-top: 16px; }

.tags li {
  font-family: var(--ui);
  font-size: 13px;
  padding-right: 12px;
  border-right: 1px solid var(--sage);
}

.tags li:last-child { border-right: 0; }

.industry-card { display: grid; grid-template-columns: 1.15fr 0.85fr; background: var(--sage); }

.num { font-family: var(--ui); margin: 0 0 8px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-row p { margin: 0; }

.stat-row strong {
  display: block;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 500;
  line-height: 0.9;
}

.stat-row span {
  display: block;
  margin-top: 8px;
  font-family: var(--ui);
}

.insights-photo { width: 100%; height: 320px; object-fit: cover; object-position: right center; }

.narrow { max-width: 720px; }

.form-panel {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 8px;
}

.form-panel label {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-panel input, .form-panel textarea {
  width: 100%;
  border: 0;
  background: var(--sage);
  min-height: 44px;
  padding: 10px 12px;
  color: var(--green);
  font: inherit;
}

.form-note { min-height: 1.4em; margin: 0 0 8px; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.submit { width: 100%; background: var(--green); color: #F3EBDD; }

.site-footer {
  position: relative;
  overflow: hidden;
  background: #142E26;
  color: var(--cream);
  padding: 48px 0 52px;
}

.footer-brand, .footer-grid { position: relative; z-index: 1; }

.footer-brand { margin-bottom: 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.9fr;
  gap: 18px 32px;
  align-items: end;
  max-width: 920px;
}

.footer-grid a { white-space: nowrap; }

.footer-label {
  font-family: var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 6px;
}

.footer-mark-slot {
  position: absolute;
  top: 46%;
  width: min(680px, 56vw);
  right: max(-40px, calc((100% - 1100px) / 2 - 40px));
  transform: translateY(-50%);
  pointer-events: none;
}

.footer-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.footer-watermark {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.social { display: flex; gap: 10px; margin: 0; }

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--cream);
  color: #142E26;
  border-radius: 8px;
  text-decoration: none;
}

.social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-tear {
  display: block;
  width: 100%;
  height: 120px;
  margin-top: -1px;
  margin-bottom: -120px;
  position: relative;
  z-index: 2;
}

.footer-photo { position: relative; z-index: 1; }

.footer-photo img { width: 100%; height: 460px; object-fit: cover; object-position: center 42%; display: block; }

.partner-line {
  position: absolute;
  right: max(88px, calc((100% - 1100px) / 2));
  bottom: 16px;
  z-index: 3;
  margin: 0;
  font-family: var(--ui);
  font-size: 12px;
  color: var(--cream);
}

.partner-line a { color: var(--cream); }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 0 0 2px var(--cream), 0 8px 22px rgba(20, 46, 38, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .to-top { transition: opacity 0.25s ease, transform 0.25s ease; }
}

.agent-verify {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1099px) {
  .site-header { position: sticky; top: 0; z-index: 30; background: var(--cream); }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    font-family: var(--ui);
  }
  .header-bar { flex-wrap: wrap; padding: 8px 0; }
  .logo img { width: 150px; height: 34px; object-fit: cover; object-position: center; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 12px; padding-bottom: 16px; }
  .hero-grid, .service-grid, .perspective-grid, .about-grid, .contact-grid, .insights-layout, .help-head, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo { clip-path: none; }
  .hero-photo img, .insights-photo, .footer-photo img { height: auto; }
  .footer-grid { max-width: none; }
  .footer-mark-slot { width: min(240px, 42vw); right: -14%; }
}

@media (max-width: 699px) {
  h1 { font-size: 40px; }
  .help-grid, .industry-grid, .stat-row, .help-card, .industry-card { grid-template-columns: 1fr; }
  .stat-row strong { font-size: 56px; }
  .help-card img, .industry-card img { height: 220px; }
  .banner { justify-content: stretch; }
  .banner span { display: block; }
  .footer-grid a { white-space: normal; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-photo {
    animation: rise 0.8s ease both;
  }
  .hero-photo { animation-delay: 0.12s; }
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .submit, .menu-toggle, .site-nav a { transition: transform 0.2s ease, opacity 0.2s ease; }
  .submit:hover, .menu-toggle:hover { transform: translateY(-1px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
