:root {
  --bg: #02080d;
  --ink: #072033;
  --bg-hero-from: #c8e8f4;
  --bg-hero-via: #7ec8d6;
  --bg-hero-to: #1a6a82;
  --bg-epi-from: #1a6a82;
  --bg-epi-to: #0a2e40;
  --bg-twi-from: #0a2e40;
  --bg-twi-to: #04141c;
  --bg-bat-from: #04141c;
  --bg-bat-to: #01080c;
  --bg-ben-from: #01080c;
  --bg-ben-to: #010204;
  --bg-gal-from: #010204;
  --bg-gal-to: #010305;
  --bg-deep: #010204;
  --lantern: #73f2f0;
  --signal: #268cff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --phone: #010507;
  --max: 1152px;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Lora, Georgia, serif;
}

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

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(115, 242, 240, 0.6);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.meta__tick {
  display: block;
  width: 16px;
  height: 1px;
  background: rgba(115, 242, 240, 0.4);
}

h2 {
  margin: 16px 0 0;
  color: #fff;
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.393rem);
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.chip {
  display: inline-flex;
  align-items: center;
  margin: 29px 0 32px;
  padding: 7px 13px;
  border: 1px solid rgba(115, 242, 240, 0.2);
  color: var(--lantern);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.layer__text {
  max-width: 448px;
  color: var(--muted);
  font-size: 16.8px;
  line-height: 30.24px;
}

.lang-switch {
  position: fixed;
  top: 24px;
  right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch__btn {
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  color: var(--lantern);
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  color: var(--text);
}

.lang-switch__sep {
  color: rgba(255, 255, 255, 0.15);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
}

body.is-surface .lang-switch__btn {
  color: rgba(7, 32, 51, 0.38);
}

body.is-surface .lang-switch__btn.is-active {
  color: var(--ink);
}

body.is-surface .lang-switch__btn:hover,
body.is-surface .lang-switch__btn:focus-visible {
  color: var(--ink);
}

body.is-surface .lang-switch__sep {
  color: rgba(7, 32, 51, 0.22);
}

.depth-scale {
  position: fixed;
  top: 50%;
  left: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}

.depth-scale__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16px;
}

.depth-scale__mark::before {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(115, 242, 240, 0.2), rgba(115, 242, 240, 0.08));
}

.depth-scale__mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid rgba(115, 242, 240, 0.4);
  border-radius: 50%;
  background: transparent;
}

.depth-scale__mark.is-active::after {
  background: rgba(38, 140, 255, 0.4);
  box-shadow: 0 0 10px rgba(115, 242, 240, 0.35);
}

.depth-scale::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(115, 242, 240, 0.08), rgba(115, 242, 240, 0));
}

body.is-surface .depth-scale__mark::before {
  background: linear-gradient(180deg, rgba(7, 32, 51, 0.28), rgba(7, 32, 51, 0.1));
}

body.is-surface .depth-scale__mark::after {
  border-color: rgba(7, 32, 51, 0.35);
}

body.is-surface .depth-scale__mark.is-active::after {
  background: rgba(255, 214, 120, 0.85);
  box-shadow: 0 0 10px rgba(255, 214, 120, 0.45);
}

body.is-surface .depth-scale::after {
  background: linear-gradient(180deg, rgba(7, 32, 51, 0.12), rgba(7, 32, 51, 0));
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-hero-from) 0%, #a8d8e8 28%, var(--bg-hero-via) 52%, #3d98ae 78%, var(--bg-hero-to) 100%);
}

.hero__sky,
.hero__sun,
.hero__horizon,
.hero__particles,
.hero__rays,
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__sky {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 252, 240, 0.95) 0%, rgba(255, 236, 190, 0.35) 32%, transparent 68%),
    linear-gradient(180deg, rgba(232, 246, 255, 0.55) 0%, transparent 42%);
}

.hero__sun {
  top: 6%;
  left: 50%;
  width: min(220px, 42vw);
  height: min(220px, 42vw);
  inset: auto;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fffdf4 0%, #ffe7a8 28%, rgba(255, 196, 92, 0.45) 52%, rgba(255, 196, 92, 0) 72%);
  filter: blur(2px);
}

.hero__horizon {
  top: 46%;
  height: 18%;
  bottom: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(190, 236, 246, 0.12) 40%, transparent 100%);
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: #fff6d6;
  animation: drift 18s linear infinite;
}

.hero__rays::before,
.hero__rays::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  filter: blur(6px);
  background: linear-gradient(180deg, rgba(255, 248, 220, 0.7), rgba(255, 220, 140, 0.12) 40%, rgba(255, 220, 140, 0));
}

