:root {
  --outer: #f2f3f3;
  --surface: #f7f3e9;
  --surface-border: #d6d8d7;
  --ink: #0f252b;
  --utility: #586477;
  --symbol: #e4dccb;
  --grid-gap: 24px;
  --surface-pad-x: clamp(48px, 5.55vw, 80px);
  --surface-pad-y: clamp(42px, 5.1vh, 64px);
  --focus: #0f252b;
  font-synthesis: none;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--surface);
}

body {
  min-height: 100svh;
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    "Inter Tight",
    "Neue Haas Grotesk Text Pro",
    "Söhne",
    "Suisse Intl",
    "Segoe UI Variable Display",
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

.coming-soon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: var(--surface-pad-y) var(--surface-pad-x);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: var(--grid-gap);
  background: var(--surface);
  border: 0;
  box-shadow: none;
}

.masthead {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: start;
}

.brand {
  grid-column: 1 / span 3;
  justify-self: start;
  display: inline-flex;
  align-items: flex-start;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: clamp(166px, 13.9vw, 200px);
  aspect-ratio: 1637 / 543;
  background: var(--ink);
  -webkit-mask: url("./assets/glema-lettering.svg") center / contain no-repeat;
  mask: url("./assets/glema-lettering.svg") center / contain no-repeat;
}

