/* ---------- base ---------- */
:root {
  --bg: #07090f;
  --fg: #ffffff;
  --dim: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.22);
  --cyan: #7fd4ff;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", Didot, "Times New Roman", serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--fg);
  font-family: var(--jp);
  font-weight: 300;
  line-height: 1.8;
  position: relative;
}

/* ---------- Background Architectural Grid Lines & Light Beams ---------- */
.bg-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.bg-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.bg-line::after {
  content: "";
  position: absolute;
  top: -200px;
  left: 0;
  width: 1px;
  height: 200px;
  background: linear-gradient(180deg, transparent, rgba(127, 212, 255, 0.8), transparent);
  animation: lineScan 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bg-line:nth-child(1)::after { animation-delay: 0s; animation-duration: 10s; }
.bg-line:nth-child(2)::after { animation-delay: 3s; animation-duration: 12s; }
.bg-line:nth-child(3)::after { animation-delay: 6s; animation-duration: 8.5s; }
.bg-line:nth-child(4)::after { animation-delay: 1.5s; animation-duration: 11s; }
.bg-line:nth-child(5)::after { animation-delay: 4.5s; animation-duration: 13s; }

@keyframes lineScan {
  0% {
    top: -200px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

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

a {
  color: var(--fg);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

/* ---------- fade in ---------- */
.fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */
.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 60px;
  transition: padding 0.3s ease;
}

.site__mark {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.site__mark:hover {
  color: var(--cyan);
}

.site__nav {
  display: flex;
  gap: 44px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.site__nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.site__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site__nav a:hover::after {
  width: 100%;
}

/* ---------- Hamburger Button (Mobile) ---------- */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1200;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, background 0.3s ease;
  transform-origin: center;
}

.hamburger-btn:hover span {
  background: var(--cyan);
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  background: var(--cyan);
}

.hamburger-btn.is-active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  background: var(--cyan);
}

/* ---------- Mobile Fullscreen Drawer Navigation ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 15, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 32px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-drawer__link:hover {
  color: var(--cyan);
  padding-left: 8px;
  border-color: var(--cyan);
}

.mobile-drawer__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--dim);
  transition: color 0.3s ease;
}

.mobile-drawer__link:hover .mobile-drawer__index {
  color: var(--cyan);
}

.mobile-drawer__text {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.mobile-drawer__footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer__sublinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer__sublinks a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
  transition: color 0.2s ease;
}

.mobile-drawer__sublinks a:hover {
  color: var(--cyan);
}

.mobile-drawer__copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  background: radial-gradient(120% 100% at 28% 38%, #131a30 0%, #0a0d17 55%, var(--bg) 100%);
}

.hero__nav {
  position: absolute;
  left: 40px;
  bottom: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--sans);
  font-size: 50px;
  letter-spacing: 0.26em;
  color: var(--dim);
}

.hero__ecg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  will-change: contents;
  filter: drop-shadow(0 0 6px rgba(127, 212, 255, 0.7));
}

.hero__nav a:hover {
  color: var(--fg);
}

.hero__name {
  position: absolute;
  right: 40px;
  bottom: 20px;
  margin: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 180px;
  line-height: 0.86;
  letter-spacing: 0.02em;
  white-space: nowrap;
  clip-path: inset(0 0 0 0);
}

/* ---------- hero slide-in ---------- */
.hero__name,
.hero__nav a {
  display: block;
}

.hero__name span,
.hero__nav a span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-ready .hero__name span,
.is-ready .hero__nav a span {
  transform: none;
}

.is-ready .hero__nav a:nth-child(1) span {
  transition-delay: 0.5s;
}

.is-ready .hero__nav a:nth-child(2) span {
  transition-delay: 0.6s;
}

.is-ready .hero__nav a:nth-child(3) span {
  transition-delay: 0.7s;
}

.hero__nav a {
  overflow: hidden;
}

/* ---------- statement ---------- */
.statement {
  position: relative;
  z-index: 1;
  padding: 200px 80px;
  background: radial-gradient(75% 60% at 50% 50%, rgba(19, 26, 48, 0.45) 0%, transparent 100%);
}

.statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.statement__jp {
  margin: 0 0 32px;
  font-size: 54px;
  line-height: 1.5;
  letter-spacing: 0.14em;
}

.statement__en {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.statement__lead {
  margin: 0 0 56px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.statement__body {
  margin: 0 0 32px;
  max-width: 720px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.statement__body:last-child {
  margin-bottom: 0;
}

/* ---------- portfolio ---------- */
.portfolio {
  position: relative;
  z-index: 1;
  padding: 0 40px 160px;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.portfolio__label {
  margin: 0 0 60px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--dim);
}

.work {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 160px;
}

.work:last-child {
  margin-bottom: 0;
}

.work--flip {
  grid-template-columns: 1fr 1.6fr;
}

.work--flip .work__shot {
  order: 2;
}

.work__shot {
  position: relative;
  margin: 0;
  background: #0d1020;
}

.work__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.work__shot figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
}

.work__index {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.work__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.07em;
}

.work__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.7);
}

.work__tags {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

.work__action {
  margin-top: 24px;
}

.work__visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.work__visit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(127, 212, 255, 0.15), rgba(127, 212, 255, 0.02));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work__visit-btn:hover {
  color: #07090f;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(127, 212, 255, 0.45);
  transform: translateY(-2px);
}

.work__visit-btn svg {
  transition: transform 0.3s ease;
}

.work__visit-btn:hover svg {
  transform: translate(2px, -2px);
}

.work__shot-link {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.work__shot-link img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work__shot-link:hover img {
  transform: scale(1.03);
}

/* ---------- marquee ticker section ---------- */
.marquee-section {
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.marquee-section:hover {
  background: rgba(127, 212, 255, 0.04);
  border-color: rgba(127, 212, 255, 0.4);
}

.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

.marquee-row:not(:last-child) {
  margin-bottom: 18px;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 48px;
  will-change: transform;
}

.marquee-track--left {
  animation: marqueeLeft 54s linear infinite;
}

.marquee-track--right {
  animation: marqueeRight 54s linear infinite;
}

.marquee-section:hover .marquee-track {
  animation-play-state: running;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.marquee-section:hover .marquee-item {
  color: var(--cyan);
}

.marquee-item--outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  color: transparent;
}

.marquee-section:hover .marquee-item--outline {
  -webkit-text-stroke: 1px var(--cyan);
  color: transparent;
}

@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ---------- portfolio page ---------- */
.portfolio-page {
  padding: 200px 80px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-page__header {
  margin-bottom: 80px;
}

.portfolio-page__title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 110px;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.portfolio-page__desc {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- interactive portfolio showcase ---------- */
.portfolio-page {
  padding: 180px 0 140px;
  position: relative;
  overflow: hidden;
}

.portfolio-page__header {
  padding: 0 60px;
  margin-bottom: 80px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-page__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.portfolio-page__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 130px;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.portfolio-page__desc {
  margin: 0;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--dim);
  max-width: 700px;
}

/* Floating Interactive Stage */
.pf-showcase {
  position: relative;
  min-height: 600px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Background dynamic watermark number */
.pf-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(160px, 35vw, 420px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.02);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
}

/* Cursor-Following Floating Preview (Desktop) */
.pf-floating-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 320px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(127, 212, 255, 0.2);
  border: 1px solid rgba(127, 212, 255, 0.3);
}

.pf-floating-preview.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pf-floating-preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pf-floating-preview__img.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Interactive List */
.pf-list {
  position: relative;
  z-index: 2;
}

.pf-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 60px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.pf-item:last-child {
  border-bottom: none;
}

.pf-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(127, 212, 255, 0.06) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.pf-item:hover::before {
  opacity: 1;
}

.pf-item:hover {
  padding-left: 80px;
  border-color: rgba(127, 212, 255, 0.3);
}

.pf-item__left {
  display: flex;
  align-items: baseline;
  gap: 40px;
}

.pf-item__index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--dim);
  transition: color 0.3s ease;
}

.pf-item:hover .pf-item__index {
  color: var(--cyan);
}

.pf-item__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.1;
  transition: all 0.3s ease;
}

.pf-item:hover .pf-item__title {
  color: var(--cyan);
  transform: translateX(8px);
}

.pf-item__right {
  display: flex;
  align-items: center;
  gap: 48px;
}

.pf-item__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-item__category {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.pf-item__tags {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.pf-item__action {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dim);
  transition: all 0.3s ease;
}

.pf-item:hover .pf-item__action {
  border-color: var(--cyan);
  color: #07090f;
  background: var(--cyan);
  transform: rotate(45deg) scale(1.1);
}

.pf-item__visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 5;
}

.pf-item__visit-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #07090f;
  box-shadow: 0 0 16px rgba(127, 212, 255, 0.4);
  transform: translateY(-1px);
}

.pf-item__visit-btn svg {
  transition: transform 0.3s ease;
}

.pf-item__visit-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Inline Mobile Preview (shown only on mobile) */
.pf-item__inline-shot {
  display: none;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.pf-item__inline-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fullscreen Project Stage (Modal / Detailed Inspector) */
.pf-stage {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 80px 40px;
  animation: fadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pf-stage.is-open {
  display: block;
}

.pf-stage__container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.pf-stage__close {
  position: fixed;
  top: 36px;
  right: 48px;
  background: rgba(13, 16, 32, 0.8);
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1010;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.pf-stage__close:hover {
  border-color: var(--cyan);
  color: #07090f;
  background: var(--cyan);
}

.pf-stage__header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}

.pf-stage__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.pf-stage__title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.pf-stage__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* 2-Column Split Stage Layout */
.pf-stage__main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 60px;
}

.pf-stage__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 40px;
}

.pf-stage__hero-image {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0d1020;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.pf-stage__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.pf-stage__spec-box {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.pf-stage__spec-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.pf-stage__spec-list {
  display: flex;
  flex-direction: column;
}

.pf-stage__spec-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.pf-stage__spec-row:last-child {
  border-bottom: none;
}

.pf-stage__spec-key {
  font-family: var(--mono);
  color: var(--dim);
  letter-spacing: 0.1em;
}

.pf-stage__spec-val {
  color: var(--fg);
  font-weight: 400;
  text-align: right;
}

.pf-stage__spec-link {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.pf-stage__spec-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.pf-stage__action-box {
  margin-top: 16px;
}

.pf-stage__visit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #07090f;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(127, 212, 255, 0.25);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pf-stage__visit-btn:hover {
  background: #aae4ff;
  border-color: #aae4ff;
  box-shadow: 0 0 35px rgba(127, 212, 255, 0.6);
  transform: translateY(-2px);
}

.pf-stage__visit-btn svg {
  transition: transform 0.3s ease;
}

.pf-stage__visit-btn:hover svg {
  transform: translate(3px, -3px);
}

/* Detailed Narrative Content (Right Column) */
.pf-stage__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pf-stage__block {
  border-left: 2px solid rgba(127, 212, 255, 0.3);
  padding-left: 24px;
}

.pf-stage__block-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.pf-stage__lead {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin: 0 0 16px;
}

.pf-stage__text {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 16px;
}

.pf-stage__text:last-child {
  margin-bottom: 0;
}

.pf-stage__points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-stage__points li {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pf-stage__points li::before {
  content: "—";
  color: var(--cyan);
  font-family: var(--mono);
}

.pf-stage__nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-top: 40px;
}

.pf-stage__nav-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  padding: 14px 28px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pf-stage__nav-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(127, 212, 255, 0.05);
}

/* ---------- outro / footer ---------- */
.outro {
  padding: 160px 40px 200px;
  text-align: center;
}

.outro__link {
  font-family: var(--serif);
  font-size: 110px;
  letter-spacing: 0.06em;
}

.outro__link span {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--dim);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 44px 60px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.foot p {
  margin: 0;
}

.foot__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.foot__links a {
  color: var(--dim);
  transition: color 0.3s ease;
}

.foot__links a:hover {
  color: var(--cyan);
}

/* ---------- legal / law / terms ---------- */
.legal {
  padding: 200px 80px 140px;
  max-width: 1080px;
  margin: 0 auto;
}

.legal__header {
  margin-bottom: 70px;
}

.legal__title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 80px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.legal__desc {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.legal__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 24px;
}

.legal__intro {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 48px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

.law-list {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.law-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.law-row__key {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  line-height: 1.6;
}

.law-row__val {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.law-row__val a {
  color: var(--cyan);
  text-decoration: underline;
}

.legal__note {
  margin-top: 60px;
  padding: 24px;
  border-left: 2px solid var(--cyan);
  background: rgba(127, 212, 255, 0.03);
  font-size: 13px;
  line-height: 2;
  color: var(--dim);
}

.terms-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.terms-article {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-article:last-child {
  border-bottom: none;
}

.terms-article h3 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  font-weight: 500;
}

.terms-article p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.terms-article p:last-child {
  margin-bottom: 0;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 200px 80px 140px;
  max-width: 1300px;
  margin: 0 auto;
}

.pricing__header {
  margin-bottom: 70px;
}

.pricing__title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 80px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.pricing__desc {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.referral-banner {
  padding: 24px 32px;
  border: 1px solid var(--line);
  background: rgba(127, 212, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.referral-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #07090f;
  background: var(--cyan);
  padding: 4px 12px;
  font-weight: 600;
  white-space: nowrap;
}

.referral-banner p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.pricing-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  background: rgba(127, 212, 255, 0.03);
}

.pricing-card.featured {
  border-color: var(--cyan);
  background: rgba(127, 212, 255, 0.04);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--cyan);
  color: #07090f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding: 2px 10px;
}

.pricing-card__name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.pricing-card__price span {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dim);
}

.pricing-card__target {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 28px;
  min-height: 52px;
}

.pricing-card__section-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin: 16px 0 12px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
}

.pricing-card__features li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card__features li span:last-child {
  color: var(--cyan);
  font-family: var(--mono);
}

.pricing-card__btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg);
  transition: all 0.3s ease;
}

.pricing-card__btn:hover,
.pricing-card.featured .pricing-card__btn {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(127, 212, 255, 0.05);
}

.pricing-card.featured .pricing-card__btn:hover {
  background: var(--cyan);
  color: #07090f;
}

.pricing-options {
  margin-top: 100px;
}

.pricing-options__title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.pricing-options__subtitle {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 40px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-option-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: border-color 0.3s ease;
}

.pricing-option-card:hover {
  border-color: var(--cyan);
}

.pricing-option-card h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--fg);
}

