:root {
  --black: #070606;
  --black-2: #100808;
  --black-3: #171010;
  --red-deep: #4d0507;
  --red: #e32216;
  --red-bright: #ff3b32;
  --orange: #ff9448;
  --peach: #ffd09a;
  --white: #fff6ef;
  --muted: rgba(255, 246, 239, 0.68);
  --muted-2: rgba(255, 246, 239, 0.48);
  --line: rgba(255, 246, 239, 0.13);
  --glass: rgba(255, 246, 239, 0.055);
  --glass-strong: rgba(255, 246, 239, 0.09);
  --shadow-red: 0 24px 80px rgba(227, 34, 22, 0.22);
  --shadow-black: 0 32px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--black); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 177, 95, 0.42), transparent 22rem),
    radial-gradient(circle at 96% 4%, rgba(255, 59, 50, 0.48), transparent 25rem),
    radial-gradient(circle at 60% 62%, rgba(110, 5, 8, 0.46), transparent 35rem),
    linear-gradient(135deg, #130607 0%, #050505 42%, #2f0406 78%, #080506 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

::selection { color: #140606; background: var(--peach); }
:focus-visible { outline: 2px solid rgba(255, 148, 72, 0.95); outline-offset: 4px; border-radius: 10px; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 10000;
  padding: 10px 14px;
  border: 1px solid rgba(255, 246, 239, 0.18);
  border-radius: 999px;
  background: rgba(7, 5, 5, 0.92);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.9) 0 1px, transparent 1.4px),
    radial-gradient(circle at 88% 42%, rgba(255,255,255,.7) 0 1px, transparent 1.6px);
  background-size: 42px 42px, 67px 67px;
}

.cursor-glow {
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 20vh);
  width: 320px;
  height: 320px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 72, 52, 0.2), transparent 68%);
  filter: blur(8px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

body:not(.enable-cursor-glow) .cursor-glow {
  display: none;
}

main, footer { position: relative; z-index: 2; }

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 40px), var(--container));
  min-height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 246, 239, 0.12);
  border-radius: 999px;
  background: rgba(7, 5, 5, 0.42);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 18px 64px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: top .28s ease, min-height .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

body.is-scrolled .navbar {
  top: 12px;
  min-height: 58px;
  border-color: rgba(255, 246, 239, 0.18);
  background: rgba(6, 5, 5, 0.76);
  box-shadow: 0 24px 80px rgba(0,0,0,0.38), 0 0 52px rgba(227,34,22,.11), inset 0 1px 0 rgba(255,255,255,.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
}
.brand__copy strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.brand__copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 246, 239, 0.1);
  border-radius: 999px;
  background: rgba(255, 246, 239, 0.035);
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 246, 239, 0.78);
  font-size: 13px;
  font-weight: 700;
  transition: color .24s ease, background .24s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background: rgba(255, 246, 239, 0.095);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 246, 239, 0.16);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transition: transform .58s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(110%); }
.btn-primary {
  border-color: rgba(255, 170, 120, 0.52);
  background: linear-gradient(135deg, #ff5649, #e32216 55%, #7a0506);
  box-shadow: 0 18px 52px rgba(227, 34, 22, 0.33), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-secondary {
  background: rgba(255, 246, 239, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.btn-small { min-height: 42px; padding: 0 16px; border-radius: 999px; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,246,239,.15);
  border-radius: 14px;
  background: rgba(255,246,239,.055);
  color: var(--white);
  cursor: pointer;
}
.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}
.menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.section {
  position: relative;
  padding: 96px 0;
}

main > .section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 820px;
}

.project-card,
.offer-card,
.problem-card,
.result-item,
.method-step,
.testimonial-card {
  contain: layout paint style;
}
.section-dark { position: relative; }
.section-header {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(255, 246, 239, 0.66);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-kicker::before {
  content: "✦";
  color: var(--orange);
  font-size: 17px;
}
.section-title {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 800;
  text-wrap: balance;
}
.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.hero {
  min-height: clamp(780px, 95vh, 960px);
  display: flex;
  align-items: center;
  padding: 138px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,246,239,.08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 48%, rgba(0,0,0,.54), transparent 26rem),
    linear-gradient(90deg, rgba(5,4,4,.76), rgba(5,4,4,.16) 46%, rgba(5,4,4,.48));
  pointer-events: none;
}
.hero__bg {
  position: absolute;
  left: 50%;
  top: -15%;
  z-index: 0;
  width: 122vw;
  max-width: none;
  height: 116%;
  transform: translateX(-50%);
  object-fit: cover;
  opacity: .52;
  mix-blend-mode: screen;
}
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(255,246,239,.14);
  border-radius: 999px;
  background: rgba(255,246,239,.06);
  color: rgba(255,246,239,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
}
.hero__title {
  max-width: 780px;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(58px, 8.4vw, 124px);
  line-height: 0.84;
  letter-spacing: -0.078em;
  font-weight: 800;
  text-shadow: 0 24px 90px rgba(0,0,0,.55);
  text-wrap: balance;
}
.hero__title span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #fff6ef 0%, #ffd09a 28%, #ff4e42 72%, #ff9448 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lead {
  max-width: 610px;
  margin-top: 30px;
  color: rgba(255,246,239,.82);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.58;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}
.hero__chips li,
.proof-strip__track span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,246,239,.11);
  border-radius: 999px;
  background: rgba(255,246,239,.05);
  color: rgba(255,246,239,.62);
  font-size: 13px;
  font-weight: 800;
}

