:root {
  --bg: #f7f9ff;
  --panel: rgba(255, 255, 255, .88);
  --line: rgba(6, 24, 69, .12);
  --ink: #061845;
  --muted: #66728a;
  --acid: #2454ff;
  --orange: #ff6a3d;
  --yellow: #ffd44d;
  --sky: #e6efff;
  --site-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hero-title-size: 96px;
  --section-title-size: 46px;
  --body-size: 18px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 12%, rgba(36, 84, 255, .16), transparent 24%),
    radial-gradient(circle at 12% 22%, rgba(255, 106, 61, .12), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #eef4ff 100%);
  color: var(--ink);
  font-family: var(--site-font);
  font-size: var(--body-size);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(36, 84, 255, .18) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000 0 28%, transparent 76%);
  opacity: .22;
}

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

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1080px, calc(100% - 36px));
  transform: translateX(-50%);
  min-height: 54px;
  padding: 6px 8px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 60px rgba(36, 84, 255, .10);
  backdrop-filter: blur(18px);
}

.brand,
.nav nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.brand-logo {
  width: auto;
  max-width: 44px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand-logo[hidden] {
  display: none;
}

.brand.has-logo .brand-mark {
  display: none;
}

.nav nav {
  gap: 8px;
}

.language-toggle {
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(36, 84, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
}

.language-toggle button {
  min-width: 36px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(6, 24, 69, .58);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
}

.language-toggle button.is-active {
  background: var(--acid);
  color: #fff;
}

.nav nav a {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #34405a;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.nav nav a:hover,
.nav-cta {
  color: var(--acid);
  border: 1px solid rgba(36, 84, 255, .18);
  background: rgba(36, 84, 255, .06);
}

.hero,
.section,
.contact,
footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  min-height: 100vh;
  padding: 130px 0 68px;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(380px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, var(--hero-title-size));
  line-height: .82;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, var(--body-size));
  line-height: 1.55;
}

.hero-rotator {
  min-height: clamp(60px, 8vw, 96px);
  margin: 0;
  color: var(--acid);
  font-size: clamp(54px, 8.4vw, 104px);
  font-weight: 950;
  line-height: .88;
  text-transform: uppercase;
}

.hero-rotator span {
  display: inline-block;
  transition: opacity .18s ease, transform .18s ease;
}

.hero-rotator span.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

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

.button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 255, 67, .34);
  border-radius: 999px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

.button.dark {
  background: #f4f0e8;
  border-color: #f4f0e8;
  color: #10100d;
}

.hero-board {
  position: relative;
  min-height: 560px;
}

.board-note {
  position: absolute;
  right: 10%;
  bottom: 10%;
  z-index: 5;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 11, 8, .72);
  backdrop-filter: blur(14px);
}

