:root {
  color-scheme: dark;
  --bg: #080707;
  --text: #fff3df;
  --muted: rgba(255, 239, 219, .72);
  --faint: rgba(255, 239, 219, .48);
  --line: rgba(255, 112, 34, .42);
  --line-soft: rgba(255, 255, 255, .12);
  --panel: rgba(10, 11, 12, .62);
  --panel-strong: rgba(14, 12, 12, .78);
  --orange: #ff6a1a;
  --ember: #ff2d18;
  --gold: #ffd08a;
  --shadow: rgba(0, 0, 0, .58);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

body {
  color: var(--text);
}

a,
button {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page {
  --stage-width: min(calc(100vw - 40px), 1320px);
  --stage-gutter: calc((100vw - var(--stage-width)) / 2);
  --stage-left-pad: clamp(54px, 4.2vw, 78px);
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay,
.hero-heat {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  z-index: 0;
  background-image: url("/assets/img/bg.jpg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 45%, rgba(255, 98, 13, .22), transparent 31rem),
    linear-gradient(90deg, rgba(4, 4, 5, .91) 0%, rgba(6, 5, 6, .72) 33%, rgba(6, 4, 4, .23) 59%, rgba(7, 5, 5, .18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .45) 100%);
}

.hero-heat {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 58, 19, .18), transparent 27%),
    radial-gradient(circle at 14% 18%, rgba(255, 108, 24, .16), transparent 21rem);
  mix-blend-mode: screen;
  opacity: .86;
}

.topbar {
  position: absolute;
  top: 34px;
  left: 20px;
  right: 20px;
  width: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: none;
}

.mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 48px;
  min-width: 192px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 26, .38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(31, 25, 24, .9), rgba(16, 15, 16, .88));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(255, 106, 26, .22);
  backdrop-filter: blur(20px) saturate(1.16);
}

.lang-icon {
  display: grid;
  width: 56px;
  height: 100%;
  place-items: center;
  color: var(--text);
  opacity: .92;
}

.lang-icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.lang-switch button {
  position: relative;
  min-width: 68px;
  height: 100%;
  padding: 0 18px;
  border-left: 0;
  background: transparent;
  color: rgba(255, 243, 223, .86);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color .2s ease, background .2s ease;
}

.lang-switch button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: rgba(255, 243, 223, .34);
  box-shadow: 0 0 10px rgba(255, 255, 255, .16);
}

.lang-switch button:hover {
  background: transparent;
  color: rgba(255, 225, 196, .95);
}

.lang-switch button.active {
  background: transparent;
  color: var(--orange);
  text-shadow:
    0 0 8px rgba(255, 106, 26, .55),
    0 2px 0 rgba(0, 0, 0, .5);
  box-shadow: none;
}

.lang-switch button.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 68, 24, .9) 26%, rgba(255, 122, 28, 1) 50%, rgba(255, 68, 24, .9) 74%, transparent);
  box-shadow:
    0 -5px 16px rgba(255, 72, 24, .86),
    0 -1px 6px rgba(255, 132, 35, .98),
    0 -12px 30px rgba(255, 32, 18, .46),
    0 -18px 42px rgba(255, 91, 24, .28);
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  width: var(--stage-width);
  min-height: 680px;
  height: 100svh;
  margin: 0 auto;
  padding: 88px 0 clamp(54px, 7svh, 84px);
  align-items: center;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: min(560px, 42vw);
  transform: translateY(-42px);
}

.brand-lockup {
  margin: 0 0 34px;
  padding: 0;
  line-height: 0;
  transform: translate(-4px, 12px);
}

.brand-logo-svg {
  display: block;
  width: min(558px, 39.5vw);
  height: auto;
}

.slogan {
  margin: 18px 0 30px;
  padding-left: 58px;
  color: #fff1d8;
  font-family: "Roboto Mono", "JetBrains Mono", "Courier New", monospace;
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: lowercase;
  word-spacing: .45em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .55);
}

[data-lang] {
  display: none;
}

[data-lang].is-active {
  display: block;
}

.links-card {
  width: min(100%, 500px);
  margin-top: 0;
  margin-left: 36px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--panel-strong), var(--panel));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(1.14);
}

.link-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--orange);
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.link-list {
  display: grid;
  gap: 0;
}

.link-item {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
}

.link-item:first-child {
  border-top: 0;
}

.link-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 106, 26, .76);
  border-radius: 8px;
  background: rgba(255, 106, 26, .08);
  transition: background .2s ease, transform .2s ease;
}

.link-icon .icon {
  width: 19px;
  height: 19px;
}

.link-copy {
  min-width: 0;
}

