/* ============================================
   CUSTOM PROPERTIES
============================================ */
:root {
  --navy:       #2B3A6B;
  --navy-dark:  #1E2B52;
  --navy-mid:   #3D5088;
  --blue:       #4A6FA5;
  --blue-light: #A3C4E0;
  --blue-pale:  #E4EFF8;
  --sage:       #7A9E7E;
  --warm-white: #FAFAF8;
  --linen:      #F2EFE9;
  --text:       #2C2C2C;
  --text-muted: #666666;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Nunito', system-ui, sans-serif;

  --max-width: 1100px;
  --transition: 0.25s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-sans); }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
p  { line-height: 1.85; color: var(--text-muted); font-size: 1rem; }
p + p { margin-top: 1.25rem; }

/* ============================================
   LAYOUT
============================================ */
.container         { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 740px; }
section            { padding: 6rem 0; }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 400;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 50px;
}
.btn--white           { background: white; color: var(--navy); }
.btn--white:hover     { background: var(--blue-pale); }
.btn--outline-white   { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); }
.btn--navy            { background: var(--navy); color: white; }
.btn--navy:hover      { background: var(--navy-dark); }
.btn--outline-navy    { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: white; }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.25rem 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  padding: 0.85rem 0;
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img    { height: 52px; width: auto; transition: opacity var(--transition); }
.nav__logo:hover img { opacity: 0.8; }

.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__link {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  transition: opacity var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav__link:hover          { opacity: 0.65; }
.nav__link--active        { border-bottom-color: currentColor; }
.nav.scrolled .nav__link  { color: var(--navy); }

.nav__cta {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.55rem 1.4rem;
  transition: all var(--transition);
}
.nav__cta:hover             { background: rgba(255,255,255,0.12); }
.nav.scrolled .nav__cta     { color: var(--navy); border-color: var(--navy); }
.nav.scrolled .nav__cta:hover { background: var(--navy); color: white; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  transition: all 0.3s;
}
.nav.scrolled .nav__burger span { background: var(--navy); }
.nav__burger.open span { background: white !important; }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: white;
  font-weight: 300;
  transition: opacity var(--transition);
}
.nav__mobile-menu a:hover { opacity: 0.65; }

/* ============================================
   HERO (Home)
============================================ */
.hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(27, 43, 82, 0.72) 0%,
    rgba(27, 43, 82, 0.38) 55%,
    rgba(27, 43, 82, 0.1) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero__heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: white;
  line-height: 1.05;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero__heading span { white-space: nowrap; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  padding: 11rem 0 5rem;
  position: relative;
  background: var(--navy-dark);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}
.page-hero h1    { color: white; font-weight: 300; max-width: 680px; }
.page-hero__sub  { color: rgba(255,255,255,0.6); max-width: 540px; margin-top: 1.5rem; font-size: 1.05rem; }

