:root {
  --teal: #00967b;
  --cinematic-teal: #098ea4;
  --ocean: #2479c9;
  --soft-jade: #6fc3af;
  --light-blue: #addbed;
  --off-white: #f6f6f3;
  --ink: #1c1c1c;
  --clay: #a8a298;
  --brand-gradient: #098ea4;
  --max: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  margin: 0;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

a,
button {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--soft-jade);
  outline-offset: 4px;
}

h1,
h2,
h3,
.project-title,
.contact-links a {
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(34px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.95;
  margin: 8px 0 0;
}

h3 {
  font-size: 21px;
  line-height: 1.1;
  margin: 0 0 14px;
}

p {
  line-height: 1.55;
}

section[id] {
  scroll-margin-top: 112px;
}

.site-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.34), transparent);
  color: white;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 34px clamp(22px, 5vw, 62px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, padding 220ms ease;
  z-index: 20;
}

.site-header.scrolled {
  background: rgba(28, 28, 28, 0.88);
  padding-bottom: 16px;
  padding-top: 16px;
}

.wordmark {
  align-items: center;
  display: flex;
  min-width: 0;
}

.logo-frame {
  aspect-ratio: 1.63;
  display: block;
  overflow: hidden;
  transition: width 220ms ease;
  width: clamp(78px, 7.5vw, 104px);
}

.logo-frame img,
.footer-logo-frame img {
  filter: invert(1);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.site-header.scrolled .logo-frame {
  width: clamp(70px, 6.5vw, 90px);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
}

.language-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 4px;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 0 14px;
}

.language-toggle span {
  opacity: 0.48;
  transition: opacity 180ms ease;
}

.language-toggle [data-lang-option].active {
  order: 0;
}

.language-toggle span[aria-hidden="true"] {
  order: 1;
}

.language-toggle [data-lang-option]:not(.active) {
  order: 2;
}

.language-toggle span.active,
.language-toggle span[aria-hidden="true"] {
  opacity: 1;
}

.menu-button {
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 44px;
  min-width: 52px;
  padding: 8px 0;
  position: relative;
  z-index: 35;
}

.menu-panel {
  align-items: flex-end;
  background: rgba(9, 11, 10, 0.94);
  color: white;
  display: grid;
  gap: 18px;
  height: 100vh;
  height: 100dvh;
  justify-items: end;
  max-height: 100vh;
  max-height: 100dvh;
  opacity: 0;
  overflow-y: auto;
  padding: 96px clamp(24px, 5vw, 64px) 44px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
  visibility: hidden;
  width: min(420px, 100%);
  z-index: 30;
}

.menu-panel a {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 700;
  line-height: 0.95;
}

.menu-open .menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.floating-contact {
  align-items: center;
  background: var(--brand-gradient);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  color: white;
  display: inline-flex;
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 800;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  position: fixed;
  right: 22px;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 25;
}

.floating-contact span {
  color: #fff;
  font-size: 18px;
}

.contact-visible .floating-contact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.hero {
  background: var(--ink);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

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

.hero-media img,
.hero-media iframe,
.hero-youtube {
  filter: saturate(0.8) contrast(1.08) brightness(0.54);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.hero-media iframe,
.hero-youtube {
  border: 0;
  height: 56.25vw;
  left: 50%;
  min-height: 100%;
  min-width: 177.78vh;
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  z-index: 1;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.18), transparent 34%, rgba(28, 28, 28, 0.72)),
    linear-gradient(90deg, rgba(28, 28, 28, 0.44), rgba(0, 150, 123, 0.08) 50%, rgba(28, 28, 28, 0.36));
  z-index: 2;
}

.hero-inner {
  color: white;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  margin: 0 auto;
  max-width: none;
  min-height: 100vh;
  padding: 32vh clamp(22px, 5vw, 64px) 8vh;
  position: relative;
  z-index: 3;
}

.hero-note {
  align-self: end;
  color: white;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  grid-column: 2;
  line-height: 1.22;
  margin: 0 0 4px;
  max-width: none;
  white-space: nowrap;
}

