:root {
  --bg: #000000;
  --panel: #050505;
  --text: #f4f4f1;
  --text-soft: rgba(244, 244, 241, 0.72);
  --line: rgba(244, 244, 241, 0.2);
  --line-strong: rgba(244, 244, 241, 0.84);
  --outline: rgba(244, 244, 241, 0.48);
  --outline-glow: rgba(244, 244, 241, 0.18);
  --button-black: #050505;
  --button-white: #f4f4f1;
  --red: #bf1e2d;
  --font-serif: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", "Songti SC", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --font-sans: "Helvetica Neue", "Noto Sans TC", "Noto Sans CJK TC", "PingFang TC", "Hiragino Sans", Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(100% - 40px, 980px);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-gate-open {
  overflow: hidden;
}

body.is-started .site-main,
body.is-started .sweep-word {
  opacity: 1;
}

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

button,
select {
  font: inherit;
}

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

.frame-lines {
  position: fixed;
  inset: 14px;
  pointer-events: none;
  z-index: 1;
}

.frame-line {
  position: absolute;
  background: var(--line);
}

.frame-line-top,
.frame-line-bottom {
  left: 0;
  width: 100%;
  height: 1px;
}

.frame-line-left,
.frame-line-right {
  top: 0;
  width: 1px;
  height: 100%;
}

.frame-line-top {
  top: 0;
}

.frame-line-right {
  right: 0;
}

.frame-line-bottom {
  bottom: 0;
}

.frame-line-left {
  left: 0;
}

.rule-double {
  height: 0;
  border-top: 3px double var(--line-strong);
}

.language-control {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 16;
}

