/* ==========================================================================
   Bloom Cycle — bloomcyclea.com
   Linen base · deep leaf green · coral accent · Instrument Serif + Figtree
   AI-generated editorial photographs matched to the shot list.
   ========================================================================== */

:root {
  --linen: #FBF7F1;
  --cream: #F3EBDF;
  --white: #FFFFFF;
  --ink: #1E2A22;
  --body: #3C4A41;
  --muted: #71806F;
  --line: #E6DCCC;
  --leaf: #2F5D46;
  --leaf-dark: #22472F;
  --leaf-soft: #DCE9DF;
  --coral: #E2735B;
  --coral-dark: #C85C45;
  --coral-soft: #F9E3DB;
  --butter: #F6E7B8;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w: 1180px;
  --r: 14px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(30,42,34,0.05), 0 12px 32px rgba(30,42,34,0.07);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--body); background: var(--linen); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; } p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 18px; }
h1 { font-size: clamp(3rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); line-height: 1.1; }
h4 { font-size: 1.25rem; line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--coral-dark); }
.dark h1 em, .dark h2 em { color: var(--butter); }

.lede { font-size: 1.22rem; line-height: 1.6; color: var(--body); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--leaf); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg) scale(.6); }
.dark .eyebrow { color: var(--butter); }

.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.white { background: var(--white); }
.section.cream { background: var(--cream); }
.dark { background: var(--leaf-dark); color: rgba(255,255,255,0.82); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lede { color: rgba(255,255,255,0.86); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section.tight { padding: 56px 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(226,115,91,0.3); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: var(--leaf-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(30,42,34,0.3); }
.btn-outline:hover { border-color: var(--ink); background: rgba(30,42,34,0.04); }
.btn-light { background: #fff; color: var(--leaf-dark); }
.btn-light:hover { background: var(--cream); }
.dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.dark .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--leaf); font-size: 0.95rem; }
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: var(--butter); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,241,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.solid { border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); }
.mark { width: 40px; height: 40px; flex: none; }
.mark svg { width: 100%; height: 100%; }
.brand-text { font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }
.brand-text small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--leaf); margin-top: 4px; }
.nav { display: flex; gap: 4px; }
.nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(47,93,70,0.08); }
.nav a[aria-current="page"] { background: var(--leaf-soft); color: var(--leaf-dark); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: flex; } .nav-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 20px 24px; background: rgba(251,247,241,0.98); border-bottom: 1px solid var(--line); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a { font-size: 1.1rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { background: none; color: var(--coral-dark); }
}