.link-label {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.link-note {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.25;
}

.link-arrow {
  color: rgba(255, 243, 223, .85);
  font-size: 29px;
  line-height: 1;
  transform: translateY(-1px);
  transition: color .2s ease, transform .2s ease;
}

.link-item:hover .link-icon {
  background: rgba(255, 106, 26, .18);
  transform: translateY(-1px);
}

.link-item:hover .link-arrow {
  color: var(--orange);
  transform: translate(4px, -1px);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  width: min(670px, 100%);
  margin-top: 22px;
  margin-bottom: 30px;
}

.signal {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: rgba(255, 240, 220, .86);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.22;
}

.signal-icon {
  display: grid;
  place-items: center;
  color: var(--orange);
  text-shadow: 0 0 22px rgba(255, 106, 26, .34);
}

.signal-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 16px rgba(255, 106, 26, .28));
}

@media (min-width: 901px) {
  .hero-content {
    position: absolute;
    left: var(--stage-left-pad);
    top: clamp(34px, 6svh, 64px);
    transform: translate(18px, 14px);
  }

  .signal-strip {
    position: fixed;
    left: calc(var(--stage-gutter) + var(--stage-left-pad));
    bottom: 28px;
    z-index: 4;
    width: min(670px, calc(var(--stage-width) * .5));
    margin: 0;
    pointer-events: none;
  }
}

.hero-person {
  position: absolute;
  z-index: 3;
  right: -26px;
  bottom: -18px;
  height: clamp(660px, 98svh, 900px);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 46px 100px rgba(0, 0, 0, .65));
}

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

@media (min-width: 1200px) {
  .hero-person {
    height: clamp(700px, 98svh, 930px);
    right: -26px;
    bottom: -18px;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .hero-content {
    max-width: 520px;
  }

  .hero-person {
    height: clamp(640px, 94svh, 820px);
    right: -26px;
    bottom: -18px;
    opacity: .94;
  }

}

@media (min-width: 1800px) {
  .page {
    --stage-width: 1520px;
    --stage-left-pad: 78px;
  }

  .hero-person {
    height: clamp(760px, 100svh, 980px);
  }
}

@media (min-width: 2400px) {
  .page {
    --stage-width: 1800px;
    --stage-left-pad: 120px;
  }

  .hero-person {
    height: clamp(860px, 102svh, 1120px);
  }
}

@media (max-width: 900px) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 74% 28%, rgba(255, 98, 13, .23), transparent 23rem),
      linear-gradient(90deg, rgba(4, 4, 5, .92) 0%, rgba(6, 5, 6, .78) 42%, rgba(6, 4, 4, .5) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .28) 50%, rgba(0, 0, 0, .5) 100%);
  }

  .topbar {
    top: 18px;
    left: 20px;
    right: 20px;
    width: auto;
    transform: none;
  }

  .mark {
    width: 82px;
    height: 82px;
  }

  .lang-switch {
    height: 42px;
    min-width: 164px;
  }

  .lang-switch button {
    min-width: 55px;
    padding: 0 12px;
    font-size: 14px;
  }

  .lang-icon {
    width: 48px;
  }

  .lang-icon .icon {
    width: 19px;
    height: 19px;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    display: block;
    padding: 96px 22px 34px;
  }

  .hero-content {
    max-width: 100%;
    transform: none;
  }

  .slogan {
    margin: 16px 0 14px;
    padding-left: 0;
    font-size: 15px;
    letter-spacing: .1em;
    word-spacing: .25em;
  }

  .links-card {
    width: min(365px, 100%);
    margin-top: 32px;
    margin-left: 0;
    padding: 17px 17px 12px;
  }

  .link-item {
    grid-template-columns: 31px 1fr 16px;
    min-height: 55px;
    gap: 11px;
  }

  .link-icon {
    width: 32px;
    height: 32px;
  }

  .link-label {
    font-size: 14px;
  }

  .link-note {
    font-size: 12px;
  }

  .signal-strip {
    grid-template-columns: repeat(5, minmax(48px, 1fr));
    gap: 12px;
    width: min(460px, 100%);
    margin-top: 20px;
  }

  .signal {
    font-size: 10px;
  }

  .signal-icon {
    transform: scale(.84);
  }

  .hero-person {
    position: absolute;
    height: 76svh;
    right: -210px;
    bottom: 0;
    max-width: none;
    opacity: .38;
  }
}

@media (max-width: 600px) {
  .hero-bg {
    background-position: 62% center;
  }

  .hero {
    padding-bottom: 18px;
  }

  .slogan {
    max-width: 310px;
    font-size: 14px;
    word-spacing: .18em;
  }

  .links-card {
    width: min(342px, 100%);
  }

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

  .hero-person {
    height: 68svh;
    right: -230px;
    bottom: 0;
    opacity: .30;
  }

}