.board-note span {
  color: var(--acid);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.board-note strong {
  font-size: 14px;
}

.hero-card {
  position: absolute;
  width: 220px;
  aspect-ratio: 16 / 10.5;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(244, 240, 232, .14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(116, 255, 67, .12), transparent 40%),
    rgba(244, 240, 232, .055);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.hero-card img,
.hero-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card span,
.hero-card small {
  position: relative;
  z-index: 2;
}

.hero-card span {
  font-size: 14px;
  font-weight: 900;
}

.hero-card small {
  color: var(--muted);
}

.hero-card-1 {
  top: 16%;
  left: 8%;
  transform: rotate(-8deg);
}

.hero-card-2 {
  top: 4%;
  right: 8%;
  width: 260px;
  transform: rotate(7deg);
}

.hero-card-3 {
  right: 5%;
  bottom: 20%;
  width: 300px;
  transform: rotate(-5deg);
}

.hero-card-4 {
  left: 22%;
  bottom: 4%;
  width: 190px;
  transform: rotate(5deg);
}

.ticker {
  margin-top: -34px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(244, 240, 232, .025);
}

.ticker > div {
  width: max-content;
  min-width: 100%;
  padding: 14px 0;
  display: flex;
  justify-content: flex-start;
  gap: 34px;
  animation: ticker 28s linear infinite;
  will-change: transform;
}

.ticker span {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
}

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

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

.section {
  padding: 86px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.intro {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.intro p:last-child {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

h2 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(32px, 5vw, var(--section-title-size));
  line-height: 1;
  font-weight: 920;
}

.section-copy,
.section-head {
  display: grid;
  justify-items: center;
}

.carousel-groups {
  margin-top: 36px;
  display: grid;
  gap: 34px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.carousel-group {
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.carousel-group h3 {
  margin: 0;
  color: var(--acid);
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  top: 50%;
  z-index: 4;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 0, .42);
  border-radius: 999px;
  background: rgba(255, 77, 0, .12);
  color: #ffffff;
  font: inherit;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.carousel-controls button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
  background: var(--accent-orange);
}

.carousel-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.marquee {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  animation: marquee 44s linear infinite;
}

.carousel-group:nth-child(2) .marquee-track {
  animation-duration: 44s;
  animation-direction: reverse;
}

.carousel-group:nth-child(3) .marquee-track {
  animation-duration: 50s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

.project-card {
  width: clamp(282px, 30vw, 360px);
  padding: 14px;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 240, 232, .055);
  color: inherit;
  cursor: pointer;
  font: inherit;
  align-self: flex-start;
}

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

.project-card:disabled {
  cursor: default;
  transform: none;
}

.project-card img,
.project-card video,
.project-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(244, 240, 232, .06);
}

.project-card.ratio-16x9 img,
.project-card.ratio-16x9 video,
.project-card.ratio-16x9 .project-thumb {
  aspect-ratio: 16 / 9;
}

.project-card.ratio-16x9 {
  width: clamp(360px, 38vw, 460px);
}

.project-card.ratio-9x16 {
  width: clamp(210px, 24vw, 290px);
}

.project-card.ratio-9x16 img,
.project-card.ratio-9x16 video,
.project-card.ratio-9x16 .project-thumb {
  aspect-ratio: 9 / 16;
}

.project-card.ratio-4x5 img,
.project-card.ratio-4x5 video,
.project-card.ratio-4x5 .project-thumb {
  aspect-ratio: 4 / 5;
}

.project-card video {
  display: block;
}

.project-thumb {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(244, 240, 232, .22);
}

.project-thumb span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.project-card > span {
  color: var(--muted);
  font-size: 13px;
}

.project-card em {
  color: var(--acid);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-open {
  overflow: hidden;
}

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

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 24, 69, .64);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 32px 100px rgba(6, 24, 69, .28);
}

.project-case {
  display: grid;
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 24, 69, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.project-modal__media {
  min-height: min(54vh, 560px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(36, 84, 255, .10), transparent 28%),
    #f6f8ff;
}

.project-modal__media img,
.project-modal__media video,
.project-modal__media iframe {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.project-modal__media iframe {
  aspect-ratio: 16 / 9;
  min-height: min(58vw, 620px);
  border: 0;
}

.project-modal__info {
  padding: 22px 26px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  border-top: 1px solid rgba(6, 24, 69, .10);
}

.project-modal__info span {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-modal__info h2 {
  grid-column: 1;
  font-size: clamp(22px, 3vw, 34px);
}

.project-modal__info a {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(36, 84, 255, .18);
  border-radius: 999px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-case__body {
  padding: 0 26px 34px;
  display: grid;
  gap: 20px;
}

.project-case__text {
  margin-inline: auto;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
  text-align: left;
}

.project-case__media,
.project-case__embed {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 24, 69, .10);
  border-radius: 16px;
  background: #f6f8ff;
}

.project-case__media img,
.project-case__media video,
.project-case__embed iframe {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.project-case__embed iframe {
  min-height: min(62vw, 620px);
  border: 0;
}

.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 250px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255, 90, 35, .12), transparent 48%),
    rgba(244, 240, 232, .045);
}

.service-grid span {
  color: var(--acid);
  font-size: 13px;
  font-weight: 950;
}

.service-grid h3 {
  margin: 40px 0 14px;
  font-size: 28px;
  line-height: 1;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 620px);
  justify-content: center;
  align-items: center;
  gap: 34px;
  text-align: left;
}

.portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(244, 240, 232, .055);
}

.portrait-placeholder {
  color: rgba(244, 240, 232, .15);
  font-size: 88px;
  font-weight: 950;
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
}

.about-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(244, 240, 232, .04);
}

.about-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.about-copy ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.about-copy li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.flow-map {
  margin-top: 48px;
  display: grid;
  justify-items: center;
  gap: 0;
}

.flow-node {
  border: 1px solid rgba(6, 24, 69, .10);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 24px 72px rgba(36, 84, 255, .10);
}

.flow-start,
.flow-end {
  min-width: 190px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.flow-start {
  background: var(--acid);
  color: #fff;
}

.flow-end {
  background: var(--orange);
  color: #fff;
}

.flow-connector {
  position: relative;
  width: 2px;
  height: 58px;
  background: rgba(36, 84, 255, .34);
}

.flow-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(36, 84, 255, .70);
  border-bottom: 2px solid rgba(36, 84, 255, .70);
  transform: translateX(-50%) rotate(45deg);
}

.flow-lanes {
  position: relative;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 36px;
}

.flow-lanes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: rgba(36, 84, 255, .22);
}

.flow-lanes article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 16px;
  border-radius: 22px;
  text-align: left;
}

.flow-lanes article::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  width: 2px;
  height: 36px;
  background: rgba(36, 84, 255, .22);
}

.flow-lanes article::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;
  width: 2px;
  height: 36px;
  background: rgba(255, 106, 61, .25);
}

.flow-lanes strong {
  color: var(--acid);
  font-size: 24px;
}

.flow-lanes ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.flow-lanes li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.flow-lanes li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 1px;
}

.flow-merge {
  position: relative;
  width: min(980px, 100%);
  height: 74px;
}

.flow-merge::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: rgba(255, 106, 61, .25);
}

.flow-merge span {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 2px;
  height: 38px;
  background: rgba(255, 106, 61, .45);
}

.flow-merge span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 106, 61, .86);
  border-bottom: 2px solid rgba(255, 106, 61, .86);
  transform: translateX(-50%) rotate(45deg);
}

.contact {
  margin-top: 70px;
  margin-bottom: 34px;
  padding: 62px;
  display: grid;
  justify-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(116, 255, 67, .14), transparent 42%),
    rgba(244, 240, 232, .045);
}

.contact h2 {
  margin-bottom: 16px;
}

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

.contact-email {
  margin-top: 8px;
  display: inline-flex;
  justify-content: center;
  color: var(--ink);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 850;
  text-decoration: none;
}

.contact-email:hover {
  color: var(--accent-orange, var(--acid));
}

footer {
  padding: 0 0 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav {
    position: sticky;
    top: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    border-inline: 0;
  }

  .nav nav {
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .hero-board {
    min-height: 420px;
  }

  .service-grid,
  .about,
  .flow-lanes {
    grid-template-columns: 1fr;
  }

  .flow-lanes {
    width: min(520px, 100%);
    padding-top: 0;
    gap: 54px;
  }

  .flow-lanes::before {
    left: 50%;
    right: auto;
    top: -54px;
    width: 2px;
    height: calc(100% + 108px);
  }

  .flow-lanes article::before,
  .flow-lanes article::after,
  .flow-merge::before {
    display: none;
  }

  .flow-merge {
    width: 2px;
    height: 54px;
    background: rgba(255, 106, 61, .28);
  }

  .service-grid article.service-card {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 24, 69, .10);
  }

  .service-grid article.service-card:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 560px) {
  .hero,
  .section,
  .contact,
  footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

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

  .hero-card {
    width: 160px;
  }

  .hero-card-2,
  .hero-card-3 {
    width: 190px;
  }

  .contact {
    padding: 42px 18px;
  }
}

