/* The Accountability Group LLC
   Static one-page website
*/

:root {
  --navy: #0b1f3a;
  --navy-2: #102b4f;
  --blue: #1f5f99;
  --blue-soft: #eaf2f8;
  --gold: #c6923a;
  --ink: #172234;
  --muted: #5e6a79;
  --line: #dfe6ec;
  --surface: #f6f8fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(223, 230, 236, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.18);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
  color: var(--navy);
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background:
    radial-gradient(circle at 82% 16%, rgba(198, 146, 58, 0.18), transparent 26%),
    radial-gradient(circle at 16% 88%, rgba(31, 95, 153, 0.17), transparent 27%),
    linear-gradient(135deg, #f8fbfd 0%, #eef4f8 58%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(2.55rem, 5.2vw, 5rem);
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #3f4d5e;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.2);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--navy-2);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 7px 11px;
  border: 1px solid rgba(31, 95, 153, 0.17);
  border-radius: 999px;
  color: #36516c;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(150deg, var(--navy) 0%, #163f6c 100%);
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 20px;
  color: #bad4e8;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

.panel-callout {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-callout strong {
  font-size: 1.1rem;
}

.panel-callout p {
  margin: 7px 0 0;
  color: #d6e4ee;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--surface);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.split p:first-child {
  margin-top: 0;
}

.outcomes-grid,
.services-grid,
.audience-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

.outcomes-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.outcomes-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.outcomes-grid h3,
.service-card h3,
.audience-grid h3,
.process-grid h3 {
  margin: 0;
  color: var(--navy);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading > p:last-child {
  font-size: 1.05rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.05);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 1.34rem;
  line-height: 1.25;
}

.service-card ul {
  padding-left: 19px;
  margin: 20px 0 0;
  color: var(--muted);
}

.service-card li {
  margin: 8px 0;
}

.assessment {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(11, 31, 58, 0.97), rgba(16, 63, 108, 0.95)),
    radial-gradient(circle at top right, rgba(198, 146, 58, 0.5), transparent 38%);
}

.assessment h2,
.assessment h3 {
  color: var(--white);
}

.assessment p {
  color: #d4e0ea;
}

.assessment .eyebrow {
  color: #f0c879;
}

.assessment-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.deliverables {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.check-list.light li::before {
  color: #f0c879;
}

.audience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.audience-grid article {
  padding: 30px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.about-card,
.about-copy {
  padding: 38px;
  border-radius: var(--radius);
}

.about-card {
  color: var(--white);
  background: var(--navy);
}

.about-card h2 {
  color: var(--white);
}

.about-card p {
  color: #d6e1eb;
}

.about-card .eyebrow {
  color: #f0c879;
}

.about-copy {
  border: 1px solid var(--line);
  background: var(--white);
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-grid article {
  padding: 23px;
  border-top: 3px solid var(--blue);
  background: var(--surface);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(180deg, #f9fbfc 0%, #edf3f7 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.direct-contact {
  margin-top: 28px;
  font-weight: 700;
}

.direct-contact a {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd6df;
  border-radius: 9px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(31, 95, 153, 0.18);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
}

.site-footer {
  padding: 38px 0;
  color: #d7e1eb;
  background: #071526;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 26px;
  align-items: center;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #afbdc9;
}

.site-footer p {
  margin: 5px 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: #d7e1eb;
}


.case-study-section {
  background: var(--white);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.case-study-heading h2 {
  max-width: 620px;
}

.case-study-intro {
  max-width: 620px;
  font-size: 1.05rem;
}

.case-study-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(234, 242, 248, 0.85), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

.case-study-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(var(--blue), var(--gold));
}

.case-study-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-card p {
  margin: 0 0 17px;
  color: #405064;
}

.case-study-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.case-study-services span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(31, 95, 153, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .assessment-grid,
  .about-grid,
  .contact-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .services-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .hero {
    padding: 70px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .section {
    padding: 68px 0;
  }

  .outcomes-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .hero-panel,
  .service-card,
  .about-card,
  .about-copy,
  .contact-form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
