/* HEADWORKS Shibuya LP */

:root {
  --ink: #131b2e;
  --ink-deep: #0b101c;
  --ink-band: #1d2747;
  --paper: #f0ebdd;
  --paper-soft: #eae4d4;
  --citron: #dff226;
  --text-ink: #14161a;
  --font-latin: 'Oswald', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-quote: 'Shippori Mincho', serif;
  --content-max: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp), var(--font-latin), sans-serif;
  color: var(--text-ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- shared ---------- */

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--text-ink);
}
.kicker--center { text-align: center; }
.kicker--right { text-align: right; }
.kicker--paper { color: var(--paper); }

.btn-cta {
  display: block;
  background: var(--citron);
  color: var(--text-ink);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 17px 32px;
  letter-spacing: 0.06em;
}

.rule-center {
  border: none;
  border-top: 1px solid var(--text-ink);
  width: clamp(160px, 42%, 280px);
  margin: clamp(28px, 6vw, 48px) auto clamp(20px, 4vw, 32px);
}
.rule-paper { border: none; border-top: 1px solid rgba(240, 235, 221, 0.55); }
.rule-ink { border: none; border-top: 1px solid rgba(20, 22, 26, 0.35); }

/* paper grain */
.bg-paper { background-color: var(--paper); position: relative; }
.bg-paper > * { position: relative; z-index: 1; }
.bg-paper::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.bg-ink { background-color: var(--ink); position: relative; }
.bg-ink > * { position: relative; z-index: 1; }
.bg-ink::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ---------- 01 hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink-deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_spa.png');
  background-image: image-set(url('assets/hero_spa.webp') type('image/webp'), url('assets/hero_spa.png') type('image/png'));
  background-size: cover;
  background-position: 70% center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11, 16, 28, 0.55) 0%, rgba(11, 16, 28, 0.05) 45%),
    linear-gradient(to top, rgba(11, 16, 28, 0.82) 0%, rgba(11, 16, 28, 0) 34%);
}

.hero__brand {
  position: absolute;
  top: clamp(20px, 4vw, 36px);
  left: clamp(20px, 5vw, 40px);
  z-index: 2;
  color: var(--paper);
}

.hero__wordmark {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  letter-spacing: 0.42em;
  border-bottom: 1px solid rgba(240, 235, 221, 0.6);
  padding-bottom: 7px;
  margin-bottom: 7px;
}

.hero__brand-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.7vw, 0.72rem);
  letter-spacing: 0.3em;
}

.hero__dial {
  position: absolute;
  top: clamp(22px, 5vw, 44px);
  right: clamp(20px, 5vw, 40px);
  width: clamp(56px, 14vw, 88px);
  color: rgba(240, 235, 221, 0.55);
  z-index: 2;
}

.hero__headline {
  position: relative;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 900;
  font-size: clamp(2.7rem, min(13vw, 8.2svh), 5.2rem);
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin: clamp(84px, 16svh, 140px) auto 0 clamp(16px, 4vw, 48px);
  flex: 1;
}

.hero__foot {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 6vw, 48px) clamp(28px, 5svh, 52px);
  text-align: center;
}

.hero__sub {
  color: var(--paper);
  font-size: clamp(0.82rem, 2.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.hero__cta {
  width: min(84%, 340px);
  margin: 0 auto;
}

/* ---------- 02 problem ---------- */

.problem { text-align: center; }

.problem__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(72px, 13vw, 150px) 24px;
}

.dial-icon {
  width: clamp(26px, 6vw, 36px);
  margin: 14px auto clamp(28px, 6vw, 44px);
  color: var(--text-ink);
  display: block;
}

.problem__monument { font-weight: 900; line-height: 1.35; }
.problem__monument span { display: block; }

.problem__l1 {
  font-size: clamp(3.3rem, 16.5vw, 6.8rem);
  line-height: 1.15;
  margin-bottom: clamp(10px, 2.5vw, 22px);
}
.problem__l2 { font-size: clamp(1.8rem, 8.4vw, 3.5rem); }
.problem__l3 { font-size: clamp(1.9rem, 8.8vw, 3.8rem); }

.problem__support {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------- 03 method ---------- */

.method__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 130px) 24px clamp(80px, 13vw, 150px);
}