/* Theme: clean blue/orange portfolio, inspired by Vitor Salvador's quieter direction. */
:root {
  --bg: #f7f9ff;
  --panel: rgba(255, 255, 255, .92);
  --line: rgba(6, 24, 69, .12);
  --ink: #061845;
  --muted: #66728a;
  --acid: #2454ff;
  --orange: #ff6a3d;
  --yellow: #ffd44d;
  --sky: #e9f1ff;
}

body {
  background:
    radial-gradient(circle at 76% 12%, rgba(36, 84, 255, .15), transparent 24%),
    radial-gradient(circle at 12% 22%, rgba(255, 106, 61, .10), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #eef4ff 100%);
  color: var(--ink);
}

body::before {
  background-image: radial-gradient(rgba(36, 84, 255, .16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000 0 28%, transparent 76%);
  opacity: .18;
}

.nav {
  border-color: rgba(6, 24, 69, .10);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 60px rgba(36, 84, 255, .10);
}

.brand-mark {
  background: var(--acid);
  color: #fff;
}

.nav nav a {
  color: rgba(6, 24, 69, .62);
}

.nav nav a:hover,
.nav-cta {
  color: var(--acid);
  border-color: rgba(36, 84, 255, .18);
  background: rgba(36, 84, 255, .06);
}

.kicker,
.section-label,
.carousel-group h3,
.service-grid span,
.flow-lanes strong,
.project-card em,
.board-note span {
  color: var(--acid);
}

h1 {
  color: var(--ink);
  text-shadow: 0 22px 54px rgba(36, 84, 255, .10);
}

.hero-text,
.hero-rotator,
.intro p:last-child,
.service-grid p,
.about-copy p,
.contact p,
.project-card > span,
.hero-card small,
footer {
  color: var(--muted);
}

.hero-rotator {
  color: var(--acid);
}

.button {
  border-color: rgba(36, 84, 255, .20);
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 40px rgba(36, 84, 255, .10);
}

.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 20px 48px rgba(255, 106, 61, .28);
}

.button.dark {
  background: var(--acid);
  border-color: var(--acid);
  color: #fff;
}

.hero-card,
.project-card,
.service-grid article,
.about-copy,
.portrait,
.flow-lanes article,
.contact {
  border-color: rgba(6, 24, 69, .10);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 72px rgba(36, 84, 255, .10);
}

.hero-card {
  background:
    linear-gradient(150deg, rgba(36, 84, 255, .10), transparent 52%),
    rgba(255, 255, 255, .82);
}

.hero-card.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(36, 84, 255, .16), transparent 46%),
    linear-gradient(315deg, rgba(255, 106, 61, .14), transparent 42%);
}

.board-note {
  border-color: rgba(6, 24, 69, .10);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(36, 84, 255, .10);
}

.ticker {
  border-block-color: rgba(6, 24, 69, .10);
  background: rgba(255, 255, 255, .56);
}

.ticker strong {
  color: var(--acid);
}

.section {
  border-bottom-color: rgba(6, 24, 69, .10);
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.project-thumb {
  border-color: rgba(6, 24, 69, .10);
  background:
    linear-gradient(135deg, rgba(36, 84, 255, .10), rgba(255, 106, 61, .14)),
    var(--sky);
}

.project-thumb span {
  color: var(--acid);
}

.service-grid article {
  background:
    linear-gradient(155deg, rgba(36, 84, 255, .08), transparent 50%),
    linear-gradient(330deg, rgba(255, 106, 61, .08), transparent 45%),
    rgba(255, 255, 255, .88);
}

.flow-start,
.flow-end {
  color: #fff;
  box-shadow: 0 18px 42px rgba(36, 84, 255, .18);
}

.flow-start {
  background: var(--acid);
}

.flow-end {
  background: var(--orange);
  box-shadow: 0 18px 42px rgba(255, 106, 61, .20);
}

.flow-lanes::before {
  background: rgba(36, 84, 255, .16);
}

.about-copy li {
  border-top-color: rgba(6, 24, 69, .10);
}

.contact {
  background:
    radial-gradient(circle at 50% 0, rgba(36, 84, 255, .12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, .90), rgba(255, 106, 61, .08));
}

/* Hero: centered personal intro. */
.hero {
  min-height: 92vh;
  padding: 130px 0 72px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 0;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
}

.hero h1 {
  margin-bottom: -20px;
  font-size: clamp(76px, 13vw, 168px);
  line-height: .9;
}

.hero-rotator {
  position: relative;
  width: min(100%, 980px);
  min-height: clamp(150px, 17vw, 240px);
  margin-block: -50px -42px;
  color: transparent;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 1.22;
  overflow: visible;
  padding-block: clamp(38px, 4vw, 64px);
  -webkit-text-stroke: 2px var(--acid);
  text-stroke: 2px var(--acid);
}

.hero-rotator .rotator-word {
  position: absolute;
  inset: clamp(38px, 4vw, 64px) 0;
  display: grid;
  place-items: center;
  color: transparent;
  -webkit-text-stroke: 2px var(--acid);
  text-stroke: 2px var(--acid);
  opacity: 0;
  transform: translateY(56%) scale(.96);
  filter: blur(9px);
  will-change: opacity, transform, filter;
  transition: none;
}

.hero-rotator .rotator-word.is-active {
  animation: rotatorIn .92s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-rotator .rotator-word.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: none;
}

.hero-rotator .rotator-word.is-prev {
  animation: rotatorOut .78s cubic-bezier(.7, 0, .2, 1) both;
}

.hero-rotator .rotator-word.is-next {
  opacity: 0;
  transform: translateY(56%) scale(.96);
  filter: blur(9px);
}

@keyframes rotatorIn {
  0% {
    opacity: 0;
    transform: translateY(56%) scale(.96);
    filter: blur(9px);
  }
  68% {
    opacity: 1;
    transform: translateY(-8%) scale(1.015);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes rotatorOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-56%) scale(.96);
    filter: blur(9px);
  }
}

.hero-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

.hero .button {
  min-height: 66px;
  padding: 0 34px;
  min-width: 190px;
  font-size: 14px;
}

/* Services: visual grid with compact icon cards. */
.service-grid {
  max-width: 1040px;
  margin: 42px auto 0;
  gap: 0;
  border: 1px solid rgba(6, 24, 69, .12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 24px 80px rgba(36, 84, 255, .08);
}

.service-grid article.service-card {
  min-height: 330px;
  padding: 32px;
  align-content: start;
  gap: 16px;
  border: 0;
  border-right: 1px solid rgba(6, 24, 69, .10);
  border-radius: 0;
  background:
    linear-gradient(150deg, rgba(36, 84, 255, .07), transparent 48%),
    rgba(255, 255, 255, .72);
  box-shadow: none;
}

.service-grid article.service-card:last-child {
  border-right: 0;
}

.service-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(36, 84, 255, .08);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.service-card--design .service-icon::before {
  width: 26px;
  height: 20px;
  border: 2px solid var(--acid);
  border-radius: 5px;
  box-shadow: 0 8px 0 -4px var(--orange);
}

.service-card--design .service-icon::after {
  width: 13px;
  height: 13px;
  right: 10px;
  bottom: 9px;
  border-radius: 4px;
  background: var(--orange);
}

.service-card--motion .service-icon::before {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(36, 84, 255, .35);
  border-radius: 50%;
  box-shadow: -11px 0 0 -8px var(--orange), 11px 0 0 -8px var(--orange);
}

.service-card--motion .service-icon::after {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--acid);
  transform: translateX(2px);
}

.service-card--edit .service-icon::before {
  width: 30px;
  height: 20px;
  border: 2px solid var(--acid);
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(36, 84, 255, .22) 28% 34%, transparent 34% 66%, rgba(36, 84, 255, .22) 66% 72%, transparent 72%);
}

.service-card--edit .service-icon::after {
  width: 22px;
  height: 3px;
  left: 13px;
  bottom: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 -7px 0 rgba(255, 106, 61, .45);
}

