:root {
  --red: #ef1f2d;
  --red-dark: #c80f1d;
  --ink: #1b1b1d;
  --muted: #66666b;
  --line: #ececef;
  --paper: #ffffff;
  --soft: #f5f5f6;
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 64px));
  margin: 24px auto 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(225, 225, 228, .74);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(27, 27, 29, .08);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 38px rgba(27, 27, 29, .11);
}

.brand img {
  width: 216px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  color: #2c2c2f;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
  content: "";
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 16px;
  color: var(--paper) !important;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(239, 31, 45, .22);
}

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

.menu-toggle {
  display: none;
}

.section {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  align-items: center;
  gap: clamp(32px, 6vw, 40px);
  padding-top: 118px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 500px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5.6vw, 75px);
  line-height: .96;
  font-weight: 850;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 5vw, 55px);
  line-height: 1.03;
  font-weight: 850;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
}

.hero-text {
  max-width: 470px;
  color: #3f3f43;
  font-size: clamp(16px, 1.76vw, 22px);
  line-height: 1.34;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 52px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 28px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 38px rgba(239, 31, 45, .25);
}

.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(239, 31, 45, .32);
}

.button-ghost {
  border: 1px solid #d9d9dc;
  background: #fff;
}

.button-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.hero-media {
  position: relative;
  transform-style: preserve-3d;
}

.hero-media::before {
  position: absolute;
  inset: 16% 6% 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 31, 45, .18), transparent 62%);
  filter: blur(14px);
  content: "";
}

.hero-media img {
  width: min(100%, 620px);
  margin-left: auto;
  animation: float 6s ease-in-out infinite;
}

.principles-band {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(239, 31, 45, .08), transparent 26%),
    linear-gradient(90deg, #121215 0%, #09090b 45%, #101012 100%);
}

.principles-shell {
  width: min(var(--max), calc(100% - 64px));
  min-height: 390px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 68px;
  padding: 54px 0 58px;
  color: #fff;
}

.principles-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(44px, 4.1vw, 55px);
  line-height: 1.06;
  letter-spacing: -.01em;
}

.red-rule {
  width: 54px;
  height: 5px;
  display: block;
  margin-bottom: 24px;
  background: var(--red);
}

.principles-intro p {
  max-width: 350px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.34;
}

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

.principle-feature {
  min-height: 242px;
  padding: 24px 42px 12px;
  border-left: 2px solid rgba(255, 255, 255, .82);
}

.principle-feature img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 28px;
  transition: transform .28s var(--ease), filter .28s var(--ease);
}

.principle-feature h3 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(25px, 2vw, 33px);
  line-height: 1.08;
}

.principle-feature p {
  max-width: 215px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.33;
}

.principle-feature:hover img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 12px 22px rgba(239, 31, 45, .24));
}

.services,
.campaigns {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-heading.wide {
  max-width: 760px;
}

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

.campaign-card,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.service-card p,
.campaign-card p,
.process-copy p,
.web-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.58;
}

.campaign-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 31, 45, .3);
  box-shadow: 0 24px 70px rgba(27, 27, 29, .11);
}

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

.service-card {
  padding: 34px 28px 28px;
  min-height: 360px;
}

.service-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 28px;
  transition: transform .35s var(--ease);
}

.service-card:hover img {
  transform: translateY(-10px) scale(1.03);
}

.service-card h3 {
  min-height: 58px;
  font-size: 24px;
  line-height: 1.05;
}

.process,
.websites {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(32px, 7vw, 94px);
  align-items: center;
  padding: 92px 0;

}

.process-copy h2,
.web-copy h2 {
  font-size: clamp(42px, 5vw, 55px);
}

.process-media,
.web-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.process-media img,
.web-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.process-media:hover img,
.web-media:hover img {
  transform: scale(1.04);
}

.campaigns {
  border-top: 1px solid var(--line);
}

.campaign-card {
  min-height: 290px;
  padding: 32px;
}

.campaign-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 58px;
  line-height: 1;
  font-weight: 850;
}

.websites {
  grid-template-columns: 1.2fr .8fr;
  border-top: 1px solid var(--line);
}

.mini-logo {
  width: 210px;
  margin-bottom: 50px;
}

.footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  margin-inline: 0;
  padding: 86px max(32px, calc((100% - var(--max)) / 2)) 34px;
  color: #f6f6f7;
  background: #101012;
  border-top: 1px solid #252529;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 46px;
}

