/* ============================================================
   Tech Troubleshooters — theme.css
   Design: Lars Conti, Chief Creative Director
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --ink:        #0F172A;
  --ink-soft:   #1E293B;
  --chalk:      #FFFFFF;
  --stone:      #F1F5F9;
  --stone-dark: #E2E8F0;
  --sapphire:   #0284C7;
  --sap-light:  #38BDF8;
  --sap-dark:   #0369A1;
  --text-body:  #334155;
  --text-muted: #64748B;
  --ink-light:  #475569;
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-ui:      'Inter', -apple-system, Helvetica Neue, sans-serif;
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-2xl:  10rem;
  --radius:     3px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --warm-hover: #F0EDE9;
  --accent-orange: #F97316;
  --accent-green:  #34D399;
  --accent-purple: #A78BFA;
  --star-gold:     #F59E0B;
}

/* ── RESET + BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--ff-ui); font-weight: 400; color: var(--ink); background: var(--chalk); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.t-hero { font-family: var(--ff-ui); font-style: normal; font-weight: 800; font-size: clamp(2.75rem,6vw,5rem); line-height: 1.05; letter-spacing: -0.03em; }
.t-h2 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem,4vw,3rem); line-height: 1.15; text-wrap: balance; }
.t-h3 { font-family: var(--ff-ui); font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
.t-body-lg { font-family: var(--ff-ui); font-weight: 400; font-size: 1.125rem; line-height: 1.7; }
.t-body { font-family: var(--ff-ui); font-weight: 400; font-size: 1rem; line-height: 1.65; }
.t-label { font-family: var(--ff-ui); font-weight: 500; font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.07em; text-transform: uppercase; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.5rem,5vw,3rem); }
.container--narrow { max-width: 860px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-ui); font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn--primary { background: var(--sapphire); color: var(--chalk); padding: 0.875rem 2rem; }
.btn--primary:hover { background: var(--sap-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(2,132,199,.3); }
.btn--outline { background: transparent; color: var(--chalk); padding: 0.8125rem 1.875rem; border: 1.5px solid rgba(247,245,242,.4); }
.btn--outline:hover { border-color: var(--chalk); background: rgba(247,245,242,.08); }
.btn--outline-dark { background: transparent; color: var(--sapphire); padding: 0.8125rem 1.875rem; border: 1.5px solid var(--sapphire); transition: all var(--transition); }
.btn--outline-dark:hover { background: var(--sapphire); color: var(--chalk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2,132,199,.2); }

/* ── FOCUS STYLES (accessibility) ── */
:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .tab-btn:focus-visible, .hero__aud-btn:focus-visible { outline: 2px solid var(--sap-light); outline-offset: 3px; }

/* ── NAVIGATION ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 0; transition: background var(--transition), box-shadow var(--transition), padding var(--transition); }
.nav.scrolled { background: rgba(26,31,46,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); padding: 0.875rem 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav__logo img { height: 38px; width: auto; max-width: none; display: block; }
.nav__wordmark { font-family: var(--ff-ui); font-weight: 600; font-size: 1rem; color: var(--chalk); letter-spacing: -0.01em; }
/* WordPress custom logo wrapper */
.nav__logo .custom-logo-link { display: flex; align-items: center; }
.nav__logo .custom-logo-link img { height: 38px; width: auto; max-width: none; display: block; }
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__links li { list-style: none; }
.nav__links a, .nav__link { font-family: var(--ff-ui); font-weight: 500; font-size: 0.9375rem; color: rgba(247,245,242,.75); letter-spacing: 0.01em; transition: color var(--transition); }
.nav__links a:hover, .nav__link:hover { color: var(--chalk); }
.nav__mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.25rem; color: var(--chalk); }
.nav__drawer { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px,85vw); background: var(--ink); z-index: 200; padding: 5rem 2rem 3rem; flex-direction: column; gap: 2rem; box-shadow: -8px 0 40px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.nav__drawer.open { transform: translateX(0); }
.nav__drawer-link { font-family: var(--ff-ui); font-weight: 500; font-size: 1.25rem; color: rgba(247,245,242,.75); transition: color var(--transition); padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); display: block; }
.nav__drawer-link:hover { color: var(--chalk); }
.nav__drawer-links { display: flex; flex-direction: column; gap: 0; }
.nav__drawer-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; cursor: pointer; color: rgba(247,245,242,.5); padding: 0.5rem; }
.nav__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 199; opacity: 0; transition: opacity .35s ease; }
.nav__overlay.open { opacity: 1; }

/* ── HERO ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 65% 45%, rgba(2,132,199,.13) 0%, transparent 70%), radial-gradient(ellipse 50% 80% at 20% 80%, rgba(2,132,199,.07) 0%, transparent 60%); }
/* Dot-grid texture */
.hero__bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--ink) 100%); pointer-events: none; }
.hero__accent-line { position: absolute; top: 0; right: 12%; width: 1px; height: 40%; background: linear-gradient(to bottom, transparent, rgba(2,132,199,.4), transparent); }
.hero__content { position: relative; z-index: 2; padding-top: 8rem; padding-bottom: 6rem; max-width: 820px; }

/* Announcement pill */
.hero__pill { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(2,132,199,.12); border: 1px solid rgba(2,132,199,.3); border-radius: 99px; padding: 0.35rem 1rem; margin-bottom: 1.75rem; opacity: 0; animation: fadeUp 0.8s ease 0.1s forwards; }
.hero__pill-dot { width: 7px; height: 7px; background: var(--sap-light); border-radius: 50%; flex-shrink: 0; }
.hero__pill-text { font-family: var(--ff-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sap-light); }

.hero__headline { color: var(--chalk); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.9s ease 0.25s forwards; }
.hero__sub { color: rgba(247,245,242,.65); max-width: 560px; margin-bottom: 1.75rem; opacity: 0; animation: fadeUp 0.9s ease 0.4s forwards; }
.hero__sub strong { color: var(--chalk); font-weight: 600; }

/* Audience selector tabs */
.hero__audience { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 0.3rem; width: fit-content; margin-bottom: 1.75rem; opacity: 0; animation: fadeUp 0.9s ease 0.52s forwards; }
.hero__aud-btn { font-family: var(--ff-ui); font-size: 0.8125rem; font-weight: 500; color: rgba(247,245,242,.55); background: transparent; border: none; padding: 0.375rem 0.875rem; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: all var(--transition); text-decoration: none; display: inline-block; }
.hero__aud-btn:hover, .hero__aud-btn.active { color: var(--chalk); background: rgba(255,255,255,.1); }