.hero-card {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(255,246,239,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 208, 154, .18), transparent 14rem),
    radial-gradient(circle at 90% 70%, rgba(255, 59, 50, .22), transparent 16rem),
    rgba(255, 246, 239, .055);
  box-shadow: var(--shadow-black), 0 0 100px rgba(255,59,50,.16), inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
}
.hero-card__orb {
  position: absolute;
  right: -88px;
  top: -76px;
  width: 250px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,148,72,.68), rgba(255,59,50,.22) 44%, transparent 70%);
  filter: blur(3px);
  animation: floatOrb 6.5s ease-in-out infinite;
}
.hero-card__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 20px;
  background: rgba(6,5,5,.36);
}
.hero-card__top strong { display: block; font-size: 16px; }
.hero-card__top span { display: block; margin-top: 4px; color: var(--muted-2); font-size: 13px; }
.code-window {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 22px;
  background: rgba(4,4,5,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.code-window__bar {
  display: flex;
  gap: 7px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,246,239,.09);
}
.code-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red-bright);
}
.code-window__bar span:nth-child(2) { background: var(--orange); }
.code-window__bar span:nth-child(3) { background: var(--peach); }
.code-window pre { margin: 0; padding: 22px; overflow: auto; }
.code-window code {
  color: rgba(255,246,239,.84);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.68;
}
.metric-grid {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric-grid div {
  padding: 14px 10px;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 18px;
  background: rgba(7,5,5,.52);
  text-align: center;
}
.metric-grid span { display: block; color: var(--muted-2); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.metric-grid strong { display: block; margin-top: 8px; font-size: 13px; }

.proof-strip {
  position: relative;
  z-index: 3;
  padding: 16px 0;
  border-top: 1px solid rgba(255,246,239,.08);
  border-bottom: 1px solid rgba(255,246,239,.08);
  background: rgba(6,5,5,.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.proof-strip__track {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.problem-grid, .result-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.problem-card, .result-item, .testimonial-card, .offer-card, .method-step {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,246,239,.13);
  background: linear-gradient(145deg, rgba(255,246,239,.07), rgba(255,246,239,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 72px rgba(0,0,0,.20);
}
.problem-card {
  min-height: 320px;
  padding: 28px;
  border-radius: 26px;
}
.problem-card::after, .offer-card::after, .result-item::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,59,50,.22), transparent 70%);
  pointer-events: none;
}
.card-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 14px;
  background: rgba(255,246,239,.055);
  color: var(--orange);
  font-family: var(--serif);
  font-weight: 800;
}
.problem-card h3, .result-item h3, .offer-card h3, .method-step h3 {
  margin-bottom: 13px;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.problem-card p, .result-item p, .offer-card p, .method-step p, .testimonial-card p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 14px;
}

.showreel {
  background: linear-gradient(180deg, transparent, rgba(255,246,239,.025), transparent);
}
.showreel__layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  align-items: center;
  gap: 54px;
}
.showreel .section-header { grid-template-columns: 1fr; margin-bottom: 0; }
.motion-stage {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,59,50,.22), transparent 14rem),
    radial-gradient(circle at 18% 82%, rgba(255,148,72,.18), transparent 14rem),
    rgba(255,246,239,.045);
  box-shadow: var(--shadow-black), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.motion-stage__media {
  position: absolute;
  inset: 0;
}
.motion-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}
.motion-stage__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 208, 154, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(5, 4, 4, 0.02), rgba(5, 4, 4, 0.42));
}
.browser-shell {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 24px;
  background: rgba(4,4,5,.56);
  overflow: hidden;
}
.browser-shell__top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,246,239,.1);
}
.browser-shell__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
}
.browser-shell__top span:nth-child(2) { background: var(--orange); }
.browser-shell__top span:nth-child(3) { background: var(--peach); }
.browser-shell__top i { margin-left: auto; color: var(--muted-2); font-size: 12px; font-style: normal; font-weight: 800; }
.browser-shell__content { position: relative; height: calc(100% - 48px); padding: 24px; }
.motion-card {
  position: absolute;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,246,239,.1), rgba(255,246,239,.03));
  padding: 20px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}
.motion-card small { display: block; margin-bottom: 8px; color: var(--muted-2); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.motion-card strong { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); line-height: .94; letter-spacing: -0.06em; }
.motion-card--large { left: 24px; top: 30px; width: 58%; min-height: 180px; }
.motion-card--floating { right: 22px; bottom: 42px; width: 45%; animation: floatCard 6s ease-in-out infinite; }
.motion-path {
  position: absolute;
  left: 20%;
  top: 42%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--peach), var(--red-bright), transparent);
  transform: rotate(-12deg);
  box-shadow: 0 0 22px rgba(255,148,72,.45);
}
.motion-bars {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.motion-bars span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,246,239,.09);
}
.motion-bars span:nth-child(2) { background: rgba(255,148,72,.28); }
.motion-bars span:nth-child(3) { background: rgba(255,59,50,.35); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 18px;
  row-gap: 26px;
}
.project-shell {
  position: relative;
  isolation: isolate;
  grid-column: span 6;
  padding-top: 38px;
}
.project-shell::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 37px;
  z-index: 3;
  width: min(270px, calc(100% - 36px));
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 208, 154, .46), rgba(255, 246, 239, .14), transparent);
  pointer-events: none;
}
.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  min-height: 390px;
  height: 100%;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,246,239,.07), rgba(255,246,239,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 72px rgba(0,0,0,.22);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.project-shell:hover .project-card {
  transform: translateY(-7px);
  border-color: rgba(255,246,239,.28);
  box-shadow: 0 34px 92px rgba(0,0,0,.32), 0 0 60px rgba(227,34,22,.12), inset 0 1px 0 rgba(255,255,255,.10);
}
.project-card__visual {
  position: relative;
  display: flex;
  align-items: end;
  padding: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255,94,70,.5), transparent 9rem),
    radial-gradient(circle at 0% 100%, rgba(255,172,100,.26), transparent 10rem),
    linear-gradient(145deg, rgba(9,9,12,.95), rgba(92,8,9,.86));
  overflow: hidden;
}
.project-card__media,
.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.project-card__media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
  transition: transform .52s cubic-bezier(.22, 1, .36, 1), filter .52s ease;
}
.project-shell:hover .project-card__media img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06);
}
.project-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.10), transparent 34%, rgba(0,0,0,.62)),
    radial-gradient(circle at 18% 10%, rgba(255, 148, 72, 0.18), transparent 42%);
}
.project-card__visual span {
  position: relative;
  z-index: 2;
  max-width: 220px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 52px);
  line-height: .9;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-shadow: 0 18px 48px rgba(0,0,0,.72);
}
.project-card__tags {
  position: absolute;
  left: 18px;
  top: 0;
  z-index: 6;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  max-width: calc(100% - 36px);
  pointer-events: none;
}

.project-card__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: none;
  padding: 0 13px;
  border: 1px solid rgba(255,246,239,.16);
  border-bottom-color: rgba(255,208,154,.24);
  border-radius: 15px 15px 0 0;
  background:
    linear-gradient(180deg, rgba(255,246,239,.14), rgba(255,246,239,.055)),
    rgba(7, 5, 5, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  color: rgba(255,246,239,.80);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 -10px 30px rgba(255,148,72,.07),
    0 16px 34px rgba(0,0,0,.26);
}

