:root {
  --ink: #101418;
  --muted: #667078;
  --paper: #f6f2eb;
  --white: #ffffff;
  --line: rgba(16, 20, 24, 0.13);
  --gold: #b99655;
  --forest: #123c34;
  --blue: #17354f;
  --shadow: 0 24px 60px rgba(16, 20, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(22px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(246, 242, 235, 0.94);
  box-shadow: 0 12px 36px rgba(16, 20, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 170px;
  min-width: 170px;
  height: 58px;
}

.brand-logo {
  display: block;
  width: 170px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}

.brand .logo-dark {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
}

.site-header.scrolled .brand .logo-light {
  opacity: 0;
}

.site-header.scrolled .brand .logo-dark {
  opacity: 1;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.45vw, 24px);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 11px 17px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 9px;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.scrolled .header-instagram {
  border-color: rgba(16, 20, 24, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.portfolio-download {
  color: var(--gold);
}

.instagram-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background:
    radial-gradient(circle at 30% 108%, #ffd76a 0 18%, #f58529 28%, transparent 48%),
    radial-gradient(circle at 72% 14%, #833ab4 0 24%, transparent 42%),
    linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 52%, #962fbf 76%, #4f5bd5 100%);
  box-shadow: 0 7px 18px rgba(214, 41, 118, 0.25);
}

.instagram-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(26px, 4vw, 42px);
  align-content: center;
  padding: 118px clamp(34px, 5vw, 72px) 46px;
  overflow: hidden;
  color: var(--white);
  --hero-x: 0;
  --hero-y: 0;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: scale(1.035) translate3d(calc(var(--hero-x) * -10px), calc(var(--hero-y) * -7px), 0);
  transition: transform 900ms ease-out;
  will-change: transform;
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.035) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.105) translate3d(-1.6%, -0.8%, 0);
  }
}

@keyframes heroFineLine {
  0% {
    transform: translateX(-28%);
    opacity: 0;
  }

  18%,
  78% {
    opacity: 0.55;
  }

  100% {
    transform: translateX(128%);
    opacity: 0;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1400ms ease, transform 9000ms ease;
  filter: saturate(0.82) contrast(1.08) brightness(0.88);
}

.hero-slide.active {
  opacity: 1;
  animation: heroImageDrift 7.2s ease-out forwards;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.18), rgba(16, 20, 24, 0.06)),
    linear-gradient(135deg, rgba(18, 60, 52, 0.16), rgba(23, 53, 79, 0.2));
  mix-blend-mode: multiply;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 15, 0.92), rgba(7, 12, 15, 0.52) 48%, rgba(7, 12, 15, 0.68)),
    linear-gradient(0deg, rgba(7, 12, 15, 0.78), rgba(7, 12, 15, 0.06) 52%);
}

.hero-shade::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(195, 142, 72, 0.75), transparent);
  animation: heroFineLine 7.2s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: end;
}

.hero-headline,
.hero-intro {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.proof-content h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4vw, 4.3rem);
  font-weight: 500;
  line-height: 0.96;
}

.hero h1 > span {
  display: block;
}

.hero-title-emphasis {
  position: relative;
  padding-bottom: 18px;
}

.hero-title-emphasis::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.hero-intro {
  padding: 6px 0 8px clamp(24px, 3vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-copy {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.instagram-button {
  gap: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-portfolio-button,
.mobile-instagram-button {
  display: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 1180px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: end;
  justify-self: stretch;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 16, 0.58);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  transition: border-color 360ms ease, transform 360ms ease, background 360ms ease;
}

.hero-panel:hover {
  border-color: rgba(195, 142, 72, 0.44);
  background: rgba(10, 14, 16, 0.66);
  transform: translateY(-3px);
}

.hero-panel div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.58;
}

.section {
  padding: clamp(42px, 5.5vw, 72px) clamp(20px, 5vw, 72px);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.proof-content h2,
.contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3.35rem);
  font-weight: 500;
  max-width: 560px;
  line-height: 0.94;
}

.intro p,
.section-heading p,
.proof-content p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.58;
  max-width: 560px;
}

.intro p,
.section-heading p,
.service-card p,
.founder-copy p:not(.section-kicker),
.team-card p,
.specialist-copy p,
.case-detail-grid p,
.timeline p,
.contact-card p {
  font-family: Georgia, "Times New Roman", serif;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: normal;
  word-break: normal;
  word-spacing: 0.02em;
}

.hero-panel span,
.proof-content p,
.proof-list span,
.consultant-text p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: normal;
  word-break: normal;
  word-spacing: 0.02em;
}

.intro h2,
.section-heading h2,
.proof-content h2,
.founder-copy h3,
.consultant-text h3,
.specialist-copy h3,
.case-detail-grid h3,
.contact-card h2 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.section-heading {
  max-width: 560px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(300px, 560px) minmax(260px, 380px);
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}

.section-heading.split > div {
  max-width: 560px;
}

