:root {
  --ink: #15120f;
  --paper: #ffffff;
  --paper-2: #f7f4ef;
  --charcoal: #080706;
  --muted: #8f857c;
  --orange: #ef516f;
  --line: rgba(21, 18, 15, 0.16);
  --line-dark: rgba(244, 238, 231, 0.18);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(21,18,15,0.14) 0.8px, transparent 0.8px),
    radial-gradient(rgba(255,151,0,0.12) 0.9px, transparent 0.9px);
  background-position: 0 0, 32px 46px;
  background-size: 72px 72px, 118px 118px;
  opacity: 0.55;
  animation: water-dust 18s ease-in-out infinite alternate;
}

body::after {
  opacity: 0.28;
  filter: blur(0.5px);
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

main,
.site-header {
  position: relative;
  z-index: 1;
}

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

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

button {
  font: inherit;
}

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 18px;
  height: 18px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 160ms ease, width 180ms ease, height 180ms ease;
}

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

.cursor-dot.is-hovering {
  width: 42px;
  height: 42px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--ink);
  transition: background 220ms ease, color 220ms ease, border 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 238, 231, 0.92);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  width: clamp(138px, 13vw, 188px);
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav li {
  list-style: none;
}

.site-nav a,
.site-nav button {
  position: relative;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-nav a::after,
.site-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav button:hover::after,
.site-nav button:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  place-items: center;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.menu-button span + span {
  margin-top: 6px;
}

.section-dark {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.18) 100%),
    repeating-linear-gradient(90deg, rgba(21,18,15,0.05) 0 1px, transparent 1px 9vw);
  pointer-events: none;
  z-index: 1;
}

.hero-media {
  min-height: 94svh;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.04);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.type-orbit {
  position: relative;
  height: 100%;
  min-height: 94svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,151,0,0.09), transparent 34%),
    repeating-linear-gradient(90deg, rgba(21,18,15,0.045) 0 1px, transparent 1px 9vw),
    #ffffff;
  overflow: hidden;
}

.type-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(21,18,15,0.42) 0.7px, transparent 0.7px);
  background-size: 15px 15px;
  mask-image: radial-gradient(circle at 55% 42%, black 0 48%, transparent 72%);
}

.type-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(21,18,15,0.12);
  transform: rotate(-7deg);
}

.type-piece {
  --r: 0deg;
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 6vw, 7rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(28px) rotate(var(--r)) scale(0.94);
  animation:
    type-piece-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    type-float 5200ms ease-in-out infinite alternate;
}

.piece-1 {
  left: 6%;
  top: 14%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6.5vw, 8rem);
  font-weight: 400;
  --r: -8deg;
  animation-delay: 80ms, 1180ms;
}

.piece-2 {
  right: 13%;
  top: 9%;
  color: var(--orange);
  font-size: clamp(4.4rem, 11vw, 13rem);
  --r: 6deg;
  animation-delay: 180ms, 1280ms;
}

.piece-3 {
  left: 12%;
  top: 38%;
  color: #d25a24;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 9.6rem);
  --r: 5deg;
  animation-delay: 280ms, 1380ms;
}

.piece-4 {
  right: 7%;
  top: 42%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 10.5rem);
  font-style: italic;
  font-weight: 400;
  --r: -5deg;
  animation-delay: 380ms, 1480ms;
}

.piece-5 {
  left: 5%;
  bottom: 18%;
  color: var(--orange);
  font-size: clamp(1.8rem, 4vw, 5rem);
  --r: 4deg;
  animation-delay: 480ms, 1580ms;
}

.piece-6 {
  right: 11%;
  bottom: 17%;
  color: #15120f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 7.2rem);
  font-weight: 400;
  --r: 8deg;
  animation-delay: 580ms, 1680ms;
}

.piece-7 {
  left: 32%;
  bottom: 7%;
  color: #c64026;
  font-size: clamp(2rem, 5vw, 6rem);
  --r: -3deg;
  animation-delay: 680ms, 1780ms;
}

.piece-8 {
  right: 29%;
  top: 25%;
  color: rgba(21,18,15,0.54);
  font-size: clamp(1.2rem, 2.3vw, 2.8rem);
  letter-spacing: 0.08em;
  --r: 11deg;
  animation-delay: 780ms, 1880ms;
}

.type-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 51%;
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 42px);
  text-align: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -42%) scale(0.96);
  opacity: 0;
  animation: type-core-in 780ms 980ms ease forwards;
}

