/* Petal & Signal Creative — brand colors live in :root. Change them here. */
:root {
  --cream: #fbf6ee;
  --cream-deep: #f3eadc;
  --plum: #3e1f3a;
  --plum-soft: #6b4565;
  --blush: #e8c4c0;
  --blush-deep: #d9a5a0;
  --green: #d5e3d1;
  --green-deep: #9fb89a;
  --white: #fffdf9;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(62, 31, 58, .06), 0 8px 24px rgba(62, 31, 58, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--plum);
  font: 400 1.0625rem/1.65 var(--font-sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-soft); }
:focus-visible { outline: 3px solid var(--plum-soft); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--plum); color: var(--cream); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(62, 31, 58, .08); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; line-height: 1; }
.brand small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--plum-soft); margin-top: .25rem; }
.mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--plum); font-size: .95rem; letter-spacing: .02em; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--blush-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.25rem; border-radius: 999px; font: 600 .98rem/1 var(--font-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-primary { background: var(--plum); color: var(--cream); }
.btn-primary:hover { background: var(--plum-soft); color: var(--cream); }
.btn-secondary { background: var(--blush); color: var(--plum); }
.btn-secondary:hover { background: var(--blush-deep); color: var(--plum); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin-left: max(1.25rem, (100% - 1160px) / 2); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-soft); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--plum-soft); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-shapes span { position: absolute; border-radius: 50%; }
.hero-shapes span:nth-child(1) { width: 380px; height: 380px; background: var(--blush); right: -90px; top: -60px; opacity: .55; }
.hero-shapes span:nth-child(2) { width: 220px; height: 220px; background: var(--green); right: 180px; bottom: -70px; opacity: .8; }
.hero-shapes span:nth-child(3) { width: 26px; height: 26px; background: var(--plum); right: 56px; top: 64px; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--cream-deep); }
.section-lede { color: var(--plum-soft); max-width: 62ch; margin-bottom: 2rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.service { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 6px solid var(--blush); display: flex; flex-direction: column; align-items: flex-start; }
.service:nth-child(even) { border-top-color: var(--green-deep); }
.service > p { color: var(--plum-soft); }
.service .btn { margin-top: auto; }
.for-who { color: var(--plum) !important; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--green-deep); }
.price-note { font-size: .95rem; font-style: italic; }

.project { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project figure { margin: 0; background: var(--cream-deep); aspect-ratio: 4 / 3; }
.project figure img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.project-body > p { color: var(--plum-soft); }
.label { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: var(--green); color: var(--plum); margin-bottom: .8rem; }
.label-concept { background: var(--blush); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .82rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid rgba(62, 31, 58, .2); }
.portfolio-grid { gap: 2rem; }

.about { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.prose p { font-size: 1.15rem; max-width: 62ch; }
.about-photo { border-radius: var(--radius); }
.value { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }

.cta-band { background: var(--plum); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--blush); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--blush); color: var(--plum); margin-top: .5rem; }
.cta-band .btn-primary:hover { background: var(--cream); }

