:root {
  --black: #050505;
  --panel: #0b0b0a;
  --panel-2: #11100e;
  --ink: #f5f1ea;
  --muted: rgba(245, 241, 234, 0.58);
  --dim: rgba(245, 241, 234, 0.36);
  --accent: #d8d3c9;
  --line: rgba(245, 241, 234, 0.14);
  --white: #fbf8f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scroll-padding-bottom: 120px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2,
h3 {
  font-family: "Noto Serif SC", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.cover {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.cover-image,
.cover-shade {
  position: absolute;
  inset: 0;
}

.cover-image {
  z-index: -3;
  background:
    radial-gradient(circle at 74% 30%, rgba(231, 179, 87, 0.46) 0 7%, transparent 14%),
    radial-gradient(circle at 69% 51%, rgba(18, 43, 29, 0.9) 0 6%, transparent 13%),
    radial-gradient(circle at 42% 50%, rgba(202, 175, 136, 0.26) 0 20%, transparent 38%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.1) 36%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, #15110e 0%, #4d3d31 30%, #c5b49c 54%, #2a211b 100%);
}

.cover-image::before,
.cover-image::after {
  content: "";
  position: absolute;
  display: block;
}

.cover-image::before {
  left: 29%;
  top: 50%;
  width: 36%;
  height: 10%;
  border-radius: 50%;
  background: linear-gradient(90deg, #1c1713, #5b4333, #0f0e0d);
  box-shadow:
    0 34px 0 16px rgba(34, 26, 22, 0.9),
    0 -210px 0 -28px rgba(226, 216, 202, 0.3);
}

.cover-image::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.96), rgba(90, 55, 38, 0.42), rgba(13, 12, 11, 0.94)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 74px);
  opacity: 0.82;
}

.cover-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.46) 0%, rgba(0,0,0,0.08) 42%, rgba(0,0,0,0.94) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.78), transparent 44%, rgba(0,0,0,0.54));
}

.cover-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(24px, 4vw, 58px);
}

.cover-brand {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.08em;
}

.cover-nav nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cover-tagline {
  position: absolute;
  left: clamp(24px, 4vw, 58px);
  bottom: clamp(300px, 36vh, 400px);
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cover-tagline p {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.cover-story {
  position: absolute;
  z-index: 2;
  top: clamp(110px, 15vh, 170px);
  left: clamp(24px, 4vw, 58px);
  width: min(520px, 42vw);
  display: grid;
  gap: 13px;
  padding: 34px 36px;
  border: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(202, 154, 78, 0.16), transparent 38%),
    radial-gradient(circle at 66% 86%, rgba(29, 86, 61, 0.18), transparent 34%),
    rgba(8, 8, 7, 0.16);
  color: rgba(245, 241, 234, 0.62);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow: hidden;
}

.cover-story::before,
.cover-story::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.18;
}

.cover-story > span {
  position: relative;
  z-index: 1;
}

.cover-story::before {
  width: 58%;
  height: 120%;
  left: -70%;
  top: -10%;
  background:
    linear-gradient(105deg, transparent 0%, rgba(232, 176, 94, 0.08) 22%, rgba(232, 176, 94, 0.34) 50%, rgba(245, 228, 194, 0.12) 68%, transparent 100%);
  transform: translateX(0) rotate(0.001deg);
  animation: story-ambient-warm 5.6s ease-in-out infinite;
}

.cover-story::after {
  width: 66%;
  height: 48%;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at center, rgba(32, 132, 88, 0.48), rgba(32, 132, 88, 0.16) 48%, transparent 74%);
  animation: story-ambient-green 7.2s ease-in-out infinite;
}

.cover-story:hover {
  color: rgba(245, 241, 234, 0.68);
}

