:root {
  --deep: #0f241f;
  --dark: #1b4332;
  --green: #2d6a4f;
  --green-bright: #52b788;
  --green-soft: #eaf6ef;
  --cream: #fbfaf5;
  --light: #f3f7f2;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #62736b;
  --line: #dbe5dc;
  --shadow: 0 24px 60px rgba(15, 36, 31, 0.14);
  --shadow-soft: 0 14px 34px rgba(15, 36, 31, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 1.06rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 2rem)); margin: auto; }
.btn:focus-visible, .header-cta:focus-visible, .nav-toggle:focus-visible, .footer a:focus-visible, .research-link:focus-visible, .publication-links a:focus-visible, .contact-email-card:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  background: var(--deep);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}
.brand img { width: 78px; height: auto; flex: 0 0 auto; transition: transform 0.25s ease; }
.brand img:hover { transform: scale(1.035); }
.brand-name {
  max-width: 155px;
  color: var(--dark);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}
.main-nav { display: flex; gap: 1.45rem; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  color: #29453e;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--green); }
.mobile-nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-cta {
  padding: 0.85rem 1.2rem;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}
.header-cta:hover { background: var(--dark); transform: translateY(-2px); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 7.6rem 0 5.8rem;
  background: var(--deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,36,31,0.92) 0%, rgba(15,36,31,0.78) 48%, rgba(15,36,31,0.38) 100%),
    url("ags-home-hero-phase21-1280.webp") center / cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 36rem;
  height: 36rem;
  border: 1.4rem solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 3.25rem;
  align-items: center;
}
.eyebrow, .section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 900;
}
.hero h1, .section h1, .section h2, .trust-band h1, .trust-band h2, .image-feature h1, .image-feature h2, .aquaponic-section h1, .aquaponic-section h2 {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  letter-spacing: -0.04em;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0.8rem 0 1.25rem;
}
.hero p {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  color: #e4eee8;
  max-width: 66ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero-proof span, .hero-proof a {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill);
  color: #e9f3ec;
  font-weight: 800;
  font-size: 0.86rem;
}
.hero-proof a { text-decoration: none; }
.hero-proof a:hover { background: rgba(255,255,255,0.12); }

.btn {
  display: inline-block;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 1rem 1.45rem;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16); }
.btn-primary { background: var(--green-bright); color: var(--deep); box-shadow: var(--shadow); }
.btn-primary:hover { background: #74c69d; }
.btn-secondary { background: var(--white); color: var(--dark); }

.hero-card {
  background: rgba(255, 255, 255, 0.93);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  padding: 2.1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card h2 { margin: 0 0 0.35rem; font-family: "Montserrat", "Inter", Arial, sans-serif; line-height: 1.15; }
.hero-card p { margin-top: 0; color: var(--muted); font-size: 1rem; }
.quick-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.2rem;
}
.quick-list span {
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem;
  font-weight: 850;
  font-size: 0.93rem;
  color: var(--dark);
}

.option-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.option-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 88px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: center;
  padding: 1.15rem 1.3rem;
  background: var(--white);
  color: var(--dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.option-grid a:nth-child(-n + 4) { grid-column: span 3; }
.option-grid a:nth-child(n + 5) { grid-column: span 4; }
.option-grid a::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}
.option-grid a:hover { background: var(--green-soft); color: var(--green); }
.option-grid a:hover::after { transform: translateX(3px); }
.option-grid a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--green-bright);
  outline-offset: -3px;
}

.section { padding: 7rem 0; }
[id^="service-"], #published-research { scroll-margin-top: 110px; }
.section-head { max-width: 790px; margin-bottom: 2.4rem; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section h2, .trust-band h2, .image-feature h2, .aquaponic-section h2 {
  font-size: clamp(2.05rem, 3.5vw, 3.55rem);
  line-height: 1.08;
  margin: 0.65rem 0 1rem;
}
.section p, .trust-band p, .image-feature p, .aquaponic-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-section { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.5rem; align-items: center; }
.proof-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.proof-actions span {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.metrics-grid article {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.metrics-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
}
.metrics-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.metric-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.metrics-grid h3 {
  margin: 0 0 0.65rem;
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  color: var(--dark);
  font-size: 1.2rem;
  line-height: 1.25;
}
.metrics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.research-evidence {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 1.6rem 2rem;
  margin-top: 0.5rem;
  padding: 2rem;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--dark));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.research-evidence h3 {
  margin: 0.55rem 0 0.8rem;
  color: var(--white);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.16;
}
.research-evidence p {
  margin: 0;
  color: #d8e7df;
  font-size: 0.92rem;
  line-height: 1.6;
}
.evidence-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.evidence-stats article {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
}
.evidence-stats strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--green-bright);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}
.evidence-stats p { color: #e1ece6; font-size: 0.84rem; }
.evidence-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.evidence-links a {
  padding: 0.65rem 0.85rem;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
}
.evidence-links a::after { content: " \2197"; color: var(--green-bright); }
.evidence-links a:hover { background: rgba(255, 255, 255, 0.15); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.solution-card, .industry-grid article, .project-gallery article, .team-card, .contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}
.solution-card:hover, .industry-grid article:hover, .project-gallery article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 315px;
}
.solution-card.featured {
  grid-column: 1 / -1;
  min-height: auto;
  background: linear-gradient(135deg, var(--white), #eef8ef);
}
.solution-card h3, .industry-grid h3, .project-gallery h3, .team-card h3, .process-item h3 {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.solution-card h3 { font-size: 1.52rem; line-height: 1.18; }
.research-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}
.research-link::after { content: "\2197"; }
.research-link:hover { color: var(--dark); text-decoration: underline; }
.solution-card .research-link { margin-top: auto; padding-top: 1rem; }

.image-feature {
  background: var(--white);
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.image-feature-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 2.5rem; align-items: center; }
.feature-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.deliverable-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  list-style: none;
}
.deliverable-list li {
  position: relative;
  padding: 0.85rem 0.9rem 0.85rem 2.3rem;
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.4;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.deliverable-list li::before {
  content: "\2713";
  position: absolute;
  left: 0.85rem;
  color: var(--green);
  font-weight: 900;
}

.aquaponic-section { background: var(--cream); }
.aquaponic-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.aquaponic-photo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}
.aquaponic-photo-grid img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.aquaponic-photo-grid img:first-child {
  object-position: center;
}
.system-proof {
  margin-top: 1.4rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 0 18px 18px 0;
  box-shadow: var(--shadow-soft);
}
.system-proof span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.6;
}
.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.mini-points span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.9rem;
  font-weight: 850;
  color: var(--dark);
}
.aquaponic-section .research-link { margin-top: 1.35rem; }
.aquaponic-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.aquaponic-actions .research-link { margin: 0; }

.trust-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 4.5rem 0;
  background: linear-gradient(120deg, var(--deep), var(--dark));
}
.trust-band::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border: 1.2rem solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}
.trust-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.trust-band p { color: #d8e7df; max-width: 760px; }
.trust-band .btn-primary { white-space: nowrap; }
.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.trust-points span {
  padding: 0.55rem 0.75rem;
  color: #e6f1eb;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
}

.muted-section, .projects-section { background: var(--light); }
.process-head { max-width: 850px; }
.process-intro {
  max-width: 790px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.25rem;
  align-items: start;
  min-height: 235px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.process-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  opacity: 0.72;
}
.process-item:hover {
  transform: translateY(-3px);
  border-color: #c4d9ca;
  box-shadow: 0 18px 40px rgba(15, 36, 31, 0.11);
}
.step {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}
.process-item h3 { margin: 0.1rem 0 0.25rem; }
.process-item p { margin: 0; }
.process-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.2rem 1.35rem;
  background: #e5f2e9;
  border: 1px solid #cfe1d4;
  border-radius: var(--radius-lg);
}
.process-commitments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}
.process-commitments span {
  position: relative;
  padding-left: 1.15rem;
  color: #29453e;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.4;
}
.process-commitments span::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.industry-intro {
  max-width: 720px;
  margin: 0.8rem auto 0;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.industry-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  overflow: hidden;
}
.industry-grid article::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  border: 18px solid var(--green-soft);
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}
.industry-tag {
  align-self: flex-start;
  padding: 0.42rem 0.7rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}
.industry-grid h3 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0.55rem;
  font-size: 1.38rem;
  line-height: 1.2;
}
.industry-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1rem;
}
.industry-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.45rem 1.55rem;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.industry-cta p {
  max-width: 780px;
  margin: 0;
  color: #d8e7df;
  font-size: 1rem;
}
.industry-cta strong { color: var(--white); }
.industry-cta .btn { white-space: nowrap; }

.project-intro {
  max-width: 770px;
  margin: 0.8rem auto 0;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}
.project-gallery article { padding: 0; overflow: hidden; }
.project-gallery article {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.project-gallery article.project-featured { grid-column: span 3; }
.project-gallery img { width: 100%; height: 240px; object-fit: cover; }
.project-gallery .project-featured img { height: 330px; }
.project-gallery article div { display: flex; flex: 1; flex-direction: column; padding: 1.45rem; }
.project-gallery .project-kicker {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}
.project-gallery h3 { font-size: 1.28rem; line-height: 1.22; }
.project-gallery .project-featured h3 { font-size: 1.52rem; }
.project-gallery .research-link { margin-top: auto; padding-top: 0.8rem; }
.project-facts {
  display: grid !important;
  flex: 0 0 auto !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding: 0 !important;
}
.project-facts span {
  padding: 0.7rem;
  color: #29453e;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}
.project-facts strong {
  display: block;
  color: var(--green);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 1.12rem;
}
.project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.project-cta p { margin: 0; font-size: 1rem; }
.project-cta strong { color: var(--dark); }
.project-cta .btn { white-space: nowrap; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.03);
}

.team-section { background: var(--white); }
.team-grid { display: grid; grid-template-columns: 1.14fr 0.86fr; gap: 2.5rem; align-items: start; }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem; align-items: start; }
.founder-copy > p { max-width: 780px; }
.founder-strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.founder-strengths article {
  padding: 1rem;
  background: var(--green-soft);
  border: 1px solid #d2e5d7;
  border-radius: 18px;
}
.founder-strengths h3 {
  margin: 0 0 0.35rem;
  color: var(--dark);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}
