@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #303941;
  --ink-strong: #19232b;
  --ink-soft: #66717a;
  --teal: #10988d;
  --teal-dark: #087b73;
  --teal-soft: #dcefeb;
  --teal-pale: #eff8f6;
  --paper: #ffffff;
  --paper-warm: #f8faf9;
  --line: #d9e2e2;
  --line-strong: #bdcccc;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px rgba(24, 48, 48, 0.13);
  --container: min(1520px, calc(100vw - 160px));
  --header-height: 118px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--teal);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(22, 138, 128, 0.35);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(217, 226, 226, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  position: relative;
  display: block;
  width: 300px;
  height: 88px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img {
  position: absolute;
  width: 338px;
  max-width: none;
  left: -35px;
  top: -14px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(26px, 2.6vw, 48px);
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 43px 0 39px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 31px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav > a[aria-current="page"] {
  color: var(--teal-dark);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 32px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--teal-dark);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease, transform 260ms var(--ease), box-shadow 260ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #05645e;
  transform: translateY(105%);
  transition: transform 360ms var(--ease);
}

.button:hover::before {
  transform: translateY(0);
}

.button:hover {
  box-shadow: 0 14px 34px rgba(22, 138, 128, 0.22);
}

.button > span,
.button > strong,
.button > em {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.button .arrow {
  font-size: 1.25em;
  transition: transform 260ms var(--ease);
}

.button:hover .arrow {
  transform: translateX(4px);
}

.button-outline {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}

.button-outline::before {
  background: var(--ink-strong);
}

.button-outline:hover {
  color: #fff;
  border-color: var(--ink-strong);
}

.client-button {
  min-height: 60px;
  min-width: 240px;
  padding-inline: 32px;
  font-size: 1.03rem;
  white-space: nowrap;
}

.client-button .client-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  margin-bottom: 8px;
}

.client-button .client-dot::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 16px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transform: translateX(-50%);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 260ms ease, opacity 260ms ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(22, 138, 128, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 138, 128, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 68%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  right: -260px;
  bottom: -300px;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: 0.6;
  filter: blur(1px);
}

.hero-grid {
  width: var(--container);
  margin-inline: auto;
  min-height: 690px;
  padding: 54px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(650px, 1.07fr);
  align-items: center;
  gap: clamp(40px, 4vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--teal);
}

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

h1,
h2,
h3 {
  color: var(--ink-strong);
  letter-spacing: -0.048em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(4.35rem, 5.6vw, 5.9rem);
  line-height: 1.02;
  font-weight: 800;
}

.headline-line {
  display: block;
}

.hero h1 {
  max-width: 730px;
  margin-bottom: 22px;
  font-size: clamp(3.55rem, 4.15vw, 5.25rem);
  line-height: 1.08;
}

.accent {
  color: var(--teal);
}

.lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.38rem);
  line-height: 1.5;
}

.hero .lead {
  max-width: 690px;
  margin-bottom: 32px;
  font-size: clamp(1.32rem, 1.6vw, 1.58rem);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.project-stage {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.project-toolbar {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 3%;
  right: 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-index {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-index strong {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--teal-dark);
  letter-spacing: 0.18em;
}

.project-index strong::after {
  content: "";
  width: 72px;
  height: 1px;
  background: var(--line-strong);
}

.project-index span {
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: none;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: transform 260ms var(--ease), background 260ms ease, border-color 260ms ease;
}

.carousel-controls button:last-child {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.carousel-controls button:hover {
  transform: translateY(-3px);
}

.carousel-controls img {
  width: 19px;
  height: 19px;
}

.carousel-controls button:last-child img {
  filter: brightness(0) invert(1);
}

.project-name {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 118px;
  width: 196px;
  padding: 16px 18px 16px 20px;
  border: 0;
  border-left: 2px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.project-name strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.project-name span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.laptop {
  position: relative;
  width: min(100%, 760px);
  padding-bottom: 25px;
  transform-style: preserve-3d;
  transition: transform 550ms var(--ease);
}

.hero-visual .laptop {
  width: min(100%, 650px);
}

.laptop:hover {
  transform: translateY(-8px) rotateX(1deg);
}

.laptop-lid {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  padding: 10px;
  overflow: hidden;
  border: 2px solid #151b20;
  border-radius: 18px 18px 10px 10px;
  background: #11171b;
  box-shadow: var(--shadow);
}

.laptop-lid::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 4px;
  left: 50%;
  width: 46px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: #090d10;
  transform: translateX(-50%);
}

.laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px 8px 4px 4px;
  background: #eef3f2;
}

.laptop-screen::after {
  content: "Carregando prévia";
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: linear-gradient(110deg, #edf3f2 20%, #f9fbfa 38%, #edf3f2 56%);
  background-size: 220% 100%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 240ms ease;
}

.laptop-screen.is-loading::after,
.laptop-screen.has-error::after {
  opacity: 1;
}

.laptop-screen.is-loaded::after {
  opacity: 0;
  pointer-events: none;
}

.laptop-screen.has-error::after {
  content: "Prévia temporariamente indisponível";
  background: var(--teal-pale);
}

@media (prefers-reduced-motion: no-preference) {
  .laptop-screen.is-loading:not(.is-loaded):not(.has-error)::after {
    animation: screen-loading 1.35s linear infinite;
  }
}

@keyframes screen-loading {
  to { background-position: -220% 0; }
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 520ms ease, transform 1.2s var(--ease);
}

.laptop:hover .laptop-screen img {
  transform: scale(1.025);
}

.laptop-base {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: 8px;
  left: -4%;
  height: 22px;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(180deg, #d8dee1, #8d979e);
  box-shadow: 0 14px 22px rgba(21, 34, 40, 0.2);
}

.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 20%;
  height: 6px;
  border-radius: 0 0 7px 7px;
  background: #aeb7bc;
  transform: translateX(-50%);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 600ms ease, transform 850ms var(--ease);
}

.carousel-slide.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip > div {
  min-height: 108px;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.service-strip > div > img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: invert(36%) sepia(55%) saturate(824%) hue-rotate(126deg) brightness(89%) contrast(94%);
}

.service-strip > div:last-child {
  border-right: 0;
}

.service-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
}

.service-strip small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 160px) 0;
}

.section-soft {
  background: var(--paper-warm);
}

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

.section-teal h2,
.section-teal h3 {
  color: #fff;
}

.section-teal .lead,
.section-teal p {
  color: rgba(255, 255, 255, 0.92);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(46px, 7vw, 82px);
}

.section-heading h2,
.display-title {
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 5.6vw, 5.5rem);
  line-height: 0.98;
  font-weight: 820;
}

.section-heading .lead {
  margin-bottom: 0;
}

.services-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.85fr) minmax(280px, 1.15fr) 52px;
  align-items: center;
  gap: 32px;
  min-height: 150px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 320ms ease, padding 360ms var(--ease);
}

.service-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--teal-pale);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 380ms var(--ease);
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-row:hover {
  padding-inline: 18px;
}

.service-number {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.service-row .row-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal-dark);
  transition: color 260ms ease, background 260ms ease, transform 260ms var(--ease);
}

.service-row:hover .row-arrow {
  color: #fff;
  background: var(--teal-dark);
  transform: rotate(-35deg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(64px, 5.5vw, 94px);
  row-gap: clamp(76px, 9vw, 132px);
}

.project-card {
  grid-column: span 6;
}

.project-card:nth-child(2n) {
  transform: translateY(82px);
}

.project-card a {
  display: block;
}

.project-card .laptop {
  width: 100%;
}

.project-card-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding-top: 26px;
}

.project-card h3 {
  margin-bottom: 7px;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
}

.project-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 760;
  white-space: nowrap;
}

.project-link span {
  transition: transform 260ms var(--ease);
}

.project-link:hover span {
  transform: translate(4px, -4px);
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.statement h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.94;
}

