/*
Theme Name: The Tech Lady
Theme URI: https://thetechlady.us
Author: Cindy DeOms
Author URI: https://thetechlady.us
Description: A readable, approachable consulting theme for The Tech Lady. Built for small businesses, manufacturers, nonprofits, and organizations that need practical technology guidance.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: the-tech-lady
*/

:root {
  --ttl-teal: #0f766e;
  --ttl-teal-dark: #0b5d57;
  --ttl-teal-light: #e8f4f2;
  --ttl-ink: #1f2937;
  --ttl-gray: #6b7280;
  --ttl-border: #d7e4e2;
  --ttl-white: #ffffff;
  --ttl-soft: #f7faf9;
  --ttl-shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
  --ttl-radius: 18px;
  --ttl-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ttl-ink);
  background: var(--ttl-white);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ttl-teal); text-underline-offset: 3px; }
a:hover { color: var(--ttl-teal-dark); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  color: var(--ttl-ink);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.18;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1.15em; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ttl-white);
  color: var(--ttl-ink);
  border: 2px solid var(--ttl-teal);
}
.container { width: min(calc(100% - 40px), var(--ttl-max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--ttl-soft); }
.section--teal { background: var(--ttl-teal); color: var(--ttl-white); }
.section--teal h2, .section--teal h3 { color: var(--ttl-white); }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ttl-teal);
  font: 700 0.9rem/1.2 Montserrat, "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section--teal .eyebrow { color: #d4f2ee; }
.lead { max-width: 760px; font-size: clamp(1.15rem, 2vw, 1.38rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid var(--ttl-teal);
  border-radius: 999px;
  background: var(--ttl-teal);
  color: var(--ttl-white);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}
.button:hover { transform: translateY(-1px); background: var(--ttl-teal-dark); color: var(--ttl-white); }
.button--outline { background: transparent; color: var(--ttl-teal); }
.button--outline:hover { background: var(--ttl-teal-light); color: var(--ttl-teal-dark); }
.button--light { border-color: var(--ttl-white); background: var(--ttl-white); color: var(--ttl-teal-dark); }
.button--light:hover { background: #edf9f7; color: var(--ttl-teal-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo, .custom-logo { display: block; width: min(390px, 46vw); max-height: 82px; object-fit: contain; object-position: left center; }
.site-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ttl-ink); font-family: Montserrat, "Segoe UI", sans-serif; font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--ttl-teal); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ttl-ink); font-size: 1rem; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 104px 0 96px; background: linear-gradient(140deg, #ffffff 0%, #ffffff 52%, #e8f4f2 100%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; bottom: -230px; border: 70px solid rgba(15,118,110,.09); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 72px; align-items: center; }
.hero .subtitle { margin: 0 0 24px; color: var(--ttl-teal); font: 700 clamp(1.2rem, 2.4vw, 1.7rem)/1.35 Montserrat, "Segoe UI", sans-serif; }
.hero-card { padding: 34px; border: 1px solid var(--ttl-border); border-radius: var(--ttl-radius); background: rgba(255,255,255,.9); box-shadow: var(--ttl-shadow); }
.hero-card h2 { font-size: 1.4rem; color: var(--ttl-teal); }
.quick-list { margin: 0; padding: 0; list-style: none; }
.quick-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--ttl-border); }
.quick-list li:last-child { border-bottom: 0; }
.quick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ttl-teal); font-weight: 800; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 30px; border: 1px solid var(--ttl-border); border-radius: var(--ttl-radius); background: var(--ttl-white); box-shadow: 0 10px 28px rgba(31,41,55,.045); }
.card h3 { color: var(--ttl-teal); }
.card p:last-child { margin-bottom: 0; }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 20px; border-radius: 14px; background: var(--ttl-teal-light); color: var(--ttl-teal); font: 800 1.15rem/1 Montserrat, sans-serif; }
.section-heading { max-width: 790px; margin-bottom: 42px; }
.section-heading p { font-size: 1.15rem; color: var(--ttl-gray); }
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 70px; align-items: start; }
.accent-panel { padding: 34px; border-radius: var(--ttl-radius); background: var(--ttl-teal-light); }
.accent-panel strong { color: var(--ttl-teal-dark); }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { padding: 7px 13px; border: 1px solid #bddbd7; border-radius: 999px; background: var(--ttl-white); color: var(--ttl-teal-dark); font-size: 0.88rem; font-weight: 700; }

.entry-header { padding: 72px 0 34px; background: var(--ttl-soft); }
.entry-content { padding: 54px 0 90px; }
.entry-content > * { max-width: 820px; }
.entry-content .alignwide { max-width: var(--ttl-max); }
.entry-content li { margin-bottom: 0.45em; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band p { max-width: 680px; margin-bottom: 0; font-size: 1.15rem; }
.site-footer { padding: 48px 0 28px; background: var(--ttl-ink); color: #e5e7eb; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer h2, .site-footer h3 { color: var(--ttl-white); }
.site-footer h2 { font-size: 1.25rem; }
.site-footer h3 { font-size: 1rem; }
.site-footer a { color: #bfe8e4; }
.site-footer p { margin-bottom: 0.55em; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #b7bec8; font-size: 0.84rem; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 92px; left: 0; width: 100%; padding: 20px; border-bottom: 1px solid var(--ttl-border); background: var(--ttl-white); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { display: block; padding: 12px 8px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 42px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { width: min(calc(100% - 28px), var(--ttl-max)); }
  .section { padding: 64px 0; }
  .header-inner { min-height: 78px; }
  .brand-logo, .custom-logo { width: min(285px, 72vw); max-height: 68px; }
  .site-nav { top: 78px; }
  .hero { padding: 74px 0 68px; }
  .grid--3, .grid--2, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .card, .hero-card, .accent-panel { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
