*, *::before, *::after { box-sizing: border-box; }

:root {
  --green: #25c987;
  --green-dark: #119766;
  --green-soft: #e9fbf4;
  --ink: #08100c;
  --text: #28332e;
  --muted: #69746f;
  --line: rgba(8, 16, 12, 0.12);
  --paper: #ffffff;
  --wash: #f5f8f6;
  --dark: #0b1510;
  --dark-2: #111f18;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(8, 16, 12, 0.14);
  --font: "DM Sans", Arial, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --nav-height: 76px;
}

html { scroll-behavior: smooth; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

@keyframes floatPanel {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(1deg); }
}

@keyframes floatPanelAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(12px, 10px, 0) rotate(-1deg); }
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-42%); }
}

@keyframes imageBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes softGlow {
  0%, 100% { opacity: 0.34; transform: translate3d(0, 0, 0); }
  50% { opacity: 0.62; transform: translate3d(-12px, 12px, 0); }
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(-42px, 22px, 0); }
}

@keyframes heroSweep {
  0%, 100% { opacity: 0.2; transform: translateX(-28%) skewX(-10deg); }
  50% { opacity: 0.42; transform: translateX(30%) skewX(-10deg); }
}

@keyframes sectionImageDrift {
  0% { transform: scale(1.03) translate3d(-1.4%, -1.1%, 0); }
  50% { transform: scale(1.13) translate3d(1.8%, 1.2%, 0); }
  100% { transform: scale(1.18) translate3d(-1%, 1.8%, 0); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px #fff, 0 14px 34px rgba(8, 16, 12, 0.12); }
  50% { transform: scale(1.035); box-shadow: 0 0 0 5px #fff, 0 20px 44px rgba(37, 201, 135, 0.18); }
}

@keyframes cardFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes sponsorLoop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 22px rgba(8, 16, 12, 0.14));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

.button,
.nav-cta,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(37, 201, 135, 0.34);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.nav-cta:hover,
.mobile-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37, 201, 135, 0.36);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary.dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.mobile-cta { display: none; min-height: 38px; padding: 8px 14px; box-shadow: none; font-size: 13px; }

.sticky-call {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  width: min(430px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 18px 26px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(17, 151, 102, 0.36);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-call.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
}

.container { width: min(1160px, 100%); margin: 0 auto; }
.section { padding: 78px 24px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dark-band .eyebrow { color: var(--green); }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 { margin-bottom: 16px; font-size: clamp(38px, 4.6vw, 60px); }
h2 { margin-bottom: 20px; font-size: clamp(34px, 5vw, 62px); }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.15; }

.text-green,
.word-green,
.word-sans {
  color: var(--green);
  font-weight: 900;
}

.word-green,
.word-sans {
  font-family: var(--font);
}

.word-green {
  letter-spacing: 0;
}

.word-sans {
  display: inline-block;
  padding: 0 0.08em;
  border-bottom: 0.08em solid rgba(37, 201, 135, 0.62);
  line-height: 0.98;
}

.mobile-title-break { display: none; }

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero {
  position: relative;
  min-height: min(590px, calc(72vh - var(--nav-height)));
  padding: 0 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 12, 0.9) 0%, rgba(8, 16, 12, 0.72) 35%, rgba(8, 16, 12, 0.34) 70%, rgba(8, 16, 12, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 16, 12, 0.22), rgba(8, 16, 12, 0.82));
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24% 18% -24% 38%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(37, 201, 135, 0.28), transparent);
  filter: blur(16px);
  pointer-events: none;
  animation: heroSweep 13s ease-in-out infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  animation: heroKenBurns 28s ease-in-out infinite alternate;
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: min(590px, calc(72vh - var(--nav-height)));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  max-width: 840px;
  width: 100%;
  min-width: 0;
  padding: 70px 0 60px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero-eyebrow span { color: var(--green); }
.hero h1 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
  font-size: clamp(40px, 5.4vw, 66px);
  text-wrap: balance;
}