.section-heading.split > p {
  max-width: 360px;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.portfolio-heading-simple {
  max-width: none;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.portfolio-heading-simple h2 {
  max-width: none;
  color: #53606a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 214px;
  padding: clamp(20px, 2.2vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.service-card span {
  display: block;
  color: var(--gold);
  font-weight: 900;
}

.service-card h3 {
  max-width: 360px;
  margin: 24px 0 10px;
  font-size: clamp(1.42rem, 1.9vw, 2rem);
  line-height: 0.98;
}

.service-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.56;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(44px, 5.8vw, 68px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 60, 52, 0.96), rgba(23, 53, 79, 0.92)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.proof-content p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.proof-list div {
  min-height: 138px;
  padding: 18px;
  background: rgba(12, 25, 30, 0.32);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.proof-list span {
  color: rgba(255, 255, 255, 0.72);
}

.clients {
  background: var(--paper);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-grid span {
  display: grid;
  min-height: 82px;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.52);
  font-weight: 850;
}

.team {
  background: var(--white);
}

.founder-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: 10px;
  color: var(--white);
  background: var(--ink);
}

.founder-photo {
  min-height: 500px;
  background: #050607;
  overflow: hidden;
}

.founder-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04);
}

.founder-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 3.2vw, 42px);
}

.founder-copy h3 {
  max-width: 600px;
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.1vw, 4.25rem);
  font-weight: 500;
  line-height: 0.9;
}

.founder-copy p:not(.section-kicker) {
  max-width: 620px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.62;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 12px;
  align-items: stretch;
}

.team-card {
  position: relative;
  min-height: 238px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.84), rgba(255, 255, 255, 0.98));
  overflow: hidden;
}

.team-card h3 {
  max-width: 360px;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.team-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.team-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.56;
}

.consultant-card {
  display: grid;
  grid-column: 1;
  grid-row: auto;
  grid-template-columns: minmax(360px, 0.82fr) minmax(260px, 0.58fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(300px, 30vw, 390px);
  max-height: 390px;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.consultant-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 13, 17, 0.98), rgba(8, 13, 17, 0.86) 38%, rgba(8, 13, 17, 0.22) 56%, rgba(8, 13, 17, 0.03)),
    linear-gradient(135deg, rgba(195, 142, 72, 0.18), transparent 46%);
  z-index: 1;
}

.consultant-text {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: clamp(26px, 3vw, 44px) clamp(28px, 4vw, 54px);
}

.consultant-text h3 {
  max-width: 520px;
  color: var(--white);
  font-size: clamp(2.15rem, 3.2vw, 3.1rem);
  line-height: 0.92;
}

.consultant-text span {
  margin-bottom: 16px;
}

.consultant-text p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.58;
}

.consultant-photo {
  min-height: 0;
  height: 100%;
  background: #202326;
}

.consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.12) saturate(0.92) contrast(1.03) brightness(1.18);
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 242, 235, 0.62)),
    linear-gradient(135deg, rgba(195, 142, 72, 0.12), transparent 54%);
}

.support-card::before {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 74px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.support-card h3 {
  max-width: 260px;
  font-size: clamp(1.8rem, 2.1vw, 2.45rem);
  line-height: 0.92;
}

.support-card p {
  max-width: 260px;
}

.accent-card {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(26, 51, 57, 0.96), rgba(8, 13, 17, 0.96)),
    linear-gradient(135deg, rgba(195, 142, 72, 0.2), transparent 58%);
}

.accent-card h3 {
  color: var(--white);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.72);
}

.integrated-projects-card {
  grid-column: 1;
  grid-row: auto;
  display: grid;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.integrated-intro {
  position: relative;
  padding: clamp(34px, 5vw, 66px) clamp(26px, 5vw, 72px);
  border: 1px solid var(--line);
  border-bottom: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(185, 150, 85, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 244, 0.72));
}

.integrated-intro::before {
  display: block;
  width: 92px;
  height: 2px;
  margin-bottom: 20px;
  content: "";
  background: var(--gold);
}

.integrated-projects-card h3 {
  max-width: 820px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.86;
}

.integrated-projects-card span {
  max-width: 760px;
  margin-bottom: 16px;
}

.integrated-projects-card p {
  max-width: 760px;
  color: #41515a;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
  text-align: left;
  text-align-last: auto;
  hyphens: none;
}

.integrated-projects-card .integrated-lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  hyphens: none;
}

.integrated-process {
  padding: clamp(22px, 3.1vw, 40px) clamp(20px, 4vw, 48px) clamp(22px, 3.4vw, 42px);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 0%, rgba(185, 150, 85, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(18, 60, 52, 0.98), rgba(23, 53, 79, 0.97));
}

.integrated-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integrated-steps li {
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(185, 150, 85, 0.34);
  background: rgba(8, 13, 17, 0.18);
}

.integrated-steps span {
  display: block;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.integrated-steps span::after {
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 8px;
  content: "";
  background: var(--gold);
}

.integrated-steps strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 1.8vw, 1.78rem);
  font-weight: 500;
  line-height: 1;
}

.integrated-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(185, 150, 85, 0.48);
  color: rgba(255, 255, 255, 0.84);
  font-family: Georgia, "Times New Roman", serif;
  list-style: none;
}

