/* ============================================
   HYPNOTHERAPY FOR SLEEP — CALM DESIGN SYSTEM
   ============================================ */

:root {
  --c-midnight: #1A1F36;
  --c-navy: #0D1326;
  --c-moonlight: #AFCBFF;
  --c-lavender: #C7C9D9;
  --c-offwhite: #F4F6FA;
  --c-soft-glow: rgba(175, 203, 255, 0.15);
  --c-deep-glow: rgba(175, 203, 255, 0.08);

  --grad-night: linear-gradient(180deg, #0D1326 0%, #1A1F36 50%, #2A2D52 100%);
  --grad-dawn: linear-gradient(180deg, #1A1F36 0%, #3D4878 60%, #AFCBFF 100%);
  --grad-veil: linear-gradient(180deg, rgba(13,19,38,0) 0%, rgba(13,19,38,0.85) 70%, rgba(13,19,38,1) 100%);
  --grad-orb: radial-gradient(circle at 30% 30%, rgba(175,203,255,0.55) 0%, rgba(175,203,255,0.05) 50%, rgba(13,19,38,0) 75%);

  --f-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--f-sans);
  font-weight: 300;
  color: var(--c-lavender);
  background: var(--c-navy);
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient background — slow drifting orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

body::before {
  width: 500px;
  height: 500px;
  background: var(--grad-orb);
  top: -100px;
  right: -150px;
  animation: drift 25s var(--ease-slow) infinite alternate;
}

body::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(199,201,217,0.3) 0%, rgba(13,19,38,0) 70%);
  bottom: -200px;
  left: -200px;
  animation: drift 30s var(--ease-slow) infinite alternate-reverse;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--f-serif);
  font-weight: 300;
  color: var(--c-offwhite);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 200; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

p {
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  font-weight: 300;
  line-height: 1.95;
  color: var(--c-lavender);
}

a {
  color: var(--c-moonlight);
  text-decoration: none;
  transition: opacity 0.6s var(--ease-soft);
}

a:hover { opacity: 0.7; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--c-moonlight);
  font-weight: 400;
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.italic-soft {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-moonlight);
  font-weight: 300;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--c-moonlight), transparent);
  margin: 0 auto;
  opacity: 0.5;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: rgba(13, 19, 38, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(175, 203, 255, 0.08);
  transition: all 0.6s var(--ease-soft);
}

.nav.scrolled {
  padding: 1rem 0;
  background: rgba(13, 19, 38, 0.85);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-offwhite);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--c-moonlight), var(--c-midnight));
  box-shadow: 0 0 20px rgba(175, 203, 255, 0.4);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(175, 203, 255, 0.2);
  animation: pulse-soft 4s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.2; }
}

.brand-text { line-height: 1.1; }
.brand-text small {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  opacity: 0.7;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--c-lavender);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.5s var(--ease-soft);
}

.nav-menu a:hover { color: var(--c-moonlight); opacity: 1; }

.nav-menu a.active { color: var(--c-moonlight); }

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--c-moonlight);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s var(--ease-soft);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-offwhite);
  margin: 6px auto;
  transition: all 0.4s var(--ease-soft);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 2.5rem;
    gap: 1.5rem;
    background: rgba(13, 19, 38, 0.97);
    backdrop-filter: blur(40px);
    transition: right 0.6s var(--ease-slow);
    border-left: 1px solid rgba(175, 203, 255, 0.1);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 1rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  font-family: var(--f-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.6s var(--ease-soft);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-moonlight), #8FB1F5);
  color: var(--c-navy);
  box-shadow: 0 10px 40px rgba(175, 203, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(175, 203, 255, 0.4);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--c-offwhite);
  border: 1px solid rgba(199, 201, 217, 0.3);
}

.btn-ghost:hover {
  background: rgba(175, 203, 255, 0.08);
  border-color: var(--c-moonlight);
  opacity: 1;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.5s var(--ease-soft);
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  background: var(--c-navy);
  z-index: 0;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 19, 38, 0.6) 0%,
    rgba(13, 19, 38, 0.5) 40%,
    rgba(13, 19, 38, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  padding: 0 2rem;
}

.hero-content h1 {
  margin-bottom: 2rem;
  font-weight: 200;
}

.hero-content h1 span {
  display: inline-block;
  font-style: italic;
  color: var(--c-moonlight);
  font-weight: 300;
}

.hero-subline {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--c-lavender);
  margin-bottom: 3rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.03em;
}

.hero-cta-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: var(--c-lavender);
  opacity: 0.6;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--c-moonlight), transparent);
  margin: 0.75rem auto 0;
  animation: scroll-down 2.5s ease-in-out infinite;
}