.pricing-option-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}

.pricing-option-price {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--cyan);
  white-space: nowrap;
}

.pricing-cta {
  margin-top: 100px;
  text-align: center;
}

.terms-article p:last-child {
  margin-bottom: 0;
}

/* ---------- contact ---------- */
.contact {
  padding: 200px 80px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact__header {
  margin-bottom: 80px;
}

.contact__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 140px;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.contact__desc {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.info-item__val {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.info-item__val a {
  transition: color 0.3s ease;
}

.info-item__val a:hover {
  color: var(--cyan);
}

.info-item__sns {
  display: inline-block;
  padding: 8px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.info-item__sns:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(127, 212, 255, 0.05);
}

.info-item__pricing-card {
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: rgba(127, 212, 255, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item__pricing-card:hover {
  border-color: var(--cyan);
  background: rgba(127, 212, 255, 0.05);
}

.info-item__pricing-link {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.info-item__pricing-link span {
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.info-item__pricing-card:hover .info-item__pricing-link span {
  transform: translateX(4px);
}

.contact__subtext {
  font-size: 13px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.5);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 36px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--dim);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  color: var(--fg);
  font-family: var(--jp);
  font-weight: 300;
  font-size: 15px;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237fd4ff' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 4px center;
  cursor: pointer;
}

.field select option {
  background: #0d1020;
  color: #fff;
  padding: 10px;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--cyan);
}

/* Agreement & Plan Selection */
.agreement-box {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 10px;
}

.agreement-box__note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
  margin: 0 0 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkbox-custom {
  border-color: var(--cyan);
  background: var(--cyan);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #07090f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.terms-link {
  color: var(--cyan);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 4px;
}

.plan-selection-wrapper {
  display: none;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  animation: fadeIn 0.4s ease forwards;
}

.plan-selection-wrapper.active {
  display: flex;
}

.option-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
  animation: fadeIn 0.3s ease forwards;
}

.option-row input {
  flex: 1;
}

.remove-option-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--dim);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.remove-option-btn:hover {
  border-color: #ff5f56;
  color: #ff5f56;
}

.add-option-btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.add-option-btn:hover {
  background: rgba(127, 212, 255, 0.05);
  border-color: var(--cyan);
  color: var(--cyan);
}

.form__send {
  grid-column: 1 / -1;
  justify-self: start;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--fg);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.form__send span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.form__send:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.form__send:hover span {
  transform: translateX(6px);
}

.submitted-msg {
  display: none;
  grid-column: 1 / -1;
  padding: 48px 32px;
  border: 1px solid var(--cyan);
  background: rgba(127, 212, 255, 0.04);
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.submitted-msg h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--cyan);
}

.submitted-msg p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--dim);
}

