@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Manrope:wght@400;500;600;700;800&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #061866;
  --ink: #15151f;
  --muted: #626574;
  --gold: #f5c31f;
  --red: #d84c3f;
  --teal: #167c80;
  --green: #5f8d45;
  --paper: #fbfaf7;
  --line: #e8e3d6;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(6, 24, 102, 0.12);
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-arabic: "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

[dir="rtl"] body {
  font-family: var(--font-arabic);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(245, 195, 31, 0.08) 18% 24%, transparent 24% 48%, rgba(22, 124, 128, 0.07) 48% 54%, transparent 54% 100%),
    linear-gradient(245deg, transparent 0 34%, rgba(216, 76, 63, 0.055) 34% 39%, transparent 39% 100%);
  background-size: 160% 160%, 145% 145%;
  animation: ambient-shift 22s ease-in-out infinite alternate;
}

#site-shell {
  position: relative;
  z-index: 1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(6, 24, 102, 0.1);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--red), var(--gold));
  background-size: 220% 100%;
  animation: color-run 7s linear infinite;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

[dir="rtl"] .brand,
[dir="rtl"] .footer-brand {
  font-family: var(--font-arabic);
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 36%;
  background: var(--white);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 0 0 4px rgba(245, 195, 31, 0.16);
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.footer-links a,
.language-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.is-active,
.language-toggle:hover {
  color: var(--navy);
  background: rgba(245, 195, 31, 0.18);
}

.language-toggle {
  justify-self: end;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 6vw, 96px) clamp(32px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(6, 24, 102, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 24, 102, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  overflow: hidden;
  animation: grid-drift 18s linear infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(245, 195, 31, 0.18) 18% 21%, transparent 21% 58%, rgba(216, 76, 63, 0.1) 58% 61%, transparent 61% 100%),
    linear-gradient(60deg, transparent 0 38%, rgba(22, 124, 128, 0.12) 38% 41%, transparent 41% 100%);
  transform: translate3d(-8%, 0, 0);
  animation: ribbon-slide 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--red), var(--green), var(--gold));
  background-size: 260% 100%;
  animation: color-run 8s linear infinite;
}

.hero-copy {
  max-width: 820px;
  animation: rise-in 700ms ease both;
}

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

[dir="rtl"] .eyebrow {
  text-transform: none;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 5.6rem;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

[dir="rtl"] h1,
[dir="rtl"] h2 {
  font-family: var(--font-arabic);
  line-height: 1.18;
}

.hero p:not(.eyebrow),
.section-heading p,
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 500;
}

.actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.center-action {
  justify-content: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold), #ffe076, var(--gold));
  background-size: 220% 100%;
  box-shadow: 0 12px 30px rgba(245, 195, 31, 0.25);
  animation: button-shine 4.8s ease-in-out infinite;
}

.button.secondary {
  color: var(--navy);
  border-color: rgba(6, 24, 102, 0.22);
  background: var(--white);
}

.hero-mark {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 10px), 0);
  transition: transform 320ms ease;
  animation: rise-in 850ms ease 120ms both;
}

.hero-mark img {
  width: min(420px, 72vw);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 34%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: soft-float 6s ease-in-out infinite, logo-spark 5s ease-in-out infinite;
}

.signal-board {
  position: absolute;
  inset-inline: 4%;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  animation: board-lift 720ms ease 320ms both;
}

.signal-board span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: rgba(245, 195, 31, 0.18);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  animation: tile-pulse 5.8s ease-in-out infinite;
}

.signal-board span:nth-child(2) { background: rgba(216, 76, 63, 0.13); }
.signal-board span:nth-child(3) { background: rgba(22, 124, 128, 0.13); }
.signal-board span:nth-child(4) { background: rgba(95, 141, 69, 0.15); }
.signal-board span:nth-child(5) { background: rgba(6, 24, 102, 0.1); }
.signal-board span:nth-child(2) { animation-delay: 300ms; }
.signal-board span:nth-child(3) { animation-delay: 600ms; }
.signal-board span:nth-child(4) { animation-delay: 900ms; }
.signal-board span:nth-child(5) { animation-delay: 1200ms; }