.service-grid small {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.service-grid h3 {
  margin: 10px 0 0;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1.16;
  text-transform: none;
}

.service-grid p {
  margin: 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-grid ul {
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-grid li {
  padding: 8px 10px;
  border: 1px solid rgba(36, 84, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: rgba(6, 24, 69, .70);
  font-size: 12px;
  font-weight: 820;
}

.work-more {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.projects-archive {
  min-height: 100vh;
  padding-top: 150px;
}

.projects-archive h1 {
  margin: 0;
  max-width: 840px;
  color: var(--ink);
  font-size: clamp(52px, 9vw, 120px);
  line-height: .92;
  font-weight: 950;
  text-transform: uppercase;
}

.project-filters {
  margin: 38px auto 32px;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(6, 24, 69, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.project-filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(6, 24, 69, .62);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 920;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-filters button.is-active {
  background: var(--acid);
  color: #fff;
}

.all-projects-grid {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
}

.project-card--full {
  flex: 1 1 300px;
  width: auto;
  max-width: 390px;
  margin: 0;
}

.project-card--full.ratio-16x9 {
  flex-basis: 420px;
  max-width: 520px;
}

.project-card--full.ratio-9x16 {
  flex: 0 1 260px;
  max-width: 300px;
}

.project-card--full.ratio-4x5 {
  flex: 1 1 300px;
  max-width: 390px;
}

.projects-empty {
  grid-column: 1 / -1;
  padding: 50px 20px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .project-modal {
    padding: 12px;
  }

  .project-modal__dialog {
    max-height: 92vh;
    border-radius: 16px;
  }

  .project-modal__media img,
  .project-modal__media video {
    max-height: 66vh;
  }

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

  .project-modal__info a {
    grid-row: auto;
    grid-column: 1;
    width: fit-content;
  }

  .hero h1 {
    font-size: clamp(64px, 21vw, 112px);
  }

  .hero-rotator {
    min-height: clamp(128px, 32vw, 170px);
    margin-block: -28px -24px;
    font-size: clamp(48px, 16vw, 78px);
    padding-block: 38px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero .button {
    width: min(100%, 320px);
  }

  .project-filters {
    width: 100%;
    border-radius: 22px;
  }

  .project-filters button {
    flex: 1 1 140px;
  }

}

@media (max-width: 560px) {
  .carousel-head {
    align-items: flex-start;
  }

  .carousel-controls button {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }
}

/* Theme: dark navy with light blue and white typography. */
:root {
  --bg: #030b1f;
  --panel: rgba(9, 23, 52, .82);
  --line: rgba(165, 205, 255, .16);
  --ink: #f7fbff;
  --muted: #9fb9df;
  --acid: #8fc8ff;
  --orange: #ff8a5c;
  --yellow: #ffd66b;
  --sky: #0d1f44;
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(73, 155, 255, .20), transparent 26%),
    radial-gradient(circle at 10% 18%, rgba(143, 200, 255, .13), transparent 22%),
    radial-gradient(circle at 50% 86%, rgba(255, 138, 92, .08), transparent 24%),
    linear-gradient(180deg, #020817 0%, #061534 48%, #030b1f 100%);
  color: var(--ink);
}

body::before {
  background-image: radial-gradient(rgba(143, 200, 255, .16) 1px, transparent 1px);
  opacity: .20;
}

.nav {
  border-color: rgba(165, 205, 255, .18);
  background: rgba(3, 11, 31, .72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .32);
}

.brand-mark,
.language-toggle button.is-active,
.project-filters button.is-active {
  background: var(--acid);
  color: #03122d;
}

.nav nav a,
.language-toggle button,
.project-filters button {
  color: rgba(247, 251, 255, .72);
}

.nav nav a:hover,
.nav-cta {
  color: var(--ink);
  border-color: rgba(143, 200, 255, .22);
  background: rgba(143, 200, 255, .10);
}

.language-toggle,
.project-filters {
  border-color: rgba(143, 200, 255, .18);
  background: rgba(9, 23, 52, .58);
}

h1,
h2,
h3,
.project-card strong,
.about-copy li,
.flow-start,
.flow-end,
.project-modal__info h2,
.projects-archive h1 {
  color: var(--ink);
}

.kicker,
.section-label,
.carousel-group h3,
.flow-lanes strong,
.project-card em,
.ticker strong,
.service-grid span,
.project-modal__info span {
  color: var(--acid);
}

.hero-rotator,
.hero-rotator .rotator-word {
  color: transparent;
  -webkit-text-stroke-color: var(--acid);
  text-stroke-color: var(--acid);
}

.hero-text,
.intro p:last-child,
.ticker span,
.service-grid p,
.about-copy p,
.contact p,
.project-card > span,
.flow-lanes li,
.projects-empty,
footer {
  color: var(--muted);
}

.button {
  border-color: rgba(143, 200, 255, .24);
  color: var(--ink);
  background: rgba(9, 23, 52, .68);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .24);
}

.button.primary {
  background: var(--acid);
  border-color: var(--acid);
  color: #03122d;
  box-shadow: 0 20px 48px rgba(73, 155, 255, .22);
}

.button.dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #03122d;
}

.ticker {
  border-block-color: rgba(143, 200, 255, .14);
  background: rgba(9, 23, 52, .38);
}

.section {
  border-bottom-color: rgba(143, 200, 255, .12);
}

.project-card,
.about-copy,
.portrait,
.flow-lanes article,
.contact,
.project-modal__dialog {
  border-color: rgba(143, 200, 255, .16);
  background:
    linear-gradient(150deg, rgba(143, 200, 255, .08), transparent 46%),
    rgba(8, 20, 46, .78);
  box-shadow: 0 24px 82px rgba(0, 0, 0, .24);
}

.project-thumb {
  border-color: rgba(143, 200, 255, .22);
  background:
    linear-gradient(135deg, rgba(143, 200, 255, .14), rgba(255, 138, 92, .08)),
    rgba(10, 28, 65, .82);
}

.project-thumb span {
  color: var(--acid);
}

.about-copy li {
  border-top-color: rgba(143, 200, 255, .13);
}

.flow-start {
  background: var(--acid);
  color: #03122d;
}

.flow-end {
  background: #ffffff;
  color: #03122d;
}

.flow-connector,
.flow-lanes::before,
.flow-lanes article::before {
  background: rgba(143, 200, 255, .28);
}

.flow-lanes article::after,
.flow-merge::before,
.flow-merge span {
  background: rgba(255, 255, 255, .22);
}

.flow-connector::after {
  border-color: rgba(143, 200, 255, .78);
}

.flow-merge span::after {
  border-color: rgba(255, 255, 255, .78);
}

.contact {
  background:
    radial-gradient(circle at 50% 0, rgba(143, 200, 255, .16), transparent 44%),
    linear-gradient(135deg, rgba(9, 23, 52, .90), rgba(6, 21, 52, .74));
}

.project-modal__backdrop {
  background: rgba(2, 8, 23, .76);
}

.project-modal__media,
.project-case__media,
.project-case__embed {
  border-color: rgba(143, 200, 255, .16);
  background: #061534;
}

.project-modal__info {
  border-top-color: rgba(143, 200, 255, .14);
}

.project-modal__info a {
  border-color: rgba(143, 200, 255, .22);
  color: var(--acid);
}

.project-modal__close {
  border-color: rgba(143, 200, 255, .20);
  background: rgba(9, 23, 52, .92);
  color: var(--ink);
}

/* Accent update: navy background with white/orange text and blue/orange buttons. */
:root {
  --accent-blue: #8fc8ff;
  --accent-orange: #ff8a3d;
  --muted: #b8c8df;
  --acid: var(--accent-orange);
  --orange: var(--accent-orange);
}

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 138, 61, .18), transparent 25%),
    radial-gradient(circle at 12% 20%, rgba(143, 200, 255, .12), transparent 22%),
    radial-gradient(circle at 50% 86%, rgba(255, 138, 61, .10), transparent 24%),
    linear-gradient(180deg, #020817 0%, #061534 48%, #030b1f 100%);
}

.kicker,
.section-label,
.carousel-group h3,
.flow-lanes strong,
.project-card em,
.ticker strong,
.project-modal__info span,
.project-modal__info a,
.project-thumb span {
  color: var(--accent-orange);
}

h1,
h2,
h3,
.project-card strong,
.about-copy li,
.project-modal__info h2,
.projects-archive h1 {
  color: #ffffff;
}

.hero-rotator,
.hero-rotator .rotator-word {
  -webkit-text-stroke-color: var(--accent-orange);
  text-stroke-color: var(--accent-orange);
}

.brand-mark,
.language-toggle button.is-active,
.project-filters button.is-active,
.button.primary,
.flow-start {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #03122d;
}

.button.ghost,
.button.dark,
.flow-end {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #03122d;
  box-shadow: 0 20px 48px rgba(255, 138, 61, .24);
}

.hero-actions .button:nth-child(even),
.contact-actions .button:nth-child(even),
.work-more .button {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #03122d;
}

.contact-actions .button:nth-child(odd),
.project-filters button.is-active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #03122d;
}

.nav nav a:hover,
.nav-cta {
  color: #03122d;
  border-color: rgba(255, 138, 61, .42);
  background: var(--accent-orange);
}

.project-card,
.about-copy,
.portrait,
.flow-lanes article,
.contact,
.project-modal__dialog {
  border-color: rgba(255, 138, 61, .18);
  background:
    linear-gradient(150deg, rgba(255, 138, 61, .08), transparent 46%),
    rgba(8, 20, 46, .78);
}

.project-thumb {
  border-color: rgba(255, 138, 61, .24);
  background:
    linear-gradient(135deg, rgba(143, 200, 255, .12), rgba(255, 138, 61, .12)),
    rgba(10, 28, 65, .82);
}

.ticker,
.language-toggle,
.project-filters {
  border-color: rgba(255, 138, 61, .18);
}

.flow-connector::after {
  border-color: rgba(143, 200, 255, .78);
}

.flow-merge span::after {
  border-color: rgba(255, 138, 61, .82);
}

/* Stronger orange pass. */
:root {
  --accent-orange: #ff4d00;
  --orange: #ff4d00;
  --acid: #ff4d00;
}

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(143, 200, 255, .10), transparent 22%),
    linear-gradient(180deg, #020817 0%, #061534 48%, #030b1f 100%);
}

.button.ghost,
.button.dark,
.hero-actions .button:nth-child(even),
.contact-actions .button:nth-child(even),
.work-more .button,
.flow-end,
.nav nav a:hover,
.nav-cta {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.button.ghost *,
.button.dark *,
.hero-actions .button:nth-child(even) *,
.contact-actions .button:nth-child(even) *,
.work-more .button * {
  color: #ffffff;
}

.button.primary,
.brand-mark,
.language-toggle button.is-active,
.project-filters button.is-active,
.contact-actions .button:nth-child(odd),
.flow-start {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #03122d;
}

.project-card,
.about-copy,
.portrait,
.flow-lanes article,
.contact,
.project-modal__dialog {
  border-color: rgba(255, 77, 0, .24);
  background: rgba(8, 20, 46, .78);
}

.project-thumb {
  border-color: rgba(255, 77, 0, .30);
}

.contact-email {
  padding: 12px 18px;
  border: 1px solid var(--accent-orange);
  border-radius: 999px;
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(255, 77, 0, .22);
}

.contact-email:hover {
  color: #ffffff;
  filter: brightness(1.08);
}

.about-title-lockup {
  width: min-content;
  max-width: 100%;
  margin-bottom: 28px;
}

.about-intro {
  width: 100%;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.25;
  white-space: nowrap;
}

.about-name {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 7.4vw, 98px);
  font-weight: 950;
  line-height: .94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-name span {
  display: block;
}

.about-name span:last-child {
  color: var(--accent-orange);
}

.about-copy > p[data-content="about.text"] {
  margin-top: 34px;
  line-height: 1.9;
}

/* Mobile flow refinement for published site. */
@media (max-width: 900px) {
  .flow-map {
    width: 100%;
  }

  .flow-start,
  .flow-end {
    text-align: center;
  }

  .flow-lanes {
    width: min(440px, 100%);
    gap: 34px;
  }

  .flow-lanes::before {
    display: none;
  }

  .flow-lanes article {
    min-height: auto;
    padding: 28px 24px;
    justify-items: center;
    text-align: center;
  }

  .flow-lanes article::before {
    display: block;
    top: -35px;
    left: 50%;
    width: 2px;
    height: 35px;
    background: rgba(143, 200, 255, .32);
  }

  .flow-lanes article::after {
    display: block;
    left: 50%;
    bottom: -35px;
    width: 2px;
    height: 35px;
    background: rgba(143, 200, 255, .32);
  }

  .flow-lanes article:last-child::after {
    display: none;
  }

  .flow-lanes ul {
    justify-items: center;
  }

  .flow-lanes li {
    text-align: center;
  }

  .flow-merge {
    width: 2px;
    height: 46px;
    background: rgba(255, 77, 0, .40);
  }

  .flow-merge span,
  .flow-merge span::after {
    display: none;
  }
}

/* Projects index layout inspired by editorial portfolio references. */
#work .section-head h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 760;
  letter-spacing: 0;
}

#work .section-label {
  font-weight: 720;
  letter-spacing: .18em;
}

.carousel-groups {
  overflow: visible;
}

.project-index-group {
  display: grid;
  gap: 16px;
  padding-block: clamp(26px, 4vw, 52px);
  border-top: 1px solid rgba(143, 200, 255, .11);
}

.project-index-group:last-child {
  border-bottom: 1px solid rgba(143, 200, 255, .11);
}

.project-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.project-index-head span {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 760;
  letter-spacing: .18em;
}

.project-index-head small {
  color: rgba(205, 220, 246, .62);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .06em;
}

.project-index-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .82fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.project-index-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.project-index-item {
  width: 100%;
  min-height: 64px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  background: transparent;
  color: #ffffff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.project-index-item span {
  grid-column: 1;
  color: inherit;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.project-index-item small {
  grid-column: 1;
  color: rgba(205, 220, 246, .60);
  font-size: 12px;
  font-weight: 520;
}

.project-index-item em {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: rgba(143, 200, 255, .34);
  font-style: normal;
  font-weight: 620;
}

.project-index-item-arrows {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: none;
  align-items: center;
  gap: 8px;
}

.project-index-item.is-active .project-index-item-arrows {
  display: flex;
}

.project-index-item-arrows button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.project-index-item-arrows button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .14);
}