.project-card__tags span + span {
  margin-left: -1px;
}
.project-card__body { display: flex; flex-direction: column; padding: 26px; align-self: stretch; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.project-card__meta span, .offer-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 999px;
  background: rgba(255,246,239,.055);
  color: rgba(255,246,239,.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.project-card h3 { margin-bottom: 12px; font-size: 25px; line-height: 1.05; letter-spacing: -0.05em; }
.project-card p { color: var(--muted); line-height: 1.58; font-size: 14px; }
.project-card ul, .offer-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: rgba(255,246,239,.66);
  font-size: 13px;
}
.project-card li, .offer-card li { display: flex; gap: 8px; align-items: baseline; }
.project-card li::before, .offer-card li::before { content: "✦"; color: var(--orange); font-size: 10px; }
.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--peach);
  font-size: 14px;
  font-weight: 900;
}
.text-link::after { content: "↗"; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(3px, -3px); }

.results { background: rgba(255,246,239,.018); }
.result-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.result-item {
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background-image: linear-gradient(180deg, rgba(7, 5, 5, 0.48), rgba(7, 5, 5, 0.90));
  background-size: cover;
  background-position: center;
}

.result-item.media-ready {
  background-image:
    linear-gradient(180deg, rgba(7, 5, 5, 0.20), rgba(7, 5, 5, 0.86)),
    var(--result-bg);
}
.result-item h3 { font-size: 18px; }
.result-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 208, 154, 0.08), transparent 11rem),
    linear-gradient(135deg, rgba(255, 246, 239, 0.05), transparent 42%);
}
.result-item--pixel { --result-bg: image-set(url("../assets/results/pixel-perfect.avif") type("image/avif"), url("../assets/results/pixel-perfect.webp") type("image/webp"), url("../assets/results/pixel-perfect.png") type("image/png")); }
.result-item--client { --result-bg: image-set(url("../assets/results/client-first.avif") type("image/avif"), url("../assets/results/client-first.webp") type("image/webp"), url("../assets/results/client-first.png") type("image/png")); }
.result-item--responsive { --result-bg: image-set(url("../assets/results/responsive.avif") type("image/avif"), url("../assets/results/responsive.webp") type("image/webp"), url("../assets/results/responsive.png") type("image/png")); }
.result-item--motion { --result-bg: image-set(url("../assets/results/motion.avif") type("image/avif"), url("../assets/results/motion.webp") type("image/webp"), url("../assets/results/motion.png") type("image/png")); }
.result-item--seo { --result-bg: image-set(url("../assets/results/seo.avif") type("image/avif"), url("../assets/results/seo.webp") type("image/webp"), url("../assets/results/seo.png") type("image/png")); }
.result-item--performance { --result-bg: image-set(url("../assets/results/performance.avif") type("image/avif"), url("../assets/results/performance.webp") type("image/webp"), url("../assets/results/performance.png") type("image/png")); }
.result-item--documentation { --result-bg: image-set(url("../assets/results/documentation.avif") type("image/avif"), url("../assets/results/documentation.webp") type("image/webp"), url("../assets/results/documentation.png") type("image/png")); }
.result-item--autonomie { --result-bg: image-set(url("../assets/results/autonomie.avif") type("image/avif"), url("../assets/results/autonomie.webp") type("image/webp"), url("../assets/results/autonomie.png") type("image/png")); }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border-radius: 26px;
}
.offer-card--hot {
  border-color: rgba(255,148,72,.42);
  background:
    radial-gradient(circle at 80% 0%, rgba(255,148,72,.22), transparent 12rem),
    linear-gradient(145deg, rgba(255,246,239,.09), rgba(255,246,239,.03));
}
.offer-card__tag { width: fit-content; margin-bottom: 26px; color: var(--peach); }
.offer-card h3 { min-height: 46px; }
.offer-card ul { margin-top: auto; padding-top: 22px; }

.method { background: linear-gradient(180deg, transparent, rgba(255,59,50,.035), transparent); }
.method-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.method-rail::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 42px;
  border-top: 1px dashed rgba(255,148,72,.38);
}
.method-step {
  padding: 22px;
  border-radius: 22px;
}
.method-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 58px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,76,56,.58), rgba(61,3,4,.8));
  box-shadow: 0 14px 34px rgba(227,34,22,.22);
  font-family: var(--serif);
  font-weight: 800;
}
.method-step h3 { font-size: 17px; }

.testimonial-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card blockquote {
  margin: 0;
}
.testimonial-card p {
  color: rgba(255,246,239,.78);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.28;
  letter-spacing: -0.04em;
}
.testimonial-card footer {
  display: grid;
  gap: 4px;
  margin-top: 28px;
}
.testimonial-card strong {
  color: var(--white);
  font-size: 14px;
}
.testimonial-card span {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
}

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

.about__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 270px;
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,148,72,.20), transparent 14rem),
    linear-gradient(145deg, rgba(255,246,239,.06), rgba(255,246,239,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 80px rgba(0,0,0,.22);
}
.about__seal {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 50%;
  background: rgba(6,5,5,.46);
  box-shadow: 0 0 90px rgba(255,59,50,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.about__seal img { width: 142px; height: 142px; }
.about__copy .section-title { margin-bottom: 20px; }
.about__copy p { color: var(--muted); line-height: 1.7; }
.about__copy p + p { margin-top: 16px; }
.about__proofs { display: grid; gap: 12px; }
.about__proofs div {
  padding: 16px;
  border: 1px solid rgba(255,246,239,.12);
  border-radius: 18px;
  background: rgba(255,246,239,.045);
}
.about__proofs strong { display: block; margin-bottom: 4px; font-size: 18px; }
.about__proofs span { color: var(--muted-2); font-size: 13px; font-weight: 800; }

.faq__layout {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 52px;
}
.faq .section-header { grid-template-columns: 1fr; align-items: start; margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 18px;
  background: rgba(255,246,239,.045);
  overflow: hidden;
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: -0.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.62; font-size: 14px; }

.final-cta { padding-top: 70px; }
.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255,157,125,.32);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,70,48,.78), transparent 16rem),
    radial-gradient(circle at 12% 90%, rgba(255,148,72,.45), transparent 18rem),
    linear-gradient(135deg, rgba(255,148,72,.50), rgba(90,5,7,.94) 42%, rgba(10,5,5,.96));
  box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  width: min(46%, 480px);
  background:
    linear-gradient(90deg, rgba(25, 5, 5, 0.94), rgba(25, 5, 5, 0.44) 34%, rgba(25, 5, 5, 0.12)),
    linear-gradient(180deg, rgba(8, 5, 5, 0.08), rgba(8, 5, 5, 0.68));
  background-size: cover;
  background-position: 58% 12%;
  opacity: 0.38;
  filter: saturate(1.03) contrast(1.05);
  pointer-events: none;
}

