:root {
  --blue: #2c82c9;
  --orange: #c9462c;
  --paper: #efeee9;
  --ink: #16212a;
  --dark: #112734;
  --white: #ffffff;
  --line: rgba(22, 33, 42, .13);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(23, 42, 54, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-light { background: #f8f7f3; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 238, 233, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22,33,42,.08);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 2rem; font-weight: 800; letter-spacing: -.07em; }
.brand span { color: var(--orange); }
nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 600; }
nav a { opacity: .78; }
nav a:hover { opacity: 1; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px; }

.hero { min-height: 82vh; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}
.eyebrow.inverse { color: #9fd2f5; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 820px; font-size: clamp(3.15rem, 7vw, 6.4rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.lead { max-width: 720px; font-size: clamp(1.12rem, 1.7vw, 1.42rem); color: #42525c; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(44,130,201,.25); }
.button.ghost { border: 1px solid var(--ink); }
.button.light { color: var(--dark); background: white; }
.dark-border { margin-top: 12px; }

.card-image {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.card-image img { aspect-ratio: 4 / 5; object-fit: cover; }

.section-heading { max-width: 840px; margin-bottom: 48px; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(23,42,54,.05);
}
.image-box { background: #e8e8e2; overflow: hidden; }
.image-box img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .image-box img { transform: scale(1.025); }
.card-body { padding: 28px; }
.number { display: inline-block; margin-bottom: 26px; color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.service-card p { color: #52616a; }
.text-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; }
.accent-card { border-top: 4px solid var(--orange); }

.section-dark { background: var(--dark); color: white; }
.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: start; }
.muted { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 560px; }
.work-grid { display: grid; gap: 20px; }
.work-card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
}
.work-card p { color: rgba(255,255,255,.72); }
.work-card a { color: #9fd2f5; font-weight: 700; }
.tag {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-copy { max-width: 680px; font-size: 1.12rem; color: #44535c; }

.cta-section { padding-top: 30px; }
.cta-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(36px, 7vw, 80px);
  border-radius: 30px;
  color: white;
  background: var(--blue);
}
.cta-card h2 { max-width: 820px; margin-bottom: 0; }

.site-footer { padding: 42px 0 56px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-grid p { margin: 0; color: #6b777e; font-size: .9rem; }
.footer-grid > a:last-child { color: var(--blue); font-weight: 700; font-size: .9rem; }
.footer-brand { font-size: 1.55rem; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding-top: 86px; }
  .hero-grid, .split, .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-art { max-width: 620px; }
  .cards.three { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: minmax(220px, .7fr) 1fr; }
  .image-box img { height: 100%; aspect-ratio: auto; }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .site-header .nav { min-height: 66px; }
  .brand { font-size: 1.65rem; }
  .nav-cta { padding: 9px 14px; }
  h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .section { padding: 62px 0; }
  .service-card { display: block; }
  .image-box img { aspect-ratio: 16 / 10; }
  .card-body, .work-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
