.agency-page {
  background: var(--off-white);
  color: var(--navy);
}

.agency-page main {
  overflow: hidden;
}

.agency-container {
  width: min(calc(100% - (var(--layout-gutter) * 2)), var(--layout-max));
  margin: 0 auto;
}

.agency-hero {
  padding: 168px 0 96px;
  background-color: var(--navy);
  color: var(--white);
}

.agency-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: center;
}

.agency-eyebrow,
.agency-kicker,
.agency-panel-label {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.agency-hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--white);
}

.agency-hero-lead {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.agency-hero-audience {
  max-width: 740px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.agency-tagline {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.agency-hero-panel {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.agency-hero-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-hero-panel li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.agency-hero-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.agency-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.agency-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.agency-btn:hover {
  transform: translateY(-2px);
}

.agency-btn-primary {
  background: var(--orange);
  color: var(--white);
}

.agency-btn-primary:hover {
  background: #d94600;
  color: var(--white);
}

.agency-btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.agency-btn-secondary:hover,
.agency-btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.agency-section {
  padding: 96px 0;
  background: var(--white);
}

.agency-section-soft {
  background: var(--off-white);
}

.agency-section-navy {
  background: var(--navy);
  color: var(--white);
}

.agency-intro {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.agency-intro h2,
.agency-split h2,
.agency-final h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.agency-intro > p:last-child,
.agency-split > div > p {
  font-size: 17px;
  line-height: 1.72;
}

.agency-intro > p:last-child {
  max-width: 780px;
  margin: 0 auto;
}

.agency-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.agency-card,
.agency-faq-grid article {
  padding: 28px;
  border: 1px solid rgba(14, 27, 46, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.agency-card h3,
.agency-faq-grid h3,
.agency-note h3,
.agency-deliverables h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--navy);
}

.agency-card p,
.agency-faq-grid p,
.agency-note p,
.agency-deliverables p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.agency-problem-grid .agency-card:last-child {
  grid-column: 2;
}

.agency-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.agency-split > div > p {
  margin: 0 0 18px;
}

.agency-split > div > p:last-child {
  margin-bottom: 0;
}

.agency-note {
  padding: 36px;
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  background: var(--off-white);
}

.agency-intro-light h2,
.agency-intro-light > p:last-child {
  color: var(--white);
}

.agency-intro-light > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.agency-deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 48px;
}

.agency-deliverables article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.agency-deliverables span {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.agency-deliverables h3 {
  color: var(--white);
}

.agency-deliverables p {
  color: rgba(255, 255, 255, 0.72);
}

.agency-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: agency-step;
}

.agency-process li {
  padding: 24px 20px;
  border-top: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.06);
  counter-increment: agency-step;
}

.agency-process li::before {
  content: "0" counter(agency-step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.agency-process strong,
.agency-process span {
  display: block;
}

.agency-process strong {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
}

.agency-process span {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.agency-centered-cta {
  margin-top: 40px;
  text-align: center;
}

.agency-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.agency-faq-grid article:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 11px);
  margin: 0 auto;
}

.agency-final {
  padding: 88px 0;
  background: var(--orange);
  text-align: center;
}

.agency-final h2,
.agency-final p {
  color: var(--white);
}

.agency-final h2 {
  max-width: 780px;
  margin: 0 auto 18px;
}

.agency-final p {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.agency-cta-group-centered {
  justify-content: center;
}

.agency-btn-light {
  background: var(--white);
  color: var(--navy);
}

.agency-btn-light:hover {
  background: var(--off-white);
  color: var(--navy);
}

.agency-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

@media (max-width: 1100px) {
  .agency-hero-grid,
  .agency-split {
    gap: 40px;
  }

  .agency-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .agency-hero {
    padding: 148px 0 80px;
  }

  .agency-hero-grid,
  .agency-split {
    grid-template-columns: 1fr;
  }

  .agency-hero-panel {
    max-width: 640px;
  }

  .agency-problem-grid,
  .agency-deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agency-problem-grid .agency-card:last-child,
  .agency-faq-grid article:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 680px) {
  .agency-hero {
    padding: 132px 0 64px;
  }

  .agency-section,
  .agency-final {
    padding: 72px 0;
  }

  .agency-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .agency-cta-group,
  .agency-problem-grid,
  .agency-deliverables,
  .agency-process,
  .agency-faq-grid {
    grid-template-columns: 1fr;
  }

  .agency-cta-group {
    display: grid;
  }

  .agency-btn {
    width: 100%;
  }

  .agency-card,
  .agency-faq-grid article,
  .agency-deliverables article,
  .agency-hero-panel,
  .agency-note {
    padding: 24px;
  }
}
