:root {
  --bg: #f3f6fb;
  --panel: #f5f8fd;
  --panel-strong: #ffffff;
  --text: #162033;
  --muted: #66748f;
  --line: rgba(22, 32, 51, 0.08);
  --line-strong: rgba(22, 32, 51, 0.12);
  --accent: #285fdb;
  --accent-strong: #1b48b1;
  --accent-soft: rgba(40, 95, 219, 0.12);
  --shadow-out: 22px 22px 48px rgba(188, 199, 221, 0.5);
  --shadow-in: inset 10px 10px 22px rgba(223, 230, 244, 0.7), inset -10px -10px 22px rgba(255, 255, 255, 0.92);
  --shell: min(1220px, calc(100vw - 36px));
}

* { box-sizing: border-box; }
figure { margin: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(40, 95, 219, 0.08), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(19, 163, 127, 0.08), transparent 16%),
    linear-gradient(180deg, #f7f9fd 0%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.page-aura {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.aura-one {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(40, 95, 219, 0.14) 0%, rgba(40, 95, 219, 0) 72%);
}

.aura-two {
  width: 420px;
  height: 420px;
  right: -100px;
  top: 220px;
  background: radial-gradient(circle, rgba(19, 163, 127, 0.12) 0%, rgba(19, 163, 127, 0) 74%);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 24px 0 44px;
  position: relative;
  z-index: 1;
}

.hero-panel,
.focus-band,
.contact-panel {
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow-out), var(--shadow-in);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-panel {
  padding: 24px 24px 28px;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 20px;
}

.brand,
h1,
h2,
h3 {
  font-family: Outfit, sans-serif;
  letter-spacing: 0;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-nav {
  display: flex;
  gap: 22px;
}

.hero-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy,
.focus-copy,
.contact-copy {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 14px 20px 8px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--accent);
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  background: linear-gradient(135deg, #15203a 0%, #285fdb 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.focus-copy p,
.contact-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 56ch;
  margin: 18px 0 0;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 28px; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 28px rgba(40, 95, 219, 0.22);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.54);
  border-color: var(--line);
}

.button:hover { transform: translateY(-2px); }

.hero-visual,
.focus-media {
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.hero-visual {
  aspect-ratio: 4 / 3;
  position: relative;
  width: 100%;
}

.hero-visual img,
.focus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 24ch;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 18px rgba(193, 204, 226, 0.4);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.focus-band {
  margin-top: 22px;
  padding: 28px;
}

.section-heading {
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.focus-card {
  min-height: 250px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 255, 0.68));
  box-shadow: 14px 14px 30px rgba(194, 205, 226, 0.42), -12px -12px 24px rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 16px;
}

.focus-media {
  aspect-ratio: 16 / 10;
}

.focus-copy {
  padding: 0 6px 4px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.text-card {
  align-content: center;
}

.contact-panel {
  margin-top: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 28px;
}

.contact-copy h2 {
  margin: 0;
  max-width: 12ch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(40, 95, 219, 0.38);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: #ffffff;
}

textarea {
  min-height: 146px;
  resize: vertical;
}

.form-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.site-footer {
  margin-top: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms ease, transform 380ms ease;
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.tilt-card {
  will-change: transform;
  transition: transform 160ms ease;
}

@media (max-width: 980px) {
  .hero-grid,
  .focus-grid,
  .contact-panel,
  .row.two {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(1220px, calc(100vw - 18px));
    padding: 10px 0 28px;
  }

  .hero-panel,
  .focus-band,
  .contact-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav {
    gap: 16px;
  }

  .hero-visual figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    min-height: 0;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  h2 {
    max-width: none;
  }

  .button {
    width: 100%;
  }
}
