/* ═══════════════════════════════════════════
   蘇柏頲 整合徒手療癒 — styles.css
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif TC', serif;
  background: #F2EFE6;
  color: #1A1815;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ── Background Wash Layers ── */
.ink-wash {
  position: fixed;
  top: -40px; right: -60px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 40%,
    rgba(100,120,130,0.07) 0%,
    rgba(100,120,130,0.03) 50%,
    transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.ink-wash2 {
  position: fixed;
  top: 300px; left: -100px;
  width: 380px; height: 280px;
  border-radius: 50% 60% 40% 50%;
  background: radial-gradient(ellipse at 55% 55%,
    rgba(80,100,90,0.05) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wash-float {
  position: fixed;
  width: 600px; height: 420px;
  top: -80px; right: -120px;
  border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse at 45% 45%,
    rgba(120,130,118,0.09) 0%,
    rgba(100,110,100,0.04) 50%,
    transparent 75%);
  filter: blur(28px);
  animation: drift1 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.wash-float2 {
  position: fixed;
  width: 480px; height: 360px;
  bottom: -60px; left: -80px;
  border-radius: 50% 65% 45% 55% / 55% 45% 65% 40%;
  background: radial-gradient(ellipse at 55% 50%,
    rgba(100,115,105,0.08) 0%,
    rgba(90,100,90,0.03) 55%,
    transparent 75%);
  filter: blur(32px);
  animation: drift2 28s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.wash-float3 {
  position: fixed;
  width: 300px; height: 250px;
  top: 40%; left: 35%;
  border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(145,140,125,0.05) 0%,
    transparent 70%);
  filter: blur(40px);
  animation: drift3 34s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.wash-fiber {
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(92deg,
      transparent, transparent 3px,
      rgba(26,24,21,0.012) 3px, rgba(26,24,21,0.012) 4px),
    repeating-linear-gradient(2deg,
      transparent, transparent 5px,
      rgba(26,24,21,0.008) 5px, rgba(26,24,21,0.008) 6px);
  pointer-events: none;
  z-index: 0;
}

@keyframes drift1 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: translate(-30px,20px) scale(1.06) rotate(3deg); opacity: 1; }
}
@keyframes drift2 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); opacity: 0.8; }
  100% { transform: translate(20px,-25px) scale(1.04) rotate(-2deg); opacity: 1; }
}
@keyframes drift3 {
  0%   { transform: translate(0,0) scale(1); opacity: 0.5; }
  100% { transform: translate(-15px,18px) scale(1.08); opacity: 0.9; }
}

/* ── Content wrapper ── */
.content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Navigation ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.2rem 3rem 1.6rem;
}

.nav-name {
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.22em;
  color: #1A1815;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(26,24,21,0.4);
  text-decoration: none;
  font-weight: 200;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  transition: color 0.4s;
}

.nav-links a:hover {
  color: rgba(26,24,21,0.75);
}

.nav-rule {
  margin: 0 3rem;
  border: none;
  border-top: 0.5px solid rgba(26,24,21,0.12);
}

/* ── Hero ── */
.hero {
  padding: 6rem 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(26,24,21,0.35);
  font-weight: 200;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.hero-title {
  font-size: 50px;
  font-weight: 200;
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.hero-title .il {
  display: block;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: rgba(26,24,21,0.42);
  font-size: 44px;
}

.hero-sub {
  font-size: 14.5px;
  font-weight: 200;
  color: rgba(26,24,21,0.6);
  line-height: 2.15;
  border-left: 0.5px solid rgba(26,24,21,0.2);
  padding-left: 1.4rem;
  padding-top: 1.4rem;
}

/* ── Flow divider ── */
.flow-divider {
  margin: 3.5rem 3rem 0;
  height: 24px;
}

.flow-divider svg {
  width: 100%;
  height: 24px;
  overflow: visible;
}

/* ── Intent / 觀 section ── */
.intent {
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.kanji {
  font-size: 44px;
  font-weight: 400;
  color: rgba(26,24,21,0.22);
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  margin-top: 4px;
  text-shadow:
    0 0 28px rgba(26,24,21,0.07),
    1px 2px 0 rgba(26,24,21,0.03);
  animation: kanji-breathe 8s ease-in-out infinite alternate;
}

@keyframes kanji-breathe {
  0% {
    color: rgba(26,24,21,0.17);
    text-shadow: 0 0 28px rgba(26,24,21,0.05), 1px 2px 0 rgba(26,24,21,0.02);
  }
  100% {
    color: rgba(26,24,21,0.25);
    text-shadow: 0 0 40px rgba(26,24,21,0.10), 1px 2px 0 rgba(26,24,21,0.05);
  }
}

.intent-body h3 {
  font-size: 22px;
  font-weight: 200;
  margin-bottom: 1.2rem;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.intent-body h3 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: rgba(26,24,21,0.5);
}

.intent-body p {
  font-size: 14px;
  font-weight: 200;
  color: rgba(26,24,21,0.62);
  line-height: 2.15;
  max-width: 500px;
}

/* ── Modalities (horizontal scroll) ── */
.modalities {
  padding: 0 0 4.5rem;
}

.mod-header {
  padding: 0 3rem 2.5rem;
}

.mod-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.32);
  font-weight: 200;
  font-family: 'Cormorant Garamond', serif;
}

.mod-scroll-wrap {
  position: relative;
  overflow: hidden;
}

.mod-scroll-wrap::before,
.mod-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 3rem;
  z-index: 3;
  pointer-events: none;
}

