:root {
  --ink: #0a0a09;
  --paper: #f1efe8;
  --white: #ffffff;
  --muted: #68645b;
  --line: #ded8cc;
  --lime: #1d9e75;
  --mint: #98dcc1;
  --coral: #ff8f50;
  --soft: #fbf8ef;
}

* {
  box-sizing: border-box;
}

html {
  /* ScrollSmoother handles smooth scrolling and padding */
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 82% 8%, rgba(29, 158, 117, 0.18), transparent 28vw),
    radial-gradient(circle at 12% 18%, rgba(255, 143, 80, 0.13), transparent 22vw), var(--paper);
  text-rendering: geometricPrecision;
  overflow: hidden; /* Required for ScrollSmoother */
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 5vw 0;
  padding: 10px 18px;
  background: rgba(241, 239, 232, 0.86);
  border: 1px solid rgba(10, 10, 9, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 70px rgba(10, 10, 9, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
}

.brand span {
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
}

nav {
  display: flex;
  gap: 28px;
  color: #24211d;
  font-weight: 800;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a::before {
  display: none;
}

.nav-dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 220ms ease;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(10, 10, 9, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
  transform: translateX(-50%) translateY(6px);
  z-index: 30;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--soft);
  color: var(--lime);
}

.nav-dropdown-menu .dd-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--soft);
  border-radius: 8px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--lime);
}

.nav-dropdown-menu a:hover .dd-num {
  background: var(--lime);
  color: var(--white);
}

.header-cta,
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  touch-action: manipulation;
}

.btn:hover,
.header-cta:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(29, 158, 117, 0.35);
}

.btn.primary {
  color: var(--white);
  background: var(--lime);
  border-color: var(--lime);
  position: relative;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: var(--lime);
  opacity: 0;
  z-index: -1;
  filter: blur(14px);
  animation: btnGlow 2.5s ease-in-out infinite;
}

.btn.ghost {
  color: var(--ink);
  background: transparent;
}

.btn.ghost.dark {
  color: var(--white);
  border-color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  align-items: end;
  gap: clamp(38px, 5vw, 86px);
  min-height: 100svh;
  padding: clamp(140px, 18vh, 200px) 5vw clamp(34px, 5vh, 56px);
  overflow: hidden;
  position: relative;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.hero-blob--1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.35), transparent 70%);
}

.hero-blob--2 {
  width: 340px;
  height: 340px;
  bottom: 60px;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 143, 80, 0.3), transparent 70%);
  animation-delay: -3s;
  animation-duration: 10s;
}

.hero-blob--3 {
  width: 260px;
  height: 260px;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, rgba(152, 220, 193, 0.3), transparent 70%);
  animation-delay: -5s;
  animation-duration: 12s;
}

