:root {
  --navy: #0c2f4d;
  --navy-mid: #16436a;
  --navy-deep: #071b2c;
  --green: #7cbe2a;
  --green-bright: #8fd13a;
  --green-dark: #4f8618;
  --green-soft: #eef8e3;
  --slate: #5c6672;
  --ink: #15202b;
  --muted: #6b7580;
  --line: #dce3ea;
  --paper: #f4f7f6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 44, 0.1);
  --radius: 18px;
  --header: 84px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark, #4f8618);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  color: var(--slate);
}

.lead {
  font-size: 1.18rem;
  max-width: 68ch;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  margin-top: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 27, 44, 0.06);
}

.nav {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 11px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-soft);
  color: var(--navy);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 18px !important;
}

.nav-cta:hover {
  background: var(--green) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: var(--navy-deep);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 44, 0.88) 0%, rgba(12, 47, 77, 0.72) 48%, rgba(12, 47, 77, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 27, 44, 0.15), rgba(7, 27, 44, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 90px;
  width: min(var(--max), calc(100% - 40px));
}

.hero .eyebrow {
  color: var(--green-bright);
}

.hero h1 {
  color: var(--white);
  max-width: 16ch;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  margin-top: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.hero-meta div strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  color: var(--white);
}

.hero-meta div span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

/* Cards & grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.grid-3,
.grid-4,
.cards {
  display: grid;
  gap: 22px;
}

.grid-3,
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4,
.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--navy);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.card-link::after {
  content: "→";
  margin-left: 6px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--slate);
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  color: var(--navy);
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Domain tiles */
.domain-tile {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.domain-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.domain-tile:hover img {
  transform: scale(1.06);
}

.domain-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 27, 44, 0.86));
}

.domain-tile span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 650;
  font-size: 1.2rem;
  padding: 22px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--navy);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}

tbody th {
  width: 34%;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

tr:nth-child(even) td {
  background: #f8fafb;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  align-items: stretch;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  margin-bottom: 16px;
}

.team-card h3 {
  margin-bottom: 4px;
}

.role {
  color: var(--green-dark, #4f8618);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.98rem;
}

.team-card .bio {
  flex: 1;
}

/* Clients */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-mark {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.client-mark small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

/* Organogram */
.org {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.org-ceo,
.org-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  min-width: 180px;
}

.org-ceo {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.org-ceo h3,
.org-node h3 {
  font-size: 1rem;
  color: inherit;
}

.org-ceo p,
.org-node p {
  font-size: 0.88rem;
  color: inherit;
  opacity: 0.8;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.org-node.green {
  border-top: 4px solid var(--green);
}

.org-node.navy {
  border-top: 4px solid var(--navy);
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 650;
  font-family: "Outfit", sans-serif;
  color: var(--navy);
  font-size: 0.92rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 16px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--navy);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 27, 44, 0.88), rgba(12, 47, 77, 0.7)),
    url("../assets/images/hero-workshop.jpg") center/cover;
  color: var(--white);
  padding: 86px 0 72px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  max-width: 62ch;
}

.page-hero .eyebrow {
  color: var(--green-bright);
}

/* Accordion / practice blocks */
.practice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 18px;
}

.practice h3 {
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  background: var(--green-soft);
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer img {
  height: 64px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 8px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.footer a:hover {
  color: var(--green-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 72px 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: var(--header) 20px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cards.three,
  .cards.four,
  .stats,
  .client-grid,
  .footer-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 72px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cards.three,
  .cards.four,
  .stats,
  .client-grid,
  .footer-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .page-hero {
    padding-top: 56px;
  }
}
