:root {
  --abyss: #062844;
  --ocean: #071820;
  --aqua: #c4b496;
  --foam: #d9cbb6;
  --white: #f4f1ea;
  --ink: #03070d;
  --header: 72px;
  --pad: clamp(20px, 4vw, 56px);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mincho: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--abyss);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

::selection { background: rgba(54, 185, 197, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  background: var(--white);
  color: var(--abyss);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

#sea {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1120px, calc(100% - 24px));
  height: 58px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  line-height: 1;
}
.logo-mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  min-width: 36px;
  max-width: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}
.logo-mark img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: cover;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo-text small {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.menu-btn {
  display: block;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  position: relative;
  cursor: pointer;
  flex: none;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
body.nav-open .menu-btn span:first-child { top: 21px; transform: rotate(40deg); }
body.nav-open .menu-btn span:last-child { top: 21px; transform: rotate(-40deg); }

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(3, 7, 12, 0.94);
  padding: calc(var(--header) + 20px) 0 88px;
  touch-action: pan-y;
  transition: transform 0.32s ease;
}
.menu-panel.is-dragging { transition: none; }
.menu-item {
  width: min(760px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  margin-bottom: 14px;
}
.menu-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 26px;
  border-bottom: 1px solid rgba(214, 198, 170, 0.22);
  cursor: pointer;
  list-style: none;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(24px, 5vw, 34px);
  letter-spacing: 0.18em;
  line-height: 1.45;
}
.menu-item > summary::-webkit-details-marker { display: none; }
.menu-item > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  flex: none;
  opacity: 0.75;
}
.menu-item[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.menu-item .wrap {
  width: auto;
  margin: 0;
  padding: 18px 0 28px;
}
.menu-item h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin: 0 0 14px;
}
.menu-item .lead + .lead { margin-top: 12px; }

main { position: relative; z-index: 1; }

.scene {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 64px) 0 80px;
}

.wrap {
  width: min(1080px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
}
@media (min-width: 901px) {
  .wrap { width: min(1080px, calc(100% - 140px)); }
}

.scene-hero {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--header) + 12px) 0 88px;
  box-sizing: border-box;
}
.hero-inner {
  position: relative;
  padding: 48px 28px;
}
.hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(820px, 94vw);
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(4, 28, 58, 0.42), transparent 72%);
  z-index: -1;
}

.hero-title {
  margin: 0 0 14px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(22px, 2.7vw, 32px);
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero-ja {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--foam);
}
.bubble-letter {
  position: relative;
  display: inline-block;
  letter-spacing: 0;
  transform-origin: center 80%;
}
.glass-btn.is-rising {
  letter-spacing: 0;
  gap: 0.14em;
}
.bubble {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  border: 1px solid rgba(214, 236, 244, 0.75);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.72), rgba(160, 214, 230, 0.16) 46%, transparent 70%);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.hero-en {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.16em;
  color: rgba(214, 198, 170, 0.86);
  font-size: clamp(16px, 2vw, 22px);
}

.hero-actions { margin-top: 28px; }

.scene-picks {
  min-height: 0;
  align-items: stretch;
  scroll-margin-top: var(--header);
  padding: 8px 0 56px;
}
.picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.picks a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.42), rgba(3, 7, 12, 0.28));
  border: 1px solid rgba(214, 198, 170, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.14);
}
.picks span {
  font-family: var(--mincho);
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: nowrap;
}
.picks small {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}
@media (min-width: 801px) {
  .picks { grid-template-columns: repeat(3, 1fr); }
  .picks a { min-height: 132px; justify-content: space-between; }
}

.veil-mask {
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.82);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--foam), transparent);
  animation: tide 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes tide {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--foam);
  font-size: 18px;
}

h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 58px);
  letter-spacing: 0.08em;
  line-height: 1.45;
  margin: 12px 0 22px;
}

.lead {
  max-width: 40em;
  color: rgba(255, 255, 255, 0.86);
}