.integrated-flow li {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.integrated-flow li:not(:last-child)::after {
  margin-left: 14px;
  color: var(--gold);
  content: "\2192";
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.specialists-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.specialist-card {
  display: grid;
  grid-template-rows: 286px 1fr;
  min-height: 520px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.82), rgba(255, 255, 255, 0.99));
  overflow: hidden;
}

.specialist-photo {
  background: #d7d2ca;
  overflow: hidden;
}

.specialist-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 800ms ease, filter 800ms ease;
}

.specialist-card:hover .specialist-photo img {
  transform: scale(1.035);
  filter: saturate(0.98) contrast(1.06);
}

.priscylla-card .specialist-photo img {
  object-position: 46% 8%;
}

.leandro-card .specialist-photo img {
  object-position: center 8%;
}

.vinicius-card .specialist-photo img {
  object-position: center 40%;
}

.specialist-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 24px);
}

.specialist-copy h3 {
  max-width: 360px;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 2.6vw, 3.15rem);
  font-weight: 500;
  line-height: 0.98;
}

.specialist-copy span {
  display: block;
  min-height: 0;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specialist-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.portfolio-browser {
  margin-top: 4px;
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 26px;
  margin: -2px 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-filter button {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.project-filter button:hover,
.project-filter button.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px) clamp(16px, 2vw, 20px);
}

.project-card {
  color: var(--ink);
  background: transparent;
  transition: opacity 240ms ease, transform 280ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card.is-hidden {
  display: none;
}

.project-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.project-card figure span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 7px 12px 6px;
  color: var(--forest);
  background: rgba(217, 229, 214, 0.94);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(8, 13, 17, 0.82);
  filter: saturate(0.88) contrast(1.01);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.project-card:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.055);
}

.chales-card img {
  object-fit: contain;
  object-position: center bottom;
  background: #ebe7df;
}

.project-card div {
  padding: 14px 2px 0;
}

.project-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  font-weight: 500;
  line-height: 1.12;
}

.project-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(26, 51, 57, 0.62);
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 10px;
  color: var(--blue);
  font-size: clamp(0.73rem, 0.82vw, 0.84rem);
  line-height: 1.24;
  text-transform: uppercase;
}

.project-card li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--gold);
}

.project-video-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 15px;
  border: 1px solid rgba(26, 51, 57, 0.7);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-video-trigger span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.project-video-trigger:hover,
.project-video-trigger:focus-visible {
  border-color: var(--gold);
  background: var(--ink);
  color: #fff;
}

body.has-project-video {
  overflow: hidden;
}

.project-video-modal {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: clamp(16px, 4vw, 52px);
  background: rgba(4, 10, 14, 0.92);
  opacity: 0;
  transition: visibility 180ms ease, opacity 180ms ease;
}

.project-video-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.project-video-frame {
  position: relative;
  width: min(1120px, 100%);
  margin: 0;
}

.project-video-frame video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #05080a;
  object-fit: contain;
}

.project-video-frame figcaption {
  padding: 14px 48px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.project-video-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(5, 10, 14, 0.76);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.project-video-close:hover,
.project-video-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.projects-in-motion {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 7vw, 110px);
  padding: clamp(54px, 7vw, 96px) clamp(22px, 7vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(190, 149, 75, 0.16), transparent 30%),
    linear-gradient(125deg, #0b1419 0%, #123d41 100%);
  color: #fff;
}

.projects-in-motion-media {
  justify-self: center;
  width: min(420px, 100%);
}

.projects-in-motion-media video {
  display: block;
  width: 100%;
  max-height: 720px;
  aspect-ratio: 9 / 16;
  background: #e7e8e6;
  object-fit: cover;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.projects-in-motion-copy {
  max-width: 760px;
}

.projects-in-motion-copy .section-kicker {
  color: var(--gold);
}

.projects-in-motion-copy h2 {
  max-width: 720px;
  margin: 12px 0 24px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.8vw, 6.3rem);
  font-weight: 500;
  line-height: 0.94;
}

.projects-in-motion-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.68;
}

.projects-in-motion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.projects-in-motion-points span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-in-motion-spotlight {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: stretch;
  max-width: 680px;
  margin: 0 0 28px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.motion-spotlight-video {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.24);
}

.motion-spotlight-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.motion-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 10px 14px 0;
}

.motion-spotlight-copy span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.motion-spotlight-copy strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.02;
}

.motion-spotlight-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

.projects-in-motion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.projects-in-motion-actions .project-video-trigger {
  margin-top: 0;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.projects-in-motion-actions .project-video-trigger:hover,
.projects-in-motion-actions .project-video-trigger:focus-visible {
  background: #fff;
  color: var(--ink);
}

.projects-in-motion-actions .ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.case-list span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-cases {
  background: var(--white);
}

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

.case-detail-grid article {
  min-height: 198px;
  padding: clamp(18px, 2vw, 24px);
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--blue));
}

.case-detail-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-detail-grid h3 {
  max-width: 430px;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.65rem);
  font-weight: 500;
  line-height: 0.96;
}

.case-detail-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.52;
}