.story-kicker {
  margin-bottom: 8px;
  color: rgba(245, 241, 234, 0.74);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.story-line {
  display: block;
  font-size: 14px;
  line-height: 1.86;
}

.story-quote {
  display: block;
  color: rgba(245, 241, 234, 0.78);
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.72;
}

.story-read {
  position: relative;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 4px 13px 5px;
  border: 1px solid rgba(245, 241, 234, 0.22);
  background: rgba(245, 241, 234, 0.075);
  color: rgba(245, 241, 234, 0.7);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
  box-shadow: inset 0 0 18px rgba(245, 241, 234, 0.035);
  overflow: hidden;
  animation: story-read-breath 2.45s ease-in-out infinite;
}

.story-read::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 44%;
  background: linear-gradient(105deg, transparent, rgba(255, 252, 244, 0.32), transparent);
  transform: translateX(0);
  animation: story-read-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes story-read-breath {
  0%,
  100% {
    border-color: rgba(245, 241, 234, 0.18);
    background: rgba(245, 241, 234, 0.06);
    color: rgba(245, 241, 234, 0.58);
    box-shadow: inset 0 0 12px rgba(245, 241, 234, 0.02);
  }

  50% {
    border-color: rgba(245, 241, 234, 0.46);
    background: rgba(245, 241, 234, 0.2);
    color: rgba(245, 241, 234, 0.9);
    box-shadow: inset 0 0 22px rgba(245, 241, 234, 0.07), 0 0 18px rgba(245, 241, 234, 0.06);
  }
}

@keyframes story-read-shine {
  0%,
  28% {
    transform: translateX(0);
    opacity: 0;
  }

  42% {
    opacity: 0.72;
  }

  70%,
  100% {
    transform: translateX(370%);
    opacity: 0;
  }
}

@keyframes story-ambient-warm {
  0% {
    transform: translate3d(0, 0, 0) rotate(0.001deg);
    opacity: 0;
  }

  18% {
    opacity: 0.48;
  }

  55% {
    opacity: 0.62;
  }

  82%,
  100% {
    transform: translate3d(310%, 0, 0) rotate(0.001deg);
    opacity: 0;
  }
}

@keyframes story-ambient-green {
  0%,
  100% {
    transform: translate3d(10px, -6px, 0) scale(0.96);
    opacity: 0.2;
  }

  54% {
    transform: translate3d(-12px, 8px, 0) scale(1.14);
    opacity: 0.46;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-read {
    animation: none;
  }

  .story-read::before {
    animation: none;
    opacity: 0;
  }

  .cover-story::before,
  .cover-story::after {
    animation: none;
  }
}

.cover-title {
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  right: clamp(18px, 6vw, 88px);
  bottom: clamp(44px, 7vh, 82px);
  z-index: 2;
  max-width: 980px;
}

.cover-title p {
  margin-left: 6px;
  margin-bottom: 14px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.cover-title h1 {
  font-family: "Noto Serif SC", serif;
  max-width: min(100%, 900px);
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: rgba(255, 250, 242, 0.94);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cover-actions a,
.contact-cta,
.mobile-contact-bar a,
.mobile-contact-bar button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.64);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cover-actions a {
  padding: 11px 22px;
}

.cover-actions a:first-child {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.cover-actions a:last-child {
  color: var(--ink);
  background: rgba(0,0,0,0.22);
}

.cover-actions a:hover,
.contact-cta:hover,
.mobile-contact-bar a:hover,
.mobile-contact-bar button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--black);
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 4vw, 58px);
  bottom: 34px;
  z-index: 3;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.intro,
.showcase,
.design-notes,
.process,
.service,
.schedule,
.journal,
.intro {
  background: var(--black);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.kicker {
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: clamp(36px, 7vw, 110px);
}

.intro h2,
.section-title h2,
.schedule h2,
.contact h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.12;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.showcase {
  background: var(--black);
  border-top: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 18px;
}

.horizontal-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 241, 234, 0.32) transparent;
}

.horizontal-rail > article {
  scroll-snap-align: start;
}

.horizontal-rail::-webkit-scrollbar {
  height: 6px;
}

.horizontal-rail::-webkit-scrollbar-thumb {
  background: rgba(245, 241, 234, 0.28);
}

.project {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #1d1814;
  border: 1px solid var(--line);
}

.project-large {
  grid-row: span 2;
}

.project-image {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.project:hover .project-image {
  transform: scale(1.035);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.86));
}

