:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.72);
  --gold: #c8a15e;
  --red: #9f2d28;
  --gold-soft: rgba(200, 161, 94, 0.18);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --radius: 20px;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --label: "Oswald", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(180deg, #030303 0%, #080808 52%, #050505 100%);
  letter-spacing: 0;
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #f0d28f, var(--gold));
  transition: transform 0.08s linear;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0 16px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.56));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--label);
  font-size: 1.12rem;
  letter-spacing: 0;
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--label);
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav a:hover {
  color: var(--text);
  border-color: rgba(188, 148, 84, 0.52);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(200, 161, 94, 0.48);
  background: rgba(200, 161, 94, 0.12);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.22s ease;
}

.header-cta:hover {
  background: var(--gold);
  color: #080808;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.92rem;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.statement-panel h2,
.closing-cta h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 {
  font-size: 4.45rem;
  max-width: 860px;
}

.typewriter span {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.08em solid rgba(246, 243, 238, 0.86);
  animation:
    typeLine 0.95s steps(14, end) forwards,
    caretStop 0.95s steps(1, end) forwards;
}

.typewriter span:nth-child(2) {
  animation-delay: 0.95s;
}

.typewriter span:nth-child(3) {
  animation-delay: 2s;
}

.hero-copy,
.statement-panel,
.statement-quote,
.manifesto-main,
.manifesto-point,
.story-card,
.value-card,
.service-item,
.vision-panel,
.profile-panel,
.closing-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-lead,
.statement-panel p,
.manifesto-main p,
.story-card p,
.value-card p,
.service-item p,
.vision-panel p,
.profile-panel p,
.closing-cta p,
.manifesto-point p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1rem;
  font-weight: 500;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 760px;
}

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

.cta-note {
  margin: 14px 0 0;
  color: rgba(246, 243, 238, 0.56);
  font-size: 0.88rem;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 0.2s ease;
  letter-spacing: 0;
}

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

.button-primary {
  background: linear-gradient(135deg, #e4c076 0%, #a77d3b 100%);
  color: #090909;
}

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

.hero-visual {
  position: relative;
  min-height: 720px;
  animation: photoLift 8s ease-in-out infinite;
}

.photo-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.38) 56%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(135deg, rgba(159, 45, 40, 0.18), transparent 42%);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.08) brightness(0.72);
  transform: scale(1.02);
  transition: transform 1.2s ease, filter 1.2s ease;
}

.photo-frame:hover img {
  filter: saturate(0.88) contrast(1.08) brightness(0.82);
  transform: scale(1.055);
}

.floating-card {
  position: absolute;
  left: -24px;
  bottom: 34px;
  width: min(320px, 84%);
  padding: 22px 24px;
  border-radius: 4px;
  background: rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(188, 148, 84, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  animation: cardPulse 4.8s ease-in-out infinite;
}

.floating-card strong {
  font-size: 1.16rem;
  line-height: 1.55;
}

.statement-grid,
.manifesto-layout {
  display: grid;
  grid-template-columns: 1.32fr 0.82fr;
  gap: 22px;
}

.statement-grid {
  position: relative;
  isolation: isolate;
  align-items: stretch;
}

.statement-grid::before {
  content: "";
  position: absolute;
  inset: -132px -38px -86px -44px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 63% 50%, rgba(218, 183, 111, 0.38), transparent 15%),
    linear-gradient(90deg, rgba(4, 7, 10, 0.92) 0%, rgba(4, 7, 10, 0.72) 35%, rgba(4, 7, 10, 0.42) 60%, rgba(4, 7, 10, 0.76) 100%),
    url("assets/japan-intro-map.svg") center 44% / 118% auto no-repeat;
  opacity: 1;
}

.statement-grid::after {
  content: "";
  position: absolute;
  inset: -20px -16px -18px -16px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 13, 0.08), rgba(7, 10, 13, 0.42)),
    radial-gradient(circle at 64% 49%, rgba(224, 191, 122, 0.14), transparent 18%);
}

.statement-panel,
.manifesto-main,
.vision-panel,
.profile-panel,
.closing-cta {
  padding: 34px;
}

.statement-panel h2,
.section-heading h2,
.closing-cta h2 {
  font-size: 3.35rem;
  max-width: 1080px;
}

.statement-panel {
  background:
    linear-gradient(110deg, rgba(18, 22, 27, 0.72), rgba(18, 22, 27, 0.5)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(3px);
}

.statement-quote {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(188, 148, 84, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(14, 17, 22, 0.56);
  backdrop-filter: blur(3px);
}

.statement-quote::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 48%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 161, 94, 0.2), transparent 66%);
  opacity: 1;
  transform: translateY(-50%);
  filter: blur(12px);
}

.statement-quote > * {
  position: relative;
  z-index: 1;
}

.statement-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.statement-quote span {
  display: block;
}