/* ============================================
   ABOUT (home)
============================================ */
.about { background: var(--warm-white); overflow: visible; }
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: flex-start;
}
.about__img-wrap { position: relative; z-index: 3; margin-bottom: -6rem; }
.about__img-wrap::after {
  content: '';
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 65%; height: 65%;
  border: 1.5px solid var(--blue-light);
  z-index: -1;
}
.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}
.about__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.about__intro {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.about__body { margin-bottom: 2rem; }

/* ============================================
   WHY SEA OF STORIES (home)
============================================ */
.why { background: var(--linen); text-align: center; padding-top: 9rem; }
.why__inner { max-width: 680px; margin: 0 auto; }
.why__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 2rem;
}
.why__text { font-size: 1.1rem; line-height: 2; color: #555; }

/* ============================================
   SERVICES PREVIEW (home)
============================================ */
.services { background: var(--warm-white); }
.services__heading { text-align: center; margin-bottom: 3.5rem; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.service-card {
  text-decoration: none;
  display: block;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(43,58,107,0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(43,58,107,0.14);
}
.service-card__icon { padding: 2.25rem 2.25rem 0; }
.service-card__icon svg { width: 56px; height: 56px; }
.service-card__body   { padding: 1.5rem 2.25rem 2.25rem; }
.service-card__badge  {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.service-card__title  { font-family: var(--font-serif); font-size: 1.7rem; color: var(--navy); margin-bottom: 0.75rem; font-weight: 400; }
.service-card__desc   { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1.5rem; }
.service-card__link   { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--navy);
  padding: 2.5rem 0 1.75rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}
.footer__logos      { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.footer__logo-img   { height: 64px; width: auto; transition: opacity var(--transition); }
.footer__badge-img  { height: 64px; width: auto; transition: opacity var(--transition); }
.footer__logos a:hover img { opacity: 0.8; }
.footer__tagline    { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer__acknowledgment { font-size: 0.72rem; line-height: 1.8; color: rgba(255,255,255,0.3); }
.footer__bottom     { font-size: 0.7rem; color: rgba(255,255,255,0.25); }

/* ============================================
   LIFE STORYTELLING — PROCESS
============================================ */
.process { background: var(--warm-white); }
.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  font-weight: 400;
}
.process__text h2 { margin-bottom: 1.75rem; }
.process__text p  { margin-bottom: 1.25rem; }
.process__text .btn { margin-top: 0.75rem; }
.process__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 12px; }

/* Packages */
.packages { background: var(--linen); }
.packages__intro { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.packages__intro h2 { margin-bottom: 1rem; }
.packages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.package-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(43,58,107,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.package-card:hover { box-shadow: 0 8px 35px rgba(43,58,107,0.12); transform: translateY(-3px); }
.package-card__name  { font-family: var(--font-sans); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.4rem; font-weight: 500; letter-spacing: 0.02em; }
.package-card__meta  { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--blue); margin-bottom: 1.5rem; }
.package-card__line  { width: 36px; height: 1px; background: var(--blue-light); margin-bottom: 1.5rem; }
.package-card__from  { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #aaa; margin-bottom: 0.25rem; }
.package-card__price { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 0.25rem; line-height: 1; }
.package-card__alt   { font-size: 0.85rem; color: var(--text-muted); }
.packages__note      { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2.5rem; font-style: italic; }
.packages__consult {
  background: white;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 20px rgba(43,58,107,0.06);
}
.packages__consult h3 { margin-bottom: 0.75rem; font-size: 1.6rem; }
.packages__consult p  { margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ============================================
   END OF LIFE PAGE
============================================ */
.doula-what { background: var(--warm-white); }
.doula-what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.doula-what__text h2 { margin-bottom: 1.5rem; }
.doula-what__text p  { margin-bottom: 1.25rem; }
.doula-what__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-pale);
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.free-badge::before {
  content: '◦';
  color: var(--blue);
}

.eol-services { background: var(--linen); }
.eol-services__grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.eol-card {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  align-items: start;
  box-shadow: 0 2px 20px rgba(43,58,107,0.05);
  transition: box-shadow 0.3s;
}
.eol-card:hover { box-shadow: 0 6px 30px rgba(43,58,107,0.1); }
.eol-card__num  { font-family: var(--font-serif); font-size: 4.5rem; color: var(--blue-light); line-height: 1; font-weight: 300; }
.eol-card__title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 1rem; font-weight: 400; }
.eol-card__body p { margin-bottom: 1rem; font-size: 0.95rem; }
.eol-card__cta {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--blue-light);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.eol-card__cta:hover { color: var(--navy); border-color: var(--navy); }

/* ============================================
   CONTACT PAGE
============================================ */
.contact-section { background: var(--warm-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p  { margin-bottom: 1.25rem; font-size: 0.95rem; }
.contact-info .section-label { margin-bottom: 1rem; }
.contact-details { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #E8E8E4; }
.contact-details p {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.contact-details a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--blue); }

/* Form */
.form-group    { margin-bottom: 1.5rem; }
.form-label    {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid #D8D8D4;
  background: var(--warm-white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 1px;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--blue); }
.form-textarea  { height: 150px; resize: vertical; }
.form-submit    { width: 100%; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .about__img-wrap    { margin-bottom: 0; z-index: auto; }
  .why                { padding-top: 4rem; }
  .footer__inner      { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .about__grid,
  .process__grid,
  .doula-what__grid,
  .contact-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .services__grid,
  .packages__grid     { grid-template-columns: 1fr; }
  .footer__grid       { grid-template-columns: 1fr 1fr; }
  .footer__badge      { justify-content: flex-start; }
  .eol-card           { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem; }
  .eol-card__num      { font-size: 3rem; }
  section             { padding: 4rem 0; }
}

@media (max-width: 640px) {
  .nav__links         { display: none; }
  .nav__burger        { display: flex; }
  .hero__heading      { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .hero               { padding-bottom: 5rem; }
  .about__img-wrap::after { display: none; }
  .footer__grid       { grid-template-columns: 1fr; }
  .packages__consult  { padding: 2rem 1.5rem; }
  section             { padding: 3.5rem 0; }
  .page-hero          { padding: 9rem 0 4rem; }
}

/* ============================================
   WAVE DIVIDERS
============================================ */
.wave-white,
.wave-linen,
.wave-navy { position: relative; }

.wave-white::after,
.wave-linen::after,
.wave-navy::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}

/* Wave into warm-white sections */
.wave-white::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0%2C80 L1440%2C80 L1440%2C45 C960%2C0 480%2C72 0%2C48 Z' fill='%23FAFAF8'/%3E%3C/svg%3E");
}

/* Wave into linen sections */
.wave-linen::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0%2C80 L1440%2C80 L1440%2C45 C960%2C0 480%2C72 0%2C48 Z' fill='%23F2EFE9'/%3E%3C/svg%3E");
}

/* Wave into navy footer */
.wave-navy::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0%2C80 L1440%2C80 L1440%2C45 C960%2C0 480%2C72 0%2C48 Z' fill='%232B3A6B'/%3E%3C/svg%3E");
}
