/* DAISY AI V3 layer (loaded after styles.css and balanced.css).
   Palette tokens, color rules, typography, layout for the new sections, and doodle placement.
   Image files are never changed here: doodles and flowers are only moved, sized, or hidden. */

/* ---------- Palette tokens ---------- */
:root {
  --cream: #FAF6ED;    /* main background */
  --charcoal: #3A3A3A; /* body text, headlines, nav, footer, dark bands, primary buttons */
  --ink: var(--charcoal);
  --yellow: #FAE34F;   /* fills behind charcoal text, buttons on charcoal, yellow text on charcoal */
  --butter: #FFF4C4;   /* one feature section per page at most */
  --tint: var(--butter);
  --paper: #FFFDF8;    /* cards and form fields */
  --grey: #6A665C;     /* captions, labels, secondary text */
  --muted: var(--grey);
  --gold: #7A5E00;     /* small yellow-family text on light backgrounds */
  --sand: #E2DBC9;     /* borders and dividers */
  --line: var(--sand);
}
body { background: var(--cream); color: var(--charcoal); }
.form input, .form select, .form textarea { background: var(--paper); }
.service.box { background: var(--paper); }

/* ---------- Color rules: no yellow lines or text on light backgrounds ---------- */
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.eyebrow.gold { color: var(--gold); }

/* ---------- Typography ---------- */
h1, .hero h1, .page-hero h1 { letter-spacing: -0.015em; word-spacing: 0.04em; text-transform: none; }
h2, .section-head h2, .statement, .final-cta h2, .cta-band h2, .svc h2, .possibility h2,
.founder-copy h2, .contact .tile-ink h2 { letter-spacing: -0.012em; word-spacing: 0.04em; text-transform: uppercase; }
.possibility.possibility-compact h2 { text-transform: uppercase; letter-spacing: -0.012em; }
.statement, .final-cta h2 { line-height: 0.98; }
.text-page h1 { text-transform: none; }

/* ---------- Home: hero ---------- */
.btn .short { display: none; }
.hero:not(.page-hero) h1 { font-size: clamp(42px, 5.6vw, 84px); }
@media (max-width: 480px) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .hero:not(.page-hero) .hero-art { max-width: 144px !important; } /* about 40% smaller */
  .hero:not(.page-hero) .wrap { padding-top: 24px; }
  .hero:not(.page-hero) h1 { font-size: 38px; margin-bottom: 18px; }
  .hero .lede { margin-bottom: 22px; }
}

/* ---------- Home: Sound familiar? ---------- */
.familiar { background: var(--cream); }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ba-card { background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 16px; align-content: start; }
.ba-card h3 { font-size: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair > div { border-radius: 10px; padding: 14px 16px; }
.ba-pair p { font-size: 16px; line-height: 1.45; margin: 0; }
.ba-before { background: var(--cream); border: 1px solid var(--sand); }
.ba-after { background: var(--butter); }
.ba-label { display: block; font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.ba-after .ba-label { color: var(--gold); }
.familiar-close { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 28px; }
.familiar-close p { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); margin: 0; max-width: 620px; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ba-pair { grid-template-columns: 1fr; } }

/* ---------- Home: Already using AI? ---------- */
.already { background: var(--paper); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.already-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.already h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; line-height: 1.1; }
.already .body p { font-size: 19px; }
@media (max-width: 860px) { .already-grid { grid-template-columns: 1fr; } }

/* ---------- Home: two service cards ---------- */
.services.boxed.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .services.boxed.two { grid-template-columns: 1fr; } }

/* ---------- Home: "Built for your business" ---------- */
.challenger > .tile:last-child .closer { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; margin-top: 8px; }

/* ---------- Founder, text only (Home and About) ---------- */
.founder-text { background: var(--cream); padding: clamp(64px, 8vw, 112px) 0; }
.founder-copy { max-width: 760px; }
.founder-copy h2 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 800; margin-bottom: 28px; }
.founder-copy p { font-size: 19px; }
.founder-copy .signoff { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-top: 24px; }

