/* =====================================================================
   plantlogicsystems.com only — hero, product cards, principles, contact.
   Shared tokens and components live in style.css (copied to both sites).
   ===================================================================== */

/* ---------- Company hero and business map ---------- */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
  text-align: left;
  background: radial-gradient(ellipse at 90% 85%, rgba(40,79,136,.38), transparent 60%), var(--navy-deep);
}
.hero__wrap { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hero__story { min-width: 0; overflow-wrap: anywhere; }
.hero .hero__kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.4rem); line-height: 1.06; letter-spacing: -.045em; margin: 0; max-width: 15ch; }
.hero .hero__sub { font-size: 1.125rem; line-height: 1.75; margin: 1.5rem 0 0; max-width: 39ch; font-weight: 400; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; }
.hero__actions .btn { color: var(--navy-deep); background: var(--orange-soft); border-radius: 8px; min-height: 52px; padding-inline: 1.4rem; box-shadow: none; }
.hero__actions .btn:hover { background: #ffbb78; transform: none; }
.hero__contact { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; text-decoration: underline; text-underline-offset: 5px; font-size: 1rem; }
.hero__contact:hover { color: var(--orange-soft); }
.hero__footnote { margin-top: 2rem; border-left: 2px solid var(--orange); padding-left: 1rem; color: var(--on-dark-muted); font-size: .85rem; line-height: 1.7; }
.business-map { min-width: 0; overflow-wrap: anywhere; background: #f4f1e9; color: var(--ink); border: 1px solid #d9dfd9; border-radius: 18px; padding: 1.75rem; box-shadow: 0 24px 65px -25px #0008; }
.business-map__eyebrow { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.business-map__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; margin-top: .5rem; letter-spacing: -.025em; }
.business-map__hub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; width: min(100%, 15rem); min-height: 12rem; margin: 2rem auto; padding: 1.5rem; border: 1px solid var(--navy-600); border-radius: 50%; background: var(--navy-deep); color: var(--on-dark); text-align: center; box-shadow: 0 0 0 8px #f4f1e9, 0 0 0 9px #c9cec8; }
.business-map__hub > span { font-size: .8rem; }
.business-map__hub strong { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.2; }
.business-map__hub .business-map__ai { color: var(--orange-soft); font-weight: 600; margin-top: .4rem; }
.business-map__hub::after { content: ""; position: absolute; top: calc(100% + 9px); height: calc(2rem - 9px); width: 1px; background: #c9cec8; }
.business-map__areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.business-map__areas li { border: 1px solid #d9dfd9; border-top: 2px solid var(--orange); border-radius: 8px; background: var(--paper); padding: 1rem; }
.business-map__areas h3 { font-size: 1.1rem; }
.business-map__areas p { font-size: .85rem; line-height: 1.6; color: var(--muted); margin-top: .4rem; }
.business-map__note { font-size: .8rem; line-height: 1.6; color: var(--muted); margin-top: 1.25rem; }
@media (min-width: 960px) {
  .hero__wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
}
@media (max-width: 959px) {
  .hero__wrap { max-width: 650px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2.65rem; }
  .hero__actions { gap: .5rem 1rem; }
  .hero__actions .btn { font-size: 1rem; padding-inline: 1rem; }
  .business-map { padding: 1.1rem; }
  .business-map__areas li { padding: .75rem; }
}

/* ---------- Section heads (centred; body text stays left) ---------- */
.section-head { text-align: center; }
.section-head .h2, .section-head .lead { margin-inline: auto; }

/* ---------- Inline SVG colours (brand tokens only; no literals in the markup) ---------- */
.art-accent { fill: var(--orange); }
.art-soft { fill: var(--paper-2); }
.art-paper { fill: var(--paper); }
.art-on-accent { stroke: var(--paper); }

/* ---------- Vision: illustration above the text, beside it from 960px ---------- */
.vision__art { display: block; width: min(260px, 100%); height: auto; margin: 0 auto 1.5rem; color: var(--navy); }
@media (min-width: 960px) {
  .vision { display: grid; grid-template-columns: auto 300px; gap: 3rem; justify-content: center; align-items: center; }
  .vision__art { order: 2; width: 300px; margin: 0; }
}

/* ---------- Product cards ---------- */
@media (min-width: 700px) { #products .gets { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem;
  background: #fff;
  border: 2px solid var(--hair);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 14px 34px -24px rgba(10,28,51,0.35);
}
.product-card h3 { font-size: 1.5rem; color: var(--navy); }
.product-card p { color: var(--muted); font-size: 1.1rem; flex: 1; }
.product-card .btn { margin-top: 0.8rem; }
/* Dashboard shot fills the content box (card uses align-items: flex-start); caption must not stretch like p. */
.product-card__shot { align-self: stretch; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--hair); }
.product-card .product-card__caption { flex: 0; margin-top: -0.3rem; font-size: 0.9rem; color: var(--muted); }
/* Ghost buttons are white-on-dark in style.css; this card sits on a light background. */
.product-card .btn--ghost { color: var(--navy); border-color: var(--navy); border-width: 2px; }
.product-card .btn--ghost:hover { background: var(--paper-2); border-color: var(--navy-600); }

/* ---------- Principles ---------- */
.principles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; } }
.principles li {
  border-left: 4px solid var(--orange);
  background: var(--paper-2);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem;
  color: var(--muted);
}
.principles__icon { display: block; margin-bottom: 0.6rem; color: var(--navy); }
.principles strong {
  display: block; margin-bottom: 0.25rem;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: var(--ink);
}

/* ---------- Contact (reuses .cta-band) ---------- */
#contact .h2 { color: #fff; margin-inline: auto; }

/* ---------- Root motion (home-motion.js): finite entrances; final styles are the defaults ---------- */
/* Overrides the shared .reveal observer so it cannot hide or replay these parents (no-JS shows everything). */
.reveal { opacity: 1; transform: none; transition: none; }
@keyframes hm-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media screen and (prefers-reduced-motion: no-preference) {
  html.home-motion-ready .hm-wait { opacity: 0; transform: translateY(12px); }
  .hm-run { animation: hm-in 500ms ease-out both; }
}
