:root {
  --ebi: #4a3540;
  --ebi-2: #3b2a33;
  --kare: #8b7355;
  --beni: #c8484a;
  --ranpaku: #efd9a5;
  --kinari: #f5efe6;
  --kuro: #241a1c;
  --white: #fffaf2;
  --line: rgba(74, 53, 64, 0.18);
  --line-dark: rgba(245, 239, 230, 0.18);
  --display: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --max-width: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--kinari);
  color: var(--kuro);
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--beni);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--kinari);
  color: var(--ebi);
  transform: translateY(-180%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--kinari);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.brand-en {
  color: rgba(245, 239, 230, 0.58);
  font-family: var(--latin);
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.global-nav a:not(.nav-contact)::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease);
}

.global-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 9px 16px;
  border: 1px solid rgba(245, 239, 230, 0.38);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  overflow: hidden;
  padding: 170px max(32px, calc((100vw - var(--max-width)) / 2)) 100px;
  background:
    radial-gradient(circle at 74% 36%, rgba(239, 217, 165, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(245, 239, 230, 0.045) 1px, transparent 1px) 0 0 / 92px 100%,
    var(--ebi);
  color: var(--kinari);
}

.hero::before {
  position: absolute;
  top: 132px;
  left: max(32px, calc((100vw - var(--max-width)) / 2));
  width: 8px;
  height: 8px;
  background: var(--beni);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--kare);
  font-family: var(--latin);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ranpaku);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.9vw, 6.1rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.hero-lead {
  max-width: 620px;
  margin: 42px 0 0;
  color: rgba(245, 239, 230, 0.76);
  font-size: clamp(1rem, 1.28vw, 1.15rem);
  line-height: 2.05;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    color 360ms var(--ease);
}

.button-primary {
  padding: 15px 25px;
  border-color: var(--beni);
  background: var(--beni);
  color: var(--kinari);
}

.button-primary:hover {
  border-color: var(--ranpaku);
  background: transparent;
  color: var(--ranpaku);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  text-decoration: none;
}

.blueprint {
  position: relative;
  align-self: center;
  width: min(100%, 500px);
  aspect-ratio: 5 / 6;
  margin-left: auto;
}