.manifesto,
.belief,
.values,
.service,
.members,
.vision,
.profile-section {
  margin-top: 124px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.manifesto-side {
  display: grid;
  gap: 18px;
}

.manifesto-point {
  padding: 24px;
}

.manifesto-point span,
.story-card span,
.value-card span {
  display: block;
  color: var(--gold);
  font-family: var(--label);
  letter-spacing: 0;
  font-weight: 700;
}

.manifesto-point strong,
.story-card h3,
.value-card h3 {
  display: block;
  margin-top: 12px;
  font-size: 1.18rem;
  line-height: 1.55;
}

.story-list,
.value-grid,
.service-list {
  display: grid;
  gap: 18px;
}

.story-card,
.value-card,
.service-item {
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.story-card > * {
  position: relative;
  z-index: 1;
}

.story-card:hover,
.value-card:hover,
.service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 161, 94, 0.42);
  background: var(--panel-strong);
}

.gain {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--gold) !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
}

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

.value-card:nth-child(4),
.value-card:nth-child(5) {
  grid-column: span 1;
}

.closing-cta {
  margin-top: 92px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(188, 148, 84, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.04);
}

.service-list {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.service-single {
  grid-template-columns: minmax(0, 1fr);
}

.service-item {
  min-height: 240px;
}

.service-feature {
  background:
    linear-gradient(160deg, rgba(159, 45, 40, 0.18), rgba(200, 161, 94, 0.08)),
    var(--panel);
  border-color: rgba(200, 161, 94, 0.34);
}

.service-single .service-feature {
  min-height: auto;
  padding: 42px;
}

.members {
  isolation: isolate;
}

.member-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 161, 94, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(200, 161, 94, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.member-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle at 50% 18%, rgba(200, 161, 94, 0.22), transparent 40%);
}

.member-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 68%, rgba(0, 0, 0, 0.52) 100%);
}

.member-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.04) brightness(0.9);
  transform: scale(1.01);
}

.member-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.18)),
    rgba(10, 10, 10, 0.22);
}

.member-role {
  margin: 0;
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.member-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.38rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.member-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1rem;
  font-weight: 500;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.service-item span {
  display: block;
  color: var(--gold);
  font-family: var(--label);
  font-weight: 700;
}

.service-item h3 {
  margin: 14px 0 0;
  font-size: 1.45rem;
  line-height: 1.55;
}

.service-feature h3 {
  font-size: 2.35rem;
  line-height: 1.2;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid rgba(200, 161, 94, 0.44);
  background: rgba(200, 161, 94, 0.1);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  transition: 0.22s ease;
}

.section-cta:hover {
  background: var(--gold);
  color: #080808;
}

.closing-cta p {
  width: min(760px, 100%);
  margin: 18px auto 0;
}

.reveal,
.story-card,
.value-card,
.service-item,
.manifesto-point,
.member-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease var(--delay, 0ms),
    transform 0.75s ease var(--delay, 0ms),
    border-color 0.28s ease,
    background 0.28s ease;
}

.reveal.is-visible,
.story-card.is-visible,
.value-card.is-visible,
.service-item.is-visible,
.manifesto-point.is-visible,
.member-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes photoLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    border-color: rgba(200, 161, 94, 0.32);
  }
  50% {
    border-color: rgba(200, 161, 94, 0.68);
  }
}

@keyframes typeLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes caretStop {
  0%,
  98% {
    border-color: rgba(246, 243, 238, 0.86);
  }

  100% {
    border-color: transparent;
  }
}

@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;
  }

  .reveal,
  .story-card,
  .value-card,
  .service-item,
  .manifesto-point,
  .member-card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero,
  .statement-grid,
  .manifesto-layout,
  .value-grid,
  .service-list,
  .member-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .photo-frame {
    min-height: 520px;
  }

  .floating-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .statement-grid::before {
    inset: -54px -18px -34px -14px;
    background:
      radial-gradient(circle at 64% 35%, rgba(200, 161, 94, 0.24), transparent 14%),
      linear-gradient(180deg, rgba(5, 8, 12, 0.88), rgba(5, 8, 12, 0.78)),
      url("assets/japan-intro-map.svg") center 22% / 150% auto no-repeat;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1280px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
  }

  .site-nav a {
    width: calc(50% - 6px);
    text-align: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    gap: 24px;
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 2.28rem;
    line-height: 1.24;
  }

  .photo-frame {
    min-height: 420px;
  }

  .statement-panel,
  .manifesto-main,
  .vision-panel,
  .profile-panel,
  .closing-cta,
  .story-card,
  .value-card,
  .service-item,
  .manifesto-point,
  .member-copy {
    padding: 22px;
  }

  .member-visual {
    min-height: 320px;
  }

  .member-copy h3 {
    font-size: 1.9rem;
  }

  .statement-quote p {
    font-size: 2.26rem;
  }

  .statement-quote::before {
    right: -28px;
    width: 210px;
    height: 210px;
    opacity: 0.54;
  }

  .statement-panel h2,
  .section-heading h2,
  .closing-cta h2 {
    font-size: 2.18rem;
    line-height: 1.28;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero h1 {
    font-size: 3.32rem;
  }

  .statement-panel h2,
  .section-heading h2,
  .closing-cta h2 {
    font-size: 2.8rem;
  }
}
