:root {
  --ink: #101318;
  --muted: #5c6874;
  --blue: #0a84ff;
  --line: rgba(255, 255, 255, 0.65);
  --glass: rgba(255, 255, 255, 0.43);
  --shadow: 0 20px 55px rgba(35, 67, 93, 0.13);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #eef8ff 0%, #f8f6ff 44%, #fff3ee 100%);
  min-height: 100vh;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.6;
  z-index: -1;
}
.orb.a {
  width: 42vw;
  height: 42vw;
  background: #bce7ff;
  top: -16vw;
  left: -10vw;
}
.orb.b {
  width: 37vw;
  height: 37vw;
  background: #eed2ff;
  right: -13vw;
  top: 29vh;
}
.orb.c {
  width: 29vw;
  height: 29vw;
  background: #ffe1b8;
  left: 36%;
  bottom: -11vw;
}
.shell {
  width: min(1240px, calc(100% - 42px));
  margin: auto;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
header {
  position: sticky;
  top: 16px;
  z-index: 10;
  height: 62px;
  border-radius: 22px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1.3px;
  text-decoration: none;
  color: var(--ink);
}
.brand b {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 25px;
}
nav a {
  font-size: 13px;
  color: #26333d;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  color: var(--blue);
}
.hero {
  padding: 132px 0 32px;
  text-align: center;
}
.tag,
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #467194;
}
.tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 99px;
}
.tag:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42c97b;
  box-shadow: 0 0 0 4px rgba(66, 201, 123, 0.16);
}
h1 {
  font-size: clamp(51px, 8vw, 105px);
  letter-spacing: -0.075em;
  line-height: 0.91;
  margin: 27px auto 27px;
  max-width: 960px;
}
.gradient {
  background: linear-gradient(120deg, #0a84ff, #6c5ce7 52%, #d775ab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.52;
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 99px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  color: white;
  background: linear-gradient(135deg, #168dff, #5967ed);
  box-shadow: 0 10px 20px rgba(30, 121, 239, 0.26);
}
.button.secondary {
  color: var(--ink);
}
.hero-photo {
  height: min(51vw, 580px);
  border-radius: 34px;
  overflow: hidden;
  margin-top: 58px;
  padding: 10px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}
.hero-photo {
  position: relative;
}
.hero-photo:after {
  content: "DSM CAPITAL  /  UNITED STATES";
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(15, 20, 25, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
section {
  padding: 105px 0;
}
.intro {
  max-width: 700px;
}
.intro h2 {
  font-size: clamp(38px, 5vw, 67px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin: 14px 0 22px;
}
.intro p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 43px;
}
.strategy {
  padding: 25px;
  border-radius: 25px;
  min-height: 280px;
  transition: transform 0.28s;
}
.strategy:hover,
.focus-card:hover {
  transform: translateY(-7px);
}
.num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.strategy h3 {
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  margin: 76px 0 13px;
}
.strategy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  margin: 0;
}
.focus-area {
  padding-top: 25px;
}
.focus-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.focus-head h2 {
  font-size: clamp(37px, 5vw, 64px);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 12px 0 0;
}
.focus-head p {
  margin: 0;
  max-width: 350px;
  line-height: 1.5;
  color: var(--muted);
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.focus-card {
  overflow: hidden;
  border-radius: 28px;
  padding: 9px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s;
}
.focus-card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.focus-copy {
  padding: 16px 10px 11px;
}
.focus-copy span {
  font-size: 11px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.focus-copy h3 {
  font-size: 23px;
  letter-spacing: -0.045em;
  margin: 7px 0;
}
.focus-copy p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.contact {
  padding-top: 110px;
  padding-bottom: 65px;
}
.contact-card {
  border-radius: 34px;
  padding: clamp(23px, 5vw, 64px);
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 7vw, 100px);
  background: linear-gradient(
    130deg,
    rgba(248, 255, 255, 0.7),
    rgba(238, 232, 255, 0.54)
  );
}
.contact-left h2 {
  font-size: clamp(42px, 5.8vw, 76px);
  letter-spacing: -0.075em;
  line-height: 0.91;
  margin: 16px 0 27px;
}
.contact-left img {
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 21px;
  display: block;
}
.contact-intro {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: #33424e;
}
form {
  display: grid;
  gap: 7px;
}
label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #557089;
  margin-top: 9px;
}
input,
textarea {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(85, 123, 154, 0.22);
  border-radius: 13px;
  padding: 13px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.hidden {
  position: absolute;
  left: -10000px;
}
.send {
  margin-top: 14px;
  justify-self: start;
}
.turnstile-wrap {
  margin-top: 18px;
  min-height: 65px;
}
.status {
  font-size: 13px;
  min-height: 20px;
  color: #326247;
}
.direct {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(78, 107, 128, 0.2);
}
.direct span {
  font-size: 11px;
  font-weight: 800;
  color: #557089;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.direct a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-top: 8px;
  text-decoration: none;
}
footer {
  padding: 21px 0 40px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
footer a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }
  header {
    top: 8px;
    margin-top: 8px;
    height: 56px;
    border-radius: 18px;
    padding: 0 16px;
  }
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 11px;
  }
  .hero {
    padding-top: 104px;
  }
  .hero-photo {
    height: 310px;
    margin-top: 38px;
    border-radius: 25px;
  }
  .hero-photo img {
    border-radius: 18px;
  }
  .hero-photo:after {
    left: 20px;
    bottom: 20px;
    font-size: 8px;
  }
  .strategy-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .strategy {
    min-height: 220px;
  }
  .strategy h3 {
    margin-top: 38px;
  }
  .focus-head {
    display: block;
  }
  .focus-head p {
    margin-top: 20px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-card {
    min-height: auto;
  }
  .focus-card img {
    height: 220px;
  }
  .contact {
    padding-top: 75px;
  }
  .contact-card {
    border-radius: 25px;
  }
  .contact-left img {
    max-width: none;
  }
  section {
    padding: 75px 0;
  }
  footer {
    flex-direction: column;
    gap: 7px;
  }
}

/* Particle-assembly loading screen */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #070b11;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}
.loader-particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 12px var(--color);
  transform: translate(var(--sx), var(--sy));
  animation: assemble var(--duration) cubic-bezier(0.15, 0.77, 0.25, 1)
    var(--delay) forwards;
}
.loader-glass {
  width: min(340px, 80vw);
  height: 170px;
  border-radius: 32px;
  border: 1px solid rgba(175, 220, 255, 0.6);
  background: rgba(109, 166, 228, 0.13);
  box-shadow:
    0 0 80px rgba(54, 139, 255, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: scale(0.8);
  animation: reveal 0.5s ease 1.95s forwards;
}
.loader-brand {
  color: #f4f9ff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -1.8px;
  text-shadow: 0 0 24px rgba(103, 194, 255, 0.45);
}
.loader-brand b {
  color: #78c5ff;
}
.loader-line {
  width: 190px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  overflow: hidden;
}
.loader-line:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #49b7ff, #a375ff, #ffb774);
  transform: translateX(-100%);
  animation: load 1.05s ease 2.1s forwards;
}
.loader-caption {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b7d7f2;
}
@keyframes assemble {
  0% {
    transform: translate(var(--sx), var(--sy)) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0.15);
    opacity: 0.05;
  }
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes load {
  to {
    transform: translateX(0);
  }
}
#site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Theme switcher */
.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(90, 120, 145, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
}
.theme-toggle:hover {
  transform: rotate(18deg) scale(1.07);
}
body.dark {
  --ink: #edf5fb;
  --muted: #a8b5c1;
  --blue: #6bb8ff;
  background:
    radial-gradient(circle at 8% 0%, #173552 0%, transparent 36%),
    radial-gradient(circle at 94% 42%, #321f4b 0%, transparent 36%), #071019;
}
.dark .orb {
  opacity: 0.35;
}
.dark .orb.a {
  background: #1f5986;
}
.dark .orb.b {
  background: #6e3e93;
}
.dark .orb.c {
  background: #6b4a2e;
}
.dark .glass {
  background: rgba(17, 32, 45, 0.58);
  border-color: rgba(180, 220, 255, 0.16);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}
.dark nav a,
.dark .brand,
.dark .button.secondary,
.dark .direct a {
  color: var(--ink);
}
.dark .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffe5a3;
}
.dark .hero p,
.dark .intro p,
.dark .focus-head p,
.dark .strategy p,
.dark .focus-copy p {
  color: var(--muted);
}
.dark .strategy .num {
  background: rgba(107, 184, 255, 0.16);
  color: #86c9ff;
}
.dark .contact-card {
  background: linear-gradient(
    130deg,
    rgba(23, 44, 59, 0.76),
    rgba(45, 31, 64, 0.7)
  );
}
.dark .contact-intro {
  color: #d0dce7;
}
.dark label {
  color: #9ebbd3;
}
.dark input,
.dark textarea {
  background: rgba(2, 10, 17, 0.28);
  border-color: rgba(184, 217, 245, 0.23);
  color: #f0f7fc;
}
.dark input:focus,
.dark textarea:focus {
  border-color: #79bfff;
  box-shadow: 0 0 0 3px rgba(93, 176, 255, 0.18);
}
.dark .direct {
  border-color: rgba(184, 217, 245, 0.18);
}
.dark footer {
  color: #9eabb5;
}
.dark .hero-photo:after {
  background: rgba(1, 8, 14, 0.7);
}
.back-top {
  position: fixed;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 9;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 35px rgba(38, 77, 109, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 21px;
  transition:
    transform 0.25s,
    background 0.25s;
}
.back-top:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.78);
}
.dark .back-top {
  background: rgba(17, 32, 45, 0.66);
  border-color: rgba(184, 220, 255, 0.2);
  color: #eaf5ff;
}
.dark .back-top:hover {
  background: rgba(33, 60, 80, 0.85);
}
@media (max-width: 720px) {
  .theme-toggle {
    width: 33px;
    height: 33px;
    font-size: 15px;
  }
  .back-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    right: 16px;
    bottom: 16px;
  }
}

.site-version {
  display: inline-block;
  margin-left: 8px;
  padding-left: 9px;
  border-left: 1px solid currentColor;
  opacity: 0.7;
}

/* Cloudflare Turnstile presentation */
.turnstile-wrap {
  position: relative;
  margin-top: 20px;
  padding: 14px 13px 11px;
  border: 1px solid rgba(83, 132, 166, 0.22);
  border-radius: 17px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.52),
    rgba(213, 237, 255, 0.28)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
}
.turnstile-wrap:before {
  content: "Protected by Cloudflare Turnstile";
  display: block;
  margin: 0 0 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: #58718b;
  text-transform: uppercase;
}
.turnstile-wrap:after {
  content: "✓";
  position: absolute;
  right: 13px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(32, 168, 105, 0.13);
  color: #168c57;
  font-size: 11px;
  font-weight: 800;
}
.turnstile-wrap .cf-turnstile {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dark .turnstile-wrap {
  border-color: rgba(165, 213, 248, 0.18);
  background: linear-gradient(
    135deg,
    rgba(86, 137, 177, 0.16),
    rgba(61, 44, 102, 0.2)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
.dark .turnstile-wrap:before {
  color: #a5c8e3;
}
.dark .turnstile-wrap:after {
  background: rgba(57, 196, 126, 0.17);
  color: #7febae;
}

/* Failsafe: reveal the page even if JavaScript is blocked or unavailable. */
#site-loader {
  animation: loader-failsafe 0.01s linear 3.7s forwards;
}
@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Mobile Safari: paint the document canvas too, eliminating the light strip above the page. */
html,
body {
  min-height: 100%;
  background: #eef8ff;
}
html.dark,
html:has(body.dark) {
  background: #071019 !important;
}
body.dark {
  /* Covers the browser canvas during iOS elastic scroll / safe-area repaint. */
  box-shadow: 0 -100vmax #071019;
  clip-path: inset(0 -100vmax);
}

/* Decorative liquid-light orbs: render above the page background and below content. */
.orb {
  z-index: 0;
  pointer-events: none;
  opacity: 0.82;
  filter: blur(12px);
  mix-blend-mode: multiply;
}
.orb.a {
  background: #a8dcff;
}
.orb.b {
  background: #e1b9ff;
}
.orb.c {
  background: #ffd4a4;
}
body > .shell,
body > main {
  position: relative;
  z-index: 1;
}
.dark .orb {
  opacity: 0.42;
  mix-blend-mode: screen;
}

/* Persistent navigation: fixed to the viewport rather than limited by its short parent wrapper. */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(1240px, calc(100% - 42px));
  transform: translateX(-50%);
  z-index: 100;
}
.dark .nav {
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.26);
}
@media (max-width: 720px) {
  .nav {
    top: 8px;
    width: calc(100% - 28px);
  }
}