.method {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.timeline li {
  min-height: 184px;
  padding: clamp(18px, 2vw, 22px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline strong {
  display: block;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.18rem;
}

.timeline p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.54;
}

.technical-social {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5.4vw, 72px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(246, 242, 235, 0.94)),
    var(--paper);
}

.technical-social-copy {
  max-width: 760px;
}

.technical-social-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.6vw, 4.65rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.technical-social-copy p:not(.section-kicker) {
  max-width: 640px;
  margin: 22px 0 0;
  color: #52606a;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.74;
}

.technical-social-actions {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.technical-social-actions .button {
  width: 100%;
  justify-content: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.68fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
  padding: clamp(42px, 5.5vw, 58px) clamp(20px, 5vw, 72px);
  color: #05080a;
  background: #eeeeec;
}

.contact-card {
  max-width: 590px;
}

.contact-card h2 {
  margin: 0 0 18px;
  color: #05080a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-card p {
  max-width: 520px;
  margin: 0 0 8px;
  color: #05080a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  line-height: 1.54;
}

.contact-card .contact-lead {
  max-width: 540px;
  margin-bottom: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.32;
  text-align: left;
  hyphens: none;
}

.contact-service {
  display: grid;
  gap: 6px;
  max-width: 500px;
  margin-top: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(5, 8, 10, 0.08);
}

.contact-service strong {
  margin-top: 8px;
  color: #05080a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-service strong:first-child {
  margin-top: 0;
}

.contact-service span,
.contact-service a {
  color: #05080a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  text-decoration: none;
}

.contact-service a:hover {
  color: var(--forest);
}

.contact-service strong {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 4px 0;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(214, 41, 118, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(254, 218, 117, 0.18), rgba(214, 41, 118, 0.08), rgba(79, 91, 213, 0.08));
  font-weight: 800;
}

.contact-social-link:hover {
  color: #05080a;
  border-color: rgba(214, 41, 118, 0.34);
}

.contact-instagram-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.contact-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  padding-top: 0;
}

.contact-form label {
  display: grid;
  gap: 4px;
}

.contact-form label span {
  color: #05080a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #05080a;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(5, 8, 10, 0.26);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(18, 60, 52, 0.35);
  outline-offset: 0;
}

.contact-form button {
  justify-self: start;
  min-width: 220px;
  margin-top: 2px;
  padding: 15px 32px;
  color: #05080a;
  background: transparent;
  border: 1px solid rgba(5, 8, 10, 0.28);
  border-radius: 0;
  font: inherit;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-form button:hover {
  color: #ffffff;
  background: #05080a;
  border-color: #05080a;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #090c0f;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.seo-header {
  position: sticky;
}

.seo-page {
  background: var(--paper);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: 150px clamp(22px, 5vw, 72px) clamp(42px, 7vw, 86px);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 242, 235, 0.98)),
    radial-gradient(circle at 84% 14%, rgba(185, 150, 85, 0.16), transparent 34%);
}

.seo-hero h1,
.seo-section h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.seo-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.8rem);
}

.seo-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #4d5961;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.68;
}

.seo-proof {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(16, 20, 24, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(16, 20, 24, 0.09);
}

.seo-proof strong {
  color: var(--ink);
  font-size: 1.03rem;
}

.seo-proof span {
  margin-bottom: 8px;
  color: #5e6870;
  line-height: 1.55;
}

.maceio-topic-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(22px, 5vw, 72px) clamp(34px, 5vw, 58px);
  background: var(--paper);
}

.maceio-topic-nav a {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.maceio-topic-nav a:last-child {
  border-right: 1px solid var(--line);
}

.maceio-topic-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 150, 85, 0.46);
  background: #fff;
}

.maceio-topic-nav span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.maceio-topic-nav strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.02;
}

.maceio-topic-nav em {
  max-width: 260px;
  color: #65717a;
  font-style: normal;
  line-height: 1.48;
}

.seo-section {
  padding: clamp(42px, 6vw, 82px) clamp(22px, 5vw, 72px);
}

.seo-section h2 {
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
}

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

.seo-service-grid article {
  min-height: 250px;
  padding: clamp(22px, 2.5vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.seo-service-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.seo-service-grid h3 {
  max-width: 260px;
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.06;
}

.seo-service-grid p {
  margin: 0;
  color: #64707a;
  line-height: 1.58;
}

.seo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 60, 52, 0.98), rgba(23, 53, 79, 0.98));
}

.seo-band h2 {
  color: #fff;
}

.seo-band p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.7;
}

.seo-local {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #fff;
}

.seo-local p:not(.section-kicker) {
  margin: 0;
  color: #5e6870;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.72;
}

.seo-case-list {
  margin-top: 0;
}

.seo-contact {
  padding-top: clamp(42px, 5vw, 62px);
}

.maceio-detail-hero {
  padding: 150px clamp(22px, 5vw, 72px) clamp(38px, 6vw, 72px);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 242, 235, 0.98)),
    radial-gradient(circle at 86% 12%, rgba(185, 150, 85, 0.17), transparent 34%);
}

.maceio-detail-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.maceio-detail-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4d5961;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.68;
}

.maceio-inline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.maceio-inline-nav a {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.maceio-inline-nav a.active,
.maceio-inline-nav a:hover {
  border-color: rgba(185, 150, 85, 0.58);
  background: #fff;
  color: var(--gold);
}

.maceio-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.54fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  padding: clamp(42px, 6vw, 82px) clamp(22px, 5vw, 72px);
  background: #fff;
}