/* Image placeholders (no photos on the site) */
.img-slot { position: relative; border: 1.5px dashed rgba(47,93,70,0.4); border-radius: var(--r-lg); background: repeating-linear-gradient(135deg, rgba(47,93,70,0.04) 0 12px, transparent 12px 24px), var(--cream); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--leaf-dark); overflow: hidden; }
.img-slot .id { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--coral-dark); }
.img-slot .title { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-top: 10px; }
.img-slot .ratio { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.img-slot.r-16-9 { aspect-ratio: 16/9; } .img-slot.r-4-3 { aspect-ratio: 4/3; } .img-slot.r-4-5 { aspect-ratio: 4/5; } .img-slot.r-1-1 { aspect-ratio: 1/1; } .img-slot.r-3-2 { aspect-ratio: 3/2; } .img-slot.r-21-9 { aspect-ratio: 21/9; }
.img-slot.round { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.site-photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-lg); background: var(--cream); }
.site-photo.r-4-5 { aspect-ratio: 4/5; }
.site-photo.r-4-3 { aspect-ratio: 4/3; }
.site-photo.r-1-1 { aspect-ratio: 1/1; }
.site-photo.r-16-9 { aspect-ratio: 16/9; }
.site-photo.round { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.founder .site-photo { width: 180px; flex-shrink: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--linen); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 560px; }
.hero .blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero .blob.a { width: 520px; height: 520px; background: var(--coral-soft); right: -120px; top: -140px; }
.hero .blob.b { width: 420px; height: 420px; background: var(--leaf-soft); left: -160px; bottom: -120px; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-grid > :nth-child(2) { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-foot { padding: 56px 0 0; }
@media (max-width: 880px) { .hero { padding-top: 40px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Ticker */
.ticker { background: var(--leaf-dark); color: var(--butter); overflow: hidden; padding: 16px 0; font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.ticker span { display: inline-block; padding: 0 28px; }
.ticker span::before { content: "✿"; margin-right: 28px; color: var(--coral); }
.ticker .track { display: inline-block; animation: slide 40s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* Page hero */
.page-hero { padding: 88px 0 64px; background: var(--cream); position: relative; overflow: hidden; }
.page-hero .inner { max-width: 820px; position: relative; z-index: 1; }
.page-hero .deco { position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; border-radius: 50% 50% 50% 0; background: var(--leaf-soft); transform: rotate(-45deg); opacity: .8; }
.page-hero .deco::after { content: ""; position: absolute; inset: 70px; border-radius: 50% 50% 50% 0; background: var(--coral-soft); }
.crumbs { display: flex; gap: 10px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 760px) { .page-hero { padding: 56px 0 48px; } }

/* Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.start { align-items: start; }
.split.text-wide { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 880px) { .split, .split.text-wide { grid-template-columns: 1fr; gap: 40px; } }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Cards & steps */
.card { background: var(--white); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); height: 100%; }
.card.cream { background: var(--cream); box-shadow: none; }
.card.leaf { background: var(--leaf); color: rgba(255,255,255,0.85); }
.card.leaf h3, .card.leaf h4 { color: #fff; }
.card.coral { background: var(--coral-soft); box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card .glyph { width: 48px; height: 48px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf-dark); display: grid; place-items: center; margin-bottom: 20px; }
.card .glyph svg { width: 24px; height: 24px; }
.card ul.list li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.card ul.list li::before { content: "✿"; position: absolute; left: 0; top: 0; color: var(--coral); font-size: 0.85rem; }
@media (max-width: 620px) { .card { padding: 28px 24px; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 36px 30px 32px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; }
.step h3 { font-size: 1.45rem; margin-top: 8px; }
.step p { font-size: 0.98rem; color: var(--body); }
@media (max-width: 960px) { .steps, .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .steps.four { grid-template-columns: 1fr; } }

/* Feature band */
.band { background: var(--leaf-dark); color: rgba(255,255,255,0.85); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(226,115,91,0.35), transparent 65%); }
.band .inner { position: relative; padding: 112px 0; }
.band h2 { color: #fff; }
.band .lede { color: rgba(255,255,255,0.88); }
.band .eyebrow { color: var(--butter); }
@media (max-width: 760px) { .band .inner { padding: 80px 0; } }

/* Values */
.value { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h4 { font-size: 1.6rem; margin: 0; }
@media (max-width: 620px) { .value { grid-template-columns: 1fr; gap: 6px; } }

/* Founders */
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.founder .img-slot { width: 180px; }
@media (max-width: 620px) { .founder { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery .img-slot:nth-child(3n+1) { grid-row: span 2; aspect-ratio: 4/5; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery .img-slot:nth-child(3n+1) { grid-row: auto; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf-dark); display: grid; place-items: center; font-size: 1.4rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 26px; max-width: 720px; }

/* Forms */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 14px 18px; font: inherit; color: var(--ink); background: var(--linen); border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--leaf); background: #fff; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { display: none; padding: 16px 20px; border-radius: var(--r); font-size: 0.95rem; }
.form-status.ok { display: block; background: var(--leaf-soft); color: var(--leaf-dark); }
.form-status.err { display: block; background: var(--coral-soft); color: var(--coral-dark); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf-dark); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf); margin-bottom: 4px; }
.contact-list a:hover { color: var(--coral-dark); }

/* CTA */
.cta { background: var(--coral); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.12); }
.cta .inner { position: relative; padding: 104px 0; max-width: 760px; margin-inline: auto; text-align: center; }
.cta h2 { color: #fff; }
.cta .lede { color: rgba(255,255,255,0.92); }
.cta .eyebrow { color: #fff; } .cta .eyebrow::before { background: var(--butter); }
.cta .actions { justify-content: center; }
.cta .btn-light { color: var(--coral-dark); }
@media (max-width: 760px) { .cta .inner { padding: 72px 0; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 80px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-text small { color: var(--butter); }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-grid > * { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--leaf); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