.band {
  position: relative;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 96px);
  background: var(--paper);
}

.band.alt {
  background: #ffffff;
}

.band.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(245, 195, 31, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(22, 124, 128, 0.14), transparent 30%),
    var(--navy);
  background-size: 140% 140%, 150% 150%, auto;
  animation: dark-breathe 12s ease-in-out infinite alternate;
}

.band.dark h2,
.band.dark .eyebrow,
.band.dark .section-heading p {
  color: var(--white);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 32px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.proof-strip,
.metric-grid,
.feature-list,
.process-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.proof-strip span,
.feature-list li,
.metric-grid li,
.process-list li,
.deliverable-panel,
.statement,
.client-card,
.contact-panel,
.contact-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 24, 102, 0.06);
}

.proof-strip span,
.feature-list li,
.metric-grid li {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 850;
}

.feature-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-list.compact {
  grid-template-columns: 1fr;
}

.process-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: process;
}

.process-list li {
  min-height: 170px;
  padding: 20px;
  color: var(--navy);
  font-weight: 850;
}

.process-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 0.88rem;
}

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

.service-card a {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(6, 24, 102, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 36%, rgba(245, 195, 31, 0.18) 42%, transparent 48% 100%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.service-card a::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--red));
  background-size: 220% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  animation: color-run 5s linear infinite;
}

.dark .service-card a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.service-card a:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
}

.service-card a:hover::before {
  transform: translateX(120%);
}

.service-card a:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 950;
  transition: transform 240ms ease, background 240ms ease;
}

.service-card a:hover .service-icon {
  transform: rotate(-5deg) scale(1.08);
  background: #ffe076;
}

.service-icon.large {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.service-title {
  color: var(--navy);
  font-size: 1.26rem;
  font-weight: 900;
}

.dark .service-title,
.dark .service-card p,
.dark .text-link {
  color: var(--white);
}

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

.home-services .service-description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 180ms ease, opacity 180ms ease;
}

.home-services .service-card a:hover .service-description,
.home-services .service-card a:focus .service-description,
.home-services .service-card a:focus-within .service-description {
  max-height: 120px;
  opacity: 1;
}

.text-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

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

.testimonial-grid,
.story-grid,
.client-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

blockquote {
  min-height: 180px;
  margin: 0;
  padding: 28px;
  border-inline-start: 6px solid var(--gold);
  border-radius: 8px;
  color: var(--navy);
  background: var(--paper);
  font-size: 1.3rem;
  font-weight: 850;
}

.statement,
.client-card,
.contact-panel,
.contact-details,
.deliverable-panel {
  padding: 26px;
}

.statement h2,
.client-card h2,
.work-card h2,
.contact-panel h2,
.deliverable-panel h2 {
  font-size: 1.45rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  max-width: 980px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(245, 195, 31, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(216, 76, 63, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.08);
}

.video-placeholder strong {
  font-size: 7rem;
  line-height: 1;
}

.detail-hero {
  padding: clamp(60px, 10vw, 140px) clamp(18px, 6vw, 96px);
  background: var(--navy);
  color: var(--white);
}

.detail-hero h1 {
  color: var(--white);
}

.detail-hero p {
  max-width: 760px;
  font-size: 1.3rem;
}

.client-card span {
  color: var(--red);
  font-weight: 950;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(6, 24, 102, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(6, 24, 102, 0.16);
}

.work-card h2,
.work-card p {
  padding-inline: 20px;
}

.work-card h2 {
  margin: 18px 0 8px;
}

.work-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 800;
}

.work-visual {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: var(--white);
  background: var(--navy);
}

.work-visual::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 18px),
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.35) 48%, transparent 54% 100%);
  transform: translateX(-28%) rotate(6deg);
  animation: visual-scan 7s ease-in-out infinite;
}

.work-visual span {
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.8rem;
  font-weight: 900;
}

.tone-1 { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.tone-2 { background: linear-gradient(135deg, var(--red), #7c2e6d); }
.tone-3 { background: linear-gradient(135deg, var(--green), #284a35); }
.tone-4 { background: linear-gradient(135deg, #2c3f8c, #111827); }
.tone-5 { background: linear-gradient(135deg, #8b3d2e, var(--gold)); }
.tone-6 { background: linear-gradient(135deg, #30423c, #11606d); }

.work-visual[class*="tone-"] {
  background-size: 160% 160%;
  animation: gradient-pan 10s ease-in-out infinite alternate;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-details p {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 850;
}

.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(245, 195, 31, 0.14);
}

.social-row svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-row svg path {
  fill: currentColor;
  stroke: none;
}

.social-row svg rect,
.social-row svg circle {
  fill: none;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 6vw, 78px) clamp(18px, 6vw, 96px);
  color: var(--white);
  background: var(--ink);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 25%, rgba(245, 195, 31, 0.18) 31%, transparent 38% 100%);
  transform: translateX(-70%);
  animation: cta-sweep 9s ease-in-out infinite;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px clamp(18px, 6vw, 96px) 24px;
  color: rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(120deg, rgba(245, 195, 31, 0.16), transparent 30%),
    linear-gradient(290deg, rgba(22, 124, 128, 0.2), transparent 28%),
    #0b1028;
}

.footer-glow {
  position: absolute;
  inset: auto -10% -42% -10%;
  height: 260px;
  background: linear-gradient(90deg, rgba(245, 195, 31, 0.34), rgba(22, 124, 128, 0.26), rgba(216, 76, 63, 0.28));
  filter: blur(54px);
  opacity: 0.62;
  animation: footer-glow 12s ease-in-out infinite alternate;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(180px, 0.55fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.footer-intro {
  max-width: 560px;
}

.footer-intro .button {
  margin-top: 16px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.6rem;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-column h2 {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

[dir="rtl"] .footer-column h2 {
  font-family: var(--font-arabic);
  text-transform: none;
}

.footer-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.footer-links a {
  min-height: 34px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 1rem;
}

.footer-links a:hover,
.footer-links a.is-active {
  color: var(--white);
  background: transparent;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-social a {
  width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(245, 195, 31, 0.18);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social svg path {
  fill: currentColor;
  stroke: none;
}

.footer-social svg rect,
.footer-social svg circle {
  fill: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes ambient-shift {
  0% { background-position: 0% 35%, 100% 50%; }
  100% { background-position: 100% 65%, 0% 30%; }
}

@keyframes color-run {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 52px 0, 0 52px; }
}

@keyframes ribbon-slide {
  0% { transform: translate3d(-8%, 0, 0); }
  100% { transform: translate3d(8%, -2%, 0); }
}

@keyframes rise-in {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes soft-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes logo-spark {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 rgba(245, 195, 31, 0); }
  50% { box-shadow: var(--shadow), 0 0 42px rgba(245, 195, 31, 0.36); }
}

@keyframes board-lift {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes dark-breathe {
  0% { background-position: 0% 0%, 100% 50%, 0 0; }
  100% { background-position: 100% 80%, 0% 20%, 0 0; }
}

@keyframes button-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes visual-scan {
  0%, 100% { transform: translateX(-34%) rotate(6deg); opacity: 0.55; }
  50% { transform: translateX(34%) rotate(6deg); opacity: 0.85; }
}

@keyframes gradient-pan {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes cta-sweep {
  0%, 20% { transform: translateX(-80%); }
  55%, 100% { transform: translateX(80%); }
}

@keyframes footer-glow {
  0% { transform: translateX(-6%) scale(1); }
  100% { transform: translateX(6%) scale(1.08); }
}

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

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

.site-footer p {
  max-width: 380px;
  margin: 12px 0 0;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .feature-list,
  .process-list,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset-inline: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-mark {
    min-height: 360px;
  }

  .signal-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: -34px;
  }

  .service-grid,
  .testimonial-grid,
  .story-grid,
  .client-grid,
  .work-grid,
  .feature-list,
  .process-list,
  .metric-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .band {
    padding-block: 46px;
  }

  .service-card a,
  .process-list li {
    min-height: auto;
  }

  .work-visual {
    min-height: 180px;
  }

  .video-placeholder strong {
    font-size: 4rem;
  }
}
