:root {
  --bg: #eef4fb;
  --bg-strong: #ffffff;
  --text: #0d1b2d;
  --muted: #62758d;
  --line: rgba(13, 27, 45, 0.1);
  --accent: #1d6df2;
  --accent-2: #4fd1ff;
  --hero-bg: #091729;
  --hero-bg-2: #10233d;
  --hero-text: #f3f8ff;
  --hero-muted: #9fb5cf;
  --shell: min(1180px, calc(100vw - 32px));
  --radius: 28px;
  --shadow: 0 24px 80px rgba(12, 28, 47, 0.08);
  --shadow-strong: 0 32px 100px rgba(4, 17, 32, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 209, 255, 0.16), transparent 24%),
    radial-gradient(circle at 86% 9%, rgba(29, 109, 242, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 54%, #e8f0fa 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(11,26,44,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,26,44,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 22px 0 28px;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.brand, h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
.brand {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: lowercase;
}
.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid rgba(13, 27, 45, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(10px);
}
.hero-grid,
.service-grid,
.method,
.contact {
  display: grid;
  gap: 18px;
}
.hero-grid { grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.hero-copy {
  padding: 34px;
  min-height: 600px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at top right, rgba(79, 209, 255, 0.16), transparent 24%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-media {
  overflow: hidden;
  padding: 16px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(238,244,251,.92) 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
}
h1 {
  margin: 0;
  max-width: 9.8ch;
  font-size: clamp(3rem, 5.7vw, 5.1rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 700;
  text-wrap: balance;
}
h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.85rem, 3.1vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}
h3 {
  margin: 0;
  font-size: 1.08rem;
}
.lead, .service p, .contact p { color: var(--muted); line-height: 1.85; }
.hero-copy .eyebrow { color: var(--accent-2); }
.hero-copy h1 { color: var(--hero-text); }
.hero-copy .lead { color: var(--hero-muted); max-width: 41ch; }
.hero-copy .lead { max-width: 44ch; }
.story .lead,
.contact .lead { max-width: 38ch; }
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .95rem 1.32rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #3b8dff);
  box-shadow: 0 14px 36px rgba(29, 109, 242, 0.22);
}
.ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--hero-text);
}
.section { margin-top: 24px; }
.section-head { margin-bottom: 18px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid rgba(29, 109, 242, 0.18);
}
.no {
  display: inline-block;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.image-service {
  padding: 0;
  overflow: hidden;
}
.image-service img,
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.method { grid-template-columns: .8fr 1.2fr; }
.story {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(244,248,253,.92) 100%);
}
.story-media {
  overflow: hidden;
  min-height: 360px;
}
.contact {
  grid-template-columns: .88fr 1.12fr;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(244,248,253,.9) 100%);
}
.form { display: grid; gap: 14px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: var(--text);
  border-radius: 16px;
  padding: .95rem 1rem;
  font: inherit;
}
textarea { resize: vertical; }
.submit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.reveal { opacity: 0; transform: translateY(14px); transition: .42s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-grid, .service-grid, .method, .contact, .row.two { grid-template-columns: 1fr; }
  .hero-copy,
  .hero-media { min-height: 360px; }
}