/* ---------- Terms Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  animation: fadeIn 0.3s ease forwards;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-content {
  background: #0d1120;
  border: 1px solid var(--line);
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.modal-close {
  background: none;
  border: none;
  color: var(--dim);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ff5f56;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.modal-body h2 {
  font-size: 16px;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--fg);
  line-height: 1.6;
}

.modal-body h3 {
  font-size: 14px;
  margin: 24px 0 8px;
  color: var(--cyan);
  font-family: var(--mono);
}

.modal-body p {
  margin: 0 0 12px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.modal-agree-btn {
  background: var(--cyan);
  color: #07090f;
  border: none;
  padding: 10px 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-agree-btn:hover {
  opacity: 0.85;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact__note {
  margin: 90px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- responsive media queries ---------- */

/* Tablet & Smaller Laptops (max-width: 992px) */
@media (max-width: 992px) {
  .site {
    padding: 24px 32px;
  }

  .site__mark {
    font-size: 32px;
    font-weight: 400;
  }

  .site__nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .bg-lines {
    padding: 0 32px;
  }

  .bg-line:nth-child(2),
  .bg-line:nth-child(4) {
    display: none;
  }

  .hero__nav {
    left: 32px;
    bottom: 48px;
    top: auto;
    transform: none;
    font-size: clamp(32px, 6vw, 44px);
    gap: 12px;
  }

  .hero__name {
    display: none !important;
  }

  .statement {
    padding: 140px 32px;
  }

  .statement::before {
    left: 32px;
    right: 32px;
  }

  .statement__lead {
    font-size: clamp(28px, 5vw, 42px);
  }

  .portfolio {
    padding: 0 32px 140px;
  }

  .portfolio::before {
    left: 32px;
    right: 32px;
  }

  .work {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 100px;
  }

  .work--flip {
    grid-template-columns: 1fr;
  }

  .work--flip .work__shot {
    order: 0;
  }

  .work__title {
    font-size: 32px;
  }

  .marquee-section {
    padding: 60px 0;
  }

  .marquee-item {
    font-size: 52px;
  }

  .outro {
    padding: 120px 32px 160px;
  }

  .outro__link {
    font-size: 72px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pricing-grid,
  .options-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pf-stage__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pf-stage__left {
    position: static;
  }

  .foot {
    padding: 32px;
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .site {
    padding: 20px 20px;
  }

  .site__mark {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .bg-lines {
    padding: 0 20px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__nav {
    left: 20px;
    bottom: 36px;
    top: auto;
    transform: none;
    font-size: clamp(28px, 8vw, 38px);
    gap: 12px;
  }

  .hero__name {
    display: none !important;
  }

  .statement {
    padding: 100px 20px;
  }

  .statement::before {
    left: 20px;
    right: 20px;
  }

  .statement__lead {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .statement__body {
    font-size: 13.5px;
    line-height: 2.1;
    margin-bottom: 24px;
  }

  .portfolio {
    padding: 0 20px 80px;
  }

  .portfolio::before {
    left: 20px;
    right: 20px;
  }

  .work {
    margin-bottom: 64px;
    gap: 20px;
  }

  .work__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .work__text {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 14px;
  }

  .marquee-section {
    padding: 36px 0;
  }

  .marquee-item {
    font-size: clamp(28px, 8vw, 40px);
  }

  .outro {
    padding: 100px 20px 120px;
  }

  .outro__link {
    font-size: clamp(36px, 11vw, 52px);
  }

  .outro__link span {
    font-size: 16px;
  }

  .foot {
    padding: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .foot__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Portfolio Page Mobile */
  .portfolio-page {
    padding: 120px 0 80px;
  }

  .portfolio-page__header {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .portfolio-page__title {
    font-size: clamp(36px, 12vw, 56px);
  }

  .pf-item {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pf-item:hover {
    padding-left: 20px;
  }

  .pf-item__left {
    flex-direction: column;
    gap: 6px;
  }

  .pf-item__title {
    font-size: 26px;
  }

  .pf-item__right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  .pf-item__visit-btn {
    padding: 6px 12px;
    font-size: 10px;
  }

  .pf-item__meta {
    text-align: left;
  }

  .pf-item__inline-shot {
    display: block;
  }

  .pf-floating-preview {
    display: none !important;
  }

  .pf-stage {
    padding: 20px 16px 40px;
  }

  .pf-stage__close {
    top: 14px;
    right: 14px;
    padding: 8px 14px;
    font-size: 10px;
  }

  .pf-stage__header {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .pf-stage__title {
    font-size: 26px;
  }

  .pf-stage__main {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .pf-stage__block {
    padding-left: 16px;
  }

  .pf-stage__lead {
    font-size: 17px;
  }

  .pf-stage__text {
    font-size: 13px;
    line-height: 2;
  }

  .pf-stage__nav {
    flex-direction: column;
    gap: 12px;
  }

  .pf-stage__nav-btn {
    text-align: center;
    width: 100%;
    padding: 12px;
  }

  /* Contact Page Mobile */
  .contact {
    padding: 120px 20px 80px;
  }

  .contact__title {
    font-size: clamp(36px, 12vw, 56px);
  }

  .form {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .agreement-box {
    padding: 16px;
  }

  /* Pricing Page Mobile */
  .pricing {
    padding: 120px 20px 80px;
  }

  .pricing__title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .referral-banner {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-option-card {
    padding: 18px 20px;
    flex-direction: column;
    gap: 10px;
  }

  /* Legal & Terms Mobile */
  .legal {
    padding: 120px 20px 80px;
  }

  .legal__title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .law-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__name span,
  .hero__nav a span {
    transform: none;
    transition: none;
  }
}