.method__head { margin-bottom: clamp(40px, 8vw, 64px); }

.method__heading {
  text-align: right;
  font-weight: 900;
  font-size: clamp(1.55rem, 6.6vw, 2.7rem);
  line-height: 1.45;
  margin-top: 10px;
}

.method__flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 9vw, 72px);
}

.method__line {
  position: absolute;
  inset: -30px 4% 0;
  width: 92%;
  height: calc(100% + 30px);
  color: var(--ink);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.method__station {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: min(88%, 560px);
  background: var(--ink-band);
  color: var(--paper);
  box-shadow: 0 14px 34px rgba(19, 27, 46, 0.28);
}
.method__station--left { margin-right: auto; }
.method__station--right { margin-left: auto; flex-direction: row-reverse; }

.method__station picture {
  flex: 0 0 38%;
  display: block;
  min-height: 100%;
}

.method__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.method__station--left picture { order: 2; }

.method__body { padding: clamp(14px, 3.4vw, 24px) clamp(16px, 3.6vw, 26px); flex: 1; }

.method__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.1rem, 8.4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 8px;
}

.method__name {
  font-weight: 700;
  font-size: clamp(0.98rem, 3.4vw, 1.25rem);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.u-citron {
  box-shadow: inset 0 -3px 0 var(--citron);
  padding-bottom: 1px;
  white-space: nowrap;
}

.method__desc {
  font-size: clamp(0.74rem, 2.4vw, 0.88rem);
  line-height: 1.75;
  color: rgba(240, 235, 221, 0.82);
}

.method__terminal {
  position: relative;
  z-index: 1;
  width: clamp(58px, 14vw, 76px);
  margin: 0 auto;
  color: var(--ink);
}
.method__terminal svg { width: 100%; display: block; }
.method__terminal-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
}

/* ---------- 04 facilities ---------- */

.floor { color: var(--paper); }

.floor__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(64px, 11vw, 120px) 24px clamp(56px, 9vw, 96px);
}

.floor__heading {
  font-weight: 900;
  font-size: clamp(1.6rem, 7vw, 2.8rem);
  line-height: 1.42;
  margin-top: 10px;
  color: var(--paper);
}

.floor__map {
  position: relative;
  margin: clamp(32px, 7vw, 56px) auto clamp(28px, 6vw, 44px);
  padding-top: clamp(30px, 7vw, 44px);
}

.floor__plan { width: 100%; }