.project-index-item:hover,
.project-index-item:focus-visible,
.project-index-item.is-active {
  color: var(--accent-orange);
}

.project-index-preview {
  position: sticky;
  top: 112px;
  min-height: 360px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(255, 77, 0, .055), transparent 54%),
    rgba(8, 20, 46, .62);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .16);
}

.project-index-media {
  display: grid;
  place-items: center;
}

.project-index-media img,
.project-index-media video,
.project-index-media iframe,
.project-index-media .project-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.project-index-preview.ratio-16x9 .project-index-media img,
.project-index-preview.ratio-16x9 .project-index-media video,
.project-index-preview.ratio-16x9 .project-index-media iframe,
.project-index-preview.ratio-16x9 .project-index-media .project-thumb {
  aspect-ratio: 16 / 9;
}

.project-index-preview.ratio-9x16 .project-index-media img,
.project-index-preview.ratio-9x16 .project-index-media video,
.project-index-preview.ratio-9x16 .project-index-media iframe,
.project-index-preview.ratio-9x16 .project-index-media .project-thumb {
  aspect-ratio: 9 / 16;
  max-height: 560px;
}

.project-index-caption {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.project-index-caption span {
  color: rgba(205, 220, 246, .62);
  font-size: 12px;
  font-weight: 520;
}

.project-index-caption strong {
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 640;
  line-height: 1.08;
}

.project-index-caption button {
  width: fit-content;
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-orange);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  cursor: pointer;
}