.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s ease 0.65s forwards; }
/* Make primary CTA larger and more prominent */
.btn--primary-lg { background: var(--sapphire); color: var(--chalk); padding: 1rem 2.25rem; font-size: 1rem; font-weight: 600; border-radius: 4px; display: inline-flex; align-items: center; gap: 0.5rem; transition: all var(--transition); text-decoration: none; border: none; cursor: pointer; }
.btn--primary-lg:hover { background: var(--sap-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(2,132,199,.35); }

/* Trust badge pills */
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; opacity: 0; animation: fadeUp 0.9s ease 0.82s forwards; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 99px; padding: 0.3rem 0.8rem; font-family: var(--ff-ui); font-size: 0.75rem; font-weight: 500; color: rgba(247,245,242,.65); white-space: nowrap; }
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.hero__scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(247,245,242,.3); opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.hero__scroll-hint span { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.scroll-arrow { width: 1px; height: 2.5rem; background: linear-gradient(to bottom, rgba(247,245,242,.3), transparent); animation: scrollPulse 2s ease infinite; }

/* ── PROOF STRIP ── */
/* (See .proof rule below in Trust Pillars section) */
.proof__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem 2rem; align-items: center; }
.proof__stat { text-align: center; }
.proof__number { font-family: var(--ff-display); font-weight: 500; font-size: clamp(3rem,5vw,4.5rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 0.625rem; }
.proof__number span { color: var(--sapphire); }
.proof__label { font-family: var(--ff-ui); font-weight: 400; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }
.proof__divider { width: 1px; height: 5rem; background: var(--stone-dark); margin: 0 auto; }

/* ── HOW IT WORKS ── */
.howitworks { background: var(--chalk); padding: var(--space-xl) 0; border-bottom: 1px solid var(--stone-dark); }
.howitworks__steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; margin-top: 4rem; }
.howitworks__connector { display: flex; align-items: center; padding-top: 2.25rem; }
.howitworks__connector-line { flex: 1; height: 1px; background: linear-gradient(to right, var(--sapphire), var(--stone-dark)); }
.howitworks__step { text-align: center; padding: 0 1.5rem; }
.howitworks__step-icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.75rem; border: 2px solid var(--sapphire); position: relative; }
.howitworks__step-icon svg { width: 22px; height: 22px; stroke: var(--chalk); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.howitworks__step-num { position: absolute; top: -0.5rem; right: -0.5rem; width: 1.375rem; height: 1.375rem; background: var(--sapphire); color: var(--chalk); border-radius: 50%; font-size: 0.625rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.howitworks__step-title { font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: 0.75rem; }
.howitworks__step-body { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; }

/* ── SERVICES SECTION ── */
.services { background: var(--chalk); padding: var(--space-xl) 0; }
.section-header { margin-bottom: 4rem; }
.section-header__eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.section-header__eyebrow-line { display: block; width: 2rem; height: 1px; background: var(--sapphire); }

/* ── SERVICE CARDS (category tiles, differentiators, industries) ── */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5px; background: var(--stone-dark); border: 1.5px solid var(--stone-dark); border-radius: calc(var(--radius) + 2px); overflow: hidden; }
.service-card { background: var(--chalk); padding: 2.5rem 2rem; transition: background var(--transition); cursor: default; }
.service-card:hover { background: var(--warm-hover); }
.service-card:hover .service-card__icon { background: var(--sapphire); border-color: var(--sapphire); }
.service-card:hover .service-card__icon svg { stroke: var(--chalk); }
.service-card__icon { width: 48px; height: 48px; border: 1.5px solid var(--stone-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all var(--transition); }
.service-card__icon svg { width: 22px; height: 22px; stroke: var(--sapphire); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--transition); }
.service-card__title { margin-bottom: 0.75rem; color: var(--ink); }
.service-card__body { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ── HOMEPAGE INLINE TABS ── */
.hp-tabs-nav-wrap { border-bottom: 1px solid var(--stone-dark); margin-top: 3rem; }
.tabs-nav { display: flex; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; padding: 1.125rem 1.375rem; font-family: var(--ff-ui); font-weight: 500; font-size: .875rem; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.tab-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: opacity var(--transition); }
.tab-btn .count { font-size: .7rem; font-weight: 600; background: var(--stone); color: var(--text-muted); padding: .1rem .4rem; border-radius: 100px; transition: all var(--transition); }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--sapphire); border-bottom-color: var(--sapphire); }
.tab-btn.active svg { opacity: 1; }
.tab-btn.active .count { background: rgba(2,132,199,.12); color: var(--sapphire); }
.tab-panel { display: none; padding: 4rem 0 2rem; }
.tab-panel.active { display: block; }
.panel-intro { font-size: 1rem; line-height: 1.7; color: var(--text-body); max-width: 680px; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--stone-dark); }
.panel-intro strong { color: var(--ink); font-weight: 600; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--stone-dark); border: 1px solid var(--stone-dark); border-radius: 4px; overflow: hidden; margin-bottom: 1.5rem; }
.svc-card { background: var(--chalk); padding: 2rem 2.25rem; transition: background var(--transition); position: relative; }
.svc-card__title { font-family: var(--ff-ui); font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: .375rem; line-height: 1.35; }
.svc-card__body { font-size: .8125rem; line-height: 1.65; color: var(--text-muted); }
.svc-card--featured { background: rgba(2,132,199,.04); }
.svc-card--featured .svc-card__title { color: var(--sapphire); }
.hp-services-footer { margin-top: 2.5rem; text-align: center; padding-top: 2.5rem; border-top: 1px solid var(--stone-dark); }