.cta-card.media-ready::before {
  background:
    linear-gradient(90deg, rgba(25, 5, 5, 0.98), rgba(25, 5, 5, 0.66) 24%, rgba(25, 5, 5, 0.18) 58%, rgba(25, 5, 5, 0.42)),
    linear-gradient(180deg, rgba(8, 5, 5, 0.05), rgba(8, 5, 5, 0.76)),
    image-set(url("../assets/portrait-theophile.avif") type("image/avif"), url("../assets/portrait-theophile.webp") type("image/webp"), url("../assets/portrait-theophile.jpg") type("image/jpeg"));
  background-size: cover, cover, cover;
  background-position: 50% 50%, 50% 50%, 58% 12% !important;
}

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

.cta-card__portrait {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: min(46%, 480px);
  pointer-events: none;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.cta-card__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 5, 5, .92), rgba(25, 5, 5, .18) 42%, rgba(25, 5, 5, .50)),
    linear-gradient(180deg, rgba(8, 5, 5, .04), rgba(8, 5, 5, .78));
}

.cta-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 12%;
  filter: saturate(1.03) contrast(1.05);
}
.cta-card h2 {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 78px);
  line-height: .95;
  letter-spacing: -0.065em;
}
.cta-card p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255,246,239,.82);
  line-height: 1.62;
}
.cta-card__actions {
  position: relative;
  z-index: 3;
  display: grid;
  align-self: stretch;
  align-content: end;
  gap: 12px;
  min-height: 260px;
}

.footer {
  position: relative;
  padding: 44px 0 26px;
  color: rgba(255,246,239,.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .8fr 1fr;
  gap: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,246,239,.12);
}
.footer__brand { margin-bottom: 16px; }
.footer p, .footer a { color: rgba(255,246,239,.62); font-size: 13px; line-height: 1.65; }
.footer a { display: block; width: fit-content; }
.footer a:hover { color: var(--white); }
.footer h3 { margin: 0 0 14px; color: var(--white); font-size: 14px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,246,239,.08);
  font-size: 12px;
  color: rgba(255,246,239,.42);
}

.reveal { opacity: 1; transform: none; }
.has-gsap .reveal { opacity: 0; transform: translateY(24px); }

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .84; }
  50% { transform: translate3d(-18px,22px,0) scale(1.08); opacity: 1; }
}
@keyframes floatCard {
  0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50% { transform: translate3d(-8px,-14px,0) rotate(1deg); }
}

@media (max-width: 1160px) {
  .nav-links a { padding: 0 9px; }
  .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(250px, 318px); gap: 34px; }
  .hero { min-height: clamp(680px, 90vh, 820px); }
  .hero__title { max-width: 620px; font-size: clamp(50px, 7.2vw, 78px); }
  .hero__lead { max-width: 530px; }
  .portrait-card { width: min(292px, 100%); min-height: 372px; }
  .portrait-scene { min-height: 398px; }
  .hero-card { max-width: 560px; min-height: 440px; }
  .showreel__layout, .faq__layout { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-rail::before { display: none; }
  .about__layout { grid-template-columns: 180px 1fr; }
  .about__proofs { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .about__seal { width: 170px; height: 170px; }
  .about__seal img { width: 116px; height: 116px; }
}

@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { justify-self: center; }
  .hero { min-height: auto; padding-bottom: 78px; }
}

@media (max-width: 940px) {
  .navbar { top: 10px; width: calc(100% - 24px); border-radius: 22px; }
  body.is-scrolled .navbar { top: 10px; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 8px;
    background: rgba(7,5,5,.92);
    box-shadow: 0 22px 72px rgba(0,0,0,.40);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 44px; padding: 0 14px; }
  .navbar > .btn { display: none; }
  .menu-button { display: block; }
  .section-header { grid-template-columns: 1fr; align-items: start; }
  .project-shell { grid-column: span 12; }
  .problem-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__actions { display: flex; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 88px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand__copy small { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .hero { min-height: auto; padding: 112px 0 64px; }
  .hero__title { font-size: clamp(54px, 16vw, 86px); }
  .hero__actions .btn, .cta-card__actions .btn { width: 100%; }
  .hero-card { min-height: 420px; padding: 18px; border-radius: 26px; }
  .metric-grid { grid-template-columns: 1fr; position: static; margin-top: 18px; }
  .section { padding: 66px 0; }
  .section-title { font-size: clamp(36px, 11vw, 54px); }
  .showreel__layout { gap: 28px; }
  .motion-stage { min-height: 410px; border-radius: 26px; }
  .browser-shell { inset: 18px; }
  .motion-card--large, .motion-card--floating { width: auto; left: 18px; right: 18px; }
  .motion-card--large { top: 22px; }
  .motion-card--floating { bottom: 54px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card__visual { min-height: 210px; }
  .result-grid, .offers-grid, .method-rail, .about__layout, .about__proofs, .footer__grid { grid-template-columns: 1fr; }
  .offer-card { min-height: auto; }
  .method-step span { margin-bottom: 24px; }
  .about__layout { padding: 24px; }
  .about__seal { width: 150px; height: 150px; }
  .footer__bottom { flex-direction: column; }
}

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

/* Preview(5) motion and detail layer, adapted to the final section/copy structure. */
:root {
  --ts-cursor-x: 50vw;
  --ts-cursor-y: 28vh;
  --scroll-progress: 0;
  --nav-x: 0px;
  --nav-y: 0px;
  --nav-w: 0px;
  --nav-h: 0px;
  --nav-opacity: 0;
  --hero-depth-x: 0px;
  --hero-depth-y: 0px;
}

.site {
  position: relative;
  overflow: hidden;
}

.site::after {
  content: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(430px circle at var(--ts-cursor-x) var(--ts-cursor-y), rgba(255, 132, 72, 0.105), transparent 64%),
    radial-gradient(260px circle at var(--ts-cursor-x) var(--ts-cursor-y), rgba(255, 246, 239, 0.055), transparent 70%);
  mix-blend-mode: screen;
}

.ts-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #ff3128, #ff9448 54%, #ffe2b8);
  box-shadow: 0 0 18px rgba(255, 76, 49, 0.58), 0 0 36px rgba(255, 148, 72, 0.22);
}

.ts-noise-layer {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.nav-links {
  position: relative;
  isolation: isolate;
}

.nav-links__indicator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: var(--nav-w);
  height: var(--nav-h);
  border-radius: 999px;
  transform: translate3d(var(--nav-x), var(--nav-y), 0);
  opacity: var(--nav-opacity);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 201, 145, 0.26), transparent 62%),
    linear-gradient(135deg, rgba(255, 246, 239, 0.12), rgba(255, 246, 239, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 239, 0.14),
    0 12px 32px rgba(255, 67, 43, 0.12);
  transition: opacity 0.22s ease;
}

.nav-links a {
  position: relative;
  z-index: 1;
}

.nav-links a.is-active {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 148, 72, 0.24), transparent 68%),
    rgba(255, 246, 239, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 239, 0.11),
    0 8px 22px rgba(227, 34, 22, 0.12);
}

