@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&display=swap');

:root {
  --ink: #101317;
  --ink-2: #1b2027;
  --muted: #68717d;
  --line: rgba(16, 19, 23, 0.12);
  --paper: #f7f3ea;
  --paper-2: #ebe4d6;
  --white: #fffdf7;
  --forest: #18433b;
  --forest-2: #0d2d28;
  --gold: #c7923f;
  --green: #2aa875;
  --clay: #a64f35;
  --blue: #315f7c;
  --shadow: 0 24px 70px rgba(16, 19, 23, 0.16);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.nav {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 18px 0;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  padding: 12px 0;
}
.nav-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -.015em;
}
.brand-symbol {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  filter: drop-shadow(0 10px 18px rgba(13, 45, 40, .18));
}
.brand-word {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.025em;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; color: rgba(16,19,23,.72); font-size: 14px; font-weight: 650; }
.nav-links a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); border-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 68px 20px auto;
  z-index: 45;
  display: none;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: grid; gap: 8px; }
.mobile-menu a { padding: 12px; border-radius: 7px; font-weight: 700; }
.mobile-menu a:hover { background: var(--paper); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-2); }
.btn-outline { border-color: rgba(16,19,23,.22); color: var(--ink); }
.btn-outline:hover { border-color: var(--forest); background: rgba(24,67,59,.06); }
.btn-light { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.08); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.kicker:before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1, h2, h3 { letter-spacing: -.035em; line-height: .98; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(54px, 8vw, 112px); max-width: 930px; }
h2 { font-size: clamp(38px, 5vw, 70px); }
h3 { font-size: 25px; }
.lead { color: rgba(16,19,23,.72); font-size: clamp(18px, 2vw, 22px); max-width: 720px; }
.muted { color: var(--muted); }

.hero {
  min-height: 100vh;
  padding: 118px 0 36px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-2);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; }
.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,29,26,.94) 0%, rgba(9,29,26,.78) 42%, rgba(9,29,26,.18) 74%),
    linear-gradient(0deg, rgba(9,29,26,.84), transparent 42%);
}
.hero .container { position: relative; z-index: 1; }
.hero-top { max-width: 1000px; }
.hero .kicker { color: rgba(255,255,255,.72); }
.hero-copy { margin-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-copy .lead { color: rgba(255,255,255,.72); max-width: 510px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  overflow: hidden;
}
.metric { padding: 22px; border-right: 1px solid rgba(255,255,255,.14); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.metric span { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font-size: 13px; }
.market-note {
  margin-top: 18px;
  max-width: 740px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.statement {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.proof { background: var(--white); padding: 28px; min-height: 190px; }
.proof strong { display: block; font-size: 38px; letter-spacing: -.04em; color: var(--forest); }
.proof span { display: block; margin-top: 10px; color: var(--muted); }

.dark { background: var(--ink); color: var(--white); }
.dark .kicker { color: rgba(255,255,255,.7); }
.dark .lead, .dark .muted { color: rgba(255,255,255,.64); }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.dark .card { background: #171d23; border-color: rgba(255,255,255,.1); }
.card-body { padding: 27px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.dark .card p { color: rgba(255,255,255,.62); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 750; color: var(--forest); background: rgba(24,67,59,.05); }
.dark .tag { border-color: rgba(255,255,255,.14); color: #d7b06c; background: rgba(255,255,255,.04); }
.image-card img { aspect-ratio: 4 / 3; object-fit: cover; }

.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.work-main img { aspect-ratio: 16 / 10; object-fit: cover; }
.work-side { display: grid; gap: 16px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.case-meta span { font-size: 12px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; }
.step { padding: 28px; background: #121820; min-height: 230px; }
.step b { color: var(--gold); }
.step h3 { margin: 28px 0 12px; }

.quote {
  background: var(--forest);
  color: var(--white);
  padding: 72px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.quote p { font-family: var(--serif); font-size: clamp(31px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -.035em; max-width: 900px; }
.quote footer { margin-top: 26px; color: rgba(255,255,255,.65); font-weight: 700; }

.page-hero { padding: 150px 0 72px; background: var(--paper-2); }
.page-hero .lead { margin-top: 22px; }
.page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; }
.list { display: grid; gap: 14px; }
.list li { list-style: none; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.list strong { color: var(--ink); display: block; margin-bottom: 4px; }
.service-row { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .num { color: var(--gold); font-weight: 850; }

.form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }

.insight-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.insight { display: grid; grid-template-columns: 180px 1fr auto; gap: 22px; align-items: center; background: var(--white); padding: 26px; }
.insight time { color: var(--gold); font-weight: 850; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.insight h3 { margin-bottom: 8px; }

.footer { background: #0d1217; color: var(--white); padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { margin-bottom: 15px; }
.footer a, .footer p { color: rgba(255,255,255,.62); }
.footer a:hover { color: var(--white); }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 24px; color: rgba(255,255,255,.48); font-size: 13px; }

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-btn { display: block; }
  .hero { min-height: auto; padding-top: 118px; }
  .hero-copy, .split-head, .footer-bottom { display: block; }
  .hero-copy .lead { margin-top: 22px; }
  .hero-panel, .cards, .proof-grid, .process, .footer-grid, .intro-grid, .work-grid, .page-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .metric:last-child { border-bottom: 0; }
  .section { padding: 70px 0; }
  .quote { padding: 42px 24px; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .insight { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container, .nav-inner { width: min(100% - 28px, 1180px); }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .page-hero { padding-top: 122px; }
}