.utility-nav {
  grid-column: 9 / -1;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-height: 44px;
  color: var(--utility);
  font-size: clamp(13px, 0.98vw, 14px);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.language-option {
  position: relative;
  min-width: 34px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #7a8492;
  cursor: pointer;
  transition: color 180ms ease-out;
}

.language-option.is-active,
.language-option:hover {
  color: var(--utility);
}

.language-separator {
  color: #89919c;
}

.private-access {
  position: relative;
  min-height: 44px;
  margin-left: clamp(44px, 4.2vw, 64px);
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.private-access::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 180ms ease-out;
}

.private-access:hover::after,
.private-access:focus-visible::after {
  transform: scaleX(1);
}

.nav-rule {
  flex: 0 0 clamp(34px, 2.8vw, 40px);
  height: 1px;
  margin-left: clamp(18px, 1.4vw, 20px);
  background: var(--ink);
  opacity: 0.82;
}

.brand:focus-visible,
.language-option:focus-visible,
.private-access:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.hero {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
  min-height: 0;
}

.official-symbol {
  position: absolute;
  z-index: 0;
  top: 51%;
  left: 45.5%;
  width: clamp(500px, 44vw, 680px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--symbol);
  opacity: 0.68;
  -webkit-mask: url("./assets/glema-symbol.svg") center / contain no-repeat;
  mask: url("./assets/glema-symbol.svg") center / contain no-repeat;
  pointer-events: none;
}

.headline {
  position: relative;
  z-index: 2;
  grid-column: 2 / span 5;
  align-self: center;
  margin: -1.8vh 0 0;
  color: var(--ink);
  font-size: clamp(74px, 7.45vw, 108px);
  font-weight: 300;
  line-height: 0.875;
  letter-spacing: -0.043em;
  white-space: nowrap;
}

.headline-line {
  display: block;
}

.headline-line:nth-child(2) {
  margin-left: 11%;
}

.headline-line:nth-child(3) {
  margin-left: 8.5%;
}

.launch-status {
  position: relative;
  z-index: 2;
  grid-column: 7 / -1;
  align-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: 1.8vh;
  color: var(--ink);
}

.launch-line {
  flex: 1 1 360px;
  max-width: 360px;
  height: 1px;
  background: currentColor;
  opacity: 0.82;
}

.launch-copy {
  flex: 0 0 auto;
  margin-left: clamp(24px, 2.1vw, 32px);
  font-size: clamp(23px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.institutional {
  position: relative;
  z-index: 4;
  grid-column: 1 / span 4;
  align-self: end;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--utility);
  font-size: clamp(13px, 0.98vw, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.institutional strong {
  font-weight: 550;
}

html[data-lang="en"] .headline {
  font-size: clamp(68px, 7.2vw, 104px);
  letter-spacing: -0.045em;
}

html[data-lang="en"] .headline-line:nth-child(2) {
  margin-left: 8%;
}

html[data-lang="en"] .headline-line:nth-child(3) {
  margin-left: 15%;
}

@media (max-width: 1279px) {
  :root {
    --surface-pad-x: clamp(48px, 5vw, 64px);
    --surface-pad-y: 48px;
  }

  .coming-soon {
    min-height: 100svh;
  }

  .utility-nav {
    grid-column: 8 / -1;
  }

  .headline {
    grid-column: 2 / span 6;
    font-size: clamp(76px, 8.7vw, 106px);
  }

  .launch-status {
    grid-column: 7 / -1;
  }

  .official-symbol {
    left: 46%;
    width: clamp(480px, 51vw, 620px);
  }
}

@media (max-width: 1023px) {
  :root {
    --grid-gap: 18px;
    --surface-pad-x: clamp(36px, 5.8vw, 56px);
  }

  .coming-soon {
    min-height: 100svh;
  }

  .brand {
    grid-column: 1 / span 4;
  }

  .utility-nav {
    grid-column: 7 / -1;
  }

  .private-access {
    margin-left: 32px;
  }

  .headline {
    grid-column: 1 / span 7;
    font-size: clamp(72px, 10vw, 94px);
  }

  .launch-status {
    grid-column: 7 / -1;
  }

  .launch-line {
    max-width: 230px;
  }

  .official-symbol {
    left: 48%;
    width: min(60vw, 560px);
  }

  .institutional {
    grid-column: 1 / span 5;
  }
}

@media (max-width: 767px) {
  :root {
    --grid-gap: 14px;
    --surface-pad-x: clamp(20px, 5.8vw, 32px);
    --surface-pad-y: clamp(22px, 4.2vh, 32px);
  }

  body {
    min-height: 100svh;
  }

  .coming-soon {
    width: 100%;
    min-height: 100svh;
    padding: var(--surface-pad-y) var(--surface-pad-x);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .masthead {
    align-items: start;
  }

  .brand {
    grid-column: 1 / span 5;
  }

  .brand-mark {
    width: clamp(128px, 29vw, 158px);
  }

  .utility-nav {
    grid-column: 6 / -1;
    min-height: 40px;
    font-size: 12.5px;
  }

  .language-switch {
    min-height: 40px;
  }

  .language-option {
    min-width: 28px;
    min-height: 40px;
    padding: 0 5px;
  }

  .private-access {
    min-height: 40px;
    margin-left: clamp(14px, 4vw, 28px);
  }

  .nav-rule {
    display: none;
  }

  .hero {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 14px;
    align-content: center;
    min-height: clamp(440px, 62svh, 620px);
  }

  .official-symbol {
    top: 51%;
    left: 54%;
    width: min(88vw, 470px);
    opacity: 0.54;
  }

  .headline {
    grid-column: 1 / -1;
    align-self: center;
    max-width: 88%;
    margin: -1vh 0 0;
    font-size: clamp(56px, 13.8vw, 78px);
    line-height: 0.9;
    letter-spacing: -0.045em;
  }

  .headline-line:nth-child(2) {
    margin-left: 13%;
  }

  .headline-line:nth-child(3) {
    margin-left: 8%;
  }

  html[data-lang="en"] .headline {
    max-width: 96%;
    font-size: clamp(50px, 12vw, 68px);
    line-height: 0.92;
  }

  html[data-lang="en"] .headline-line:nth-child(2) {
    margin-left: 5%;
  }

  html[data-lang="en"] .headline-line:nth-child(3) {
    margin-left: 12%;
  }

  .launch-status {
    grid-column: 1 / -1;
    align-self: start;
    width: 100%;
    margin-top: clamp(30px, 5vh, 42px);
  }

  .launch-line {
    flex: 1 1 auto;
    max-width: none;
  }

  .launch-copy {
    margin-left: 18px;
    font-size: clamp(18px, 4.6vw, 21px);
  }

  .institutional {
    grid-column: 1 / -1;
    max-width: 320px;
    padding-bottom: 2px;
    font-size: 12.5px;
    line-height: 1.42;
  }
}

@media (max-width: 479px) {
  :root {
    --surface-pad-x: 20px;
    --surface-pad-y: 22px;
  }

  .coming-soon {
    min-height: 100svh;
  }

  .masthead {
    row-gap: 6px;
  }

  .brand {
    grid-column: 1 / span 6;
  }

  .brand-mark {
    width: clamp(118px, 34vw, 138px);
  }

  .utility-nav {
    grid-column: 7 / -1;
    align-self: start;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
  }

  .language-switch {
    order: 1;
  }

  .private-access {
    order: 2;
    flex-basis: 100%;
    justify-content: flex-end;
    min-height: 34px;
    margin: -2px 0 0;
  }

  .hero {
    min-height: clamp(430px, 61svh, 520px);
  }

  .official-symbol {
    top: 52%;
    left: 54%;
    width: min(94vw, 390px);
    opacity: 0.50;
  }

  .headline {
    max-width: 94%;
    margin-top: 0;
    font-size: clamp(52px, 15vw, 62px);
    line-height: 0.91;
  }

  html[data-lang="en"] .headline {
    font-size: clamp(46px, 12.8vw, 56px);
  }

  .launch-status {
    margin-top: 28px;
  }

  .launch-copy {
    margin-left: 14px;
    font-size: 18px;
  }

  .institutional {
    max-width: 290px;
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-height: 800px) and (min-width: 768px) {
  :root {
    --surface-pad-y: 30px;
  }

  .brand-mark {
    width: clamp(148px, 12vw, 180px);
  }

  .official-symbol {
    width: min(42vw, 540px);
  }

  .headline {
    font-size: clamp(68px, 6.9vw, 94px);
  }

  html[data-lang="en"] .headline {
    font-size: clamp(62px, 6.2vw, 84px);
  }

  .launch-copy {
    font-size: 22px;
  }

  .institutional {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