.statement p {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.process-step {
  min-height: 240px;
  padding: 34px 28px 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.process-step:not(:first-child) {
  padding-left: 28px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step .step-number {
  display: block;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.process-step p {
  margin-bottom: 0;
  line-height: 1.55;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.logo-marquee span {
  padding: 26px 42px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 740;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.page-hero {
  position: relative;
  min-height: calc(100dvh - var(--header-height));
  padding: 64px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  right: -180px;
  bottom: -290px;
  border: 110px solid var(--teal-pale);
  transform: rotate(45deg);
  opacity: 0.75;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(4.5rem, 5.15vw, 5.45rem);
}

.page-hero .lead {
  max-width: 680px;
}

.services-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(540px, 0.92fr);
  align-items: center;
  gap: 92px;
}

.services-preview {
  border-top: 1px solid var(--line-strong);
}

.services-preview-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line-strong);
}

.services-preview-item span {
  color: var(--teal);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  font-size: 0.74rem;
  font-weight: 800;
}

.services-preview-item span img {
  width: 31px;
  height: 31px;
  filter: invert(36%) sepia(55%) saturate(824%) hue-rotate(126deg) brightness(89%) contrast(94%);
}

.services-preview-item h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.services-preview-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability {
  min-height: 245px;
  padding: 34px;
  background: #fff;
  transition: background 300ms ease, transform 300ms var(--ease);
}

.capability:hover {
  z-index: 1;
  background: var(--teal-pale);
  transform: translateY(-4px);
}

.capability strong {
  display: block;
  margin-bottom: 50px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.capability h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.capability p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.plans-section {
  overflow: hidden;
  background: var(--paper-warm);
}

.plans-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.55fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(72px, 9vw, 128px);
}

.plans-intro .section-heading {
  margin-bottom: 0;
}

.plans-intro-copy {
  padding-bottom: 6px;
}

.plans-intro-copy p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}

.plan-catalog {
  display: grid;
  gap: clamp(72px, 9vw, 124px);
}

.plan-group {
  position: relative;
}

.plan-group-heading {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-bottom: 28px;
}

.plan-group-heading > div {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.plan-group-index {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.plan-group-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.055em;
}

.plan-group-heading p {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.plan-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.plan-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 470px;
  padding: clamp(28px, 3.3vw, 46px);
  flex-direction: column;
  background: #fff;
  transition: background 280ms ease, transform 280ms var(--ease);
}

.plan-grid-two .plan-card {
  min-height: 420px;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background 280ms ease;
}

.plan-card:hover {
  z-index: 1;
  background: #fbfffd;
  transform: translateY(-5px);
}

.plan-card:hover::before,
.plan-card-featured::before {
  background: var(--teal);
}

.plan-kicker {
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.plan-card h4 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0;
}

.plan-price strong {
  color: var(--ink-strong);
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan-price span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
}

.plan-features {
  display: grid;
  gap: 11px;
  margin: 34px 0 38px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.48;
}

.plan-features li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.plan-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 780;
}

.plan-action span {
  font-size: 1.25rem;
  transition: transform 240ms var(--ease);
}

.plan-action:hover span {
  transform: translateX(5px);
}

.projects-hero {
  min-height: calc(100dvh - var(--header-height));
  align-items: flex-start;
  padding-top: 8px;
}

.projects-hero h1 {
  max-width: 880px;
  margin-bottom: 14px;
  font-size: clamp(4rem, 4.3vw, 4.55rem);
  line-height: 1.03;
}

.projects-hero .page-hero-content {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: var(--container);
  max-width: none;
  margin-inline: 0;
  transform: translateX(-50%);
}

.projects-hero .eyebrow {
  margin-bottom: 8px;
}

.projects-stage {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  width: var(--container);
  height: 545px;
  transform: translateX(-50%);
}

.projects-stage.reveal-mask,
.projects-stage.reveal-mask.is-visible {
  transform: translateX(-50%);
}

.projects-stage.reveal-mask.will-reveal {
  transform: translateX(-50%);
}

.portfolio-device {
  position: absolute;
  bottom: 40px;
  width: 440px;
}

.portfolio-device:nth-child(1) { left: -42px; z-index: 1; }
.portfolio-device:nth-child(2) { left: 302px; bottom: 4px; z-index: 4; width: 560px; }
.portfolio-device:nth-child(3) { right: 244px; bottom: 58px; z-index: 2; width: 470px; }
.portfolio-device:nth-child(4) { right: -50px; bottom: 35px; z-index: 3; width: 420px; }

.portfolio-device .laptop {
  width: 100%;
}

.project-mini-meta {
  margin-top: 8px;
  text-align: center;
}

.project-mini-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-strong);
  font-size: 1rem;
}

