:root {
  --bg: #050505;
  --bg-soft: #090909;
  --surface: #0d0d0d;
  --ivory: #f0eadf;
  --white: #faf8f3;
  --muted: #aaa397;
  --muted-2: #777166;
  --line: rgba(240, 234, 223, 0.14);
  --gold: #b88a4a;
  --gold-light: #e4c08b;
  --gold-dim: rgba(184, 138, 74, 0.22);
  --shell: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 70% 8%, rgba(184,138,74,.06), transparent 26%),
    var(--bg);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--gold); color: #111; }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; border-top: 1px solid var(--line); }
.section-tall { padding: clamp(96px, 13vw, 180px) 0; }
.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;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  transform: translateY(-200%); background: var(--white); color: #111;
  padding: 10px 14px; border-radius: 2px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(5,5,5,.8), rgba(5,5,5,0));
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .18em; font-weight: 600; }
.brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; filter: contrast(1.05); }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a, .footer-links a {
  color: #d7d0c5; font-size: 12px; letter-spacing: .14em; transition: color .2s var(--ease);
}
.primary-nav a:hover, .footer-links a:hover { color: var(--gold-light); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; padding: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 7px auto; background: currentColor; transition: .25s var(--ease); }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 0;
  padding: 112px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-index, .project-status {
  color: var(--gold-light); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 22px;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 116px);
  font-weight: 400;
  letter-spacing: .1em;
  line-height: .95;
  color: var(--white);
}
.hero-jp { font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(22px, 2.4vw, 34px); margin: 38px 0 8px; letter-spacing: .14em; }
.hero-en { color: var(--muted); font-size: 12px; letter-spacing: .2em; margin: 0 0 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 170px; padding: 13px 16px; border: 1px solid var(--gold); font-size: 12px; letter-spacing: .14em; transition: .25s var(--ease); }
.button-primary { background: var(--gold); color: #0b0907; font-weight: 700; }
.button-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }

.core-stage { position: relative; width: min(58vw, 650px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.core-stage::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,194,128,.23), rgba(184,138,74,.08) 30%, transparent 65%);
  filter: blur(28px); animation: breathe 5.2s ease-in-out infinite;
}
.core-stage::after {
  content: ""; position: absolute; inset: 15%; border: 1px solid rgba(228,192,139,.12); border-radius: 50%;
  box-shadow: 0 0 80px rgba(184,138,74,.08) inset;
}
.core-stage img { width: 82%; position: relative; z-index: 1; mix-blend-mode: screen; filter: drop-shadow(0 0 24px rgba(184,138,74,.18)); }
.core-orbit { position: absolute; inset: 3%; border: 1px solid rgba(184,138,74,.1); border-radius: 50%; }
.core-orbit::before, .core-orbit::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(240,234,223,.06); border-radius: 50%; }
.core-orbit::after { inset: 25%; border-color: rgba(184,138,74,.13); }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -180px; top: 5%; border-radius: 50%; background: radial-gradient(circle, rgba(184,138,74,.08), transparent 70%); filter: blur(30px); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--muted-2); font-size: 9px; letter-spacing: .22em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); }