.floor__label {
  position: absolute;
  background: var(--paper);
  color: var(--text-ink);
  font-size: clamp(0.6rem, 1.9vw, 0.74rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.floor__idx {
  font-family: var(--font-mono);
  font-weight: 500;
  margin-right: 7px;
}

.floor__label small {
  display: inline-block;
  margin-left: 7px;
  font-size: 0.86em;
  font-weight: 500;
  color: rgba(20, 22, 26, 0.72);
}

.floor__label::after {
  content: '';
  position: absolute;
  width: 1px;
  height: clamp(16px, 4vw, 26px);
  background: rgba(240, 235, 221, 0.65);
  left: 50%;
  top: 100%;
}
.floor__label--01 { top: 0; left: 0; }
.floor__label--02 { top: 0; right: 0; }
.floor__label--03 { top: 34%; right: 0; }
.floor__label--03::after { top: auto; bottom: 100%; }
.floor__label--04 { top: 56%; right: 2%; }
.floor__label--04::after { top: auto; bottom: 100%; }
.floor__label--05 { bottom: 4%; left: 0; }
.floor__label--05::after { display: none; }
.floor__label--06 { bottom: 12%; right: 0; }
.floor__label--06::after { display: none; }

.floor__foot .rule-paper { margin-bottom: 16px; }

.floor__data {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  letter-spacing: 0.14em;
  color: rgba(240, 235, 221, 0.9);
}

/* ---------- 05 evidence ---------- */

.evidence { position: relative; }

.evidence__heading {
  position: absolute;
  top: clamp(30px, 6vw, 56px);
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 900;
  font-size: clamp(1.8rem, 8vw, 3.6rem);
  line-height: 1.2;
  pointer-events: none;
}
.evidence__heading-left {
  color: var(--paper);
  text-align: right;
  padding-right: 2px;
}
.evidence__heading-right {
  color: var(--text-ink);
  padding-left: 2px;
}

.evidence__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.evidence__half {
  padding: clamp(120px, 26vw, 220px) clamp(18px, 4.5vw, 48px) clamp(48px, 9vw, 88px);
}
.evidence__half--before { background: var(--ink); color: var(--paper); border-right: 1px solid var(--paper); }
.evidence__half--after { background: var(--citron); color: var(--text-ink); }

.evidence__tag {
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 2vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: clamp(20px, 4.5vw, 36px);
}

.evidence__numeral {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4.6rem, 23vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.evidence__unit {
  font-size: clamp(1.1rem, 4.6vw, 2rem);
  font-family: var(--font-jp);
  font-weight: 700;
  margin-left: 6px;
}

.evidence__caption {
  font-size: clamp(0.72rem, 2.3vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: clamp(12px, 3vw, 22px) 0 clamp(24px, 6vw, 44px);
}

.evidence__data { list-style: none; }
.evidence__data li {
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 2.1vw, 0.85rem);
  padding: 12px 0;
  border-top: 1px solid currentColor;
}
.evidence__half--before .evidence__data li { border-color: rgba(240, 235, 221, 0.35); color: rgba(240, 235, 221, 0.85); }
.evidence__half--after .evidence__data li { border-color: rgba(20, 22, 26, 0.3); }

.evidence__source {
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 1.9vw, 0.78rem);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 20px 16px;
  border-top: 1px solid rgba(20, 22, 26, 0.25);
}

/* ---------- 06 pricing ---------- */

.pricing__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(64px, 11vw, 130px) 24px;
}

.pricing__heading {
  font-weight: 900;
  font-size: clamp(1.75rem, 7.6vw, 3.1rem);
  line-height: 1.4;
  margin: 12px 0 clamp(36px, 7vw, 60px);
}

.pricing__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2.6vw, 24px);
  padding: clamp(24px, 5.4vw, 40px) 4px;
  border-top: 1px solid rgba(20, 22, 26, 0.55);
}
.pricing__ledger { border-bottom: 1px solid rgba(20, 22, 26, 0.55); }

.pricing__plan {
  font-weight: 900;
  font-size: clamp(1.15rem, 4.6vw, 1.7rem);
  letter-spacing: 0.02em;
}

.pricing__cond {
  font-size: clamp(0.62rem, 2vw, 0.8rem);
  font-weight: 500;
  color: rgba(20, 22, 26, 0.78);
}

.pricing__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.15rem, 4.6vw, 1.7rem);
  text-align: right;
  white-space: nowrap;
}
.pricing__per { font-size: 0.62em; font-weight: 500; }

.pricing__row--featured {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-top: none;
  margin: 0 -12px;
  padding: clamp(34px, 7vw, 52px) 16px clamp(24px, 5.4vw, 40px);
}
.pricing__row--featured .pricing__cond { color: rgba(240, 235, 221, 0.8); }

.pricing__tag {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-50%);
  background: var(--citron);
  color: var(--text-ink);
  font-size: clamp(0.6rem, 1.9vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
}

.pricing__notes {
  margin-top: clamp(24px, 5vw, 40px);
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 2.1vw, 0.8rem);
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: rgba(20, 22, 26, 0.85);
}

