:root {
  --red: #de1920;
  --red-bright: #ef2a31;
  --red-dark: #9f1117;
  --red-soft: #fde6e7;
  --blue: #4f6f92;
  --blue-bright: #2ba7ff;
  --blue-dark: #234b70;
  --ink: #111115;
  --night: #292932;
  --graphite: #2f3437;
  --muted: #687277;
  --concrete: #e6e6e6;
  --paper: #ffffff;
  --off-white: #f7f8f8;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px clamp(18px, 6vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(17, 17, 21, .94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 112px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--red-bright);
}

.nav a.is-active {
  color: var(--red-bright);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
}

.header-action {
  color: var(--paper);
  background: var(--red-bright);
  box-shadow: 0 16px 38px rgba(215, 38, 46, .28);
}

.header-action:hover {
  background: var(--red);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 22%, rgba(43, 167, 255, .22), transparent 28%),
    linear-gradient(145deg, var(--ink), var(--night) 58%, #202027);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  width: min(1220px, calc(100% - 36px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 clamp(60px, 8vw, 104px);
}

.hero::before {
  position: absolute;
  right: -16vw;
  bottom: -12vw;
  width: 54vw;
  height: 54vw;
  content: "";
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(17, 17, 21, .74)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 19px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--red-bright);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-family: var(--body);
  font-size: clamp(2.72rem, 6.4vw, 5.65rem);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-family: var(--body);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: hero-copy-in .85s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-copy h1::after {
  display: inline;
  color: var(--red-bright);
  content: ".";
}

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

.btn-primary {
  color: var(--paper);
  background: var(--red-bright);
  box-shadow: 0 18px 42px rgba(215, 38, 46, .26);
}

.btn-primary:hover {
  background: var(--red);
}

.btn-secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
  animation: hero-visual-in 1s cubic-bezier(.2, .8, .2, 1) .12s both;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  inset: 28px -18px -28px 58px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 36px;
}

.hero-visual::after {
  right: -34px;
  top: 42px;
  width: 132px;
  height: 132px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 63, 85, .78), rgba(43, 167, 255, .78));
  filter: blur(.2px);
  transform: rotate(12deg);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 44px 44px 44px 8px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .36);
}

.hero-visual img::selection {
  background: transparent;
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  width: min(280px, 74%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: var(--paper);
  background: rgba(17, 17, 21, .74);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .26);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  color: var(--red-bright);
  font-size: .8rem;
  letter-spacing: .08em;
}

.hero-badge span {
  margin-top: 3px;
  font-weight: 800;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--paper);
  background: #15161b;
}

.intro-strip div {
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 1.1rem;
}

.intro-strip span {
  color: rgba(255, 255, 255, .68);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.section-heading {
  max-width: 940px;
  margin: 0 auto 38px;
}

.service-grid,
.work-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 18px;
}

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

.service-card {
  min-height: 318px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  perspective: 1200px;
}

.service-card:focus {
  outline: 0;
}

.service-card:focus-visible .service-card-inner {
  outline: 3px solid rgba(79, 111, 146, .48);
  outline-offset: 5px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 318px;
  border-radius: 14px;
  box-shadow: 0 24px 68px rgba(47, 52, 55, .12);
  transform-style: preserve-3d;
  transition: transform .72s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease;
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner,
.service-card:focus .service-card-inner {
  box-shadow: 0 34px 88px rgba(47, 52, 55, .18);
  transform: rotateY(180deg);
}

.service-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border-radius: 14px;
  backface-visibility: hidden;
}

.service-front {
  color: var(--paper);
  background: var(--ink);
}

.service-front::before,
.service-front::after {
  position: absolute;
  inset: 0;
  content: "";
}

.service-front::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 17, 21, 0), rgba(17, 17, 21, .76)),
    linear-gradient(135deg, rgba(222, 25, 32, .34), rgba(35, 75, 112, .18) 46%, transparent);
}

.service-front::after {
  z-index: 2;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .13) 0 1px, transparent 1px 18px);
  opacity: .18;
}

.service-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .72s cubic-bezier(.2, .8, .2, 1);
}

.service-card:hover .service-front img,
.service-card:focus .service-front img {
  transform: scale(1.08);
}

.service-front .service-icon,
.service-front h3 {
  position: relative;
  z-index: 3;
}

.service-back {
  color: var(--paper);
  background:
    radial-gradient(circle at 20% 0, rgba(239, 42, 49, .32), transparent 38%),
    linear-gradient(145deg, var(--ink), var(--blue-dark));
  transform: rotateY(180deg);
}

.service-back::after {
  position: absolute;
  right: -68px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 6px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.service-card h3,
.service-card p,
.service-card .service-icon {
  position: relative;
  z-index: 1;
}

.about-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 48%, rgba(222, 25, 32, .12), transparent 25%),
    radial-gradient(circle at 92% 18%, rgba(79, 111, 146, .16), transparent 28%),
    linear-gradient(100deg, #242a32 0%, #20252c 48%, #191d23 100%);
}

.about-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 79% 52%, rgba(222, 25, 32, .13), transparent 20%),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, .025) 62%, transparent);
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 1;
  padding: clamp(46px, 6vw, 74px) clamp(18px, 7vw, 96px);
}

.about-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.04rem;
}

.about-panel {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 330px;
  overflow: hidden;
  place-items: center;
  padding: 28px 42px;
  background: transparent;
}

.about-panel::after {
  position: absolute;
  right: -16%;
  bottom: -28%;
  width: 52%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(222, 25, 32, .16);
  border-radius: 50%;
}

.animated-logo {
  position: relative;
  width: min(500px, 88%);
  aspect-ratio: 1448 / 1086;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, .32));
}

.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(18%) sepia(95%) saturate(4400%) hue-rotate(349deg) brightness(96%) contrast(98%);
  pointer-events: none;
}

.logo-buildings {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(38px);
  transform-origin: 50% 70%;
}

.logo-letters {
  opacity: 0;
  transform: translateY(22px) scale(.93);
  transform-origin: 50% 58%;
}

.logo-swoosh {
  opacity: 0;
  transform: translateX(-48px);
}

.logo-phrase {
  opacity: 0;
  transform: translateY(12px);
}

.about-panel.is-visible .logo-buildings {
  animation: buildings-reveal 1.15s cubic-bezier(.2, .8, .2, 1) both;
}

.about-panel.is-visible .logo-letters {
  animation: letters-settle .78s cubic-bezier(.2, .8, .2, 1) .34s both;
}

.about-panel.is-visible .logo-swoosh {
  animation: swoosh-settle .82s cubic-bezier(.2, .8, .2, 1) .56s both;
}

.about-panel.is-visible .logo-phrase {
  animation: phrase-in .62s ease .82s both;
}

.logo-shine {
  position: absolute;
  left: 22%;
  top: 52%;
  width: 58%;
  height: 13%;
  overflow: hidden;
  border-radius: 999px;
  opacity: 1;
  transform: rotate(-5deg);
  pointer-events: none;
}

.logo-shine::before {
  position: absolute;
  inset: -80% auto -80% -35%;
  width: 28%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), rgba(239, 42, 49, .38), transparent);
  transform: skewX(-20deg);
}

.about-panel.is-visible .logo-shine::before {
  animation: shine-sweep 1.55s ease-in-out .95s 1 both;
}

.logo-spark {
  position: absolute;
  right: 8.5%;
  top: 49%;
  width: 18px;
  height: 18px;
  opacity: 0;
  clip-path: polygon(50% 0, 58% 39%, 100% 50%, 58% 61%, 50% 100%, 42% 61%, 0 50%, 42% 39%);
  background: rgba(255, 255, 255, .9);
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .72)) drop-shadow(0 0 12px rgba(239, 42, 49, .5)) blur(.25px);
  pointer-events: none;
}

.about-panel.is-visible .logo-spark {
  animation: spark-pop 1.55s ease-in-out .95s 1 both;
}

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

.works-hero {
  position: relative;
  display: grid;
  min-height: calc(86vh - 86px);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  place-items: end start;
}

.works-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 21, .9), rgba(17, 17, 21, .5) 46%, rgba(17, 17, 21, .16)),
    linear-gradient(0deg, rgba(17, 17, 21, .82), transparent 56%);
}

.works-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  content: "";
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 18px);
  opacity: .28;
  pointer-events: none;
}

.works-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 150px) 0 clamp(58px, 9vw, 98px);
}

.works-hero h1 {
  max-width: 920px;
  padding: clamp(18px, 3vw, 34px);
  border-left: 6px solid var(--red-bright);
  border-radius: 8px;
  background: rgba(24, 32, 42, .42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(2px);
  font-size: clamp(2.42rem, 5.3vw, 5.1rem);
}

.works-hero .hero-actions {
  margin-top: 18px;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--paper);
  background: #15161b;
}

.portfolio-intro div {
  min-height: 142px;
  padding: 30px clamp(18px, 5vw, 68px);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.portfolio-intro div:last-child {
  border-right: 0;
}

.portfolio-intro strong,
.portfolio-intro span {
  display: block;
}

.portfolio-intro strong {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.14rem;
}

.portfolio-intro span {
  max-width: 360px;
  color: rgba(255, 255, 255, .68);
}

.works-page {
  background:
    linear-gradient(180deg, var(--paper), #f3f5f6);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 26px 78px rgba(47, 52, 55, .14);
}

.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 42, 49, .24), transparent 34%),
    linear-gradient(145deg, #17181d, #263240);
}

.project-feature-copy h3 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.project-feature-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

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

.work-grid-large {
  grid-template-columns: repeat(3, 1fr);
}

figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--off-white);
  box-shadow: 0 22px 58px rgba(47, 52, 55, .08);
  transition: transform .32s ease, box-shadow .32s ease;
}

figure:hover {
  box-shadow: 0 30px 76px rgba(47, 52, 55, .14);
  transform: translateY(-6px);
}

.work-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.work-trigger:focus-visible {
  outline: 3px solid rgba(79, 111, 146, .48);
  outline-offset: 5px;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  padding: 16px 18px;
  border-top: 4px solid var(--blue);
  font-weight: 800;
}

figcaption strong,
figcaption span {
  display: block;
}

figcaption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1fr;
  grid-auto-rows: minmax(220px, 28vw);
  gap: 14px;
  padding: 14px;
  background: var(--ink);
}

.portfolio-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.mosaic-tall {
  grid-row: span 2;
}

.mosaic-wide {
  grid-column: span 2;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

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

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 21, .82);
  backdrop-filter: blur(10px);
}

.gallery-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 0, rgba(222, 25, 32, .2), transparent 30%),
    linear-gradient(145deg, #15161b, #242833);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .46);
  transform: translateY(18px) scale(.98);
  transition: transform .28s ease;
}

.gallery-modal.is-open .gallery-dialog {
  transform: translateY(0) scale(1);
}

.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.gallery-header h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.gallery-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.gallery-stage {
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
}

.gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(50vh, 470px);
  object-fit: contain;
  border-radius: 8px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(17, 17, 21, .68);
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-caption {
  min-height: 20px;
  margin: 10px 0 12px;
  color: rgba(255, 255, 255, .76);
  font-weight: 700;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-thumb {
  height: clamp(48px, 7vh, 64px);
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--red-bright);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 7vw, 96px);
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(17, 17, 21, .94), rgba(35, 75, 112, .9) 48%, rgba(142, 31, 36, .88)),
    var(--ink);
}

.cta-band h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-band p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .86);
}

.contact-actions {
  justify-content: flex-end;
  min-width: min(390px, 100%);
  margin-top: 0;
}

.contact-link {
  display: block;
  width: 100%;
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .8);
  background: #24282a;
}

.site-footer img {
  width: 112px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--paper);
  background: #25d366;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
  animation: whatsapp-float 3.8s ease-in-out infinite;
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsapp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes buildings-reveal {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(38px);
  }
  64% {
    opacity: 1;
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes letters-settle {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.93);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes swoosh-settle {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes phrase-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine-sweep {
  0%,
  10% {
    left: -35%;
    opacity: 0;
  }
  18% {
    opacity: .95;
  }
  34% {
    left: 112%;
    opacity: 0;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes spark-pop {
  0%,
  28%,
  100% {
    opacity: 0;
    transform: scale(.35) rotate(0deg);
  }
  34% {
    opacity: .9;
    transform: scale(.82) rotate(18deg);
  }
  43% {
    opacity: 0;
    transform: scale(1.35) rotate(38deg);
  }
}

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

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

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 18px;
    min-height: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .intro-strip,
  .portfolio-intro,
  .service-grid,
  .work-grid,
  .work-grid-large,
  .project-feature,
  .about-band {
    grid-template-columns: 1fr;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .portfolio-intro div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 68px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .service-card,
  .service-card-inner {
    min-height: 280px;
  }

  .service-card-inner,
  .service-card:hover .service-card-inner,
  .service-card:focus-within .service-card-inner,
  .service-card:focus .service-card-inner {
    transform: none;
  }

  .service-face {
    backface-visibility: visible;
  }

  .service-back {
    display: none;
  }

  .service-card:hover .service-front img,
  .service-card:focus .service-front img {
    transform: none;
  }

  .about-panel {
    min-height: 280px;
  }

  .project-feature img {
    min-height: 320px;
  }

  .portfolio-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(190px, 38vw);
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-link,
  .site-footer p {
    text-align: left;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 94px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: .86rem;
  }

  .nav {
    gap: 8px;
    font-size: .82rem;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 40px 0 52px;
  }

  .works-hero-content {
    width: calc(100% - 32px);
    padding: 58px 0 56px;
  }

  .btn {
    width: 100%;
  }

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

  .service-card,
  .service-card-inner {
    min-height: 245px;
  }

  .service-face {
    padding: 20px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .works-hero {
    min-height: auto;
  }

  .works-hero h1 {
    font-size: clamp(2.16rem, 11vw, 3rem);
  }

  .project-feature img {
    min-height: 260px;
  }

  .portfolio-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(210px, 68vw);
    padding: 10px;
  }

  .mosaic-tall,
  .mosaic-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-badge {
    left: 14px;
    bottom: 14px;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-stage {
    min-height: 0;
  }

  .gallery-stage img {
    max-height: min(46vh, 360px);
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-thumb {
    height: 66px;
  }

  .floating-whatsapp {
    left: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}
