/* Keluarga Gentle Birth: site styles.
   Palette, fonts and shape rules come from the KGB brand kit. */

:root {
  --cream: #E9DFD6;
  --pink: #FF4F9A;
  --teal: #00C2A8;
  --lavender: #C45CFF;
  --ink: #444444;
  --white: #FFFFFF;
  --serif: "Lora", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "Montserrat", "Poppins", system-ui, sans-serif;

  /* Soft organic shapes, used instead of arches. */
  --blob-a: 62% 38% 54% 46% / 46% 58% 42% 54%;
  --blob-b: 44% 56% 38% 62% / 58% 42% 58% 42%;
  --blob-c: 55% 45% 60% 40% / 40% 58% 42% 60%;
  --petal: 28px 84px 28px 84px;

  --wrap: 1160px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 999px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(68, 68, 68, 0.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pink); }
.nav .btn { border-bottom: 0; padding: 11px 22px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1 var(--accent); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #2e2e2e; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(68, 68, 68, 0.08); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* Shared section pieces */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.eyebrow.teal::before { background: var(--teal); }
.eyebrow.lav::before { background: var(--lavender); }

.h2 { font-size: clamp(30px, 3.8vw, 46px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; }
.center { text-align: center; justify-items: center; }
.center .lead { margin-inline: auto; }

.marker { background: linear-gradient(transparent 60%, rgba(255, 79, 154, 0.42) 60%); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.07; margin: 22px 0 22px; }
.hero .lead { margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500;
}
.tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); display: inline-block; }