.lang-select {
  min-width: 104px;
  height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.96);
  color: var(--text);
  appearance: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 15px) 18px, calc(100% - 9px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lang-select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.lang-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.lang-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lang-gate-panel {
  width: min(100%, 760px);
  padding: 22px 0;
}

.lang-gate-kicker,
.lang-gate-note {
  margin: 0;
  color: var(--text-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.lang-gate-title {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.14;
}

.lang-gate-subtitle {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.lang-gate-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 16px;
}

.lang-gate-option {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  justify-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.94);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.lang-gate-option:hover,
.lang-gate-option:focus-visible {
  transform: translateY(-2px);
  background: var(--button-white);
  color: #000000;
  outline: none;
}

.lang-gate-option:focus-visible {
  border-color: var(--red);
}

.lang-gate-option-label {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
}

.lang-gate-option-meta {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.sweep-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sweep-word {
  position: absolute;
  left: var(--rest-x);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.8vw, 7.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.7px rgba(244, 244, 241, 0.66);
  text-shadow: 0 0 14px rgba(244, 244, 241, 0.16), 0 0 28px rgba(244, 244, 241, 0.08);
  opacity: 0;
  transform: translateX(-14vw);
  clip-path: inset(0 100% 0 0);
  will-change: clip-path, opacity, transform;
}

.sweep-word::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -12%;
  width: 24%;
  height: 142%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.24) 24%,
    rgba(255, 255, 255, 0.92) 52%,
    rgba(255, 255, 255, 0.2) 76%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  filter: blur(14px);
  transform: translateX(-165%);
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.sweep-word-1 {
  top: 13vh;
  --rest-x: 6vw;
  --word-opacity: 0.36;
  --word-flash-opacity: 0.58;
}

.sweep-word-2 {
  top: 28vh;
  --rest-x: 11vw;
  --word-opacity: 0.32;
  --word-flash-opacity: 0.52;
}

.sweep-word-3 {
  top: 43vh;
  --rest-x: 16vw;
  --word-opacity: 0.28;
  --word-flash-opacity: 0.46;
}

body.is-started .sweep-word-1 {
  animation: sweep-word 1680ms cubic-bezier(0.16, 0.88, 0.24, 1) 140ms forwards;
}

body.is-started .sweep-word-2 {
  animation: sweep-word 1760ms cubic-bezier(0.16, 0.88, 0.24, 1) 420ms forwards;
}

body.is-started .sweep-word-3 {
  animation: sweep-word 1840ms cubic-bezier(0.16, 0.88, 0.24, 1) 720ms forwards;
}

body.is-started .sweep-word-1::after {
  animation: sweep-beam 1680ms cubic-bezier(0.16, 0.88, 0.24, 1) 140ms forwards;
}

body.is-started .sweep-word-2::after {
  animation: sweep-beam 1760ms cubic-bezier(0.16, 0.88, 0.24, 1) 420ms forwards;
}

body.is-started .sweep-word-3::after {
  animation: sweep-beam 1840ms cubic-bezier(0.16, 0.88, 0.24, 1) 720ms forwards;
}

@keyframes sweep-word {
  0% {
    opacity: 0;
    transform: translateX(-20vw);
    clip-path: inset(0 100% 0 0);
  }

  18% {
    opacity: 0.08;
  }

  56% {
    opacity: var(--word-flash-opacity);
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: var(--word-opacity);
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes sweep-beam {
  0% {
    opacity: 0;
    transform: translateX(-165%);
  }

  12% {
    opacity: 0.9;
  }

  60% {
    opacity: 0.24;
    transform: translateX(300%);
  }

  100% {
    opacity: 0;
    transform: translateX(340%);
  }
}

.site-main {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 104px 0 76px;
  opacity: 0;
  transition: opacity 320ms ease;
}

.hero-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: 72px;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100dvh - 180px);
}

.hero-rail {
  position: fixed;
  top: 50%;
  z-index: 3;
  color: rgba(244, 244, 241, 0.38);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-rail-left {
  left: 28px;
}

.hero-rail-right {
  right: 28px;
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker,
.hero-route {
  opacity: 0;
  transform: translateY(14px);
}

body.is-started .hero-kicker,
body.is-started .hero-route {
  animation: soft-rise 560ms ease forwards;
}

body.is-started .hero-kicker {
  animation-delay: 1000ms;
}

body.is-started .hero-route {
  animation-delay: 1120ms;
}

@keyframes soft-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  display: grid;
  gap: 8px;
  margin: 34px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 7.6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-title-line {
  display: inline-flex;
  align-items: center;
  min-height: 1.2em;
}

.hero-title-line.is-active::after {
  content: "";
  width: 0.55em;
  height: 0.08em;
  margin-left: 0.14em;
  background: var(--text);
  animation: cursor-blink 920ms steps(1) infinite;
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

.hero-note {
  margin: 24px 0 0;
  max-width: 44ch;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.hero-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.link-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.friend-shell {
  display: grid;
  gap: 18px;
  opacity: 1;
}

.friend-shell .rule-double {
  margin-top: 12px;
}

.friend-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.friend-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.portal-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 108px;
  align-content: space-between;
  padding: 16px 18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--button-black);
  color: var(--button-white);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.portal-button.is-armed {
  background: var(--button-white);
  color: #000000;
}

.portal-button.is-leaving {
  border: 3px solid var(--red);
}

.portal-button:hover,
.portal-button:focus-visible {
  transform: translateY(-2px);
}

.portal-button:focus-visible {
  outline: none;
  border-color: var(--red);
}

.portal-button-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.friend-card {
  min-height: 0;
}

.friend-self-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line-strong);
  background: var(--button-white);
  color: #000000;
}

.friend-card-copy {
  display: grid;
  gap: 16px;
}

.friend-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.friend-card-kicker {
  margin: 0;
  color: currentColor;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.friend-card-name {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.16;
}

.friend-logo-box {
  display: grid;
  place-items: center;
  width: 82px;
  min-width: 82px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.04);
}

.friend-logo-placeholder {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.friend-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.friend-info-item,
.friend-contact-block {
  display: grid;
  gap: 6px;
}

.friend-info-label {
  color: currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.friend-info-value,
.friend-inline-link,
.friend-card-domain,
.friend-card-description {
  color: currentColor;
  font-size: 0.96rem;
  line-height: 1.7;
}

.friend-inline-link {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  width: fit-content;
}

.friend-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.friend-action-link {
  appearance: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
}

.friend-action-link:hover,
.friend-action-link:focus-visible,
.friend-inline-link:hover,
.friend-inline-link:focus-visible {
  color: var(--red);
  border-color: var(--red);
  outline: none;
}

.friend-link-card {
  min-height: 0;
}

.friend-link-card .friend-card-copy {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.friend-link-logo-shell {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.friend-link-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-link-body {
  display: grid;
  gap: 4px;
}

.friend-card-domain {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.friend-card-description {
  opacity: 0.84;
}

.portal-button.is-booting .portal-button-copy {
  animation: button-copy-flip 1550ms linear forwards;
}

@keyframes button-copy-flip {
  0%,
  56% {
    color: var(--button-white);
  }

  72%,
  100% {
    color: #000000;
  }
}

.portal-button-title {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.portal-button-subtitle {
  color: currentColor;
  font-size: 0.84rem;
  line-height: 1.4;
  opacity: 0.78;
}

.portal-button-domain {
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.portal-button-reveal,
.portal-button-line,
.portal-button-trail {
  position: absolute;
  pointer-events: none;
}

.portal-button-reveal {
  inset: 0;
  z-index: 0;
  background: var(--button-white);
  transform: scaleX(0);
  will-change: transform;
}

.portal-button[data-axis="x"] .portal-button-reveal {
  transform-origin: right center;
}

.portal-button[data-axis="y"] .portal-button-reveal {
  transform-origin: center bottom;
  transform: scaleY(0);
}

.portal-button-line {
  z-index: 1;
  background: rgba(255, 255, 255, 0.98);
  will-change: transform, opacity;
}

.portal-button-trail {
  z-index: 1;
  opacity: 0.78;
  filter: blur(18px);
  will-change: transform, opacity;
}

.portal-button[data-axis="x"] .portal-button-line {
  top: -1px;
  left: -24%;
  width: 32%;
  height: calc(100% + 2px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 26%,
    rgba(255, 255, 255, 0.98) 54%,
    rgba(255, 255, 255, 0.2) 82%,
    rgba(255, 255, 255, 0) 100%
  );
}

.portal-button[data-axis="x"] .portal-button-trail {
  top: 18%;
  left: -36%;
  width: 52%;
  height: 64%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0) 100%
  );
}

.portal-button[data-axis="y"] .portal-button-line {
  top: -28%;
  left: -1px;
  width: calc(100% + 2px);
  height: 26%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 24%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(255, 255, 255, 0.2) 76%,
    rgba(255, 255, 255, 0) 100%
  );
}

.portal-button[data-axis="y"] .portal-button-trail {
  top: -36%;
  left: 16%;
  width: 68%;
  height: 52%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0) 100%
  );
}

.portal-button.is-booting[data-axis="x"] .portal-button-line {
  animation: scan-x 1550ms cubic-bezier(0.16, 0.88, 0.3, 1) forwards;
}

.portal-button.is-booting[data-axis="x"] .portal-button-trail {
  animation: trail-x 1550ms cubic-bezier(0.16, 0.88, 0.3, 1) forwards;
}

.portal-button.is-booting[data-axis="x"] .portal-button-reveal {
  animation: fill-x 1550ms linear forwards;
}

.portal-button.is-booting[data-axis="y"] .portal-button-line {
  animation: scan-y 1550ms cubic-bezier(0.16, 0.88, 0.3, 1) forwards;
}

.portal-button.is-booting[data-axis="y"] .portal-button-trail {
  animation: trail-y 1550ms cubic-bezier(0.16, 0.88, 0.3, 1) forwards;
}

.portal-button.is-booting[data-axis="y"] .portal-button-reveal {
  animation: fill-y 1550ms linear forwards;
}

@keyframes scan-x {
  0% {
    transform: translateX(-90%);
  }

  48% {
    transform: translateX(348%);
  }

  100% {
    transform: translateX(-8%);
  }
}

@keyframes trail-x {
  0% {
    opacity: 0;
    transform: translateX(-96%);
  }

  14% {
    opacity: 0.72;
  }

  46% {
    opacity: 0.2;
    transform: translateX(248%);
  }

  100% {
    opacity: 0;
    transform: translateX(248%);
  }
}

@keyframes fill-x {
  0%,
  47% {
    transform: scaleX(0);
  }

  56% {
    transform: scaleX(0.12);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes scan-y {
  0% {
    transform: translateY(-92%);
  }

  48% {
    transform: translateY(350%);
  }

  100% {
    transform: translateY(-8%);
  }
}

@keyframes trail-y {
  0% {
    opacity: 0;
    transform: translateY(-98%);
  }

  14% {
    opacity: 0.72;
  }

  46% {
    opacity: 0.22;
    transform: translateY(248%);
  }

  100% {
    opacity: 0;
    transform: translateY(248%);
  }
}

@keyframes fill-y {
  0%,
  47% {
    transform: scaleY(0);
  }

  56% {
    transform: scaleY(0.12);
  }

  100% {
    transform: scaleY(1);
  }
}

.not-found-body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found-shell {
  display: grid;
  gap: 18px;
  width: min(100%, 560px);
  padding: 24px 0;
}

.not-found-code,
.not-found-title,
.not-found-copy {
  margin: 0;
}

.not-found-code {
  color: var(--text-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.not-found-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
}

.not-found-copy {
  max-width: 34ch;
  color: var(--text-soft);
  line-height: 1.8;
}

.not-found-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: var(--button-white);
  color: #000000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .lang-gate-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-rail {
    display: none;
  }

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

  .friend-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .frame-lines {
    inset: 10px;
  }

  .language-control {
    top: 20px;
    right: 20px;
  }

  .lang-gate {
    padding: 20px;
  }

  .lang-gate-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-main {
    padding: 110px 0 48px;
  }

  .hero-shell {
    gap: 54px;
  }

  .hero-shell {
    width: min(100% - 28px, 980px);
  }

  .hero-lead {
    min-height: calc(100dvh - 170px);
  }

  .hero-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-note {
    font-size: 0.94rem;
  }

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

  .portal-button {
    min-height: 112px;
  }

  .friend-card-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .friend-logo-box {
    width: 72px;
    min-width: 72px;
  }

  .friend-link-card .friend-card-copy {
    grid-template-columns: 1fr;
  }

  .friend-link-logo-shell {
    width: 72px;
  }

  .friend-action-row {
    display: grid;
  }

  .sweep-word {
    font-size: clamp(2.15rem, 11vw, 4.1rem);
    -webkit-text-stroke-width: 1.25px;
  }

  .sweep-word-1 {
    top: 14vh;
    --rest-x: 4vw;
  }

  .sweep-word-2 {
    top: 26vh;
    --rest-x: 8vw;
  }

  .sweep-word-3 {
    top: 38vh;
    --rest-x: 12vw;
  }
}

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

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

  .site-main,
  .hero-kicker,
  .hero-route,
  .hero-note,
  .link-grid,
  .sweep-word {
    opacity: 1 !important;
    transform: none !important;
  }
}
