/* georgeshung.com: changes from the Apple guidelines review, 8 November 2026.
   Load last inside <head>, after every other stylesheet. */

/* 1. Glass stays on the nav bar and the floating "Let's talk" button only.
      Content in the hero gets solid surfaces. */
.hero-actions .button {
  background: #f4f4f0 !important;
  background-image: none !important;
  border: 1px solid rgba(21, 21, 21, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  color: #151515 !important;
}
.hero .hero-preview {
  background: #f4f4f0 !important;
  background-image: none !important;
  border: 1px solid rgba(21, 21, 21, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 12px 30px -20px rgba(20, 22, 18, 0.45) !important;
}
.hero .hero-preview .feature-copy .tag {
  background: transparent !important;
  border: 1px solid rgba(21, 21, 21, 0.35) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  color: #151515 !important;
}
html[data-hero-theme="dark"] .hero-actions .button {
  background: #1c1c1e !important;
  border-color: rgba(244, 244, 240, 0.16) !important;
  color: #f4f4f0 !important;
}
html[data-hero-theme="dark"] .hero .hero-preview {
  background: #1c1c1e !important;
  border-color: rgba(244, 244, 240, 0.1) !important;
  color: #f4f4f0 !important;
}
html[data-hero-theme="dark"] .hero .hero-preview .feature-copy .tag {
  border-color: rgba(244, 244, 240, 0.4) !important;
  color: #f4f4f0 !important;
}

/* 2. Nothing below 12 px; the hint reads at full strength. */
.constellation-legend li { font-size: 12px !important; }
.constellation-key p.sky-hint { font-size: 13px !important; opacity: 1 !important; }
.feature-copy .tag,
.case-meta,
.service-deliver strong,
.tw-cap,
.tc-chip { font-size: 12px !important; }
.footer-legal { font-size: 12px !important; }

/* 3. Light / dark / auto switch: in the header on desktop, inside the menu on phones.
      The menu copy picks up the header's white-on-dark button styles. */
.nav-links .hero-appearance { display: none !important; }
@media (max-width: 700px) {
  .header-actions .hero-appearance { display: none !important; }
  .nav-links.open .hero-appearance {
    display: flex !important;
    position: static !important;
    width: max-content;
    gap: 2px;
    margin: 6px 6px 8px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .nav-links.open .hero-appearance button {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
}

/* 4. Increased contrast: secondary text takes the main text colour of its section,
      so it works in light and dark without a second set of values. Cards get an edge. */
@media (prefers-contrast: more) {
  .service .number,
  .case-meta,
  .case-line,
  .tw-cap,
  .collab-figure figcaption,
  .client-head p,
  .faq details p,
  .about-copy p,
  .section-top p,
  .hero-preview small,
  .sky-hint,
  .fact span,
  .tc-who span,
  .footer-legal {
    color: inherit !important;
    opacity: 1 !important;
  }
  .hero .hero-preview,
  .service,
  .tc-card { box-shadow: inset 0 0 0 1px currentColor !important; }
}