.hero .lead {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .button {
  min-height: 62px;
  padding-inline: 32px;
  font-size: 17px;
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

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

.hero-proof span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-proof strong { color: #fff; }

.split,
.section-heading,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.rich-text p { color: var(--text); font-size: 18px; }

.visual-manifesto { background: var(--wash); }

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.manifesto-media {
  min-height: 500px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.manifesto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: sectionImageDrift 34s ease-in-out infinite alternate;
}

.manifesto-copy {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.manifesto-copy h2 {
  color: #fff;
  max-width: 100%;
  font-size: clamp(30px, 3.5vw, 48px);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.concept-grid {
  display: grid;
  gap: 10px;
}

.concept-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.visual-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.7fr;
  gap: 16px;
  align-items: stretch;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.visual-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 18px 44px rgba(8, 16, 12, 0.12);
  animation: cardFloat 9s ease-in-out infinite;
}

.visual-tile:nth-child(2) { animation-delay: -2.5s; }
.visual-tile:nth-child(3) { animation-delay: -5s; }
.visual-tile:nth-child(4) { animation-delay: -7s; }

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: sectionImageDrift 30s ease-in-out infinite alternate;
  transition: transform 600ms ease;
}

.visual-tile:hover img {
  transform: scale(1.08);
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 12, 0.02), rgba(8, 16, 12, 0.62));
}

.visual-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.tile-large {
  grid-row: span 2;
}

.tile-wide {
  grid-column: span 2;
}

.visual-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: sectionImageDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}

.visual-card.compact img {
  animation-duration: 30s;
  animation-delay: -8s;
  transform-origin: right center;
}

.copy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.copy-card h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.copy-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.micro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.micro-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.dark-band {
  background: var(--dark);
  color: #fff;
}

.dark-band .lead,
.dark-band p { color: rgba(255, 255, 255, 0.7); }

.service-list {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 260px;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-row > span {
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.service-row h3 { color: #fff; }
.service-row p { margin-bottom: 0; }
.service-row ul { list-style: none; padding: 0; margin: 0; }
.service-row li {
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.service-row li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.compact-heading {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.service-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.service-visual-card {
  position: relative;
  min-height: 340px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #07100b;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  animation: cardFloat 10s ease-in-out infinite;
}

.service-visual-card:focus-visible {
  outline: 3px solid rgba(37, 201, 135, 0.7);
  outline-offset: 4px;
}

.service-visual-card:nth-child(2) { animation-delay: -2.5s; }
.service-visual-card:nth-child(3) { animation-delay: -5s; }
.service-visual-card:nth-child(4) { animation-delay: -7.5s; }

.service-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  animation: sectionImageDrift 36s ease-in-out infinite alternate;
  transition: opacity 240ms ease, transform 600ms ease;
}

.service-visual-card:hover img {
  opacity: 0.9;
  transform: scale(1.08);
}

.service-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 12, 0.08), rgba(8, 16, 12, 0.82));
}

.service-visual-card span,
.service-visual-card h3 {
  position: absolute;
  z-index: 2;
}

.service-visual-card span {
  top: 18px;
  left: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.service-visual-card h3 {
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 34px);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 18px 0 18px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(8, 16, 12, 0.08);
}

.carousel-arrow:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.portfolio-featured {
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff 0%, rgba(233, 251, 244, 0.58) 100%);
  overflow: hidden;
}

.portfolio-featured .container {
  width: 100%;
}

.portfolio-loop-head {
  width: min(1160px, 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 10px;
  padding: 0 24px;
}

.portfolio-loop-head .eyebrow {
  margin-bottom: 0;
}

.portfolio-loop-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.portfolio-featured .section-heading {
  width: min(1160px, 100%);
  display: block;
  margin: 0 auto 18px;
  padding: 0 24px;
}

.portfolio-featured .eyebrow {
  margin-bottom: 8px;
}

.portfolio-featured h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.sponsor-loop-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.portfolio-carousel {
  display: flex;
  gap: 10px;
  margin-top: 0;
  padding: 8px 0 10px;
}

.portfolio-loop {
  width: max-content;
  max-width: none;
  overflow: visible;
  scroll-snap-type: none;
  scrollbar-width: none;
  animation: sponsorLoop 26s linear infinite;
  will-change: transform;
}

.portfolio-loop:hover,
.portfolio-loop:focus-within {
  animation-play-state: paused;
}

.portfolio-loop::-webkit-scrollbar {
  display: none;
}

.portfolio-loop .case-card {
  flex-basis: 154px;
}

.case-card {
  flex: 0 0 154px;
  scroll-snap-align: start;
  min-height: 108px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 201, 135, 0.42);
  box-shadow: var(--shadow);
}