.brand-logo img {
  transition: transform 0.45s cubic-bezier(.22, 1, .36, 1), filter 0.45s ease;
}

.brand-logo:hover img {
  transform: rotate(-6deg) scale(1.055);
  filter: drop-shadow(0 10px 24px rgba(255, 75, 46, 0.28));
}

.hero::before {
  transform: none;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 18%;
  width: 2px;
  height: 55%;
  border-radius: 99px;
  background: linear-gradient(to bottom, transparent, rgba(255, 148, 72, 0.75), rgba(255, 47, 40, 0.2), transparent);
  box-shadow: 0 0 22px rgba(255, 86, 50, 0.34);
  opacity: 0.72;
}

.title-highlight {
  color: transparent;
  background: linear-gradient(100deg, #fff4e9 0%, #ffd19b 22%, #ff6a3d 52%, #ff3128 74%, #fff1df 100%);
  background-size: 210% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 8;
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 246, 239, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.28s ease;
}

.hero-scroll-cue:hover {
  color: rgba(255, 246, 239, 0.88);
}

.hero-scroll-cue__mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 246, 239, 0.22);
  border-radius: 999px;
  background: rgba(5, 4, 4, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 28px rgba(255, 74, 48, 0.08);
}

.hero-scroll-cue__mouse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #ff9448;
  box-shadow: 0 0 16px rgba(255, 148, 72, 0.74);
  animation: scrollDot 1.7s cubic-bezier(.22, 1, .36, 1) infinite;
}

.craft-strip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 24px;
  min-height: 72px;
  margin-top: -36px;
  margin-bottom: 12px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 239, 0.11);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 246, 239, 0.045), rgba(255, 246, 239, 0.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 80px rgba(0,0,0,0.18);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.proof-strip__track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  width: max-content;
  margin-left: 0;
  margin-right: 0;
  animation: craftMarquee 24s linear infinite;
}

.craft-strip:hover .proof-strip__track {
  animation-play-state: paused;
}

.craft-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 246, 239, 0.12);
  border-radius: 999px;
  background: rgba(5, 4, 4, 0.42);
  color: rgba(255, 246, 239, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.craft-chip::before {
  content: "✦";
  color: #ff9448;
  filter: drop-shadow(0 0 12px rgba(255, 148, 72, 0.6));
}

.section {
  isolation: isolate;
}

.section::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 50%;
  z-index: -1;
  width: min(44rem, 70vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(255, 71, 48, 0.095), transparent 67%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.section.is-soft-active::before {
  opacity: 1;
}

.section-header {
  position: relative;
}

.section-header::before {
  content: attr(data-section-no);
  position: absolute;
  right: 0;
  top: -86px;
  z-index: -1;
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 138px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(255, 246, 239, 0.03);
  pointer-events: none;
}

.project-card,
.offer-card,
.problem-card,
.result-item,
.method-step,
.testimonial-card {
  --spot-x: 50%;
  --spot-y: 20%;
  position: relative;
}

.project-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-lift: 0px;
  transform: perspective(980px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, var(--card-lift), 0);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-shell:hover .project-card {
  --card-lift: -8px;
}

.project-card::after {
  content: attr(data-project-index);
  position: absolute;
  top: 58px;
  left: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 246, 239, 0.15);
  border-radius: 14px;
  background: rgba(5, 4, 4, 0.58);
  color: rgba(255, 246, 239, 0.80);
  backdrop-filter: blur(12px);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 800;
}

.project-card::before,
.offer-card::before,
.problem-card::before,
.result-item::before,
.method-step::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(260px circle at var(--spot-x) var(--spot-y), rgba(255, 246, 239, 0.13), transparent 54%),
    radial-gradient(340px circle at var(--spot-x) var(--spot-y), rgba(255, 59, 50, 0.13), transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

.project-shell:hover .project-card::before,
.offer-card:hover::before,
.problem-card:hover::before,
.result-item:hover::before,
.method-step:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.project-card > *,
.offer-card > *,
.problem-card > *,
.result-item > *,
.method-step > *,
.testimonial-card > * {
  position: relative;
  z-index: 1;
}

.cta-card {
  isolation: isolate;
  transform: translateZ(0);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.12) 32%, transparent 54%);
  transform: translateX(-68%);
  opacity: 0.72;
  mix-blend-mode: screen;
  transition: transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.cta-card:hover::after {
  transform: translateX(68%);
}

.cta-card .btn-primary {
  animation: ctaBreath 4.8s ease-in-out infinite;
}

.cta-card__spark {
  position: absolute;
  z-index: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 238, 209, 0.86);
  box-shadow: 0 0 18px rgba(255, 148, 72, 0.75), 0 0 42px rgba(255, 48, 37, 0.32);
  pointer-events: none;
  animation: ctaSparkFloat 6.5s ease-in-out infinite;
}

.cta-card__spark:nth-of-type(1) { left: 72%; top: 18%; animation-delay: 0s; }
.cta-card__spark:nth-of-type(2) { left: 88%; top: 36%; animation-delay: -1.5s; transform: scale(0.72); }
.cta-card__spark:nth-of-type(3) { left: 67%; top: 73%; animation-delay: -3s; transform: scale(0.82); }
.cta-card__spark:nth-of-type(4) { left: 94%; top: 74%; animation-delay: -4.4s; transform: scale(0.58); }

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

@keyframes heroSidePulse {
  0%, 100% { opacity: 0.58; filter: blur(0px); }
  50% { opacity: 0.95; filter: blur(0.4px); }
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0; }
}

@keyframes craftMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--marquee-distance, 50%) * -1), 0, 0); }
}

