:root{
  --bg:#f6f2ec;          /* warm off-white */
  --paper:#ffffff;
  --ink:#0b0f17;         /* near-black */
  --muted:rgba(11,15,23,.72);
  --line:rgba(11,15,23,.12);
  --soft:rgba(11,15,23,.06);

  --radius:18px;
  --radius-lg:26px;
  --shadow:0 18px 60px rgba(11,15,23,.14);

  --max:1120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
}

a{color:inherit;text-decoration:none;}
.container{max-width:var(--max);margin:0 auto;padding:0 18px;}
img{max-width:100%;display:block;}

.muted{color:var(--muted);}
.eyebrow{
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  margin:0 0 10px;
}
.lead{
  font-size:18px;
  line-height:1.55;
  color:var(--muted);
  margin:0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:transparent;
  font-weight:900;
  letter-spacing:.01em;
  transition:transform .12s ease, background .12s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}

.btn-primary{
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
}
.btn-primary:hover{background:#111827;}
.btn-ghost{
  background:rgba(255,255,255,.65);
}
.btn-full{width:100%;}

/* HEADER */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(246,242,236,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{display:flex;align-items:center;gap:12px;}
.brand-logo{
  height:44px;
  width:auto;
}
.nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.nav a{
  font-weight:900;
  color:rgba(11,15,23,.78);
}
.nav a:hover{color:var(--ink);}
.nav a.active{
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:6px;
}
.nav-cta{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.65);
}

/* HERO (Home) */
.hero{padding:18px 0 0;}
.hero-media{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-media img{
  width:100%;
  height:min(520px, 62vh);
  object-fit:cover;
}
.hero-content{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:18px;
  align-items:start;
  margin-top:-92px; /* pull content over image */
  padding-bottom:22px;
}
.hero-copy{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:26px;
  box-shadow:var(--shadow);
}
.hero-copy h1{
  font-size:46px;
  line-height:1.03;
  margin:0 0 10px;
}
.hero-copy .lead{margin:0 0 18px;}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px;}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:rgba(11,15,23,.70);
  font-weight:800;
  font-size:13px;
}
.trust-row span{
  background:var(--soft);
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
}

/* Proposal card */
.proposal-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow);
}
.proposal-card h2{margin:0 0 6px;font-size:18px;}
.proposal-card p{margin:0 0 14px;line-height:1.55;}
.mini{font-size:13px;color:var(--muted);margin-top:10px;}
.mini a{font-weight:900;text-decoration:underline;text-underline-offset:5px;}

/* Forms */
.proposal-form label{
  display:block;
  font-weight:900;
  font-size:12.5px;
  color:rgba(11,15,23,.78);
  margin-bottom:10px;
}
.proposal-form input,
.proposal-form textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(11,15,23,.03);
  font:inherit;
  outline:none;
}
.proposal-form input:focus,
.proposal-form textarea:focus{
  background:rgba(11,15,23,.02);
  border-color:rgba(11,15,23,.26);
}
.proposal-form .two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.proposal-form button{margin-top:6px;}

/* Sections */
.section{padding:64px 0;}
.section-alt{
  background:rgba(255,255,255,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.section-head h2{margin:0;font-size:28px;}
.section-head p{margin:0;max-width:560px;}

/* Cases */
.cases{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.case{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(11,15,23,.10);
}
.case img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-bottom:1px solid var(--line);
}
.case-body{padding:14px 14px 16px;}
.case-body h3{margin:0 0 6px;font-size:15.5px;}
.case-body p{margin:0;line-height:1.55;font-size:13.5px;}

/* Capabilities grid */
.cap-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.cap-grid-2{grid-template-columns:repeat(2, 1fr);}
.cap{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(11,15,23,.10);
}
.cap img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-bottom:1px solid var(--line);
}
.cap h3{margin:12px 14px 6px;font-size:15.5px;}
.cap p{margin:0 14px 14px;line-height:1.55;font-size:13.5px;color:var(--muted);}
.mini-list{
  margin:0 14px 16px 18px;
  padding:0;
  color:var(--muted);
  line-height:1.55;
  font-size:13.5px;
}
.section-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* Steps */
.steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.steps li{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
.steps h3{margin:0 0 6px;font-size:15px;}
.steps p{margin:0;color:var(--muted);line-height:1.55;font-size:13.5px;}

/* Page hero */
.page-hero{padding:34px 0 10px;}
.page-hero-inner{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:26px;
  box-shadow:var(--shadow);
}
.page-hero-inner h1{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.06;
}

/* About editorial */
.editorial-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:18px;
  align-items:start;
}
.editorial-copy h2{margin:0 0 8px;font-size:20px;}
.editorial-copy p{margin:0 0 16px;line-height:1.7;}
.bullets{margin:0;padding-left:18px;color:var(--muted);line-height:1.7;}
.editorial-media img{
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.caption{margin-top:10px;font-size:13px;line-height:1.55;}

.ops-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:18px;
  align-items:center;
}
.ops-media img{
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 0;
}
.chips span{
  background:var(--soft);
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12.5px;
  color:rgba(11,15,23,.78);
}

/* Services start block */
.start-grid{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:18px;
  align-items:center;
}
.start-cta{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}

/* Contact page */
.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:18px;
  align-items:start;
}
.contact-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow);
}
.contact-aside{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow);
}
.contact-lines{display:grid;gap:12px;margin-top:14px;color:var(--muted);line-height:1.6;}
.aside-cta{margin-top:16px;}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:rgba(255,255,255,.55);
}
.footer-inner{
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
}
.footer-brand{font-weight:900;margin-bottom:6px;}
.footer-muted{color:var(--muted);line-height:1.6;font-size:13px;}

/* Responsive */
@media (max-width: 980px){
  .hero-content{grid-template-columns:1fr; margin-top:-40px;}
  .proposal-form .two{grid-template-columns:1fr;}
  .cases{grid-template-columns:1fr;}
  .cap-grid{grid-template-columns:1fr;}
  .cap-grid-2{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .editorial-grid{grid-template-columns:1fr;}
  .ops-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .start-grid{grid-template-columns:1fr;}
  .start-cta{justify-content:flex-start;}
  .hero-copy h1{font-size:36px;}
  .page-hero-inner h1{font-size:34px;}
}