.type-core strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
}

.type-core span {
  color: #5f554d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 120px clamp(22px, 5vw, 78px) 120px clamp(22px, 4vw, 64px);
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.4vw, 6.6rem);
  line-height: 0.96;
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 1;
  font-weight: 400;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 660px;
  color: #5f554d;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.button.hero-talk {
  background: #d71920;
  border-color: #d71920;
  color: #ffffff;
  text-transform: none;
}

.button.ghost {
  color: var(--ink);
}

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

.ticker {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  color: rgba(21, 18, 15, 0.24);
  font-size: clamp(1.6rem, 4.8vw, 4.6rem);
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
}

.ticker span {
  display: inline-block;
  padding: 12px 0 18px;
  animation: ticker 30s linear infinite;
}

.intro,
.services,
.digital,
.before-after,
.blog,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 150px) clamp(18px, 4vw, 54px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: end;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.metric {
  min-height: 180px;
  padding: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric:nth-child(2n) {
  border-right: 0;
}

.metric:nth-last-child(-n+2) {
  border-bottom: 0;
}

.metric strong {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 0.8rem;
}

.metric span {
  display: block;
  max-width: 220px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 70px);
}

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

.service-card {
  min-height: 360px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-8px);
}

.service-card span {
  display: block;
  margin-bottom: 92px;
  color: var(--orange);
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.service-card-link {
  background: #ffffff;
}

.service-card-link a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card-link:hover a {
  color: var(--paper);
}

.portfolio,
.process {
  padding: clamp(72px, 10vw, 150px) clamp(18px, 4vw, 54px);
}

.portfolio > *,
.process > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.filter.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.work-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 18%, rgba(0,0,0,0.82) 100%);
}

.work-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.work-card:hover {
  transform: translateY(-8px);
}