.image-warm {
  background:
    radial-gradient(circle at 72% 28%, rgba(225, 189, 120, 0.34), transparent 18%),
    linear-gradient(135deg, #b7aa94 0%, #4f3f32 50%, #070706 100%);
}

.image-case-warm-retro {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-warm-retro-penthouse/01-living-main-cover.jpg") center / cover no-repeat;
}

.image-case-natural-wood {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-natural-wood-warm-light/04-dining-main-cover.jpg") center / cover no-repeat;
}

.image-case-modern-wood-stone {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-modern-wood-stone-order/03-living-tv-cover.jpg") center / cover no-repeat;
}

.image-case-detached-courtyard {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-detached-courtyard-public-order/01-courtyard-water-cover.jpg") center / cover no-repeat;
}

.image-case-modern-warm-nest {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-modern-warm-family-nest/08-living-laundry-cover.jpg") center / cover no-repeat;
}

.image-case-song-duplex {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-song-style-duplex-living/01-void-living-main-cover.jpg") center / cover no-repeat;
}

.image-case-song-light-stay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-song-light-stay-home/01-living-overall-cover.jpg") center / cover no-repeat;
}

.image-case-simple-french {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-simple-french-cream-warm-life/01-living-main-cover.jpg") center / cover no-repeat;
}

.image-case-private-club {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-private-club-water-courtyard/01-entry-landscape-cover.jpg") center / cover no-repeat;
}

.image-case-club-tea-banquet {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2)),
    url("assets/case-club-tea-banquet/01-corridor-cover.jpg") center / cover no-repeat;
}

.image-dark {
  background:
    radial-gradient(circle at 30% 22%, rgba(204, 153, 88, 0.32), transparent 18%),
    linear-gradient(135deg, #070706 0%, #352b24 48%, #8c7861 100%);
}

.image-soft {
  background:
    radial-gradient(circle at 75% 34%, rgba(171, 189, 148, 0.28), transparent 20%),
    linear-gradient(135deg, #a89d8c 0%, #4e5345 48%, #070706 100%);
}

.project-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
}

.project-meta span {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.project-meta h3 {
  margin: 10px 0 8px;
  font-size: 30px;
}

.project-meta p {
  max-width: 480px;
  color: var(--muted);
}

.service {
  background: var(--panel);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 270px;
  padding: 28px;
  background: #0f0e0d;
}

.service-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--dim);
  font-size: 13px;
}

.service-grid h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.service-grid p {
  color: var(--muted);
}

.closing-note {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 72px) clamp(86px, 10vw, 130px);
  border-top: 1px solid var(--line);
  background: #050505;
  text-align: center;
}

.closing-note p {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.28;
}

.closing-note div {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
}

.closing-note span {
  display: block;
}

.schedule,
.design-notes,
.process {
  background: #070706;
  border-top: 1px solid var(--line);
}

.design-notes {
  background: var(--black);
}

.schedule-rail,
.journal-rail,
.note-rail,
.process-rail {
  padding-bottom: 10px;
}

.schedule-card {
  flex: 0 0 min(390px, 82vw);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.schedule-card span {
  color: var(--dim);
}

.schedule-card strong {
  display: block;
  margin: 12px 0 22px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
}

.schedule-card p {
  color: var(--muted);
}

.schedule-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.schedule-list li {
  position: relative;
  padding-left: 18px;
}

.schedule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(216, 211, 201, 0.72);
}

