/* ==========================================================================
   Sunkano — 30-Day Healing Journey
   Editorial layout inspired by yangmuns.com/healing.
   Sections: hero photo / split-photo / inclusions+icons / dark mid-CTA /
   4-week photo cards / dark FAQ / bottom hero CTA.
   ========================================================================== */

:root {
  --bg:           #f5efe6;
  --bg-2:         #ece3d3;
  --bg-3:         #e3d8c4;
  --ink:          #2a2520;
  --ink-soft:     #5a5147;
  --ink-faint:    #8a7f72;
  --accent:       #8a6f4f;
  --accent-deep:  #4a3c2c;
  --accent-leaf:  #7a8a5e;
  --line:         #d6c9b3;
  --line-soft:    #e6dcc8;

  /* Dark sections (mid-CTA, FAQ) */
  --deep:         #2e3a2c;   /* deep forest green */
  --deep-2:       #3a4738;
  --deep-text:    #e8e1cf;   /* cream-on-dark text */
  --deep-text-soft: #b8b0a0;
  --deep-line:    rgba(232, 225, 207, 0.18);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(42, 37, 32, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(42, 37, 32, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(42, 37, 32, 0.26);
  --shadow-hero: 0 40px 80px -30px rgba(0, 0, 0, 0.5);

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --content:      720px;
  --content-wide: 1080px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.3; }
h4 { font-size: 1.08rem; line-height: 1.35; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

/* Header (transparent, over the hero) ----------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  max-width: var(--content-wide);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--deep-text) !important;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.brand:hover { color: var(--deep-text) !important; }
.site-header nav { display: flex; gap: 26px; align-items: center; }
.site-header nav a {
  font-size: 0.92rem;
  color: var(--deep-text);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.nav-cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink) !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
  text-shadow: none !important;
}
.nav-cta:hover { background: #fff; color: var(--accent-deep) !important; transform: translateY(-1px); }

@media (max-width: 700px) {
  .site-header { padding: 18px 20px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* HERO with background photo -------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 28px 80px;
  color: var(--deep-text);
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 28, 22, 0.45) 0%, rgba(20, 28, 22, 0.35) 50%, rgba(20, 28, 22, 0.7) 100%),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=2400&q=85&auto=format&fit=crop') center/cover no-repeat;
}
.hero h1 {
  color: var(--deep-text);
  margin: 26px 0 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  max-width: 880px;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--deep-text);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-lead {
  max-width: 580px;
  margin: 0 auto 38px;
  font-size: 1.08rem;
  color: var(--deep-text-soft);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--deep-text);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.social-proof .dot {
  width: 7px; height: 7px;
  background: #b9c98a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(185, 201, 138, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(185, 201, 138, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(185, 201, 138, 0.05); }
}

/* CTA buttons ----------------------------------------------------------- */
.cta-block { margin-top: 8px; }
.cta-button {
  appearance: none;
  background: var(--bg);
  color: var(--ink);
  border: none;
  padding: 18px 36px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease), background 0.25s, box-shadow 0.25s;
}
.cta-button:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); }
.cta-button:active { transform: translateY(0); }

.cta-button--dark {
  background: var(--ink);
  color: var(--bg);
}
.cta-button--dark:hover { background: var(--accent-deep); }

.cta-button--light {
  background: var(--deep-text);
  color: var(--deep);
}
.cta-button--light:hover { background: #fff; color: var(--deep); }

.price {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: baseline;
  margin-top: 22px;
}
.price-now {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.price-was {
  text-decoration: line-through;
  font-size: 1rem;
  opacity: 0.75;
}
.price-note {
  font-size: 0.85rem;
  margin-top: 10px;
  letter-spacing: 0.01em;
  opacity: 0.8;
}
.hero .price-now,
.hero .price-was,
.hero .price-note { color: var(--deep-text-soft); }
.hero .price-now { color: var(--deep-text); }

/* Sections base --------------------------------------------------------- */
main { display: block; }
.section {
  padding: 96px 28px;
  max-width: var(--content);
  margin: 0 auto;
}
.section.wide { max-width: var(--content-wide); }
.section h2 { text-align: center; }
.section .lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* Split — text + photo on the side -------------------------------------- */
.split {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > .split-photo { order: 2; }
.split.reverse > .split-text  { order: 1; }
.split-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.split-text h2 {
  text-align: left;
  margin-bottom: 18px;
  font-style: italic;
  font-weight: 400;
}
.split-text p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
  .split.reverse > .split-photo { order: 1; }
  .split.reverse > .split-text  { order: 2; }
  .split-text h2 { text-align: center; }
  .split-photo img { height: 280px; }
}

/* Inclusions grid with icons -------------------------------------------- */
.includes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 720px) {
  .includes { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
}
.include {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 8px 0;
}
.include-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-radius: 12px;
  color: var(--accent-deep);
}
.include-icon svg { width: 22px; height: 22px; }
.include h4 {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}
.include p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

.time-commit {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-style: italic;
  color: var(--ink);
}
.time-commit strong { font-style: normal; font-weight: 600; color: var(--accent-deep); }

/* 4-week photo cards ---------------------------------------------------- */
.weeks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 44px;
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 720px)  { .weeks-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .weeks-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.week-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.week-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.week-card .photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.week-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.week-card:hover .photo img { transform: scale(1.04); }
.week-card .body {
  padding: 22px 22px 26px;
}
.week-card .week-label {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 8px;
}
.week-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  color: var(--ink);
}
.week-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0 0 10px;
  line-height: 1.55;
}
.week-card .result {
  font-size: 0.88rem;
  color: var(--accent-deep);
  font-weight: 500;
}