.maceio-editorial h2,
.maceio-feature h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.maceio-editorial p,
.maceio-feature p,
.maceio-note-list li {
  color: #56626b;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.72;
}

.maceio-editorial p {
  margin: 0 0 18px;
}

.maceio-note-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maceio-note-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.maceio-note-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1rem;
}

.maceio-feature {
  padding: clamp(42px, 6vw, 76px) clamp(22px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, rgba(18, 60, 52, 0.98), rgba(23, 53, 79, 0.98));
}

.maceio-feature h2 {
  max-width: 940px;
  color: #fff;
}

.maceio-feature p {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.maceio-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(34px, 5vw, 62px) clamp(22px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.maceio-card-grid article {
  min-height: 230px;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(255, 255, 255, 0.42);
}

.maceio-card-grid article:last-child {
  border-right: 1px solid var(--line);
}

.maceio-card-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.maceio-card-grid h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.06;
}

.maceio-card-grid p {
  margin: 0;
  color: #64707a;
  line-height: 1.6;
}

.maceio-photo-story {
  padding: clamp(38px, 6vw, 78px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.maceio-photo-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.maceio-photo-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.7vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.maceio-photo-heading p:not(.section-kicker) {
  margin: 0;
  color: #5e6870;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.68;
}

.maceio-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.maceio-photo-grid figure {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.08 / 1;
  margin: 0;
  overflow: hidden;
  background: #111820;
  cursor: zoom-in;
}

.maceio-photo-grid .photo-large {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.maceio-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.maceio-photo-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(6, 10, 13, 0.78));
}

.maceio-photo-grid figure:hover img {
  transform: scale(1.035);
  opacity: 0.94;
}

.maceio-photo-grid figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #fff;
}

.maceio-photo-grid figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1;
}

.maceio-photo-grid figcaption span {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.42;
}

.maceio-photo-credits {
  margin-top: 18px;
  color: #65717a;
  font-size: 0.82rem;
}

.maceio-photo-credits summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.maceio-photo-credits p {
  max-width: 920px;
  margin: 8px 0 0;
  line-height: 1.5;
}

.maceio-neighborhood-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  margin: clamp(24px, 4vw, 44px) 0 clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.maceio-neighborhood-showcase figure,
.maceio-neighborhood-showcase article {
  min-height: 0;
  margin: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.maceio-neighborhood-showcase figure {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: #111820;
  cursor: zoom-in;
}

.maceio-neighborhood-showcase figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 14, 0.06) 28%, rgba(4, 10, 14, 0.82));
}

.maceio-neighborhood-showcase figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.maceio-neighborhood-showcase figure:hover img {
  transform: scale(1.035);
  opacity: 0.95;
}

.maceio-neighborhood-showcase figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 32px);
  color: #fff;
}

.maceio-neighborhood-showcase figcaption strong,
.maceio-neighborhood-showcase h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.8vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.maceio-neighborhood-showcase figcaption span {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.94rem, 1.08vw, 1.08rem);
  line-height: 1.48;
}

.maceio-neighborhood-showcase article {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: clamp(22px, 3vw, 42px);
}

.maceio-neighborhood-showcase article p:not(.section-kicker) {
  max-width: 540px;
  margin: 0;
  color: #5e6870;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.68;
}

.maceio-zoomable:focus-visible {
  outline: 3px solid rgba(185, 150, 85, 0.82);
  outline-offset: -3px;
}

body.has-maceio-lightbox {
  overflow: hidden;
}

.maceio-lightbox {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  background: rgba(5, 8, 11, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.maceio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.maceio-lightbox-frame {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1160px, 100%);
  max-height: 100%;
  margin: 0;
}

.maceio-lightbox img {
  width: 100%;
  max-height: min(80vh, 920px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: contain;
  background: #070c10;
}

.maceio-lightbox figcaption {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.96rem, 1.25vw, 1.12rem);
  line-height: 1.48;
}

.maceio-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(7, 12, 16, 0.82);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.maceio-lightbox-close:hover,
.maceio-lightbox-close:focus-visible {
  background: rgba(185, 150, 85, 0.92);
  color: #091015;
}

.service-directory {
  padding: clamp(42px, 6vw, 82px) clamp(22px, 5vw, 72px);
  background: var(--paper);
}

.service-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.service-directory-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.7vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.service-directory-heading p:not(.section-kicker) {
  margin: 0;
  color: #5e6870;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.68;
}

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

.service-link-grid a {
  display: grid;
  min-height: 178px;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.service-link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 150, 85, 0.54);
  background: #fff;
}

.service-link-grid span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-link-grid strong {
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  line-height: 1.08;
}

.service-link-grid em {
  color: #64707a;
  font-style: normal;
  line-height: 1.46;
}

.service-keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.service-keyword-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #53606a;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: clamp(34px, 5vw, 62px) clamp(22px, 5vw, 72px);
  background: #fff;
}

.service-detail-list article {
  min-height: 230px;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-right: 0;
}

.service-detail-list article:last-child {
  border-right: 1px solid var(--line);
}

