:root {
  --paper: #fcfbf8;

  --graphite: #30353a;
  --graphite-soft: #5f6770;
  --graphite-light: #6a727b;

  --line-soft: rgba(48, 53, 58, 0.09);

  --card: rgba(255, 255, 255, 0.42);
  --card-strong: rgba(255, 255, 255, 0.64);

  --sun-core: rgba(80, 99, 112, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--graphite);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  background:
    radial-gradient(circle at 76% 28%, rgba(95, 113, 126, 0.06), transparent 34%),
    linear-gradient(
      180deg,
      #fdfcf9 0%,
      var(--paper) 50%,
      #f8f6f1 100%
    );
}

.quantum-sun {
  position: fixed;
  top: 26vh;
  right: 14vw;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.68;
  background:
    radial-gradient(circle, var(--sun-core) 0%, rgba(120, 143, 158, 0.10) 22%, rgba(120, 143, 158, 0.045) 42%, transparent 68%);
  filter: blur(0.4px);
}

.quantum-sun::before,
.quantum-sun::after {
  content: "";
  position: absolute;
  inset: 39px;
  border-radius: 50%;
  border: 1px solid rgba(80, 99, 112, 0.10);
}

.quantum-sun::after {
  inset: 72px;
  background: rgba(48, 53, 58, 0.045);
  border: none;
}

.container {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.global-nav {
  min-height: 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 23px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}

.global-nav a {
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.global-nav a:hover {
  opacity: 0.62;
}

.language {
  display: flex;
  gap: 8px;
  color: var(--graphite-soft);
  margin-left: 10px;
}

.language .active {
  color: var(--graphite);
  font-weight: 600;
}

/* Local navigation */

.local-nav-wrap {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(252, 251, 248, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.local-nav {
  min-height: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--graphite-soft);
}

.local-nav a {
  white-space: nowrap;
}

.local-nav a:hover {
  color: var(--graphite);
}

/* Home page */

.hero {
  position: relative;
  padding: 228px 0 116px;
}

.kicker {
  margin-bottom: 30px;
  color: var(--graphite-soft);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(50px, 8vw, 94px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--graphite);
}

.tagline {
  max-width: 860px;
  margin-bottom: 34px;
  color: var(--graphite);
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 780px;
  color: var(--graphite-soft);
  font-size: 20px;
}

section {
  padding: 90px 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 136px;
}

.section-title {
  max-width: 920px;
  margin-bottom: 30px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--graphite);
}

.section-lead {
  max-width: 880px;
  margin-bottom: 52px;
  color: var(--graphite-soft);
  font-size: 21px;
}

.field-list {
  display: grid;
  gap: 32px;
  max-width: 940px;
}

.field {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
}

.field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.field h3 {
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.field p {
  max-width: 830px;
  color: var(--graphite-soft);
  font-size: 18px;
}

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

.role-card {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--card-strong), var(--card));
  box-shadow: 0 18px 60px rgba(48, 53, 58, 0.06);
}

.role-card h3 {
  margin-bottom: 14px;
  color: var(--graphite);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.role-card p {
  color: var(--graphite-soft);
  font-size: 17px;
}

.cooperation {
  max-width: 900px;
}

.cooperation p {
  margin-bottom: 26px;
  color: var(--graphite-soft);
  font-size: 20px;
}

.email {
  display: inline-block;
  margin-top: 8px;
  color: var(--graphite);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.04em;
  border-bottom: 1px solid rgba(48, 53, 58, 0.32);
}

.email:hover {
  border-color: var(--graphite);
}

/* Text / placeholder pages */

.placeholder-main {
  padding: 118px 0 96px;
  min-height: calc(100vh - 130px);
}

.placeholder-card {
  max-width: 820px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.placeholder-card h1 {
  margin-bottom: 42px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--graphite);
}

.placeholder-card p {
  max-width: 760px;
  color: var(--graphite-soft);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 0;
}

.placeholder-note {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--graphite-light);
  font-size: 15px;
  line-height: 1.75;
}

.placeholder-note a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--graphite);
}

.placeholder-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(48, 53, 58, 0.28);
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.action-link:hover {
  opacity: 0.68;
  border-color: var(--graphite);
}

/* Footer */

footer {
  padding: 38px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--graphite-light);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  max-width: 980px;
  color: #6a727b;
  font-size: 14px;
  line-height: 1.65;
}

.footer-disclaimer a {
  border-bottom: 1px solid rgba(95, 103, 112, 0.32);
}

.footer-disclaimer a:hover {
  border-color: var(--graphite-soft);
}

/* Root redirect page */

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 74% 30%, rgba(95, 113, 126, 0.06), transparent 34%),
    linear-gradient(
      180deg,
      #fdfcf9 0%,
      var(--paper) 54%,
      #f8f6f1 100%
    );
}

.redirect-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 60px rgba(48, 53, 58, 0.06);
}

.redirect-card p {
  color: var(--graphite-soft);
  font-size: 19px;
  margin-bottom: 26px;
}

.redirect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.redirect-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(48, 53, 58, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

/* Print */

@media print {
  header,
  .local-nav-wrap,
  .quantum-sun,
  .placeholder-actions,
  footer {
    display: none !important;
  }

  body,
  .page {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .hero,
  section,
  .placeholder-main {
    padding: 0 !important;
    border: none !important;
  }

  .container {
    width: 100% !important;
  }

  h1,
  .section-title {
    color: #000000 !important;
  }

  p,
  .intro,
  .section-lead,
  .field p,
  .role-card p,
  .cooperation p {
    color: #000000 !important;
  }

  .role-card,
  .placeholder-card {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
    background: #ffffff !important;
  }
}

/* Responsive */

@media (max-width: 1120px) {
  .global-nav {
    gap: 18px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .global-nav,
  .local-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .global-nav {
    min-height: auto;
    padding: 18px 0 14px;
    gap: 20px;
  }

  .local-nav {
    min-height: auto;
    padding: 13px 0;
    gap: 20px;
  }

  .local-nav-wrap {
    top: 61px;
  }

  .hero {
    padding: 190px 0 82px;
  }

  section {
    padding: 72px 0;
  }

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

  .quantum-sun {
    top: 22vh;
    right: -34px;
    width: 170px;
    height: 170px;
  }

  .placeholder-main {
    padding: 120px 0 72px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding-top: 204px;
  }

  .placeholder-main {
    padding-top: 112px;
  }

  .placeholder-card,
  .redirect-card {
    padding: 0;
  }

  .placeholder-card h1 {
    font-size: clamp(34px, 10vw, 46px);
    margin-bottom: 34px;
  }

  .placeholder-card p {
    font-size: 17px;
    line-height: 1.78;
  }

  .placeholder-note {
    font-size: 14px;
  }

  .placeholder-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .action-link {
    width: auto;
  }
}