.blueprint-line {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.palm-line,
.silver-streak {
  fill: none;
  stroke-linecap: round;
}

.palm-line {
  stroke: rgba(245, 239, 230, 0.34);
  stroke-width: 1.2;
}

.silver-streak.ghost {
  stroke: rgba(245, 239, 230, 0.08);
  stroke-width: 20;
}

.silver-streak.main {
  stroke: var(--ranpaku);
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  stroke-width: 1.45;
  animation: draw-line 2.8s var(--ease) 0.3s forwards;
}

.tomoshibi {
  fill: var(--ranpaku);
  filter: drop-shadow(0 0 18px rgba(239, 217, 165, 0.6));
  opacity: 0;
  animation: point-in 480ms var(--ease) 1.55s forwards;
}

.monogram-frame {
  fill: none;
  stroke: var(--beni);
  stroke-width: 1;
}

.monogram {
  position: absolute;
  top: 14%;
  right: 10.5%;
  color: var(--beni);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.blueprint-label {
  position: absolute;
  padding: 2px 8px;
  background: var(--ebi);
  color: rgba(245, 239, 230, 0.58);
  font-family: var(--latin);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.label-concept { top: 11%; left: 54%; }
.label-dialogue { top: 51%; left: 42%; color: var(--ranpaku); }
.label-design { right: 11%; bottom: 24%; }

.blueprint-note {
  position: absolute;
  right: 0;
  bottom: -18px;
  margin: 0;
  color: rgba(245, 239, 230, 0.48);
  font-family: var(--display);
  font-size: 0.86rem;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes point-in {
  to { opacity: 1; }
}

.mobile-only {
  display: none;
}

.section-pad {
  padding: 128px max(32px, calc((100vw - var(--max-width)) / 2));
}

.section-intro {
  max-width: 660px;
}

.section-intro h2,
.evidence-heading h2,
.philosophy h2,
.profile h2,
.journal h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.25vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.section-intro > p:last-child {
  max-width: 570px;
  margin-top: 28px;
}

.recognition {
  background: var(--kinari);
}

.recognition .section-intro {
  max-width: 850px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 9vw;
  margin-top: 92px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.large-copy {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.8vw, 3.05rem);
  font-weight: 300;
  line-height: 1.78;
}

.recognition-body {
  max-width: 510px;
}

.recognition-body p:first-child {
  margin-top: 0;
}

.recognition-body p + p {
  margin-top: 30px;
}

.work {
  background: #fff8ee;
}

.work-map {
  position: relative;
  display: grid;
  width: min(100%, 1040px);
  min-height: 650px;
  grid-template-columns: 1fr 1fr;
  gap: 186px 280px;
  align-items: start;
  margin: 96px auto 0;
}

.work-map::before,
.work-map::after {
  position: absolute;
  inset: 50% auto auto 50%;
  background: var(--line);
  content: "";
}

.work-map::before {
  width: 68%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(24deg);
}

.work-map::after {
  width: 1px;
  height: 68%;
  transform: translate(-50%, -50%) rotate(24deg);
}

.work-map article {
  position: relative;
  z-index: 2;
  max-width: 300px;
  padding: 28px 0;
  background: #fff8ee;
}

.work-map article:nth-child(2),
.work-map article:nth-child(4) {
  justify-self: end;
}

.work-marker {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--kare);
  color: var(--ebi);
  font-family: var(--display);
  font-weight: 400;
}

.work-map h3 {
  margin: 22px 0 10px;
  font-family: var(--display);
  font-size: 1.34rem;
  font-weight: 400;
}

.work-map p {
  margin: 0;
  color: rgba(36, 26, 28, 0.68);
  font-size: 0.92rem;
}

.map-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 200px;
  height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ranpaku);
  background: var(--ebi);
  color: var(--kinari);
  transform: translate(-50%, -50%);
}

.map-center span {
  color: var(--ranpaku);
  font-family: var(--latin);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.map-center strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 300;
}

.evidence {
  background: var(--ebi);
  color: var(--kinari);
}

.evidence .eyebrow {
  color: var(--ranpaku);
}

.evidence-heading {
  max-width: 700px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 92px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.evidence-grid article {
  min-height: 400px;
  padding: 50px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.evidence-number {
  margin: 0;
  color: var(--ranpaku);
  font-family: var(--mono);
  font-size: clamp(3.8rem, 7.6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.evidence-number span {
  margin: 0 4px;
  font-family: var(--body);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.evidence-grid h3 {
  margin: 36px 0 15px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 300;
}

.evidence-grid article > p:last-of-type {
  max-width: 480px;
  color: rgba(245, 239, 230, 0.7);
}

.evidence-story {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(200, 72, 74, 0.12), transparent 22%),
    transparent;
}

.evidence-story h3 {
  max-width: 680px;
  margin-top: 0;
  font-size: clamp(1.75rem, 3.25vw, 3.2rem);
}

.evidence-story .text-link {
  margin-top: 20px;
  align-self: flex-start;
}

.philosophy {
  background: #fff8ee;
}

.philosophy-thesis {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 9vw;
  margin-top: 72px;
}

.philosophy blockquote {
  position: relative;
  margin: 0;
}

.philosophy blockquote::before {
  position: absolute;
  top: 0.72em;
  left: -34px;
  width: 8px;
  height: 8px;
  background: var(--beni);
  content: "";
}

.philosophy blockquote p {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.25vw, 2.35rem);
  font-weight: 300;
  line-height: 1.72;
}

.philosophy-body h3 {
  margin: 42px 0 18px;
  color: var(--ebi);
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 400;
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  background: var(--kinari);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--beni);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.process-list h3 {
  margin: -8px 0 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
}

.process-list p {
  margin: 0;
  color: rgba(36, 26, 28, 0.68);
}

.profile {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.1fr;
  gap: 9vw;
  overflow: hidden;
  background: var(--ebi-2);
  color: var(--kinari);
}

.profile::after {
  position: absolute;
  right: 7vw;
  bottom: 7vw;
  width: 74px;
  height: 74px;
  border: 1px solid var(--beni);
  color: var(--beni);
  content: "喜";
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.75rem;
}

.profile .eyebrow {
  color: var(--ranpaku);
}

.profile-en {
  margin: 8px 0 0;
  color: rgba(245, 239, 230, 0.48);
  font-family: var(--latin);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.profile-role {
  margin-top: 35px;
  color: var(--ranpaku);
}

.profile-story {
  max-width: 650px;
}

.profile-story > p {
  margin: 0 0 25px;
  color: rgba(245, 239, 230, 0.76);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 45px;
}

.profile-links a {
  padding: 8px 14px;
  border: 1px solid rgba(245, 239, 230, 0.22);
  color: var(--kinari);
  font-family: var(--latin);
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    border-color 360ms var(--ease),
    color 360ms var(--ease);
}

.profile-links a:hover {
  border-color: var(--beni);
  color: var(--ranpaku);
}

.journal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center;
  background: var(--kinari);
}

.journal-heading > p:last-child {
  margin-top: 30px;
}

.journal-card {
  position: relative;
  min-height: 380px;
  padding: 55px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(74, 53, 64, 0.055) 1px, transparent 1px) 0 0 / 100% 32px,
    #fff8ee;
}

.journal-card::after {
  position: absolute;
  right: -82px;
  bottom: -82px;
  width: 196px;
  height: 196px;
  border: 1px solid var(--kare);
  border-radius: 50% 50% 0 0;
  content: "";
}

.status {
  color: var(--beni);
  font-family: var(--latin);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.journal-card h3 {
  margin: 55px 0 22px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.45vw, 2.25rem);
  font-weight: 300;
  line-height: 1.58;
}

.journal-card p {
  max-width: 430px;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8vw;
  background: #fff8ee;
}

.contact-copy p:last-child {
  max-width: 460px;
  margin-top: 30px;
}

.contact-form {
  padding: 46px;
  border: 1px solid var(--line);
  background: var(--kinari);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 500;
}

.field label span {
  color: var(--beni);
  font-size: 0.72rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(74, 53, 64, 0.26);
  border-radius: 0;
  background: var(--white);
  color: var(--kuro);
}

.field input {
  min-height: 50px;
  padding: 10px 13px;
}

.field textarea {
  min-height: 170px;
  padding: 13px;
  resize: vertical;
}

.form-note {
  margin: 0 0 22px;
  color: rgba(36, 26, 28, 0.62);
  font-size: 0.82rem;
}

.submit-button {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 46px max(32px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line-dark);
  background: var(--ebi);
  color: rgba(245, 239, 230, 0.72);
}

.footer-name {
  margin: 0 0 8px;
  color: var(--kinari);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.footer-name span {
  margin-left: 12px;
  color: rgba(245, 239, 230, 0.45);
  font-family: var(--latin);
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  display: inline-block;
  margin-bottom: 8px;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 40px), var(--max-width));
    padding: 22px 0;
  }

  .brand {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .menu-button {
    position: relative;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(245, 239, 230, 0.38);
    background: transparent;
    color: var(--kinari);
    padding: 8px 12px;
  }

  .menu-lines {
    position: relative;
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .menu-lines::before,
  .menu-lines::after {
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 40px;
    background: var(--ebi);
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a {
    font-size: 1.12rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 142px 24px 76px;
  }

  .hero::before {
    left: 24px;
  }

  .blueprint {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .section-pad {
    padding: 92px 24px;
  }

  .recognition-grid,
  .philosophy-thesis,
  .philosophy-content,
  .process,
  .profile,
  .journal,
  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .recognition-grid {
    margin-top: 64px;
  }

  .work-map {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 64px;
  }

  .work-map::before,
  .work-map::after,
  .map-center {
    display: none;
  }

  .work-map article,
  .work-map article:nth-child(2),
  .work-map article:nth-child(4) {
    justify-self: stretch;
    max-width: none;
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  .evidence-grid {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .profile::after {
    right: 24px;
    bottom: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14.5px;
  }

  .site-header {
    width: calc(100% - 32px);
  }

  .brand-en {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .hero {
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.6vw, 3.1rem);
    line-height: 1.34;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .button-primary {
    width: 100%;
  }

  .blueprint {
    width: min(100%, 340px);
  }

  .label-concept,
  .label-design {
    display: none;
  }

  .section-pad {
    padding: 78px 20px;
  }

  .section-intro h2,
  .evidence-heading h2,
  .philosophy h2,
  .profile h2,
  .journal h2,
  .contact h2 {
    font-size: clamp(1.9rem, 9.5vw, 3rem);
  }

  .recognition .section-intro {
    max-width: 100%;
  }

  .evidence-grid article,
  .journal-card,
  .contact-form {
    padding: 30px 22px;
  }

  .journal-card {
    min-height: 330px;
  }

  .philosophy blockquote::before {
    left: 0;
    top: -22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 34px 20px;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  .silver-streak.main {
    stroke-dashoffset: 0;
  }

  .tomoshibi,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