.journal {
  background: var(--panel);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.journal-card,
.note-card,
.process-card {
  flex: 0 0 min(420px, 82vw);
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.note-card {
  background:
    linear-gradient(135deg, rgba(216, 211, 201, 0.06), transparent 54%),
    rgba(255,255,255,0.028);
}

.process-card {
  min-height: 330px;
  background:
    linear-gradient(135deg, rgba(216, 211, 201, 0.075), transparent 58%),
    rgba(255,255,255,0.035);
}

.journal-card span,
.note-card span,
.process-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-card h3,
.note-card h3,
.process-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.journal-card p,
.note-card p,
.process-card p {
  color: var(--muted);
}

.process-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.process-card li {
  position: relative;
  padding-left: 14px;
}

.process-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 4px;
  height: 4px;
  background: rgba(216, 211, 201, 0.72);
}

.contact-cta {
  padding: 11px 24px;
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.mobile-contact-bar {
  display: none;
}

.wechat-modal,
.phone-modal,
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.wechat-modal.is-open,
.phone-modal.is-open,
.story-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.wechat-modal-backdrop,
.phone-modal-backdrop,
.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.story-modal {
  place-items: center;
  transition: none;
}

.story-modal .story-modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.wechat-dialog {
  position: relative;
  z-index: 1;
  width: min(38vw, 148px);
  min-width: 128px;
  max-width: 156px;
  margin-bottom: calc(76px + env(safe-area-inset-bottom));
  padding: 6px;
  border: 1px solid rgba(245, 241, 234, 0.2);
  background: rgba(8, 8, 7, 0.98);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.52);
}

.wechat-qr-frame {
  padding: 4px;
  background: #fbf8f1;
  border: 1px solid rgba(251, 248, 241, 0.92);
}

.wechat-qr-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.phone-dialog {
  position: relative;
  z-index: 1;
  width: min(56vw, 220px);
  min-width: 190px;
  margin-bottom: calc(76px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  border: 1px solid rgba(245, 241, 234, 0.24);
  background: rgba(8, 8, 7, 0.98);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.52);
}

.phone-dialog span,
.phone-dialog a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.phone-dialog span {
  color: var(--ink);
  letter-spacing: 0.04em;
}

.phone-dialog a {
  background: var(--white);
  color: var(--black);
  border-left: 1px solid var(--line);
}

.story-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 40px));
  padding: clamp(18px, 4vw, 34px);
  border: 0;
  background: rgba(8, 8, 7, 0.72);
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.story-dialog-kicker {
  margin-bottom: 12px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.story-dialog h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.25;
}

.story-dialog p:not(.story-dialog-kicker) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.92;
}

.story-dialog p + p {
  margin-top: 13px;
}

.story-dialog .story-dialog-quote {
  color: rgba(245, 241, 234, 0.86);
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  line-height: 1.76;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-nav nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-nav [aria-current="page"] {
  color: var(--ink);
}

.about-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 16%, rgba(216, 173, 96, 0.12), transparent 24%),
    var(--black);
}

.prep-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 14%, rgba(216, 173, 96, 0.1), transparent 24%),
    var(--black);
}

.case-list-page,
.case-detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 9%, rgba(174, 119, 61, 0.12), transparent 25%),
    var(--black);
}

.case-list-hero,
.case-detail-hero-copy {
  padding: clamp(58px, 8vw, 112px) clamp(22px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

.case-list-hero {
  border-bottom: 1px solid var(--line);
}

.case-list-hero h1,
.case-detail-hero-copy h1 {
  max-width: 980px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.08;
}

.case-list-hero > p:not(.kicker),
.case-intro p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.8;
}

.case-list {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 52px) clamp(22px, 5vw, 72px) clamp(90px, 10vw, 140px);
}

.case-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.case-card img,
.case-space img,
.case-detail-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-copy {
  padding: 18px 20px 20px;
}

.case-card-copy span,
.case-space-copy span,
.case-meta,
.case-closing a {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-card-copy h2 {
  margin: 8px 0 8px;
  font-size: clamp(22px, 2.5vw, 34px);
}

.case-card-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.case-card-placeholder {
  min-height: 420px;
}

.case-placeholder-visual {
  background:
    radial-gradient(circle at 72% 28%, rgba(216, 173, 96, 0.28), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 58%),
    #0f0e0d;
}

.case-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 78vh;
  border-bottom: 1px solid var(--line);
}