.founder-strengths p {
  margin: 0;
  color: #53675e;
  font-size: 0.88rem;
  line-height: 1.55;
}
.founder-direct {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.2rem 1.25rem;
  background: var(--deep);
  border-radius: 20px;
}
.founder-direct p { margin: 0; color: #d8e7df; font-size: 0.95rem; }
.founder-direct strong { color: var(--white); }
.founder-direct .btn { justify-self: start; }
.team-card { background: linear-gradient(180deg, var(--white), #f3faf4); }
.founder-images {
  position: relative;
  margin-bottom: 1.25rem;
}
.team-card .founder-portrait {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 22px;
}
.team-card .founder-context {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border: 5px solid var(--white);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 36, 31, 0.24);
}
.founder-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.team-card h3 { margin: 0 0 0.2rem; font-size: 1.65rem; }
.team-card .founder-role { margin: 0; color: #53675e; font-size: 0.95rem; }
.founder-credentials {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.founder-credentials li {
  position: relative;
  padding-left: 1.3rem;
  color: #29453e;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}
.founder-credentials li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.tags span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.9rem;
  font-weight: 850;
}
.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.publication-links a {
  padding: 0.7rem 0.9rem;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.publication-links a::after { content: " \2197"; color: var(--green); }
.publication-links a:hover { color: var(--green); border-color: var(--green-bright); }

.intake-section { background: var(--white); }
.contact-copy { position: sticky; top: 7rem; }
.contact-intro { max-width: 60ch; color: var(--muted); }
.contact-email-card {
  display: grid;
  gap: 0.2rem;
  margin: 1.6rem 0;
  padding: 1.1rem 1.2rem;
  color: var(--dark);
  text-decoration: none;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 0 18px 18px 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-email-card:hover { border-color: var(--green-bright); transform: translateX(3px); }
.contact-email-card span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-email-card strong { overflow-wrap: anywhere; font-size: 0.96rem; }
.contact-expectations {
  margin-top: 1.6rem;
  padding: 1.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.contact-expectations h3 {
  margin: 0 0 1rem;
  color: var(--dark);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 1.05rem;
}
.contact-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 0.8rem; align-items: start; }
.contact-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 900;
  background: var(--green);
  border-radius: 50%;
}
.contact-steps p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.contact-steps strong { display: block; margin-bottom: 0.15rem; color: var(--dark); }
.contact-assurances { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.contact-assurances span {
  position: relative;
  padding: 0.5rem 0.75rem 0.5rem 1.7rem;
  color: #35574d;
  font-size: 0.78rem;
  font-weight: 850;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.contact-assurances span::before {
  content: "\2713";
  position: absolute;
  left: 0.7rem;
  color: var(--green);
  font-weight: 900;
}
.contact-form { display: grid; gap: 1.15rem; }
.form-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.form-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-heading h3 {
  margin: 0;
  color: var(--dark);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
}
.form-heading p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 850; color: #29453e; }
.required-mark { color: #b5472f; font-weight: 900; }
.optional {
  margin-left: 0.3rem;
  color: #788a81;
  font-size: 0.72rem;
  font-weight: 700;
}
input, select, textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 1rem 1rem;
  border: 1px solid #cbd8cf;
  border-radius: 16px;
  font: inherit;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.16);
}
textarea { resize: vertical; }
.hidden { display: none; }
.contact-form .btn { width: 100%; }
.form-assurance {
  position: relative;
  margin: -0.2rem 0 0;
  padding-left: 1.35rem;
  color: #718077;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}
.form-assurance::before { content: "\2713"; margin-right: 0.35rem; color: var(--green); font-weight: 900; }

.footer { background: var(--deep); color: var(--white); padding: 4.5rem 0 1.5rem; }
.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(82,183,136,0.09));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
}
.footer-cta h2 {
  max-width: 780px;
  margin: 0.35rem 0 0.6rem;
  color: var(--white);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.footer-cta p { max-width: 720px; color: #cfe0d7; font-size: 0.98rem; }
.footer-cta .btn { white-space: nowrap; }
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.95fr;
  gap: 3rem;
  align-items: start;
  padding: 3.2rem 0 2.5rem;
}
.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
}
.footer-brand-link img {
  width: 96px;
  height: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 0.35rem;
}
.footer-brand > p { max-width: 370px; color: #c8d9d0; font-size: 0.9rem; line-height: 1.65; }
.footer-meta { display: grid; gap: 0.35rem; margin-top: 1.1rem; }
.footer-meta span {
  position: relative;
  padding-left: 1.15rem;
  color: #9fb8ab;
  font-size: 0.78rem;
  font-weight: 750;
}
.footer-meta span::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
}
.footer-navigation { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 2rem; }
.footer-column { display: grid; align-content: start; gap: 0.4rem; }
.footer h3 {
  margin: 0 0 0.65rem;
  color: var(--white);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.footer-column a {
  width: fit-content;
  color: #c8d9d0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.footer-contact > p { margin: 0 0 1rem; color: #c8d9d0; font-size: 0.88rem; line-height: 1.65; }
.footer-email {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 4px;
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 0.9rem;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-linkedin-mark {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 4px;
  background: var(--green-bright);
  color: var(--deep);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.footer-linkedin:hover .footer-linkedin-mark { background: var(--white); }
.footer-contact-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--green-bright);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-contact-link span { transition: transform 0.2s ease; }
.footer-contact-link:hover span { transform: translateX(3px); }
.footer a:hover { color: var(--green-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.13);
}
.copyright { margin: 0; color: #9fb8ab; font-size: 0.78rem; }
.footer-research-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem 1.2rem; }
.footer-research-links a { color: #b8ccc1; font-size: 0.78rem; font-weight: 750; text-decoration: none; }

.thank-you-page { min-height: 100vh; background: var(--cream); }
.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}
.thank-you-card img { width: 150px; height: auto; margin: 0 auto 1.25rem; }
.thank-you-card h1 { max-width: 16ch; margin-right: auto; margin-left: auto; }
.thank-you-card > p { max-width: 58ch; margin-right: auto; margin-left: auto; color: var(--muted); }
.thank-you-next {
  max-width: 610px;
  margin: 1.6rem auto;
  padding: 1.15rem 1.25rem;
  text-align: left;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 0 18px 18px 0;
}
.thank-you-next span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.thank-you-next p { margin: 0.25rem 0 0; color: #3c554b; font-size: 0.92rem; line-height: 1.6; }
.thank-you-email a { color: var(--green); font-weight: 850; overflow-wrap: anywhere; }
.thank-you-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.thank-you-actions .btn-secondary { border: 1px solid var(--line); }

@media (max-width: 1100px) {
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .project-gallery article, .project-gallery article.project-featured { grid-column: auto; }
}

@media (max-width: 980px) {
  .hero-grid, .intake-grid, .trust-grid, .proof-grid, .image-feature-grid, .aquaponic-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  .solutions-grid, .industry-grid, .metrics-grid, .aquaponic-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .research-evidence { grid-template-columns: 1fr; }
  .evidence-stats { grid-template-columns: repeat(3, 1fr); }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid a { grid-column: auto !important; }
  .option-grid a:last-child { grid-column: 1 / -1 !important; }
  .nav-wrap { position: relative; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.8rem 0.9rem; border-radius: 12px; }
  .main-nav a:hover { background: var(--green-soft); }
  .mobile-nav-cta { display: none !important; }
  .solution-card.featured { grid-column: 1 / -1; }
  .trust-band .btn-primary { width: fit-content; }
  .footer-cta, .footer-main { grid-template-columns: 1fr; }
  .footer-cta .btn { width: fit-content; }
  .footer-main { gap: 2rem; }
  .footer-brand > p { max-width: 600px; }
  .footer-navigation { max-width: 650px; }
  .feature-image img { height: 430px; }
  .hero-grid { gap: 2.25rem; }
  .founder-strengths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-copy { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(1180px, calc(100% - 1.25rem)); }
  .nav-wrap { min-height: auto; gap: 0.65rem; padding: 0.75rem 0; }
  .brand { gap: 0.55rem; }
  .brand img { width: 54px; }
  .brand-name { max-width: 126px; font-size: 0.72rem; }
  .nav-toggle { width: 44px; height: 44px; border-radius: 12px; }
  .header-cta { display: none; }
  .main-nav .mobile-nav-cta {
    display: block !important;
    margin-top: 0.45rem;
    background: var(--green);
    color: var(--white);
    text-align: center;
  }
  .main-nav .mobile-nav-cta:hover { background: var(--dark); color: var(--white); }
  .hero { padding: 3.9rem 0 3.25rem; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(15,36,31,0.92) 0%, rgba(15,36,31,0.82) 100%),
      url("ags-home-hero-phase21-960.webp") center / cover no-repeat;
  }
  .hero-grid { gap: 1.8rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.08; }
  .hero p { font-size: 1.02rem; line-height: 1.65; }
  .hero-actions { gap: 0.7rem; margin-top: 1.6rem; }
  .hero-proof { gap: 0.5rem; margin-top: 1.25rem; }
  .hero-proof span, .hero-proof a { padding: 0.4rem 0.65rem; font-size: 0.78rem; }
  .hero-card { padding: 1.35rem; }
  .quick-list span { padding: 0.8rem; }
  .section { padding: 4rem 0; }
  .image-feature { padding: 4rem 0; }
  .trust-band { padding: 3.7rem 0; }
  .section h2, .trust-band h2, .image-feature h2, .aquaponic-section h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    line-height: 1.1;
  }
  .solutions-grid, .industry-grid, .project-gallery, .quick-list, .metrics-grid {
    grid-template-columns: 1fr;
  }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid a { min-height: 90px; padding: 0.85rem 0.7rem; font-size: 0.82rem; }
  .option-grid a:last-child { grid-column: 1 / -1 !important; }
  .research-evidence { padding: 1.3rem; border-radius: 22px; }
  .evidence-stats { grid-template-columns: 1fr; }
  .evidence-links { flex-direction: column; }
  .evidence-links a { width: 100%; text-align: center; }
  .solution-card.featured { grid-column: auto; }
  .solution-card { min-height: auto; padding: 1.35rem; }
  .solution-card h3 { font-size: 1.35rem; }
  .industry-grid article { min-height: auto; }
  .industry-cta { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
  .industry-cta .btn { width: fit-content; }
  .founder-strengths { grid-template-columns: 1fr; }
  .founder-direct { padding: 1.1rem; }
  .project-cta { grid-template-columns: 1fr; gap: 1rem; padding: 1.2rem; }
  .project-cta .btn { width: fit-content; }
  .metrics-grid article { min-height: auto; padding: 1.35rem; }
  .deliverable-list { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 52px 1fr; gap: 0.9rem; padding: 1.15rem; }
  .step { width: 48px; height: 48px; font-size: 1.1rem; }
  .process-item { min-height: auto; }
  .process-close { grid-template-columns: 1fr; padding: 1.1rem; }
  .process-close .btn { width: fit-content; }
  .feature-image img { height: 260px; }
  .team-card .founder-portrait { height: 430px; }
  .team-card .founder-context { width: 46%; height: 125px; right: 0.75rem; bottom: 0.75rem; }
  .project-gallery img { height: 220px; }
  .project-gallery .project-featured img { height: 260px; }
  .project-facts { grid-template-columns: 1fr; }
  .aquaponic-photo-grid, .photo-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.35rem 0.625rem 0.8rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .aquaponic-photo-grid img, .photo-strip img {
    flex: 0 0 86%;
    width: 86%;
    height: 260px;
    border-radius: 18px;
    scroll-snap-align: center;
  }
  .hero-card, .solution-card, .industry-grid article, .project-gallery article, .team-card, .contact-form, .thank-you-card {
    border-radius: 22px;
  }
  .contact-form { padding: 1.3rem; }
  .form-grid { grid-template-columns: 1fr; }
  input, select, textarea { min-height: 54px; padding: 0.85rem; font-size: 1rem; }
  textarea { min-height: 150px; }
  .publication-links { flex-direction: column; }
  .publication-links a { width: 100%; text-align: center; }
  .footer { padding: 3.5rem 0 1.25rem; }
  .footer-cta { gap: 1.2rem; padding: 1.5rem; }
  .footer-main { padding: 2.5rem 0 2rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-research-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .container { width: min(1180px, calc(100% - 1rem)); }
  .brand img { width: 50px; }
  .brand-name { max-width: 112px; font-size: 0.68rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.55rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .proof-actions .btn, .image-feature .btn, .aquaponic-actions .btn, .trust-band .btn {
    width: 100%;
    text-align: center;
  }
  .option-grid { grid-template-columns: 1fr; }
  .option-grid a { min-height: 70px; }
  .option-grid a:last-child { grid-column: auto !important; }
  .aquaponic-actions { align-items: stretch; flex-direction: column; }
  .aquaponic-actions .research-link { justify-content: center; padding: 0.6rem; text-align: center; }
  .trust-points { display: grid; grid-template-columns: 1fr; }
  .trust-points span { text-align: center; }
  .process-close .btn { width: 100%; text-align: center; }
  .process-commitments { display: grid; gap: 0.65rem; }
  .industry-cta .btn { width: 100%; text-align: center; white-space: normal; }
  .project-cta .btn { width: 100%; text-align: center; white-space: normal; }
  .founder-direct .btn { width: 100%; text-align: center; }
  .footer-navigation { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-cta .btn { width: 100%; text-align: center; white-space: normal; }
  .footer-research-links { display: grid; gap: 0.55rem; }
  .thank-you-card { padding: 1.5rem; }
  .contact-assurances { display: grid; grid-template-columns: 1fr; }
  .contact-assurances span { width: fit-content; }
  .thank-you-actions { flex-direction: column; }
  .thank-you-actions .btn { width: 100%; text-align: center; }
}

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

/* AGS homepage version 2 */
.hero-v2 { padding: 7rem 0 6rem; }
.hero-v2 .hero-content { max-width: 760px; }
.hero-v2 h1 { max-width: 11.5ch; }
.compact-hero-card { padding: 2rem; }
.compact-hero-card h2 { margin: .65rem 0 .75rem; font-size: clamp(1.55rem,2.4vw,2.2rem); }
.text-link { display:inline-flex; gap:.4rem; align-items:center; margin-top:1rem; color:var(--green); font-weight:900; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.problem-section { background:var(--white); }
.problem-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.problem-grid a { text-decoration:none; background:var(--light); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1.5rem; min-height:220px; transition:.25s ease; }
.problem-grid a:hover { transform:translateY(-4px); box-shadow:var(--shadow-soft); border-color:#c4d9ca; }
.problem-grid span { color:var(--green); font-weight:900; font-size:.8rem; letter-spacing:.12em; }
.problem-grid h3 { color:var(--dark); font-family:"Montserrat","Inter",sans-serif; line-height:1.25; margin:.85rem 0 .55rem; }
.problem-grid p { margin:0; font-size:.98rem; }
.home-services { background:var(--cream); }
.simple-services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.simple-services-grid article { padding:1.45rem; background:var(--white); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow-soft); min-height:190px; }
.simple-services-grid article:last-child { grid-column:span 2; }
.simple-services-grid h3 { font-family:"Montserrat","Inter",sans-serif; color:var(--dark); margin:.15rem 0 .65rem; font-size:1.2rem; }
.simple-services-grid p { margin:0; font-size:.96rem; }
.section-action { margin-top:1.6rem; text-align:center; }
.research-preview { background:var(--deep); color:var(--white); }
.research-preview .section-head h2 { color:var(--white); }
.research-preview .section-head p { color:#d8e7df; }
.publication-preview-grid { display:grid; grid-template-columns:1fr; gap:1.25rem; }
.publication-preview-grid article { overflow:hidden; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius-xl); }
.publication-preview-grid img { width:100%; height:280px; object-fit:cover; }
.publication-preview-grid article>div { padding:1.6rem; }
.publication-preview-grid h3 { color:var(--white); font-family:"Montserrat","Inter",sans-serif; line-height:1.25; }
.publication-preview-grid p { color:#d8e7df; font-size:.98rem; }
.card-kicker { color:var(--green-bright); font-size:.76rem; text-transform:uppercase; letter-spacing:.12em; font-weight:900; }
.research-preview .research-link { color:var(--green-bright); }
.outline-btn { border:1px solid rgba(255,255,255,.28); background:transparent; color:var(--white); }
.projects-preview { background:var(--light); }
.home-project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.15rem; }
.home-project-grid a { overflow:hidden; text-decoration:none; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-soft); transition:.25s ease; }
.home-project-grid a:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.home-project-grid img { width:100%; height:250px; object-fit:cover; }
.home-project-grid div { padding:1.35rem; }
.home-project-grid span { color:var(--green); font-weight:900; font-size:.75rem; text-transform:uppercase; letter-spacing:.1em; }
.home-project-grid h3 { color:var(--dark); font-family:"Montserrat","Inter",sans-serif; line-height:1.25; }
.why-ags-section { background:var(--white); }
.why-ags-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.why-ags-grid article { text-align:center; padding:1.7rem; background:var(--green-soft); border:1px solid #d2e5d7; border-radius:var(--radius-lg); }
.why-ags-grid h3 { font-family:"Montserrat","Inter",sans-serif; color:var(--dark); font-size:1.35rem; }
.why-ags-grid p { margin-bottom:0; font-size:.98rem; }
.about-preview { background:var(--cream); }
.about-preview-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:center; }
.about-preview-grid>img { width:100%; max-height:530px; object-fit:cover; object-position:center 20%; border-radius:var(--radius-xl); box-shadow:var(--shadow); }
.expertise-pills { display:flex; flex-wrap:wrap; gap:.65rem; margin:1.25rem 0; }
.expertise-pills span { padding:.55rem .8rem; background:var(--white); border:1px solid var(--line); border-radius:999px; font-size:.86rem; font-weight:800; color:var(--dark); }
.home-contact { background:var(--white); }
.home-contact-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:2rem; padding:2.6rem; border-radius:var(--radius-xl); background:linear-gradient(135deg,var(--deep),var(--dark)); color:var(--white); box-shadow:var(--shadow); }
.home-contact-card h2 { color:var(--white); }
.home-contact-card p { color:#d8e7df; max-width:780px; }
.home-contact-actions { display:flex; flex-direction:column; align-items:flex-start; gap:.85rem; }
.home-contact-actions>a:last-child { color:var(--white); font-weight:800; font-size:.9rem; }
.mobile-contact-bar { display:none; }
.footer-brand-link img { width:76px; height:auto; }
.footer-brand-link { display:flex; align-items:center; gap:.75rem; text-decoration:none; font-family:"Montserrat","Inter",sans-serif; font-weight:900; }
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; }
.footer-bottom a { color:inherit; }
@media (max-width: 980px) {
  .problem-grid,.simple-services-grid { grid-template-columns:repeat(2,1fr); }
  .simple-services-grid article:last-child { grid-column:auto; }
  .publication-preview-grid,.about-preview-grid { grid-template-columns:1fr; }
  .home-contact-card { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  body { padding-bottom:66px; }
  .hero-v2 { padding:5.5rem 0 4rem; }
  .problem-grid,.simple-services-grid,.home-project-grid,.why-ags-grid { grid-template-columns:1fr; }
  .problem-grid a { min-height:auto; }
  .publication-preview-grid img,.home-project-grid img { height:220px; }
  .home-contact-card { padding:1.6rem; }
  .mobile-contact-bar { position:fixed; z-index:50; left:0; right:0; bottom:0; display:grid; grid-template-columns:1fr 1fr; background:var(--white); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(15,36,31,.12); }
  .mobile-contact-bar a { min-height:58px; display:grid; place-items:center; text-decoration:none; font-weight:900; color:var(--dark); }
  .mobile-contact-bar a:last-child { background:var(--green); color:var(--white); }
}

.mobile-contact-bar a:only-child { background: var(--green); color: var(--white); }

/* AGS final typography and spacing refinements */
.hero-v2 h1 {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 11.5ch;
}
.hero-v2 .hero-content > p {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
@media (max-width: 680px) {
  .hero-v2 h1 { font-size: clamp(2.1rem, 10vw, 2.55rem); }
  .mobile-contact-bar { grid-template-columns: 1fr; }
}


/* Individual service pages */
.services-overview-hero { padding-top: 6.2rem; }
.services-overview-hero h1 { font-family: "Montserrat", "Inter", sans-serif; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.03; letter-spacing: -0.045em; margin: .65rem auto 1rem; max-width: 14ch; color: var(--dark); }
.service-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.service-overview-card { display:grid; grid-template-columns:1fr; gap:1.2rem; min-height:230px; padding:1.75rem; text-decoration:none; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); transition:.24s ease; }
.service-overview-card:last-child { grid-column:1/-1; }
.service-overview-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:#c4d9ca; }
.service-overview-card h3 { margin:.1rem 0 .55rem; color:var(--dark); font-family:"Montserrat","Inter",sans-serif; font-size:1.45rem; line-height:1.2; }
.service-overview-card p { margin:0; color:var(--muted); font-size:1rem; }
.service-card-link { display:inline-block; margin-top:1rem; color:var(--green); font-weight:900; }
.service-overview-bottom { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; }
.service-overview-bottom h2 { max-width:670px; }
.service-hero { position:relative; min-height:610px; display:flex; align-items:flex-end; overflow:hidden; color:var(--white); background:var(--deep); }
.service-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.service-hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(15,36,31,.94) 0%,rgba(15,36,31,.8) 48%,rgba(15,36,31,.38) 100%); }
.service-hero-content { position:relative; z-index:1; padding-top:8rem; padding-bottom:5.5rem; }
.service-hero h1 { max-width:13ch; margin:.7rem 0 1rem; font-family:"Montserrat","Inter",sans-serif; font-size:clamp(2.7rem,5.3vw,5.3rem); line-height:1.02; letter-spacing:-.045em; }
.service-hero p { max-width:720px; margin:0 0 1.8rem; color:#e4eee8; font-size:clamp(1.08rem,1.6vw,1.28rem); line-height:1.65; }
.service-detail-section { background:var(--white); }
.service-split { display:grid; grid-template-columns:.86fr 1.14fr; gap:4rem; align-items:start; }
.service-sticky-copy { position:sticky; top:125px; }
.service-sticky-copy h2,.service-detail-panel h2,.service-audience-grid h2,.service-page-cta h2 { font-family:"Montserrat","Inter",sans-serif; font-size:clamp(2rem,3.4vw,3.4rem); line-height:1.08; letter-spacing:-.04em; margin:.6rem 0 1rem; color:var(--dark); }
.service-detail-panel { padding:2.2rem; background:var(--light); border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-soft); }
.service-deliverables { margin-top:2rem; padding-top:1.6rem; border-top:1px solid var(--line); }
.service-deliverables h3 { margin:0 0 .2rem; font-family:"Montserrat","Inter",sans-serif; color:var(--dark); font-size:1.45rem; }
.service-deliverables ul,.service-audience-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:1.2rem 0 0; padding:0; list-style:none; }
.service-deliverables li,.service-audience-list li { position:relative; padding:.9rem .95rem .9rem 2.35rem; background:var(--white); border:1px solid var(--line); border-radius:15px; color:var(--dark); font-weight:800; line-height:1.45; }
.service-deliverables li:before,.service-audience-list li:before { content:"✓"; position:absolute; left:.9rem; color:var(--green); font-weight:900; }
.service-audience-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem; align-items:center; }
.service-audience-list { margin:0; }
.service-page-cta { padding:5rem 0; color:var(--white); background:linear-gradient(120deg,var(--deep),var(--dark)); }
.service-page-cta .section-label { color:var(--green-bright); }
.service-page-cta h2 { color:var(--white); }
.service-page-cta p { color:#d8e7df; max-width:700px; }
.service-page-cta-inner { display:grid; grid-template-columns:1fr auto; gap:2.5rem; align-items:center; }
.service-page-actions { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:flex-end; }
@media (max-width: 900px) {
 .service-overview-grid,.service-split,.service-audience-grid,.service-page-cta-inner,.service-overview-bottom { grid-template-columns:1fr; }
 .service-overview-card:last-child { grid-column:auto; }
 .service-sticky-copy { position:static; }
 .service-page-actions { justify-content:flex-start; }
 .service-hero { min-height:540px; }
}
@media (max-width: 640px) {
 .service-overview-grid,.service-deliverables ul,.service-audience-list { grid-template-columns:1fr; }
 .service-overview-card { grid-template-columns:1fr; padding:1.3rem; min-height:0; }
 .service-detail-panel { padding:1.35rem; }
 .service-hero-content { padding-top:7rem; padding-bottom:4rem; }
}

/* Service overview card consistency */
.service-overview-grid {
  align-items: stretch;
}
.service-overview-card {
  height: 100%;
  min-height: 260px;
}
.service-overview-card > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-overview-card .service-card-link {
  margin-top: auto;
}

/* Final service-card layout fix:
   keep every service card the same column width and visual size,
   including the last card in an incomplete row. */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.service-overview-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 260px;
  grid-column: auto !important;
}

@media (max-width: 820px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
  }
}


/* Contextual project photography added August 2026 */
.service-visual-section {
  padding: 0 0 5.25rem;
  background: var(--white);
}
.service-visual-head {
  max-width: 790px;
  margin-bottom: 1.5rem;
}
.service-visual-head h2 {
  margin: .55rem 0 .8rem;
  color: var(--dark);
  font-family: "Montserrat","Inter",sans-serif;
  font-size: clamp(1.9rem,3vw,3rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.service-visual-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.service-visual-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.service-visual-grid.single {
  grid-template-columns: minmax(0,780px);
}
.service-visual-card {
  margin: 0;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.service-visual-card img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.service-visual-card.portrait img {
  object-position: center 46%;
}
.service-visual-card figcaption {
  padding: 1rem 1.2rem 1.15rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .service-visual-section { padding-bottom: 4rem; }
  .service-visual-grid,
  .service-visual-grid.single { grid-template-columns: 1fr; }
  .service-visual-card img { height: 300px; }
  .service-visual-card.portrait img { height: 420px; object-position: center 45%; }
}

/* Direct email contact panel: no hosted form or redirect is required. */
.email-contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.25rem 1.35rem;
  background: #f4f0e6;
  border: 1px solid rgba(24, 69, 52, .12);
  border-radius: 18px;
}
.contact-methods { display: grid; gap: 1rem; align-self: start; }
.email-contact-panel h3 { margin: .35rem 0 .45rem; color: #173f32; font-family: "Montserrat", "Inter", sans-serif; }
.email-contact-panel p { margin: 0; color: #466057; line-height: 1.6; }
.contact-email-direct { color: #173f32; font-size: 1.05rem; font-weight: 850; overflow-wrap: anywhere; }
.form-status { display: none; margin: 0; padding: .9rem 1rem; border-radius: 12px; font-weight: 750; line-height: 1.5; }
.form-status.is-success { display: block; color: #155c3d; background: #eaf6ee; border: 1px solid #b9dfc6; }
.form-status.is-error { display: block; color: #8a2d24; background: #fff0ed; border: 1px solid #efc1b8; }
.contact-form button:disabled { cursor: wait; opacity: .7; }
.email-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.email-contact-list p {
  margin: 0;
  padding: 1rem 1.05rem;
  background: #f5f8f4;
  border: 1px solid rgba(24, 69, 52, .12);
  border-radius: 14px;
}
.email-contact-list strong,
.email-contact-list a {
  display: block;
}
.email-contact-list strong {
  margin-bottom: .35rem;
  color: #173f32;
}
.email-contact-list a {
  color: #246247;
  font-weight: 800;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .email-contact-list {
    grid-template-columns: 1fr;
  }
}


/* Problem-based service messaging */
.service-impact {
  margin-top: 1.65rem;
  padding: 1.2rem 1.25rem;
  background: var(--light);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 16px;
}
.service-impact .section-label {
  display: block;
  margin-bottom: .5rem;
}
.service-impact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.simple-services-grid article:last-child {
  grid-column: auto;
}


/* Eight-service website framework: August 2026 */
.service-framework-section { background: var(--light); }
.framework-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.framework-grid article { padding:1.6rem; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); }
.framework-step { display:inline-grid; place-items:center; min-width:40px; min-height:40px; padding:0 .6rem; border-radius:999px; background:#e8f3ec; color:var(--green); font-weight:900; font-size:.86rem; }
.framework-grid h3 { margin:.9rem 0 .55rem; color:var(--dark); font-family:"Montserrat","Inter",sans-serif; font-size:1.28rem; line-height:1.22; }
.framework-grid p { margin:0 0 1rem; color:var(--muted); line-height:1.65; }
.framework-links { display:flex; flex-wrap:wrap; gap:.45rem; }
.framework-links a { display:inline-flex; padding:.48rem .68rem; border-radius:999px; background:var(--light); border:1px solid var(--line); color:var(--dark); text-decoration:none; font-size:.82rem; font-weight:800; }
.framework-links a:hover { border-color:#a9cdb5; color:var(--green); }
.framework-note { margin-top:1.2rem; padding:1rem 1.15rem; background:var(--white); border:1px solid var(--line); border-left:4px solid var(--green); border-radius:14px; color:var(--muted); line-height:1.65; }
.service-problem-kicker { display:block; margin:.3rem 0 .45rem; color:var(--green); font-size:.76rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.service-map-section { background:var(--light); }
.service-link-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
.service-link-grid a { display:flex; flex-direction:column; gap:.45rem; min-height:175px; padding:1.25rem; text-decoration:none; background:var(--white); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-soft); transition:.22s ease; }
.service-link-grid a:hover { transform:translateY(-3px); border-color:#bad4c2; box-shadow:var(--shadow); }
.service-link-grid a > span { color:var(--green); font-weight:900; font-size:.83rem; }
.service-link-grid strong { color:var(--dark); font-family:"Montserrat","Inter",sans-serif; line-height:1.25; }
.service-link-grid small { color:var(--muted); font-size:.9rem; line-height:1.55; }
.service-link-grid.compact a { min-height:120px; }
.service-match { margin-top:1.15rem; padding-top:1rem; border-top:1px solid var(--line); }
.service-match > span,.project-service-links > span,.contact-service-map > span { display:block; margin-bottom:.55rem; color:var(--muted); font-size:.78rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.service-chip-row,.project-service-links > div,.contact-service-map > div { display:flex; flex-wrap:wrap; gap:.45rem; }
.service-chip-row a,.project-service-links a,.contact-service-map a { display:inline-flex; padding:.45rem .65rem; background:var(--light); border:1px solid var(--line); border-radius:999px; color:var(--dark); text-decoration:none; font-size:.8rem; font-weight:800; }
.service-chip-row a:hover,.project-service-links a:hover,.contact-service-map a:hover { border-color:#a9cdb5; color:var(--green); }
.combo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.combo-grid article { padding:1.4rem; background:var(--white); border:1px solid var(--line); border-radius:18px; }
.combo-grid h3 { margin:0 0 .55rem; color:var(--dark); font-family:"Montserrat","Inter",sans-serif; font-size:1.12rem; }
.combo-grid p { margin:0; color:var(--muted); line-height:1.55; }
.project-service-links { margin-top:1rem; padding-top:.85rem; border-top:1px solid var(--line); }
.research-service-map { grid-column:1 / -1; width:100%; margin:4rem 0 0; padding-top:3.5rem; border-top:1px solid var(--line); }
.contact-service-map { margin-top:1.25rem; padding:1rem 1.05rem; background:var(--white); border:1px solid var(--line); border-radius:16px; }
.related-services-section { background:var(--white); }
.related-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.related-service-grid > a { display:flex; flex-direction:column; min-height:230px; padding:1.45rem; text-decoration:none; background:var(--light); border:1px solid var(--line); border-radius:18px; transition:.22s ease; }
.related-service-grid > a:hover { transform:translateY(-3px); border-color:#b5d0bd; box-shadow:var(--shadow-soft); }
.related-service-grid span { color:var(--green); font-weight:900; font-size:.8rem; }
.related-service-grid h3 { margin:.65rem 0 .55rem; color:var(--dark); font-family:"Montserrat","Inter",sans-serif; font-size:1.2rem; line-height:1.25; }
.related-service-grid p { color:var(--muted); line-height:1.6; }
.related-service-grid strong { margin-top:auto; color:var(--green); font-size:.88rem; }
.service-framework-note { margin:.4rem 0 1rem !important; font-size:.88rem !important; }
.service-framework-note a { color:#e7f7ec; font-weight:800; text-underline-offset:3px; }
@media (max-width: 1050px) {
  .framework-grid,.service-link-grid,.combo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .framework-grid,.service-link-grid,.combo-grid,.related-service-grid { grid-template-columns:1fr; }
  .service-link-grid a,.service-link-grid.compact a,.related-service-grid > a { min-height:0; }
}

.service-overview-card .service-outcome { margin:.9rem 0 0; padding-top:.85rem; border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; line-height:1.55; }
.service-overview-card .service-outcome strong { color:var(--dark); }


/* ===== AGS SEO / capability enrichment: 2026-08-10 ===== */
.capability-section{padding-top:72px;padding-bottom:72px}.capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}.capability-card{background:#fff;border:1px solid rgba(31,77,55,.14);border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(23,57,42,.06)}.capability-card h3{margin:0 0 9px;font-size:1.05rem}.capability-card p{margin:0;color:var(--muted,#5b6861);line-height:1.68}.faq-section{padding-top:72px;padding-bottom:72px}.faq-list{max-width:940px;margin:30px auto 0}.faq-item{padding:21px 0;border-top:1px solid rgba(31,77,55,.16)}.faq-item:last-child{border-bottom:1px solid rgba(31,77,55,.16)}.faq-item h3{margin:0 0 8px;font-size:1.08rem;line-height:1.4}.faq-item p{margin:0;color:var(--muted,#5b6861);line-height:1.72}.decision-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:30px}.decision-step{background:#fff;border:1px solid rgba(31,77,55,.14);border-radius:16px;padding:20px 14px;text-align:center;box-shadow:0 8px 22px rgba(23,57,42,.05)}.decision-step span{display:block;margin-bottom:7px;font-size:.72rem;font-weight:800;letter-spacing:.09em;color:#568064}.decision-step strong{display:block;line-height:1.35}.main-nav a[aria-current="page"]{color:var(--green,#2f6b49);font-weight:800}.main-nav a[aria-current="page"]::after{transform:scaleX(1)}
@media(max-width:900px){.capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.decision-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.capability-section,.faq-section{padding-top:54px;padding-bottom:54px}.capability-grid,.decision-flow{grid-template-columns:1fr}.capability-card{padding:20px}.faq-item{padding:18px 0}}


/* ===== AGS UX Phase 1: strategy, hierarchy & company-first positioning ===== */
.ux-home-hero{padding:7.3rem 0 5.6rem}.ux-hero-layout{display:block}.ux-home-hero .hero-content{max-width:890px}.ux-home-hero h1{max-width:12ch}.ux-home-hero .hero-content>p{max-width:780px}.ux-audience-strip{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.45rem}.ux-audience-strip span{display:inline-flex;align-items:center;padding:.5rem .72rem;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.08);color:#f0f7f3;font-size:.82rem;font-weight:750}.ux-coverage-line{max-width:820px!important;margin-top:1rem!important;color:#d9e8df!important;font-size:.92rem!important;line-height:1.6!important}.ux-coverage-line strong{color:#fff}
.ux-priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.6rem}.ux-priority-card{display:flex;flex-direction:column;min-height:320px;padding:1.7rem;text-decoration:none;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow-soft);transition:.23s ease}.ux-priority-card:hover{transform:translateY(-4px);border-color:#b5d2bf;box-shadow:var(--shadow)}.ux-priority-card h3{margin:0 0 .65rem;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.45rem;line-height:1.2}.ux-priority-card p{margin:0 0 1.2rem;color:var(--muted);line-height:1.68}.ux-priority-card strong{margin-top:auto;color:var(--green);font-size:.9rem;line-height:1.4}
.ux-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ux-path-card{padding:2rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow-soft)}.ux-path-kicker{display:block;color:var(--green);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ux-path-card h3{margin:.7rem 0 .75rem;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.65rem;line-height:1.18}.ux-path-card p{color:var(--muted);line-height:1.7}.ux-path-card ul{margin:1rem 0 1.35rem;padding-left:1.2rem;color:var(--dark)}.ux-path-card li{margin:.5rem 0}
.ux-process-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-top:1.6rem}.ux-process-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.ux-process-grid article{position:relative;padding:1.45rem;background:var(--white);border:1px solid var(--line);border-radius:18px}.ux-process-grid article>span{display:inline-block;color:var(--green);font-size:.78rem;font-weight:900;letter-spacing:.08em}.ux-process-grid h3{margin:.75rem 0 .5rem;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.12rem;line-height:1.25}.ux-process-grid p{margin:0;color:var(--muted);font-size:.94rem;line-height:1.6}
.ux-flagship-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2.4rem}.ux-flagship-grid>a{display:flex;flex-direction:column;min-height:285px;padding:1.65rem;text-decoration:none;background:var(--dark);border-radius:var(--radius-xl);box-shadow:var(--shadow);transition:.22s ease}.ux-flagship-grid>a:hover{transform:translateY(-4px)}.ux-flagship-grid span{color:#9ed3ad;font-weight:900}.ux-flagship-grid h3{margin:0 0 .6rem;color:#fff;font-family:"Montserrat","Inter",sans-serif;font-size:1.38rem;line-height:1.2}.ux-flagship-grid p{margin:0 0 1rem;color:#d0e2d7;line-height:1.65}.ux-flagship-grid strong{margin-top:auto;color:#b7e4c2;font-size:.88rem}.ux-supporting-wrap{padding-top:1.7rem;border-top:1px solid var(--line)}.ux-supporting-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin-top:1rem}.ux-supporting-grid a{display:flex;flex-direction:column;gap:.45rem;min-height:150px;padding:1.1rem;text-decoration:none;background:var(--light);border:1px solid var(--line);border-radius:16px}.ux-supporting-grid strong{color:var(--dark);line-height:1.3}.ux-supporting-grid small{color:var(--muted);font-size:.84rem;line-height:1.5}
.ux-question-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem}.ux-question-grid article{display:flex;flex-direction:column;min-height:210px;padding:1.3rem;background:var(--white);border:1px solid var(--line);border-radius:18px}.ux-question-grid p{margin:0;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.02rem;font-weight:750;line-height:1.45}.ux-question-grid a{margin-top:auto;color:var(--green);font-size:.84rem;font-weight:850;text-decoration:none}.ux-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.ux-insight-grid a{display:flex;flex-direction:column;min-height:235px;padding:1.45rem;text-decoration:none;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-soft)}.ux-insight-grid span{color:var(--green);font-weight:900;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em}.ux-insight-grid h3{margin:.75rem 0 .55rem;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.18rem;line-height:1.3}.ux-insight-grid p{margin:0;color:var(--muted);line-height:1.6}
.ux-company-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:3rem;align-items:center}.ux-company-grid h2{max-width:650px}.ux-company-grid p{max-width:720px}.ux-company-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.ux-company-proof span{display:flex;align-items:center;min-height:86px;padding:1rem;background:var(--green-soft);border:1px solid #cee2d4;border-radius:16px;color:var(--dark);font-weight:800}
.ux-about-intro{padding-top:7rem}.ux-about-intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:start}.ux-about-intro h1{max-width:11ch}.ux-lead{font-size:1.14rem;line-height:1.75}.ux-about-principles{display:grid;gap:.75rem}.ux-about-principles article{padding:1.25rem 1.35rem;background:var(--light);border:1px solid var(--line);border-radius:18px}.ux-about-principles h3{margin:0 0 .35rem;color:var(--dark);font-family:"Montserrat","Inter",sans-serif;font-size:1.12rem}.ux-about-principles p{margin:0;color:var(--muted);line-height:1.6}.ux-founder-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem;align-items:center}.ux-founder-images{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.ux-founder-images img{display:block;width:100%;height:410px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow-soft)}.ux-founder-images img:first-child{object-position:center 18%}.ux-founder-role{color:var(--green);font-weight:800;font-size:1.05rem}.ux-founder-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1rem;padding:0;list-style:none}.ux-founder-list li{padding:.75rem .85rem;background:var(--white);border:1px solid var(--line);border-radius:12px;color:var(--dark);font-size:.9rem}.ux-contact-coverage{margin-top:1rem;padding:1rem 1.1rem;background:var(--light);border:1px solid var(--line);border-radius:14px}.ux-contact-coverage strong{display:block;color:var(--dark);margin-bottom:.3rem}.ux-contact-coverage p{margin:0;color:var(--muted);line-height:1.55}
@media(max-width:1080px){.ux-process-grid,.ux-question-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ux-supporting-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.ux-priority-grid,.ux-flagship-grid,.ux-insight-grid{grid-template-columns:1fr}.ux-path-grid,.ux-company-grid,.ux-about-intro-grid,.ux-founder-grid{grid-template-columns:1fr}.ux-process-grid,.ux-process-grid.four,.ux-question-grid,.ux-supporting-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-founder-images{max-width:650px}}
@media(max-width:560px){.ux-home-hero{padding-top:6.5rem}.ux-process-grid,.ux-process-grid.four,.ux-question-grid,.ux-supporting-grid,.ux-company-proof,.ux-founder-list{grid-template-columns:1fr}.ux-priority-card,.ux-flagship-grid>a{min-height:0}.ux-founder-images{grid-template-columns:1fr}.ux-founder-images img{height:390px}.ux-audience-strip span{font-size:.77rem}}

/* UX service hierarchy */
.ux-service-priority-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0 4rem}.ux-service-priority-strip a{display:flex;flex-direction:column;min-height:205px;padding:1.5rem;text-decoration:none;background:var(--dark);border-radius:20px;box-shadow:var(--shadow);transition:.22s ease}.ux-service-priority-strip a:hover{transform:translateY(-4px)}.ux-service-priority-strip span{color:#a9d9b6;font-size:.76rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ux-service-priority-strip strong{margin:.8rem 0 .55rem;color:#fff;font-family:"Montserrat","Inter",sans-serif;font-size:1.18rem;line-height:1.3}.ux-service-priority-strip small{color:#d2e3d9;font-size:.9rem;line-height:1.6}.ux-all-services-head{margin-top:0;margin-bottom:1.5rem}.service-overview-card.is-flagship-service{border-color:#b7d2bf;background:linear-gradient(180deg,#fff 0%,#f8fbf9 100%)}@media(max-width:820px){.ux-service-priority-strip{grid-template-columns:1fr;margin-bottom:3rem}.ux-service-priority-strip a{min-height:0}}

/* ===== AGS UX Phase 2: premium, human, modern ag-tech visual system ===== */
:root{
  --deep:#102e24;
  --dark:#184534;
  --green:#39745a;
  --green-bright:#8fc4a1;
  --green-soft:#edf4ee;
  --cream:#f8f6f0;
  --light:#f1f4ef;
  --white:#ffffff;
  --text:#1d2923;
  --muted:#627068;
  --line:#dce4dd;
  --shadow:0 22px 55px rgba(17,45,35,.10);
  --shadow-soft:0 10px 26px rgba(17,45,35,.065);
  --radius-xl:26px;
  --radius-lg:20px;
  --radius-pill:14px;
}
body{background:var(--cream);color:var(--text);font-size:1.035rem;line-height:1.72}
.container{width:min(1200px,calc(100% - 2.5rem))}
.section{padding-top:92px;padding-bottom:92px}
.section-head{max-width:760px;margin-bottom:2rem}
.section-head.centered{margin-left:auto;margin-right:auto;text-align:center}
.section-head h1,.section-head h2,.section h1,.section h2{letter-spacing:-.035em}
.section-head h2{font-size:clamp(2.1rem,3.7vw,3.55rem);line-height:1.08;margin:.6rem 0 1rem;color:var(--deep)}
.section-head p{font-size:1.05rem;line-height:1.72;color:var(--muted)}
.eyebrow,.section-label{color:#4d8568;letter-spacing:.14em;font-size:.72rem}

/* Navigation */
.topbar{background:rgba(250,249,245,.94);border-bottom:1px solid rgba(24,69,52,.10);box-shadow:0 4px 20px rgba(16,46,36,.035)}
.nav-wrap{min-height:80px}
.brand img{width:70px}
.brand-name{max-width:168px;font-size:.81rem;color:var(--deep)}
.main-nav{gap:1.55rem}
.main-nav a{position:relative;font-size:.93rem;color:#355248;font-weight:700;padding:.45rem 0}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:.08rem;height:2px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after{transform:scaleX(1)}
.header-cta,.btn{border-radius:14px;font-weight:800;letter-spacing:-.01em}
.header-cta{padding:.78rem 1.08rem;box-shadow:none;background:var(--dark)}
.header-cta:hover{background:var(--deep);transform:translateY(-1px)}
.btn{padding:.92rem 1.3rem}
.btn-primary{background:#78b58f;color:#0d2a20;box-shadow:none}
.btn-primary:hover{background:#8fc4a1;box-shadow:0 12px 26px rgba(16,46,36,.13)}
.btn-secondary{background:rgba(255,255,255,.96);color:var(--deep);border:1px solid rgba(16,46,36,.12)}
.outline-btn{border:1px solid rgba(16,46,36,.18);color:var(--deep);background:transparent}

/* Hero: quieter, premium, image-led */
.hero,.ux-home-hero{padding:8rem 0 6.4rem;min-height:650px;display:flex;align-items:center;background:var(--deep)}
.hero-bg{background:linear-gradient(90deg,rgba(13,43,33,.92) 0%,rgba(13,43,33,.79) 48%,rgba(13,43,33,.28) 100%),url("ags-home-hero-phase21-1280.webp") center/cover no-repeat;transform:none}
.hero::after{display:none}
.ux-home-hero .hero-content{max-width:860px}
.ux-hero-message{max-width:820px;padding:clamp(1.5rem,3vw,2.4rem);border:1px solid rgba(255,255,255,.16);border-radius:24px;background:linear-gradient(135deg,rgba(8,34,25,.74),rgba(13,43,33,.48));box-shadow:0 24px 70px rgba(5,24,18,.3);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.hero h1,.ux-home-hero h1{font-size:clamp(2.5rem,4vw,3.65rem);max-width:720px;line-height:1.06;letter-spacing:-.038em;margin:.8rem 0 1.15rem}
.ux-home-hero .ux-hero-message>p{max-width:720px;margin-bottom:0;color:#e7efe9;font-size:clamp(1.08rem,1.4vw,1.22rem);line-height:1.65}
.hero-actions{margin-top:2.1rem}
.ux-audience-strip{margin-top:2rem;gap:.55rem}
.ux-audience-strip span{padding:.46rem .68rem;border-radius:10px;background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.18);font-weight:650;font-size:.79rem}
.ux-coverage-line{font-size:.88rem!important;color:#d5e2da!important}

/* Core content rhythm */
.muted-section{background:#f0f3ee}
.ux-priority-section,.ux-capabilities-section,.ux-company-preview{background:var(--cream)}
.ux-process-section,.ux-insights-preview,.ux-why-section{background:var(--white)}
.ux-priority-grid{grid-template-columns:1.12fr 1fr 1fr;gap:1.15rem}
.ux-priority-card{min-height:330px;border:1px solid rgba(24,69,52,.10);border-radius:22px;box-shadow:0 8px 24px rgba(17,45,35,.055);padding:1.9rem;background:#fff}
.ux-priority-card:first-child{background:linear-gradient(160deg,#f3f7f2 0%,#ffffff 72%);border-color:#cbdacf}
.ux-priority-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(17,45,35,.09);border-color:#b8cdbf}
.ux-priority-card h3{font-size:1.42rem;letter-spacing:-.025em}
.ux-priority-card strong{color:var(--dark);font-weight:800}

/* Audience paths: more human, less corporate-card-y */
.ux-path-grid{gap:1.2rem}
.ux-path-card{padding:2.2rem;border-radius:24px;border:1px solid rgba(24,69,52,.09);box-shadow:none;background:rgba(255,255,255,.78)}
.ux-path-card:first-child{box-shadow:inset 4px 0 0 #78a98a}
.ux-path-card:last-child{box-shadow:inset 4px 0 0 #9fbea8}
.ux-path-card h3{font-size:1.72rem;letter-spacing:-.025em}
.ux-path-card li::marker{color:#6f9e7f}
.text-link{color:var(--dark);font-weight:800;text-decoration:none}
.text-link:hover{color:var(--green);text-decoration:none}

/* Process */
.ux-process-grid{gap:.7rem}
.ux-process-grid article{border:0;border-top:3px solid #cddcd1;border-radius:0;padding:1.45rem 1.2rem 1.25rem;background:transparent}
.ux-process-grid article:nth-child(1){border-top-color:#5d8c6d}.ux-process-grid article:nth-child(2){border-top-color:#6f9f7e}.ux-process-grid article:nth-child(3){border-top-color:#82ad8e}.ux-process-grid article:nth-child(4){border-top-color:#96b99e}.ux-process-grid article:nth-child(5){border-top-color:#aec8b3}
.ux-process-grid h3{font-size:1.08rem}

/* Flagship / supporting capabilities */
.ux-flagship-grid{gap:1.1rem}
.ux-flagship-grid>a{min-height:292px;border-radius:22px;background:var(--deep);box-shadow:0 14px 34px rgba(16,46,36,.12);padding:1.8rem}
.ux-flagship-grid>a:first-child{background:#173f31}
.ux-flagship-grid>a:nth-child(2){background:#214d3a}
.ux-flagship-grid>a:nth-child(3){background:#2b5843}
.ux-flagship-grid>a:hover{transform:translateY(-3px);box-shadow:0 22px 45px rgba(16,46,36,.16)}
.ux-flagship-grid h3{font-size:1.35rem}
.ux-supporting-grid{gap:.8rem}
.ux-supporting-grid a{min-height:145px;border-radius:16px;border:1px solid rgba(24,69,52,.09);background:#f6f7f3;padding:1.15rem}
.ux-supporting-grid a:hover{background:#eef4ef;border-color:#c5d6ca}

/* Question and insight content */
.ux-question-grid{gap:.7rem}
.ux-question-grid article{min-height:200px;border:0;border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(17,45,35,.045);padding:1.35rem}
.ux-question-grid p{font-size:1rem;font-weight:700}
.ux-insights-preview{color:var(--text)}
.research-preview.ux-insights-preview .section-head h2{color:var(--deep)}
.research-preview.ux-insights-preview .section-head p{color:var(--muted)}
.ux-insight-grid a{min-height:240px;border-radius:20px;border:1px solid rgba(24,69,52,.09);box-shadow:none;padding:1.6rem;background:#f8faf7}
.ux-insight-grid a:hover{background:#eef4ef}

/* Why AGS */
.why-ags-grid{gap:1.1rem}
.why-ags-grid article{text-align:left;padding:1.8rem;background:#f4f7f3;border:0;border-radius:20px}
.why-ags-grid h3{font-size:1.28rem;margin-top:.1rem}
.why-ags-grid-single{grid-template-columns:minmax(0,1fr);max-width:900px;margin-inline:auto}
.why-ags-grid-single article{min-height:0}

/* Company preview: one strong image + capabilities, not a photo gallery */
.ux-company-grid{grid-template-columns:1fr .95fr;gap:4.25rem}
.ux-company-visual{position:relative}
.ux-company-visual picture{display:block;overflow:hidden;border-radius:26px;box-shadow:var(--shadow)}
.ux-company-visual img{width:100%;height:430px;object-fit:cover;object-position:center 56%}
.ux-company-proof{grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:.8rem}
.ux-company-proof span{min-height:64px;padding:.8rem .72rem;border-radius:13px;background:rgba(248,246,240,.96);border:1px solid rgba(24,69,52,.10);font-size:.79rem;box-shadow:0 5px 14px rgba(17,45,35,.045)}

/* Services landing */
.services-overview-hero{padding-top:7rem;padding-bottom:4rem;background:var(--cream)}
.services-overview-hero h1{color:var(--deep);font-size:clamp(2.65rem,5vw,4.55rem)}
.ux-service-priority-strip{gap:1rem;margin-top:2.2rem}
.ux-service-priority-strip a{background:var(--deep);border-radius:20px;box-shadow:0 12px 30px rgba(16,46,36,.11)}
.ux-service-priority-strip a:nth-child(2){background:#214d3a}.ux-service-priority-strip a:nth-child(3){background:#2b5843}
.service-overview-card{border-color:rgba(24,69,52,.09)!important;border-radius:20px!important;box-shadow:none!important;background:#fff!important}
.service-overview-card:hover{box-shadow:0 16px 34px rgba(17,45,35,.08)!important;transform:translateY(-3px)}
.service-overview-card.is-flagship-service{background:linear-gradient(180deg,#fff 0%,#f4f8f4 100%)!important;border-color:#c9d8ce!important}

/* Service pages */
.service-hero{min-height:560px;background:var(--deep)}
.service-hero-overlay{background:linear-gradient(90deg,rgba(12,43,32,.92) 0%,rgba(12,43,32,.76) 50%,rgba(12,43,32,.28) 100%)}
.service-hero-content{padding-top:7.4rem;padding-bottom:5rem}
.service-hero h1{font-size:clamp(2.75rem,5vw,4.8rem);max-width:14ch}
.service-hero p{font-size:clamp(1.04rem,1.4vw,1.2rem);max-width:700px}
.service-framework-note a{color:#dcece1}
.service-detail-section{background:var(--cream)}
.service-split{gap:4.5rem;grid-template-columns:.9fr 1.1fr}
.service-sticky-copy h2,.service-detail-panel h2,.service-audience-grid h2,.service-page-cta h2{font-size:clamp(1.95rem,3.1vw,3rem);color:var(--deep)}
.service-detail-panel{padding:2.3rem;background:#fff;border:1px solid rgba(24,69,52,.09);border-radius:22px;box-shadow:0 10px 28px rgba(17,45,35,.055)}
.service-impact{border-radius:17px!important;background:#eef4ef!important;border-color:#d5e2d9!important}
.service-deliverables{border-top:1px solid var(--line);margin-top:1.6rem;padding-top:1.4rem}
.service-visual-section{background:#102e24}
.service-visual-head h2{color:#fff}.service-visual-head p{color:#d5e2da}
.service-visual-card{border-radius:20px!important;overflow:hidden}
.service-visual-card img{transition:transform .45s ease}.service-visual-card:hover img{transform:scale(1.015)}
.capability-section{background:var(--cream)}
.capability-grid{gap:1rem}
.capability-card{border:1px solid rgba(24,69,52,.09);border-radius:18px;box-shadow:none;background:#fff;padding:1.55rem}
.capability-card h3{color:var(--deep)}
.faq-section{background:#fff}
.faq-item{border-color:#e1e6e2}
.related-services-section{background:#f1f4ef}
.related-service-grid>a{border-radius:18px!important;border-color:rgba(24,69,52,.09)!important;box-shadow:none!important}
.service-page-cta{background:var(--deep)!important}
.service-page-cta h2{color:#fff}.service-page-cta p{color:#d4e2d9}

/* About */
.ux-about-intro{padding-top:7.2rem;background:var(--cream)}
.ux-about-principles article{border:1px solid rgba(24,69,52,.09);background:#f4f7f3;border-radius:16px}
.ux-founder-section{background:#fff}
.ux-founder-images img{border-radius:20px;box-shadow:0 10px 28px rgba(17,45,35,.075)}
.ux-founder-role{color:var(--green);font-weight:750}
.ux-founder-list li{background:#f6f7f4;border-color:rgba(24,69,52,.08);border-radius:12px}

/* Contact */
.intake-section{background:var(--cream)}
.contact-form{border-radius:24px!important;border:1px solid rgba(24,69,52,.10)!important;box-shadow:0 16px 36px rgba(17,45,35,.075)!important}
.contact-email-card,.ux-contact-coverage{border-radius:16px!important;border-color:rgba(24,69,52,.10)!important;background:#f2f5f1!important}
input,select,textarea{border-radius:12px!important;border-color:#d5dfd8!important;background:#fff!important}
input:focus,select:focus,textarea:focus{border-color:#78a98a!important;box-shadow:0 0 0 3px rgba(120,169,138,.13)!important}

/* Footer */
.footer{background:#0d2a20;color:#dce6df;padding-top:4rem}
.footer .footer-brand-link,.footer h2,.footer h3{color:#fff}
.footer-brand-link img{width:70px}
.footer-meta span{color:#b9c9bf}
.footer a{transition:color .2s ease}.footer a:hover{color:#a7cdb2}
.footer-bottom{border-top:1px solid rgba(255,255,255,.10);padding-top:1.25rem;color:#b9c9bf}
.footer-cta{border-radius:22px!important;background:#153b2d!important;border:1px solid rgba(255,255,255,.08)!important}

/* Mobile polish */
.mobile-contact-bar{background:rgba(250,249,245,.97);backdrop-filter:blur(12px);border-top:1px solid rgba(24,69,52,.12)}
.mobile-contact-bar a:only-child{background:var(--dark);color:#fff;min-height:60px}
@media(max-width:1080px){
  .ux-priority-grid{grid-template-columns:1fr 1fr}.ux-priority-card:first-child{grid-column:1/-1;min-height:250px}
  .ux-company-grid{gap:2.5rem}.ux-company-proof{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .container{width:min(1200px,calc(100% - 1.6rem))}.section{padding-top:72px;padding-bottom:72px}
  .hero,.ux-home-hero{min-height:0;padding:6.8rem 0 4.6rem}.hero-bg{background-position:58% center}
  .ux-priority-grid{grid-template-columns:1fr}.ux-priority-card:first-child{grid-column:auto;min-height:0}
  .ux-company-grid{grid-template-columns:1fr}.ux-company-visual{max-width:680px}.ux-company-visual img{height:380px}
  .service-split{gap:2.4rem}.service-hero{min-height:500px}
}
@media(max-width:560px){
  .container{width:min(1200px,calc(100% - 1.2rem))}.section{padding-top:58px;padding-bottom:58px}
  .nav-wrap{min-height:72px}.brand img{width:58px}.brand-name{font-size:.72rem;max-width:135px}
  .hero,.ux-home-hero{padding:5.8rem 0 3.9rem}.hero h1,.ux-home-hero h1{font-size:clamp(2.15rem,9.5vw,2.65rem);max-width:100%;line-height:1.07}
  .ux-hero-message{padding:1.3rem;border-radius:18px;background:rgba(8,34,25,.72);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
  .ux-audience-strip{gap:.4rem}.ux-audience-strip span{font-size:.72rem;padding:.4rem .55rem}
  .ux-path-card,.service-detail-panel,.contact-form{padding:1.35rem!important}
  .ux-company-visual img{height:320px}.ux-company-proof{grid-template-columns:1fr 1fr}
  .service-hero{min-height:470px}.service-hero-content{padding-top:6rem;padding-bottom:3.6rem}.service-hero h1{font-size:clamp(2.35rem,11vw,3.35rem)}
  .footer{padding-top:3rem}
}


/* UX Phase 3: enquiry-first contact flow */
.contact-intro-block{max-width:860px;margin-bottom:2.2rem}.contact-intro-block h1{max-width:13ch;margin-bottom:.8rem}.contact-intro-block>p{max-width:720px;margin:0;color:var(--muted);font-size:1.08rem;line-height:1.72}.intake-grid-conversion{grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:2.6rem}.contact-primary{display:grid;gap:1.25rem}.contact-support{position:sticky;top:7rem}.contact-support .contact-expectations{margin-top:0}.contact-expectations h2{margin:0 0 1rem;color:var(--dark);font-family:"Montserrat","Inter",Arial,sans-serif;font-size:1.2rem}.contact-email-option{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.8fr);gap:1.25rem;align-items:center;padding:1.4rem 1.5rem;background:var(--cream);border:1px solid var(--line);border-radius:22px}.contact-email-option h2{margin:.2rem 0 .45rem;font-size:1.35rem}.contact-email-option p{margin:0;color:var(--muted);line-height:1.6}.contact-email-option .contact-email-card{margin:0;background:var(--white)!important}.contact-form .form-heading h2{margin:0;color:var(--dark);font-family:"Montserrat","Inter",Arial,sans-serif;font-size:1.55rem;line-height:1.25}.contact-service-map{margin-top:1.2rem;padding:1.15rem;background:var(--white);border:1px solid var(--line);border-radius:18px}.contact-service-map>span{display:block;margin-bottom:.7rem;color:var(--dark);font-weight:850}.contact-service-map>div{display:grid;gap:.5rem}.contact-service-map a{color:var(--green);font-size:.88rem;font-weight:800;text-decoration:none}.contact-service-map a:hover{text-decoration:underline}.contact-form select[name="service"]{font-weight:650;color:#29453e}
@media(max-width:980px){.intake-grid-conversion{grid-template-columns:1fr}.contact-support{position:static}.contact-email-option{grid-template-columns:1fr}.contact-intro-block{margin-bottom:1.5rem}}
@media(max-width:620px){.contact-intro-block>p{font-size:1rem}.contact-email-option{padding:1.15rem}.contact-email-option .contact-email-card{padding:1rem}.contact-form .form-heading h2{font-size:1.35rem}}


/* UX Phase 4: flagship service hierarchy */
.flagship-badge{display:inline-flex;align-items:center;width:max-content;margin:.72rem 0 0;padding:.42rem .72rem;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(9,43,31,.34);backdrop-filter:blur(8px);color:#f2f8f3;font-size:.74rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.flagship-fit-section{padding-top:4.8rem;padding-bottom:4.8rem;background:#fbfcfa}.flagship-fit-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:4rem;align-items:start}.flagship-fit-grid h2{margin:.55rem 0 0;color:var(--deep);font-family:"Montserrat","Inter",sans-serif;font-size:clamp(2rem,3.1vw,3rem);line-height:1.08;letter-spacing:-.035em}.flagship-fit-list{display:grid;gap:.85rem}.flagship-fit-list article{padding:1.2rem 1.3rem;border-left:3px solid var(--green);background:#fff;border-radius:0 16px 16px 0}.flagship-fit-list strong{display:block;color:var(--deep);font-size:1.02rem}.flagship-fit-list p{margin:.35rem 0 0;color:var(--muted);line-height:1.62}.flagship-pathway-section{padding-top:4.8rem;padding-bottom:4.8rem}.flagship-pathway{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:2rem}.flagship-pathway article{position:relative;padding:1.5rem;background:#fff;border:1px solid rgba(24,69,52,.09);border-radius:18px}.flagship-pathway article span{display:inline-flex;margin-bottom:1rem;color:var(--green);font-weight:900;font-size:.76rem;letter-spacing:.08em}.flagship-pathway h3{margin:0 0 .55rem;color:var(--deep);font-size:1.08rem}.flagship-pathway p{margin:0;color:var(--muted);line-height:1.65;font-size:.94rem}.trial-engagement-section{padding-top:4.8rem;padding-bottom:4.8rem}.engagement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}.engagement-grid article{padding:1.65rem;background:linear-gradient(180deg,#fff,#f7faf7);border:1px solid rgba(24,69,52,.10);border-radius:20px}.engagement-grid article>span{display:inline-block;margin-bottom:.8rem;color:var(--green);font-size:.75rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.engagement-grid h3{margin:0 0 .6rem;color:var(--deep);font-size:1.2rem}.engagement-grid p{margin:0;color:var(--muted);line-height:1.68}.service-page-cta .btn-primary{min-width:210px}.ux-service-priority-strip a:first-child{background:linear-gradient(145deg,#123f2f,#1d5941)}.ux-service-priority-strip a:nth-child(2){background:linear-gradient(145deg,#173e31,#275d45)}.ux-service-priority-strip a:nth-child(3){background:linear-gradient(145deg,#244636,#345b45)}
@media(max-width:900px){.flagship-fit-grid{grid-template-columns:1fr;gap:2rem}.flagship-pathway{grid-template-columns:repeat(2,minmax(0,1fr))}.engagement-grid{grid-template-columns:1fr}}
@media(max-width:620px){.flagship-fit-section,.flagship-pathway-section,.trial-engagement-section{padding-top:3.6rem;padding-bottom:3.6rem}.flagship-pathway{grid-template-columns:1fr}.flagship-badge{font-size:.66rem}.flagship-fit-list article{padding:1.05rem 1rem}}

/* UX Phase 5: mobile navigation, touch ergonomics and performance-minded rendering */
html { scroll-padding-top: 96px; }

.main-nav a[aria-current="page"] {
  color: var(--deep);
  text-decoration-color: rgba(45,106,79,.45);
  text-underline-offset: .34em;
}

@media (max-width: 980px) {
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(7, 29, 21, .42);
    backdrop-filter: blur(2px);
  }
  .topbar { z-index: 80; }
  .main-nav {
    z-index: 2;
    margin-top: .55rem;
    padding: .65rem;
    border: 1px solid rgba(24,69,52,.12);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(10,35,26,.18);
    max-height: calc(100dvh - 110px);
    overscroll-behavior: contain;
  }
  .main-nav.is-open { animation: ags-nav-in .16s ease-out both; }
  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: .75rem .9rem;
  }
  .main-nav a[aria-current="page"] {
    background: #eef5ef;
    color: var(--deep);
    text-decoration: none;
  }
  .nav-toggle { touch-action: manipulation; }
}

@keyframes ags-nav-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Correct the earlier blanket mobile footer clearance: reserve space only when the sticky CTA exists. */
@media (max-width: 700px) {
  body { padding-bottom: 0; }
  body.has-mobile-contact-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobile-contact-bar {
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(250,249,245,.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .mobile-contact-bar a {
    min-height: 60px;
    padding: 0 1rem;
    touch-action: manipulation;
  }
}

@media (max-width: 560px) {
  .main-nav {
    max-height: calc(100dvh - 92px);
    margin-top: .35rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 420px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .service-hero-overlay {
    background: linear-gradient(90deg,rgba(12,43,32,.94) 0%,rgba(12,43,32,.82) 62%,rgba(12,43,32,.50) 100%);
  }
  .service-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.05rem, 10.4vw, 3rem);
    line-height: 1.04;
  }
  .service-hero p { font-size: 1rem; line-height: 1.6; }
  .service-hero-content { padding-top: 5.7rem; padding-bottom: 3.4rem; }
  .service-page-actions { width: 100%; }
  .service-page-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .footer-navigation { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
  .nav-wrap { min-height: 66px; }
  .hero h1, .ux-home-hero h1 { font-size: clamp(2rem, 9.5vw, 2.4rem); }
  .eyebrow, .section-label { letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav.is-open { animation: none; }
}

/* Match the homepage LCP preload to the actual painted background. */
.hero-bg {
  background:
    linear-gradient(90deg,rgba(13,43,33,.92) 0%,rgba(13,43,33,.79) 48%,rgba(13,43,33,.28) 100%),
    url("ags-home-hero-phase21-1280.webp") center / cover no-repeat;
}
@media (max-width: 640px) {
  .hero-bg {
    background:
      linear-gradient(90deg,rgba(13,43,33,.93) 0%,rgba(13,43,33,.84) 100%),
      url("ags-home-hero-phase21-960.webp") 58% center / cover no-repeat;
  }
}

/* Phase 5 mobile regression guard: Phase 2 desktop service columns must collapse on narrow screens. */
@media (max-width: 900px) {
  .service-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flagship-badge {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }
}

@media (max-width: 700px) {
  .mobile-contact-bar { transition: transform .18s ease, opacity .18s ease; }
body.nav-open .mobile-contact-bar {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
}

/* Phase 6: trust, insights, and enquiry hierarchy */
.ux-trust-note {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--green, #2f7d5b);
  border-radius: 0 20px 20px 0;
  background: #f4f0e6;
  max-width: 900px;
}
.ux-trust-note h2, .ux-trust-note h3 { margin: .55rem 0 .75rem; }
.ux-trust-note p { max-width: 72ch; margin: 0; }
.ux-founder-boundary { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(23,63,50,.18); font-size: .95rem; }
.ux-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.ux-guide-grid article { background: #fff; border: 1px solid rgba(23,63,50,.13); border-radius: 20px; padding: clamp(1.35rem,3vw,2rem); box-shadow: 0 12px 35px rgba(15,36,31,.06); }
.ux-guide-grid article > span { color: #39795f; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ux-guide-grid h3 { margin: .65rem 0 .8rem; }
.ux-guide-grid h4 { margin: 1.25rem 0 .55rem; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; color: #173f32; }

/* Site-wide typography balance */
.section-head h1,
.proof-copy > h1,
.contact-copy > h1,
.ux-about-intro h1,
.thank-you-card h1 {
  max-width: 17ch;
  margin: .65rem 0 1rem;
  color: var(--deep);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.038em;
}
.section-head.centered h1 {
  max-width: 18ch;
  margin-right: auto;
  margin-left: auto;
}
.service-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 4.1vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -.038em;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.032em;
}
.service-sticky-copy h2,
.service-detail-panel h2,
.service-audience-grid h2,
.service-page-cta h2,
.flagship-fit-grid h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.12;
}
.section-head > p,
.proof-copy > p,
.contact-copy > .contact-intro,
.ux-lead,
.service-hero p {
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.68;
}
.service-overview-card h3 { font-size: 1.32rem; }

@media (max-width: 640px) {
  .section-head h1,
  .proof-copy > h1,
  .contact-copy > h1,
  .ux-about-intro h1,
  .thank-you-card h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 2.55rem);
    line-height: 1.1;
  }
  .service-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.4vw, 2.7rem);
    line-height: 1.08;
  }
  .section-head h2,
  .service-sticky-copy h2,
  .service-detail-panel h2,
  .service-audience-grid h2,
  .service-page-cta h2,
  .flagship-fit-grid h2 {
    font-size: clamp(1.8rem, 7.8vw, 2.2rem);
    line-height: 1.15;
  }
  .section-head > p,
  .proof-copy > p,
  .contact-copy > .contact-intro,
  .ux-lead,
  .service-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }
}
.ux-guide-grid ul { padding-left: 1.15rem; margin-bottom: 1.4rem; }
.ux-guide-grid li + li { margin-top: .45rem; }
.ux-guide-grid a { color: #236346; font-weight: 800; }
.ux-insight-boundary .ux-trust-note { margin: 0 auto; text-align: left; }
.ux-insight-boundary .btn { margin-top: 1.35rem; }
.contact-email-secondary { grid-column: 2; margin-top: -1.25rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: #f4f0e6; display: flex; gap: .65rem 1rem; flex-wrap: wrap; align-items: baseline; }
.contact-email-secondary span { font-weight: 700; color: #466057; }
.contact-email-secondary a { font-weight: 800; color: #173f32; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .ux-guide-grid { grid-template-columns: 1fr; }
  .contact-email-secondary { grid-column: 1; margin-top: 0; }
}

/* Insights technical-area cards: give longer headings and descriptions room to breathe. */
.research-service-map .research-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.research-service-map .research-service-grid a,
.research-service-map .research-service-grid.compact a {
  min-height: 142px;
  padding: 1.45rem 1.55rem;
}
.research-service-map .research-service-grid strong {
  font-size: 1.06rem;
  line-height: 1.3;
}
.research-service-map .research-service-grid small {
  max-width: 48ch;
  font-size: .94rem;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .research-service-map .research-service-grid {
    grid-template-columns: 1fr;
  }
  .research-service-map .research-service-grid a,
  .research-service-map .research-service-grid.compact a {
    min-height: 0;
    padding: 1.3rem 1.4rem;
  }
}
