/* Additions for the PHP build. Loaded after style.css / responsive.css so it only adds or fixes things. */

/* Honeypot field: off-screen, not display:none (some bots skip hidden fields) */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Form feedback */
.form-alert { background: #fff3f0; border: 1px solid #ef6442; color: #8a2a12; border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; line-height: 20px; text-align: left; }
.field-error { display: block; margin: -6px 0 10px; color: #c0391b; font-size: 13px; line-height: 18px; text-align: left; text-transform: none; }
.bg-orange .field-error, .bg-orange .form-alert { color: #fff; }
.bg-orange .form-alert { background: rgba(0,0,0,.25); border-color: #fff; }
.pop-form-new-popp .field-error { margin-top: -4px; }
[aria-invalid="true"] { border: 1px solid #ef6442 !important; }
.lead-form button:disabled { opacity: .7; cursor: wait; }
.query_form form button, .lead-form button { cursor: pointer; }
.pop-form-new-popp .form-alert { margin: 0 0 10px; }

/* Hero retailer strip (text version of the platform logos) */
.retailer-strip { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 28px; }
.retailer-strip span { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .02em; opacity: .95; }

/* "Your Story" book illustration beside the KDP call-to-action */
.book-art { display: grid; align-content: space-between; width: min(230px, 70%); aspect-ratio: 2 / 3; margin: 0 auto; padding: 12% 10%; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 45% 58%, #a17b31, transparent 48%), linear-gradient(140deg, #253b52, #151619);
  box-shadow: 5px 7px 14px #0005, inset 6px 0 #0004, inset 0 0 0 2px #ffffff24; transform: rotate(-7deg); overflow: hidden; }
.book-art b { font-family: Georgia, serif; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 2rem); line-height: 1.05; text-shadow: 1px 2px 4px #000; }
.book-art i { display: block; width: 72%; aspect-ratio: 1; margin: auto; border: 1px solid #ffe6a8aa; border-radius: 50%; box-shadow: 0 0 19px #f6bb6780, inset 0 0 14px #f6bb6760; transform: rotate(-24deg) scaleY(.7); }
.book-art small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Distribution partners */
.distribution { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 30px auto 10px; max-width: 920px; }
.dist-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
.dist-logos span { font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.35rem); color: #894600; }
.dist-logos span:nth-child(3n+2) { color: #165568; }
.dist-logos span:nth-child(3n) { color: #383e8a; }
.orbit { border-radius: 50%; width: 210px; aspect-ratio: 1; background: radial-gradient(circle at 40% 32%, #7c83fc, #342d9f); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 10px #ffffff21; }
.orbit strong { font-size: 2rem; font-weight: 700; }
.orbit span { font-size: 1rem; }

/* Decorative medals (awards section) */
.medals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 520px; margin: 0 auto; }
.medals span { display: grid; place-content: center; aspect-ratio: 1; border-radius: 50%; border: 4px double #7e4e17; background: radial-gradient(#fff1a9, #d19648); color: #2e1a06; font-size: 2rem; font-weight: 900; }

/* Footer address entry is not a link */
.tel-btn a.no-link { cursor: default; }

/* Inner pages: terms, privacy, thank-you */
.page-banner { padding: 190px 0 80px; }
.page-banner h1, .page-banner h1 span { text-transform: none; }
.legal-page { padding: 60px 0 70px; }
.legal-content { max-width: 920px; margin: 0 auto; }
.legal-content h2 { font-size: 28px; font-weight: 600; margin: 34px 0 10px; color: #2f3d58; }
.legal-content h3 { font-size: 20px; font-weight: 600; margin: 22px 0 8px; color: #9b4d00; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { list-style: disc; padding-left: 24px; margin: 0 0 14px; }
.legal-content ul li { list-style: disc; color: #3E4A5A; line-height: 26px; margin-bottom: 8px; }
.legal-content a { color: #9b4d00; text-decoration: underline; }
.thankyou { padding-bottom: 110px; }
.thankyou-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 48px 36px; text-align: center; box-shadow: rgba(100,100,111,.25) 0 7px 29px 0; }
.thankyou-card h1, .thankyou-card h1 span { color: #2f3d58; font-size: 44px; line-height: 50px; padding: 10px 0 14px; }
.thankyou-card h1 span { color: #ff9900; }
.thankyou-card p { color: #3E4A5A; margin-bottom: 10px; }
.thankyou-card a:not(.brs-btn) { color: #9b4d00; }
.thankyou-icon { width: 76px; height: 76px; border-radius: 50%; background: #ff9900; color: #fff; display: grid; place-content: center; margin: 0 auto 8px; }
.thankyou-icon svg { width: 34px; height: 34px; }

@media (max-width: 991px) {
  .distribution { grid-template-columns: 1fr; }
  .orbit { order: -1; margin: 0 auto; width: 170px; }
  .book-art { margin-top: 24px; }
  .page-banner { padding: 150px 0 60px; }
}
@media (max-width: 575px) {
  .thankyou-card { padding: 36px 20px; }
  .thankyou-card h1, .thankyou-card h1 span { font-size: 34px; line-height: 40px; }
}

/* ---- Case fixes: the theme title-cases everything; keep emails, brands and inputs as typed ---- */
.keep-case, .keep-case *, .retailer-strip span, .dist-logos span, input, textarea, ::placeholder,
.legal-content a[href^="mailto"], .thankyou-card a[href^="mailto"] { text-transform: none !important; }

/* ---- Layout fixes ---- */
/* Hero checklist: two columns so long items never run under the form */
.hero-banner .left-content ul { grid-template-columns: repeat(2, minmax(0, auto)); width: auto; max-width: 100%; }
.retailer-strip { margin-bottom: 22px; }
/* Release-plan band: keep the copy between the two book images */
.lake_cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .hero-banner .left-content ul { grid-template-columns: 1fr; } }

/* Emails are never title-cased, even when wrapped in <strong> */
a[href^="mailto"], a[href^="mailto"] * { text-transform: none !important; }
/* Popup: brand-coloured button */
.pop-form-new-popp .submit-btn { background-color: #2f3d58 !important; color: #fff !important; border-radius: 40px !important; transition: background-color .2s; }
.pop-form-new-popp .submit-btn:hover { background-color: #ff9900 !important; }
.pop-form-new-popp input, .pop-form-new-popp textarea { text-transform: none; }
