:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f5f1e9;
  --muted: rgba(245, 241, 233, 0.72);
  --faint: rgba(245, 241, 233, 0.45);
  --gold: #d8bd7d;
  --gold-soft: rgba(216, 189, 125, 0.22);
  --cyan: #9ddcff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Inter", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(157, 220, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(216, 189, 125, 0.22), transparent 32rem),
    radial-gradient(circle at 50% 82%, rgba(105, 90, 255, 0.18), transparent 34rem),
    linear-gradient(135deg, #07080d 0%, #10131c 48%, #07080d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  color: var(--gold);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 28px rgba(216, 189, 125, 0.12);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.13em;
}

.brand-sub {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 64px;
  padding: 72px 0 96px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

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

h1 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.hero-title {
  text-wrap: normal;
}

.catch-line {
  display: block;
}

.catch-second {
  max-width: 100%;
}

.catch-piece {
  display: inline-block;
  white-space: nowrap;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #111014;
  background: linear-gradient(135deg, #f2e0ae, var(--gold));
  box-shadow: 0 16px 36px rgba(216, 189, 125, 0.22);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.panel,
.method-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.network-card {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.network-card::before,
.network-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(26px);
}

.network-card::before {
  width: 260px;
  height: 260px;
  top: -86px;
  right: -74px;
  background: rgba(216, 189, 125, 0.17);
}

.network-card::after {
  width: 230px;
  height: 230px;
  left: -92px;
  bottom: -96px;
  background: rgba(157, 220, 255, 0.12);
}

.network-glow {
  position: absolute;
  inset: 11% 8%;
  background:
    radial-gradient(circle at 52% 48%, rgba(216, 189, 125, 0.16), transparent 22%),
    radial-gradient(circle at 76% 24%, rgba(157, 220, 255, 0.10), transparent 22%),
    radial-gradient(circle at 26% 76%, rgba(245, 241, 233, 0.06), transparent 28%);
  filter: blur(10px);
  opacity: 0.92;
  animation: networkDrift 16s ease-in-out infinite alternate;
}

.network-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.network-field path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}

.network-links line {
  stroke: url(#linkGradient);
  stroke-width: 1.35;
  stroke-linecap: round;
  opacity: 0.68;
  stroke-dasharray: 2 10;
  vector-effect: non-scaling-stroke;
}

.network-links line:nth-child(3n) {
  opacity: 0.54;
}

.network-links line:nth-child(4n) {
  stroke-dasharray: 1.5 12;
}

.node {
  fill: var(--gold);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(216, 189, 125, 0.62));
  animation: nodePulse 6.8s ease-in-out infinite;
}

.node-large {
  fill: #f0dca6;
  filter: drop-shadow(0 0 16px rgba(216, 189, 125, 0.82));
}

.node-soft {
  fill: rgba(157, 220, 255, 0.84);
  filter: drop-shadow(0 0 10px rgba(157, 220, 255, 0.46));
}

.node-faint {
  fill: rgba(245, 241, 233, 0.62);
  filter: drop-shadow(0 0 8px rgba(245, 241, 233, 0.28));
}

.delay-1 { animation-delay: 0.55s; }
.delay-2 { animation-delay: 1.1s; }
.delay-3 { animation-delay: 1.65s; }
.delay-4 { animation-delay: 2.2s; }
.delay-5 { animation-delay: 2.75s; }
.delay-6 { animation-delay: 3.3s; }

.network-halos circle {
  fill: none;
  stroke: rgba(216, 189, 125, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 10;
  transform-origin: center;
  animation: haloBreathe 12s ease-in-out infinite;
}

.network-halos circle:nth-child(2) {
  stroke: rgba(157, 220, 255, 0.06);
  animation-delay: 1.6s;
}

.network-halos circle:nth-child(3) {
  animation-delay: 3.2s;
}

.panel {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
}

.profile-panel,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 28px;
}

.profile-panel {
  width: 100%;
}

.profile-text {
  max-width: none;
  width: 100%;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.08em;
}

.name-reading {
  display: block;
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
}


.profile-text p,
.contact-box p,
.method-card p {
  color: var(--muted);
  line-height: 2;
  letter-spacing: 0.04em;
}

.profile-text p:last-child,
.contact-box p:last-child,
.method-card p:last-child {
  margin-bottom: 0;
}

.methods {
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.method-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  padding: 34px;
  overflow: hidden;
}

.method-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 125, 0.18);
  background: rgba(216, 189, 125, 0.06);
}

.method-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
}

.contact-box {
  padding: 0;
}

.muted {
  color: var(--faint) !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 48px;
  color: var(--faint);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

@keyframes networkSignal {
  to { stroke-dashoffset: -156; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.76; }
  48% { transform: scale(1.34); opacity: 1; }
}

@keyframes haloBreathe {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

@keyframes networkDrift {
  0% { transform: translate3d(-8px, 4px, 0) scale(1); }
  100% { transform: translate3d(10px, -10px, 0) scale(1.04); }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 48px 0 84px;
  }

  .network-card,
  .network-visual {
    min-height: 420px;
  }

  .profile-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
  }

  .brand-sub {
    display: none;
  }

  .hero {
    gap: 42px;
  }

  h1 {
    font-size: clamp(2.65rem, 17vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .panel,
  .method-card {
    padding: 26px;
  }

  .network-card,
  .network-visual {
    min-height: 360px;
  }
}


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