/* Dark sections (mid-CTA, FAQ) ------------------------------------------ */
.dark {
  background: var(--deep);
  color: var(--deep-text);
}
.dark.section h2 { color: var(--deep-text); }
.dark .lead { color: var(--deep-text-soft); }
.dark p { color: var(--deep-text-soft); }
.dark a { color: var(--deep-text); text-decoration: underline; }
.dark a:hover { color: #fff; }

.cta-mid {
  padding: 96px 28px;
  text-align: center;
}
.cta-mid h2 {
  font-style: italic;
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-mid > p { max-width: 460px; margin: 0 auto 32px; }
.cta-mid .price-now { color: var(--deep-text); }
.cta-mid .price-was,
.cta-mid .price-note { color: var(--deep-text-soft); }

/* Benefits -------------------------------------------------------------- */
.benefits {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 720px) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.benefit {
  padding: 0 12px;
}
.benefit-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border-radius: 50%;
  color: var(--accent-deep);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.benefit p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }

/* Testimonials ---------------------------------------------------------- */
.testimonials {
  padding-top: 80px;
  padding-bottom: 80px;
}
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 720px)  { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .testi-grid { grid-template-columns: 1fr 1fr 1fr; } }
.quote {
  margin: 0;
  padding: 30px 30px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.quote:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0; left: 18px;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.quote figcaption {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* FAQ (dark) ------------------------------------------------------------ */
.faq {
  padding: 96px 28px;
  max-width: var(--content);
  margin: 0 auto;
}
.faq h2 { color: var(--deep-text); }
.faq .lead { color: var(--deep-text-soft); }
.faq details {
  border-bottom: 1px solid var(--deep-line);
  padding: 22px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--deep-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: opacity 0.2s;
}
.faq summary:hover { opacity: 0.85; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--deep-text-soft);
  transition: transform 0.3s var(--ease);
  font-weight: 300;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.faq details[open] summary::after { content: "−"; color: var(--deep-text); }
.faq details p {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--deep-text-soft);
  animation: fadeIn 0.3s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bottom hero CTA (large photo) ----------------------------------------- */
.cta-final {
  position: relative;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px;
  text-align: center;
  color: var(--deep-text);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,28,22,0.45) 0%, rgba(20,28,22,0.55) 100%),
    url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?w=2400&q=85&auto=format&fit=crop') center/cover no-repeat;
}
.cta-final h2 {
  color: var(--deep-text);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  max-width: 700px;
  margin-bottom: 28px;
}
.cta-final .cta-button { margin-top: 8px; }
.cta-final .price-now { color: var(--deep-text); }
.cta-final .price-was,
.cta-final .price-note { color: var(--deep-text-soft); }

/* Footer ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 28px 64px;
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 0.9rem;
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-faint); transition: color 0.2s; }
.site-footer a:hover { color: var(--ink); }

/* Legal pages (terms / privacy / refund) ------------------------------- */
.legal h1 {
  text-align: center;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin-bottom: 8px;
}
.legal h2 {
  text-align: left;
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}
.legal p, .legal li {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal ul {
  margin: 0 0 1em;
  padding-left: 22px;
}
.legal ul li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); }
.legal code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 4px;
}
/* Legal pages need solid header */
.legal-page .site-header {
  position: relative;
  background: var(--bg);
}
.legal-page .brand { color: var(--ink) !important; text-shadow: none; }
.legal-page .site-header nav a { color: var(--ink-soft); text-shadow: none; }
.legal-page .nav-cta { background: var(--ink); color: var(--bg) !important; }
.legal-page .nav-cta:hover { background: var(--accent-deep); }

/* Reduce motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