.hero-art { position: relative; width: min(500px, 100%); aspect-ratio: 1 / 1.04; margin-inline: auto; }
.hero-art .blob { position: absolute; }
/* Solid tints of the palette (pink, teal, lavender over cream) so overlaps stay clean. */
.hero-art .b1 { inset: 2% 4% 8% 0; background: #EDC2CA; border-radius: var(--blob-a); }
.hero-art .b2 { width: 46%; height: 42%; right: 0; bottom: 2%; background: #9ED6C7; border-radius: var(--blob-b); }
.hero-art .b3 { width: 22%; aspect-ratio: 1; right: 8%; top: 4%; background: #DAABE6; border-radius: 50%; }
.hero-art .mark { position: absolute; width: 58%; left: 19%; top: 15%; }
.hero-art .lotus { position: absolute; width: 26%; left: 0; top: 8%; transform: rotate(-10deg); }
.hero-art .feet { position: absolute; width: 22%; left: 6%; bottom: 4%; opacity: 0.95; }

/* Mission */
.shift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shift { background: var(--cream); border-radius: var(--petal); padding: 32px 30px 36px; display: grid; gap: 16px; align-content: start; }
.shift .label { font: 600 12px/1 var(--accent); letter-spacing: 0.14em; text-transform: uppercase; }
.shift .from { font-size: 16px; min-height: 3.2em; }
.shift .arrow { font-size: 22px; line-height: 1; }
.shift .to { font: 600 clamp(30px, 3vw, 38px)/1.1 var(--serif); padding: 12px 26px 14px; border-radius: var(--blob-b); justify-self: start; }
.to.pink { background: var(--pink); color: var(--white); }
.to.teal { background: var(--teal); color: var(--ink); }
.to.lav { background: var(--lavender); color: var(--white); }
.beliefs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 999px; padding: 10px 20px; font-size: 15px; font-weight: 500; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.chip:nth-child(3n+2) i { background: var(--teal); }
.chip:nth-child(3n) i { background: var(--lavender); }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.founder { background: var(--white); border-radius: 40px; padding: 36px 28px 32px; text-align: center; display: grid; gap: 12px; justify-items: center; align-content: start; }
.portrait { position: relative; width: 224px; height: 244px; overflow: hidden; display: grid; place-items: center; margin-bottom: 10px; }
.portrait.p1 { background: var(--pink); border-radius: var(--blob-a); color: var(--white); }
.portrait.p2 { background: var(--teal); border-radius: var(--blob-b); color: var(--ink); }
.portrait.p3 { background: var(--lavender); border-radius: var(--blob-c); color: var(--white); }
.portrait span { font: 600 64px/1 var(--serif); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 26px; font-weight: 600; }
.founder .cred { font-size: 15px; max-width: 30ch; }
.founder .ig { font-size: 14px; font-weight: 600; font-family: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.founder.big { grid-column: 1 / -1; grid-template-columns: 224px 1fr; text-align: left; justify-items: start; gap: 36px; align-items: center; padding: 36px 44px; }
.founder.big .portrait { margin: 0; }
.founder.big .cred { max-width: 62ch; font-size: 16px; }

/* Programs */
.program-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.program-art { position: relative; aspect-ratio: 1 / 1; width: min(440px, 100%); margin-inline: auto; }
.program-art .b { position: absolute; inset: 0 14% 14% 0; background: #B5E3D9; border-radius: var(--blob-c); }
.program-art .b2 { position: absolute; width: 50%; height: 46%; right: 0; bottom: 0; background: #F7C9DC; border-radius: var(--blob-b); }
.program-art .lotus { position: absolute; width: 62%; left: 19%; top: 24%; }
.program-art .feet { position: absolute; width: 22%; right: 6%; top: 6%; }
.parts { display: grid; gap: 14px; margin: 28px 0; }
.part { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--cream); border-radius: 30px 60px 30px 60px; padding: 18px 28px 18px 18px; }
.part .n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 600 20px/1 var(--serif); }
.part:nth-child(1) .n { background: var(--pink); color: var(--white); }
.part:nth-child(2) .n { background: var(--teal); color: var(--ink); }
.part:nth-child(3) .n { background: var(--lavender); color: var(--white); }
.part b { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; }
.part span { font-size: 15.5px; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.way { border: 2px solid var(--ink); border-radius: 26px; padding: 16px 20px; font-size: 15px; }
.way b { font: 600 18px var(--serif); display: block; }
.stages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; font-size: 15px; }

/* Invitation + footer */
.invite { background: var(--ink); color: var(--white); overflow: hidden; border-radius: 72px 72px 0 0; }
.invite .swoosh { position: absolute; right: -60px; bottom: 100px; width: min(420px, 46vw); opacity: 0.9; pointer-events: none; }
.invite .inner { position: relative; max-width: 720px; display: grid; gap: 24px; padding-block: clamp(72px, 10vw, 120px); }
.invite h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; }
.invite p { font-size: 18px; max-width: 54ch; }
.site-footer { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-block: 36px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer img { height: 56px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-underline-offset: 4px; }

/* Mother's Circle page */
.page-hero { padding-block: clamp(48px, 7vw, 88px) 40px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin: 20px 0 18px; }
.ways-big { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way-card { background: var(--white); border-radius: var(--petal); padding: 34px; display: grid; gap: 10px; align-content: start; }
.way-card h3 { font-size: 30px; font-weight: 600; }
.way-card .meta { font-size: 15.5px; }
.way-card .btn { justify-self: start; margin-top: 12px; }
.schedule { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 190px 1fr 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(68, 68, 68, 0.18); }
.row .when { font: 600 15px var(--accent); }
.row .city { font: 600 26px var(--serif); }
.row .where { font-size: 15px; }
.row .soon { background: var(--cream); border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 600; }
.note { font-size: 15px; margin-top: 24px; }
.finds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.find { background: var(--cream); border-radius: 28px 60px 28px 60px; padding: 28px 26px; display: grid; gap: 8px; }
.find b { font: 600 20px/1.25 var(--serif); }
.find span { font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
form.join { background: var(--white); border-radius: 36px; padding: 36px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; font-family: var(--accent); }
.field input, .field select {
  font: 400 16px var(--sans); color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; width: 100%;
}
.form-note { font-size: 14px; }
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details { background: var(--cream); border-radius: 22px; padding: 6px 26px; }
.faq summary { cursor: pointer; font: 600 18px var(--serif); padding: 16px 0; }
.faq details p { padding-bottom: 20px; }

/* About page */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.story-grid p + p { margin-top: 16px; }
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry { background: var(--cream); border-radius: 28px 60px 28px 60px; padding: 28px; display: grid; gap: 8px; align-content: start; }
.worry:nth-child(4), .worry:nth-child(5) { grid-column: span 1; }
.worry b { font: 600 20px/1.25 var(--serif); }
.worry span { font-size: 15.5px; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .program-grid, .story-grid, .form-grid { grid-template-columns: 1fr; }
  .shift-grid, .founders, .worries { grid-template-columns: 1fr; }
  .finds { grid-template-columns: 1fr 1fr; }
  .founder.big { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-art { order: -1; width: min(380px, 80%); }
  .row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .row .when { grid-column: 1 / -1; }
  .row .where { grid-column: 1; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--white); padding: 14px 24px 24px; border-bottom: 1px solid rgba(68, 68, 68, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; }
  .nav .btn { margin-top: 8px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .ways, .ways-big, .finds { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .invite { border-radius: 48px 48px 0 0; }
  .invite .swoosh { opacity: 0.35; }
  form.join { padding: 26px 20px; }
  .btn { width: 100%; }
  .nav .btn, .cta-row .btn { width: 100%; }
}
