/* ==========================================================================
   JYO Life Sciences — page-specific styling
   Loaded after base.css, which provides shared tokens, the header/nav/footer
   and the hairline-divider component reused here. Nothing in this file
   overrides base.css — it only adds page-specific rules.
   ========================================================================== */

/* ---------- hero ---------- */
.ls-hero {
  position: relative;
  overflow: hidden; /* clip the off-canvas network motif at the true page edge */
  /* Generous, airy rhythm per the approved reference. */
  padding-top: var(--space-5);
  padding-bottom: var(--space-4);
}
@media (max-width: 720px) {
  .ls-hero {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }
}
.ls-hero-content {
  max-width: 640px;
}
.ls-name {
  /* Slightly reduced and refined from the original marketing-hero scale,
     per the approved reference — lighter hierarchy, not a weight change
     (DM Serif Display ships one weight, 400, so there is no bold to remove). */
  font-size: clamp(1.95rem, 3.8vw, 2.65rem);
  color: var(--deep-indigo);
  margin-bottom: var(--space-1);
}
.ls-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.ls-positioning {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.ls-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.ls-cta {
  display: inline;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ls-cta .arrow {
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.15s ease;
}
.ls-cta:hover,
.ls-cta:focus-visible {
  color: var(--ink);
  border-color: var(--champagne-gold);
}
.ls-cta:hover .arrow,
.ls-cta:focus-visible .arrow {
  transform: translateX(3px);
}
.ls-cta--primary {
  font-size: 0.92rem;
  color: var(--deep-indigo);
  border-color: var(--deep-indigo);
}

/* Network motif — reuses the same #jyo-network symbol as the homepage,
   Mineral Blue only, appearing once on this page (in the hero). */
.network-motif--ls-hero {
  position: absolute;
  top: 50%;
  right: -110px;
  width: 320px;
  height: auto;
  color: var(--mineral-blue);
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .network-motif--ls-hero {
    /* Anchored to the bottom corner instead of vertically centred, so it sits
       as a quiet flourish behind the CTAs rather than crossing the paragraph
       text and reading as an interruption. */
    top: auto;
    bottom: -10px;
    transform: none;
    width: 150px;
    right: -45px;
    opacity: 0.25;
  }
}

/* ---------- expertise ---------- */
/* The page now flows Hero → Expertise → Contact directly (About removed). */
.expertise {
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}
@media (max-width: 720px) {
  .expertise {
    padding-top: var(--space-2);
    padding-bottom: var(--space-4);
  }
}
.expertise-grid {
  /* Explicit single-column flex stack on mobile — guarantees the three
     areas always sit full-width, one below the other, in source order. */
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  .expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    column-gap: var(--space-4);
  }
}
.expertise-item {
  width: 100%;
  padding: var(--space-3) 0;
}
@media (max-width: 719px) {
  .expertise-item:first-child { padding-top: 0; }
}
.expertise-item h2 {
  /* Lighter, more refined scale per the approved reference — still a real
     heading (full ink colour), just not competing with the hero. */
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: var(--space-1);
}
.expertise-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 42ch;
}
.expertise-divider {
  border-top: 1px solid var(--line);
  margin: var(--space-2) 0;
}
@media (min-width: 720px) {
  .expertise-divider {
    border-top: none;
    border-left: 1px solid var(--line);
    margin: 0;
    height: 100%;
  }
}

/* ---------- contact (dark field) ---------- */
.contact-band {
  background: var(--midnight-indigo);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
@media (max-width: 720px) {
  .contact-band {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
}
.contact-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-5);
  }
}

.contact-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border: 1px solid var(--champagne-gold);
  border-radius: 2px;
  color: var(--champagne-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.contact-book-btn .arrow {
  transition: transform 0.15s ease;
}
.contact-book-btn:hover,
.contact-book-btn:focus-visible {
  background: var(--champagne-gold);
  color: var(--midnight-indigo);
}
.contact-book-btn:hover .arrow,
.contact-book-btn:focus-visible .arrow {
  transform: translateX(3px);
}

.contact-divider {
  border-top: 1px solid rgba(250, 248, 244, 0.2);
  width: 100%;
}
@media (min-width: 640px) {
  .contact-divider {
    border-top: none;
    border-left: 1px solid rgba(250, 248, 244, 0.2);
    align-self: stretch;
    width: 1px;
  }
}

.contact-secondary {
  padding-top: var(--space-1);
}
.contact-alt-label {
  color: var(--soft-stone);
  font-size: 0.85rem;
  margin-bottom: 0.4em;
}
.contact-email {
  display: inline-block;
  color: var(--champagne-gold);
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.contact-email:hover,
.contact-email:focus-visible {
  border-color: var(--champagne-gold);
}
/* The shared focus outline (base.css) is Deep Indigo, which all but
   disappears on this dark field — swap it for Champagne Gold here only. */
.contact-band a:focus-visible {
  outline-color: var(--champagne-gold);
}