@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 16px 46px rgba(227, 34, 22, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24); }
  50% { box-shadow: 0 22px 64px rgba(255, 79, 52, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
}

@keyframes ctaSparkFloat {
  0%, 100% { translate: 0 0; opacity: 0.42; }
  50% { translate: 0 -12px; opacity: 1; }
}

@media (max-width: 860px) {
  .site::after,
  .hero-copy::after,
  .hero-scroll-cue,
  .section-header::before,
  .cta-card__spark {
    display: none;
  }

  .craft-strip {
    min-height: 58px;
    margin-top: -18px;
    border-radius: 18px;
  }

  .craft-chip {
    min-height: 32px;
    padding: 0 12px;
    font-size: 10px;
  }

  .project-card {
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-highlight,
  .hero-copy::after,
  .hero-scroll-cue__mouse::before,
  .proof-strip__track,
  .cta-card .btn-primary,
  .cta-card__spark {
    animation: none !important;
  }

  .site::after,
  .project-card {
    transform: none !important;
    will-change: auto !important;
  }
}

/* Hero tuning after importing the preview motion language. */
.hero {
  min-height: clamp(720px, 92vh, 900px);
  padding: 118px 0 86px;
}

.hero__layout {
  gap: clamp(32px, 5vw, 58px);
}

.hero__title {
  max-width: 700px;
  font-size: clamp(54px, 7.1vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.066em;
}

.hero__lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
}

.hero__actions {
  margin-top: 26px;
}

@media (max-width: 1160px) {
  .hero__title {
    max-width: 850px;
    font-size: clamp(58px, 10vw, 104px);
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 112px 0 72px;
  }

  .hero__title {
    font-size: clamp(48px, 15vw, 76px);
    line-height: 0.92;
  }
}

@media (max-width: 940px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 20;
  }

  .nav-links__indicator {
    display: none;
  }
}

/* Intro loader restored from preview(5). */
html.ts-intro-enabled:not(.ts-intro-complete),
html.ts-intro-enabled:not(.ts-intro-complete) body {
  overflow: hidden;
}

html.ts-intro-enabled:not(.ts-intro-complete) .site {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.intro-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 98, 57, 0.18), transparent 22rem),
    radial-gradient(circle at 18% 12%, rgba(255, 148, 72, 0.16), transparent 18rem),
    radial-gradient(circle at 82% 84%, rgba(227, 34, 22, 0.12), transparent 20rem),
    linear-gradient(135deg, #040303 0%, #080405 48%, #160506 100%);
  isolation: isolate;
}

html.ts-intro-enabled .intro-loader {
  display: grid;
}

.intro-loader::before,
.intro-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-loader::before {
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 12.5vw 100%, 100% 120px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0 18rem, transparent 42rem);
  mask-image: radial-gradient(circle at 50% 45%, #000 0 18rem, transparent 42rem);
}

.intro-loader::after {
  z-index: 4;
  background: radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(0,0,0,0.32) 58%, rgba(0,0,0,0.72) 100%);
}

.intro-loader__grain {
  position: absolute;
  inset: -35%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,120,68,0.9) 0 1px, transparent 1.8px);
  background-size: 52px 52px, 74px 74px;
  background-position: 0 0, 18px 28px;
  transform: rotate(-8deg);
}

.intro-loader__particle {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffd6a6;
  box-shadow: 0 0 22px rgba(255, 122, 61, 0.82);
  opacity: 0;
}

.intro-loader__particle:nth-child(2) { left: 18%; top: 22%; }
.intro-loader__particle:nth-child(3) { left: 76%; top: 19%; width: 4px; height: 4px; }
.intro-loader__particle:nth-child(4) { left: 84%; top: 62%; width: 6px; height: 6px; }
.intro-loader__particle:nth-child(5) { left: 25%; top: 78%; width: 4px; height: 4px; }
.intro-loader__particle:nth-child(6) { left: 58%; top: 83%; }
.intro-loader__particle:nth-child(7) { left: 38%; top: 15%; width: 3px; height: 3px; }

.intro-loader__scene {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  width: min(76vw, 620px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.intro-seal-mark {
  position: relative;
  z-index: 3;
  width: clamp(210px, 36vw, 430px);
  aspect-ratio: 1;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.intro-seal-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 32px 90px rgba(0,0,0,0.62));
}

.intro-ring,
.intro-arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform-origin: 50% 50%;
}

.intro-t,
.intro-s,
.intro-diamond,
.intro-label,
.intro-loader__copy span {
  opacity: 0;
}

.intro-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.intro-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 239, 0.12);
  color: rgba(255, 246, 239, 0.58);
  background: rgba(255, 246, 239, 0.045);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 148, 72, 0.9);
}

.intro-label--top { left: 50%; top: 1%; transform: translateX(-50%); }
.intro-label--right { right: -3%; top: 48%; transform: translateY(-50%); }
.intro-label--bottom { left: 50%; bottom: 1%; transform: translateX(-50%); }
.intro-label--left { left: -3%; top: 48%; transform: translateY(-50%); }

.intro-loader__copy {
  position: absolute;
  left: 50%;
  bottom: -58px;
  z-index: 4;
  display: inline-flex;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 246, 239, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro-loader__copy span:nth-child(2) {
  color: rgba(255, 148, 72, 0.82);
}

.intro-birth-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(42vw, 460px);
  aspect-ratio: 1;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.28);
  opacity: 0;
  border: 1px solid rgba(255, 226, 196, 0.34);
  background: radial-gradient(circle, rgba(255, 148, 72, 0.13), transparent 55%);
  box-shadow:
    0 0 0 1px rgba(255, 246, 239, 0.04),
    0 0 80px rgba(255, 70, 48, 0.25),
    inset 0 0 70px rgba(255, 148, 72, 0.12);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Final density pass. */
.navbar {
  width: min(calc(100% - 32px), 1240px);
  gap: 12px;
}

.nav-links {
  gap: 2px;
  padding: 4px;
  background: rgba(4, 3, 3, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 246, 239, 0.055);
}

.nav-links a {
  min-height: 36px;
  padding: 0 10px;
  overflow: hidden;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
  transition: transform 0.52s cubic-bezier(.22, 1, .36, 1);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 148, 72, 0.24), transparent 68%),
    rgba(255, 246, 239, 0.095);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 239, 0.11),
    0 8px 22px rgba(227, 34, 22, 0.12);
}

.nav-links a:hover::before {
  transform: translateX(110%);
}