.project-index-arrows {
  display: none;
  position: absolute;
  right: 14px;
  top: 14px;
  gap: 8px;
}

.project-index-arrows button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.project-index-arrows button:hover {
  transform: translateY(-2px);
  background: var(--accent-orange);
}

@media (max-width: 900px) {
  .project-index-shell {
    grid-template-columns: 1fr;
  }

  .project-index-preview {
    position: relative;
    top: auto;
    order: -1;
    min-height: auto;
  }

  .project-index-item span {
    font-size: clamp(24px, 8.4vw, 38px);
  }
}

@media (max-width: 560px) {
  .project-index-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-index-item {
    min-height: 68px;
    padding-block: 15px;
  }

  .project-index-arrows {
    right: 10px;
    top: 10px;
  }

  .project-index-arrows button {
    width: 38px;
    height: 38px;
  }
}

/* Project index: quieter Vitor-inspired editorial pass. */
#work .section-label {
  color: rgba(255, 255, 255, .50);
}

#work .section-head h2 {
  max-width: 720px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.2vw, 72px);
  font-style: italic;
  font-weight: 500;
  line-height: .96;
}

.project-index-group {
  border-color: rgba(255, 255, 255, .10);
}

.project-index-group:last-child {
  border-color: rgba(255, 255, 255, .10);
}

.project-index-head {
  color: rgba(255, 255, 255, .54);
}

.project-index-head span {
  color: rgba(255, 255, 255, .56);
  font-weight: 560;
}

.project-index-head small {
  color: rgba(255, 255, 255, .34);
}

.project-index-list {
  border-top-color: rgba(255, 255, 255, .085);
}

.project-index-item {
  min-height: 72px;
  border-bottom-color: rgba(255, 255, 255, .085);
  color: rgba(255, 255, 255, .22);
}

.project-index-item span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.1vw, 58px);
  font-style: italic;
  font-weight: 500;
  line-height: .98;
}

.project-index-item small {
  color: rgba(255, 255, 255, .24);
  font-weight: 460;
}

.project-index-item em {
  color: rgba(255, 255, 255, .20);
  font-weight: 520;
}

.project-mobile-card {
  display: none;
}

.project-index-item:hover,
.project-index-item:focus-visible,
.project-index-item.is-active {
  color: #ffffff;
}

.project-index-item:hover small,
.project-index-item:focus-visible small,
.project-index-item.is-active small {
  color: rgba(255, 255, 255, .66);
}

.project-index-item:hover em,
.project-index-item:focus-visible em,
.project-index-item.is-active em {
  color: rgba(255, 255, 255, .52);
}

.project-index-preview {
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .055), transparent 52%),
    rgba(8, 20, 46, .54);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}

.project-index-media img,
.project-index-media video,
.project-index-media iframe,
.project-index-media .project-thumb {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
}

.project-index-caption span {
  color: rgba(255, 255, 255, .46);
}

.project-index-caption strong {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

.project-index-caption button {
  color: rgba(255, 255, 255, .82);
  font-weight: 620;
}

.project-index-caption button:hover {
  color: #ffffff;
}

.project-index-arrows button {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .82);
}

.project-index-arrows button:hover {
  background: #ffffff;
  color: #03122d;
}

@media (max-width: 900px) {
  .project-index-item span {
    font-size: clamp(28px, 10vw, 48px);
  }
}

