/* =========================================================
   Wildbloom & Co. — botanical boho PNW wedding planner
   Cream · Sand · Sage · Moss · Terracotta · Mustard
   Fraunces (soft serif) + Nunito Sans
   ========================================================= */

:root {
  --cream: #FBF6EC;
  --sand: #F1E6D2;
  --sage: #8A9A7B;
  --sage-soft: #D7DEC9;
  --moss: #3F4A36;
  --moss-deep: #2E372A;
  --terracotta: #C96F4A;
  --terra-dark: #A9573A;
  --clay: #EBC4A8;
  --mustard: #D9A441;
  --mustard-soft: #F2DFB4;
  --ink: #2E2A26;
  --muted: #6F675F;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", system-ui, sans-serif;
  --wrap: 1200px;
  --r: 22px;
  --ease: cubic-bezier(.34, 1.3, .64, 1);
  --shadow: 0 24px 50px -24px rgba(63,74,54,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.7; font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 144; margin: 0 0 .5em; line-height: 1.08; color: var(--moss); letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { font-style: italic; color: var(--terracotta); font-weight: 300; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--moss); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: 1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); display: inline-block; }
.dot--light { background: var(--mustard); }
.head { max-width: 720px; margin-bottom: 3rem; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.head--light h2, .head--light .eyebrow { color: var(--cream); }
.head--light h2 em { color: var(--mustard); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.9rem; border-radius: 999px; font-weight: 700; font-size: .92rem; font-family: var(--sans); border: 2px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn--moss { background: var(--moss); color: var(--cream); box-shadow: 0 12px 24px -12px rgba(63,74,54,.7); }
.btn--moss:hover { background: var(--moss-deep); }
.btn--terra { background: var(--terracotta); color: var(--cream); box-shadow: 0 12px 24px -12px rgba(201,111,74,.8); }
.btn--terra:hover { background: var(--terra-dark); }
.btn--outline { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn--outline:hover { background: var(--moss); color: var(--cream); }
.btn--full { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--moss); border-bottom: 2px solid var(--clay); padding-bottom: .1rem; transition: gap .3s, border-color .3s; }
.link-arrow:hover { gap: .9rem; border-color: var(--terracotta); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(251,246,236,.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--sand); box-shadow: 0 10px 30px -20px rgba(63,74,54,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--moss); }
.brand__mark { width: 46px; height: 46px; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; font-variation-settings: "SOFT" 100, "opsz" 72; line-height: 1; }
.brand__name small { font-size: .95rem; font-style: italic; color: var(--terracotta); }
.brand--light { color: var(--cream); }
.nav ul { display: flex; gap: 1.8rem; }
.nav a { font-weight: 700; font-size: .92rem; color: var(--moss); position: relative; padding: .3rem 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--clay); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); z-index: -1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--moss); background: none; border-radius: 50%; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--moss); border-radius: 2px; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1060px) {
  .header { backdrop-filter: none; background: var(--cream); }
  .header__cta { display: none; }
  .burger { display: flex; }
  .nav { position: fixed; inset: 82px 0 0; background: var(--cream); padding: 2rem 1.5rem; transform: translateY(-110%); transition: transform .5s var(--ease); }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: .5rem; }
  .nav a { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; padding: .6rem 0; border-bottom: 1px solid var(--sand); }
  .nav a::after { display: none; }
}