.section-title {
  max-width: 720px;
  font-size: clamp(32px, 3.9vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.section-lead {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.58;
}

.section-header {
  margin-bottom: 30px;
}

.hero {
  min-height: clamp(680px, 88vh, 840px);
  padding: 106px 0 76px;
}

.hero__title {
  max-width: 650px;
  font-size: clamp(46px, 6.15vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.hero__lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: clamp(15px, 1.1vw, 17px);
}

.hero__actions {
  margin-top: 22px;
}

.hero-card {
  min-height: 460px;
}

.code-window code {
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .navbar {
    width: calc(100% - 24px);
  }

  .nav-links a {
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
    padding: 8px;
    border-color: rgba(255, 246, 239, 0.16);
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 148, 72, 0.12), transparent 12rem),
      linear-gradient(145deg, rgba(8, 6, 6, 0.98), rgba(18, 6, 6, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 246, 239, 0.08);
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
    justify-content: flex-start;
  }
}

/* Premium portrait hero card restored from preview(5), compacted for this layout. */
.hero__layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(330px, 100%);
}

.portrait-scene {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  isolation: isolate;
}

.portrait-glow {
  position: absolute;
  inset: 8% -10% 2% auto;
  z-index: 0;
  width: 94%;
  border-radius: 999px 999px 38px 38px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 208, 154, 0.56), transparent 8rem),
    radial-gradient(circle at 74% 58%, rgba(255, 59, 50, 0.44), transparent 13rem),
    linear-gradient(135deg, rgba(255, 148, 72, 0.24), rgba(85, 4, 5, 0.52));
  filter: blur(20px);
  opacity: 0.82;
}

.portrait-card {
  position: relative;
  z-index: 2;
  width: min(306px, 100%);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 239, 0.20);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 180, 112, 0.28), transparent 9rem),
    rgba(255, 246, 239, 0.055);
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.50),
    0 0 72px rgba(255, 59, 50, 0.15),
    inset 0 1px 0 rgba(255, 246, 239, 0.10);
  transform: translateY(8px);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 210, 165, 0.10), transparent 12rem),
    linear-gradient(to bottom, rgba(0,0,0,0.02) 0%, transparent 38%, rgba(0,0,0,0.72) 100%);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 246, 239, 0.10);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 239, 0.08);
}

.portrait-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.04);
}

.portrait-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 246, 239, 0.17);
  border-radius: 17px;
  background: rgba(7, 5, 5, 0.60);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow: inset 0 1px 0 rgba(255, 246, 239, 0.08);
}

.portrait-caption strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.portrait-caption span {
  color: rgba(255, 246, 239, 0.66);
  font-size: 12px;
  font-weight: 750;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 246, 239, 0.78);
  font-size: 11px;
  white-space: nowrap;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #55ff80;
  box-shadow: 0 0 14px rgba(85, 255, 128, 0.75);
}

.craft-strip {
  margin-top: -22px;
}

.hero-scroll-cue {
  bottom: 46px;
}

.hero__bg {
  mix-blend-mode: screen;
  opacity: 0.46;
}

@media (max-width: 1160px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 318px);
    gap: 28px;
  }

  .hero__copy {
    max-width: 580px;
  }

  .hero__title {
    max-width: 560px;
    font-size: clamp(50px, 5.2vw, 61px);
    line-height: 0.96;
  }

  .hero-visual {
    justify-self: end;
    width: min(318px, 100%);
  }
}

@media (max-width: 980px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__title {
    max-width: 640px;
    font-size: clamp(46px, 6vw, 54px);
  }

  .hero-visual {
    justify-self: center;
    width: min(330px, 100%);
  }
}

@media (min-width: 881px) and (max-width: 980px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(242px, 306px);
    align-items: center;
  }

  .hero__copy {
    max-width: 520px;
  }

  .hero__title {
    max-width: 500px;
    font-size: clamp(48px, 5.6vw, 54px);
  }

  .hero__lead {
    max-width: 500px;
  }

  .hero-visual {
    justify-self: end;
    width: min(306px, 100%);
  }
}

@media (max-width: 680px) {
  .portrait-scene {
    min-height: 360px;
  }

  .portrait-card {
    width: min(292px, 86vw);
    min-height: 352px;
    border-radius: 24px;
  }

  .craft-strip {
    margin-top: 10px;
  }
}

@media (max-width: 860px) {
  .intro-loader__scene {
    width: min(86vw, 500px);
  }

  .intro-label--right,
  .intro-label--left {
    display: none;
  }

  .intro-loader__copy {
    bottom: -46px;
    font-size: 10px;
  }
}

@media (max-width: 680px) {
  .section-title {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .section-lead {
    font-size: 14px;
  }

  .hero {
    padding: 104px 0 64px;
  }

  .hero__title {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.96;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader {
    display: none !important;
  }
}

/* Performance reveal system: native IntersectionObserver, no ScrollTrigger runtime. */
.ts-native-reveals-ready .reveal,
.ts-native-reveals-ready .project-shell,
.ts-native-reveals-ready .offer-card,
.ts-native-reveals-ready .result-item,
.ts-native-reveals-ready .method-step,
.ts-native-reveals-ready .testimonial-card {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity .55s ease var(--reveal-delay, 0ms),
    transform .55s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}

.ts-native-reveals-ready .is-visible,
.ts-native-reveals-ready .is-visible.project-shell,
.ts-native-reveals-ready .is-visible.offer-card,
.ts-native-reveals-ready .is-visible.result-item,
.ts-native-reveals-ready .is-visible.method-step,
.ts-native-reveals-ready .is-visible.testimonial-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Final interaction and section polish */
.hero-scroll-cue {
  position: relative;
  left: auto;
  bottom: auto;
  width: fit-content;
  margin-top: 26px;
  transform: none;
}

.hero__copy .hero-scroll-cue {
  display: grid;
  justify-items: center;
  margin-left: auto;
  margin-right: 4px;
}

.section-rail {
  position: fixed;
  right: 26px;
  top: 50%;
  z-index: 950;
  display: grid;
  gap: 13px;
  padding: 14px 0;
  background: transparent;
  transform: translateY(-50%);
}

.section-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  z-index: -1;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, transparent, rgba(255, 246, 239, .18) 12%, rgba(255, 148, 72, .34) 50%, rgba(255, 246, 239, .18) 88%, transparent);
  box-shadow: 0 0 18px rgba(255, 88, 54, .18);
}

.section-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition: transform .22s ease;
}

