:root {
  --bg: #050608;
  --bg-soft: #0f141d;
  --panel: rgba(10, 14, 20, 0.82);
  --panel-strong: rgba(15, 20, 29, 0.78);
  --text: #f3efe9;
  --muted: #b8b1a7;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #3591de;
  --gold: #d4a93e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(53, 145, 222, 0.17), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(212, 169, 62, 0.12), transparent 24%),
    linear-gradient(180deg, #08090d 0%, #050608 46%, #0b0f16 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 80%);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 28px;
}

.topbar__logo {
  width: 180px;
  max-width: 42vw;
}

.topbar__cta {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0 50px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow__accent {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 9ch;
  font-size: clamp(2.56rem, 6.4vw, 5.28rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__text {
  max-width: 62ch;
  margin: 26px 0 0;
  font-size: 1.05rem;
}

.hero__actions,
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button--primary {
  color: #06101a;
  background: linear-gradient(135deg, #f0c55f, var(--gold));
  box-shadow: 0 14px 40px rgba(212, 169, 62, 0.22);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero__highlights {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero__highlights li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 145, 222, 0.25);
  background: rgba(53, 145, 222, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  padding-bottom: 28px;
}

.hero__visual img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__card {
  position: absolute;
  left: -24px;
  bottom: -18px;
  width: min(320px, 78%);
  padding: 22px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero__card-label,
.process span {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero__card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
}

.hero__card p {
  margin: 10px 0 0;
}

.stats,
.process,
.services,
.insights {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats article,
.process article,
.services article,
.insights__list article,
.insights__panel,
.cta {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stats article {
  overflow: hidden;
}

.stats article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.section {
  padding: 90px 0 0;
}

.section__intro {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section__intro p {
  max-width: 68ch;
  margin: 0;
}

.process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process article {
  min-height: 230px;
}

.process article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-top: 16px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process h3,
.services h3,
.insights__list h3 {
  margin-top: 14px;
  margin-bottom: 10px;
}

.section--accent .section__intro h2 {
  max-width: 14ch;
}

.services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services article {
  overflow: hidden;
}

.services article img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insights {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.insights__panel {
  height: 100%;
}

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

.insights__list article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.insights__list article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insights__list article p {
  margin-top: 0;
}

.cta {
  margin-top: 90px;
  padding: 36px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(53, 145, 222, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(212, 169, 62, 0.18), rgba(15, 20, 29, 0.96));
}

.cta h2 {
  max-width: 14ch;
  margin: 0 auto;
}

.cta p {
  max-width: 60ch;
  margin: 18px auto 0;
}

.cta .button {
  margin-top: 26px;
}

.cta__email-card {
  width: min(440px, 100%);
  margin: 22px auto 0;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cta__email-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta__email-link {
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}

.cta__email-link:hover {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 34px;
  padding: 22px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.error-page {
  padding-top: 18px;
}

.error-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  min-height: 68vh;
}

.error-hero__copy h1 {
  max-width: 9ch;
}

.error-hero__panel {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 72% 24%, rgba(212, 169, 62, 0.16), transparent 22%),
    radial-gradient(circle at 18% 78%, rgba(53, 145, 222, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(8, 11, 17, 0.95), rgba(10, 14, 20, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.error-hero__card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(15, 20, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.error-hero__card strong {
  display: block;
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
}

.error-hero__card p {
  margin: 12px 0 0;
}

.error-hero__lines {
  position: absolute;
  inset: 0;
}

.error-hero__lines span {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.error-hero__lines span:nth-child(1) {
  top: 24%;
  left: 8%;
  width: 56%;
}

.error-hero__lines span:nth-child(2) {
  top: 42%;
  right: 12%;
  width: 42%;
}

.error-hero__lines span:nth-child(3) {
  top: 61%;
  left: 16%;
  width: 48%;
}

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

.error-support article {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.error-support strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.error-support a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.error-support a:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(10, 14, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal__status {
  display: block;
  min-height: 1.4em;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.95rem;
}

.modal__title {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.modal__form {
  display: grid;
  gap: 18px;
}

.modal__field {
  display: grid;
  gap: 10px;
}

.modal__field span {
  color: var(--text);
  font-weight: 700;
}

.modal__field input,
.modal__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.modal__field textarea {
  resize: vertical;
  min-height: 150px;
}

.modal__field input:focus,
.modal__field textarea:focus {
  border-color: rgba(53, 145, 222, 0.7);
  box-shadow: 0 0 0 3px rgba(53, 145, 222, 0.14);
}

.modal__submit {
  justify-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .hero,
  .insights,
  .error-hero {
    grid-template-columns: 1fr;
  }

  .stats,
  .process,
  .services,
  .insights__list,
  .error-support {
    grid-template-columns: 1fr;
  }

  .hero__card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

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

  .topbar__logo {
    width: 160px;
    max-width: 72vw;
  }

  .hero {
    padding-top: 12px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.1rem);
  }

  .stats article,
  .process article,
  .services article,
  .insights__panel,
  .insights__list article,
  .cta,
  .modal__dialog {
    padding: 22px;
  }

  .site-footer {
    padding-top: 18px;
  }

  .error-hero {
    min-height: auto;
  }

  .error-hero__panel {
    min-height: 320px;
  }
}