.hero::before {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 28px;
  height: 1px;
  content: "";
  background: rgba(10, 10, 9, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 2;
  background-image: radial-gradient(rgba(10, 10, 9, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -11px -11px;
  padding: 28px;
  margin: -28px;
  border-radius: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  aspect-ratio: 1;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1040px;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 8.2vw, 8.25rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.hero h1 span.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 span:nth-child(2) {
  background: linear-gradient(135deg, var(--lime), #34d399, var(--coral), var(--lime));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
  -webkit-text-stroke: 0;
  margin-left: clamp(18px, 5vw, 76px);
}

.hero h1 span:nth-child(3) {
  margin-left: clamp(0px, 2vw, 28px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #3c3932;
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

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

.hero-proof span {
  min-height: 40px;
  padding: 9px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-support {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin-top: 22px;
  padding: 12px;
  background: rgba(251, 248, 239, 0.88);
  border: 1px solid rgba(10, 10, 9, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(10, 10, 9, 0.08);
  backdrop-filter: blur(12px);
}

.hero-support img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.hero-support strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.05rem;
}

.hero-support p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-support a {
  color: var(--lime);
  font-weight: 900;
}

.hero-media {
  position: relative;
  min-height: clamp(420px, 58svh, 560px);
  will-change: transform;
}

.hero-media img {
  height: clamp(420px, 58svh, 560px);
  object-fit: cover;
  border: 2px solid rgba(10, 10, 9, 0.12);
  border-radius: 44px;
  box-shadow: 0 30px 90px rgba(10, 10, 9, 0.18);
  filter: saturate(1.05) contrast(1.03);
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  content: "";
  z-index: -1;
  border: 2px solid rgba(10, 10, 9, 0.16);
}

.hero-media::before {
  inset: 54px -28px -28px 46px;
  background: var(--mint);
  border-radius: 46px;
}

.hero-media::after {
  width: 132px;
  height: 132px;
  right: -32px;
  top: 40px;
  background: var(--coral);
  border-radius: 36px;
  transform: rotate(14deg);
}

.hero-copyright {
  position: absolute;
  top: 26px;
  left: -34px;
  z-index: 2;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  transform: rotate(-7deg);
}

.metric-card {
  position: absolute;
  left: -42px;
  bottom: 56px;
  width: 188px;
  padding: 20px;
  background: var(--white);
  border: 2px solid rgba(10, 10, 9, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 65px rgba(10, 10, 9, 0.16);
  will-change: transform;
  animation: floatBadge 4s ease-in-out infinite;
}

.metric-card strong {
  display: block;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 3.1rem;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 900;
}

.work-badge {
  position: absolute;
  right: -28px;
  bottom: 168px;
  padding: 16px 20px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(7deg);
  will-change: transform;
  animation: floatBadge 5s ease-in-out infinite reverse;
}

.go-down {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid rgba(10, 10, 9, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(10, 10, 9, 0.14);
}

.go-down::after {
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  content: "v";
  color: var(--white);
  background: var(--lime);
  border-radius: 50%;
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.16);
}

.ticker div {
  display: flex;
  gap: 46px;
  width: max-content;
  padding: 24px 5vw;
  animation: ticker 22s linear infinite;
  will-change: transform;
}

.gsap-enhanced .ticker div {
  animation: none;
}

.ticker span {
  position: relative;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 4rem);
  font-weight: 900;
  white-space: nowrap;
}

.ticker span::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  width: 12px;
  aspect-ratio: 1;
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

.intro,
.process,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(30px, 5vw, 84px);
  padding: 120px 5vw;
}

.intro h2,
.process h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.intro-text p {
  color: #403a32;
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.stats div {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.stats strong {
  display: block;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 900;
}

.services {
  padding: 112px 5vw;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(29, 158, 117, 0.25), transparent 28vw),
    var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  color: var(--mint);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.75fr) minmax(260px, 1fr) 58px;
  align-items: center;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 220ms ease, padding 220ms ease;
  will-change: transform;
}

.service-list article:hover {
  padding-inline: 22px;
  background: rgba(29, 158, 117, 0.15);
}

.service-list span {
  color: var(--lime);
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.service-list h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.55vw, 2.85rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.service-list p {
  margin: 0;
  color: #c8c8c8;
  line-height: 1.65;
}

.service-list a {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--lime);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease;
}

.service-list article:hover a {
  background: var(--coral);
  transform: rotate(90deg);
}

.process {
  grid-template-columns: 1fr;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(10, 10, 9, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

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

.process-grid article {
  min-height: 300px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid rgba(10, 10, 9, 0.14);
  border-radius: 34px;
  box-shadow: 0 18px 60px rgba(10, 10, 9, 0.1);
  will-change: transform;
}

.process-grid article:nth-child(2) {
  background: var(--mint);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  aspect-ratio: 1;
  margin-bottom: 44px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 900;
}

.process-grid h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.process-grid p {
  margin: 0;
  color: #403a32;
  line-height: 1.65;
}

.portfolio {
  padding: 112px 5vw;
  background: var(--soft);
}

.section-heading.light .eyebrow {
  color: var(--coral);
}

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

.project {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 9, 0.12);
  border-radius: 36px;
  will-change: transform;
}

.project.large {
  grid-row: span 2;
  min-height: 804px;
}

.project img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  will-change: transform;
}

.project:hover img {
  transform: scale(1.04);
}

.project div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  color: var(--ink);
  background: rgba(241, 239, 232, 0.92);
  border: 1px solid rgba(10, 10, 9, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  transform: translateY(8px);
  transition: transform 240ms ease, background 240ms ease;
}

.project:hover div {
  background: var(--mint);
  transform: translateY(0);
}

.project span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.testimonials {
  padding: 112px 5vw;
  background: var(--paper);
}

.slider {
  max-width: 1120px;
}

.quote {
  display: none;
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 6rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.quote.active {
  display: block;
  animation: fade 500ms ease;
}

.quote cite {
  display: block;
  margin-top: 28px;
  color: var(--coral);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  text-transform: none;
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(29, 158, 117, 0.24), transparent 30vw),
    var(--ink);
}

.contact .eyebrow {
  color: var(--lime);
}

form {
  display: grid;
  gap: 10px;
}

label {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 17px 18px;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--lime);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

button {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--lime);
  font-weight: 900;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5vw;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -25px) scale(1.08); }
}

@keyframes btnGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(7deg); }
  50% { transform: translateY(-10px) rotate(7deg); }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    gap: 42px;
    padding-top: 150px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 8vw, 6.4rem);
    line-height: 0.86;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 540px;
    font-size: 1.05rem;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero {
    min-height: calc(100svh - 72px);
    padding-top: 130px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(3rem, 7.2vw, 6.2rem);
    line-height: 0.86;
    margin-bottom: 14px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-proof {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-support {
    margin-top: 16px;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
    height: 430px;
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .intro,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 140px;
  }

  .hero-media,
  .hero-media img {
    min-height: 460px;
    height: 460px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(3.25rem, 11.5vw, 6.1rem);
    line-height: 0.86;
  }

  .service-list article {
    grid-template-columns: 48px 1fr 48px;
  }

  .service-list p {
    grid-column: 2 / -1;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .intro,
  .process,
  .services,
  .portfolio,
  .testimonials,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.5vw, 4.7rem);
    line-height: 0.9;
  }

  .hero h1 span:nth-child(2),
  .hero h1 span:nth-child(3) {
    margin-left: 0;
  }

  .hero-support {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .hero-support img {
    width: 48px;
    height: 48px;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
    height: 390px;
  }

  .metric-card {
    left: 14px;
    bottom: 18px;
  }

  .work-badge {
    right: 10px;
    bottom: 120px;
  }

  .hero-copyright {
    left: 12px;
    top: 16px;
  }

  .go-down {
    display: none;
  }

  .stats,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project,
  .project.large {
    min-height: 430px;
  }

  .service-list article {
    grid-template-columns: 1fr 48px;
  }

  .service-list span {
    grid-column: 1 / -1;
  }

  .service-list p {
    grid-column: 1 / -1;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.4vw, 3.25rem);
    line-height: 0.94;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
    height: 340px;
  }

  .metric-card {
    width: 150px;
    padding: 14px;
  }

  .metric-card strong {
    font-size: 2.35rem;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@media (max-width: 700px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

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