/* ---------- Process link to FAQ ---------- */
.faq-link { margin-top: clamp(32px, 4vw, 48px); font-weight: 600; }
.faq-link a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Services ---------- */
.services-hero .wrap > div:first-child { max-width: 760px; }
.services-hero .svc-flower { width: min(420px, 30vw); right: 3vw; left: auto; top: 50%; transform: translateY(-50%); z-index: 0; }
.svc-flower img { width: 100%; height: auto; }
@media (max-width: 1100px) { .services-hero .wrap > div:first-child { max-width: 62%; } }
@media (max-width: 860px) { .services-hero .wrap > div:first-child { max-width: none; } .services-hero .svc-flower { display: none; } }
.svc .tagline-y { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: var(--yellow); margin-top: 18px; }
.svc .you-get strong { color: var(--white); }
.build-section { background: var(--cream); padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 80px; }
.build-section .intro { font-size: 20px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.build-section h2 { font-size: clamp(36px, 4.6vw, 66px); font-weight: 800; line-height: 1; margin-bottom: 22px; }
.build-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.build-card { background: var(--paper); border: 2px solid var(--charcoal); border-radius: 14px; padding: 22px; box-shadow: var(--lift); }
.build-card h3 { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; display: inline-block; background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 92%, transparent 92%); padding: 0 4px; }
.build-card p { font-size: 16px; margin: 0; }
.build-close { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 32px; }
.build-close p { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); margin: 0; }

/* ---------- How It Works: one daisy beside the hero ---------- */
.hiw-hero .wrap > div:first-child { max-width: 760px; }
.hiw-hero h1 { max-width: 12ch; }
.hiw-hero .hiw-daisy { width: min(300px, 22vw); right: 6vw; left: auto; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.hiw-daisy img { width: 100%; height: auto; }
@media (max-width: 860px) { .hiw-hero .hiw-daisy { display: none; } }

/* ---------- About ---------- */
.hero.hero-about .hero-art { width: min(680px, 50vw); left: calc(-0.5 * min(680px, 50vw)); right: auto; }
@media (max-width: 1100px) { .hero.hero-about .hero-art { width: min(520px, 46vw); left: calc(-0.6 * min(520px, 46vw)); } }
.possibility.possibility-compact { background: var(--paper) !important; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.diffs-section { background: var(--paper) !important; }
.beliefs-intro { font-size: 20px; color: #D7D3C8; max-width: 760px; margin-top: 18px; }
.beliefs-intro strong { color: var(--yellow); }
.principles.beliefs .principle { grid-template-columns: 120px 1fr; }
.principles.beliefs .principle h3 { text-transform: none; letter-spacing: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
@media (max-width: 860px) { .principles.beliefs .principle { grid-template-columns: 64px 1fr; } }
.about-close .text-link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; align-self: center; }
.about-close .btn-note { margin-top: 14px; opacity: 0.85; }

/* ---------- Contact ---------- */
.contact .tile-ink { position: relative; }
.contact-acc { position: absolute; top: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); width: 56px; rotate: 35deg; pointer-events: none; }
.contact .tile-ink h2 { padding-right: 64px; }
.contact-hero .wrap > div:first-child { max-width: 860px; }
.contact-hero .contact-daisy { width: min(200px, 15vw); right: 5vw; left: auto; top: 50%; transform: translateY(-50%) rotate(-10deg); }
.contact-daisy img { width: 100%; height: auto; }
@media (max-width: 1180px) { .contact-hero .contact-daisy { display: none; } }

/* ---------- FAQ page ---------- */
.faq-page .faq { max-width: 920px; }

/* ---------- Footer location ---------- */
.site-footer .location { margin: 10px 0 0; color: #CFCBC0; font-size: 15px; }

/* ---------- Mobile: buttons stay on one line ---------- */
@media (max-width: 860px) { .btn { white-space: nowrap; } }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px var(--charcoal); }
@media (prefers-reduced-motion: reduce) {
  .ba-card, .build-card, .service.box, .funky-steps .step { transition: none !important; }
  .service.box:hover, .funky-steps .step:hover { transform: none !important; }
}

/* ---------- Doodle clearance fixes (move and size only) ---------- */
.hero:not(.page-hero) h1 { font-size: clamp(40px, 4.9vw, 72px); }
.challenger > .tile:first-child { padding-bottom: clamp(170px, 17vw, 250px); }
.challenger > .tile:first-child .doodle { width: clamp(180px, 18vw, 250px); right: -40px; bottom: -50px; }
@media (max-width: 1100px) { .final-cta .doodle { display: none; } }
.acc-hug { right: -2.1em; top: -2em; }
@media (max-width: 1180px) { .hiw-hero .hiw-daisy { display: none; } }
@media (max-width: 860px) {
  .challenger > .tile:first-child { min-height: 0; padding-bottom: 150px; }
  .challenger > .tile:first-child .doodle { width: 170px; right: -30px; bottom: -40px; }
}