/* ── PLATFORM BREAKDOWN ── */
.platform-section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--stone-dark); }
.platform-section__heading { font-family: var(--ff-display); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; }
.platform-section__sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.6; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.platform-card { background: var(--chalk); border: 1.5px solid var(--stone-dark); border-radius: 6px; padding: 1.75rem; }
.platform-card--featured { border-color: var(--sapphire); position: relative; }
.platform-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--sapphire); color: var(--chalk); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .75rem; border-radius: 0 0 6px 6px; white-space: nowrap; }
.platform-card__name { font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-bottom: .2rem; }
.platform-card__sub { font-size: .75rem; color: var(--text-muted); margin-bottom: 1.125rem; }
.platform-card__list { display: flex; flex-direction: column; gap: .4rem; }
.platform-card__list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; color: var(--text-body); line-height: 1.4; }
.platform-card__list li::before { content: ''; display: block; width: 13px; height: 13px; flex-shrink: 0; margin-top: .1rem; border-radius: 50%; background: rgba(2,132,199,.15); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%230284C7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; }

/* ── SERVICES PAGE — STICKY TAB NAV ── */
.tabs-section { background: var(--chalk); }
.tabs-nav-wrap { position: sticky; top: 72px; z-index: 50; background: var(--chalk); border-bottom: 1px solid var(--stone-dark); }

/* ── PAGE HERO (services page) ── */
.page-hero { background: var(--ink); padding: 9rem 0 5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(2,132,199,.1) 0%, transparent 70%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero__eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.page-hero__eyebrow-line { display: block; width: 2.5rem; height: 1px; background: var(--sapphire); }
.page-hero__eyebrow-text { font-weight: 500; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sapphire); }
.page-hero__title { font-family: var(--ff-display); font-style: italic; font-weight: 500; font-size: clamp(2.5rem,5vw,4rem); line-height: 1.1; color: var(--chalk); margin-bottom: 1.25rem; }
.page-hero__sub { font-size: 1.125rem; line-height: 1.65; color: rgba(247,245,242,.6); max-width: 520px; }