.work-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.work-card.tall {
  grid-row: span 2;
  min-height: 700px;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card.photo-link {
  background: var(--charcoal);
}

.work-card.photo-link::before {
  content: "Abrir Vultus";
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.work-card p {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(244, 238, 231, 0.76);
}

.before-after {
  background: #ffffff;
}

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

.comparison-card {
  position: relative;
  min-height: 210px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-top: 0;
  border-left: 0;
  background: var(--paper);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.comparison-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.comparison-card h3 {
  max-width: 240px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.comparison-card p {
  margin-bottom: 0;
  color: #6e6258;
  font-size: 0.98rem;
}

.device-stage {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.laptop-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(22px, 4vw, 50px);
  align-items: center;
}

.laptop {
  perspective: 1000px;
}

.laptop-screen {
  overflow: hidden;
  border: 12px solid var(--ink);
  border-radius: 18px 18px 8px 8px;
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(21, 18, 15, 0.25);
  transform: rotateX(3deg) rotateY(-5deg);
}

.laptop-screen img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.laptop-base {
  width: 78%;
  height: 18px;
  margin: 0 auto;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(90deg, #15120f, #4a4038, #15120f);
}

.social-stack {
  display: grid;
  gap: 18px;
}

.phone-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 22px 60px rgba(21, 18, 15, 0.16);
  transform: rotate(-2deg);
}

.phone-card.offset {
  transform: translateX(-28px) rotate(2deg);
  background: var(--orange);
  color: var(--ink);
}

.phone-card span {
  display: block;
  margin-bottom: 58px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.05;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.step {
  min-height: 310px;
  padding: clamp(22px, 3vw, 36px);
  background: #ffffff;
}

.step span {
  display: block;
  margin-bottom: 88px;
  color: var(--orange);
  font-weight: 800;
}

.step p {
  color: #6e6258;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.blog-card {
  min-height: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 180ms ease, border-color 180ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 151, 0, 0.8);
}

.blog-card span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card p {
  margin-bottom: 0;
  color: #6e6258;
}

.blog-card .read-more {
  margin-top: auto;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact {
  min-height: 74svh;
  display: grid;
  place-items: center;
}

.contact-panel {
  width: min(900px, 100%);
  padding: clamp(30px, 7vw, 92px);
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.contact-panel p:not(.eyebrow) {
  max-width: 620px;
  color: #5f554d;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 54px) 44px;
  border-top: 1px solid var(--line);
  color: #5f554d;
  font-size: 0.86rem;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
}

.clean-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 92px 0 76px;
  background: transparent;
  overflow: hidden;
}

.clean-hero::before {
  display: none;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle-field span {
  position: absolute;
  width: clamp(90px, 12vw, 180px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(21,18,15,0.08);
  opacity: 0.35;
  animation: soft-drift 16s ease-in-out infinite alternate;
}

.particle-field span:nth-child(1) { left: 8%; top: 16%; animation-delay: 0s; }
.particle-field span:nth-child(2) { right: 10%; top: 20%; width: clamp(60px, 8vw, 120px); animation-delay: 1.8s; }
.particle-field span:nth-child(3) { left: 15%; bottom: 18%; width: clamp(44px, 7vw, 94px); animation-delay: 3.2s; }
.particle-field span:nth-child(4) { right: 18%; bottom: 12%; animation-delay: 4.6s; }
.particle-field span:nth-child(5) { left: 48%; top: 10%; width: clamp(34px, 5vw, 70px); animation-delay: 6s; }

.video-intro {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin: 0 0 clamp(38px, 6vw, 76px);
  perspective: 1200px;
}

.video-turn {
  position: relative;
  aspect-ratio: 16 / 8.2;
  min-height: min(68svh, 720px);
  padding: 0;
  border: 0;
  background: #f3f0eb;
  box-shadow: none;
  transform-style: preserve-3d;
  animation: video-turn 1600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.video-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(239,81,111,0.14), rgba(255,255,255,0.72)),
    url("assets/images/hero-vimeo-poster.jpg") center / cover;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(0deg, rgba(239,81,111,0.12), transparent 52%);
  pointer-events: none;
}

.video-frame img,
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame img {
  object-fit: cover;
  filter: grayscale(0.12) saturate(0.88) contrast(0.98);
  transform: scale(1.03);
}

.video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100vw;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.video-frame iframe[hidden] {
  display: none;
}

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

.clean-copy {
  width: min(840px, 100%);
  min-height: auto;
  padding: 0 clamp(18px, 5vw, 72px);
  align-items: center;
  gap: 20px;
  text-align: center;
}

.clean-copy h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  line-height: 1.03;
}

.clean-copy .hero-text {
  max-width: 660px;
  margin-bottom: 0;
  color: #635b53;
}

.clean-section,
.before-after {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(78px, 11vw, 160px) clamp(18px, 4vw, 54px);
  background: transparent;
}

.clean-section .section-heading,
.before-after .section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 6vw, 86px);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.clean-section .section-heading .eyebrow,
.before-after .section-heading .eyebrow {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.clean-section h2,
.before-after h2 {
  font-size: clamp(1.9rem, 3.8vw, 4rem);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding-top: 12px;
}

.marketing-feature {
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}

.feature-row.reverse {
  grid-template-columns: minmax(300px, 1.1fr) minmax(260px, 0.9fr);
}

.marketing-copy .section-heading {
  margin-bottom: clamp(46px, 5vw, 70px);
}

.marketing-copy .section-heading h2 {
  max-width: 720px;
  font-size: clamp(3.2rem, 5.8vw, 6.1rem);
  line-height: 0.96;
}

.marketing-copy .feature-copy {
  max-width: 610px;
}

.feature-copy h3 {
  max-width: 520px;
  font-family: inherit;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.08;
}

.feature-copy p {
  max-width: 560px;
  color: #635b53;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.quiet-mockup {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  padding: clamp(8px, 1.4vw, 14px);
}

.quiet-mockup img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
}

.laptop-scroll {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  padding: clamp(10px, 1.5vw, 16px) clamp(10px, 1.5vw, 16px) 0;
}

.marketing-feature .laptop-scroll {
  width: min(100%, 640px);
  margin-top: clamp(58px, 8vw, 104px);
}

.laptop-scroll-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 10px solid #15120f;
  border-radius: 18px 18px 8px 8px;
  background: #15120f;
  box-shadow: 0 30px 90px rgba(21,18,15,0.14);
}

.laptop-scroll-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(0deg, rgba(21,18,15,0.08), transparent 44%);
  pointer-events: none;
}

.laptop-scroll-screen img {
  width: 100%;
  min-height: 120%;
  object-fit: cover;
  object-position: top center;
  animation: laptop-page-scroll 12s ease-in-out infinite alternate;
}

.marketing-feature .laptop-scroll-screen > img {
  min-height: 100%;
  animation: none;
}

.marketing-feature .laptop-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transform: translateX(18px) scale(1.015);
  animation: laptop-slide-fade 35s ease-in-out infinite;
}

.marketing-feature .laptop-slider img:nth-child(1) { animation-delay: 0s; }
.marketing-feature .laptop-slider img:nth-child(2) { animation-delay: 5s; }
.marketing-feature .laptop-slider img:nth-child(3) { animation-delay: 10s; }
.marketing-feature .laptop-slider img:nth-child(4) { animation-delay: 15s; }
.marketing-feature .laptop-slider img:nth-child(5) { animation-delay: 20s; }
.marketing-feature .laptop-slider img:nth-child(6) { animation-delay: 25s; }
.marketing-feature .laptop-slider img:nth-child(7) { animation-delay: 30s; }

.laptop-scroll-base {
  width: 78%;
  height: clamp(16px, 2vw, 26px);
  margin: 0 auto;
  background: linear-gradient(180deg, #ded8d2, #bdb5ad);
  border-radius: 0 0 26px 26px;
}

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

.content-grid {
  margin-top: clamp(36px, 6vw, 76px);
}

.quiet-card {
  position: relative;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.44);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quiet-card.has-project-image {
  padding-right: clamp(112px, 10vw, 148px);
}

.quiet-card.has-project-image::before {
  content: "";
  position: absolute;
  top: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  width: clamp(74px, 7vw, 104px);
  aspect-ratio: 1;
  background: #ffffff var(--project-image) center / contain no-repeat;
  border: 1px solid var(--line);
  border-radius: 6px;
  filter: saturate(0.9) contrast(0.98);
}

.quiet-card.is-video-card.has-project-image::before {
  width: clamp(96px, 10vw, 146px);
  aspect-ratio: 16 / 9;
  animation: video-thumb-drift 8s ease-in-out infinite alternate;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 6.6;
  height: auto;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
}

.blog-card span,
.blog-card h3,
.blog-card p,
.blog-card .read-more {
  width: 100%;
}

.quiet-card::after,
.comparison-card::after {
  content: "Ver proyecto";
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quiet-card[data-project-link]::after {
  content: "Ver vídeo";
}

.comparison-card::after {
  content: "Ver caso";
}

.quiet-card:hover,
.quiet-card:focus-visible,
.comparison-card:hover,
.comparison-card:focus-visible {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 22px 70px rgba(21,18,15,0.08);
  outline: 0;
  transform: translateY(-4px);
}

.quiet-card:hover::after,
.quiet-card:focus-visible::after,
.comparison-card:hover::after,
.comparison-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.quiet-card:last-child {
  border-right: 0;
}

.quiet-card:nth-child(3n) {
  border-right: 0;
}

.quiet-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiet-card p {
  color: #635b53;
}

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

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel p {
  flex-basis: 100%;
}

.contact-mail {
  background: #d71920;
  border-color: #d71920;
  color: #ffffff;
  text-transform: lowercase;
}

.modal-is-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(760px, 90svh);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 34px 120px rgba(21,18,15,0.14);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-image {
  min-height: 520px;
  max-height: min(760px, 90svh);
  background: var(--paper-2);
}

.modal-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-image img.is-contain {
  object-fit: contain;
  background: #f3f0eb;
}

.modal-carousel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  height: 100%;
  padding: clamp(16px, 2vw, 28px);
  background: #f3f0eb;
}

.modal-carousel[hidden],
.modal-image > img[hidden],
.case-compare[hidden] {
  display: none;
}

.carousel-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.carousel-frame img {
  width: 100%;
  height: min(620px, 76svh);
  min-height: 0;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21,18,15,0.25);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: #d71920;
}

.case-compare {
  position: relative;
  height: 100%;
  min-height: 520px;
  max-height: min(760px, 90svh);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,151,0,0.04), rgba(255,255,255,0.86)),
    #ffffff;
  touch-action: none;
}