/* Force the header outside its wrapper on Safari and override earlier sticky rules. */
header.nav {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  right: auto !important;
  width: min(1240px, calc(100% - 42px)) !important;
  transform: translateX(-50%) !important;
  z-index: 1000 !important;
}
@media (max-width: 720px) {
  header.nav {
    top: 8px !important;
    width: calc(100% - 28px) !important;
  }
}

/* Header markup uses both classes; this makes the fixed rule effective. */
/* Avoid large canvas clipping artifacts on desktop; only iOS mobile needs this safe-area fallback. */
body.dark {
  box-shadow: none;
  clip-path: none;
}
.orb {
  mix-blend-mode: normal;
}
.dark .orb {
  mix-blend-mode: normal;
}
@media (max-width: 720px) {
  body.dark {
    box-shadow: 0 -100vmax #071019;
    clip-path: inset(0 -100vmax);
  }
}

/* The header needs its own top stacking context so page sections cannot intercept its links. */
.header-shell {
  position: relative !important;
  z-index: 1001 !important;
}
.nav.glass {
  background: rgba(247, 252, 255, 0.92);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}
.dark .nav.glass {
  background: rgba(8, 22, 35, 0.94);
  border-color: rgba(180, 220, 255, 0.25);
}

.nav nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

@media (max-width: 480px) {
  .nav {
    padding: 0 12px;
  }

  .brand {
    font-size: 17px;
    letter-spacing: -1.2px;
  }

  .nav nav {
    gap: 10px;
  }

  .nav nav a {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

#focus {
  scroll-margin-top: 75px;
}

@media (max-width: 720px) {
  #focus {
    scroll-margin-top: 55px;
  }
}