/* ---------- 07 voice ---------- */

.voice__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  max-width: 960px;
  margin: 0 auto;
}

.voice__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.voice__column {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4.6vw, 44px) clamp(16px, 3.8vw, 40px);
}

.voice__quote-mark {
  font-family: var(--font-quote);
  font-size: clamp(3.4rem, 13vw, 5.5rem);
  line-height: 0.7;
  color: var(--ink);
  display: block;
  margin-bottom: clamp(10px, 2.6vw, 20px);
}

.voice__quote p {
  font-family: var(--font-quote);
  font-weight: 500;
  font-size: clamp(0.82rem, 2.7vw, 1.1rem);
  line-height: 2.05;
  letter-spacing: 0.03em;
}

.voice__attr {
  font-size: clamp(0.6rem, 1.9vw, 0.74rem);
  font-weight: 500;
  color: rgba(20, 22, 26, 0.72);
  margin: clamp(12px, 3vw, 20px) 0 clamp(18px, 4vw, 30px);
}

.voice__sub { padding-top: clamp(16px, 3.6vw, 26px); }

.voice__sub-quote { margin-bottom: clamp(14px, 3.2vw, 22px); }
.voice__sub-quote p {
  font-family: var(--font-quote);
  font-size: clamp(0.72rem, 2.3vw, 0.9rem);
  line-height: 1.9;
}

.voice__sub-attr {
  font-family: var(--font-mono);
  font-size: clamp(0.56rem, 1.8vw, 0.68rem);
  color: rgba(20, 22, 26, 0.65);
  margin-top: 4px;
}

.voice__head { margin-top: auto; text-align: right; }

.voice__heading {
  font-weight: 700;
  font-size: clamp(0.95rem, 3.2vw, 1.3rem);
  margin-top: 6px;
}

/* ---------- 08 cta ---------- */

.cta {
  position: relative;
  min-height: 100svh;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.cta__photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/cta_room.png');
  background-image: image-set(url('assets/cta_room.webp') type('image/webp'), url('assets/cta_room.png') type('image/png'));
  background-size: cover;
  background-position: center;
}

.cta__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 16, 28, 0.42) 0%, rgba(11, 16, 28, 0.72) 100%);
}

.cta__stack {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  color: var(--paper);
}

.cta__kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2vw, 0.78rem);
  letter-spacing: 0.34em;
  color: rgba(240, 235, 221, 0.85);
  margin-bottom: clamp(18px, 4vw, 30px);
}

.cta__statement {
  font-weight: 900;
  font-size: clamp(1.9rem, 8.4vw, 3.8rem);
  line-height: 1.5;
  margin-bottom: clamp(28px, 6vw, 46px);
}

.cta__button {
  width: min(86%, 380px);
  margin: 0 auto clamp(26px, 5.4vw, 42px);
}

.cta__info { list-style: none; }
.cta__info li {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 2.2vw, 0.82rem);
  letter-spacing: 0.12em;
  line-height: 2.2;
  color: rgba(240, 235, 221, 0.88);
}

.cta__foot {
  position: absolute;
  bottom: clamp(24px, 5svh, 44px);
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  color: rgba(240, 235, 221, 0.75);
}

.cta__dial { width: clamp(44px, 11vw, 60px); margin: 0 auto 10px; display: block; }

.cta__wordmark {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: clamp(0.68rem, 2.1vw, 0.82rem);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  .hero__headline {
    margin-left: clamp(48px, 8vw, 120px);
    /* keep the 8-glyph line 「頭を整えてから、」 unbroken in one vertical column */
    font-size: clamp(2.7rem, 6.2svh, 4.2rem);
  }
  .hero__foot {
    text-align: left;
    padding-left: clamp(48px, 8vw, 120px);
  }
  .hero__cta { margin: 0; }
  .floor__inner, .method__inner, .pricing__inner { padding-left: 32px; padding-right: 32px; }
}