.service-detail-list span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-detail-list h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.06;
}

.service-detail-list p {
  margin: 0;
  color: #64707a;
  line-height: 1.6;
}

.blog-page,
.article-page {
  min-height: 100vh;
  background: var(--paper);
}

.blog-hero {
  padding: 150px clamp(22px, 5vw, 72px) clamp(36px, 5vw, 58px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 242, 235, 0.98)),
    radial-gradient(circle at 88% 4%, rgba(185, 150, 85, 0.15), transparent 36%);
}

.blog-hero h1,
.article-shell h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.blog-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
}

.blog-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #4d5961;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.68;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(22px, 5vw, 72px) clamp(52px, 7vw, 88px);
}

.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(22px, 5vw, 72px) clamp(30px, 4vw, 46px);
}

.blog-category-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(16, 20, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured {
  padding-top: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

.blog-list article {
  position: relative;
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 88% 12%, rgba(185, 150, 85, 0.14), transparent 34%);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.blog-list article::before {
  content: "";
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  right: clamp(22px, 3vw, 34px);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(185, 150, 85, 0.36);
  background:
    linear-gradient(90deg, transparent 48%, rgba(185, 150, 85, 0.5) 48%, rgba(185, 150, 85, 0.5) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(185, 150, 85, 0.5) 48%, rgba(185, 150, 85, 0.5) 52%, transparent 52%);
  opacity: 0.62;
}

.blog-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 150, 85, 0.42);
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.1);
}

.blog-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-list h2 {
  max-width: 560px;
  margin: 0 0 16px;
  padding-right: 72px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.blog-list p {
  max-width: 560px;
  margin: 0;
  color: #5e6870;
  line-height: 1.6;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 150px clamp(22px, 5vw, 48px) clamp(52px, 7vw, 88px);
}

.article-shell h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.article-lead {
  max-width: 760px;
  margin: 24px 0 42px;
  color: #4d5961;
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  line-height: 1.68;
}

.article-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.46fr);
  gap: clamp(18px, 3.4vw, 34px);
  margin: clamp(28px, 5vw, 46px) 0;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(185, 150, 85, 0.34);
  background:
    radial-gradient(circle at 82% 20%, rgba(185, 150, 85, 0.24), transparent 30%),
    linear-gradient(135deg, #0e171d 0%, #123f42 58%, #f1eadf 58%, #f1eadf 100%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(16, 24, 32, 0.16);
}

.article-topic-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-visual h2 {
  max-width: 620px;
  margin: 0 0 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
}

.article-visual p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.68;
}

.article-visual-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 220px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 13, 18, 0.42);
  backdrop-filter: blur(10px);
}

.article-visual-mark {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(185, 150, 85, 0.58);
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.article-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.article-visual-chip {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.article-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(26px, 4vw, 42px) 0;
}

.article-summary-card {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.05);
}

.article-summary-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.article-summary-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.article-summary-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.article-shell h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.article-shell p,
.article-shell li {
  color: #53606a;
  font-size: 1.02rem;
  line-height: 1.72;
}

.article-shell ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.article-cta {
  width: fit-content;
  margin-top: 30px;
}