/* ── DIFFERENTIATOR / HUMAN ELEMENT ── */
.human { background: var(--stone); padding: var(--space-xl) 0; overflow: hidden; }
.human__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.human__image-col { position: relative; }
.human__image-wrap { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; background: var(--stone-dark); }
.human__image-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--text-muted); background: linear-gradient(135deg, #DDD8D2 0%, #CCC8C2 100%); font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase; }
.human__image-placeholder svg { width: 40px; height: 40px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.human__image-wrap::before { content: ''; position: absolute; bottom: -1.5rem; left: -1.5rem; width: 8rem; height: 8rem; border: 1.5px solid var(--sapphire); border-radius: 4px; z-index: 0; }
.human__text-col { position: relative; }
.human__rule { position: absolute; left: -2.5rem; top: 0.5rem; width: 1px; height: 100%; background: linear-gradient(to bottom, var(--sapphire) 0%, transparent 100%); }
.human__quote { font-family: var(--ff-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem,3vw,2.25rem); line-height: 1.25; color: var(--ink); margin-bottom: 2rem; }
.human__body { color: var(--text-body); margin-bottom: 2.5rem; }
.human__name { display: flex; align-items: center; gap: 1rem; }
.human__name-line { width: 2rem; height: 1px; background: var(--sapphire); }
.human__name-text { font-family: var(--ff-ui); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.human__name-role { font-weight: 400; color: var(--text-muted); font-size: 0.875rem; }

/* ── FOUNDER PORTRAITS (two-up layout) ── */
.human__portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; }
.human__portraits::before { content: ''; position: absolute; bottom: -1.5rem; left: -1.5rem; width: 8rem; height: 8rem; border: 1.5px solid var(--sapphire); border-radius: 4px; z-index: 0; pointer-events: none; }
.human__portrait { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; background: var(--stone-dark); }
.human__portrait--offset { margin-top: 2.5rem; }
.human__portrait-label { position: absolute; bottom: 0.75rem; left: 0.75rem; background: rgba(26,31,46,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--chalk); font-family: var(--ff-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.3rem 0.7rem; border-radius: 3px; }

/* ── CTA SECTION ── */
.cta-section { background: var(--ink); padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(2,132,199,.1) 0%, transparent 70%); pointer-events: none; }
.cta-section__inner { position: relative; z-index: 1; text-align: center; max-width: 700px; }
.cta-section__headline { color: var(--chalk); margin-bottom: 1.25rem; }
.cta-section__sub { color: rgba(247,245,242,.6); max-width: 480px; margin-inline: auto; margin-bottom: 3rem; }
.cta-section__actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--ink-soft); padding: 5rem 0 2.5rem; color: rgba(247,245,242,.6); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2rem; }
.footer__brand-statement { font-size: 0.9375rem; line-height: 1.65; max-width: 280px; margin-top: 1.25rem; }
.footer__logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.footer__logo img, .footer__logo .custom-logo-link img { height: 32px; width: auto; }
.footer__logo-text { font-weight: 600; font-size: 0.9375rem; color: var(--chalk); }
.footer__heading { font-family: var(--ff-ui); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(247,245,242,.35); margin-bottom: 1.25rem; }
.footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__nav-link { font-size: 0.9375rem; color: rgba(247,245,242,.6); transition: color var(--transition); }
.footer__nav-link:hover { color: var(--chalk); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer__contact-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15rem; opacity: .5; }
.footer__contact-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact-text { font-size: 0.9375rem; line-height: 1.5; }
.footer__contact-text a { color: rgba(247,245,242,.6); transition: color var(--transition); }
.footer__contact-text a:hover { color: var(--chalk); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__legal { font-size: 0.8125rem; color: rgba(247,245,242,.3); }

/* ── STATUS PULSE — The Signature Move ── */
.status-pulse { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; padding: 0.5rem 0.875rem; background: rgba(2,132,199,.1); border: 1px solid rgba(2,132,199,.2); border-radius: 100px; }
.status-pulse__dot { width: 7px; height: 7px; background: var(--sapphire); border-radius: 50%; flex-shrink: 0; animation: statusPulse 2.5s ease-in-out infinite; }
.status-pulse__text { font-family: var(--ff-ui); font-weight: 500; font-size: 0.75rem; color: var(--sapphire); letter-spacing: 0.03em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 0.7; transform: scaleY(1.15); } }
@keyframes statusPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(2,132,199,.5); } 50% { box-shadow: 0 0 0 5px rgba(2,132,199,0); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__shield-wrap { display: none; }
}
@media (max-width: 900px) {
  .howitworks__steps { grid-template-columns: 1fr; gap: 3rem; }
  .howitworks__connector { display: none; }
  .howitworks__step { padding: 0; }
  .howitworks__step-icon { margin-bottom: 1.25rem; }
  .human__inner { grid-template-columns: 1fr; gap: 3rem; }
  .human__rule { display: none; }
  .human__image-wrap { aspect-ratio: 16/9; max-height: 400px; }
  .human__image-wrap::before { display: none; }
  .human__portraits { max-width: 480px; }
  .human__portraits::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .nav__links, .nav__cta { display: none; }
  .nav__mobile-toggle { display: block; }
  .nav__drawer { display: flex; }
  .nav__overlay { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
  .proof__inner { grid-template-columns: 1fr 1fr; }
  .proof__divider { display: none; }
  .tab-btn { padding: .875rem 1rem; font-size: .8125rem; }
}
@media (max-width: 600px) {
  .proof__divider { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__trust-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero__aud-btn { font-size: 0.75rem; padding: 0.3rem 0.7rem; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__actions .btn { width: 100%; justify-content: center; max-width: 320px; }
  .team-grid { grid-template-columns: 1fr; }
  .human__portraits { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .human__portrait--offset { margin-top: 0; }
  .section-header { margin-bottom: 2.5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
}

/* ── WORDPRESS ADMIN BAR OFFSET ── */
/* Prevents fixed nav from sitting under the WP admin bar when logged in */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}

/* ── HERO TRUST ROW ── */
.hero__trust-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards; }
.hero__trust-row span { font-family: var(--ff-ui); font-size: 0.8125rem; font-weight: 500; color: rgba(247,245,242,.5); letter-spacing: 0.03em; display: flex; align-items: center; gap: 0.4rem; }
.hero__trust-row span::before { content: '✓'; color: var(--sapphire); font-weight: 700; }

/* ── UTILITY ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
/* Lift container above position:absolute overlays (e.g. .dot-overlay) */
.container--above { position: relative; z-index: 1; }

/* ── TRUST PILLARS (replaces proof stats) ── */
.proof { background: var(--chalk); border-top: 1px solid var(--stone-dark); border-bottom: 1px solid var(--stone-dark); padding: 5rem 0; position: relative; }
.trust-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; position: relative; z-index: 1; }
.proof::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(2,132,199,.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.trust-pillar { background: var(--chalk); border: 1.5px solid var(--stone-dark); border-radius: 12px; padding: 1.75rem; transition: all .25s ease; box-shadow: 0 1px 4px rgba(0,0,0,.04); position: relative; z-index: 1; will-change: transform; }
.trust-pillar:hover { box-shadow: 0 6px 24px rgba(2,132,199,.1); transform: translateY(-2px); border-color: rgba(2,132,199,.3); }
.trust-pillar__icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(2,132,199,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.trust-pillar__icon svg { width: 22px; height: 22px; stroke: var(--sapphire); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.trust-pillar__title { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: .5rem; line-height: 1.3; }
.trust-pillar__body { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }
.trust-pillar__icon--orange { background: rgba(249,115,22,0.1); }
.trust-pillar__icon--orange svg { stroke: var(--accent-orange); }
.trust-pillar__icon--green  { background: rgba(52,211,153,0.1); }
.trust-pillar__icon--green  svg { stroke: var(--accent-green); }
.trust-pillar__icon--purple { background: rgba(167,139,250,0.1); }
.trust-pillar__icon--purple svg { stroke: var(--accent-purple); }

/* ── ICON CARDS (Why Us differentiators) ── */
.icon-card { background: var(--chalk); border: 1.5px solid var(--stone-dark); border-radius: 10px; padding: 2rem; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; box-shadow: 0 1px 4px rgba(0,0,0,.04); will-change: transform; }
.icon-card:hover { border-color: var(--sapphire); box-shadow: 0 4px 24px rgba(2,132,199,.12); transform: translateY(-2px); }
.icon-card__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(2,132,199,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background .25s ease; }
.icon-card:hover .icon-card__icon { background: var(--sapphire); }
.icon-card__icon svg { width: 24px; height: 24px; stroke: var(--sapphire); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s ease; }
.icon-card:hover .icon-card__icon svg { stroke: var(--chalk); }
.icon-card__title { font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: .5rem; line-height: 1.3; }
.icon-card__body { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── INDUSTRY CARDS ── */
.ind-card { background: var(--chalk); border: 1px solid var(--stone-dark); border-radius: 8px; padding: 1.75rem; transition: box-shadow .25s ease, transform .25s ease; will-change: transform; position: relative; overflow: hidden; }
.ind-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sapphire); transform: scaleX(0); transition: transform .25s ease; }
.ind-card:hover::before { transform: scaleX(1); }
.ind-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.ind-card__emoji { font-size: 2rem; margin-bottom: .875rem; display: block; }
.ind-card__title { font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .4rem; }
.ind-card__body { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── SERVICE CARDS (updated — rounded, gapped) ── */
/* Note: overrides earlier .svc-grid definition (tile-border style) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.125rem; margin-bottom: 1.5rem; background: transparent; border: none; border-radius: 0; overflow: visible; }
.svc-card { background: var(--chalk); padding: 1.5rem 1.5rem 1.5rem 1.375rem; border: 1px solid var(--stone-dark); border-radius: 12px; border-left: 4px solid var(--sapphire); box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: box-shadow .25s ease, transform .25s ease, border-left-color .25s ease; display: flex; flex-direction: column; gap: .75rem; will-change: transform; }
.svc-card:hover { box-shadow: 0 10px 36px rgba(2,132,199,.14); transform: translateY(-3px); border-left-color: var(--sap-dark); }
.svc-card__icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, rgba(2,132,199,.14), rgba(56,189,248,.08)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-card__icon svg { width: 22px; height: 22px; stroke: var(--sapphire); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-card__title { font-family: var(--ff-ui); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.svc-card__body { font-size: .875rem; line-height: 1.7; color: var(--text-body); }
.svc-card--featured { border-left-color: var(--sap-dark); background: linear-gradient(135deg, rgba(2,132,199,.05), rgba(56,189,248,.02)); }
.svc-card--featured .svc-card__icon { background: linear-gradient(135deg, rgba(2,132,199,.2), rgba(56,189,248,.12)); }
.svc-card--featured .svc-card__title { color: var(--sap-dark); }

/* ── PARTICLE CANVAS ── */
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ── HERO TWO-COLUMN LAYOUT ── */
.hero__layout { display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 3rem; min-height: inherit; }

/* ── FLYING SHIELD ── */
.hero__shield-wrap { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.shield-container { position: relative; width: 320px; height: 360px; animation: shieldFlyIn 1.2s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
@keyframes shieldFlyIn { from { transform: translateX(80px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.shield-svg-el { width: 100%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 0 28px rgba(56,189,248,0.75)) drop-shadow(0 0 56px rgba(2,132,199,0.5)); animation: shieldFloat 5s ease-in-out infinite; }
@keyframes shieldFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }

.shield-glow-ring { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(2,132,199,0.28) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; animation: glowPulse 3.5s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; } 50% { transform: translate(-50%,-50%) scale(1.25); opacity: 1; } }

.shield-streaks { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 9px; z-index: 1; }
.shield-streaks span { display: block; height: 2px; border-radius: 2px; background: linear-gradient(to right, rgba(56,189,248,0.9), transparent); animation: streakPulse 2.5s ease-in-out infinite; }
@keyframes streakPulse { 0%, 100% { opacity: 0.35; transform: scaleX(0.75); } 50% { opacity: 1; transform: scaleX(1); } }

/* ── MEET THE TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 840px; margin: 0 auto; }
.team-card { background: var(--chalk); border: 1.5px solid var(--stone-dark); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; will-change: transform; }
.team-card:hover { box-shadow: 0 10px 40px rgba(2,132,199,.12); transform: translateY(-3px); }
.team-card__photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team-card__info { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.team-card__name { font-size: 1.375rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.team-card__role { font-size: .8125rem; font-weight: 600; color: var(--sapphire); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1rem; }
.team-card__bio { font-size: .9375rem; color: var(--text-body); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.team-card__contact { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s; }
.team-card__contact:hover { color: var(--sapphire); }

/* ── GOOGLE REVIEWS MARQUEE ── */
.reviews-marquee { overflow: hidden; padding: 1rem 0; cursor: default; }
.reviews-track { display: flex; gap: 1.25rem; width: max-content; animation: reviewsScroll 50s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviewsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { background: var(--chalk); border: 1.5px solid var(--stone-dark); border-radius: 12px; padding: 1.5rem 1.75rem; width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: .75rem; transition: box-shadow .2s; }
.review-card:hover { box-shadow: 0 6px 24px rgba(2,132,199,.1); }
.review-card__stars { color: var(--star-gold); font-size: 1rem; letter-spacing: 2px; }
.review-card__text { font-size: .9rem; color: var(--text-body); line-height: 1.65; flex: 1; font-style: italic; }
.review-card__author { font-size: .8125rem; font-weight: 700; color: var(--ink); }

/* ── CATEGORY CHIPS (service overview pill tags) ── */
.cat-chips-wrap { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; }
.cat-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--stone); border: 1px solid var(--stone-dark); border-radius: 99px; padding: 0.35rem 0.9rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.cat-chip svg { flex-shrink: 0; }

/* ── REVIEWS HEADER STARS ── */
.reviews-header__stars { color: var(--star-gold); font-size: 1.375rem; letter-spacing: 2px; }

/* ── NO-HOVER DEVICES (touch) — prevent sticky hover states ── */
@media (hover: none) {
  .svc-card:hover,
  .trust-pillar:hover,
  .icon-card:hover,
  .ind-card:hover,
  .team-card:hover,
  .review-card:hover { transform: none; box-shadow: none; }
  .icon-card:hover .icon-card__icon { background: rgba(2,132,199,.1); }
  .icon-card:hover .icon-card__icon svg { stroke: var(--sapphire); }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__pill, .hero__headline, .hero__sub, .hero__audience, .hero__actions, .hero__badges, .hero__trust-row, .hero__scroll-hint { opacity: 1; }
  .shield-container { animation: none; opacity: 1; }
  .shield-svg-el { animation: none; }
  .shield-glow-ring { animation: none; }
  .shield-streaks span { animation: none; opacity: 0.6; }
  .reviews-track { animation: none; }
  .status-pulse__dot { animation: none; }
  .scroll-arrow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── SECTION UTILITIES ── */
/* Replaces repeated inline style="background:...;padding:..." patterns in front-page.php */
.section-chalk          { background: var(--chalk); padding: var(--space-xl) 0; }
.section-chalk--overflow { background: var(--chalk); padding: var(--space-xl) 0; overflow: hidden; }
.section-stone          { background: var(--stone);  padding: var(--space-xl) 0; position: relative; }

/* Dot-grid decoration overlay — add <div class="dot-overlay" aria-hidden="true"></div>
   as first child of a position:relative section */
.dot-overlay { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(2,132,199,.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }

/* Layout grids extracted from inline styles */
.why-us-grid      { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.industries-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }

/* Tablet: ensure why-us and industries grids don't over-compress */
@media (max-width: 768px) {
  .why-us-grid      { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .industries-grid  { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* Mobile: reduce hero top padding so headline lands higher on small screens */
@media (max-width: 700px) {
  .hero__content { padding-top: 5.5rem; padding-bottom: 3.5rem; }
}

/* ── DIVI BUILDER COMPATIBILITY ── */
/* Full-width Divi page template — remove default body padding & let Divi sections reach the edges */
.tt-divi-page { padding-top: 0 !important; padding-bottom: 0 !important; }
.tt-divi-page--padded { padding-top: 72px; }
.tt-divi-page .et_pb_section { width: 100%; }
/* Prevent Divi's own fonts from being overridden by theme reset */
.et_pb_module, .et_pb_row, .et_pb_section { font-family: inherit; }
/* Preserve design tokens inside Divi modules */
.et_pb_module { --sapphire: #0284C7; --ink: #0F172A; --chalk: #FFFFFF; }
/* Keep footer logo from clipping inside Divi layouts */
.footer__logo-img { max-width: none; height: 32px; width: auto; display: block; }

/* ── SECTION HEADER UTILITIES ── */
/* Use .section-header--narrow to constrain header blocks to 640px without inline styles */
.section-header--narrow { max-width: 640px; }

/* ── PORTRAIT IMAGES ── */
/* Fills .human__portrait containers cleanly — replaces repeated inline style attributes */
.portrait-img { width: 100%; height: 100%; object-fit: cover; display: block; }
