:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-soft: #121317;
  --bg-elevated: rgba(255, 255, 255, 0.06);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --panel-light: rgba(247, 242, 236, 0.88);
  --panel-light-strong: #f5f1eb;
  --text: #fbf7f2;
  --muted: rgba(251, 247, 242, 0.72);
  --ink: #181513;
  --ink-muted: #5f5854;
  --accent: #ff5b2e;
  --accent-strong: #ff6e3a;
  --accent-alt: #ff9448;
  --accent-soft: rgba(255, 91, 46, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(24, 21, 19, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 22px 48px rgba(18, 16, 15, 0.12);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1120px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 91, 46, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #090a0d 0%, #111318 46%, #0b0c10 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 120;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: #ffffff;
  color: #111318;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.8rem 0;
  background: rgba(10, 11, 14, 0.56);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 14, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(255, 91, 46, 0.32);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.desktop-nav,
.footer-links,
.social-links,
.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 1.45rem;
}

.desktop-nav a,
.footer-links a {
  position: relative;
  font-size: 0.95rem;
  color: rgba(251, 247, 242, 0.76);
  transition: color 0.25s ease;
}

.desktop-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(255, 91, 46, 0.26);
}

.button-primary:hover {
  box-shadow: 0 24px 44px rgba(255, 91, 46, 0.34);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-link {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.button-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.button-link:hover::after {
  transform: translateX(3px);
}

.button-dark {
  background: #111216;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(17, 18, 22, 0.22);
}

.button-dark:hover {
  background: #1a1c21;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  place-content: center;
  gap: 5px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.mobile-nav.is-open {
  max-height: 340px;
  opacity: 1;
}

.mobile-nav-inner {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 18, 23, 0.94);
  box-shadow: var(--shadow);
}

.mobile-nav-inner a {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--muted);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.mobile-nav-inner a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.hero {
  padding: clamp(4.8rem, 7vw, 7rem) 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 91, 46, 0.22), transparent 20rem),
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.08), transparent 16rem);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.6rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.46rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 91, 46, 0.14);
}

.eyebrow-dark {
  background: rgba(24, 21, 19, 0.06);
  border-color: rgba(24, 21, 19, 0.09);
  color: rgba(24, 21, 19, 0.68);
}

.hero-copy h1,
.section-heading h2,
.cta-banner h2 {
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-copy h1 {
  margin: 1.2rem 0 1rem;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions,
.cta-actions {
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.glass-card,
.service-card,
.portfolio-card,
.timeline-step {
  box-shadow: var(--shadow);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 1.25rem 1.2rem;
  border-radius: 24px;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-card span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.floating-badge {
  position: absolute;
  top: 2rem;
  right: 1rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow);
}

.glass-panel {
  position: relative;
  min-height: 520px;
  padding: 2rem;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: -18% 45% auto -12%;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 91, 46, 0.3), transparent 72%);
  filter: blur(18px);
}

.mockup-card {
  position: absolute;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mockup-card::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.2rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-card-primary {
  width: min(78%, 360px);
  min-height: 220px;
  top: 16%;
  left: 10%;
  background: linear-gradient(145deg, rgba(16, 18, 26, 0.96), rgba(31, 34, 42, 0.84));
  transform: rotate(-7deg);
}

.mockup-card-secondary {
  width: min(68%, 300px);
  min-height: 210px;
  top: 28%;
  right: 8%;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(244, 237, 230, 0.96), rgba(232, 225, 219, 0.82));
  transform: rotate(8deg);
}

.mockup-card-tertiary {
  width: min(62%, 280px);
  min-height: 180px;
  bottom: 10%;
  left: 18%;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(255, 101, 58, 0.95), rgba(255, 148, 72, 0.86));
  transform: rotate(-2deg);
}

.mockup-tag {
  display: inline-flex;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mockup-card-secondary .mockup-tag {
  border-color: rgba(24, 21, 19, 0.08);
  background: rgba(24, 21, 19, 0.06);
}

.mockup-card h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.34rem;
  letter-spacing: -0.03em;
}

.mockup-card p {
  margin: 0;
  max-width: 18ch;
  font-size: 0.95rem;
  opacity: 0.8;
}

.mockup-stripes {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 3.3rem;
  display: grid;
  gap: 0.65rem;
}

.mockup-stripes span {
  height: 10px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}

.mockup-card-secondary .mockup-stripes span {
  background: linear-gradient(90deg, rgba(24, 21, 19, 0.18), rgba(24, 21, 19, 0.05));
}

.mockup-chip {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.58);
  backdrop-filter: blur(14px);
  font-size: 0.85rem;
}

.mockup-chip::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.mockup-chip-one {
  right: 7%;
  bottom: 18%;
}

.mockup-chip-two {
  left: 8%;
  bottom: 6%;
}

.hero-marquee {
  margin-top: 2.8rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  white-space: nowrap;
  color: rgba(251, 247, 242, 0.72);
  animation: marquee 18s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.section-heading p,
.timeline-step p,
.service-card p,
.cta-banner p {
  margin: 0;
}

.section-heading p,
.service-card p,
.timeline-step p {
  color: var(--muted);
  font-size: 1.02rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  min-height: 240px;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.service-card::after {
  content: "";
  position: absolute;
  top: -15%;
  right: -25%;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(255, 91, 46, 0.2), transparent 65%);
  opacity: 0.7;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.service-card:hover::after {
  transform: scale(1.1);
}

.service-index {
  color: rgba(251, 247, 242, 0.48);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-card h3,
.portfolio-card h3,
.feature-card h3,
.timeline-step h3 {
  letter-spacing: -0.03em;
}

.service-card h3 {
  margin: 0.85rem 0 0.75rem;
  font-size: 1.4rem;
}

.service-card p {
  margin-bottom: 1.3rem;
  max-width: 24ch;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.service-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(4px);
}

.section-light {
  background: linear-gradient(180deg, rgba(245, 241, 235, 0.98), rgba(231, 225, 218, 0.98));
  color: var(--ink);
}

.section-light .section-heading p {
  color: var(--ink-muted);
}

.section-light .eyebrow {
  background: rgba(24, 21, 19, 0.06);
  border-color: rgba(24, 21, 19, 0.09);
  color: rgba(24, 21, 19, 0.66);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card {
  padding: 1.35rem;
  border-radius: 26px;
  border: 1px solid rgba(24, 21, 19, 0.08);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(22, 17, 13, 0.16);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 20px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 91, 46, 0.18), rgba(255, 148, 72, 0.12));
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  min-height: 270px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0) 20%, rgba(10, 11, 14, 0.78) 100%);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition:
    transform 0.7s ease,
    filter 0.45s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.portfolio-card figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.4rem;
}

.portfolio-meta {
  display: inline-flex;
  padding: 0.44rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.34rem;
}

.portfolio-card p {
  margin: 0;
  max-width: 25ch;
  color: rgba(251, 247, 242, 0.78);
}

.portfolio-wide {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 560px;
}

.portfolio-tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 560px;
}

.portfolio-half {
  grid-column: span 4;
}

.section-process {
  background: linear-gradient(180deg, rgba(12, 13, 17, 0.88), rgba(13, 14, 18, 0.98));
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 91, 46, 0.56), rgba(255, 255, 255, 0.08));
}

.timeline-step {
  position: relative;
  padding: 3.5rem 1.3rem 1.3rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 24px rgba(255, 91, 46, 0.24);
}

.timeline-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 34px;
  border: 1px solid rgba(24, 21, 19, 0.08);
  background: linear-gradient(145deg, #f5f1eb, #ebe3da);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(17, 15, 13, 0.18);
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -35%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(255, 91, 46, 0.26), transparent 70%);
}

.cta-banner h2 {
  max-width: 12ch;
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  align-items: center;
}

.brand-footer .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-shell p {
  max-width: 30ch;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.footer-links,
.social-links {
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}

.footer-meta {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-meta p {
  margin: 0;
  color: rgba(251, 247, 242, 0.58);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .cta-banner,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .desktop-nav,
  .hide-mobile {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .hero-stats,
  .services-grid,
  .feature-grid,
  .timeline,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-wide,
  .portfolio-tall,
  .portfolio-half {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .floating-badge {
    top: 1rem;
    left: 1rem;
    right: auto;
    max-width: calc(100% - 2rem);
  }

  .glass-panel {
    min-height: 430px;
    padding: 1.1rem;
  }

  .mockup-card-primary {
    width: 74%;
    top: 18%;
    left: 0;
  }

  .mockup-card-secondary {
    width: 66%;
    top: 37%;
    right: 0;
  }

  .mockup-card-tertiary {
    width: 68%;
    bottom: 7%;
    left: 8%;
  }

  .footer-links,
  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .site-header {
    padding: 0.65rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .button,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .mockup-card h3 {
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .cta-banner {
    padding: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}