/* Additions to the Lovable design (css/site.css), in the same style:
   the contact form, the privacy policy text and the 404 page. */

/* ---------- Contact form ---------- */
.inquiry { padding: 0 1.25rem 7rem; scroll-margin-top: 6rem; }
@media (min-width: 48rem) { .inquiry { padding: 0 2rem 9rem; } }
.inquiry-card { max-width: 48rem; margin: 0 auto; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 48rem) { .inquiry-card { padding: 2.5rem; } }
.inquiry-card h2 { margin: 0; font-size: 2.25rem; }
@media (min-width: 48rem) { .inquiry-card h2 { font-size: 3rem; } }
.inquiry-card .lede { margin: .5rem 0 0; font-size: 1.125rem; line-height: 1.6; }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.f-label { display: flex; flex-direction: column; gap: .5rem; font-weight: 700; }
.f-label .opt { font-weight: 400; color: var(--muted-foreground); }
.f-input {
  width: 100%; box-sizing: border-box; min-height: 3.25rem; padding: .75rem 1rem;
  border: 2.5px solid var(--ink); border-radius: .875rem; background: var(--cream);
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
}
textarea.f-input { min-height: 9rem; resize: vertical; line-height: 1.5; }
.f-input:focus { outline: none; box-shadow: var(--shadow-pop-sm); background: #fff; }
.f-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-set legend { padding: 0 0 .5rem; font-weight: 700; }
.f-opts { display: flex; flex-wrap: wrap; gap: .625rem; }
.f-chip { position: relative; display: inline-flex; align-items: center; }
.f-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-chip span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--cream);
  font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.f-chip span:hover { transform: translate(-1px,-1px); box-shadow: var(--shadow-pop-sm); }
.f-chip input:checked + span { background: var(--marigold); box-shadow: var(--shadow-pop-sm); }
.f-chip input:focus-visible + span { outline: 3px solid var(--tomato); outline-offset: 2px; }
.inquiry-card button[type="submit"] { align-self: flex-start; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); }
.inquiry-card button[type="submit"]:disabled { opacity: .7; cursor: default; }
#inquire-status { margin: 0; padding: .875rem 1.125rem; border: 2.5px solid var(--ink); border-radius: .875rem; line-height: 1.6; }
.inquiry-card .small { margin: 0; font-size: .9rem; color: var(--muted-foreground); }
/* Fields the bot check flags */
.f-input.missing { border-color: var(--tomato); box-shadow: 3px 3px 0 0 var(--tomato); }

/* Thank-you card that replaces the form once it's sent */
.inquiry-card[hidden] { display: none; }
.inquiry-thanks { position: relative; text-align: center; align-items: center; padding-top: 3rem; padding-bottom: 3rem; outline: none; }
.inquiry-thanks h2 { margin: .25rem 0 0; font-size: 3rem; }
@media (min-width: 48rem) { .inquiry-thanks h2 { font-size: 4.5rem; } }
.inquiry-thanks .lede { max-width: 30rem; margin: 0; }
.thanks-star { position: absolute; top: -2rem; right: -1.5rem; width: 4.5rem; }
@media (max-width: 47.99rem) { .thanks-star { top: -1.75rem; right: -.5rem; width: 3.5rem; } }
.thanks-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }

/* ---------- Privacy policy ---------- */
.prose-ww { max-width: 48rem; margin: 0 auto; padding: 4rem 1.25rem 6rem; font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 48rem) { .prose-ww { padding: 6rem 2rem 8rem; } }
.prose-ww .eyebrow { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--forest); }
.prose-ww h1 { margin: .75rem 0 2rem; font-family: var(--font-display); font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.035em; line-height: .9; text-transform: uppercase; font-size: clamp(3rem, 10vw, 5.5rem); }
.prose-ww h2 { margin: 3rem 0 1rem; font-family: var(--font-display); font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.035em; line-height: .95; text-transform: uppercase; font-size: 2rem; }
.prose-ww p, .prose-ww ul { margin: 0 0 1.25rem; }
.prose-ww ul { padding-left: 1.25rem; list-style: disc; }
.prose-ww li::marker { color: var(--tomato); }
.prose-ww li { margin: 0 0 .75rem; }
.prose-ww a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose-ww a:hover { color: var(--tomato); }

