/* ============================================================
   Lumen Clinic — airy, calm, sage + warm white
   Concept build by Vyntra (vyntra.site)
   ============================================================ */

:root {
  --paper: #fdfcfa;
  --sage: #aebfae;
  --sage-soft: #dfe8df;
  --sage-mist: #eef3ee;
  --sage-deep: #5c7360;   /* accent text — AA on paper */
  --ink: #2e2b27;
  --ink-soft: #6b665e;    /* secondary text — AA on paper */
  --grey-warm: #8b857c;   /* decorative / large only */
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 20px;
  --shadow-soft: 0 18px 48px -24px rgba(46, 43, 39, 0.18);
  --shadow-lift: 0 26px 56px -26px rgba(46, 43, 39, 0.24);
  --font-display: "Sora", "Albert Sans", sans-serif;
  --font-body: "Albert Sans", "Sora", sans-serif;
  --ease-calm: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15rem; }

a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: top 0.25s var(--ease-calm);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section-tinted {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sage-mist) 18%, var(--sage-mist) 82%, var(--paper) 100%);
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lede { color: var(--ink-soft); font-size: 1.1rem; }

.prose p { color: var(--ink-soft); }
.prose p:first-child { color: var(--ink); font-size: 1.15rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-calm), box-shadow 0.35s var(--ease-calm),
              background-color 0.35s var(--ease-calm), color 0.35s var(--ease-calm);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: #3c3830; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(46, 43, 39, 0.25);
  background: rgba(253, 252, 250, 0.6);
}
.btn-ghost:hover { border-color: var(--sage-deep); color: var(--sage-deep); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.4s var(--ease-calm), box-shadow 0.4s var(--ease-calm);
}
.site-header.is-scrolled {
  background: rgba(253, 252, 250, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(46, 43, 39, 0.07);
}
.header-inner {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 30px; height: 30px; color: var(--sage-deep); flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease-calm);
}
.site-nav a:hover { color: var(--sage-deep); }
.site-nav .nav-cta {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color 0.3s var(--ease-calm);
}
.site-nav .nav-cta:hover { background: #3c3830; color: var(--paper); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8.5rem 0 7rem;
}

.hero-art { position: absolute; inset: 0; pointer-events: none; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.glow-a {
  width: 60vw; height: 60vw;
  min-width: 480px; min-height: 480px;
  right: -18vw; top: -22vw;
  background: radial-gradient(circle, rgba(223, 232, 223, 0.9) 0%, rgba(223, 232, 223, 0) 70%);
}
.glow-b {
  width: 44vw; height: 44vw;
  min-width: 380px; min-height: 380px;
  left: -16vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(238, 243, 238, 0.95) 0%, rgba(238, 243, 238, 0) 70%);
}

.hero-rings {
  position: absolute;
  width: clamp(420px, 46vw, 660px);
  right: clamp(-140px, -6vw, -40px);
  top: clamp(180px, 24vh, 320px);
  transform: translateY(-40%);
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}
.hero h1 { max-width: 15em; margin-bottom: 1.4rem; }
.hero-sub {
  max-width: 34rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-photo {
  position: relative;
  width: min(1160px, calc(100% - 3rem));
  margin: clamp(2.6rem, 5vw, 4rem) auto 0;
  aspect-ratio: 16 / 9;
  max-height: 56vh;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--sage-soft);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.scroll-cue-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--sage-deep), transparent);
  animation: cue-drift 2.6s var(--ease-calm) infinite;
  transform-origin: top;
}
@keyframes cue-drift {
  0%   { transform: scaleY(0.2); opacity: 0; }
  40%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(1);   opacity: 0; }
}

/* ---------- approach split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split-copy { max-width: 38rem; }

.art-panel {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--sage-soft);
}
.art-panel .panel-svg { width: 100%; height: 100%; }
.art-panel-tall { aspect-ratio: 4 / 4.6; }

/* real photography */
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-panel picture { display: block; width: 100%; height: 100%; }
.art-caption {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- treatments ---------- */

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid rgba(174, 191, 174, 0.45);
  border-radius: var(--radius-m);
  padding: 1.9rem 1.7rem 1.6rem;
  transition: transform 0.45s var(--ease-calm), box-shadow 0.45s var(--ease-calm),
              border-color 0.45s var(--ease-calm);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sage);
}
.card-icon {
  width: 40px; height: 40px;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.fine-note {
  margin: 2.6rem 0 0;
  max-width: 44rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- gallery mosaic ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.mosaic-item { margin: 0; }
.mosaic-wide { grid-column: span 2; }
.mosaic-item .art-panel { aspect-ratio: 4 / 2.3; transition: transform 0.5s var(--ease-calm), box-shadow 0.5s var(--ease-calm); }
.mosaic-item:not(.mosaic-wide) .art-panel { aspect-ratio: 4 / 4.6; }
.mosaic-item:hover .art-panel { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mosaic-item figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- visit ---------- */

.visit { padding-bottom: clamp(5rem, 10vw, 8rem); }
.visit-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, var(--sage-mist) 0%, var(--sage-soft) 100%);
  border-radius: calc(var(--radius-l) + 8px);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem);
  box-shadow: var(--shadow-soft);
}
.visit-glow {
  position: absolute;
  width: 70%; aspect-ratio: 1;
  left: 50%; top: -40%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(253, 252, 250, 0.9) 0%, rgba(253, 252, 250, 0) 65%);
  pointer-events: none;
}
.visit-panel > * { position: relative; }
.visit-copy {
  max-width: 34rem;
  margin: 0 auto 2.2rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.visit-note {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid rgba(46, 43, 39, 0.08);
  padding: 2.6rem 0 3rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.brand-footer .brand-name { font-size: 0.98rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--sage-deep); }
.footer-credit { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.footer-credit a { color: var(--sage-deep); font-weight: 500; }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-calm), transform 0.9s var(--ease-calm);
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }
.reveal.in-view { opacity: 1; transform: none; }

/* no-JS safety: content always visible */
.no-observer .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-art { max-width: 30rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-wide { grid-column: span 2; }
  .mosaic-item:not(.mosaic-wide) .art-panel { aspect-ratio: 4 / 3.4; }
  .hero-rings { right: -30vw; opacity: 0.55; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-nav { gap: 1rem; }
  .site-nav a:not(.nav-cta) { display: none; }
  .site-nav .nav-cta {
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
  .card-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-wide { grid-column: auto; }
  .mosaic-item .art-panel,
  .mosaic-item:not(.mosaic-wide) .art-panel { aspect-ratio: 4 / 3; }
  .hero { padding-top: 6.5rem; }
  .hero-rings { width: 420px; right: -220px; top: 170px; }
  .hero-photo { aspect-ratio: 4 / 3; max-height: none; }
  .scroll-cue { bottom: 1.2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue-line { animation: none; }
  .btn, .card, .mosaic-item .art-panel, .site-nav a { transition: none; }
  .card:hover, .btn-primary:hover, .btn-ghost:hover, .mosaic-item:hover .art-panel { transform: none; }
}