.case-detail-hero-image {
  min-height: 560px;
}

.case-detail-hero-copy {
  display: grid;
  align-content: end;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: 0.08em;
}

.case-intro {
  padding: clamp(42px, 6vw, 88px) clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.case-intro p {
  margin-top: 0;
}

.case-story {
  display: grid;
}

.case-space {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.58fr);
  min-height: 70vh;
  border-bottom: 1px solid var(--line);
}

.case-space:nth-child(even) {
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 1.2fr);
}

.case-space:nth-child(even) img {
  grid-column: 2;
}

.case-space:nth-child(even) .case-space-copy {
  grid-column: 1;
  grid-row: 1;
}

.case-space-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 72px);
}

.case-space-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.15;
}

.case-space-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.88;
}

.case-closing {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(64px, 9vw, 120px) clamp(22px, 5vw, 72px) clamp(110px, 12vw, 160px);
  text-align: center;
}

.case-closing p {
  max-width: 12em;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.28;
}

.case-closing a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.26);
}

.about-hero {
  min-height: 58vh;
  display: grid;
  align-content: end;
  padding: clamp(88px, 12vw, 170px) clamp(22px, 5vw, 72px) clamp(72px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  max-width: 980px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 400;
  line-height: 1;
}

.about-hero > p:not(.kicker) {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.prep-hero {
  min-height: 46vh;
  display: grid;
  align-content: end;
  padding: clamp(88px, 12vw, 170px) clamp(22px, 5vw, 72px) clamp(56px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.prep-hero h1 {
  max-width: 980px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 400;
  line-height: 1;
}

.prep-hero > p:not(.kicker) {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
}

.prep-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1px;
  padding: clamp(56px, 8vw, 112px) clamp(22px, 5vw, 72px);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.prep-detail article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: #0f0e0d;
}

.prep-detail span {
  display: block;
  margin-bottom: 44px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.prep-detail h2,
.prep-next h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
}

.prep-detail p {
  color: var(--muted);
}

.prep-next {
  padding: clamp(64px, 9vw, 120px) clamp(22px, 5vw, 72px);
}

.prep-next .cover-actions {
  display: flex;
}

.about-content {
  display: grid;
}

.about-block {
  display: grid;
  grid-template-columns: 120px minmax(0, 760px);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(56px, 8vw, 112px) clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.about-index {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.about-block h2,
.about-next h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.16;
}

.about-block p:not(.about-index) {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
}

.about-block p + p {
  margin-top: 16px;
}

.about-next {
  padding: clamp(72px, 9vw, 130px) clamp(22px, 5vw, 72px);
}

.about-next .cover-actions {
  display: flex;
}

@media (max-width: 980px) {
  .cover-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cover-nav nav {
    width: 100%;
    overflow-x: auto;
  }

  .intro-layout,
  .showcase-grid,
  .schedule {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 18px;
    scroll-padding-bottom: 150px;
  }

  .cover {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .cover-image {
    background:
      radial-gradient(circle at 78% 28%, rgba(224, 173, 88, 0.42) 0 9%, transparent 18%),
      radial-gradient(circle at 70% 52%, rgba(17, 42, 28, 0.92) 0 9%, transparent 18%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.05) 38%, rgba(0, 0, 0, 0.92)),
      linear-gradient(135deg, #17120f 0%, #4c3c31 36%, #b7a58f 62%, #181411 100%);
  }

  .cover-image::before {
    left: 18%;
    top: 62%;
    width: 72%;
    height: 9%;
  }

  .cover-image::after {
    height: 34%;
    background:
      linear-gradient(90deg, rgba(14, 11, 10, 0.96), rgba(73, 46, 33, 0.5), rgba(10, 10, 9, 0.96)),
      repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 52px);
  }

  .cover-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0.96) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.62), transparent 52%, rgba(0,0,0,0.52));
  }

  .cover-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
    padding: 14px 20px;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: row;
    align-items: center;
  }

  .cover-brand {
    font-size: 17px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .cover-nav nav {
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .page-nav {
    padding: 14px 20px;
    gap: 16px;
  }

  .page-nav .cover-brand {
    font-size: 17px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .page-nav nav {
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .cover-story {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 36px 24px 28px;
    min-height: 330px;
    padding: 26px 28px 44px;
    gap: 10px;
    border: 0;
    background:
      radial-gradient(circle at 78% 18%, rgba(202, 154, 78, 0.18), transparent 36%),
      radial-gradient(circle at 66% 86%, rgba(29, 86, 61, 0.18), transparent 30%),
      rgba(8, 8, 7, 0.12);
  }

  .cover-story::before {
    filter: blur(14px);
  }

  .cover-story::after {
    opacity: 0.52;
    filter: blur(18px);
  }

  .story-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .story-line {
    font-size: 13px;
    line-height: 1.82;
  }

  .story-quote {
    font-size: 15px;
    line-height: 1.7;
  }

  .story-read {
    margin-top: 10px;
    padding: 3px 12px 4px;
    font-size: 12px;
    line-height: 1.25;
  }

  .about-hero {
    min-height: 48vh;
    padding: 72px 20px 56px;
  }

  .about-hero h1 {
    font-size: 46px;
  }

  .about-hero > p:not(.kicker) {
    margin-top: 18px;
    font-size: 17px;
  }

  .prep-hero {
    min-height: 44vh;
    padding: 72px 20px 56px;
  }

  .prep-hero h1 {
    font-size: 42px;
  }

  .prep-hero > p:not(.kicker) {
    margin-top: 18px;
    font-size: 16px;
  }

  .case-list-hero,
  .case-detail-hero-copy {
    padding: 44px 20px 22px;
  }

  .case-list-hero h1,
  .case-detail-hero-copy h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .case-list-hero > p:not(.kicker),
  .case-intro p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.75;
  }

  .case-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 20px 132px;
  }

  .case-card {
    min-height: auto;
    grid-template-rows: auto auto;
  }

  .case-card img,
  .case-placeholder-visual {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .case-card-copy {
    padding: 14px 16px 16px;
  }

  .case-card-copy span {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .case-card-copy h2 {
    margin: 6px 0 6px;
    font-size: 20px;
  }

  .case-card-copy p {
    font-size: 13px;
    line-height: 1.65;
  }

  .case-detail-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .case-detail-hero-image {
    order: 2;
    min-height: auto;
  }

  .case-detail-hero-image img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .case-detail-hero-copy {
    order: 1;
  }

  .case-meta {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.75;
  }

  .case-intro {
    padding: 34px 20px;
  }

  .case-space,
  .case-space:nth-child(even) {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .case-space:nth-child(even) img,
  .case-space:nth-child(even) .case-space-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .case-space img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .case-space-copy {
    padding: 24px 20px 34px;
  }

  .case-space-copy span {
    font-size: 11px;
  }

  .case-space-copy h2 {
    margin: 8px 0 10px;
    font-size: 25px;
  }

  .case-space-copy p {
    font-size: 14px;
    line-height: 1.86;
  }

  .case-closing {
    padding: 52px 20px 138px;
  }

  .case-closing p {
    font-size: 25px;
  }

  .prep-detail {
    grid-template-columns: 1fr;
    padding: 1px 20px;
    background: transparent;
  }

  .prep-detail article {
    min-height: auto;
    padding: 28px 0;
    background: transparent;
    border-bottom: 1px solid var(--line);
  }

  .prep-detail span {
    margin-bottom: 18px;
  }

  .prep-detail h2,
  .prep-next h2 {
    font-size: 28px;
  }

  .prep-next {
    padding: 56px 20px 140px;
  }

  .prep-next .cover-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 52px 20px;
  }

  .about-block h2,
  .about-next h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .about-block p:not(.about-index) {
    font-size: 16px;
  }

  .about-next {
    padding: 56px 20px 140px;
  }

  .about-next .cover-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cover-tagline {
    position: relative;
    left: 0;
    right: 0;
    bottom: auto;
    padding: 0 20px;
    margin-top: auto;
    margin-bottom: 16px;
  }

  .cover-tagline p {
    max-width: none;
    font-size: 13px;
    line-height: 1.6;
  }

  .cover-title {
    position: relative;
    left: 0;
    right: 0;
    bottom: auto;
    padding: 0 20px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .cover-title h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.5vw, 42px);
    line-height: 1.22;
  }

  .cover-title p {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .cover-actions {
    display: none;
  }

  .cover-actions a {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .scroll-cue {
    display: none;
  }

  .intro,
  .showcase,
  .design-notes,
  .process,
  .service,
  .schedule,
  .journal {
    padding: 56px 20px;
    scroll-margin-top: 56px;
    scroll-margin-bottom: 150px;
  }

  .intro h2,
  .section-title h2,
  .schedule h2,
  .contact h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .intro-copy {
    font-size: 16px;
    gap: 14px;
  }

  .section-title {
    display: block;
    margin-bottom: 22px;
  }

  .section-note {
    margin-top: 10px;
    font-size: 13px;
  }

  .showcase-grid {
    display: flex;
    gap: 14px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project {
    flex: 0 0 82vw;
    min-height: 44vh;
    scroll-snap-align: start;
  }

  .project-large {
    grid-row: span 1;
  }

  .project-meta {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .project-meta span {
    font-size: 11px;
  }

  .project-meta h3 {
    font-size: 22px;
    margin: 6px 0 6px;
  }

  .project-meta p {
    font-size: 14px;
  }

  .horizontal-rail {
    gap: 14px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }

  .horizontal-rail::-webkit-scrollbar,
  .showcase-grid::-webkit-scrollbar {
    display: none;
  }

  .journal-card,
  .note-card,
  .process-card,
  .schedule-card {
    flex-basis: 82vw;
  }

  .journal-card,
  .note-card,
  .process-card {
    min-height: 230px;
    padding: 22px 18px;
  }

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

  .journal-card span,
  .note-card span,
  .process-card span {
    margin-bottom: 28px;
    font-size: 11px;
  }

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

  .service-grid article {
    min-height: auto;
    padding: 22px 18px;
  }

  .service-grid span {
    margin-bottom: 24px;
  }

  .service-grid h3 {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .service-grid p {
    font-size: 14px;
    line-height: 1.7;
  }

  .closing-note {
    padding: 46px 20px 136px;
    gap: 16px;
  }

  .closing-note p {
    max-width: 12em;
    font-size: 24px;
  }

  .closing-note div {
    font-size: 14px;
    line-height: 1.8;
  }

  .schedule-card {
    padding: 24px 20px;
  }

  .schedule-card strong {
    font-size: 26px;
  }

  .schedule-list {
    gap: 10px;
    font-size: 14px;
  }

  .journal-card h3,
  .note-card h3,
  .process-card h3 {
    font-size: 19px;
  }

  .journal-card p,
  .note-card p,
  .process-card p,
  .process-card li {
    font-size: 14px;
  }

  .contact {
    padding-bottom: 140px;
  }

  body {
    padding-bottom: 96px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a,
  .mobile-contact-bar button {
    min-height: 46px;
    padding: 10px 8px;
    border-color: rgba(255,255,255,0.36);
    background: rgba(255,255,255,0.06);
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .mobile-contact-bar a:last-child,
  .mobile-contact-bar button:last-child {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
  }

  .story-dialog {
    width: calc(100vw - 34px);
    max-height: none;
    padding: 16px 18px;
  }

  .story-dialog p:not(.story-dialog-kicker) {
    font-size: 14px;
    line-height: 1.86;
  }

  .story-dialog .story-dialog-quote {
    font-size: 16px;
  }
}