.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(56px, 9vw, 130px); }
.origin-visual { position: relative; }
.origin-visual::before { content:""; position:absolute; inset:14%; border:1px solid rgba(184,138,74,.12); border-radius:50%; }
.origin-visual img { width: min(100%, 560px); margin-inline: auto; mix-blend-mode: screen; }
.origin-copy h2, .section-heading h2, .philosophy h2, .connect h2 {
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; color: var(--white);
}
.origin-copy h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.35; margin: 0 0 30px; }
.origin-copy > p:not(.section-index) { color: #d4cec3; margin: 0 0 10px; font-size: 16px; }
.origin-definition { margin-top: 48px; border-top: 1px solid var(--line); }
.origin-definition > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.origin-definition span { color: var(--gold-light); font-size: 10px; letter-spacing: .16em; }
.origin-definition p { margin: 0; color: var(--muted); font-size: 13px; }

.section-heading { max-width: 760px; margin-bottom: 76px; }
.section-heading h2 { font-size: clamp(42px, 6vw, 80px); letter-spacing: .05em; line-height: 1; margin: 0 0 20px; }
.section-heading > p:last-child { color: var(--muted); max-width: 580px; margin: 0; }
.create-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.create-block { min-height: 310px; padding: 34px 34px 32px 0; border-right: 1px solid var(--line); position: relative; }
.create-block + .create-block { padding-left: 34px; }
.create-block:last-child { border-right: 0; }
.create-number { color: var(--muted-2); font-size: 10px; letter-spacing: .16em; }
.create-block h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.5vw, 50px); font-weight: 400; letter-spacing: .08em; margin: 58px 0 4px; }
.create-meta { color: var(--gold-light); font-size: 11px; letter-spacing: .1em; margin: 0 0 24px; }
.create-block p:last-child { color: #d5cec3; margin: 0; }

.works { background: linear-gradient(180deg, #050505, #070707 50%, #050505); }
.project-empty { display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; border: 1px solid var(--line); min-height: 470px; }
.project-empty-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(184,138,74,.1), transparent 46%), #080808; border-right: 1px solid var(--line); }
.project-empty-visual img { width: min(48%, 340px); opacity: .78; mix-blend-mode: screen; }
.project-line { position: absolute; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4; }
.project-empty-copy { padding: clamp(42px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.project-empty-copy h3 { font-family: Georgia, "Yu Mincho", serif; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.35; font-weight: 400; margin: 0 0 24px; }
.project-empty-copy p:not(.project-status) { color: var(--muted); margin: 0 0 34px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; width: max-content; border-bottom: 1px solid var(--gold); padding-bottom: 5px; font-size: 12px; letter-spacing: .14em; color: var(--gold-light); }

.philosophy { min-height: 78vh; display: grid; place-items: center; overflow: hidden; }
.philosophy-inner { text-align: center; position: relative; }
.philosophy-inner img { position: absolute; width: 220px; left: 50%; top: 46%; transform: translate(-50%, -50%); opacity: .13; mix-blend-mode: screen; pointer-events: none; }
.philosophy h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.45; margin: 0; position: relative; z-index: 1; }

.connect { padding: 110px 0; }
.connect-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; }
.connect h2 { font-size: clamp(42px, 6vw, 76px); letter-spacing: .08em; margin: 0 0 14px; }
.connect p:not(.section-index) { color: var(--muted); margin: 0; max-width: 620px; }
.connect-links { display: grid; min-width: 280px; }
.connect-links a { display: flex; justify-content: space-between; gap: 30px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; transition: color .2s var(--ease), border-color .2s var(--ease); }
.connect-links a:hover { color: var(--gold-light); border-color: var(--gold); }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-grid > p { color: var(--muted-2); font-size: 11px; letter-spacing: .08em; margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; }
.footer-brand img { width: 24px; height: 24px; border-radius: 50%; }
.footer-links { justify-self: end; display: flex; gap: 24px; }

.page-hero { padding: 180px 0 90px; min-height: 58vh; display: flex; align-items: end; }
.page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 8vw, 110px); letter-spacing: .08em; font-weight: 400; margin: 0 0 20px; }
.page-hero p { max-width: 680px; color: var(--muted); margin: 0; }
.page-content { padding: 90px 0 140px; }
.page-panel { border-top: 1px solid var(--line); padding: 42px 0; display: grid; grid-template-columns: 220px 1fr; gap: 60px; }
.page-panel h2 { margin: 0; font-size: 12px; letter-spacing: .16em; color: var(--gold-light); font-weight: 500; }
.page-panel p { margin: 0; color: #d7d0c5; max-width: 760px; }
.page-panel strong { color: var(--white); font-weight: 500; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 34px, 760px); }
  .header-inner { height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto 0; display: grid; gap: 0; background: rgba(5,5,5,.98);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 17px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border-bottom: 0; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid, .split-grid, .project-empty, .connect-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 2; margin-top: -20px; }
  .core-stage { order: 1; width: min(90vw, 540px); justify-self: center; }
  .hero h1 { font-size: clamp(48px, 14vw, 86px); }
  .scroll-cue { display: none; }
  .origin-visual img { width: min(88vw, 500px); }
  .create-grid { grid-template-columns: 1fr; }
  .create-block, .create-block + .create-block { min-height: 230px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .create-block:last-child { border-bottom: 0; }
  .create-block h3 { margin-top: 36px; }
  .project-empty-visual { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line); }
  .connect-links { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; flex-wrap: wrap; }
  .page-panel { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .hero { padding-bottom: 72px; }
  .eyebrow { display: none; }
  .hero-jp { margin-top: 26px; font-size: 21px; }
  .hero-en { font-size: 10px; letter-spacing: .14em; }
  .core-stage { width: 94vw; margin-left: -4vw; }
  .origin-copy h2 { font-size: 36px; }
  .origin-definition > div { grid-template-columns: 1fr; gap: 5px; }
  .section-tall { padding: 92px 0; }
  .section-heading { margin-bottom: 46px; }
  .section-heading h2 { font-size: 46px; }
  .project-empty-copy { padding: 34px 24px 40px; }
  .philosophy { min-height: 68vh; }
  .philosophy h2 { font-size: 34px; }
  .connect { padding: 86px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
