:root {
  --ink-950: #020812;
  --ink-900: #061426;
  --ink-800: #0a1c30;
  --ink-700: #0e2b3a;
  --cyan: #73e7ff;
  --cyan-soft: #dff8ff;
  --teal: #19c7bd;
  --gold: #d6a43a;
  --gold-soft: #fff2c7;
  --green: #8ff4cf;
  --rose: #e76f73;
  --white: #ffffff;
  --text: #f5f8fb;
  --muted: rgba(245, 248, 251, 0.74);
  --muted-strong: rgba(245, 248, 251, 0.88);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(115, 231, 255, 0.32);
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --glow-cyan: 0 0 42px rgba(115, 231, 255, 0.28);
  --glow-gold: 0 0 34px rgba(214, 164, 58, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --header-height: 76px;
  --container: 1180px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 42%, #07101d 100%);
  font-family:
    "Inter",
    "Helvetica Neue",
    "Arial",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

body::selection {
  color: var(--ink-950);
  background: var(--cyan);
}

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(115, 231, 255, 0.9);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-950);
  background: var(--cyan);
  font-weight: 850;
  transform: translateY(-160%);
  transition: transform 0.22s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.72s var(--ease-out),
    transform 0.72s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(2, 8, 18, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 8, 18, 0.86);
  border-color: rgba(115, 231, 255, 0.16);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.header-inner {
  width: min(var(--container), calc(100% - 42px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(115, 231, 255, 0.24), rgba(214, 164, 58, 0.12));
  box-shadow: var(--glow-cyan);
  position: relative;
}

.logo-mark::before,
.logo-mark::after,
.logo-mark span {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
}

.logo-mark::before {
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.logo-mark::after {
  width: 2px;
  height: 26px;
  inset: 6px auto auto 18px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--cyan));
  transform: rotate(42deg);
  transform-origin: center;
}

.logo-mark span {
  inset: 18px 8px auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.66);
}

.logo-copy {
  display: grid;
  gap: 1px;
}

.logo-copy strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.logo-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
}

.nav-group {
  position: relative;
}

.nav-trigger,
.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 820;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-trigger[aria-expanded="true"],
.nav-link:hover,
.nav-trigger:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6, 20, 38, 0.96), rgba(2, 8, 18, 0.96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -8px, 0) scale(0.98);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.nav-group.is-open .nav-panel,
.nav-group:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.panel-link {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--white);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.panel-link:hover {
  background: rgba(115, 231, 255, 0.1);
  transform: translateY(-1px);
}

.panel-link span {
  font-size: 0.94rem;
  font-weight: 880;
}

.panel-link small {
  color: rgba(245, 248, 251, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--cyan), var(--white));
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(115, 231, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(115, 231, 255, 0.32);
}

.menu-toggle,
.mobile-menu-close {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}

.menu-toggle span,
.mobile-menu-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(42deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-42deg);
}

.mobile-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.mobile-scrim.is-visible {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 90;
  width: min(400px, calc(100% - 18px));
  height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-menu.is-open {
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-panel {
  height: 100%;
  padding: 22px;
  border-radius: 24px 0 0 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 20, 38, 0.98), rgba(2, 8, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.34);
  overflow-y: auto;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-top p {
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.mobile-menu-top span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}

.mobile-menu-close span:first-child {
  transform: rotate(42deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-42deg);
}

.mobile-nav {
  display: grid;
  gap: 22px;
  padding-top: 22px;
}

.mobile-nav-group h2 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-group a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.mobile-nav-group a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(115, 231, 255, 0.84);
  border-right: 2px solid rgba(115, 231, 255, 0.84);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.message-hero {
  min-height: min(720px, 88svh);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  padding: calc(var(--header-height) + 84px) 0 86px;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.94) 0%, rgba(2, 8, 18, 0.68) 48%, rgba(2, 8, 18, 0.84) 100%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.3) 0%, rgba(2, 8, 18, 0.92) 100%),
    url("../images/hero.desktop.highlight.png") center / cover;
}

.message-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(115, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 231, 255, 0.055) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.message-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(transparent, var(--ink-950));
}

.message-hero-inner {
  max-width: 900px;
}

.hero-kicker {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: var(--glow-cyan);
}

.hero-title {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 30px 92px rgba(0, 0, 0, 0.62);
}

.hero-lead {
  max-width: 700px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  line-height: 1.9;
  font-weight: 680;
}

.message-shell {
  width: min(920px, calc(100% - 48px));
  margin: clamp(-48px, -4vw, -28px) auto clamp(86px, 12vw, 136px);
  position: relative;
  z-index: 2;
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.036));
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.message-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border-top: 1px solid rgba(115, 231, 255, 0.22);
}

.message-body {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 2.08;
}

.message-body > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.56s var(--ease-out),
    transform 0.56s var(--ease-out);
}

.message-body.is-staggered > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.message-body p {
  margin: 0 0 1.45rem;
  color: rgba(245, 248, 251, 0.86);
}

.message-body h2 {
  margin: 0 0 2rem;
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.quote-lines {
  margin: 2rem 0 2.2rem;
  padding: clamp(18px, 3vw, 26px);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(115, 231, 255, 0.13), rgba(214, 164, 58, 0.065));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.quote-lines p {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 760;
}

.quote-lines p:last-child {
  margin-bottom: 0;
}

.choice-list {
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.choice-list li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.045);
}

.choice-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--glow-gold);
}

.compass-statement {
  margin-top: 3rem;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(115, 231, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(115, 231, 255, 0.12), rgba(143, 244, 207, 0.055) 58%, rgba(214, 164, 58, 0.07));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.compass-statement p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 780;
}

.signature {
  margin-top: 2.8rem;
  padding-top: 2.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signature p {
  margin-bottom: 0;
}

.signature .name {
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.signature .role {
  color: rgba(245, 248, 251, 0.68);
  font-size: 0.94rem;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #01060e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-logo {
  color: var(--white);
  font-weight: 950;
  letter-spacing: 0.16em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-weight: 820;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-note,
.copyright {
  grid-column: 1 / -1;
}

.copyright {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 2px;
  }

  .nav-trigger,
  .nav-link {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    width: min(var(--container), calc(100% - 28px));
  }

  .message-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 74px);
    padding-bottom: 88px;
    background:
      linear-gradient(180deg, rgba(2, 8, 18, 0.9), rgba(2, 8, 18, 0.48) 42%, rgba(2, 8, 18, 0.94) 100%),
      linear-gradient(90deg, rgba(2, 8, 18, 0.84), rgba(2, 8, 18, 0.52)),
      url("../images/hero.mobile.highlight.png") center top / cover;
  }

  .hero-title {
    font-size: clamp(2.65rem, 11vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .message-shell {
    width: min(100% - 28px, var(--container));
  }

  .logo-copy small {
    display: none;
  }

  .logo-copy strong {
    font-size: 0.92rem;
  }

  .message-shell {
    padding: 24px;
    border-radius: 20px;
  }

  .message-body {
    line-height: 2;
  }

  .choice-list li {
    padding-right: 14px;
  }
}

@media (max-width: 380px) {
  .site-logo {
    gap: 8px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .hero-kicker {
    font-size: 0.72rem;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