.case-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.case-compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.case-label {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 8px 11px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.before-label {
  left: 18px;
}

.after-label {
  right: 18px;
}

.case-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 2px;
  background: #d71920;
  transform: translateX(-50%);
}

.case-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 2px solid #d71920;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 14px 36px rgba(21,18,15,0.18);
  transform: translate(-50%, -50%);
}

.case-slider {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: min(760px, 90svh);
  overflow: auto;
  padding: clamp(28px, 4vw, 56px);
}

.modal-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3.4rem);
}

.modal-copy p:not(.eyebrow) {
  color: #635b53;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.modal-link {
  width: max-content;
  margin-top: 12px;
}

.modal-link[hidden] {
  display: none;
}

.modal-note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.single-entry {
  padding-top: clamp(120px, 16vw, 180px);
}

.project-entry .section-heading {
  margin-bottom: clamp(34px, 5vw, 72px);
}

.project-entry .section-heading .eyebrow,
.modal-copy .eyebrow {
  margin-bottom: 18px;
}

.project-entry .section-heading h1,
.modal-copy h2 {
  margin-bottom: 0;
}

.single-hero-image,
.single-content {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.single-hero-image {
  margin-bottom: clamp(32px, 5vw, 70px);
}

.single-hero-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.single-content {
  color: #3a312a;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.75;
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.single-content > * {
  margin-bottom: 1.25em;
}

.blog-card a {
  color: inherit;
  text-decoration: none;
}

.blog-grid .blog-card,
.blog-grid .blog-card a {
  display: flex;
  flex-direction: column;
}

.blog-grid .blog-card {
  min-height: 460px;
  padding: clamp(18px, 2vw, 28px);
  justify-content: flex-start;
}

.blog-grid .blog-card a {
  height: 100%;
}

.blog-grid .blog-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 6.6;
  object-fit: cover;
  object-position: center;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.blog-grid .blog-card span,
.blog-grid .blog-card h2,
.blog-grid .blog-card h3,
.blog-grid .blog-card p {
  grid-column: auto;
}

.blog-grid .blog-card span {
  margin: 0 0 18px;
}

.blog-grid .blog-card h2,
.blog-grid .blog-card h3 {
  margin: 0 0 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.02;
}

.blog-grid .blog-card p {
  margin-top: 0;
  margin-bottom: 22px;
  color: #5f5750;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.35;
}

.blog.clean-section {
  padding-bottom: clamp(70px, 9vw, 120px);
}

.blog-grid {
  grid-template-columns: minmax(520px, 1.38fr) minmax(260px, 0.72fr);
  align-items: stretch;
}

.blog-grid .blog-card::after {
  display: none;
}

.blog-grid .blog-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 4;
  min-height: 620px;
}

.blog-grid .blog-card:first-child img {
  aspect-ratio: 16 / 8.6;
}

.blog-grid .blog-card:not(:first-child) {
  grid-column: 2;
  min-height: 0;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.blog-grid .blog-card:not(:first-child) img {
  width: 100%;
  height: 100%;
  min-height: 154px;
  aspect-ratio: 16 / 4.5;
  margin: 0;
  filter: grayscale(1) contrast(1.05);
}

.blog-grid .blog-card:not(:first-child) a {
  position: relative;
  height: 100%;
}

.blog-grid .blog-card:not(:first-child) span,
.blog-grid .blog-card:not(:first-child) h3,
.blog-grid .blog-card:not(:first-child) p,
.blog-grid .blog-card:not(:first-child) .read-more {
  position: absolute;
  left: 22px;
  right: 22px;
  width: auto;
  max-width: calc(100% - 44px);
  box-sizing: border-box;
  z-index: 2;
  color: #ffffff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  overflow-wrap: anywhere;
}

.blog-grid .blog-card:not(:first-child) span {
  top: 16px;
  margin: 0;
  color: var(--orange);
}

.blog-grid .blog-card:not(:first-child) h3 {
  top: 42px;
  max-width: 420px;
  margin: 0;
  font-size: clamp(0.98rem, 1.18vw, 1.12rem);
  line-height: 1.08;
}

.blog-grid .blog-card:not(:first-child) p {
  display: -webkit-box;
  overflow: hidden;
  top: auto;
  bottom: 36px;
  max-width: 440px;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-grid .blog-card:not(:first-child) .read-more {
  right: auto;
  bottom: 14px;
  left: 22px;
  max-width: calc(100% - 44px);
  margin: 0;
  color: var(--orange);
  white-space: normal;
}

.blog-grid .blog-card:not(:first-child) a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(21,18,15,0.74);
  opacity: 0;
  transition: opacity 180ms ease;
}

.blog-grid .blog-card:not(:first-child):hover a::after,
.blog-grid .blog-card:not(:first-child):focus-within a::after,
.blog-grid .blog-card:not(:first-child):hover span,
.blog-grid .blog-card:not(:first-child):hover h3,
.blog-grid .blog-card:not(:first-child):hover p,
.blog-grid .blog-card:not(:first-child):hover .read-more,
.blog-grid .blog-card:not(:first-child):focus-within span,
.blog-grid .blog-card:not(:first-child):focus-within h3,
.blog-grid .blog-card:not(:first-child):focus-within p,
.blog-grid .blog-card:not(:first-child):focus-within .read-more {
  opacity: 1;
  transform: translateY(0);
}

.single-hero-image img {
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 620px;
}

.project-gallery-grid {
  width: min(100% - 40px, 1180px);
  margin: clamp(36px, 6vw, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.project-gallery-grid img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
}

.project-link-wrap {
  width: min(100% - 40px, 980px);
  margin: 34px auto 0;
}

.single-project-compare {
  width: min(100% - 40px, 1120px);
  margin: 0 auto clamp(32px, 5vw, 70px);
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

@keyframes slow-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@keyframes type-piece-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--r)) scale(1);
  }
}