/* Form */
.inquiry { background: var(--white); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--plum); background: var(--cream); border: 1.5px solid rgba(62, 31, 58, .25); border-radius: 12px; padding: .75rem .9rem; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--blush); }
.field [aria-invalid="true"] { border-color: #a3324a; }
.field-error { color: #8c2340; font-size: .9rem; margin-top: .35rem; }
.required-note { font-size: .9rem; color: var(--plum-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.form-status.is-error { background: #f8e1e4; }
.form-status.is-success { background: var(--green); }

/* Review tags (TODO placeholders from content files) */
.needs-input { display: inline-block; background: #fff2b8; color: #4a3b00; border: 1px dashed #b39300; border-radius: 8px; padding: .15rem .5rem; font-family: var(--font-sans); font-size: .9rem; line-height: 1.4; }
.needs-input.small { font-size: .75rem; margin-bottom: .6rem; }

/* Footer */
.site-footer { background: var(--cream-deep); padding: 3rem 0 6rem; border-top: 1px solid rgba(62, 31, 58, .08); }
.footer-inner { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-inner > * { min-width: 0; }
.site-footer a, .page-head a { overflow-wrap: anywhere; }
.footer-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }
.site-footer nav { display: flex; flex-direction: column; gap: .4rem; }
.copyright { font-size: .85rem; color: var(--plum-soft); margin-top: 2rem; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1rem; }
  .header-cta { display: none; }
  .site-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: .1rem 1.1rem; }
  .site-nav a { white-space: nowrap; }
  .hero-shapes span:nth-child(1) { width: 220px; height: 220px; right: -110px; top: -40px; }
  .hero-shapes span:nth-child(2) { width: 120px; height: 120px; right: -30px; bottom: -40px; }
  .hero-shapes span:nth-child(3) { right: 60px; top: 40px; width: 16px; height: 16px; }
  .sticky-cta { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 8px 24px rgba(62, 31, 58, .25); }
}

/* Prices and Business Support page */
.price-block { margin: .2rem 0 .8rem; }
.price-prefix { display: block; font-size: .85rem; color: var(--plum-soft); }
.service .price, .plan .price, .support-rate .price { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; margin: 0 0 .25rem; color: var(--plum); }
.price-unit { font-size: .9rem; color: var(--plum-soft); margin: 0; }
.detail { font-size: .95rem; margin-bottom: .5rem; }
.service-actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.service .btn { margin-top: 0; }
.footnotes { margin-top: 2rem; font-size: .92rem; color: var(--plum-soft); max-width: 80ch; }
.support-band { background: var(--plum); color: var(--cream); }
.support-band h2, .support-band h3, .support-band .price { color: var(--cream) !important; }
.support-band .eyebrow, .support-band .price-unit { color: var(--blush); }
.support-band p { color: #f3e6ea; }
.support-top { display: grid; gap: 2rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; margin-bottom: 2rem; }
.support-rate .btn { margin-top: 1rem; background: var(--cream); color: var(--plum); }
.support-rate .btn:hover { background: var(--blush); color: var(--plum); }
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.plan { border: 1px solid rgba(251, 246, 238, .3); border-radius: 14px; padding: 1.3rem; }
.plan h3 { font-family: var(--font-sans); font-size: 1rem; }
.plan-hours { font-weight: 600; margin: .8rem 0 .3rem; }
.plan p:last-child { font-size: .92rem; margin: 0; }
.plan-note { background: rgba(251, 246, 238, .1); border-left: 3px solid var(--blush); border-radius: 8px; padding: .9rem 1rem; margin: 1.5rem 0; }
.support-note { font-size: .95rem; }
.support-terms { border-top: 1px solid rgba(251, 246, 238, .25); margin-top: 2rem; padding-top: 1.5rem; max-width: 70ch; }
@media (max-width: 760px) { .support-top { grid-template-columns: 1fr; } }
.logo-mark { width: 44px; height: 44px; object-fit: contain; }

/* Trust line, steps, fit helper, FAQ, form hints */
.trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green-deep); flex: none; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blush); font-weight: 600; margin-bottom: .7rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--plum-soft); font-size: .97rem; }
.fit { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.fit li { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; }
.fit p { margin: 0; }
.faq details { background: var(--white); border-radius: 14px; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; min-height: 44px; list-style-position: outside; }
.faq details[open] summary { padding-bottom: .4rem; }
.faq details p { margin: 0 0 1rem; color: var(--plum-soft); }
.optional { font-weight: 400; color: var(--plum-soft); }
.hint { font-size: .88rem; color: var(--plum-soft); margin: .35rem 0 0; }
.reply-note { font-size: .92rem; color: var(--plum-soft); margin: .8rem 0 0; }
.h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.next-steps { padding-left: 1.3rem; margin-bottom: 1.5rem; }
.next-steps li { margin-bottom: .4rem; }
h2.card-title { font-size: 1.35rem; }
.project-body h2 { font-size: 1.35rem; }
@media (max-width: 860px) {
  html { scroll-padding-bottom: 96px; }
  main { padding-bottom: 4.5rem; }
}