.project-mini-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.showcase-section {
  padding-top: 80px;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  min-height: 720px;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.project-showcase:nth-child(even) .project-copy {
  order: 2;
}

.project-showcase:nth-child(even) .project-media {
  order: 1;
}

.project-copy .project-count {
  display: block;
  margin-bottom: 26px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.project-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
}

.project-copy p {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.project-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 680;
}

.project-media {
  position: relative;
}

.project-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% -10% -4% 12%;
  border-radius: 50%;
  background: var(--teal-pale);
  filter: blur(30px);
}

.about-hero {
  min-height: calc(100dvh - var(--header-height));
  padding: 0;
}

.about-layout {
  width: 100%;
  height: calc(100dvh - var(--header-height));
  padding-bottom: 150px;
  display: grid;
  grid-template-columns: minmax(0, 42.5%) minmax(0, 57.5%);
  align-items: center;
  gap: 0;
}

.about-visual {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.about-layout .page-hero-content {
  max-width: 760px;
  padding: 40px 34px 40px max(80px, calc((100vw - 1520px) / 2));
}

.about-layout h1 {
  max-width: 720px;
  font-size: clamp(3.7rem, 4.35vw, 5.45rem);
  line-height: 1.04;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.about-hero::after {
  content: none;
}

.about-hero-process {
  position: absolute;
  z-index: 4;
  right: max(80px, calc((100vw - 1520px) / 2));
  bottom: 0;
  left: max(80px, calc((100vw - 1520px) / 2));
  height: 150px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
}

.about-hero-process article {
  position: relative;
  min-height: 78px;
  padding: 6px 26px 6px 72px;
  border-right: 1px solid var(--line);
}

.about-hero-process article:last-child {
  border-right: 0;
}

.about-hero-process span {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.about-hero-process h2 {
  margin-bottom: 4px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.about-hero-process p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.about-visual::before,
.about-visual::after {
  content: none;
}

.about-visual::before {
  width: 74%;
  height: 74%;
  right: 0;
  bottom: 0;
  background: var(--teal);
  transform: rotate(8deg);
}

.about-visual::after {
  width: 76%;
  height: 72%;
  top: 0;
  left: 2%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(-5deg);
}

.about-mark {
  display: none;
}

.about-mark img {
  position: absolute;
  width: 560px;
  max-width: none;
  top: -165px;
  left: -130px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle {
  padding-top: 28px;
  border-top: 2px solid var(--teal);
}

.principle h3 {
  font-size: 1.6rem;
}

.principle p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.contact-hero {
  min-height: calc(100dvh - var(--header-height));
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(650px, 1.1fr);
  align-items: center;
  gap: clamp(70px, 7vw, 112px);
}

.contact-grid h1 {
  max-width: 690px;
  font-size: clamp(3.15rem, 3.75vw, 4.6rem);
  line-height: 1.12;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-strong);
  font-size: 0.88rem;
  font-weight: 740;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-strong);
  background: transparent;
  transition: border-color 260ms ease, background 260ms ease;
}

.field input,
.field select {
  height: 52px;
}

.field textarea {
  min-height: 120px;
  padding-top: 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  background: var(--teal-pale);
}

.form-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.form-actions .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 650;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
}

.contact-point {
  min-width: 0;
  padding: 10px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.contact-point:first-child {
  padding-left: 0;
}

.contact-point:last-child {
  padding-right: 0;
  border-right: 0;
}

.contact-point > img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: invert(36%) sepia(55%) saturate(824%) hue-rotate(126deg) brightness(89%) contrast(94%);
}

.contact-point strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-strong);
  font-size: 0.82rem;
}

.contact-point small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.cta-section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink-strong);
}

.cta-section::after {
  content: "MJ";
  position: absolute;
  right: -1vw;
  bottom: -0.24em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(15rem, 32vw, 34rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.12em;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.cta-content h2 {
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
}

.site-footer {
  padding: 62px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 54px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 0.84rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: var(--ink-soft);
  transition: color 220ms ease, transform 220ms ease;
}

.footer-column a:hover {
  color: var(--teal-dark);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), clip-path 1.05s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal-mask.will-reveal {
  opacity: 1;
  transform: translateX(18px);
  clip-path: inset(0 5% 0 0);
}

.reveal-mask.will-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  clip-path: inset(0 0 0 0);
}

.projects-stage.reveal-mask,
.projects-stage.reveal-mask.will-reveal,
.projects-stage.reveal-mask.will-reveal.is-visible {
  transform: translateX(-50%);
}

.page-transition {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: var(--teal);
  transform: translateY(101%);
  transition: transform 620ms var(--ease);
}

.page-transition::after {
  content: "MJDEV";
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  opacity: 0;
  transition: opacity 200ms ease;
}

body.is-entering .page-transition {
  transform: translateY(0);
  transition: none;
}

body.is-entering.is-ready .page-transition {
  transform: translateY(100%);
}

body.is-leaving .page-transition {
  pointer-events: auto;
  transform: translateY(0);
}

body.is-leaving .page-transition::after {
  opacity: 1;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  left: 16px;
  top: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink-strong);
  transform: translateY(-150%);
}

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

@media (min-width: 1051px) and (max-width: 1500px) {
  .projects-hero .portfolio-device:nth-child(1) {
    left: -15px;
    bottom: 58px;
    width: 300px;
  }

  .projects-hero .portfolio-device:nth-child(2) {
    left: 250px;
    bottom: 2px;
    width: 380px;
  }

  .projects-hero .portfolio-device:nth-child(3) {
    right: 240px;
    bottom: 72px;
    width: 330px;
  }

  .projects-hero .portfolio-device:nth-child(4) {
    right: -15px;
    bottom: 48px;
    width: 300px;
  }
}

@media (max-width: 1050px) {
  :root {
    --container: min(100% - 36px, 960px);
    --header-height: 86px;
  }

  .brand {
    width: 180px;
  }

  .brand img {
    width: 220px;
    left: -18px;
    top: -5px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav > a:not(.button) {
    font-size: 0.86rem;
  }

  .client-button {
    padding-inline: 15px;
    font-size: 0.86rem;
  }

  .hero-grid,
  .services-hero-grid,
  .about-layout,
  .contact-grid,
  .plans-intro {
    grid-template-columns: 1fr;
  }

  .plans-intro {
    gap: 34px;
  }

  .about-layout {
    width: var(--container);
    height: auto;
    min-height: 0;
    margin-inline: auto;
    padding-bottom: 0;
  }

  .about-layout .page-hero-content {
    max-width: 820px;
    padding: 74px 0 38px;
  }

  .about-visual {
    width: 100%;
    height: 520px;
  }

  .about-hero-process {
    display: none;
  }

  .hero-grid {
    padding-top: 72px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(3.8rem, 9vw, 6.5rem);
  }

  .hero-visual {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero .project-name {
    right: 0;
    width: 164px;
    padding: 15px 14px 15px 18px;
    background: rgba(255, 255, 255, 0.94);
  }

  .projects-hero {
    display: block;
    padding-bottom: 0;
  }

  .projects-hero .page-hero-content {
    position: relative;
    top: auto;
    left: auto;
    margin-inline: auto;
    transform: none;
  }

  .projects-stage,
  .projects-stage.reveal-mask,
  .projects-stage.reveal-mask.is-visible,
  .projects-stage.reveal-mask.will-reveal,
  .projects-stage.reveal-mask.will-reveal.is-visible {
    position: relative;
    left: auto;
    bottom: auto;
    width: var(--container);
    height: 460px;
    margin: 20px auto 0;
    transform: none;
  }

  .portfolio-device:nth-child(1) { left: -18px; bottom: 70px; width: 290px; }
  .portfolio-device:nth-child(2) { left: 200px; bottom: 10px; width: 360px; }
  .portfolio-device:nth-child(3) { right: 160px; bottom: 82px; width: 310px; }
  .portfolio-device:nth-child(4) { right: -12px; bottom: 48px; width: 280px; }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strip > div:nth-child(2) {
    border-right: 0;
  }

  .service-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .service-row {
    grid-template-columns: 60px minmax(200px, 0.8fr) minmax(260px, 1.2fr) 48px;
    gap: 20px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-showcase:nth-child(even) .project-copy,
  .project-showcase:nth-child(even) .project-media {
    order: initial;
  }

  .about-visual {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .contact-grid {
    gap: 70px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
    --container: calc(100% - 32px);
  }

  .brand {
    width: 176px;
    height: 56px;
  }

  .brand img {
    width: 214px;
    top: -4px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 460ms var(--ease), visibility 0s linear 460ms;
  }

  .menu-open .main-nav {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition: clip-path 460ms var(--ease), visibility 0s linear 0s;
  }

  .main-nav > a:not(.button) {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .client-button {
    margin-top: 26px;
  }

  .hero-grid,
  .page-hero,
  .about-hero,
  .contact-hero {
    padding-block: 66px;
  }

  .hero h1,
  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .headline-line {
    display: inline;
  }

  .headline-line + .headline-line::before {
    content: " ";
  }

  .project-stage {
    min-height: 430px;
  }

  .service-row {
    grid-template-columns: 48px 1fr 44px;
    gap: 16px;
    padding: 24px 0;
  }

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

  .project-grid {
    display: block;
  }

  .project-toolbar {
    top: 4px;
    right: 0;
    left: 0;
  }

  .project-index strong::after {
    width: 44px;
  }

  .carousel-controls button {
    width: 40px;
    height: 40px;
  }

  .projects-hero {
    min-height: 0;
  }

  .projects-stage,
  .projects-stage.reveal-mask,
  .projects-stage.reveal-mask.is-visible,
  .projects-stage.reveal-mask.will-reveal,
  .projects-stage.reveal-mask.will-reveal.is-visible {
    height: auto;
    padding: 10px 0 58px;
  }

  .portfolio-device {
    display: none;
  }

  .portfolio-device:nth-child(1) {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .project-card,
  .project-card:nth-child(2n) {
    margin-bottom: 80px;
    transform: none;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .capabilities-grid,
  .principles-grid,
  .plan-grid-three,
  .plan-grid-two {
    grid-template-columns: 1fr;
  }

  .plan-group-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plan-card,
  .plan-grid-two .plan-card {
    min-height: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .form-actions {
    grid-column: 1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 24px);
  }

  .hero-grid {
    padding-block: 48px 70px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.8vw, 3.4rem);
    line-height: 1.01;
  }

  .page-hero h1,
  .about-layout h1,
  .contact-grid h1,
  .projects-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.05rem);
    line-height: 1.04;
  }

  .section-heading h2,
  .display-title,
  .statement h2,
  .cta-content h2,
  .project-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .project-stage {
    min-height: 0;
    display: block;
    padding-top: 54px;
    padding-bottom: 8px;
  }

  .hero-visual .laptop {
    margin-inline: auto;
  }

  .about-layout .page-hero-content {
    padding: 52px 0 32px;
  }

  .about-visual {
    height: 360px;
  }

  .hero .project-name {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 18px auto 0;
    padding: 0;
    border: 0;
    text-align: center;
    background: transparent;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip > div:last-child {
    border-bottom: 0;
  }

  .project-index {
    font-size: 0.68rem;
  }

  .project-index span {
    display: none;
  }

  .contact-points {
    grid-template-columns: 1fr;
  }

  .contact-point,
  .contact-point:first-child,
  .contact-point:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-point:last-child {
    border-bottom: 0;
  }

  .service-row {
    grid-template-columns: 38px 1fr;
  }

  .service-row p,
  .service-row .row-arrow {
    grid-column: 2;
  }

  .project-card-meta {
    grid-template-columns: 1fr;
  }

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

  .process-step,
  .process-step:not(:first-child) {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .process-step .step-number {
    margin-bottom: 20px;
  }

  .services-hero-grid {
    gap: 48px;
  }

  .project-showcase {
    padding-block: 72px;
  }

  .about-visual {
    min-height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

@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;
  }

  .reveal,
  .reveal-mask {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* A vitrine de projetos usa uma grade responsiva para impedir sobreposicao e corte. */
@media (min-width: 1051px) {
  .projects-hero {
    display: block;
    min-height: auto;
    padding-top: clamp(34px, 5vh, 64px);
    padding-bottom: clamp(72px, 8vw, 118px);
  }

  .projects-hero .page-hero-content {
    position: relative;
    top: auto;
    left: auto;
    margin-inline: auto;
    transform: none;
  }

  .projects-stage {
    position: relative;
    left: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: clamp(22px, 2.4vw, 38px);
    height: auto;
    margin: clamp(64px, 7vw, 104px) auto 0;
    transform: none;
  }

  .projects-stage.reveal-mask,
  .projects-stage.reveal-mask.is-visible,
  .projects-stage.reveal-mask.will-reveal,
  .projects-stage.reveal-mask.will-reveal.is-visible {
    transform: none;
  }

  .projects-stage .portfolio-device,
  .projects-stage .portfolio-device:nth-child(1),
  .projects-stage .portfolio-device:nth-child(2),
  .projects-stage .portfolio-device:nth-child(3),
  .projects-stage .portfolio-device:nth-child(4) {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .projects-stage .portfolio-device:nth-child(3) {
    transform: translateY(-10px);
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .projects-stage,
  .projects-stage.reveal-mask,
  .projects-stage.reveal-mask.is-visible,
  .projects-stage.reveal-mask.will-reveal,
  .projects-stage.reveal-mask.will-reveal.is-visible {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 34px 28px;
    height: auto;
    padding: 34px 0 74px;
  }

  .projects-stage .portfolio-device,
  .projects-stage .portfolio-device:nth-child(1),
  .projects-stage .portfolio-device:nth-child(2),
  .projects-stage .portfolio-device:nth-child(3),
  .projects-stage .portfolio-device:nth-child(4) {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .projects-hero .page-hero-content {
    overflow: hidden;
  }

  .projects-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.1vw, 2.35rem);
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .projects-hero .headline-line,
  .projects-hero .headline-line + .headline-line {
    display: block;
  }

  .projects-hero .headline-line + .headline-line::before {
    content: none;
  }

  .projects-stage,
  .projects-stage.reveal-mask,
  .projects-stage.reveal-mask.is-visible,
  .projects-stage.reveal-mask.will-reveal,
  .projects-stage.reveal-mask.will-reveal.is-visible {
    width: min(100% - 12px, 560px);
    padding-top: 28px;
  }

  .projects-stage .portfolio-device:nth-child(1) {
    width: calc(100% - 14px);
  }

  .projects-stage .portfolio-device:nth-child(1) .laptop {
    margin-inline: auto;
  }

  .projects-stage .portfolio-device:nth-child(1) .laptop-base {
    right: -2%;
    left: -2%;
  }
}