.motion-ready {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 780ms ease,
    transform 780ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready.motion-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready.motion-soft {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.motion-ready.motion-soft.motion-in {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr;
    row-gap: 10px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    font-size: 0.64rem;
    letter-spacing: 0.095em;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: end;
  }

  .hero-content {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-intro {
    max-width: 620px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .hero-panel {
    width: 100%;
    max-width: 680px;
    grid-template-columns: 1fr;
    justify-self: start;
    margin-left: 0;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .client-grid,
  .specialists-row,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .proof-band,
  .contact,
  .founder-feature,
  .consultant-card,
  .intro-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 620px;
    padding-top: 0;
  }

  .founder-photo {
    min-height: 520px;
  }

  .consultant-card {
    grid-column: span 1;
    max-height: none;
    min-height: auto;
  }

  .integrated-projects-card {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
  }

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

  .support-card {
    min-height: 260px;
  }

  .seo-hero,
  .seo-band,
  .seo-local,
  .maceio-editorial {
    grid-template-columns: 1fr;
  }

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

  .maceio-topic-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maceio-topic-nav a:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

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

  .maceio-card-grid article {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .maceio-photo-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .maceio-neighborhood-showcase {
    grid-template-columns: 1fr;
  }

  .maceio-neighborhood-showcase article {
    min-height: 0;
  }

  .service-directory-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

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

  .service-detail-list article {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .article-visual,
  .article-summary-grid {
    grid-template-columns: 1fr;
  }

  .article-visual {
    background:
      radial-gradient(circle at 86% 16%, rgba(185, 150, 85, 0.22), transparent 34%),
      linear-gradient(160deg, #0e171d 0%, #123f42 100%);
  }

  .article-visual-panel {
    min-height: 0;
  }

  .blog-category-tabs {
    padding-bottom: 22px;
  }

  .blog-category-tabs a {
    flex: 1 1 calc(50% - 10px);
    min-width: 150px;
  }

  .project-card.large {
    grid-column: span 2;
  }

  .specialist-card {
    min-height: 620px;
  }
}

@media (max-width: 720px) {
  .hero {
    --hero-x: 0;
    --hero-y: 0;
  }

  .projects-in-motion {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 20px 52px;
  }

  .projects-in-motion-media {
    width: min(100%, 390px);
  }

  .projects-in-motion-media video {
    max-height: 68vh;
  }

  .projects-in-motion-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .projects-in-motion-spotlight {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
  }

  .motion-spotlight-video,
  .motion-spotlight-video video {
    min-height: 240px;
  }

  .motion-spotlight-copy {
    padding: 18px 6px 8px;
  }

  .projects-in-motion-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .projects-in-motion-actions .button,
  .projects-in-motion-actions .project-video-trigger {
    width: 100%;
    justify-content: center;
  }

  .hero-media {
    transform: scale(1.03);
  }

  .hero-panel:hover,
  .project-card:hover {
    transform: none;
  }

  .intro p,
  .section-heading p,
  .service-card p,
  .founder-copy p:not(.section-kicker),
  .team-card p,
  .specialist-copy p,
  .case-detail-grid p,
  .timeline p,
  .contact-card p,
  .hero-panel span,
  .proof-content p,
  .proof-list span,
  .consultant-text p {
    max-width: none;
    text-align: left;
    text-align-last: auto;
    text-wrap: normal;
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
    word-spacing: normal;
  }

  .section {
    padding: 34px 20px 38px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .section-heading.split > p {
    max-width: 100%;
    margin-top: 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 14px 18px;
  }

  .brand {
    width: 126px;
    min-width: 126px;
    height: 44px;
  }

  .brand-logo {
    width: 126px;
    max-height: 44px;
  }

  .header-actions {
    display: none;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 9px 13px;
    justify-content: center;
    font-size: 0.61rem;
  }

  .hero {
    width: 100%;
    min-height: auto;
    min-width: 0;
    padding: 110px 20px 38px;
  }

  .hero-content,
  .hero-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.2vw, 2.7rem);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-panel span {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .hero-panel div {
    padding: 20px;
  }

  .service-grid,
  .client-grid,
  .team-grid,
  .specialists-row,
  .proof-list,
  .technical-social,
  .project-grid,
  .case-detail-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .technical-social {
    padding: 38px 22px 42px;
    gap: 22px;
  }

  .technical-social-copy h2 {
    font-size: clamp(2.05rem, 10vw, 3.05rem);
    line-height: 1;
  }

  .technical-social-copy p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .project-card,
  .project-card.large {
    min-height: auto;
  }

  .project-filter {
    justify-content: flex-start;
    margin-top: 0;
  }

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

  .founder-photo {
    min-height: 360px;
  }

  .founder-copy {
    padding: 20px 18px 22px;
  }

  .founder-copy h3 {
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }

  .founder-copy p:not(.section-kicker),
  .service-card p,
  .specialist-copy p,
  .team-card p,
  .timeline p,
  .contact-card p,
  .section-heading p,
  .intro p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .service-card {
    min-height: auto;
    padding: 26px 24px;
  }

  .service-card h3 {
    margin: 18px 0 12px;
    font-size: clamp(1.65rem, 7.6vw, 2.15rem);
    line-height: 1.02;
  }

  .service-card p {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #68727a;
  }

  .intro-grid {
    gap: 14px;
  }

  .consultant-photo {
    min-height: 300px;
  }

  .consultant-card::before {
    display: none;
  }

  .consultant-text {
    background:
      linear-gradient(180deg, rgba(8, 13, 17, 0.98), rgba(8, 13, 17, 0.94)),
      linear-gradient(135deg, rgba(195, 142, 72, 0.16), transparent 54%);
  }

  .consultant-card {
    grid-column: span 1;
    max-height: none;
    min-height: auto;
  }

  .support-card {
    min-height: 220px;
  }

  .integrated-projects-card {
    grid-column: span 1;
    padding: 0;
  }

  .integrated-intro {
    padding: 30px 24px;
  }

  .integrated-projects-card h3 {
    font-size: clamp(2.65rem, 13vw, 3.85rem);
    line-height: 0.9;
  }

  .integrated-projects-card p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .integrated-process {
    padding: 20px 16px 22px;
  }

  .integrated-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .integrated-steps li {
    min-height: 88px;
    padding: 14px 16px;
  }

  .integrated-steps span {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .integrated-steps strong {
    font-size: 1.35rem;
  }

  .integrated-flow {
    gap: 6px 10px;
    margin-top: 16px;
    padding-top: 12px;
  }

  .integrated-flow li {
    white-space: normal;
  }

  .integrated-flow li:not(:last-child)::after {
    margin-left: 12px;
  }

  .specialist-card {
    grid-template-rows: 300px 1fr;
    min-height: auto;
  }

  .contact-card h2 {
    margin-bottom: 18px;
  }

  .contact-card .contact-lead {
    font-size: 1.06rem;
    line-height: 1.38;
  }

  .contact-service {
    gap: 5px;
    margin-top: 10px;
    padding: 14px;
  }

  .contact-form {
    gap: 12px;
    padding-top: 0;
  }

  .button {
    width: 100%;
  }

  .seo-header {
    position: sticky;
  }

  .seo-hero {
    padding-top: 112px;
  }

  .maceio-detail-hero {
    padding-top: 112px;
    max-width: 100vw;
    overflow: hidden;
  }

  .blog-hero,
  .article-shell {
    padding-top: 112px;
  }

  .seo-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.75rem);
  }

  .blog-hero h1,
  .article-shell h1 {
    font-size: clamp(2.35rem, 10vw, 3.65rem);
  }

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

  .maceio-topic-nav {
    grid-template-columns: 1fr;
    padding-bottom: 24px;
  }

  .maceio-topic-nav a {
    min-height: auto;
    border-right: 1px solid var(--line);
  }

  .maceio-detail-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 9.4vw, 3.05rem);
    line-height: 1.02;
  }

  .maceio-inline-nav a {
    width: 100%;
    text-align: center;
  }

  .maceio-photo-grid {
    grid-template-columns: 1fr;
  }

  .maceio-photo-grid figure,
  .maceio-photo-grid .photo-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .maceio-neighborhood-showcase figure,
  .maceio-neighborhood-showcase article {
    min-height: auto;
  }

  .maceio-neighborhood-showcase figure {
    min-height: 0;
  }

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

  .service-link-grid a {
    min-height: auto;
  }

  .seo-service-grid article {
    min-height: auto;
  }

  .mobile-portfolio-button,
  .mobile-instagram-button {
    display: inline-flex;
  }
}

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

  .hero-media,
  .hero-slide,
  .project-card,
  .project-card img,
  .specialist-photo img,
  .motion-ready,
  .motion-ready.motion-soft {
    transform: none !important;
  }

  .motion-ready {
    opacity: 1 !important;
  }
}

/* Entrada principal refinada */
.hero {
  min-height: 92vh;
  align-content: end;
  gap: clamp(24px, 3.4vw, 42px);
  padding: clamp(112px, 12vh, 154px) clamp(28px, 5.6vw, 82px) clamp(34px, 5vw, 58px);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 15, 0.94) 0%, rgba(7, 12, 15, 0.74) 38%, rgba(7, 12, 15, 0.42) 68%, rgba(7, 12, 15, 0.66) 100%),
    linear-gradient(0deg, rgba(7, 12, 15, 0.86) 0%, rgba(7, 12, 15, 0.12) 54%, rgba(7, 12, 15, 0.28) 100%);
}

.hero-content {
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  justify-self: start;
}

.hero-headline {
  max-width: 980px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.65rem, 5.8vw, 6.35rem);
  line-height: 0.92;
}

