/* ============================================================
   KURO CLINIC — HOMEPAGE STYLES v2 (index.css)
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  animation: heroZoom 14s ease-out forwards;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,7,4,0.88) 0%,
    rgba(10,7,4,0.60) 45%,
    rgba(10,7,4,0.18) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--inset) 88px;
  max-width: 720px;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--text-dark-primary);
}
.hero-h1-sub {
  display: block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 50px);
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-top: 8px;
  line-height: 1.1;
}
.hero-body {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(240,234,224,0.72);
  max-width: 440px;
  margin: 26px 0 38px;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; right: var(--inset);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-line {
  width: 0.5px; height: 48px;
  background: var(--accent-muted);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.25; } 50% { opacity: 1; }
}
.hero-scroll-text {
  font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-muted); writing-mode: vertical-rl;
}

/* ── RITUAL STRIP — LIGHT ────────────────────────────────────── */
.ritual {
  background: var(--bg-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 0.5px solid var(--border-light);
}
.ritual-col {
  padding: 52px 40px;
  border-right: 0.5px solid var(--border-light);
}
.ritual-col:last-child { border-right: none; }
.ritual-num {
  font-family: var(--font-display);
  font-size: 9px; letter-spacing: 0.22em;
  color: var(--bg-light-border);
  margin-bottom: 18px;
}
.ritual-title {
  font-family: var(--font-editorial);
  font-style: italic; font-size: 22px; font-weight: 400;
  color: var(--text-light-secondary);
  margin-bottom: 10px;
}
.ritual-body { font-size: 12px; line-height: 1.95; color: var(--text-light-muted); }

/* ── SERVICES — LIGHT ────────────────────────────────────────── */
.services-section {
  background: var(--bg-light-surface);
  padding: 68px var(--inset);
  border-bottom: 0.5px solid var(--border-light);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-view-all {
  font-size: 10px; letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--accent-warm);
  border-bottom: 0.5px solid var(--border-light);
  padding-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.section-view-all:hover { color: var(--text-light-secondary); border-color: var(--accent-muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.srv-card {
  padding: 30px 26px 40px;
  border: 0.5px solid var(--border-light);
  border-top: none; border-left: none;
  position: relative; cursor: pointer;
  transition: background var(--t-base);
  text-decoration: none; display: block; color: inherit;
}
.srv-card:nth-child(n+4)   { border-top: 0.5px solid var(--border-light); }
.srv-card:nth-child(3n+1)  { border-left: 0.5px solid var(--border-light); }
.srv-card:hover            { background: var(--bg-light); }
.srv-num {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 0.2em;
  color: var(--bg-light-border); margin-bottom: 16px;
}
.srv-name {
  font-family: var(--font-editorial); font-style: italic; font-size: 18px;
  font-weight: 400; color: var(--text-light-secondary); margin-bottom: 8px;
}
.srv-desc { font-size: 11.5px; line-height: 1.9; color: var(--text-light-muted); }
.srv-arrow {
  position: absolute; bottom: 22px; right: 22px;
  font-size: 14px; color: var(--bg-light-border);
  transition: color var(--t-base), transform var(--t-base);
}
.srv-card:hover .srv-arrow { color: var(--accent-muted); transform: translate(3px,-3px); }

/* ── TAGLINE — DARK ──────────────────────────────────────────── */
.tagline-band {
  background: var(--bg-dark-surface);
  padding: 72px var(--inset);
  text-align: center;
  border-top: 0.5px solid var(--border-dark);
  border-bottom: 0.5px solid var(--border-dark);
}
.tagline-ornament-row {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-bottom: 20px;
}
.tagline-ornament-row::before,
.tagline-ornament-row::after {
  content: ''; display: block;
  width: 64px; height: 0.5px;
  background: var(--border-dark);
}
.tagline-ornament { font-size: 9px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--text-dark-muted); }
.tagline-h {
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(22px, 3vw, 36px); font-weight: 400;
  color: var(--text-dark-primary); margin-bottom: 10px; letter-spacing: 0.01em;
}
.tagline-loc { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-dark-muted); }

/* ── ABOUT PREVIEW — photo left / light copy right ───────────── */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid var(--border-dark);
  min-height: 520px;
}
.about-img-col {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: var(--bg-dark-elevated);
}
/* Netlify-safe: explicit size on container, object-fit on img */
.about-img-col img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 6s ease;
}
.about-img-col:hover img { transform: scale(1.04); }

