/*
Theme Name: argosy
Theme URI: https://argosygroup.org
Author: argosygroup
Description: Custom classic theme for argosygroup — process excellence & digital transformation consulting. Navy + Signal Red design system, self-hosted Saira/Inter, no page-builder dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: argosy
*/

/* ==========================================================================
   argosy — design system
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/saira-var.woff2') format('woff2');
}

:root {
  --navy-900: #0B1F3A;
  --navy-800: #12294B;
  --navy-700: #1B3A66;
  --red-600: #E42313;
  --red-700: #C10E05;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, .14);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Saira', var(--font-body);
  --container: 1200px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-900); transition: color .15s ease; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.2em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tint { background: var(--slate-50); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  color: var(--red-600);
  margin-bottom: 14px;
}
.lead { font-size: 1.13rem; color: var(--slate-500); max-width: 720px; }
.prose { max-width: 800px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--red { background: var(--red-600); color: var(--white); }
.btn--red:hover { background: var(--red-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn:focus-visible { outline: 3px solid rgba(11,31,58,.35); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy-900);
  color: var(--white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.site-brand img { height: 34px; width: auto; display: block; }
.site-brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--white); }
.site-brand:hover { color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav__menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; }
.site-nav__menu > li { position: relative; }
.site-nav__menu > li > a {
  display: block;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 13px;
  border-radius: 6px;
  transition: color .15s ease, background-color .15s ease;
}
.site-nav__menu > li > a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.site-nav__menu > .current-menu-item > a,
.site-nav__menu > .current_page_item > a { color: var(--white); border-bottom: 2px solid var(--red-600); }
.site-nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 4px 0 0;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__menu .sub-menu a {
  display: block;
  color: var(--slate-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 6px;
}
.site-nav__menu .sub-menu a:hover { background: var(--slate-50); color: var(--red-600); }

.site-nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav__menu,
  .site-nav__cta {
    display: none;
  }
  .site-nav.is-open .site-nav__menu,
  .site-nav.is-open .site-nav__cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 12px 24px 22px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav.is-open .site-nav__menu { align-items: stretch; }
  .site-nav.is-open .site-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: var(--navy-800); border: 0; box-shadow: none; margin: 2px 0 4px 12px; }
  .site-nav.is-open .site-nav__menu .sub-menu a { color: rgba(255,255,255,.8); }
  .site-nav.is-open .site-nav__menu > li > a { color: var(--white); }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(27,58,102,.85), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 130px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero__title { color: var(--white); margin: 0 0 20px; }
.hero__title em { font-style: normal; color: var(--red-600); }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 42px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust-item strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.hero__trust-item span { color: rgba(255,255,255,.62); font-size: .92rem; }
.hero__panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero__panel h3 { color: var(--white); font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 12px; margin-bottom: 12px; }
.hero__panel ul { list-style: none; margin: 0; padding: 0; }
.hero__panel li { display: flex; gap: 10px; align-items: baseline; color: rgba(255,255,255,.85); font-size: .95rem; padding: 5px 0; }
.hero__panel li::before { content: "›"; color: var(--red-600); font-weight: 700; }
@media (max-width: 900px) {
  .hero { padding: 90px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__trust { gap: 24px; }
}

/* -------------------------------------------------------------- sections */
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head .lead { margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  display: block;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-100); }
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  color: var(--navy-900);
  font-size: 20px;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--slate-500); font-size: .95rem; margin-bottom: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-700);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
a.chip:hover { border-color: var(--red-600); color: var(--red-600); transform: translateY(-2px); }
.chip--dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.chip--dark:hover { border-color: var(--red-600); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.testimonial {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__quote { color: var(--slate-700); font-size: .98rem; margin: 0; }
.testimonial__footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  flex: none;
}
.testimonial__name { font-weight: 600; color: var(--slate-900); font-size: .95rem; }
.testimonial__role { color: var(--slate-500); font-size: .85rem; }

.band {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band h2 { color: var(--white); }
.band p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 26px; }
.band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------------- page */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 84px 0 72px;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lead { color: rgba(255,255,255,.78); }

/* ----------------------------------------------------------------- blog */
.post-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__body { padding: 22px 24px; }
.post-card__meta { color: var(--slate-500); font-size: .82rem; margin-bottom: 8px; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post-card p { color: var(--slate-500); font-size: .93rem; margin: 0; }

.single-post-prose { max-width: 760px; margin: 0 auto; }
.single-post-prose h1 { margin-bottom: 8px; }
.single-post-prose .byline { color: var(--slate-500); margin-bottom: 40px; font-size: .9rem; }
.single-post-prose img { border-radius: var(--radius-media, 12px); margin: 24px 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 64px 0 48px;
}
.site-footer h4 { color: var(--white); font-family: var(--font-head); font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--red-600); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .93rem; }
.site-footer__blurb { font-size: .93rem; margin-bottom: 18px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- onboarding */
/* the onboarding form (mu-plugin) renders its own scoped styles — nothing needed */

/* -------------------------------------------------------------- helpers */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }