﻿@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700;800&display=swap");

:root {
  --bg: #000;
  --fg: #fff;
  --fg-soft: rgba(255, 255, 255, 0.52);
  --fg-dim: rgba(255, 255, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-body: "Inter", sans-serif;
  --font-display: "Poppins", "Inter", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

/* =========================================================================
   HOMEPAGE REWORK — editorial studio direction
   Scoped to index.html so service and contact pages remain unchanged.
   ========================================================================= */

.home-page {
  --home-ink: #070706;
  --home-paper: #f3eddf;
  --home-gold: #e7b768;
  --home-line: rgba(231, 183, 104, 0.2);
  color-scheme: dark;
  background: #060607;
}

.home-page .app-shell {
  user-select: text;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  color: #161008;
  background: var(--home-gold);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translate(-50%, -160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.home-page .topbar {
  border-bottom: 0;
}

.home-page .topbar-inner {
  width: min(calc(100% - 48px), 1320px);
  margin-top: 16px;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.home-page .logo-link img {
  height: 44px;
}

.home-page .desktop-nav {
  gap: clamp(22px, 2.6vw, 42px);
}

.home-page .nav-link {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.home-page .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px !important;
  border: 1px solid rgba(231, 183, 104, 0.28) !important;
  border-radius: 999px;
  background: rgba(231, 183, 104, 0.08) !important;
}

.home-page .nav-cta:hover {
  border-color: rgba(231, 183, 104, 0.55) !important;
  background: rgba(231, 183, 104, 0.15) !important;
}

.home-page .hero-copy {
  width: min(780px, 88vw);
  max-width: none;
  padding: 0 0 7vh max(6vw, calc((100vw - 1320px) / 2));
}

.home-page .hero-accent {
  width: 64px;
  margin-bottom: 18px;
}

.home-page .hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
  letter-spacing: 0.17em;
}

.availability-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #8fe0a6;
  box-shadow: 0 0 0 5px rgba(143, 224, 166, 0.1), 0 0 16px rgba(143, 224, 166, 0.55);
}

.home-page .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-page .hero-copy h1 em {
  display: block;
  font-weight: 500;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.025em;
}

.home-page .hero-copy p {
  max-width: 600px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.9rem, 1.2vw, 1.04rem);
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-capabilities span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.home-page .hero-cta {
  margin-top: 0;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.hero-text-link:hover {
  gap: 12px;
  color: var(--home-gold);
  border-color: var(--home-gold);
}

.home-page .about-copy {
  width: min(820px, 88vw);
  max-width: none;
}

.home-page .about-copy h2 {
  max-width: 700px;
  font-size: clamp(2.7rem, min(5.5vw, 7vh), 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-page .about-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.home-page .about-copy.is-dimmed .about-kicker,
.home-page .about-copy.is-dimmed h2 {
  opacity: 1;
}

.home-page .about-copy h2 {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

.home-page .about-copy h2 em {
  color: var(--home-gold);
}

.home-page .about-paragraph {
  color: rgba(255, 255, 255, 0.72);
}

.home-page .about-word.is-visible {
  opacity: 1;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-label-row .services-kicker,
.section-label-row .works-kicker {
  margin: 0;
}

.section-count {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .services-stage {
  width: min(100%, 1480px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: max(16vh, 132px) 5vw 7vh;
}

.home-page .services-copy {
  width: min(720px, 100%);
  max-width: none;
}

.home-page .services-copy h2 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-page .services-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.home-page .services-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.62);
}

.home-page .services-cards {
  gap: 12px;
}

.home-page .service-card {
  min-height: 245px;
  padding: 20px;
  border-radius: 18px;
  background:
    radial-gradient(130% 100% at 0 0, rgba(231, 183, 104, 0.12), transparent 55%),
    rgba(8, 8, 7, 0.76);
}

.home-page .service-card h3 {
  font-size: 1.08rem;
}

.home-page .service-card p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.home-page .works-section {
  padding: 16vh 5vw 14vh;
  background:
    radial-gradient(900px 600px at 84% 4%, rgba(231, 183, 104, 0.12), transparent 62%),
    #080807;
}

.home-page .works-bg-image {
  opacity: 0.22;
  filter: saturate(0.45) contrast(1.1);
}

.home-page .works-bg-overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.45), rgba(8, 8, 7, 0.88) 28%, #080807 78%),
    radial-gradient(900px 600px at 85% 5%, rgba(231, 183, 104, 0.08), transparent 62%);
}

.home-page .works-inner {
  max-width: 1320px;
}

.home-page .works-head {
  max-width: 920px;
}

.home-page .works-title {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.home-page .works-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.home-page .works-rule {
  width: 140px;
}

.home-page .works-intro {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.56);
}

.home-page .works-filters {
  gap: 8px;
  margin-bottom: 54px;
}

.home-page .works-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.home-page .works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-page .work-card {
  padding: 10px 10px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.09);
}

.home-page .work-card:nth-child(1),
.home-page .work-card:nth-child(4) {
  grid-column: span 2;
}

.home-page .work-card:nth-child(1) .work-thumb,
.home-page .work-card:nth-child(4) .work-thumb {
  aspect-ratio: 2 / 1;
}

.home-page .work-card:hover,
.home-page .work-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(231, 183, 104, 0.34);
  box-shadow: 0 30px 80px -42px rgba(231, 183, 104, 0.48);
}

.home-page .work-thumb {
  border-radius: 17px;
  border-color: rgba(255, 255, 255, 0.08);
}

.home-page .work-meta {
  padding: 16px 8px 2px;
}

.home-page .work-tag {
  border-radius: 999px;
}

.home-page .works-view-all {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
}

.home-page .footer-outro h2 {
  letter-spacing: -0.045em;
}

.home-page .footer-outro h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.home-page .modal-card {
  border-color: rgba(231, 183, 104, 0.22);
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(231, 183, 104, 0.12), transparent 58%),
    rgba(10, 10, 9, 0.96);
}

.home-page .modal-success {
  padding: 34px 10px 22px;
  text-align: center;
}

.home-page .modal-success .modal-icon {
  margin: 0 auto 18px;
}

.home-page .modal-success h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.home-page .modal-success p {
  max-width: 400px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.home-page .modal-success strong {
  color: var(--home-gold);
}

@media (max-width: 1100px) {
  .home-page .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .work-card:nth-child(1),
  .home-page .work-card:nth-child(4) {
    grid-column: span 1;
  }

  .home-page .work-card:nth-child(1) .work-thumb,
  .home-page .work-card:nth-child(4) .work-thumb {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .home-page .topbar-inner {
    width: calc(100% - 28px);
    margin-top: 12px;
  }

  .home-page .nav-cta {
    display: none;
  }

  .home-page .services-stage {
    padding: max(14vh, 116px) 5vw 6vh;
  }

  .home-page .services-copy h2 {
    font-size: clamp(2.3rem, 8vw, 4rem);
  }
}

@media (max-width: 640px) {
  .home-page .topbar-inner {
    padding: 9px 10px 9px 14px;
  }

  .home-page .logo-link img {
    height: 38px;
  }

  .home-page .hero-copy,
  .home-page .about-copy {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 6vh;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .home-page .hero-copy p {
    margin-top: 16px;
    line-height: 1.55;
  }

  .hero-capabilities {
    margin-top: 16px;
  }

  .hero-capabilities span {
    padding: 6px 9px;
    font-size: 0.58rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 16px;
    margin-top: 18px;
  }

  .home-page .hero-actions .hero-cta {
    width: auto;
    flex: 1;
  }

  .hero-text-link {
    flex: none;
    font-size: 0;
  }

  .hero-text-link span {
    font-size: 1rem;
  }

  .home-page .about-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .home-page .about-list {
    gap: 10px;
    margin: 20px 0;
  }

  .home-page .about-list li {
    font-size: 0.8rem;
  }

  .section-label-row {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .section-count {
    max-width: 130px;
    text-align: right;
    line-height: 1.5;
  }

  .home-page .services-stage {
    justify-content: center;
    gap: 28px;
    padding: max(12vh, 100px) 5vw 4vh;
  }

  .home-page .services-copy h2 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .home-page .services-copy p {
    margin-top: 14px;
    font-size: 0.78rem;
  }

  .home-page .services-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .service-card {
    min-height: 185px;
    padding: 14px;
    border-radius: 15px;
  }

  .home-page .service-card-top {
    margin-bottom: 12px;
  }

  .home-page .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .home-page .service-icon svg {
    width: 25px;
    height: 25px;
  }

  .home-page .service-card h3 {
    font-size: 0.9rem;
  }

  .home-page .service-card p {
    margin-top: 8px;
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .home-page .service-explore {
    padding-top: 8px;
    font-size: 0.68rem;
  }

  .home-page .works-section {
    padding: 12vh 5vw 10vh;
  }

  .home-page .works-title {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .home-page .works-grid {
    grid-template-columns: 1fr;
  }

  .home-page .works-filters {
    margin-bottom: 32px;
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}

button,
input {
  font: inherit;
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-light, #e9c17c);
  outline-offset: 4px;
}

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

/* =========================================================================
   SERVICES NAVIGATION
   Desktop hover/focus dropdown and native mobile disclosure.
   ========================================================================= */

.nav-services {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-services > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-chevron {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.9em;
  transform: translateY(-1px);
  transition: transform 0.22s ease;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 80;
  display: grid;
  width: 280px;
  padding: 10px;
  border: 1px solid rgba(233, 193, 124, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(233, 193, 124, 0.11), transparent 48%),
    rgba(7, 7, 7, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-submenu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 20px;
}

.nav-services:hover .nav-submenu,
.nav-services:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-services:hover .nav-chevron,
.nav-services:focus-within .nav-chevron {
  transform: translateY(-1px) rotate(180deg);
}

.nav-submenu a {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.015em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-submenu a span {
  color: rgba(233, 193, 124, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a.is-current {
  color: #fff;
  background: rgba(233, 193, 124, 0.1);
  transform: translateX(2px);
}

.nav-submenu a.is-current span {
  color: var(--gold-light);
}

.mobile-services-menu {
  display: none;
}

@media (max-width: 900px) {
  .mobile-services-menu {
    display: block;
    border-radius: 14px;
  }

  .mobile-services-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-display);
    font-size: var(--type-label);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .mobile-services-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-services-menu summary::marker {
    content: "";
  }

  .mobile-services-menu summary:hover,
  .mobile-services-menu[open] summary {
    color: #fff;
    background: rgba(233, 193, 124, 0.08);
  }

  .mobile-services-menu summary span {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 400;
    transition: transform 0.2s ease;
  }

  .mobile-services-menu[open] summary span {
    transform: rotate(45deg);
  }

  .mobile-submenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px 10px;
  }

  .mobile-submenu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .mobile-submenu a:hover,
  .mobile-submenu a.is-current {
    color: var(--gold-light);
    border-color: rgba(233, 193, 124, 0.25);
    background: rgba(233, 193, 124, 0.08);
  }
}

@media (max-width: 480px) {
  .mobile-submenu {
    grid-template-columns: 1fr;
  }
}

/* Clean Services → Works handoff: never show both sets of copy together. */
.home-page .works-inner {
  opacity: 0;
  transform: none;
  transition: opacity 0.45s ease;
}

.home-page .works-section.is-active .works-inner {
  opacity: 1;
  transform: none;
}

/* Scroll-based card entrance matching the Services-card motion language. */
.home-page .work-card,
.works-page .work-card {
  opacity: 0;
  translate: 0 72px;
  scale: 0.98;
  will-change: opacity, translate, scale;
}

.home-page .work-card.is-revealed,
.works-page .work-card.is-revealed {
  animation: workCardEnter 0.82s cubic-bezier(0.22, 1, 0.36, 1)
    var(--work-reveal-delay, 0ms) forwards;
}

@keyframes workCardEnter {
  from {
    opacity: 0;
    translate: 0 72px;
    scale: 0.98;
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

.app-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  user-select: none;
}

.hero-shell,
.about-shell,
.services-shell,
.footer-shell,
.process-shell,
.hero-shell canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shell {
  z-index: 0;
  transform: scale(1.02);
  will-change: transform;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.about-shell {
  z-index: 1;
  opacity: 0;
  transform: scale(1.02);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.about-shell.is-active {
  opacity: 1;
}

.hero-shell.is-hidden {
  opacity: 0;
}

.services-shell {
  z-index: 5;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  will-change: transform, opacity;
  pointer-events: none;
  perspective: 1400px;
}

.services-shell.is-interactive {
  pointer-events: auto;
}

.services-shell.is-interactive .services-stage,
.services-shell.is-interactive .services-cards,
.services-shell.is-interactive .service-card,
.services-shell.is-interactive .service-explore {
  pointer-events: auto;
}

.footer-shell {
  z-index: 1;
  opacity: 0;
  transform: scale(1.02);
  will-change: opacity;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.footer-shell.is-active {
  opacity: 1;
}

.process-shell {
  z-index: 1;
  opacity: 1;
  transform: none;
  will-change: auto;
  transition: none;
  pointer-events: none;
}

.process-shell.is-active {
  opacity: 1;
}

.process-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75) 78%, rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.hero-shell canvas,
.about-shell canvas,
.footer-shell canvas,
.process-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}


.services-background,
.services-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services-background {
  background:
    linear-gradient(180deg, rgba(4, 4, 8, 0.16), rgba(4, 4, 8, 0.78)),
    url("./services-section.png") center center / cover no-repeat;
  transform: scale(1.06) rotateX(0deg) rotateY(0deg);
  transform-origin: center center;
  will-change: transform;
}

.services-vignette {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 188, 98, 0.18), transparent 26%),
    radial-gradient(circle at 80% 16%, rgba(255, 170, 74, 0.15), transparent 20%),
    radial-gradient(circle at 78% 80%, rgba(255, 165, 68, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
  mix-blend-mode: screen;
  transform: scale(1.03) rotateX(0deg) rotateY(0deg);
  transform-origin: center center;
  will-change: transform;
}

.services-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18vh 6vw 8vh;
  z-index: 2;
  pointer-events: none;
}

.services-copy {
  max-width: 760px;
  pointer-events: none;
}

.services-kicker,
.process-kicker {
  margin: 0 0 18px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.services-copy h2,
.process-copy h2 {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.services-copy p,
.process-copy p {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 180, 90, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(14, 14, 20, 0.72), rgba(10, 10, 14, 0.92));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 110%, 0) scale(0.98);
  will-change: transform, opacity;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
  pointer-events: none;
}

.service-card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-card-link:focus-visible {
  outline: 2px solid #e4bd6a;
  outline-offset: 4px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 188, 98, 0.35), transparent 45%, rgba(255, 188, 98, 0.15));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-card-link:hover,
.service-card-link:focus-visible {
  border-color: rgba(233, 193, 124, 0.48);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(233, 193, 124, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(22, 17, 9, 0.88), rgba(8, 7, 6, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 34px rgba(207, 154, 76, 0.12);
}

.service-card-link .service-icon {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card-link:hover .service-icon,
.service-card-link:focus-visible .service-icon {
  transform: translateY(-4px);
  border-color: rgba(233, 193, 124, 0.55);
  box-shadow: 0 10px 24px rgba(207, 154, 76, 0.16);
}

.service-card-link:hover .service-explore,
.service-card-link:focus-visible .service-explore {
  gap: 10px;
  color: var(--gold-pale);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-family: var(--font-body);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 188, 98, 0.06), rgba(255, 188, 98, 0.02));
  color: rgba(255, 220, 170, 0.9);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* UX / UI icon */
.ux-frame { stroke: rgba(255, 220, 170, 0.85); }
.ux-dot { fill: rgba(255, 220, 170, 0.6); stroke: none; }
.ux-bar { fill: rgba(255, 188, 98, 0.35); stroke: none; transform-origin: left center; }
.ux-cursor { stroke: rgba(255, 220, 170, 0.9); }
.ux-pointer {
  fill: rgba(255, 220, 170, 0.9);
  stroke: rgba(255, 220, 170, 0.9);
  transform-origin: 24px 38px;
}
.service-card:hover .ux-bar-1 { animation: uxBar 1.6s ease-in-out infinite; }
.service-card:hover .ux-bar-2 { animation: uxBar 1.6s ease-in-out 0.2s infinite; }
.service-card:hover .ux-pointer { animation: uxPointer 2.4s ease-in-out infinite; }

/* Web icon */
.web-frame { stroke: rgba(255, 220, 170, 0.85); }
.web-dot { fill: rgba(255, 220, 170, 0.6); stroke: none; }
.web-lines { stroke: rgba(255, 220, 170, 0.5); }
.web-img {
  fill: rgba(255, 188, 98, 0.18);
  stroke: rgba(255, 188, 98, 0.55);
  transform-origin: 33px 26px;
}
.service-card:hover .web-img { animation: webPulse 2s ease-in-out infinite; }
.service-card:hover .web-lines { animation: webLines 2.2s ease-in-out infinite; }

/* Creative icon */
.creative-palette {
  fill: rgba(255, 188, 98, 0.12);
  stroke: rgba(255, 220, 170, 0.85);
}
.creative-blob { stroke: none; }
.creative-blob-1 { fill: #f59e6b; }
.creative-blob-2 { fill: #f2c94c; }
.creative-blob-3 { fill: #7fd1c3; }
.creative-blob-4 { fill: #c084fc; }
.creative-brush {
  fill: rgba(255, 220, 170, 0.85);
  stroke: rgba(255, 220, 170, 0.9);
  transform-origin: 24px 34px;
}
.service-card:hover .creative-blob { animation: creativeBlob 2s ease-in-out infinite; }
.service-card:hover .creative-blob-2 { animation-delay: 0.15s; }
.service-card:hover .creative-blob-3 { animation-delay: 0.3s; }
.service-card:hover .creative-blob-4 { animation-delay: 0.45s; }
.service-card:hover .creative-brush { animation: creativeBrush 2.6s ease-in-out infinite; }

/* 3D icon */
.three-outline { stroke: rgba(255, 220, 170, 0.9); }
.three-edge { stroke: rgba(255, 220, 170, 0.55); }
.three-core {
  fill: rgba(255, 188, 98, 0.9);
  stroke: none;
  filter: drop-shadow(0 0 6px rgba(255, 188, 98, 0.65));
}
.three-cube { transform-origin: 24px 24px; transform-box: fill-box; }
.service-card:hover .three-cube { animation: threeSpin 6s linear infinite; }
.service-card:hover .three-core { animation: threePulse 1.6s ease-in-out infinite; }

@keyframes uxBar {
  0%, 100% { transform: scaleX(0.6); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}
@keyframes uxPointer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -6px); }
}
@keyframes webPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes webLines {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes creativeBlob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes creativeBrush {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
}
@keyframes threeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes threePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.service-card h3,
.process-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-card p,
.process-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  font-size: 0.92rem;
}

.scroll-spacer--services {
  position: relative;
  z-index: 2;
}


.scroll-spacer--process {
  position: relative;
  z-index: 2;
}

.process-section {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  padding: 14vh 6vw 12vh;
  background: transparent;
  opacity: 1;
  transform: none;
  will-change: auto;
  pointer-events: none;
  transition: none;
}

.process-section.is-active {
  opacity: 1;
  transform: none;
}

.process-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  opacity: 1;
  transform: none;
  will-change: auto;
  transition: none;
}

.process-inner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.process-copy {
  max-width: 720px;
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-card {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  font-family: var(--font-body);
}

.ui-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 40;
  pointer-events: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: rgba(255, 255, 255, 0.98);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease;
}

.nav-link.is-active::after {
  background: rgba(255, 255, 255, 0.95);
}

.nav-cta,
.mobile-cta,
.hero-cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fg);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
  cursor: pointer;
}

.nav-cta:hover,
.mobile-cta:hover,
.hero-cta:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-cta {
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.icon-close {
  display: none;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 24px;
  right: 24px;
  z-index: 45;
  margin-top: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-toggle.is-open .icon-menu {
  display: none;
}

.mobile-toggle.is-open .icon-close {
  display: inline;
}

.mobile-menu hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 8px 0;
}

.mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
}

.mobile-menu .nav-link.is-active {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-cta {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #000;
  font-weight: 500;
}

.scroll-indicator {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-indicator .mouse {
  width: 22px;
  height: 36px;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-dot {
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.35);
  animation: mouseScroll 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  animation: labelBreath 2.4s ease-in-out infinite;
}

.scroll-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background 0.25s ease;
}

.scroll-top:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-copy {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 15;
  max-width: 680px;
  padding: 0 6vw 8vh;
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.hero-accent {
  width: 36px;
  height: 1.5px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-copy h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.4);
}

.hero-copy p {
  max-width: 480px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}

.about-copy {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 15;
  max-width: 760px;
  max-height: 100vh;
  padding: 0 6vw 8vh;
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-copy.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.about-copy.is-dimmed .about-kicker,
.about-copy.is-dimmed h2 {
  opacity: 0.4;
}

.about-accent {
  width: 36px;
  height: 1.5px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.45);
}

.about-kicker {
  margin: 0 0 18px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  transition: opacity 0.4s ease;
}

.about-copy h2 {
  margin: 0;
  max-width: 620px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, min(4.8vw, 6.2vh), 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  transition: opacity 0.4s ease;
}

.about-paragraph {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34em 0.34em;
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
  font-size: clamp(0.85rem, 1.4vw, 1.02rem);
}

.about-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

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

.scroll-spacer {
  display: block;
  width: 100%;
  pointer-events: none;
}

.scroll-spacer--hero,
.scroll-spacer--about {
  position: relative;
  z-index: 2;
}

.hero-cta {
  margin-top: 36px;
  padding: 14px 32px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.06);
}

.loader[hidden] {
  display: none !important;
}

.scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.018) 2px,
    rgba(255, 255, 255, 0.018) 4px
  );
  animation: scanFlicker 8s linear infinite;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  border-width: 0;
}

.corner-tl {
  top: 32px;
  left: 40px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.corner-tr {
  top: 32px;
  right: 40px;
  border-top-width: 1px;
  border-right-width: 1px;
}

.corner-bl {
  bottom: 32px;
  left: 40px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.corner-br {
  bottom: 32px;
  right: 40px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.loader-topline {
  position: absolute;
  top: 36px;
  left: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  z-index: 1;
}

.loader-topline :last-child {
  letter-spacing: 0.2em;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.15);
}

.loader-percent-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.loader-percent {
  min-width: 3ch;
  text-align: right;
  font-size: clamp(110px, 20vw, 240px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.88);
  font-variant-numeric: tabular-nums;
  animation: numPulse 3s ease-in-out infinite;
}

.loader-percent-symbol {
  margin-top: clamp(14px, 3vw, 36px);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

.loader-progress {
  position: relative;
  z-index: 1;
  width: clamp(200px, 28vw, 360px);
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loader-track {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.loader-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease-out;
}

.loader-glow {
  position: absolute;
  top: -1px;
  left: -20px;
  width: 40px;
  height: 3px;
  filter: blur(1px);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
  transition: left 0.2s ease-out;
}

.loader-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
}

.loader-dots {
  animation: dotBlink 1.2s steps(3, end) infinite;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.modal-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.modal-head h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.modal-copy {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  font-size: 0.95rem;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
}

.modal-form input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-form input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.modal-project-form {
  margin-top: 1.4rem;
}

.modal-project-form.ux-project-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.modal-project-form .ux-form-grid {
  gap: 0.85rem;
}

.modal-project-form label {
  margin-bottom: 0.85rem;
}

.modal-project-form textarea {
  min-height: 108px;
}

.modal-project-form .modal-submit {
  margin-top: 0.35rem;
}

.modal-success {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 0 12px;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.6rem;
}

.modal-success h4 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.modal-success p {
  margin: 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.modal-success span {
  color: #fff;
  font-family: var(--font-body);
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

@keyframes mouseScroll {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@keyframes labelBreath {
  0%,
  100% {
    opacity: 0.25;
    letter-spacing: 0.35em;
  }
  50% {
    opacity: 0.55;
    letter-spacing: 0.45em;
  }
}

@keyframes numPulse {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 0.65;
  }
}

@keyframes scanFlicker {
  0%,
  48%,
  50%,
  96%,
  100% {
    opacity: 1;
  }
  49% {
    opacity: 0.82;
  }
  97% {
    opacity: 0.88;
  }
}

@keyframes dotBlink {
  0% {
    opacity: 0.55;
  }
  33% {
    opacity: 0.8;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
  }
}

/* ---------- Our Works section ---------- */
.works-section {
  position: relative;
  z-index: 2;
  padding: 14vh 6vw 16vh;
  background:
    radial-gradient(1200px 700px at 90% 10%, rgba(232, 176, 92, 0.09), transparent 60%),
    radial-gradient(900px 600px at 5% 40%, rgba(232, 176, 92, 0.07), transparent 65%),
    linear-gradient(180deg, #05060d 0%, #070915 40%, #05060d 100%);
  color: #f4ecdc;
  overflow: hidden;
  isolation: isolate;
  perspective: 1600px;
  opacity: 1;
  transform: none;
  will-change: auto;
  transition: none;
}

.works-section.is-active {
  opacity: 1;
  transform: none;
}

.works-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.works-bg-image {
  position: absolute;
  inset: -8%;
  background: url("./works-section-bg.jpg") center 30% / cover no-repeat;
  transform: scale(1.08) rotateX(0deg) rotateY(0deg);
  transform-origin: center center;
  will-change: transform;
}

.works-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 85% 12%, rgba(232, 176, 92, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(5, 6, 13, 0.55) 0%, rgba(5, 6, 13, 0.82) 55%, #05060d 100%);
}

.works-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(232, 176, 92, 0.8), transparent 60%),
    radial-gradient(1px 1px at 78% 14%, rgba(232, 176, 92, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 60%, rgba(232, 176, 92, 0.7), transparent 60%),
    radial-gradient(1px 1px at 30% 70%, rgba(232, 176, 92, 0.45), transparent 60%),
    radial-gradient(2px 2px at 60% 85%, rgba(232, 176, 92, 0.55), transparent 60%),
    radial-gradient(1px 1px at 45% 32%, rgba(232, 176, 92, 0.35), transparent 60%),
    radial-gradient(1px 1px at 8% 78%, rgba(232, 176, 92, 0.4), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.works-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.works-glow--left {
  top: 30%;
  left: -220px;
  background: radial-gradient(circle, rgba(232, 176, 92, 0.55), transparent 70%);
}
.works-glow--right {
  top: 8%;
  right: -180px;
  background: radial-gradient(circle, rgba(232, 176, 92, 0.35), transparent 70%);
}

.works-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
  will-change: auto;
  transition: none;
}

.works-section.is-active .works-inner {
  opacity: 1;
  transform: none;
}

.works-head {
  max-width: 780px;
}

.works-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #e8b05c;
  margin-bottom: 1.6rem;
}

.works-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #f6eedd;
  margin: 0 0 1.6rem;
}
.works-title em {
  font-style: italic;
  color: #e8b05c;
  font-weight: 500;
}

.works-rule {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, #e8b05c, transparent);
  margin-bottom: 1.4rem;
}

.works-intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(232, 220, 194, 0.72);
  max-width: 520px;
  margin: 0 0 2.4rem;
}

.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 4rem;
}

.works-chip {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(232, 176, 92, 0.35);
  color: rgba(244, 236, 220, 0.85);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.works-chip:hover {
  color: #f6eedd;
  border-color: rgba(232, 176, 92, 0.6);
}
.works-chip.is-active {
  color: #e8b05c;
  border-color: #e8b05c;
  background: rgba(232, 176, 92, 0.06);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(20, 22, 40, 0.7), rgba(10, 12, 24, 0.85));
  border: 1px solid rgba(232, 176, 92, 0.18);
  border-radius: 18px;
  cursor: default;
  outline: none;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(232, 176, 92, 0.5);
  box-shadow: 0 30px 60px -30px rgba(232, 176, 92, 0.25);
}

.work-card:focus-visible {
  outline: 2px solid rgba(232, 176, 92, 0.9);
  outline-offset: 4px;
}
.work-card.is-hidden {
  display: none;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0d1c;
  border: 1px solid rgba(232, 176, 92, 0.15);
}
.work-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-thumb-inner img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  transform: none;
}

.work-card:hover .work-thumb-inner,
.work-card:focus-visible .work-thumb-inner {
  transform: none;
}
/* Distinct tones per card thumbnail */
.work-thumb--orb {
  background:
    radial-gradient(circle at 55% 60%, rgba(180, 140, 240, 0.55), transparent 50%),
    radial-gradient(circle at 55% 60%, rgba(120, 90, 200, 0.35), transparent 65%),
    linear-gradient(180deg, #0b1027, #05070f);
}
.work-thumb--mountain {
  background:
    linear-gradient(180deg, #0a0f22 0%, #131a30 60%, #05070f 100%);
}
.work-thumb--cube {
  background:
    radial-gradient(circle at 70% 45%, rgba(232, 176, 92, 0.35), transparent 55%),
    linear-gradient(180deg, #0a0d1c, #05070f);
}
.work-thumb--motion {
  background:
    radial-gradient(ellipse at 70% 60%, rgba(120, 130, 160, 0.35), transparent 55%),
    linear-gradient(180deg, #0d1226, #06080f);
}
.work-thumb--space {
  background:
    radial-gradient(circle at 30% 40%, rgba(90, 110, 160, 0.5), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(232, 176, 92, 0.2), transparent 55%),
    linear-gradient(180deg, #0a1030, #05070f);
}
.work-thumb--arch {
  background:
    radial-gradient(ellipse at 60% 70%, rgba(200, 200, 220, 0.25), transparent 55%),
    linear-gradient(180deg, #0e1428, #06080f);
}
.work-thumb--watch {
  background:
    radial-gradient(circle at 50% 55%, rgba(232, 176, 92, 0.45), transparent 45%),
    linear-gradient(180deg, #0a0d1c, #05070f);
}
.work-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.4rem 0.2rem;
}

.work-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e8b05c;
  border: 1px solid rgba(232, 176, 92, 0.5);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}

.work-titles h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #f4ecdc;
  margin: 0 0 0.2rem;
}
.work-titles p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(232, 220, 194, 0.6);
  margin: 0;
}

.work-open {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(232, 176, 92, 0.55);
  color: #e8b05c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.work-open:hover,
.work-card:hover .work-open,
.work-card:focus-visible .work-open {
  transform: rotate(8deg) scale(1.06);
  background: rgba(232, 176, 92, 0.12);
  color: #f6eedd;
}

.works-footer {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.works-view-all {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(232, 176, 92, 0.6);
  color: #e8b05c;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.works-view-all:hover {
  background: rgba(232, 176, 92, 0.1);
  color: #f6eedd;
  border-color: #e8b05c;
}

@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .works-section {
    padding: 10vh 5vw 12vh;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .works-filters {
    margin-bottom: 2.6rem;
  }
}



@media (max-width: 900px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .icon-menu {
    display: inline;
    font-size: 1.35rem;
    line-height: 1;
  }

  .topbar-inner {
    padding: 18px 18px;
  }

  .logo-link img {
    height: 46px;
  }

  .scroll-indicator {
    bottom: 32px;
  }

  .scroll-top {
    right: 18px;
    bottom: 18px;
  }

  .hero-copy {
    padding: 0 20px 28px;
    max-width: 100%;
  }

  .about-copy {
    padding: 0 20px 28px;
    max-width: 100%;
  }

  .about-copy h2 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .about-paragraph {
    font-size: 0.92rem;
  }

  .services-stage,
  .process-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-stage {
    padding-top: 18vh;
    padding-bottom: 6vh;
    gap: 26px;
  }

  .services-copy h2,
  .process-copy h2 {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }

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

  .service-card {
    min-height: 200px;
  }

  .process-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-section {
    padding-top: 12vh;
  }

  .modal-card {
    padding: 26px 20px 20px;
  }

  .modal-head h3 {
    font-size: 1.6rem;
  }
}

@media (max-height: 820px) {
  .about-copy {
    padding-bottom: 5vh;
  }
  .about-accent {
    margin-bottom: 12px;
  }
  .about-kicker {
    margin-bottom: 10px;
  }
  .about-copy h2 {
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
    line-height: 1.06;
  }
  .about-paragraph {
    margin-top: 12px;
  }
  .about-list {
    margin: 14px 0 16px;
    gap: 8px;
  }
  .about-list li {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .about-list .li-icon {
    width: 26px;
    height: 26px;
  }
}

@media (max-height: 640px) {
  .about-paragraph,
  .about-list {
    display: none;
  }
}

@media (max-width: 520px) {
  .loader-topline {
    left: 20px;
    right: 20px;
    top: 22px;
    letter-spacing: 0.25em;
  }

  .corner-tl,
  .corner-tr,
  .corner-bl,
  .corner-br {
    display: none;
  }

  .loader-progress {
    width: min(78vw, 320px);
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-copy p {
    font-size: 0.92rem;
  }

  .modal-card {
    max-height: calc(100vh - 20px);
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .modal-head {
    gap: 12px;
  }

  .modal-icon {
    width: 46px;
    height: 46px;
  }

  .modal-copy {
    font-size: 0.92rem;
  }

  .modal-project-form textarea {
    min-height: 96px;
  }

  .about-copy h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .about-paragraph {
    font-size: 0.88rem;
  }

  .services-stage {
    padding-top: 16vh;
    padding-bottom: 5vh;
  }

  .services-copy p,
  .process-copy p {
    font-size: 0.9rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 180px;
  }

  .process-section {
    padding-top: 10vh;
    padding-bottom: 10vh;
  }
}

/* ---------- Footer section ---------- */
.scroll-spacer--footer {
  width: 100%;
}

.footer-section {
  position: fixed;
  inset: 0;
  padding: 10vh 6vw 5vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4rem;
  background: transparent;
  color: #f4ecdc;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer-section.is-active {
  opacity: 1;
}

.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-content.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-outro {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-section.is-menu-visible .footer-outro {
  opacity: 1;
  transform: translateY(0);
}

.footer-columns-row {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.footer-section.is-menu-visible .footer-columns-row {
  opacity: 1;
  transform: translateY(0);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-logo {
  display: inline-block;
  max-width: 190px;
}
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 22px rgba(232, 176, 92, 0.15));
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 236, 220, 0.68);
  max-width: 340px;
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8b05c;
  margin: 0 0 1.4rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: rgba(244, 236, 220, 0.82);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}
.footer-col a:hover {
  color: #f6eedd;
  letter-spacing: 0.02em;
}

.footer-baseline {
  position: relative;
  max-width: 1240px;
  margin: 0 auto 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(232, 176, 92, 0.18);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 220, 0.55);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.footer-section.is-menu-visible .footer-baseline {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.footer-baseline.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
  .footer-baseline {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-section {
    padding: 10vh 5vw 5vh;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   OVIYAS.COM — GOLD & BLACK THEME OVERRIDE
   (Recolors / restyles the existing layout only. Scroll, canvas frame
   playback, loader logic, and all positioning/animation mechanics above
   are untouched.)
   ========================================================================= */

:root {
  --bg: #060607;
  --gold: #cf9a4c;
  --gold-light: #e9c17c;
  --gold-pale: #f2d9a8;
  --gold-dim: rgba(207, 154, 76, 0.32);
  --gold-wash: rgba(207, 154, 76, 0.09);
}

body {
  background: #060607;
}

/* ---------- Logo mark ---------- */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  position: relative;
  background: conic-gradient(from 200deg, #ff6a6a, #ffc35c, #63e6a3, #58b9ff, #b57bff, #ff6a6a);
  box-shadow: 0 0 16px rgba(207, 154, 76, 0.25);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #07070a;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.logo-text span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: none;
}

.footer-logo img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* ---------- Nav ---------- */
.nav-link.is-active::after,
.nav-link:hover::after {
  background: var(--gold-light);
}

.nav-link.is-active,
.nav-link:hover {
  color: #fff;
}

.nav-cta {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: var(--gold-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0 !important;
}

.nav-cta:hover {
  transform: none;
  color: #fff !important;
}

/* ---------- Gold pill buttons (hero-cta / about-cta / outro-cta) ---------- */
.btn-gold,
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  background: var(--gold-wash);
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-gold:hover,
.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(207, 154, 76, 0.18);
  border-color: rgba(233, 193, 124, 0.55);
}

.btn-gold .btn-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: linear-gradient(135deg, var(--gold-light), #a9762f);
  color: #1a1206;
  flex: none;
}

.mobile-cta {
  border-color: var(--gold-dim);
  background: var(--gold-wash);
  color: var(--gold-pale);
}

/* ---------- Kickers everywhere ---------- */
.services-kicker,
.process-kicker,
.about-kicker,
.works-kicker,
.hero-kicker,
.footer-outro-kicker {
  color: var(--gold-light);
  font-weight: 600;
  opacity: 0.9;
}

/* ---------- Headline typography ---------- */
.services-copy h2,
.process-copy h2,
.about-copy h2,
.hero-copy h1,
.works-title,
.footer-outro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero-copy h1 em,
.services-copy h2 em,
.process-copy h2 em,
.about-copy h2 em,
.works-title em,
.footer-outro h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-accent,
.about-accent {
  background: linear-gradient(90deg, var(--gold-light), transparent);
  width: 46px;
  height: 2px;
}

.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-copy p,
.about-paragraph {
  color: rgba(255, 255, 255, 0.5);
}

.hero-skill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  margin-bottom: 30px;
  padding: 9px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-skill b {
  color: var(--gold-light);
  font-weight: 700;
}

/* ---------- About bullet list ---------- */
.about-list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-list li strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.about-list .li-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--gold-dim);
  background: var(--gold-wash);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-family: var(--font-body);
}

/* ---------- Services cards ---------- */
.service-card {
  border-color: rgba(207, 154, 76, 0.14);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(233, 193, 124, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(16, 13, 8, 0.75), rgba(8, 7, 6, 0.94));
  display: flex;
  flex-direction: column;
}

.service-card::before {
  background: linear-gradient(135deg, rgba(233, 193, 124, 0.45), transparent 45%, rgba(207, 154, 76, 0.15));
}

.service-card:hover {
  border-color: rgba(233, 193, 124, 0.28);
}

.service-icon {
  background: linear-gradient(180deg, rgba(207, 154, 76, 0.16), rgba(207, 154, 76, 0.03));
  border-color: rgba(207, 154, 76, 0.25);
  color: var(--gold-light);
}

.service-card-number {
  border-color: rgba(207, 154, 76, 0.25);
  color: rgba(233, 193, 124, 0.75);
}

.service-explore {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 5;
  pointer-events: none;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-explore:hover {
  gap: 10px;
  color: var(--gold-pale);
}

/* ---------- Process cards ---------- */
.process-card {
  border: 1px solid rgba(207, 154, 76, 0.14);
  border-radius: 18px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(16, 13, 8, 0.45), rgba(8, 7, 6, 0.68));
}

.process-card span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
}

/* ---------- Works / projects ---------- */
.works-chip {
  border-color: rgba(207, 154, 76, 0.22);
  color: rgba(255, 255, 255, 0.6);
}

.works-chip:hover {
  border-color: rgba(233, 193, 124, 0.5);
  color: #fff;
}

.works-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1206;
}

.work-card {
  border-color: rgba(207, 154, 76, 0.12);
}

.work-thumb-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(233, 193, 124, 0.35);
  background: rgba(6, 6, 7, 0.55);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  z-index: 1;
}

.work-tag {
  background: rgba(207, 154, 76, 0.14);
  border: 1px solid rgba(207, 154, 76, 0.32);
  color: var(--gold-light);
}

.work-open {
  border: 1px solid rgba(207, 154, 76, 0.32);
  background: rgba(207, 154, 76, 0.1);
  color: var(--gold-light);
}

.work-open:hover {
  background: rgba(207, 154, 76, 0.2);
}

.works-view-all {
  border-color: rgba(207, 154, 76, 0.32);
  color: var(--gold-light);
}

.works-view-all:hover {
  background: rgba(207, 154, 76, 0.1);
}

/* ---------- Footer outro block ---------- */
.footer-outro {
  position: relative;
  text-align: center;
  padding-bottom: 3rem;
}

.footer-outro::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(207, 154, 76, 0.16), transparent 68%);
  pointer-events: none;
}

.footer-outro-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-outro h2 {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.04;
}

.footer-outro p {
  position: relative;
  max-width: 480px;
  margin: 0 auto 26px;
  color: rgba(244, 236, 220, 0.6);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-outro p strong {
  color: var(--gold-light);
}

/* ---------- Footer columns / brand ---------- */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3.4rem;
  grid-template-columns: none;
}

.footer-columns-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 5rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(207, 154, 76, 0.28);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(207, 154, 76, 0.16);
  color: #fff;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(244, 236, 220, 0.78);
}

.footer-contact li span {
  color: var(--gold-light);
  font-size: 0.85rem;
}

/* ---------- Modal ---------- */
.modal-card {
  border-color: rgba(207, 154, 76, 0.22);
  background: rgba(6, 6, 7, 0.92);
}

.modal-icon {
  border-color: rgba(207, 154, 76, 0.25);
  background: rgba(207, 154, 76, 0.1);
  color: var(--gold-light);
}

.modal-form input:focus {
  border-color: rgba(233, 193, 124, 0.5);
}

.modal-submit {
  background: linear-gradient(135deg, var(--gold-light), #a9762f);
  color: #1a1206;
}

.success-mark {
  border-color: rgba(207, 154, 76, 0.35);
  background: rgba(207, 154, 76, 0.14);
  color: var(--gold-light);
}

.modal-success span {
  color: var(--gold-light);
  font-family: var(--font-body);
}

/* ---------- Loader ---------- */
.loader-fill {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.loader-glow {
  background: radial-gradient(circle, rgba(233, 193, 124, 0.7), transparent 70%);
}

.loader-percent,
.loader-topline div:first-child {
  color: var(--gold-pale);
}

.corner {
  border-color: rgba(207, 154, 76, 0.35) !important;
}

/* ---------- Responsive: footer row + outro ---------- */
@media (max-width: 900px) {
  .footer-columns-row {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
}

@media (max-width: 640px) {
  .footer-outro h2 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
}

/* UX/UI process page */
.ux-page {
  background: #000;
}

.ux-app-shell {
  min-height: 100vh;
}

.ux-page .loader {
  z-index: 60;
}

.ux-page .hero-shell {
  opacity: 1;
}

.ux-process-shell {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ux-process-shell.is-active {
  opacity: 1;
}

.ux-process-shell canvas,
.ux-page .footer-shell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ux-process-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(232, 176, 92, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 88%);
}

.ux-scroll-spacer--hero {
  position: relative;
  z-index: 2;
  height: 240vh;
}

.ux-scroll-spacer--process {
  height: 0;
}

.ux-scroll-spacer--footer {
  height: 560vh;
}

.ux-process-section {
  position: relative;
  z-index: 3;
  min-height: 450vh;
  overflow: clip;
  display: block;
  padding: 0 4.5vw;
  color: #f8efd8;
  opacity: 1;
  pointer-events: auto;
  --ux-progress: 0;
  --ux-head: 1;
  --ux-divider: 1;
}

.ux-process-section.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ux-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 25% 18%, rgba(248, 190, 55, 0.8), transparent 65%),
    radial-gradient(1px 1px at 72% 14%, rgba(248, 190, 55, 0.65), transparent 65%),
    radial-gradient(2px 2px at 80% 26%, rgba(248, 190, 55, 0.75), transparent 65%),
    radial-gradient(1px 1px at 32% 23%, rgba(248, 190, 55, 0.6), transparent 65%),
    radial-gradient(1.5px 1.5px at 18% 76%, rgba(248, 190, 55, 0.55), transparent 65%),
    radial-gradient(1px 1px at 88% 68%, rgba(248, 190, 55, 0.45), transparent 65%);
  opacity: calc(0.25 + (var(--ux-progress) * 0.75));
  transform: translateY(calc((1 - var(--ux-progress)) * 28px));
}

.ux-process-inner {
  position: sticky;
  top: 0;
  z-index: 1;
  width: min(1360px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  transform:
    translateY(calc(60vh - (var(--ux-progress) * 110vh)))
    scale(calc(0.975 + (var(--ux-progress) * 0.025)));
  will-change: transform;
  pointer-events: auto;
}

.ux-page canvas,
.ux-process-vignette,
.ux-stars {
  pointer-events: none;
}

.ux-process-section.is-visible .ux-process-inner {
  opacity: 1;
}

.ux-process-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.8rem, 5.5vh, 4.8rem);
  opacity: calc(0.25 + (var(--ux-head) * 0.75));
  transform: translateY(calc((1 - var(--ux-head)) * 18px));
  will-change: opacity, transform;
}

.ux-eyebrow,
.ux-process-divider strong {
  font-family: var(--font-display);
  color: #ffd45e;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-shadow: 0 0 16px rgba(248, 190, 55, 0.65);
}

.ux-eyebrow {
  font-size: clamp(0.8rem, 1.6vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.ux-process-head h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(5.2rem, 11vw, 10.8rem);
  font-weight: 400;
  line-height: 0.82;
  color: #ffc94f;
  letter-spacing: 0;
  text-shadow:
    0 0 8px rgba(255, 212, 94, 0.95),
    0 0 28px rgba(248, 166, 31, 0.75),
    0 0 56px rgba(248, 166, 31, 0.4);
}

.ux-process-head h2 {
  margin: clamp(1.2rem, 2.5vh, 2rem) auto clamp(1rem, 2.3vh, 1.7rem);
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffd45e;
  text-shadow: 0 0 14px rgba(248, 190, 55, 0.48);
}

.ux-process-head p {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  line-height: 1.75;
  color: rgba(245, 243, 238, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.ux-process-divider {
  display: grid;
  grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
  align-items: center;
  gap: 1.6rem;
  width: min(620px, 90%);
  margin: 0 auto clamp(2.4rem, 5vh, 4.4rem);
  opacity: calc(0.25 + (var(--ux-divider) * 0.75));
  transform: translateY(calc((1 - var(--ux-divider)) * 14px));
  will-change: opacity, transform;
}

.ux-process-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 190, 55, 0.7), transparent);
  box-shadow: 0 0 14px rgba(248, 190, 55, 0.45);
}

.ux-process-divider strong {
  font-size: clamp(0.78rem, 1.3vw, 1.1rem);
  white-space: nowrap;
}

.ux-process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.3vw, 2.2rem) clamp(1rem, 2vw, 1.8rem);
  counter-reset: uxstep;
}

.ux-step {
  position: relative;
  text-align: center;
  pointer-events: auto;
  cursor: default;
  opacity: calc(0.45 + (var(--step-progress, 0) * 0.55));
  transform:
    translateY(calc((1 - var(--step-progress, 0)) * 20px))
    scale(calc(0.97 + (var(--step-progress, 0) * 0.03)));
  filter: blur(calc((1 - var(--step-progress, 0)) * 2px));
  will-change: opacity, transform, filter;
}

.ux-step:hover .ux-step-icon {
  transform: translateY(-8px) scale(1.06);
  border-color: #ffd45e;
  color: #fff2bf;
  box-shadow:
    0 0 28px rgba(248, 190, 55, 0.72),
    0 0 70px rgba(248, 190, 55, 0.22),
    inset 0 0 28px rgba(248, 190, 55, 0.2);
}

.ux-step:hover h3,
.ux-step:hover span {
  color: #fff2bf;
}

.ux-process-section.is-visible .ux-step {
  opacity: calc(0.45 + (var(--step-progress, 0) * 0.55));
}

.ux-step::after {
  content: "";
  position: absolute;
  top: 54px;
  left: calc(50% + 48px);
  width: calc(100% - 56px);
  height: 1px;
  border-top: 2px dotted rgba(248, 190, 55, 0.55);
}

.ux-step:nth-child(6)::after,
.ux-step:nth-child(12)::after {
  display: none;
}

.ux-step-icon {
  width: clamp(66px, 6.2vw, 98px);
  aspect-ratio: 1;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 190, 55, 0.82);
  border-radius: 50%;
  color: #ffd45e;
  font-size: clamp(1.55rem, 2.7vw, 2.65rem);
  background:
    radial-gradient(circle at 50% 52%, rgba(248, 190, 55, 0.16), transparent 58%),
    rgba(0, 0, 0, 0.36);
  box-shadow:
    0 0 18px rgba(248, 190, 55, 0.42),
    inset 0 0 22px rgba(248, 190, 55, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ux-step-icon svg {
  width: 42%;
  height: 42%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.ux-step span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: #ffd45e;
  text-shadow: 0 0 10px rgba(248, 190, 55, 0.55);
}

.ux-step h3 {
  min-height: 3em;
  margin: 0 auto 0.7rem;
  color: #ffd45e;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.22vw, 1rem);
  line-height: 1.32;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(248, 190, 55, 0.38);
}

.ux-step p {
  max-width: 184px;
  margin: 0 auto;
  color: rgba(245, 243, 238, 0.78);
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.05vw, 0.92rem);
  line-height: 1.48;
}

.ux-page .footer-section {
  z-index: 4;
}

.ux-page .footer-shell {
  z-index: 2;
}

.ux-contact-section {
  position: relative;
  z-index: 80;
  isolation: isolate;
  padding: 5vh 5vw 14vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 205, 92, 0.12), transparent 34%),
    radial-gradient(circle at 86% 76%, rgba(255, 205, 92, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), #020202 18%, #050402 100%);
  color: #f8efd8;
  pointer-events: auto;
}

.ux-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 205, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 205, 92, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent);
  opacity: 0.35;
}

.ux-contact-inner {
  position: relative;
  z-index: 31;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ux-contact-kicker {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffd45e;
  text-shadow: 0 0 14px rgba(248, 190, 55, 0.55);
  margin-bottom: 1.2rem;
}

.ux-contact-copy h2 {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  font-weight: 400;
  color: #f8efd8;
}

.ux-contact-copy h2 em {
  color: #ffc94f;
  font-style: italic;
  text-shadow: 0 0 24px rgba(248, 190, 55, 0.45);
}

.ux-contact-copy p {
  max-width: 460px;
  margin: 0;
  color: rgba(245, 243, 238, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.ux-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ux-contact-points span {
  border: 1px solid rgba(255, 212, 94, 0.38);
  border-radius: 999px;
  padding: 0.64rem 0.95rem;
  color: rgba(255, 212, 94, 0.9);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 212, 94, 0.05);
}

.ux-project-form {
  position: relative;
  z-index: 32;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 212, 94, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.58);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  user-select: text;
}

.ux-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ux-project-form label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ux-project-form label span {
  color: #ffd45e;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ux-project-form input,
.ux-project-form select,
.ux-project-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 212, 94, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #f8efd8;
  outline: none;
  padding: 0.95rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  pointer-events: auto;
  position: relative;
  z-index: 35;
}

.ux-project-form input,
.ux-project-form textarea {
  cursor: text;
}

.ux-project-form select,
.ux-form-submit {
  cursor: pointer;
}

.ux-project-form input:hover,
.ux-project-form select:hover,
.ux-project-form textarea:hover,
.ux-project-form input.is-hovered,
.ux-project-form select.is-hovered,
.ux-project-form textarea.is-hovered {
  border-color: rgba(255, 212, 94, 0.52);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 0 24px rgba(255, 212, 94, 0.08);
}

.ux-project-form textarea {
  min-height: 132px;
  resize: vertical;
}

.ux-project-form input:focus,
.ux-project-form select:focus,
.ux-project-form textarea:focus {
  border-color: rgba(255, 212, 94, 0.72);
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 212, 94, 0.08);
}

.ux-project-form ::placeholder {
  color: rgba(248, 239, 216, 0.36);
}

.ux-form-submit {
  width: 100%;
  border: 1px solid rgba(255, 212, 94, 0.82);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe08a, #c68a24);
  color: #120d04;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(198, 138, 36, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ux-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(198, 138, 36, 0.32);
}

.ux-form-submit.is-sent {
  background: rgba(255, 212, 94, 0.1);
  color: #ffd45e;
}

.ux-form-success {
  margin: 1rem 0 0;
  border: 1px solid rgba(255, 212, 94, 0.28);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #ffd45e;
  background: rgba(255, 212, 94, 0.08);
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .ux-process-section {
    min-height: 510vh;
    padding: 0 5vw;
    overflow: clip;
  }

  .ux-process-inner {
    transform: translateY(calc(64vh - (var(--ux-progress) * 116vh)));
  }

  .ux-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem 1.4rem;
  }

  .ux-step:nth-child(3n)::after {
    display: none;
  }

  .ux-step:nth-child(6)::after {
    display: block;
  }
}

@media (max-width: 900px) {
  .ux-contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ux-scroll-spacer--hero {
    height: 220vh;
  }

  .ux-scroll-spacer--process {
    height: 0;
  }

  .ux-process-section {
    min-height: 620vh;
    padding: 0 6vw;
  }

  .ux-process-inner {
    transform: translateY(calc(68vh - (var(--ux-progress) * 130vh)));
  }

  .ux-process-head {
    margin-bottom: 4rem;
  }

  .ux-process-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .ux-step::after {
    display: none;
  }

  .ux-step h3 {
    min-height: 0;
  }

  .ux-contact-section {
    padding: 5vh 6vw 12vh;
  }

  .ux-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.contact-page {
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 205, 92, 0.14), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 205, 92, 0.08), transparent 26%),
    #020202;
  color: #f8efd8;
}

.contact-app-shell {
  min-height: 100vh;
  user-select: auto;
}

.contact-page .hero-shell,
.contact-page .ux-process-shell,
.contact-page .footer-shell {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contact-page .hero-shell {
  z-index: 0;
  opacity: 1;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .hero-shell.is-hidden {
  opacity: 0;
}

.contact-page .footer-shell {
  z-index: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .footer-shell.is-active {
  opacity: 1;
}

.contact-page .footer-shell canvas {
  filter: brightness(1.2) saturate(1.16) contrast(1.04);
}

.contact-page .ux-process-shell {
  z-index: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .ux-process-shell.is-active {
  opacity: 1;
}

.contact-page .hero-shell canvas,
.contact-page .ux-process-shell canvas,
.contact-page .footer-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-main {
  position: relative;
  z-index: 1;
}

.contact-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: 18vh 6vw 9vh;
  overflow: clip;
  isolation: isolate;
}

.contact-hero::before,
.contact-map-section::after,
.contact-details-section::after,
.contact-page .footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.contact-hero::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at 24% 28%, rgba(255, 212, 94, 0.2), transparent 30%),
    radial-gradient(circle at 76% 18%, rgba(198, 138, 36, 0.2), transparent 24%);
}

.contact-map-section::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(4, 3, 2, 0.9));
}

.contact-details-section::after {
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 205, 92, 0.12), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(255, 205, 92, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(4, 3, 2, 0.92), rgba(5, 4, 2, 0.95));
}

.contact-hero::after,
.contact-map-section::before,
.contact-details-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 205, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 205, 92, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
  opacity: 0.34;
}

.contact-hero-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.contact-kicker {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffd45e;
  text-shadow: 0 0 14px rgba(248, 190, 55, 0.55);
  margin-bottom: 1.2rem;
}

.contact-hero h1,
.contact-details-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: #f8efd8;
  letter-spacing: 0;
}

.contact-hero h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 8vw, 8.6rem);
  line-height: 0.9;
}

.contact-hero h1 em,
.contact-details-copy h2 em {
  color: #ffc94f;
  text-shadow: 0 0 24px rgba(248, 190, 55, 0.45);
}

.contact-hero p {
  max-width: 560px;
  margin: 1.6rem 0 0;
  color: rgba(245, 243, 238, 0.76);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.contact-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.contact-ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(255, 212, 94, 0.22);
  border-radius: 999px;
  padding: 0 1.2rem;
  color: rgba(255, 212, 94, 0.92);
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-ghost-link:hover {
  border-color: rgba(255, 212, 94, 0.56);
  background: rgba(255, 212, 94, 0.08);
}

.contact-map-section {
  position: relative;
  padding: 0 6vw 8vh;
  isolation: isolate;
  background: transparent;
}

.contact-map-frame {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: clamp(320px, 42vw, 520px);
  margin: 0 auto;
  border: 1px solid rgba(255, 212, 94, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  background: rgba(255, 212, 94, 0.06);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9) brightness(0.78) sepia(0.18);
}

.contact-details-section {
  position: relative;
  padding: 7vh 5vw 12vh;
  isolation: isolate;
  background: transparent;
}

.contact-details-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-details-copy h2 {
  max-width: 560px;
  font-size: clamp(2.5rem, 4.5vw, 5.5rem);
  line-height: 0.96;
}

.contact-details-copy p {
  max-width: 470px;
  margin: 1.4rem 0 0;
  color: rgba(245, 243, 238, 0.72);
  line-height: 1.75;
}

.contact-detail-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-detail-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 212, 94, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contact-detail-card:hover {
  border-color: rgba(255, 212, 94, 0.48);
  background: rgba(255, 212, 94, 0.055);
  transform: translateY(-2px);
}

.contact-detail-card span {
  color: #ffd45e;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-detail-card strong {
  color: #f8efd8;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-page-form {
  margin: 0;
}

.contact-scroll-spacer--footer {
  position: relative;
  z-index: 2;
  height: 560vh;
}

.contact-page .footer-section {
  z-index: 4;
  isolation: isolate;
  background: transparent;
}

.contact-page .footer-section::before {
  background:
    radial-gradient(circle at 50% 4%, rgba(207, 154, 76, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.14), rgba(2, 2, 2, 0.34) 72%, rgba(2, 2, 2, 0.58));
}

/* Works page */
.works-page {
  background: #000;
  color: #f8efd8;
}

.works-app-shell {
  min-height: 100vh;
}

.works-page .hero-shell,
.works-page .ux-process-shell,
.works-page .footer-shell {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.works-page .hero-shell {
  z-index: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.works-page .hero-shell.is-visible {
  opacity: 1;
}

.works-page .hero-shell.is-hidden {
  opacity: 0;
}

.works-page .ux-process-shell,
.works-page .footer-shell {
  z-index: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.works-page .ux-process-shell.is-active,
.works-page .footer-shell.is-active {
  opacity: 1;
}

.works-page .hero-shell canvas,
.works-page .ux-process-shell canvas,
.works-page .footer-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.works-scroll-spacer--hero {
  position: relative;
  z-index: 2;
  height: 520vh;
}

.works-scroll-spacer--footer {
  position: relative;
  z-index: 2;
  height: 560vh;
}

.works-page .works-hero-copy {
  max-width: 760px;
}

.works-page .works-page-section {
  position: relative;
  z-index: 3;
  min-height: 150vh;
  background: transparent;
  isolation: isolate;
}

.works-page .works-page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 205, 92, 0.12), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(255, 205, 92, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.92));
}

.works-page .works-bg-image {
  display: none;
}

.works-page .works-inner {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.works-page .works-section.is-active .works-inner {
  opacity: 1;
  transform: translateY(0);
}

.works-page .footer-section {
  z-index: 4;
}

@media (max-width: 900px) {
  .contact-details-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: 68vh;
    padding: 16vh 6vw 7vh;
  }

  .contact-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-hero-actions .btn-gold,
  .contact-ghost-link {
    width: 100%;
    justify-content: center;
  }

  .contact-map-section {
    padding-bottom: 6vh;
  }
}

/* Mobile responsive hardening */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .topbar-inner {
    padding: 14px 16px;
    gap: 14px;
  }

  .logo-link img {
    height: 42px;
  }

  .mobile-toggle {
    flex: 0 0 42px;
  }

  .mobile-menu {
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .hero-copy,
  .about-copy,
  .works-page .works-hero-copy {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1,
  .works-page .works-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
    line-height: 0.96;
  }

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

  .hero-skill,
  .hero-actions,
  .works-filters,
  .contact-hero-actions {
    flex-wrap: wrap;
  }

  .services-stage,
  .process-section,
  .works-section,
  .works-page .works-page-section,
  .ux-contact-section,
  .contact-details-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .services-cards,
  .works-grid,
  .ux-process-grid,
  .contact-details-inner,
  .ux-contact-inner,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .service-card,
  .work-card,
  .ux-step,
  .contact-detail-card,
  .ux-project-form {
    border-radius: 16px;
  }

  .work-card {
    padding: 12px;
  }

  .work-thumb {
    min-height: 220px;
  }

  .work-meta {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
  }

  .work-tag {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .contact-map-frame {
    height: 300px;
    border-radius: 16px;
  }

  .contact-details-section {
    padding-top: 6vh;
    padding-bottom: 10vh;
  }

  .contact-detail-card,
  .ux-project-form {
    padding: 1rem;
  }

  .footer-section {
    padding: 8vh 5vw 4vh;
    gap: 2.2rem;
  }

  .footer-content,
  .footer-columns-row {
    gap: 2rem;
  }

  .footer-baseline {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .hero-copy h1,
  .works-page .works-hero-copy h1,
  .contact-hero h1,
  .contact-details-copy h2 {
    font-size: clamp(2.35rem, 14vw, 3.4rem);
  }

  .btn-gold,
  .hero-cta,
  .contact-ghost-link,
  .works-view-all {
    width: 100%;
    justify-content: center;
  }

  .works-chip {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    min-width: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    text-align: center;
  }

  .work-meta {
    grid-template-columns: 1fr;
  }

  .work-open {
    width: 42px;
    height: 42px;
  }

  .contact-map-frame {
    height: 260px;
  }

  .ux-form-row,
  .ux-form-grid {
    gap: 0.8rem;
  }

  .footer-logo img {
    max-width: 150px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .home-page .services-stage {
    gap: 18px;
    padding-top: max(11vh, 92px);
    padding-bottom: 3vh;
  }

  .home-page .services-copy p,
  .home-page .service-card p {
    display: none;
  }

  .home-page .service-card {
    min-height: 132px;
  }

  .home-page .about-list li:nth-child(3) {
    display: none;
  }
}

/* =========================================================================
   SHARED TYPOGRAPHY SYSTEM
   One hierarchy for the homepage, service pages, works and contact.
   ========================================================================= */

:root {
  --type-page-title: clamp(3rem, 6vw, 6rem);
  --type-feature-title: clamp(2.65rem, 5.2vw, 5.25rem);
  --type-section-title: clamp(2.15rem, 3.8vw, 3.75rem);
  --type-card-title: clamp(1rem, 1.15vw, 1.18rem);
  --type-body-large: clamp(0.98rem, 1.15vw, 1.08rem);
  --type-body: 0.94rem;
  --type-small: 0.82rem;
  --type-label: 0.7rem;
  --leading-display: 0.94;
  --leading-heading: 1.06;
  --leading-body: 1.7;
  --tracking-display: -0.045em;
  --tracking-heading: -0.025em;
  --tracking-label: 0.18em;
  --measure-body: 62ch;
}

.home-page,
.ux-page,
.contact-page,
.works-page {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Page titles */
.home-page .hero-copy h1,
.ux-page .ux-process-head h1,
.contact-page .contact-hero h1,
.works-page .works-hero-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: var(--type-page-title);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-transform: none;
  text-wrap: balance;
}

.home-page .hero-copy h1 em,
.contact-page .contact-hero h1 em,
.works-page .works-hero-copy h1 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* Large editorial section titles */
.home-page .about-copy h2,
.home-page .services-copy h2,
.home-page .works-title,
.ux-page .ux-contact-copy h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: var(--type-feature-title);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.home-page .about-copy h2 em,
.home-page .services-copy h2 em,
.home-page .works-title em,
.ux-page .ux-contact-copy h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* Standard section titles */
.contact-page .contact-details-copy h2,
.home-page .footer-outro h2,
.ux-page .footer-outro h2,
.contact-page .footer-outro h2,
.works-page .footer-outro h2,
.works-page .works-title {
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
  text-wrap: balance;
}

/* Service-page promise line sits below the page title. */
.ux-page .ux-process-head h2 {
  max-width: 42ch;
  margin: clamp(1.1rem, 2.2vh, 1.7rem) auto 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-transform: none;
  text-wrap: balance;
}

.home-page .footer-outro h2 em,
.ux-page .footer-outro h2 em,
.contact-page .footer-outro h2 em,
.works-page .footer-outro h2 em,
.works-page .works-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

/* Eyebrows and section labels */
.home-page .hero-kicker,
.home-page .about-kicker,
.home-page .services-kicker,
.home-page .works-kicker,
.home-page .footer-outro-kicker,
.ux-page .ux-eyebrow,
.ux-page .ux-contact-kicker,
.ux-page .footer-outro-kicker,
.contact-page .contact-kicker,
.contact-page .footer-outro-kicker,
.works-page .hero-kicker,
.works-page .works-kicker,
.works-page .footer-outro-kicker,
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* Introductory and long-form body copy */
.home-page .hero-copy p,
.home-page .about-paragraph,
.home-page .services-copy p,
.home-page .works-intro,
.ux-page .ux-process-head p,
.ux-page .ux-contact-copy p,
.contact-page .contact-hero p,
.contact-page .contact-details-copy > p,
.works-page .works-hero-copy p,
.works-page .works-intro {
  max-width: var(--measure-body);
  font-family: var(--font-body);
  font-size: var(--type-body-large);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: -0.005em;
}

/* Card titles */
.home-page .service-card h3,
.home-page .work-titles h3,
.ux-page .ux-step h3,
.contact-page .contact-detail-card strong,
.works-page .work-titles h3 {
  font-family: var(--font-display);
  font-size: var(--type-card-title);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-transform: none;
}

/* Card descriptions and supporting content */
.home-page .service-card p,
.home-page .work-titles p,
.ux-page .ux-step p,
.works-page .work-titles p,
.footer-tagline,
.footer-col a,
.footer-contact li {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.6;
  letter-spacing: 0;
}

.home-page .work-titles p,
.works-page .work-titles p {
  font-size: var(--type-small);
}

/* Process numbering is supporting information, not a second headline. */
.ux-page .ux-step span,
.ux-page .ux-process-divider strong {
  font-family: var(--font-display);
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* UI copy */
.nav-link,
.nav-cta,
.mobile-cta,
.btn-gold,
.hero-text-link,
.service-explore,
.works-chip,
.works-view-all,
.work-tag,
.ux-contact-points span,
.ux-project-form label > span,
.modal-form label > span {
  font-family: var(--font-display);
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-head h3,
.modal-success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
}

.modal-copy,
.modal-success p,
.ux-project-form input,
.ux-project-form select,
.ux-project-form textarea {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.55;
}

/* Footer hierarchy */
.footer-tagline {
  max-width: 38ch;
}

.footer-col h4 {
  margin-bottom: 1.1rem;
}

.footer-baseline {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  :root {
    --type-page-title: clamp(2.8rem, 8.5vw, 5rem);
    --type-feature-title: clamp(2.5rem, 7.5vw, 4.4rem);
    --type-section-title: clamp(2rem, 5.8vw, 3.25rem);
  }

  .home-page .hero-copy h1,
  .ux-page .ux-process-head h1,
  .contact-page .contact-hero h1,
  .works-page .works-hero-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  :root {
    --type-page-title: clamp(2.4rem, 10vw, 3.5rem);
    --type-feature-title: clamp(2.25rem, 10vw, 3.5rem);
    --type-section-title: clamp(1.9rem, 8.5vw, 2.8rem);
    --type-card-title: 0.98rem;
    --type-body-large: 0.94rem;
    --type-body: 0.88rem;
    --type-small: 0.78rem;
    --type-label: 0.65rem;
    --leading-display: 0.98;
  }

  .home-page .hero-copy h1,
  .ux-page .ux-process-head h1,
  .contact-page .contact-hero h1,
  .works-page .works-hero-copy h1 {
    max-width: 11ch;
  }

  .home-page .services-copy h2 {
    font-size: var(--type-section-title);
    line-height: var(--leading-heading);
  }

  .home-page .service-card p {
    font-size: var(--type-small);
  }

  .footer-col h4 {
    font-size: var(--type-label);
  }
}

/* Keep the animated footer below the fixed navigation. */
.footer-section {
  justify-content: flex-start;
  gap: 1.5rem;
  padding-top: max(14vh, 132px);
  padding-bottom: 3vh;
}

.footer-content {
  gap: 1.75rem;
}

.footer-outro {
  padding-bottom: 0.5rem;
}

.footer-outro-kicker {
  margin-bottom: 0.4rem;
}

.footer-outro h2 {
  margin-bottom: 0.65rem;
}

.footer-outro p {
  margin-bottom: 1rem;
}

.footer-columns-row {
  gap: clamp(2.5rem, 5vw, 5rem);
}

.footer-brand {
  gap: 1rem;
}

.footer-col h4 {
  margin-bottom: 0.85rem;
}

.footer-col ul,
.footer-contact {
  gap: 0.65rem;
}

.footer-baseline {
  margin-top: auto;
}

@media (max-width: 900px) {
  .footer-section {
    padding-top: max(13vh, 112px);
  }
}

@media (max-width: 640px) {
  .footer-section {
    gap: 1.25rem;
    padding-top: max(12vh, 92px);
    padding-bottom: 2.5vh;
  }

  .footer-content {
    gap: 1.4rem;
  }
}

/* =========================================================================
   SHARED SITE CHROME
   Identical header treatment and navigation controls on every page.
   ========================================================================= */

:is(.home-page, .ux-page, .contact-page, .works-page) .topbar {
  border-bottom: 0;
}

:is(.home-page, .ux-page, .contact-page, .works-page) .topbar-inner {
  width: min(calc(100% - 48px), 1320px);
  margin: 16px auto 0;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

:is(.home-page, .ux-page, .contact-page, .works-page) .logo-link img {
  height: 44px;
}

:is(.home-page, .ux-page, .contact-page, .works-page) .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px !important;
  border: 1px solid rgba(231, 183, 104, 0.28) !important;
  border-radius: 999px;
  background: rgba(231, 183, 104, 0.08) !important;
}

:is(.home-page, .ux-page, .contact-page, .works-page) .nav-cta:hover {
  border-color: rgba(231, 183, 104, 0.55) !important;
  background: rgba(231, 183, 104, 0.15) !important;
}

/* Services stays visually equal to the other links; only the chevron signals a menu. */
.nav-services > .nav-link {
  gap: 8px;
  padding-right: 0;
  padding-left: 0;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(233, 193, 124, 0.78);
  border-bottom: 1.5px solid rgba(233, 193, 124, 0.78);
  color: transparent;
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
}

.nav-services:hover .nav-chevron,
.nav-services:focus-within .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

@media (max-width: 900px) {
  :is(.home-page, .ux-page, .contact-page, .works-page) .topbar-inner {
    width: calc(100% - 28px);
    margin-top: 12px;
    padding: 9px 10px 9px 14px;
  }

  :is(.home-page, .ux-page, .contact-page, .works-page) .logo-link img {
    height: 38px;
  }

  :is(.home-page, .ux-page, .contact-page, .works-page) .nav-cta {
    display: none;
  }
}

/* Mobile footer: the animated footer is fixed, so the content must handle
   short phone viewports without clipping behind the browser chrome. */
@media (max-width: 640px) {
  .footer-section {
    justify-content: flex-start;
    gap: 1rem;
    padding: max(92px, calc(12vh + env(safe-area-inset-top))) 5vw
      calc(22px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .footer-section.is-active {
    pointer-events: auto;
  }

  .footer-content {
    flex: 0 0 auto;
    gap: 1.15rem;
    width: 100%;
  }

  .footer-outro {
    padding-bottom: 0;
    text-align: left;
  }

  .footer-outro::before {
    inset: -60px -20vw auto -20vw;
    height: 160px;
  }

  .footer-outro-kicker {
    margin-bottom: 0.35rem;
  }

  .footer-outro h2 {
    max-width: 11ch;
    margin-bottom: 0.55rem;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .footer-outro p {
    max-width: 34ch;
    margin: 0 0 0.85rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .footer-outro .btn-gold {
    width: auto;
    min-height: 42px;
    padding: 0.8rem 1rem;
  }

  .footer-columns-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-brand {
    gap: 0.75rem;
  }

  .footer-logo {
    max-width: 132px;
  }

  .footer-tagline {
    max-width: none;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1rem;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    margin-bottom: 0.55rem;
  }

  .footer-col ul,
  .footer-contact {
    gap: 0.42rem;
  }

  .footer-col a,
  .footer-contact li {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .footer-contact li {
    align-items: flex-start;
  }

  .footer-baseline {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 1rem;
    gap: 0.35rem;
    font-size: 0.58rem;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }
}

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

/* Compact homepage project popup. */
.home-page .modal {
  padding: 14px;
}

.home-page .modal-card {
  max-width: 560px;
  max-height: min(720px, calc(100vh - 28px));
  padding: 24px;
  border-radius: 22px;
}

.home-page .modal-close {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 1.45rem;
}

.home-page .modal-head {
  gap: 10px;
  margin-bottom: 14px;
}

.home-page .modal-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
}

.home-page .modal-head h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.home-page .modal-copy {
  max-width: 46ch;
  margin-bottom: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.home-page .modal-project-form {
  margin-top: 0.9rem;
}

.home-page .modal-project-form .ux-form-grid {
  gap: 0.65rem;
}

.home-page .modal-project-form label {
  margin-bottom: 0.65rem;
}

.home-page .modal-project-form label > span {
  margin-bottom: 0.38rem;
  font-size: 0.62rem;
}

.home-page .modal-project-form input,
.home-page .modal-project-form select,
.home-page .modal-project-form textarea {
  min-height: 42px;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  font-size: 0.86rem;
}

.home-page .modal-project-form textarea {
  min-height: 78px;
}

.home-page .modal-project-form .modal-submit {
  min-height: 42px;
  margin-top: 0.15rem;
  padding: 0.78rem 1rem;
  border-radius: 12px;
}

.home-page .modal-success {
  padding: 22px 0 6px;
}

@media (max-width: 640px) {
  .home-page .modal {
    align-items: flex-start;
    padding: 82px 12px 12px;
  }

  .home-page .modal-card {
    max-height: calc(100svh - 94px);
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .home-page .modal-copy {
    display: none;
  }

  .home-page .modal-project-form .ux-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-page .modal-project-form textarea {
    min-height: 70px;
  }
}