.section-rail a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 246, 239, .38);
  box-shadow:
    0 0 0 1px rgba(7, 5, 5, .78),
    0 0 0 4px rgba(255, 246, 239, .035);
  transition: width .22s ease, height .22s ease, background .22s ease, box-shadow .22s ease;
}

.section-rail a::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 246, 239, .08);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease;
}

.section-rail a span {
  position: absolute;
  right: 24px;
  display: block;
  color: rgba(255, 246, 239, .42);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  opacity: .58;
  transform: translateX(4px);
  transition: opacity .22s ease, transform .22s ease, color .22s ease;
}

.section-rail a:not(.has-label) span {
  display: none;
}

.section-rail a:hover,
.section-rail a.is-active {
  transform: scale(1.08);
}

.section-rail a:hover::before,
.section-rail a.is-active::before {
  width: 9px;
  height: 9px;
  background: #ffd09a;
  box-shadow:
    0 0 0 1px rgba(255, 246, 239, .72),
    0 0 0 6px rgba(255, 148, 72, .105),
    0 0 24px rgba(255, 88, 54, .82),
    0 0 44px rgba(255, 148, 72, .30);
}

.section-rail a:hover::after,
.section-rail a.is-active::after {
  border-color: rgba(255, 208, 154, .34);
  opacity: 1;
  transform: scale(1);
}

.section-rail a:hover span,
.section-rail a.is-active span {
  color: rgba(255, 246, 239, .92);
  opacity: 1;
  transform: translateX(0);
}

.problem-card {
  background-image: linear-gradient(180deg, rgba(7,5,5,.42), rgba(7,5,5,.90));
  background-size: cover;
  background-position: center;
}

.problem-card.media-ready {
  background-image:
    linear-gradient(180deg, rgba(7,5,5,.28), rgba(7,5,5,.88)),
    var(--problem-bg);
}

.problem-card--design { --problem-bg: image-set(url("../assets/problems/design.avif") type("image/avif"), url("../assets/problems/design.webp") type("image/webp"), url("../assets/problems/design.png") type("image/png")); }
.problem-card--slow { --problem-bg: image-set(url("../assets/problems/slow.avif") type("image/avif"), url("../assets/problems/slow.webp") type("image/webp"), url("../assets/problems/slow.png") type("image/png")); }
.problem-card--blocked { --problem-bg: image-set(url("../assets/problems/blocked.avif") type("image/avif"), url("../assets/problems/blocked.webp") type("image/webp"), url("../assets/problems/blocked.png") type("image/png")); }

.offer-card {
  min-height: 380px;
}

.offer-card ul {
  margin-top: 20px;
  padding-top: 0;
}

.method-rail {
  align-items: stretch;
}

.method-step {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: linear-gradient(180deg, rgba(7,5,5,.24), rgba(7,5,5,.88));
  background-size: cover;
  background-position: center;
}

.method-step.media-ready {
  background-image:
    linear-gradient(180deg, rgba(7,5,5,.12), rgba(7,5,5,.38) 34%, rgba(7,5,5,.90)),
    var(--method-bg);
}

.method-step::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 34px;
  z-index: 3;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,148,72,.7), transparent);
  pointer-events: none;
}

.method-step:last-child::after {
  display: none;
}

.method-step span {
  margin-bottom: auto;
}

.method-step h3 {
  max-width: 12ch;
}

.method-step--scope { --method-bg: image-set(url("../assets/method/scope.avif") type("image/avif"), url("../assets/method/scope.webp") type("image/webp"), url("../assets/method/scope.png") type("image/png")); }
.method-step--prep { --method-bg: image-set(url("../assets/method/prep.avif") type("image/avif"), url("../assets/method/prep.webp") type("image/webp"), url("../assets/method/prep.png") type("image/png")); }
.method-step--build { --method-bg: image-set(url("../assets/method/build.avif") type("image/avif"), url("../assets/method/build.webp") type("image/webp"), url("../assets/method/build.png") type("image/png")); }
.method-step--polish { --method-bg: image-set(url("../assets/method/polish.avif") type("image/avif"), url("../assets/method/polish.webp") type("image/webp"), url("../assets/method/polish.png") type("image/png")); }
.method-step--handoff { --method-bg: image-set(url("../assets/method/handoff.avif") type("image/avif"), url("../assets/method/handoff.webp") type("image/webp"), url("../assets/method/handoff.png") type("image/png")); }

.method .section-header::before,
.testimonials .section-header::before {
  top: -118px;
  right: 18px;
}

@media (max-width: 1180px) {
  .section-rail {
    display: none;
  }
}

@media (max-width: 1160px) {
  .method-step::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-scroll-cue,
  .hero__copy .hero-scroll-cue {
    display: none;
  }

  .cta-card::before {
    width: 62%;
    opacity: 0.20;
    background-position: 58% 10%;
  }

  .cta-card__portrait {
    width: 68%;
    opacity: 0.18;
  }
}

/* Responsive audit pass */
@media (max-width: 1160px) {
  .projects-grid {
    row-gap: 30px;
  }

  .project-shell {
    grid-column: span 12;
  }

  .project-card {
    min-height: 360px;
  }

  .project-card__body {
    padding: clamp(22px, 3vw, 30px);
  }

  .offers-grid {
    align-items: stretch;
  }

  .offer-card:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 940px) {
  .project-card {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  }

  .testimonials .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .project-shell {
    padding-top: 34px;
  }

  .project-shell::before {
    top: 33px;
    width: min(238px, calc(100% - 32px));
  }

  .project-card__tags {
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .project-card__tags span {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: .055em;
  }

  .project-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-card__body {
    padding: 22px;
  }

  .project-card::after {
    top: 50px;
    left: 16px;
  }

  .offers-grid,
  .testimonials .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .offer-card:last-child {
    grid-column: auto;
  }

  .testimonial-card p {
    font-size: clamp(19px, 6vw, 23px);
  }

  .cta-card {
    min-height: 520px;
    padding: 28px;
  }

  .cta-card__actions {
    align-self: end;
  }
}

/* Legal page */
.legal-page .site {
  min-height: 100vh;
}

.legal-main {
  padding-top: 96px;
}

.legal-hero {
  padding-bottom: 42px;
}

.legal-content {
  padding-top: 24px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255,246,239,.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,246,239,.07), rgba(255,246,239,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 72px rgba(0,0,0,.20);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.66;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card a {
  color: var(--peach);
  font-weight: 800;
}

@media (max-width: 760px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}