.hero__rays::before {
  height: 62vh;
  margin-left: 0;
  opacity: 0.55;
}

.hero__rays::after {
  height: 48vh;
  width: 2px;
  margin-left: 64px;
  opacity: 0.35;
  filter: blur(5px);
}

.hero__vignette {
  background:
    linear-gradient(180deg, transparent 58%, rgba(26, 106, 130, 0.35) 82%, rgba(26, 106, 130, 0.92) 100%),
    radial-gradient(ellipse at 50% 18%, rgba(255, 255, 255, 0.18), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(896px, calc(100% - 48px));
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  width: max-content;
  max-width: none;
  margin: 0 auto;
  margin-left: 50%;
  color: var(--ink);
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 8.786rem);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 0.22em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hero__rule {
  width: 120px;
  height: 1px;
  margin: 32px auto 0;
  background: linear-gradient(90deg, rgba(7, 32, 51, 0), rgba(7, 32, 51, 0.35), rgba(7, 32, 51, 0));
}

.hero__pitch {
  margin-top: 32px;
  color: rgba(7, 32, 51, 0.82);
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero__lead {
  max-width: 512px;
  margin: 16px auto 0;
  color: rgba(7, 32, 51, 0.52);
  font-size: 16px;
  line-height: 26px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.62);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  line-height: 13.5px;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  opacity: 0.7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  animation: pulse-line 2.4s ease-in-out infinite;
}

.layer {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 914px;
  overflow: hidden;
}

.layer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(115, 242, 240, 0), rgba(115, 242, 240, 0.08), rgba(115, 242, 240, 0));
}

.layer--epi {
  background: linear-gradient(180deg, var(--bg-epi-from), var(--bg-epi-to));
}

.layer--twi {
  background: linear-gradient(180deg, var(--bg-twi-from), var(--bg-twi-to));
}

.layer--bat {
  background: linear-gradient(180deg, var(--bg-bat-from), var(--bg-bat-to));
}

.layer--ben {
  background: linear-gradient(180deg, var(--bg-ben-from), var(--bg-ben-to));
}

.layer__glow {
  position: absolute;
  width: min(639px, 80vw);
  height: min(639px, 80vw);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.layer--epi .layer__glow--right {
  background: radial-gradient(circle, rgba(180, 230, 255, 0.22), rgba(180, 230, 255, 0) 70%);
}

.layer__glow--right {
  top: 20%;
  right: -8%;
  background: radial-gradient(circle, rgba(115, 242, 240, 0.05), rgba(115, 242, 240, 0) 70%);
}

.layer__glow--left {
  top: 20%;
  left: -8%;
  background: radial-gradient(circle, rgba(115, 242, 240, 0.04), rgba(115, 242, 240, 0) 70%);
}

.layer__glow--dim {
  background: radial-gradient(circle, rgba(115, 242, 240, 0.024), rgba(115, 242, 240, 0) 70%);
}

.layer__glow--blue {
  background: radial-gradient(circle, rgba(38, 140, 255, 0.03), rgba(38, 140, 255, 0) 70%);
}

.layer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: center;
  padding-block: 112px;
}

.layer__copy {
  max-width: 464px;
}

.layer__media {
  display: flex;
}

.layer__media--end {
  justify-content: flex-end;
}

.phone {
  position: relative;
  width: 240px;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(115, 242, 240, 0.18);
  border-radius: 32px;
  background: #010507;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.phone--wide {
  width: min(100%, 464px);
  height: auto;
  aspect-ratio: 2.17 / 1;
}

.phone--wide img {
  object-fit: contain;
  object-position: center;
}

.gallery {
  padding: 144px 0 96px;
  background: linear-gradient(180deg, var(--bg-gal-from), var(--bg-gal-to));
}

.gallery h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.plate {
  position: relative;
  min-height: 528px;
  overflow: hidden;
  border: 1px solid rgba(115, 242, 240, 0.08);
  background: #010507;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.plate--wide img {
  object-fit: contain;
  background: #010507;
}

.plate:hover,
.plate:focus-within {
  border-color: rgba(115, 242, 240, 0.22);
  box-shadow: 0 0 32px rgba(115, 242, 240, 0.06);
}

.plate__index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 2px;
  color: rgba(115, 242, 240, 0.7);
  background: rgba(1, 5, 7, 0.55);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8px;
  line-height: 12px;
  letter-spacing: 1.6px;
}

.plate figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 36px 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, transparent, rgba(1, 5, 7, 0.88));
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.4px;
  text-align: center;
  text-transform: uppercase;
}