@keyframes scroll-down {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(175,203,255,0.15) 0%, rgba(13,19,38,0) 60%);
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

/* ===== CARDS / ISSUES GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.soft-card {
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, rgba(175,203,255,0.06), rgba(175,203,255,0.02));
  border: 1px solid rgba(175, 203, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.7s var(--ease-soft);
  position: relative;
  overflow: hidden;
}

.soft-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(175,203,255,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
  pointer-events: none;
}

.soft-card:hover {
  transform: translateY(-4px);
  border-color: rgba(175, 203, 255, 0.25);
  background: linear-gradient(180deg, rgba(175,203,255,0.09), rgba(175,203,255,0.03));
}

.soft-card:hover::before { opacity: 1; }

.soft-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(175,203,255,0.4), rgba(175,203,255,0.05));
  border: 1px solid rgba(175, 203, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-family: var(--f-serif);
  color: var(--c-moonlight);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
}

.soft-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-moonlight);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soft-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.soft-card p {
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ===== SECTION HEADER ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-head h2 {
  margin-bottom: 1.5rem;
}

.section-head p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ===== SLEEP CYCLE VISUAL ===== */
.sleep-cycle {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 900px;
  margin: 4rem auto;
  position: relative;
  padding: 2rem 0;
}

.sleep-cycle::before {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-moonlight), transparent);
  opacity: 0.4;
}

.cycle-stage {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cycle-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-moonlight);
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(175, 203, 255, 0.6);
  position: relative;
}

.cycle-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(175, 203, 255, 0.3);
  animation: ring-pulse 3s ease-in-out infinite;
}

.cycle-stage:nth-child(2) .cycle-dot::before { animation-delay: 0.5s; }
.cycle-stage:nth-child(3) .cycle-dot::before { animation-delay: 1s; }
.cycle-stage:nth-child(4) .cycle-dot::before { animation-delay: 1.5s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0; }
}

.cycle-stage h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--c-offwhite);
}

.cycle-stage span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  opacity: 0.8;
}

/* ===== TWO-COLUMN FEATURE ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-row.reverse > :first-child { order: 2; }

.feature-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 1.5s var(--ease-slow);
}

.feature-img:hover img { transform: scale(1.04); }

.feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,19,38,0.4));
  pointer-events: none;
}

.feature-content h2 { margin-bottom: 1.5rem; }
.feature-content p { margin-bottom: 1.25rem; }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 3rem; }
  .feature-row.reverse > :first-child { order: 0; }
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0;
}

.testimonial-quote {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-offwhite);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 4rem;
  color: var(--c-moonlight);
  opacity: 0.3;
  position: absolute;
  font-family: var(--f-serif);
}

.testimonial-quote::before { top: -2rem; left: -1rem; }
.testimonial-quote::after { bottom: -3rem; right: -1rem; }

.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  font-weight: 400;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.t-card {
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(175,203,255,0.05), rgba(175,203,255,0.02));
  border: 1px solid rgba(175, 203, 255, 0.1);
  border-radius: 24px;
  position: relative;
}

.t-card .quote-mark {
  font-family: var(--f-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--c-moonlight);
  opacity: 0.3;
  margin-bottom: -2rem;
}

.t-card p {
  font-style: italic;
  font-size: 1rem;
  color: var(--c-offwhite);
  margin-bottom: 1.5rem;
}

.t-card .author {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-moonlight);
}

/* ===== STEPS / PROCESS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, rgba(175,203,255,0.04), rgba(175,203,255,0.01));
  border: 1px solid rgba(175, 203, 255, 0.08);
  border-radius: 20px;
  align-items: start;
  transition: all 0.7s var(--ease-soft);
}

.step:hover {
  border-color: rgba(175, 203, 255, 0.2);
  transform: translateX(4px);
}

.step-num {
  font-family: var(--f-serif);
  font-size: 3rem;
  font-weight: 200;
  font-style: italic;
  color: var(--c-moonlight);
  line-height: 1;
}

.step-body h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.step-body p { font-size: 0.95rem; }

@media (max-width: 600px) {
  .step { grid-template-columns: 60px 1fr; gap: 1.25rem; padding: 1.75rem 1.5rem; }
  .step-num { font-size: 2.4rem; }
}

/* ===== CTA STRIP ===== */
.cta-strip {
  text-align: center;
  padding: 7rem 0;
  background: radial-gradient(ellipse at center, rgba(175,203,255,0.1), transparent 70%);
  position: relative;
}