.mod-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, #F2EFE6, transparent);
}

.mod-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, #F2EFE6, transparent);
}

.mod-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 3rem;
  scrollbar-width: none;
  border-top: 0.5px solid rgba(26,24,21,0.10);
  -webkit-overflow-scrolling: touch;
}

.mod-track::-webkit-scrollbar {
  display: none;
}

.mod-item {
  flex: 0 0 220px;
  padding: 1.8rem 1.8rem 1.8rem 0;
  border-right: 0.5px solid rgba(26,24,21,0.07);
}

.mod-item:last-child {
  border-right: none;
  padding-right: 3rem;
}

.mod-num {
  font-size: 11px;
  color: rgba(26,24,21,0.22);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
}

.mod-item h4 {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em;
}

.mod-item p {
  font-size: 12.5px;
  font-weight: 200;
  color: rgba(26,24,21,0.56);
  line-height: 1.95;
}

.mod-placeholder {
  opacity: 0.5;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 3rem 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(26,24,21,0.28);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 200;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}

.scroll-hint:hover {
  color: rgba(26,24,21,0.5);
}

/* ── Appointment block ── */
.appt-block {
  margin: 0 3rem 4rem;
  border: 0.5px solid rgba(26,24,21,0.12);
  padding: 2.5rem;
  background: rgba(240,237,228,0.5);
  position: relative;
}

.appt-block::before {
  content: '';
  position: absolute;
  top: -1px; left: 2.5rem;
  width: 48px; height: 1px;
  background: rgba(26,24,21,0.3);
}

.appt-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.32);
  font-weight: 200;
  margin-bottom: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
}

.appt-block h3 {
  font-size: 19px;
  font-weight: 200;
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.appt-block p {
  font-size: 13.5px;
  font-weight: 200;
  color: rgba(26,24,21,0.56);
  line-height: 1.95;
  margin-bottom: 1.8rem;
  max-width: 400px;
}

.appt-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.appt-btn {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 0.5px solid rgba(26,24,21,0.22);
  padding: 0.65rem 1.4rem;
  color: rgba(26,24,21,0.55);
  background: transparent;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  transition: border-color 0.3s, color 0.3s;
}

.appt-btn.primary {
  border-color: rgba(26,24,21,0.42);
  color: #1A1815;
}

.appt-btn:hover {
  border-color: rgba(26,24,21,0.6);
  color: #1A1815;
}

/* ── Footer ── */
.footer {
  padding: 1.8rem 3rem;
  border-top: 0.5px solid rgba(26,24,21,0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 11px;
  color: rgba(26,24,21,0.30);
  letter-spacing: 0.1em;
  font-weight: 200;
  font-family: 'Cormorant Garamond', serif;
}

/* ── Desktop ── */
@media (min-width: 1024px) {
  .nav {
    padding: 2.4rem 4rem 1.8rem;
  }

  .nav-rule {
    margin: 0 4rem;
  }

  .hero {
    padding: 7rem 4rem 4rem;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-title .il {
    font-size: 52px;
  }

  .hero-sub {
    font-size: 15.5px;
    padding-top: 2rem;
  }

  .flow-divider {
    margin: 4rem 4rem 0;
  }

  .intent {
    padding: 5rem 4rem;
    grid-template-columns: 90px 1fr;
    gap: 3.5rem;
  }

  .intent-body h3 {
    font-size: 26px;
  }

  .intent-body p {
    font-size: 15px;
    max-width: 580px;
  }

  .mod-header {
    padding: 0 4rem 2.5rem;
  }

  .mod-track {
    padding: 0 4rem;
  }

  .mod-item {
    flex: 0 0 260px;
  }

  .scroll-hint {
    padding: 1rem 4rem 0;
  }

  .appt-block {
    margin: 0 4rem 5rem;
    padding: 3rem;
  }

  .appt-block h3 {
    font-size: 22px;
  }

  .appt-block p {
    font-size: 14.5px;
    max-width: 480px;
  }

  .footer {
    padding: 2rem 4rem;
  }
}

/* ── Mobile ── */
@media (max-width: 680px) {
  .nav {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem 1.5rem 1.2rem;
  }

  .nav-links {
    gap: 1.4rem;
    flex-wrap: wrap;
  }

  .nav-rule {
    margin: 0 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-title .il {
    font-size: 32px;
  }

  .hero-sub {
    border-left: none;
    padding-left: 0;
    padding-top: 0;
    border-top: 0.5px solid rgba(26,24,21,0.15);
    padding-top: 1.4rem;
  }

  .flow-divider {
    margin: 2rem 1.5rem 0;
  }

  .intent {
    padding: 3rem 1.5rem;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .kanji {
    font-size: 34px;
  }

  .intent-body h3 {
    font-size: 18px;
  }

  .mod-header {
    padding: 0 1.5rem 2rem;
  }

  .mod-track {
    padding: 0 1.5rem;
  }

  .scroll-hint {
    padding: 1rem 1.5rem 0;
  }

  .appt-block {
    margin: 0 1.5rem 3rem;
    padding: 2rem;
  }

  .footer {
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