.footer-brand p {
  color: #c7c7cc;
}

.footer-column h2 {
  margin-bottom: 26px;
  font-size: 28px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 14px;
  color: #c7c7cc;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--red);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.social-row a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #333339;
  border-radius: 999px;
  background: #17171a;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.social-row a:hover {
  transform: translateY(-3px);
  border-color: var(--red);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid #252529;
  color: #8f8f96;
  font-size: 14px;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 14px 36px rgba(37, 211, 102, .28);
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.float-whatsapp .social-icon {
  width: 31px;
  height: 31px;
}

.float-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-4px) scale(1.03);
}

.site-nav a.is-current {
  color: var(--red);
}

.projects-page {
  background: #fff;
}

.projects-hero {
  padding: 156px 0 118px;
}

.projects-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.projects-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 19px;
  font-weight: 850;
}

.projects-heading .red-rule {
  width: 58px;
  height: 4px;
  margin-bottom: 18px;
}

.projects-heading h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.04;
}

.projects-heading p {
  max-width: 600px;
  color: #252529;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.3;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.filter-pill {
  min-width: 92px;
  padding: 8px 22px 9px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.filter-pill:hover,
.filter-pill:focus-visible {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  outline: 0;
}

.filter-pill.is-active,
.filter-pill.is-active:hover,
.filter-pill.is-active:focus-visible {
  color: #fff;
  background: #d92a2d;
  border-color: #d92a2d;
}

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

.project-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(225, 225, 228, .86);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(27, 27, 29, .12);
  transition: opacity .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 31, 45, .28);
  box-shadow: 0 20px 56px rgba(27, 27, 29, .16);
}

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

.project-card img {
  width: calc(100% - 28px);
  aspect-ratio: 1 / 1;
  margin: 14px auto 0;
  object-fit: cover;
}

.project-card-body {
  padding: 20px 22px 24px;
}

.project-card h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.2;
}

.project-card h2::after {
  order: 2;
  width: 2px;
  height: 20px;
  display: inline-block;
  background: var(--red);
  transform: rotate(18deg);
  content: "";
}

.project-card h2 span {
  order: 3;
  color: #333338;
  font-size: 16px;
  font-weight: 500;
}

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

.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 16px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease), opacity .2s var(--ease);
}

.cursor-dot.is-visible {
  opacity: .82;
}

.cursor-dot.is-hovering {
  width: 34px;
  height: 34px;
  opacity: .16;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@media (max-width: 1050px) {
  .site-header,
  .section,
  .principles-shell {
    width: min(100% - 36px, var(--max));
  }

  .brand img {
    width: 180px;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    border-radius: 6px;
    background: var(--ink);
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    background: #fff;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 22px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(27, 27, 29, .16);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .hero {
    padding-top: 142px;
  }

  .principles-shell {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 0;
  }

  .principles-intro {
    max-width: 520px;
  }

  .principle-feature {
    padding-inline: 28px;
  }

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

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

@media (max-width: 740px) {
  .site-header {
    margin-top: 14px;
    padding: 12px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .principles-shell {
    min-height: 0;
    padding: 58px 0;
  }

  .principles-intro h2 {
    font-size: 42px;
  }

  .principles-intro p {
    font-size: 20px;
  }

  .principle-features {
    grid-template-columns: 1fr;
  }

  .principle-feature {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .62);
  }

  .principle-feature img {
    width: 78px;
    height: 78px;
    margin: 0 0 20px;
  }

  .principle-feature h3 {
    margin-bottom: 14px;
  }

  .principle-feature p {
    max-width: 100%;
  }

  .services,
  .campaigns,
  .process,
  .websites,
  .projects-hero {
    padding: 62px 0;
  }

  .campaign-grid,
  .service-grid,
  .projects-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .projects-hero {
    padding-top: 138px;
  }

  .projects-heading {
    margin-bottom: 32px;
  }

  .project-filters {
    gap: 10px;
    margin-bottom: 28px;
  }

  .filter-pill {
    min-width: 0;
    padding-inline: 14px;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    min-height: 0;
  }

  .process-media img,
  .web-media img {
    min-height: 280px;
  }

  .footer {
    padding-bottom: 90px;
  }

  .cursor-dot {
    display: none;
  }
}