/* ---------- Phone menu (header) ---------- */
.hdr-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-pop-sm); cursor: pointer; padding: 0;
}
.menu-btn svg { width: 1.25rem; height: 1.25rem; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }
@media (min-width: 48rem) { .menu-btn, .mobile-menu { display: none !important; } }
.mobile-menu { border-top: 2.5px solid var(--ink); background: var(--cream); padding: .75rem 1.25rem 1.5rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: .6rem 0; font-family: var(--font-display); font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; font-size: 1.75rem; color: var(--ink); text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--tomato); }
.mobile-menu .sub { margin: 0 0 .25rem; padding-left: 1rem; border-left: 2.5px solid var(--ink); }
.mobile-menu .sub a { font-size: 1.25rem; padding: .45rem 0; }
.mobile-menu .label { margin: .5rem 0 .1rem; font-family: var(--font-serif); font-weight: 700; letter-spacing: -.02em; color: var(--forest); }
.mobile-menu a.btn-pop { padding: .75rem 1.25rem; }
.mobile-menu .btn-pop { display: inline-flex; margin-top: 1rem; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; text-transform: none; }

/* ---------- Footer "send a message" button ---------- */
.foot-cta { margin-top: 1.1rem; color: var(--ink) !important; font-size: .95rem; padding: .6rem 1.1rem; }

/* ---------- Spacing fixes on top of the Lovable layout ---------- */
/* About hero: a photo column that fills the space, and the star as a sticker on the photo */
@media (min-width: 48rem) { .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 3rem; } }
@media (min-width: 64rem) { .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 4.5rem; } }
.about-photo { position: relative; }
.about-star { position: absolute; z-index: 2; top: -2rem; left: -2rem; width: 4.5rem; }
/* Home hero: the lime star fills the top-right space */
.home-star { right: 10%; top: 22%; width: 6.5rem; }
@media (max-width: 79.99rem) { .home-star { right: 4%; top: 14%; width: 4.5rem; } }
/* About: "What I believe" with its line right underneath */
.beliefs-head { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
/* Home hero: intro paragraph with the buttons right underneath */
.home-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; max-width: 40rem; }
/* Services hero: corner star */
.svc-star { right: -5rem; top: -5rem; width: 18rem; }
@media (max-width: 47.99rem) { .svc-star { right: -3.5rem; top: -3.5rem; width: 8.5rem; } }
/* Contact: less space between the intro and the form */
.contact-hero { padding-bottom: 3.5rem; }
@media (min-width: 48rem) { .contact-hero { padding-bottom: 4.5rem; } }

/* ---------- Fun touches ---------- */
/* Wiggly logo in the header */
@keyframes ww-wiggle { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-7deg) scale(1.06); } 45% { transform: rotate(6deg) scale(1.08); } 70% { transform: rotate(-3deg) scale(1.04); } }
header a[aria-label="Wren & Winnie home"] img { transform-origin: 50% 60%; }
header a[aria-label="Wren & Winnie home"]:hover img, header a[aria-label="Wren & Winnie home"]:focus-visible img { animation: ww-wiggle .6s ease-in-out; }
@media (prefers-reduced-motion: reduce) { header a[aria-label="Wren & Winnie home"]:hover img { animation: none; } }

/* Page not found */
.lost { display: flex; align-items: center; }
.lost-inner { max-width: 48rem; margin: 0 auto; padding: 4rem 1.25rem 6rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 48rem) { .lost-inner { padding: 5rem 2rem 7rem; } }
.lost-art { position: relative; width: 13rem; height: 13rem; margin-bottom: 1.5rem; }
.lost-star { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--ink); transform: rotate(-8deg); }
.lost-h1 { margin: .75rem 0 0; font-size: clamp(3rem, 9vw, 6rem); line-height: .88; }
.lost-p { margin: 1.5rem auto 0; max-width: 32rem; font-size: 1.15rem; line-height: 1.6; }
.lost-btns { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