.hero h1 {
  bottom: -0.26em;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(82px, 19vw, 254px);
  font-weight: 800;
  grid-column: 1 / -1;
  left: clamp(18px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.72;
  margin: 0;
  position: absolute;
  z-index: -1;
}

.hero-copy {
  color: white;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  grid-column: 2;
  line-height: 1.22;
  margin: 0;
  max-width: 720px;
}

.cross {
  height: 28px;
  position: absolute;
  width: 28px;
}

.cross::before,
.cross::after {
  background: rgba(255, 255, 255, 0.82);
  content: "";
  position: absolute;
}

.cross::before {
  height: 1px;
  left: 0;
  top: 13px;
  width: 28px;
}

.cross::after {
  height: 28px;
  left: 13px;
  top: 0;
  width: 1px;
}

.cross-one {
  bottom: 25vh;
  left: 5.4vw;
}

.cross-two {
  bottom: 25vh;
  left: 50vw;
}

.cross-three {
  bottom: 25vh;
  right: 5.4vw;
}

.marquee {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
  padding-right: 18px;
}

.marquee span {
  align-items: center;
  display: inline-flex;
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 700;
}

.marquee span::after {
  color: var(--cinematic-teal);
  content: "|";
  margin-left: 18px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(72px, 11vw, 132px) clamp(22px, 5vw, 54px);
}

.intro {
  align-items: start;
  display: grid;
  gap: clamp(28px, 7vw, 110px);
  grid-template-columns: minmax(190px, 0.35fr) 1fr;
  padding-bottom: clamp(48px, 8vw, 90px);
}

.about-aside {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  justify-items: start;
}

.section-label {
  border: 0;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.portrait-bubble {
  aspect-ratio: 1;
  border: 1px solid rgba(0, 150, 123, 0.62);
  border-radius: 50%;
  box-shadow: 0 22px 70px rgba(36, 121, 201, 0.18);
  overflow: hidden;
  width: clamp(130px, 15vw, 214px);
}

.portrait-bubble img {
  filter: contrast(1.04) brightness(0.96);
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  width: 100%;
}

.intro-copy {
  display: grid;
  gap: 28px;
}

.intro-copy > p:first-child {
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 600;
  line-height: 1.03;
  margin: 0;
}

.intro-copy .intro-definition {
  color: rgba(28, 28, 28, 0.66);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  max-width: 760px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  justify-self: start;
  letter-spacing: 0.08em;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.services {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr);
}

.services > div:first-child,
.service-grid {
  min-width: 0;
  width: 100%;
}

.compact-values {
  padding-top: clamp(40px, 6vw, 78px);
}

.compact-values h2 {
  max-width: 1100px;
}

.services h2,
.testimonials h2 {
  overflow-wrap: normal;
}

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

.service-grid article {
  min-height: 190px;
  padding: 22px 22px 22px 0;
}

.service-grid article:nth-child(odd) {
  border-top: 1px solid rgba(0, 150, 123, 0.48);
}

.service-grid article:nth-child(even) {
  border-top: 1px solid rgba(36, 121, 201, 0.46);
}

.service-grid span {
  color: var(--ink);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 56px;
}

.service-grid p {
  color: rgba(28, 28, 28, 0.72);
  margin: 0;
}

.work {
  max-width: 1360px;
  padding-top: clamp(76px, 10vw, 132px);
}

.work-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.32fr 1fr;
  max-width: none;
}

.work-heading h2 {
  font-size: clamp(54px, 9vw, 132px);
  margin: 0;
}

.work-subtitle {
  color: rgba(28, 28, 28, 0.68);
  font-size: clamp(18px, 2.1vw, 28px);
  grid-column: 2;
  margin: 16px 0 0;
}

.portfolio-list {
  border-top: 1px solid rgba(0, 150, 123, 0.5);
  margin: clamp(28px, 5vw, 54px) 0 clamp(44px, 7vw, 88px);
}

.portfolio-row {
  align-items: center;
  border-bottom: 1px solid rgba(36, 121, 201, 0.28);
  display: grid;
  gap: 18px;
  grid-template-columns:
    clamp(170px, 19vw, 260px)
    minmax(230px, 1.2fr)
    minmax(110px, 0.5fr)
    minmax(110px, 0.5fr)
    auto;
  min-width: 0;
  padding: 26px 0;
  transition: color 180ms ease, padding-left 180ms ease;
}

.portfolio-row > * {
  min-width: 0;
}

.portfolio-row > .project-thumb {
  aspect-ratio: 16 / 9;
  background: #0d0f0e;
  border: 1px solid rgba(0, 150, 123, 0.48);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(36, 121, 201, 0.14);
  grid-column: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.portfolio-row > .project-thumb::after {
  align-items: center;
  background: rgba(13, 15, 14, 0.82);
  border-radius: 7px;
  color: white;
  content: "▶";
  display: flex;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  left: 50%;
  padding-left: 3px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
  width: 54px;
}

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

.portfolio-row > .project-title {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 800;
  grid-column: 2;
  line-height: 1;
}

.portfolio-row > .project-meta {
  grid-column: 3;
}

.portfolio-row > .project-context {
  grid-column: 4;
}

.portfolio-row > strong {
  color: var(--ocean);
  grid-column: 5;
  justify-self: end;
}

.portfolio-row span,
.portfolio-row strong {
  font-size: 13px;
  font-weight: 600;
}

.portfolio-row:hover,
.portfolio-row:focus-visible {
  color: var(--cinematic-teal);
  padding-left: 12px;
}

.portfolio-row:hover .project-thumb img,
.portfolio-row:focus-visible .project-thumb img {
  transform: scale(1.08);
}

.portfolio-row:hover .project-thumb::after,
.portfolio-row:focus-visible .project-thumb::after {
  background: var(--cinematic-teal);
  transform: translate(-50%, -50%) scale(1.08);
}

.pricing {
  align-items: end;
  border-top: 0;
  color: white;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: 0.7fr 1.3fr;
  isolation: isolate;
  position: relative;
}

.pricing::before {
  background: var(--brand-gradient);
  content: "";
  inset: 0 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: absolute;
  z-index: -1;
}

.pricing-copy {
  display: grid;
  gap: 28px;
  max-width: 720px;
}

.pricing-copy p {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

.download-button {
  align-items: center;
  background: white;
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(18, 69, 113, 0.2);
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 52px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: fit-content;
}

.download-button::after {
  color: var(--ocean);
  content: "↓";
  font-size: 1.2em;
  margin-left: 12px;
}

.download-button:hover,
.download-button:focus-visible {
  box-shadow: 0 18px 46px rgba(18, 69, 113, 0.3);
  transform: translateY(-2px);
}

.testimonials {
  display: grid;
  gap: clamp(32px, 5vw, 70px);
  grid-template-columns: 1fr;
}

.testimonials h2 {
  font-size: clamp(48px, 7vw, 104px);
}

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

.testimonial-grid figure {
  align-items: flex-start;
  border-top: 1px solid rgba(0, 150, 123, 0.34);
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 32px 0 0;
}

.testimonial-avatar {
  aspect-ratio: 1;
  border: 2px solid rgba(0, 150, 123, 0.5);
  border-radius: 50%;
  box-shadow: 0 14px 38px rgba(36, 121, 201, 0.16);
  flex: 0 0 auto;
  overflow: hidden;
  width: clamp(170px, 16vw, 220px);
}

.testimonial-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.snow-raven-avatar img {
  object-position: 50% 42%;
  transform: scale(1.22);
  transform-origin: 50% 42%;
}

.xevi-avatar img {
  object-position: 48% 28%;
  transform: scale(1.58);
  transform-origin: 48% 28%;
}

.facesoul-avatar img {
  object-position: 64% 42%;
  transform: scale(1.2);
  transform-origin: 64% 42%;
}

.testimonial-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.testimonial-grid blockquote {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 24px;
}

.testimonial-grid figcaption {
  color: var(--cinematic-teal);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-top: auto;
  text-transform: uppercase;
}

.contact {
  align-items: start;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 44px;
  grid-template-columns: 1.25fr 0.75fr;
  margin: 0;
  max-width: none;
  padding:
    clamp(78px, 13vw, 160px)
    clamp(22px, 5vw, 64px)
    clamp(80px, 12vw, 150px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

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

.contact h2 {
  font-size: clamp(46px, 8vw, 124px);
  max-width: 980px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  margin: 24px 0 0;
  max-width: 540px;
}

.get-started-button {
  align-items: center;
  background: var(--brand-gradient);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  margin-top: 34px;
  min-height: 64px;
  padding: 0 34px;
  width: fit-content;
}

.get-started-button::after {
  content: "◉";
  font-size: 0.72em;
  margin-left: 12px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-links a,
.contact-links span {
  align-items: center;
  color: white;
  display: flex;
  font-size: 15px;
  font-weight: 700;
}

.contact-links a,
.contact-menu a,
.site-footer a {
  min-height: 44px;
}

.contact-menu {
  align-self: end;
  display: grid;
  gap: 14px;
}

.contact-menu a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 700;
  padding-bottom: 13px;
  transition: color 180ms ease;
}

.contact-menu a:hover,
.contact-menu a:focus-visible {
  color: var(--light-blue);
}

.site-footer {
  align-items: end;
  background: var(--ink);
  border-top: 1px solid rgba(111, 195, 175, 0.42);
  color: white;
  column-gap: 32px;
  display: grid;
  font-size: 12px;
  font-weight: 600;
  grid-template-columns: auto minmax(0, 1fr) auto;
  letter-spacing: 0.16em;
  padding: 34px clamp(24px, 5vw, 64px);
  text-transform: uppercase;
}

.footer-logo-frame {
  aspect-ratio: 1.63;
  overflow: hidden;
  width: 88px;
}

.site-footer p {
  align-items: center;
  display: flex;
  justify-self: center;
  margin: 0;
  min-height: 44px;
}

.site-footer nav {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

.idnmind-cursor-glow {
  --glow-size: clamp(260px, 24vw, 360px);
  background: radial-gradient(
    circle,
    rgba(9, 142, 164, 0.82) 0%,
    rgba(9, 142, 164, 0.58) 34%,
    rgba(9, 142, 164, 0.34) 58%,
    rgba(9, 142, 164, 0) 76%
  );
  border-radius: 50%;
  filter: blur(22px);
  height: var(--glow-size);
  left: -400px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: -400px;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: var(--glow-size);
  will-change: left, top, opacity, transform;
  z-index: 80;
}

.idnmind-cursor-glow.is-visible {
  opacity: 0.32;
  transform: translate(-50%, -50%) scale(1);
}

.idnmind-cursor-glow.is-interactive {
  opacity: 0.4;
  transform: translate(-50%, -50%) scale(1.18);
}

.idnmind-cursor-glow.is-touch {
  --glow-size: 190px;
  filter: blur(18px);
  opacity: 0.24;
  transition-duration: 180ms;
}

@media (max-width: 1024px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section {
    padding: 84px 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 32vh;
  }

  .hero-note,
  .hero-copy {
    font-size: 1.65rem;
    grid-column: 1;
    max-width: 640px;
  }

  .hero h1 {
    font-size: 8.5rem;
  }

  .pricing,
  .contact,
  .work-heading {
    grid-template-columns: 1fr;
  }

  .work-subtitle {
    grid-column: 1;
  }

  h2 {
    font-size: 3.75rem;
  }

  .work-heading h2 {
    font-size: 5.5rem;
  }

  .testimonials h2 {
    font-size: 4.5rem;
  }

  .contact h2 {
    font-size: 4rem;
  }

  .portfolio-row:hover,
  .portfolio-row:focus-visible {
    padding-left: 0;
  }
}

@media (max-width: 980px) {
  .portfolio-row {
    grid-template-columns: clamp(150px, 28vw, 210px) minmax(0, 1fr) auto;
  }

  .portfolio-row > .project-thumb {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .portfolio-row > .project-title {
    grid-column: 2;
    grid-row: 1;
  }

  .portfolio-row > .project-meta {
    grid-column: 2;
    grid-row: 2;
  }

  .portfolio-row > .project-context {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .portfolio-row > strong {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-avatar {
    width: 180px;
  }
}

@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
  }

  .about-aside {
    grid-template-columns: 1fr auto;
  }

  .portrait-bubble {
    width: 180px;
  }

  .intro-copy > p:first-child {
    font-size: 2.5rem;
  }

  .portfolio-row {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) auto;
  }
}

@media (max-width: 760px) {
  .site-footer {
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-footer p {
    justify-self: start;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 76px;
  }

  .site-header,
  .site-header.scrolled {
    background: rgba(13, 15, 14, 0.9);
    padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  }

  .logo-frame {
    width: 78px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    font-size: 11px;
    padding: 0 11px;
  }

  .menu-button {
    font-size: 12px;
    padding: 0;
  }

  .menu-panel {
    align-content: start;
    gap: 10px;
    justify-items: start;
    min-height: 100dvh;
    padding: calc(92px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
    width: 100%;
  }

  .menu-panel a {
    align-items: center;
    display: flex;
    font-size: 2rem;
    line-height: 1.08;
    min-height: 54px;
    width: 100%;
  }

  .hero,
  .hero-inner {
    height: 92vh;
    height: 92svh;
    min-height: 560px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(90px + env(safe-area-inset-top)) 20px 120px;
  }

  .hero-note,
  .hero-copy {
    font-size: 1.25rem;
    line-height: 1.25;
    max-width: 520px;
  }

  .hero-note {
    font-size: 1.05rem;
    margin: 0 0 12px;
  }

  .hero-copy {
    margin: 0;
  }

  .hero h1 {
    bottom: 22px;
    font-size: 4rem;
    left: 20px;
    line-height: 0.8;
    z-index: 0;
  }

  .cross {
    display: none;
  }

  .marquee {
    padding: 12px 0;
  }

  .marquee span {
    font-size: 1.1rem;
  }

  .section {
    padding: 64px 20px;
  }

  .section-label {
    font-size: 2rem;
  }

  .about-aside {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .portrait-bubble {
    width: 132px;
  }

  .intro-copy > p:first-child {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .intro-copy .intro-definition {
    font-size: 1.1rem;
  }

  h2,
  .work-heading h2,
  .testimonials h2 {
    font-size: 3.4rem;
    line-height: 0.96;
  }

  .testimonials h2 {
    font-size: 3rem;
  }

  html[lang="es"] .services h2 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .services {
    gap: 44px;
  }

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

  .service-grid article {
    min-height: 0;
    padding: 24px 0 34px;
  }

  .service-grid span {
    margin-bottom: 32px;
  }

  .service-grid h3 {
    font-size: 1.5rem;
  }

  .work-subtitle {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-top: 18px;
  }

  .portfolio-list {
    margin-top: 36px;
  }

  .portfolio-row {
    column-gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 26px 0;
    row-gap: 12px;
  }

  .portfolio-row > .project-thumb {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .portfolio-row > .project-title {
    font-size: 1.7rem;
    grid-column: 1;
    grid-row: 2;
    line-height: 1.08;
  }

  .portfolio-row > .project-meta {
    grid-column: 1;
    grid-row: 3;
  }

  .portfolio-row > .project-context {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }

  .portfolio-row > strong {
    grid-column: 2;
    grid-row: 2;
  }

  .portfolio-row > .project-meta,
  .portfolio-row > .project-context,
  .portfolio-row > strong {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .pricing-copy p {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .download-button {
    max-width: 100%;
    min-height: 54px;
  }

  .testimonial-grid blockquote {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .testimonial-grid figcaption {
    font-size: 1rem;
  }

  .contact {
    gap: 56px;
    padding: 72px 20px calc(80px + env(safe-area-inset-bottom));
  }

  .contact h2 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .get-started-button {
    font-size: 1.2rem;
    min-height: 56px;
    padding: 0 24px;
  }

  .contact-copy p {
    font-size: 1rem;
  }

  .contact-menu {
    gap: 0;
  }

  .contact-menu a {
    align-items: center;
    display: flex;
    font-size: 1.3rem;
    min-height: 58px;
    padding: 12px 0;
  }

  .floating-contact {
    bottom: calc(12px + env(safe-area-inset-bottom));
    font-size: 0.95rem;
    min-height: 48px;
    padding: 0 16px;
    right: 12px;
    white-space: nowrap;
  }

  .footer-logo-frame {
    width: 78px;
  }

  .site-footer {
    gap: 22px;
    padding: 30px 20px calc(32px + env(safe-area-inset-bottom));
  }

  .site-footer nav {
    gap: 8px 20px;
  }
}

@media (max-width: 620px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid figure {
    gap: 24px;
    padding-top: 30px;
  }

  .testimonial-avatar {
    width: 150px;
  }

  .testimonial-grid blockquote {
    font-size: 1.35rem;
  }
}

@media (max-width: 440px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer nav {
    grid-column: 1;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-note {
    font-size: 0.82rem;
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

  .portrait-bubble {
    width: 120px;
  }

  .intro-copy > p:first-child {
    font-size: 1.65rem;
  }

  h2,
  .work-heading h2,
  .testimonials h2 {
    font-size: 3rem;
  }

  .testimonials h2 {
    font-size: 2.65rem;
  }

  html[lang="es"] .services h2 {
    font-size: 2.1rem;
  }

  .contact h2 {
    font-size: 2.4rem;
  }
}

@media (max-height: 620px) and (min-width: 721px) and (max-width: 1024px) {
  .hero-inner {
    padding-bottom: 72px;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 6.5rem;
  }

  .hero-note,
  .hero-copy {
    font-size: 1.3rem;
  }
}

@media (hover: none) {
  .portfolio-row:hover {
    color: inherit;
  }

  .portfolio-row:hover .project-thumb img,
  .portfolio-row:hover .project-thumb::after {
    transform: none;
  }
}

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

  .marquee-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .idnmind-cursor-glow {
    display: none;
  }
}