@media (min-width: 701px) and (max-width: 900px) {
  html,
  body {
    overflow-y: auto;
  }

  .page {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    padding: 10px;
    margin-bottom: 40px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 34px 42px 48px;
    box-sizing: border-box;
  }

  .hero-content {
    display: contents;
    width: auto;
    max-width: none;
    transform: none;
    text-align: center;
  }

  .brand-lockup,
  .brand-logo-svg {
    width: min(100%, 620px);
  }

  .brand-lockup {
    order: 1;
    width: 100%;
    margin: 0 auto 46px;
  }

  .slogan {
    order: 2;
    width: min(100%, 680px);
    padding-left: 0;
    white-space: normal;
    text-align: center;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: .16em;
    word-spacing: .32em;
    margin: 0 0 22px;
  }

  .hero-person {
    position: relative;
    order: 3;
    z-index: 3;
    right: auto;
    bottom: auto;
    width: min(72vw, 420px);
    height: auto;
    max-width: none;
    margin: 0 auto 22px;
    opacity: 1;
    object-fit: contain;
    filter: drop-shadow(0 28px 70px rgba(0, 0, 0, .55));
  }

  .links-card {
    order: 4;
    width: min(100%, 620px);
    margin: 0 auto;
    text-align: left;
  }

  .signal-strip {
    order: 5;
    width: min(100%, 620px);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .signal {
    font-size: 11px;
    line-height: 1.15;
  }
}

@media (min-width: 701px) and (max-width: 760px) {
  .hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-person {
    width: min(76vw, 390px);
  }

}

@media (max-height: 830px) and (min-width: 901px) {
  .hero {
    padding-top: 78px;
    padding-bottom: clamp(56px, 8svh, 78px);
    align-items: center;
  }

  .hero-content {
    top: 28px;
    transform: translate(18px, 14px);
  }

  .brand-logo-svg {
    width: min(520px, 36vw);
  }

  .brand-lockup {
    margin-bottom: 28px;
  }

  .slogan {
    margin: 14px 0 24px;
    padding-left: 48px;
    font-size: 15px;
  }

  .links-card {
    width: 430px;
    margin-top: 0;
    margin-left: 30px;
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .link-item {
    min-height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .link-label {
    font-size: 15px;
  }

  .link-note {
    font-size: 12px;
  }

  .signal-strip {
    bottom: 28px;
    gap: 24px;
    width: min(630px, calc(var(--stage-width) * .5));
  }

  .signal {
    gap: 5px;
    font-size: 10px;
  }

  .signal-icon {
    transform: scale(.9);
  }
}

@media (max-width: 700px) {
  .page {
    --stage-width: 100%;
    display: block;
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .topbar {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    width: auto;
    margin: 0;
    transform: none;
  }

  .mark {
    width: 60px;
    height: 60px;
  }

  .lang-switch {
    height: 32px;
    min-width: 118px;
  }

  .lang-icon {
    width: 36px;
  }

  .lang-icon .icon {
    width: 15px;
    height: 15px;
  }

  .lang-switch button {
    min-width: 40px;
    padding: 0 8px;
    font-size: 11px;
  }

  .lang-switch button + button::before {
    top: 10px;
    bottom: 10px;
  }

  .lang-switch button.active::after {
    left: 10px;
    right: 10px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 88px clamp(14px, 5vw, 24px) 30px;
  }

  .hero-content {
    display: contents;
    max-width: none;
    width: auto;
    transform: none;
  }

  .brand-lockup {
    order: 1;
    width: 100%;
    margin-bottom: 28px;
    transform: none;
  }

  .brand-logo-svg {
    width: min(100%, clamp(290px, 86vw, 390px));
    margin: 0 auto;
  }

  .slogan {
    order: 2;
    width: min(100%, clamp(290px, 86vw, 390px));
    margin: 0 auto 10px;
    padding-left: 7%;
    white-space: normal;
    text-align: left;
    font-size: clamp(11px, 3.25vw, 14px);
    line-height: 1.35;
    letter-spacing: .08em;
    word-spacing: .16em;
  }

  .hero-person {
    position: relative;
    order: 3;
    align-self: center;
    width: min(92%, 340px);
    height: auto;
    max-width: none;
    margin: 6px 0 14px;
    right: auto;
    bottom: auto;
    opacity: 1;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .45));
  }

  .links-card {
    order: 4;
    width: min(100%, 430px);
    margin-top: 0;
    padding: 13px 14px 10px;
  }

  .signal-strip {
    order: 5;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 16px;
    width: min(100%, 360px);
    margin: 22px auto 0;
  }

  .signal {
    grid-column: span 2;
  }

  .signal:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .signal:last-child {
    grid-column: 4 / span 2;
  }

  .signal {
    font-size: 10.5px;
  }

  .signal-icon {
    transform: none;
  }

  .signal-icon .icon {
    width: 30px;
    height: 30px;
  }
}