@keyframes type-float {
  from { translate: 0 0; }
  to { translate: 0 -16px; }
}

@keyframes type-core-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes water-dust {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-28px, -42px, 0);
  }
}

@keyframes soft-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -26px, 0) scale(1.08);
  }
}

@keyframes video-turn {
  from {
    opacity: 0;
    transform: rotateY(-28deg) rotateX(5deg) translateY(34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: rotateY(0deg) rotateX(0deg) translateY(0) scale(1);
  }
}

@keyframes laptop-page-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-26%);
  }
}

@keyframes laptop-slide-fade {
  0% {
    opacity: 0;
    transform: translateX(18px) scale(1.015);
  }
  5%,
  14% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  20%,
  100% {
    opacity: 0;
    transform: translateX(-18px) scale(1.015);
  }
}

@keyframes video-thumb-drift {
  from {
    background-position: center;
  }
  to {
    background-position: 58% center;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .site-nav a,
  .site-nav button {
    padding: 14px;
    text-align: left;
  }

  .hero,
  .intro,
  .device-stage,
  .laptop-card,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84), rgba(255,255,255,0.12));
  }

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

  .type-orbit {
    opacity: 0.24;
  }

  .type-core {
    display: none;
  }

  .hero-copy {
    min-height: 100svh;
    padding-top: 140px;
  }

  .clean-hero {
    min-height: auto;
    padding-top: 116px;
  }

  .clean-copy {
    min-height: auto;
    padding-top: 0;
  }

  .video-intro {
    width: 100vw;
  }

  .video-turn {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .video-frame iframe {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .service-list,
  .timeline,
  .comparison-grid,
  .blog-grid,
  .quiet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid .blog-card:first-child,
  .blog-grid .blog-card:not(:first-child) {
    grid-column: auto;
    grid-row: auto;
  }

  .blog-grid .blog-card:not(:first-child) {
    min-height: 220px;
  }

  .blog-grid .blog-card:not(:first-child) img {
    min-height: 220px;
    aspect-ratio: 16 / 5.8;
  }

  .blog-grid .blog-card:not(:first-child) span,
  .blog-grid .blog-card:not(:first-child) h3,
  .blog-grid .blog-card:not(:first-child) p,
  .blog-grid .blog-card:not(:first-child) .read-more {
    left: clamp(22px, 5vw, 44px);
    right: clamp(22px, 5vw, 44px);
    max-width: calc(100% - clamp(44px, 10vw, 88px));
    overflow-wrap: break-word;
  }

  .blog-grid .blog-card:not(:first-child) h3 {
    top: 54px;
    font-size: clamp(1.25rem, 4vw, 2rem);
    line-height: 1.08;
  }

  .blog-grid .blog-card:not(:first-child) p {
    bottom: 54px;
    font-size: clamp(0.95rem, 2.7vw, 1.18rem);
    -webkit-line-clamp: 2;
  }

  .blog-grid .blog-card:not(:first-child) .read-more {
    bottom: 18px;
  }

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

@media (max-width: 660px) {
  .intro-grid,
  .service-list,
  .timeline,
  .work-grid,
  .comparison-grid,
  .blog-grid,
  .quiet-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2n),
  .metric:nth-last-child(-n+2),
  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-card,
  .work-card.tall,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 440px;
  }

  .phone-card.offset {
    transform: rotate(1deg);
  }

  .cursor-dot {
    display: none;
  }

  .quiet-card,
  .quiet-card:last-child {
    border-right: 0;
  }

  .quiet-card:nth-child(3n) {
    border-right: 0;
  }

  .quiet-card.has-project-image {
    padding-right: 120px;
  }

  .clean-copy h1 {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-image,
  .modal-image img {
    min-height: 320px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div,
  .site-footer nav {
    display: grid;
  }
}

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