.cta-strip h2 {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-strip p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ===== FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.form-group { margin-bottom: 1.75rem; }

.form-group label {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(199, 201, 217, 0.25);
  color: var(--c-offwhite);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color 0.5s var(--ease-soft);
  outline: none;
}

.form-group select { padding: 1rem 0; }
.form-group select option { background: var(--c-navy); color: var(--c-offwhite); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--c-moonlight);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(199, 201, 217, 0.4);
}

.contact-info {
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, rgba(175,203,255,0.06), rgba(175,203,255,0.02));
  border: 1px solid rgba(175, 203, 255, 0.12);
  border-radius: 24px;
}

.contact-info h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-line {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(175, 203, 255, 0.1);
}

.contact-line:first-of-type { border-top: none; }

.contact-line .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

.contact-line .value {
  font-size: 1rem;
  color: var(--c-offwhite);
  font-weight: 300;
}

.contact-line a { color: var(--c-offwhite); }

/* ===== SOCIAL ICONS ===== */
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(175, 203, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-lavender);
  transition: all 0.5s var(--ease-soft);
  background: rgba(175, 203, 255, 0.04);
}

.social-icon:hover {
  background: rgba(175, 203, 255, 0.15);
  border-color: var(--c-moonlight);
  color: var(--c-moonlight);
  transform: translateY(-2px);
  opacity: 1;
}

.social-icon svg { width: 16px; height: 16px; }

/* ===== MEDIA GALLERY (masonry — preserves natural aspect ratios) ===== */
.gallery-grid {
  column-count: 3;
  column-gap: 1.25rem;
}

@media (max-width: 1100px) { .gallery-grid { column-count: 2; } }
@media (max-width: 600px)  { .gallery-grid { column-count: 1; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: var(--c-midnight);
  display: block;
  margin: 0 0 1.25rem 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transition: transform 0.6s var(--ease-soft);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s var(--ease-slow), filter 0.6s var(--ease-soft);
}

.gallery-item:hover { transform: translateY(-3px); }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.03); filter: brightness(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,19,38,0.5));
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
  pointer-events: none;
}

.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 19, 38, 0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}

.lightbox.open { display: flex; opacity: 1; }

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(175, 203, 255, 0.3);
  background: rgba(13, 19, 38, 0.6);
  color: var(--c-offwhite);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 200;
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 0 2rem;
  background: linear-gradient(180deg, var(--c-navy), #060916);
  border-top: 1px solid rgba(175, 203, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-col h5 {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.85;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.footer-col ul a {
  color: var(--c-lavender);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.footer-col ul a:hover { color: var(--c-moonlight); opacity: 1; }

.footer-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-offwhite);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.footer-name {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--c-offwhite);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem !important;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(175, 203, 255, 0.1);
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(175, 203, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--c-lavender);
  opacity: 0.7;
}

.footer-bottom a { color: var(--c-moonlight); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.15s; }
.fade-in.delay-2 { transition-delay: 0.3s; }
.fade-in.delay-3 { transition-delay: 0.45s; }
.fade-in.delay-4 { transition-delay: 0.6s; }

/* ===== STAR FIELD (subtle) ===== */
.starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  background: var(--c-offwhite);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-card {
  background: linear-gradient(180deg, rgba(175,203,255,0.05), rgba(175,203,255,0.01));
  border: 1px solid rgba(175, 203, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.7s var(--ease-soft);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(175, 203, 255, 0.25);
}

.blog-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--c-midnight);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.5s var(--ease-slow);
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.blog-card-link {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== STAT ROW ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(175, 203, 255, 0.08);
  border-bottom: 1px solid rgba(175, 203, 255, 0.08);
}

@media (max-width: 800px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat .num {
  font-family: var(--f-serif);
  font-size: 3rem;
  font-weight: 200;
  color: var(--c-moonlight);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat .lab {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-lavender);
  opacity: 0.85;
}

/* ===== ABOUT IMAGE ===== */
.about-portrait {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,19,38,0.5));
  z-index: 1;
  pointer-events: none;
}

/* ===== PILL TAG ===== */
.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-moonlight);
  background: rgba(175, 203, 255, 0.08);
  border: 1px solid rgba(175, 203, 255, 0.15);
  border-radius: 100px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===== BULLET LIST ===== */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.85;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-moonlight);
  box-shadow: 0 0 12px rgba(175, 203, 255, 0.6);
}

/* form submit message */
.form-msg {
  display: none;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  background: rgba(175, 203, 255, 0.1);
  border: 1px solid rgba(175, 203, 255, 0.25);
  border-radius: 12px;
  color: var(--c-offwhite);
  font-size: 0.9rem;
  text-align: center;
}

.form-msg.show { display: block; }