.about-copy-col {
  background: var(--bg-light);
  padding: 72px var(--inset);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 0.5px solid var(--border-light);
}
.about-h {
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 400;
  color: var(--text-light-primary); line-height: 1.25;
  margin: 20px 0;
}
.about-body {
  font-size: 13px; line-height: 1.95;
  color: var(--text-light-muted); margin-bottom: 32px;
}
.about-social-strip {
  margin-top: 32px; padding-top: 24px;
  border-top: 0.5px solid var(--border-light);
}
.about-social-label {
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-light-muted); margin-bottom: 14px; display: block;
}

/* ── TRUST — LIGHT ───────────────────────────────────────────── */
.trust-section {
  background: var(--bg-light-surface);
  padding: 56px var(--inset);
  border-bottom: 0.5px solid var(--border-light);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px;
}
.trust-item {
  padding: 30px 28px;
  border-top: 0.5px solid var(--border-light);
  border-right: 0.5px solid var(--border-light);
}
.trust-item:last-child { border-right: none; }
.trust-lead {
  font-family: var(--font-display); font-size: 10px; font-weight: 900;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light-secondary); margin-bottom: 12px; line-height: 1.4;
}
.trust-body { font-size: 12px; line-height: 1.9; color: var(--text-light-muted); }

/* ── FINAL CTA — DARK ────────────────────────────────────────── */
.cta-block {
  background: var(--bg-dark-surface);
  padding: 88px var(--inset); text-align: center;
}
.cta-block-h {
  font-family: var(--font-editorial); font-style: italic;
  font-size: clamp(22px, 2.5vw, 34px); font-weight: 400;
  color: var(--text-dark-primary); margin-bottom: 12px; line-height: 1.3;
}
.cta-block-sub {
  font-size: 13px; color: var(--text-dark-muted); margin-bottom: 40px;
  line-height: 1.85; max-width: 460px; margin-left: auto; margin-right: auto;
}
.cta-pair {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
}
.cta-secondary {
  font-size: 10px; letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--text-dark-muted);
  padding-bottom: 4px; border-bottom: 0.5px solid var(--border-dark);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--t-base), border-color var(--t-base), gap var(--t-base);
}
.cta-secondary:hover { color: var(--accent); border-color: var(--accent-muted); gap: 12px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ritual { grid-template-columns: 1fr; }
  .ritual-col { border-right: none; border-bottom: 0.5px solid var(--border-light); padding: 36px var(--inset); }
  .ritual-col:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-card:nth-child(3n+1) { border-left: none; }
  .srv-card:nth-child(2n+1) { border-left: 0.5px solid var(--border-light); }
  .srv-card:nth-child(n+3)  { border-top: 0.5px solid var(--border-light); }
  .about-preview { grid-template-columns: 1fr; min-height: auto; }
  .about-img-col { min-height: 340px; position: relative; }
  .about-copy-col { border-left: none; border-top: 0.5px solid var(--border-light); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 0.5px solid var(--border-light); }
  .trust-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 90vh; }
  .hero-content { padding-bottom: 64px; }
  .hero-scroll { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .srv-card:nth-child(2n+1) { border-left: 0.5px solid var(--border-light); }
  .srv-card:nth-child(n+2)  { border-top: 0.5px solid var(--border-light); }
  .cta-pair { flex-direction: column; gap: 24px; }
}