/* Home project filters for the scroll-driven index. */
.project-index-filters {
  margin: 28px auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.project-index-filters button {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .36);
  font: inherit;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.project-index-filters button:hover,
.project-index-filters button.is-active {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

.project-index-group--scroll {
  margin-top: 18px;
}

/* Final project rhythm: more space, category breaks and softer motion. */
.hero-rotator,
.hero-rotator .rotator-word,
.process .section-head h2,
.contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-rotator,
.hero-rotator .rotator-word {
  -webkit-text-stroke-width: 1.35px;
  text-stroke-width: 1.35px;
}

.process .section-head h2,
.contact h2 {
  line-height: .98;
}

.button,
.nav-cta,
.language-toggle button,
.project-filters button,
.project-index-filters button,
.project-index-caption button,
.project-index-arrows button,
.contact-email {
  transition:
    transform .24s ease,
    background-color .24s ease,
    border-color .24s ease,
    color .24s ease,
    box-shadow .24s ease,
    filter .24s ease;
}

.button:hover,
.nav-cta:hover,
.language-toggle button:hover,
.project-filters button:hover,
.project-index-filters button:hover,
.project-index-caption button:hover,
.contact-email:hover {
  transform: translateY(-2px);
}

.button.primary:hover,
.contact-actions .button:nth-child(odd):hover {
  background: #3f91dc;
  border-color: #3f91dc;
  color: #ffffff;
  box-shadow: 0 20px 52px rgba(63, 145, 220, .28);
}

.button.ghost:hover,
.button.dark:hover,
.hero-actions .button:nth-child(even):hover,
.nav-cta:hover,
.work-more .button:hover {
  background: #cf3f00;
  border-color: #cf3f00;
  color: #ffffff;
  box-shadow: 0 20px 52px rgba(207, 63, 0, .30);
}

.contact-actions [data-whatsapp-link] {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(37, 211, 102, .24);
}

.contact-actions [data-whatsapp-link]:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #ffffff;
  box-shadow: 0 22px 58px rgba(37, 211, 102, .32);
}

.contact-actions a.button[data-whatsapp-link],
.contact-actions a.button.primary[data-whatsapp-link] {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

.contact-actions a.button[data-whatsapp-link]:hover,
.contact-actions a.button.primary[data-whatsapp-link]:hover {
  background: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #ffffff !important;
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .76s cubic-bezier(.16, 1, .3, 1),
    transform .76s cubic-bezier(.16, 1, .3, 1);
}

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

.project-index-group {
  padding-block: clamp(52px, 7vw, 112px);
}

.project-index-head {
  margin-bottom: clamp(24px, 4vw, 58px);
}

.project-index-head span {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.7vw, 66px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .96;
  text-transform: none;
}

.project-index-head small {
  padding-top: 14px;
}

.project-index-list {
  gap: 0;
  border-top: 0;
}

.project-index-category {
  margin: clamp(82px, 13vw, 168px) 0 clamp(28px, 4vw, 54px);
  justify-self: start;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 660;
  letter-spacing: .28em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.project-index-category:first-child {
  margin-top: 0;
}

.project-index-item {
  min-height: clamp(160px, 21vw, 290px);
  padding: clamp(42px, 5.8vw, 86px) 0;
  border-bottom-color: rgba(255, 255, 255, .06);
  transition:
    color .26s ease,
    opacity .26s ease,
    transform .26s ease,
    border-color .26s ease;
}

.project-index-item:hover,
.project-index-item:focus-visible {
  transform: translateX(10px);
}

.project-index-item span {
  font-size: clamp(30px, 4.5vw, 72px);
  line-height: .97;
}

.project-index-item small {
  margin-top: 10px;
  font-size: 13px;
}

.project-index-preview {
  top: 96px;
  padding: 14px;
  align-self: start;
  max-height: min(700px, calc(100vh - 170px));
  overflow: auto;
}

@media (min-width: 901px) {
  .project-index-group:not(.is-preview-ready) .project-index-preview {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
  }

  .project-index-group.is-preview-ready .project-index-preview {
    opacity: 1;
    transition: opacity .28s ease, transform .28s ease;
  }
}

.project-index-group.is-preview-fixed .project-index-preview {
  position: fixed;
  left: var(--project-preview-left);
  top: var(--project-preview-top);
  width: var(--project-preview-width);
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-index-preview.is-preview-changing .project-index-media {
  animation: previewScaleIn .52s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes previewScaleIn {
  0% {
    opacity: .68;
    transform: scale(.955) translateY(10px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  .project-index-group {
    padding-block: 54px;
  }

  .project-index-head {
    margin-bottom: 28px;
  }

  .project-index-head span {
    font-size: clamp(34px, 11vw, 58px);
  }

  .project-index-category {
    margin: 52px 0 24px;
    justify-self: start;
    text-align: left;
  }

  .project-index-item-arrows {
    display: none;
  }

  .project-index-item {
    display: none;
  }

  .project-index-preview {
    display: none;
  }

  .project-mobile-card {
    width: 100%;
    min-height: min(760px, 82vh);
    margin: 0 0 clamp(34px, 10vw, 56px);
    padding: 0;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: center;
    font: inherit;
    cursor: pointer;
  }

  .project-mobile-card__media {
    width: min(100%, 540px);
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background:
      linear-gradient(150deg, rgba(255, 255, 255, .055), transparent 52%),
      rgba(8, 20, 46, .56);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .18);
  }

  .project-mobile-card__media img,
  .project-mobile-card__media video,
  .project-mobile-card__media iframe,
  .project-mobile-card__media .project-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 56vh;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
  }

  .project-mobile-card.ratio-16x9 .project-mobile-card__media img,
  .project-mobile-card.ratio-16x9 .project-mobile-card__media video,
  .project-mobile-card.ratio-16x9 .project-mobile-card__media iframe,
  .project-mobile-card.ratio-16x9 .project-mobile-card__media .project-thumb {
    aspect-ratio: 16 / 9;
    max-height: 38vh;
  }

  .project-mobile-card.ratio-9x16 .project-mobile-card__media img,
  .project-mobile-card.ratio-9x16 .project-mobile-card__media video,
  .project-mobile-card.ratio-9x16 .project-mobile-card__media iframe,
  .project-mobile-card.ratio-9x16 .project-mobile-card__media .project-thumb {
    aspect-ratio: 9 / 16;
    max-height: 58vh;
  }

  .project-mobile-card small {
    color: rgba(255, 255, 255, .54);
    font-size: 11px;
    font-weight: 620;
  }

  .project-mobile-card strong {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(33px, 11vw, 54px);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
  }

  .project-mobile-card em {
    color: #ffffff;
    font-style: normal;
    font-size: 12px;
    font-weight: 760;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--accent-orange);
    text-underline-offset: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .project-index-preview.is-preview-changing .project-index-media,
  .button,
  .nav-cta,
  .project-index-item {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Final color pass: dark navy background without orange glow. */
body {
  background: #020817;
}

.project-card,
.about-copy,
.portrait,
.flow-lanes article,
.contact,
.project-modal__dialog,
.project-index-preview {
  background: rgba(8, 20, 46, .82);
}

.contact h2 {
  white-space: pre-line;
}

@media (max-width: 900px) {
  .nav {
    min-height: 54px;
    padding: 7px 10px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .brand {
    display: none;
  }

  .nav nav {
    flex: 0 1 auto;
    gap: 4px;
    overflow: visible;
  }

  .nav nav a,
  .nav-cta,
  .language-toggle button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 10px;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .language-toggle {
    flex: 0 0 auto;
    padding: 2px;
    gap: 1px;
  }

  .language-toggle button {
    min-width: 30px;
    padding: 0 7px;
  }

  .project-index-group {
    padding-block: 42px;
  }

  .project-index-head {
    margin-bottom: 22px;
  }

  .project-index-category {
    width: fit-content;
    margin: 46px auto 24px;
    padding: 8px 14px 9px;
    border-radius: 999px;
    background: var(--accent-orange);
    color: #ffffff;
    text-decoration: none;
  }

  .project-index-category:first-child {
    margin-top: 16px;
  }

  .project-mobile-card {
    min-height: 0;
    margin-bottom: 42px;
  }
}

@media (max-width: 420px) {
  .nav {
    padding-inline: 6px;
    gap: 4px;
  }

  .nav nav {
    gap: 2px;
  }

  .nav nav a,
  .nav-cta,
  .language-toggle button {
    min-height: 30px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .language-toggle button {
    min-width: 28px;
    padding-inline: 6px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 108px;
    padding-bottom: 106px;
    align-items: start;
  }

  .work {
    padding-top: 112px;
  }
}