.narrow { max-width: 760px; }

.works-head { margin-bottom: 36px; }

.note {
  margin-top: 14px;
  color: rgba(214, 198, 170, 0.78);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.work-card {
  border-radius: 28px;
}
.work-card:nth-child(2) { margin-top: 28px; }
.work-float {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(214, 198, 170, 0.32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: drift 7s ease-in-out infinite;
}
.work-card:nth-child(2) .work-float { animation-delay: -2.4s; }
.work-card:nth-child(3) .work-float { animation-delay: -4.6s; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.shot {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  background: #08283f;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mock { height: 100%; display: flex; flex-direction: column; }
.mock-bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
}
.mock-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(214, 198, 170, 0.7);
}
.mock-hero {
  height: 46%;
  margin: 10px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%),
    linear-gradient(160deg, var(--accent, #36b9c5), rgba(6, 28, 50, 0.2));
}
.mock-lines { padding: 0 12px 12px; display: grid; gap: 6px; }
.mock-lines span {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(214, 198, 170, 0.35);
}
.mock-lines span:nth-child(2) { width: 72%; }
.mock-lines span:nth-child(3) { width: 46%; }

.work-body { padding: 16px 8px 8px; }
.badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(214, 198, 170, 0.5);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--foam);
}
.work-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.04em;
}
.genre {
  color: var(--foam);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.work-body p { margin: 8px 0 16px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }

.glass-btn,
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(214, 198, 170, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  letter-spacing: 0.16em;
  font-size: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.glass-btn:hover,
.view-btn:hover { background: rgba(214, 198, 170, 0.18); }
.view-btn:disabled,
.view-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.services.cols-3 { grid-template-columns: repeat(3, 1fr); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: 52px max-content 1fr;
  gap: 8px 22px;
  align-items: baseline;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.62), rgba(3, 7, 12, 0.48));
  border: 1px solid rgba(214, 198, 170, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.12);
}
.step span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--aqua);
  font-size: 20px;
}
.step h3 {
  margin: 0;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.contact-facts {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}
.contact-facts dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--foam);
}
.contact-facts dd { margin: 4px 0 0; }
.contact-facts a { border-bottom: 1px solid rgba(214, 198, 170, 0.45); }

.faq {
  margin-top: 42px;
  display: grid;
  gap: 4px;
}
.faq details {
  padding: 14px 0;
  border-bottom: 1px solid rgba(214, 198, 170, 0.24);
}
.faq summary {
  cursor: pointer;
  letter-spacing: 0.06em;
}
.faq p {
  margin: 8px 0 2px;
  color: rgba(255, 255, 255, 0.84);
}

.note a { border-bottom: 1px solid rgba(214, 198, 170, 0.5); }
.service {
  padding: 28px 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.62), rgba(3, 7, 12, 0.48));
  border: 1px solid rgba(214, 198, 170, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.12);
}
.service span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--aqua);
  font-size: 20px;
}
.service h3 {
  margin: 14px 0 8px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.field { margin-top: 14px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(214, 198, 170, 0.8);
}
.field input,
.field textarea {
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-bottom: 1px solid rgba(214, 198, 170, 0.4);
  background: transparent;
  padding: 10px 0;
  outline: none;
  border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 22px; }
#form-summary { white-space: pre-line; }
.form-done h3 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 10px var(--pad) calc(28px + env(safe-area-inset-bottom));
  color: rgba(214, 198, 170, 0.7);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1080px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
.menu-panel [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .footer { padding-right: 78px; }
  .works-grid, .services, .services.cols-3, .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(2) { margin-top: 0; }
  .hero-title {
    font-size: clamp(20px, 5.6vw, 26px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .hero-ja { letter-spacing: 0.18em; }
  .to-top {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 16;
    width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(214, 198, 170, 0.7);
    background: rgba(6, 28, 50, 0.88);
    color: var(--white);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-float, .scroll-cue i { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