/* Doodles */
.doodle { position: absolute; color: var(--moss); pointer-events: none; }
.doodle--fern { width: 120px; left: -10px; top: 12%; opacity: .5; animation: sway 7s ease-in-out infinite; transform-origin: bottom center; }
.doodle--sun { width: 110px; right: 6%; top: 8%; opacity: .9; animation: spin 50s linear infinite; }
.doodle--sprig { width: 70px; right: -20px; top: -30px; animation: sway 6s ease-in-out infinite; transform-origin: bottom center; }
.doodle--branch { width: 260px; left: -40px; bottom: -20px; color: var(--sage-soft); opacity: .5; }
.doodle--flowers { position: static; width: 200px; margin-top: 2rem; color: var(--moss); }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 6rem; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.4rem; }
.hero__lede { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__trust { display: flex; gap: 2.5rem; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.hero__trust strong { font-family: var(--serif); font-size: 1.6rem; color: var(--moss); margin-right: .3rem; font-variation-settings: "SOFT" 100, "opsz" 72; }
.hero__media { position: relative; }
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--sm { aspect-ratio: 4/5; }
.sticker { position: absolute; width: 150px; left: -40px; bottom: 30px; animation: spin 30s linear infinite; filter: drop-shadow(0 14px 20px rgba(0,0,0,.2)); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { max-width: 460px; margin: 0 auto; }
  .sticker { width: 110px; left: auto; right: -20px; }
  .doodle--fern { display: none; }
}

/* About */
.about { background: var(--sand); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__media { position: relative; }
.blob { aspect-ratio: 4/5; overflow: hidden; border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; box-shadow: var(--shadow); animation: morph 14s ease-in-out infinite; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph { 0%, 100% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; } 50% { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; } }
.polaroid { position: absolute; background: #fff; padding: .6rem .6rem 2.2rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); width: 150px; transform: rotate(6deg); transition: transform .4s var(--ease); }
.polaroid:hover { transform: rotate(0) scale(1.05); }
.polaroid img { aspect-ratio: 4/5; object-fit: cover; }
.polaroid span { position: absolute; left: 0; right: 0; bottom: .55rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--muted); }
.polaroid--a { right: -30px; bottom: -20px; }
.about__text p:not(.eyebrow) { color: var(--muted); }
.team { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.team figure { margin: 0; display: flex; align-items: center; gap: .9rem; }
.team img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid var(--clay); }
.team figcaption { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.team strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--moss); font-weight: 400; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 4rem; } .about__media { max-width: 420px; } }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { background: #fff; border-radius: var(--r); padding: 2.2rem 1.9rem 2rem; border: 1.5px solid var(--sand); position: relative; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:first-child { border-color: var(--clay); }
.card__icon { width: 72px; height: 72px; margin-bottom: 1.2rem; }
.card__tag { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--mustard); color: var(--moss); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; transform: rotate(3deg); }
.card h3 { margin-bottom: .5rem; }
.card > p:not(.card__price) { color: var(--muted); font-size: .95rem; }
.ticks { display: grid; gap: .5rem; margin: .8rem 0 1.5rem; flex: 1; }
.ticks li { padding-left: 1.7rem; position: relative; font-size: .93rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--sage-soft); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: .6em; width: 6px; height: 3px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.card__price { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.card__price strong { font-family: var(--serif); font-size: 1.9rem; color: var(--moss); font-weight: 400; margin-left: .2rem; }
.services__note { text-align: center; margin-top: 2.5rem; color: var(--muted); }
.services__note a { color: var(--terracotta); font-weight: 700; border-bottom: 2px solid var(--clay); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Places */
.places { background: var(--sand); }
.place { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; padding: 2.5rem 0; }
.place + .place { border-top: 1.5px dashed var(--clay); }
.place--flip .place__img { order: 2; }
.place__img { max-width: 380px; width: 100%; justify-self: center; }
.place__icon { width: 56px; height: 56px; margin-bottom: 1rem; }
.place h3 { font-size: 2rem; }
.place p { color: var(--muted); max-width: 520px; }
.place__tags { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
@media (max-width: 800px) { .place { grid-template-columns: 1fr; gap: 1.5rem; } .place--flip .place__img { order: 0; } .place__img { max-width: 320px; justify-self: start; } }

/* Gallery masonry */
.masonry { columns: 4; column-gap: 1.2rem; }
.m-item { break-inside: avoid; margin: 0 0 1.2rem; position: relative; }
.m-item img { width: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.m-item:hover img { transform: scale(1.03); }
.m-item figcaption { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.m-item--arch img { border-radius: 999px 999px 18px 18px; aspect-ratio: 4/5; }
.m-item--circle img { border-radius: 50%; aspect-ratio: 1; }
.m-item--tall img { border-radius: 18px; aspect-ratio: 3/4; }
.m-item--tilt { background: #fff; padding: .5rem .5rem 1.6rem; box-shadow: 0 16px 30px -18px rgba(0,0,0,.3); transform: rotate(-2.5deg); }
.m-item--tilt-r { transform: rotate(2deg); }
.m-item--tilt img { aspect-ratio: 4/3; border-radius: 4px; }
.m-item--tilt figcaption { margin-top: .6rem; }
@media (max-width: 960px) { .masonry { columns: 3; } }
@media (max-width: 640px) { .masonry { columns: 2; } }

/* Love notes */
.love { background: var(--moss); color: var(--cream); overflow: hidden; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.note { margin: 0; background: rgba(251,246,236,.06); border: 1px solid rgba(251,246,236,.14); border-radius: var(--r); padding: 2rem 1.8rem; }
.note p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.4rem; font-variation-settings: "SOFT" 100, "opsz" 48; }
.note cite { font-style: normal; font-weight: 700; display: grid; font-size: .9rem; }
.note cite span { font-weight: 400; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mustard); }
.badges { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 3rem; justify-content: center; font-size: .85rem; font-weight: 700; position: relative; z-index: 1; }
.badges li { display: flex; align-items: center; gap: .8rem; color: var(--sage-soft); }
.badges svg { width: 48px; height: 48px; color: var(--mustard); }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { position: relative; padding-top: .5rem; }
.leaf { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 0 50% 0 50%; background: var(--sage-soft); color: var(--moss); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1rem; transform: rotate(-10deg); }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--sand); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro p:not(.eyebrow) { color: var(--muted); }
.faq__list details { background: #fff; border-radius: 18px; margin-bottom: .8rem; border: 1.5px solid transparent; transition: border-color .3s; }
.faq__list details[open] { border-color: var(--clay); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.5rem; font-family: var(--serif); font-size: 1.3rem; color: var(--moss); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; font-family: var(--sans); font-weight: 700; transition: transform .3s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--clay); }
.faq__list p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 2rem; } .faq__intro { position: static; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact__text p:not(.eyebrow) { color: var(--muted); }
.contact__list { display: grid; gap: .7rem; margin-top: 1.5rem; }
.contact__list li { display: flex; align-items: center; gap: .7rem; }
.contact__list .ic { color: var(--terracotta); }
.contact__list a { border-bottom: 2px solid var(--sand); transition: border-color .3s; }
.contact__list a:hover { border-color: var(--terracotta); }
.form { background: #fff; border-radius: var(--r); padding: 2.2rem; border: 1.5px solid var(--sand); display: grid; gap: 1.2rem; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label { display: grid; gap: .4rem; font-weight: 700; font-size: .85rem; color: var(--moss); }
.form input, .form select, .form textarea { font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--sand); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-weight: 700; font-size: .85rem; color: var(--moss); margin-bottom: .5rem; }
.chips label { display: inline-block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--sand); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .25s; }
.chips input:checked + span { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--sage-soft); }
.form__note { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--terracotta); font-weight: 600; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: 1.5rem; } }

/* Footer */
.footer { background: var(--moss); color: var(--cream); position: relative; padding: 5rem 0 2rem; margin-top: 2rem; }
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1) scaleX(-1); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(251,246,236,.15); font-size: .92rem; }
.footer__grid p { color: rgba(251,246,236,.75); margin-top: 1rem; max-width: 320px; }
.footer h3 { color: var(--cream); font-size: 1.25rem; margin-bottom: .8rem; }
.footer li { margin-bottom: .45rem; color: rgba(251,246,236,.8); }
.footer a:hover { color: var(--mustard); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .8rem; color: rgba(251,246,236,.6); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.m-item--tilt.reveal.is-visible { transform: rotate(-2.5deg); }
.m-item--tilt-r.reveal.is-visible { transform: rotate(2deg); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .doodle, .sticker, .blob { animation: none; }
  html { scroll-behavior: auto; }
}
