:root {
  --ink: #111827;
  --ink-soft: #5c6473;
  --ink-faint: #858d9c;
  --navy: #090f1f;
  --navy-2: #111a31;
  --paper: #f5f2eb;
  --paper-2: #fbfaf7;
  --white: #ffffff;
  --line: #d9d8d2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #4d67d9;
  --accent-light: #cbd4ff;
  --shell: min(1200px, calc(100% - 48px));
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --shadow-soft: 0 22px 70px rgba(13, 20, 36, 0.09);
  --shadow-dark: 0 34px 100px rgba(2, 6, 18, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.9);
  border-color: rgba(217, 216, 210, 0.8);
  box-shadow: 0 8px 32px rgba(10, 16, 30, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
}

.brand-text,
.footer-brand span {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.86rem;
  letter-spacing: 0.22em;
}

.brand-text small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 680;
}

.primary-navigation > a:not(.nav-contact) {
  color: var(--ink-soft);
}

.primary-navigation > a:hover,
.primary-navigation > a:focus-visible {
  color: var(--ink);
}

.nav-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 45px;
  height: 45px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 155px 0 105px;
  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    var(--paper-2);
  background-size: 46px 46px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent, var(--paper-2));
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.hero-ambient-one {
  width: 420px;
  height: 420px;
  top: 5%;
  left: -170px;
  background: rgba(77, 103, 217, 0.13);
}

.hero-ambient-two {
  width: 500px;
  height: 500px;
  right: -180px;
  bottom: 2%;
  background: rgba(43, 56, 103, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 84px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--accent);
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.profile-intro h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 7.2vw, 7.25rem);
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-intro {
  max-width: 690px;
  margin: 31px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 740;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button:focus-visible,
.primary-navigation a:focus-visible,
.brand:focus-visible,
.footer-brand:focus-visible,
.text-link:focus-visible,
.menu-button:focus-visible,
.profile-table a:focus-visible {
  outline: 3px solid rgba(77, 103, 217, 0.3);
  outline-offset: 4px;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 15px 36px rgba(9, 15, 31, 0.18);
}

.button-primary:hover {
  background: #18223d;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 25px;
  margin: 43px 0 0;
  padding: 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  list-style: none;
}

.trust-line li {
  position: relative;
  padding-left: 16px;
}

.trust-line li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-art {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1 / 1;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0 29%, rgba(255, 255, 255, 0.25) 30% 100%);
  box-shadow:
    inset 0 0 0 23px rgba(255, 255, 255, 0.26),
    var(--shadow-soft);
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer {
  width: 82%;
  height: 82%;
}

.orbit-middle {
  width: 62%;
  height: 62%;
}

.orbit-inner {
  width: 40%;
  height: 40%;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(77, 103, 217, 0.11);
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  will-change: transform;
  pointer-events: none;
}

.monogram {
  position: absolute;
  inset: 50%;
  width: 44%;
  height: 44%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  transform: translate(-50%, -50%);
}

.monogram svg {
  width: 58%;
  fill: currentColor;
}

.monogram .monogram-line {
  stroke: var(--accent-light);
  stroke-width: 8;
  stroke-linecap: round;
}

.art-caption {
  position: absolute;
  right: 3%;
  bottom: 4%;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(251, 250, 247, 0.84);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.art-caption span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.statement {
  padding: 54px 0 112px;
  background: var(--paper-2);
}

.statement p {
  max-width: 1010px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.statement em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.section {
  padding: 126px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: 100px;
}

.section-heading {
  max-width: 720px;
}

.section-heading-wide {
  max-width: 900px;
  margin-bottom: 55px;
}

.section-heading h2,
.profile-intro h2,
.contact-copy h2 {
  font-size: clamp(2.65rem, 5.2vw, 5.1rem);
}

.company-section {
  background: var(--paper);
}

.rich-copy {
  max-width: 650px;
  padding-top: 16px;
}

.rich-copy p {
  margin: 0 0 21px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.rich-copy .lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-weight: 760;
}

.mission-section {
  background: var(--paper-2);
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.direction-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius-lg);
}

.direction-card-dark {
  background:
    radial-gradient(circle at 85% 5%, rgba(105, 126, 222, 0.35), transparent 29%),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.direction-card-light {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 32px 32px;
}

.card-index {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.direction-card-light .card-index {
  color: var(--accent);
}

.direction-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.65rem);
  font-weight: 610;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.direction-card p {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1rem;
}

.direction-card-light p {
  color: var(--ink-soft);
}

.principles-section {
  background: var(--navy);
  color: var(--white);
}

.principles-section .eyebrow {
  color: var(--accent-light);
}

.principles-list {
  border-top: 1px solid var(--line-dark);
}

.principle {
  display: grid;
  grid-template-columns: 90px minmax(230px, 0.75fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-dark);
}

.principle-number {
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
}

.principle h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
}

.profile-section {
  background: var(--paper);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  gap: 90px;
}

.profile-intro p:last-child {
  max-width: 540px;
  margin: 25px 0 0;
  color: var(--ink-soft);
}

.profile-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(260px, 1.35fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.profile-table dt {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.profile-table dd {
  margin: 0;
  font-weight: 680;
}

.profile-table a {
  border-bottom: 1px solid var(--ink);
}

.team-section {
  background: var(--paper-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.team-initials {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.team-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.team-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.contact-section {
  padding: 90px 0;
  background: var(--paper-2);
}

.contact-panel {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: end;
  gap: 70px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 89% 12%, rgba(100, 124, 232, 0.34), transparent 28%),
    linear-gradient(135deg, #10182c, #070b16);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.contact-copy .eyebrow {
  color: var(--accent-light);
}

.contact-copy p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.button-light {
  min-width: 230px;
  background: var(--white);
  color: var(--navy);
}

.button-outline {
  min-width: 230px;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.contact-pending {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  text-align: right;
  font-size: 0.9rem;
}

.site-footer {
  padding: 62px 0 42px;
  background: var(--paper-2);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.legal-page {
  min-height: 100vh;
  padding: 150px 0 90px;
  background: var(--paper-2);
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-content .legal-updated {
  margin: 18px 0 52px;
  color: var(--ink-faint);
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  border-bottom: 1px solid var(--ink);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(5rem, 18vw, 12rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.not-found p {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.62);
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-layout,
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-art {
    width: min(100%, 560px);
    justify-self: center;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 460px;
  }

  .principle {
    grid-template-columns: 70px minmax(220px, 0.8fr) minmax(260px, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .contact-pending {
    text-align: left;
  }

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

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 1200px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-text small {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 103;
    display: block;
  }

  .primary-navigation {
    position: fixed;
    inset: 0;
    z-index: 102;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 100px 28px 45px;
    background: rgba(251, 250, 247, 0.98);
    font-size: 1.45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-contact {
    min-height: 50px;
    padding-inline: 24px;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    padding: 126px 0 78px;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .hero-art {
    width: min(92vw, 500px);
  }

  .trust-line {
    display: grid;
  }

  .statement {
    padding: 50px 0 84px;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading-wide {
    margin-bottom: 38px;
  }

  .direction-card {
    min-height: 410px;
    border-radius: 30px;
  }

  .principle {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .principle p {
    grid-column: 2;
  }

  .profile-table div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    min-height: 450px;
    padding: 40px 26px;
    border-radius: 30px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    width: 100%;
  }

  .art-caption {
    right: -2%;
    bottom: -4%;
  }

  .direction-card h3 {
    font-size: 2.25rem;
  }

  .contact-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
