/* ==========================================================================
   home.css — Home page styles
   --------------------------------------------------------------------------
   Milestone 9 · Home Page Assembly

   Page-scoped styles only. Every section composes existing components
   (hero, cards, buttons, section/layout primitives, header, footer) — no
   component styling lives here. These rules style page content that has no
   reusable component yet: the About preview portrait frame and the About
   commitment panel (Phase 2 §1.4.3).
   ========================================================================== */

/* WhatsApp CTA (R11 adjustment) — compact contact pill inside the hero,
   directly below the Company Profile / Visiting Card buttons. Uses the
   WhatsApp brand green family only for the WhatsApp accent; the global brand
   palette is untouched. Solid WhatsApp dark teal (#075E54) pill keeps white
   label text AA-compliant; the glyph uses the bright WhatsApp green
   (#25D366). Full width on small screens for easy tapping. */
.wa-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
  min-height: var(--touch-min);
  margin-block-start: var(--space-24);
  padding-block: var(--space-8);
  padding-inline: var(--space-24);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: #075e54;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-button-current);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-button);
  letter-spacing: var(--tracking-button);
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.wa-cta__link:hover:not(:focus-visible) {
  background: color-mix(in srgb, var(--color-heading) 10%, #075e54);
  box-shadow: var(--shadow-raised);
}

.wa-cta__link:active {
  background: color-mix(in srgb, var(--color-heading) 16%, #075e54);
  box-shadow: none;
  transform: translateY(1px);
}

.wa-cta__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: #25d366;
}

@media (min-width: 768px) {
  .wa-cta__link {
    width: auto;
  }
}

/* About preview — 4:5 portrait frame (Phase 2 §1.4.3 · image ratio Phase 1
   §13). Founder portrait supplied in Phase R1. */
.home-about__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.home-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About preview — commitment panel (Hero Refinement Pass 2): clean, corporate
   panel in approved brand colours — warm surface fill, brand-yellow top rule,
   primary lead, secondary (green) list markers. Not a testimonial. */
.about-commitment {
  margin: var(--space-24) 0 0;
  padding: var(--space-24);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-brand-yellow);
  border-radius: var(--radius-md);
}

.about-commitment__lead {
  margin: 0 0 var(--space-16);
  font-family: var(--font-heading);
  font-size: var(--text-body-large-current);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-body-large);
  color: var(--color-primary);
}

.about-commitment__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-8);
}

.about-commitment__item {
  position: relative;
  padding-inline-start: var(--space-24);
  font-size: var(--text-small-current);
  line-height: var(--lh-small);
  color: var(--color-heading);
}

.about-commitment__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 2px;
}