.case-card strong {
  display: -webkit-box;
  width: 100%;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.12;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.case-card small {
  display: none;
}

.client-logo {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 0 0 5px #fff, 0 14px 34px rgba(8, 16, 12, 0.12);
  animation: logoPulse 8s ease-in-out infinite;
}

.client-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  padding: 0;
}
.image-logo { background: #fff; }
.logo-red { background: #fff3f1; color: #a13727; }
.logo-gold { background: #f8f1df; color: #94712b; }
.logo-pink { background: #fff0f7; color: #b33574; }
.logo-tomato { background: #fff1ec; color: #d34220; }
.logo-sage { background: #eef6ec; color: #4b7c50; }
.logo-ink { background: #111; color: #fff; }
.logo-blue { background: #eef7ff; color: #1d6b9d; }
.logo-black { background: #0c0c0c; color: #fff; }
.logo-cream { background: #fff9ea; color: #6e5a2a; }
.logo-optic { background: #edf9ff; color: #0f6685; }
.results { background: var(--wash); }

.results-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-option {
  min-height: 86px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-option:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 201, 135, 0.58);
  background: rgba(37, 201, 135, 0.12);
}

.contact-option span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-option strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.results-visual,
.contact-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.results-visual img,
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: sectionImageDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

.contact-visual img {
  animation-duration: 32s;
  animation-delay: -10s;
}

.contact-visual {
  height: 220px;
  margin-top: 30px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 0;
}

.stat {
  min-height: 200px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat:nth-child(2) {
  background: var(--green);
  color: #fff;
  border-color: rgba(37, 201, 135, 0.8);
  box-shadow: 0 22px 54px rgba(37, 201, 135, 0.28);
}

.stat:nth-child(2) strong,
.stat:nth-child(2) span {
  color: #fff;
}

.stat strong {
  color: var(--green);
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.stat span {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-form {
  width: 100%;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--dark-2);
}

.contact-form .button {
  width: 100%;
  min-height: 62px;
  font-size: 17px;
}

.final-contact {
  padding-bottom: 104px;
}

.final-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.final-contact h2 {
  margin-bottom: 0;
  color: #fff;
}

.final-contact-actions {
  display: grid;
  gap: 12px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.hidden-field { display: none; }

input,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.consent-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  line-height: 1.35;
}

.consent-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 201, 135, 0.18);
}

textarea { resize: vertical; min-height: 130px; }
.form-note { margin: 12px 0 0; font-size: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 16, 12, 0.68);
}

.modal[aria-hidden="false"] { display: flex; }

.modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-head {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding-right: 46px;
  margin-bottom: 28px;
}

.modal-head h2 { margin-bottom: 0; font-size: clamp(32px, 5vw, 52px); }

.method-panel {
  width: min(720px, 100%);
}

.method-modal-head {
  grid-template-columns: 74px 1fr;
}

.method-number {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(37, 201, 135, 0.26);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.modal-body h3 { font-size: 17px; }
.modal-body p { color: var(--muted); margin-bottom: 0; }

.modal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-links a,
.modal-links span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

footer {
  padding: 42px 24px 94px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

footer p { margin: 6px 0; }
footer a { color: var(--ink); font-weight: 900; text-decoration: none; }

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(233, 251, 244, 0.96), rgba(255, 255, 255, 0.9)),
    #fff;
}

.thanks-card {
  width: min(760px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta { display: none; }
  .mobile-cta { display: inline-flex; }
  .hero { min-height: 520px; padding: 0 24px; }
  .hero-layout { min-height: 520px; }
  .hero-copy { padding: 62px 0 64px; }
  .hero-layout,
  .split,
  .section-heading,
  .contact-grid,
  .final-contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .results-showcase { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-large,
  .tile-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .service-visual-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-card.compact { display: none; }
  .service-row { grid-template-columns: 56px 1fr; }
  .service-row ul { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .site-nav { width: 100%; max-width: 100vw; gap: 10px; padding: 0 14px; }
  .brand { min-width: 0; }
  .brand img { width: 138px; height: 46px; }
  .mobile-cta { display: none; }
  .section { padding: 48px 18px; }
  .hero { min-height: 430px; padding: 0 18px; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(8, 16, 12, 0.92), rgba(8, 16, 12, 0.64)),
      linear-gradient(180deg, rgba(8, 16, 12, 0.36), rgba(8, 16, 12, 0.86));
  }
  .hero-bg img { object-position: 66% center; }
  .hero-layout { min-height: 430px; }
  .hero-copy { padding: 32px 0 54px; }
  h1 { font-size: 30px; }
  .hero h1 {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(31px, 8.2vw, 35px);
    line-height: 1.02;
    overflow-wrap: break-word;
    text-wrap: auto;
  }
  .hero .lead { max-width: 315px; font-size: 15px; line-height: 1.35; }
  .hero-eyebrow { font-size: 10px; }
  .hero .button.secondary { display: none; }
  .mobile-title-break { display: none; }
  .word-sans { display: inline; }
  .hero-actions { width: 100%; }
  .hero-actions .button {
    max-width: calc(100vw - 36px);
    padding-inline: 18px;
    white-space: normal;
  }
  h2 { font-size: 30px; }
  .portfolio-featured { padding: 20px 0 24px; }
  .portfolio-featured .section-heading { margin-bottom: 12px; padding: 0 18px; }
  .portfolio-featured h2 { font-size: 26px; }
  .portfolio-loop-head {
    align-items: center;
    margin-bottom: 10px;
    padding: 0 18px;
  }
  .portfolio-loop-head p:last-child { display: none; }
  .portfolio-carousel { gap: 9px; padding: 6px 18px 10px; }
  .portfolio-loop { animation-duration: 18s; }
  .portfolio-loop .case-card,
  .case-card {
    flex-basis: 92px;
    min-height: 92px;
    padding: 9px;
    border-radius: 999px;
  }
  .case-card strong { display: none; }
  .case-card .client-logo { width: 58px; height: 58px; }
  .hero-actions,
  .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { gap: 8px; }
  .hero-proof span { width: 100%; justify-content: space-between; }
  .stats-grid,
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 28px; }
  .contact-options { margin-top: 22px; }
  .contact-option {
    min-height: 74px;
    padding: 15px 16px;
    border-radius: 8px;
  }
  .contact-option strong {
    font-size: 17px;
    line-height: 1.18;
  }
  .contact-visual {
    height: 180px;
    margin-top: 24px;
    border-radius: 8px;
  }
  .contact-form {
    padding: 18px 14px;
    border-radius: 8px;
  }
  label {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.25;
  }
  input,
  textarea {
    min-height: 50px;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
  }
  textarea {
    min-height: 116px;
  }
  .consent-label {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    font-size: 11px;
    line-height: 1.28;
  }
  .consent-label input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }
  .form-note {
    font-size: 11px;
    line-height: 1.35;
  }
  .service-visual-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-visual-card { min-height: 210px; }
  .service-visual-card span { top: 13px; left: 13px; font-size: 12px; }
  .service-visual-card h3 { left: 13px; right: 13px; bottom: 14px; font-size: 21px; }
  .copy-card { padding: 24px; }
  .carousel-controls { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row ul { grid-column: auto; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-panel { max-height: 88vh; border-radius: 8px 8px 0 0; padding: 22px; }
  .modal-head { grid-template-columns: 70px 1fr; padding-right: 36px; }
  .modal-head .client-logo { width: 64px; height: 64px; }
  .method-modal-head { grid-template-columns: 58px 1fr; }
  .method-number {
    width: 54px;
    height: 54px;
    font-size: 15px;
  }
  .modal-body { gap: 14px; }
  .modal-body p { font-size: 15px; line-height: 1.45; }
}