.hero h1 > span {
  display: inline;
}

.hero-title-emphasis {
  display: block !important;
  max-width: 780px;
}

.hero-title-emphasis::after {
  width: 118px;
}

.hero-intro {
  max-width: 700px;
  padding: 0;
  border: 0;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.62;
}

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

.hero-actions .button {
  min-height: 52px;
  padding-inline: 26px;
}

.hero-panel {
  max-width: 1180px;
  justify-self: start;
  align-self: end;
  margin-top: 0;
  background: rgba(8, 13, 16, 0.68);
}

.hero-panel div {
  padding: 20px 24px;
}

@media (max-width: 1060px) {
  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(3.2rem, 8.4vw, 5.8rem);
  }

  .hero h1 > span {
    display: block;
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav {
    max-width: 100%;
    overflow: hidden;
  }

  .nav a[href="empresa/index.html#diferenciais"],
  .nav a[href="empresa/index.html#clientes"],
  .nav a[href="#metodo"] {
    display: none;
  }

  .hero {
    min-height: auto;
    width: 100%;
    max-width: 100vw;
    padding: 118px 22px 34px;
    gap: 22px;
    overflow: hidden;
  }

  .hero-content {
    width: min(346px, calc(100vw - 44px));
    max-width: min(346px, calc(100vw - 44px));
    gap: 16px;
  }

  .hero-eyebrow {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .hero h1 {
    width: min(346px, calc(100vw - 44px));
    max-width: min(346px, calc(100vw - 44px));
    font-size: clamp(2.02rem, 9vw, 2.58rem);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-title-emphasis {
    max-width: 100%;
  }

  .hero-title-emphasis::after {
    width: 96px;
  }

  .hero-copy {
    width: min(346px, calc(100vw - 44px));
    max-width: min(346px, calc(100vw - 44px));
    font-size: 0.95rem;
    line-height: 1.58;
    text-wrap: normal;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 18px;
    width: min(346px, calc(100vw - 44px));
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: min(346px, calc(100vw - 44px));
    max-width: min(346px, calc(100vw - 44px));
  }
}

@media (max-width: 520px) {
  .service-directory-title span {
    display: block;
  }

  .maceio-detail-hero h1 {
    inline-size: calc(100vw - 48px);
    max-inline-size: calc(100vw - 48px);
    font-size: clamp(1.78rem, 8vw, 2.35rem);
    line-height: 1.06;
  }

  .maceio-detail-hero p {
    inline-size: calc(100vw - 48px);
    max-inline-size: calc(100vw - 48px);
    font-size: 0.96rem;
    line-height: 1.58;
  }

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

  .project-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