.platforms {
  padding: 128px 0;
  border-top: 1px solid rgba(115, 242, 240, 0.06);
  background: var(--bg-deep);
}

.platforms h2 {
  margin-top: 20px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.platforms__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.devices {
  display: flex;
  align-items: flex-end;
  gap: 56px;
}

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 2.25px;
  text-transform: uppercase;
}

.device__iphone,
.device__ipad {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.device__iphone {
  width: 44px;
  height: 80px;
  border-radius: 12px;
}

.device__iphone::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
}

.device__iphone::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transform: translateX(-50%);
}

.device__ipad {
  width: 88px;
  height: 64px;
  border-radius: 10px;
}

.device__ipad::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 2px;
  height: 14px;
  border-radius: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(115, 242, 240, 0.06);
  background: var(--bg-deep);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand a {
  color: rgba(255, 255, 255, 0.75);
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 3.3px;
  text-transform: uppercase;
}

.footer__brand p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a,
.footer__copy {
  color: rgba(255, 255, 255, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 1px;
  text-transform: none;
}

.footer__links a:hover,
.footer__links a:focus-visible,
.footer__brand a:hover,
.footer__brand a:focus-visible {
  color: var(--lantern);
}

.legal {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-hero-from), var(--bg-deep));
}

.legal__top {
  padding: 28px var(--gutter);
}

.legal__brand {
  color: rgba(255, 255, 255, 0.75);
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 3.3px;
  text-transform: uppercase;
}

.legal__brand:hover,
.legal__brand:focus-visible {
  color: var(--lantern);
}

.legal__main {
  padding: 80px var(--gutter) 120px;
}

.legal__main h1 {
  margin: 16px 0 24px;
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.legal__lead {
  max-width: 640px;
  margin: 0 0 24px;
  text-align: left;
}

.legal__main .layer__text {
  margin-bottom: 18px;
}

.legal__back {
  margin-top: 48px;
}

.legal__back a {
  color: rgba(115, 242, 240, 0.7);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.legal__back a:hover,
.legal__back a:focus-visible {
  color: var(--lantern);
}

.legal-doc {
  max-width: 720px;
}

.legal-doc h2 {
  margin: 40px 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.legal-doc h3 {
  margin: 28px 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 16.8px;
  line-height: 1.8;
}

.legal-doc p {
  margin: 0 0 14px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-doc ul ul {
  margin: 8px 0 4px;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc a {
  color: rgba(115, 242, 240, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc a:hover,
.legal-doc a:focus-visible {
  color: var(--lantern);
}

.legal-doc .legal-doc__date {
  color: rgba(255, 255, 255, 0.38);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.support-panel {
  position: relative;
  max-width: 560px;
  margin: 8px 0 0;
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(1, 8, 12, 0.72);
  border: 1px solid rgba(115, 242, 240, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.form-group label span[aria-hidden="true"] {
  color: var(--lantern);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(115, 242, 240, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: Lora, Georgia, serif;
  font-size: 16px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2373f2f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  color: #072033;
  background: #e8f4f8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lantern);
  box-shadow: 0 0 0 3px rgba(115, 242, 240, 0.18);
}

.button {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--lantern);
  color: #02080d;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
}

.button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-message {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.form-message.success {
  display: block;
  background: rgba(115, 242, 240, 0.14);
  color: var(--lantern);
}

.form-message.error {
  display: block;
  background: rgba(196, 92, 56, 0.22);
  color: #ffd4c4;
}

.contact-alt {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-alt a {
  color: rgba(115, 242, 240, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-alt a:hover,
.contact-alt a:focus-visible {
  color: var(--lantern);
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-32px);
  }
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(1);
    transform-origin: top;
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.12);
    transform-origin: top;
  }
}

@media (max-width: 1100px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plate {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .depth-scale {
    display: none;
  }

  .lang-switch {
    right: 16px;
    top: 16px;
  }

  .hero h1 {
    letter-spacing: 0.12em;
    padding-left: 0.12em;
  }

  .layer,
  .layer__grid {
    min-height: 0;
  }

  .layer__grid,
  .layer__grid--flip,
  .platforms__row,
  .footer__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .layer__grid--flip {
    flex-direction: column-reverse;
  }

  .layer__media,
  .layer__media--end {
    justify-content: center;
    width: 100%;
  }

  .layer__copy {
    max-width: none;
  }

  .chip {
    white-space: normal;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .plate {
    min-height: 280px;
  }

  .platforms {
    padding: 72px 0;
  }

  .devices {
    width: 100%;
    justify-content: flex-start;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .hero__scroll {
    bottom: 24px;
  }
}

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

  .hero__particle,
  .hero__scroll::after {
    animation: none;
  }
}
