:root {
  --ink: #111112;
  --muted: #67686f;
  --line: #dedfd8;
  --paper: #f4f5f0;
  --paper-strong: #fffdf7;
  --charcoal: #171717;
  --blue: #1e6cff;
  --green: #168365;
  --coral: #ef5a43;
  --yellow: #f5b82e;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(17, 17, 18, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 18, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: var(--paper);
  transition: opacity 420ms ease;
}

body.post-hero::after {
  opacity: 1;
}

body.post-hero .motion-field {
  opacity: 0;
  transition: opacity 400ms ease;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

.motion-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: var(--paper);
  transition: opacity 400ms ease;
}

.cursor-frame {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 18, 0.54);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -80px), var(--cursor-y, -80px), 0) translate3d(-50%, -50%, 0) scale(var(--cursor-scale, 0.86));
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
  mix-blend-mode: multiply;
}

.cursor-frame::before,
.cursor-frame::after {
  content: "";
  position: absolute;
  background: rgba(17, 17, 18, 0.72);
}

.cursor-frame::before {
  left: 50%;
  top: -7px;
  width: 1px;
  height: 56px;
}

.cursor-frame::after {
  left: -7px;
  top: 50%;
  width: 56px;
  height: 1px;
}

.cursor-frame.is-visible {
  opacity: 1;
}

.cursor-frame.is-active {
  --cursor-scale: 1.18;
  border-color: var(--coral);
  background: rgba(245, 184, 46, 0.16);
}

.cursor-frame.is-muted {
  opacity: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(17, 17, 18, 0.1);
  background: rgba(244, 245, 240, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-meta,
.hero-actions,
.section-label,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 46%, var(--ink) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--ink) 46% 54%, transparent 54%),
    var(--yellow);
}

.site-nav {
  justify-self: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.nav-cta,
.button {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
  background: #2a2a2b;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 86px 32px 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 253, 247, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(244, 245, 240, 1) 0%, rgba(244, 245, 240, 1) 48%, rgba(244, 245, 240, 0.9) 62%, rgba(244, 245, 240, 0.38) 100%),
    linear-gradient(180deg, rgba(30, 108, 255, 0.035), transparent 46%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1000px, 67vw);
  min-width: 0;
  padding-left: max(0px, calc((100vw - 1180px) / 2));
  isolation: isolate;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -42px -64px -46px -64px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 245, 240, 1) 0%, rgba(244, 245, 240, 1) 66%, rgba(244, 245, 240, 0.84) 88%, transparent 100%),
    rgba(255, 253, 247, 0.86);
  box-shadow: 0 0 150px rgba(244, 245, 240, 1);
}

.eyebrow,
.section-label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(30, 120, 80, 0.1);
  border: 1px solid rgba(30, 120, 80, 0.22);
  border-radius: 20px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 5.45vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(520px, 100%);
  margin: 24px 0 0;
  color: #37383f;
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--ink);
  color: var(--paper-strong);
}

.button.secondary {
  background: rgba(255, 250, 241, 0.74);
  color: var(--ink);
}

.button.secondary:hover {
  transform: translateY(-1px);
  background: var(--paper-strong);
}

.hero-meta {
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin-top: 34px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  color: #34343a;
  font-size: 13px;
  font-weight: 700;
}

.hero-machine {
  position: absolute;
  right: max(24px, calc((100vw - 1300px) / 2));
  top: 112px;
  z-index: 1;
  width: min(40vw, 570px);
  height: calc(100% - 154px);
  min-height: 500px;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.88;
  filter: saturate(0.98);
}

.hero-machine::before {
  content: "";
  position: absolute;
  inset: -38px -24px -42px -80px;
  z-index: -1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 62% 44%, rgba(255, 253, 247, 0.68), transparent 46%),
    linear-gradient(90deg, rgba(244, 245, 240, 0.12), rgba(244, 245, 240, 0.82));
  box-shadow: 0 0 120px rgba(244, 245, 240, 0.82);
}

.machine-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.72), rgba(255, 253, 247, 0.36)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(17, 17, 18, 0.045) 18px 19px);
  box-shadow: 0 24px 90px rgba(17, 17, 18, 0.14);
  transform-style: preserve-3d;
  animation: machineDrift 8s ease-in-out infinite;
}

.machine-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.64) 44%, transparent 54% 100%);
  transform: translateX(-120%);
  animation: scanSweep 4.8s ease-in-out infinite;
}

.machine-frame span {
  position: absolute;
  display: block;
  border-radius: 5px;
}

.frame-a {
  right: 0;
  top: 10px;
  width: 330px;
  height: 216px;
  transform: rotateX(4deg) rotateY(-12deg) rotateZ(1.5deg);
}

.frame-b {
  left: 46px;
  top: 210px;
  width: 270px;
  height: 330px;
  animation-delay: -2.4s;
  transform: rotateX(3deg) rotateY(10deg) rotateZ(-2.2deg);
}

.frame-c {
  right: 34px;
  bottom: 0;
  width: 390px;
  height: 194px;
  animation-delay: -4.2s;
  transform: rotateX(7deg) rotateY(-6deg) rotateZ(0.8deg);
}

.frame-a span:nth-child(1),
.frame-b span:nth-child(1),
.frame-c span:nth-child(1) {
  left: 22px;
  top: 22px;
  width: 46%;
  height: 20px;
  background: var(--blue);
}

.frame-a span:nth-child(2),
.frame-b span:nth-child(2),
.frame-c span:nth-child(2) {
  right: 28px;
  top: 72px;
  width: 29%;
  height: 96px;
  background: var(--yellow);
}

.frame-a span:nth-child(3),
.frame-b span:nth-child(3),
.frame-c span:nth-child(3) {
  left: 22px;
  bottom: 30px;
  width: 52%;
  height: 18px;
  background: var(--ink);
}

.frame-b span:nth-child(1) {
  background: var(--coral);
}

.frame-b span:nth-child(2) {
  height: 150px;
  background: var(--green);
}

.frame-c span:nth-child(1) {
  width: 62%;
  background: var(--yellow);
}

.machine-timeline {
  position: absolute;
  left: 0;
  right: 16px;
  bottom: 96px;
  height: 2px;
  background: rgba(17, 17, 18, 0.28);
}

.machine-timeline span {
  position: absolute;
  top: -15px;
  width: 52px;
  height: 32px;
  border-radius: 6px;
  background: var(--coral);
  animation: timelinePop 2.8s ease-in-out infinite;
}

.machine-timeline span:nth-child(1) {
  left: 7%;
}

.machine-timeline span:nth-child(2) {
  left: 35%;
  background: var(--blue);
  animation-delay: -0.6s;
}

.machine-timeline span:nth-child(3) {
  left: 61%;
  background: var(--green);
  animation-delay: -1.2s;
}

.machine-timeline span:nth-child(4) {
  left: 84%;
  background: var(--yellow);
  animation-delay: -1.8s;
}

.kinetic-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(17, 17, 18, 0.14);
  background: var(--charcoal);
  color: var(--paper-strong);
}

.kinetic-band::before,
.kinetic-band::after {
  content: "";
  position: absolute;
  inset-block: 0;
  z-index: 2;
  width: 110px;
  pointer-events: none;
}

.kinetic-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--charcoal), transparent);
}

.kinetic-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--charcoal), transparent);
}

.kinetic-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 18px 0;
  animation: marquee 26s linear infinite;
}

.kinetic-track span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.06);
  font-size: clamp(22px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.kinetic-track span:nth-child(3n + 1) {
  color: var(--yellow);
}

.kinetic-track span:nth-child(3n + 2) {
  color: #84aefb;
}

.kinetic-track span:nth-child(3n + 3) {
  color: #68c5a6;
}

.signal-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 64px));
  margin: 12px auto 0;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.signal-strip div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 22px;
  border-right: 1px solid rgba(17, 17, 18, 0.1);
}

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

.metric {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.signal-strip p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0 0;
  scroll-margin-top: 92px;
  position: relative;
  z-index: 1;
}

/* Canvas animation stays only in hero — everything below is solid */
.signal-strip,
.reel-section,
.work-section,
.section,
.cta-section,
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.intro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  min-height: 560px;
  align-items: center;
}

.intro::before,
.fit-copy::before {
  content: none;
}

.intro h2,
.section-heading h2,
.fit h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 253, 247, 0.85),
    0 0 26px rgba(244, 245, 240, 0.88);
}

.intro p,
.fit-copy p,
.cta-section p {
  max-width: 720px;
  margin: 28px 0 0;
  color: #4f5056;
  font-size: 18px;
  line-height: 1.7;
}

.section-heading {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 34px;
  z-index: 1;
}

.compact-heading {
  align-items: end;
}

.section-heading::before {
  content: none;
}

.intro-content,
.section-heading h2,
.fit-copy > * {
  position: relative;
  z-index: 1;
}

.section-note {
  max-width: 720px;
  margin: 18px 0 0;
  color: #56575e;
  font-size: 17px;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.reel-section {
  padding-top: 96px;
}

.reel-stage {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(17, 17, 18, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.96), rgba(35, 35, 35, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 253, 247, 0.08) 39px 40px);
  box-shadow: 0 34px 100px rgba(17, 17, 18, 0.2);
  color: var(--paper-strong);
}

.reel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 253, 247, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(30, 108, 255, 0.18), transparent 36%, rgba(239, 90, 67, 0.12));
  pointer-events: none;
}

.reel-track {
  position: absolute;
  z-index: 1;
  display: flex;
  gap: 18px;
  width: max-content;
}

.top-track {
  top: 28px;
  left: 0;
  animation: reelLeft 24s linear infinite;
}

.bottom-track {
  right: 0;
  bottom: 28px;
  animation: reelRight 28s linear infinite;
}

.reel-card {
  position: relative;
  flex: 0 0 240px;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.reel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.28) 48%, transparent 58% 100%);
  animation: scanSweep 5.2s ease-in-out infinite;
}

.reel-card span {
  position: absolute;
  display: block;
  border-radius: 5px;
}

.reel-card span:nth-child(1) {
  left: 18px;
  top: 18px;
  width: 58%;
  height: 18px;
  background: currentColor;
}

.reel-card span:nth-child(2) {
  right: 18px;
  top: 54px;
  width: 34%;
  height: 58px;
  background: currentColor;
  opacity: 0.74;
}

.reel-card span:nth-child(3) {
  left: 18px;
  bottom: 20px;
  width: 46%;
  height: 12px;
  background: rgba(255, 253, 247, 0.72);
}

.color-blue {
  color: #75a4ff;
}

.color-coral {
  color: #ff7a61;
}

.color-green {
  color: #61caa8;
}

.color-yellow {
  color: #ffd05c;
}

.color-ink {
  color: #f8f8f1;
}

.editor-surface {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  width: min(820px, calc(100% - 72px));
  min-height: 350px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 8px;
  background: rgba(244, 245, 240, 0.08);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
}

.editor-preview {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 247, 0.08) 1px, transparent 1px),
    #111112;
  background-size: 38px 38px;
}

.editor-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: inherit;
  pointer-events: none;
}

.editor-preview span {
  position: absolute;
  display: block;
  border-radius: 6px;
  animation: previewFloat 5s ease-in-out infinite;
}

.editor-preview span:nth-child(1) {
  left: 32px;
  top: 34px;
  width: 52%;
  height: 34px;
  background: var(--yellow);
}

.editor-preview span:nth-child(2) {
  right: 42px;
  top: 92px;
  width: 33%;
  height: 128px;
  background: var(--blue);
  animation-delay: -1.4s;
}

.editor-preview span:nth-child(3) {
  left: 32px;
  bottom: 54px;
  width: 45%;
  height: 82px;
  background: var(--coral);
  animation-delay: -2.3s;
}

.editor-preview span:nth-child(4) {
  right: 42px;
  bottom: 48px;
  width: 28%;
  height: 22px;
  background: var(--green);
  animation-delay: -3.1s;
}

.editor-stack {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 7px;
  background: rgba(17, 17, 18, 0.42);
}

.editor-stack span {
  display: block;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 253, 247, 0.14);
  transform-origin: left center;
  animation: stackPulse 2.8s ease-in-out infinite;
}

.editor-stack span:nth-child(1) {
  background: var(--yellow);
}

.editor-stack span:nth-child(2) {
  width: 76%;
  background: var(--blue);
  animation-delay: -0.4s;
}

.editor-stack span:nth-child(3) {
  width: 88%;
  background: var(--green);
  animation-delay: -0.8s;
}

.editor-stack span:nth-child(4) {
  width: 62%;
  background: var(--coral);
  animation-delay: -1.2s;
}

.editor-stack span:nth-child(5) {
  width: 92%;
  animation-delay: -1.6s;
}

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

.direction-card,
.package-card,
.studio-panel {
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(10px);
}

.direction-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 14px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.direction-card:hover,
.package-card:hover {
  border-color: rgba(17, 17, 18, 0.24);
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.13);
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translateY(-3px);
}

.direction-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(17, 17, 18, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 18, 0.05) 1px, transparent 1px),
    #f5f4ec;
  background-size: 28px 28px;
}

.direction-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.66) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: scanSweep 6s ease-in-out infinite;
}

.direction-visual span {
  position: absolute;
  display: block;
  border-radius: 6px;
}

.direction-problem span:nth-child(1) {
  left: 20px;
  top: 26px;
  width: 54%;
  height: 24px;
  background: var(--coral);
}

.direction-problem span:nth-child(2) {
  right: 26px;
  top: 78px;
  width: 34%;
  height: 88px;
  background: var(--green);
}

.direction-problem span:nth-child(3) {
  left: 20px;
  bottom: 26px;
  width: 48%;
  height: 18px;
  background: var(--ink);
}

.direction-feature span:nth-child(1) {
  inset: 22px 22px auto;
  height: 28px;
  background: var(--blue);
}

.direction-feature span:nth-child(2) {
  left: 24px;
  bottom: 26px;
  width: 38%;
  height: 86px;
  background: var(--paper-strong);
  border: 1px solid rgba(17, 17, 18, 0.14);
}

.direction-feature span:nth-child(3) {
  right: 24px;
  bottom: 26px;
  width: 36%;
  height: 86px;
  background: var(--yellow);
}

.direction-social span:nth-child(1) {
  left: 22px;
  top: 28px;
  width: calc(100% - 44px);
  height: 20px;
  background: var(--ink);
}

.direction-social span:nth-child(2) {
  left: 22px;
  top: 86px;
  width: calc(100% - 44px);
  height: 20px;
  background: var(--green);
}

.direction-social span:nth-child(3) {
  left: 22px;
  top: 144px;
  width: calc(100% - 44px);
  height: 20px;
  background: var(--blue);
}

.direction-copy {
  padding: 22px 6px 6px;
}

.direction-copy span,
.package-kicker {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-copy h3,
.package-card h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.14;
}

.direction-copy p,
.package-card p,
.studio-points p {
  margin: 14px 0 0;
  color: #53545b;
  font-size: 16px;
  line-height: 1.65;
}

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

.package-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 18, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 18, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
}

.featured-package {
  background: var(--charcoal);
  color: var(--paper-strong);
}

.featured-package p,
.featured-package li {
  color: #d4cec2;
}

.featured-package .text-link {
  color: var(--yellow);
}

.package-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
  color: #4f5056;
  font-size: 15px;
  line-height: 1.45;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}

.featured-package li::before {
  background: var(--yellow);
}

.package-question {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.9)),
    linear-gradient(90deg, rgba(17, 17, 18, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 18, 0.045) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.07);
}

.package-question span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.package-question h3 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.package-question p {
  margin: 0;
  color: #53545b;
  font-size: 16px;
  line-height: 1.6;
}

.package-question .text-link {
  margin-top: 0;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 36px;
}

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

.service-card,
.process-list article,
.fit-panel,
.cta-section {
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(8px);
}

.service-card {
  position: relative;
  min-height: 386px;
  padding: 14px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  will-change: transform;
}

.service-card::after,
.process-list article::after,
.fit-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 253, 247, 0.78);
}

.service-card:hover {
  border-color: rgba(17, 17, 18, 0.28);
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.14);
}

.preview {
  position: relative;
  height: 154px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(17, 17, 18, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 18, 0.05) 1px, transparent 1px),
    #f5f4ec;
  background-size: 26px 26px;
}

.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, 0.58) 46%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: scanSweep 5.4s ease-in-out infinite;
}

.service-card:hover .preview::before {
  animation-duration: 2.2s;
}

.preview span {
  position: absolute;
  display: block;
  border-radius: 5px;
  transition: transform 260ms ease;
}

.service-card:hover .preview span:nth-child(1) {
  transform: translateY(-4px);
}

.service-card:hover .preview span:nth-child(2) {
  transform: translateX(-5px) translateY(3px);
}

.service-card:hover .preview span:nth-child(3) {
  transform: translateX(5px) translateY(-2px);
}

.ad-preview span:nth-child(1) {
  inset: 18px auto auto 18px;
  width: 52%;
  height: 18px;
  background: var(--ink);
}

.ad-preview span:nth-child(2) {
  right: 18px;
  bottom: 18px;
  width: 42%;
  height: 72px;
  background: var(--coral);
}

.ad-preview span:nth-child(3) {
  left: 18px;
  bottom: 24px;
  width: 32%;
  height: 48px;
  background: var(--yellow);
}

.product-preview span:nth-child(1) {
  inset: 20px 18px auto;
  height: 28px;
  background: var(--blue);
}

.product-preview span:nth-child(2) {
  left: 18px;
  bottom: 18px;
  width: 44%;
  height: 70px;
  background: var(--paper-strong);
  border: 1px solid rgba(17, 17, 18, 0.12);
}

.product-preview span:nth-child(3) {
  right: 18px;
  bottom: 18px;
  width: 34%;
  height: 70px;
  background: var(--green);
}

.launch-preview span:nth-child(1) {
  inset: 18px 18px auto auto;
  width: 66px;
  height: 66px;
  background: var(--yellow);
  border-radius: 50%;
}

.launch-preview span:nth-child(2) {
  left: 18px;
  bottom: 26px;
  width: 56%;
  height: 20px;
  background: var(--ink);
}

.launch-preview span:nth-child(3) {
  left: 18px;
  bottom: 56px;
  width: 34%;
  height: 20px;
  background: var(--coral);
}

.system-preview span:nth-child(1) {
  left: 18px;
  top: 18px;
  width: calc(100% - 36px);
  height: 16px;
  background: var(--ink);
}

.system-preview span:nth-child(2) {
  left: 18px;
  top: 58px;
  width: calc(100% - 36px);
  height: 16px;
  background: var(--blue);
}

.system-preview span:nth-child(3) {
  left: 18px;
  top: 98px;
  width: calc(100% - 36px);
  height: 16px;
  background: var(--green);
}

.service-card h3,
.process-list h3 {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 253, 247, 0.8);
}

.process-list article {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.92);
}

.process-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.process-list article:hover::before {
  transform: scaleX(1);
}

.service-card p,
.process-list p,
.fit-panel p {
  margin: 12px 0 0;
  color: #53545b;
  font-size: 15px;
  line-height: 1.6;
}

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

.process-list article {
  min-height: 260px;
  padding: 28px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 13px;
  font-weight: 800;
}

.fit {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: start;
}

.fit-copy {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.fit-panel {
  position: relative;
  padding: 10px;
  overflow: hidden;
}

.fit-panel div {
  padding: 22px;
  border-bottom: 1px solid rgba(17, 17, 18, 0.1);
}

.fit-panel div:last-child {
  border-bottom: 0;
}

.fit-panel span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.studio-panel {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.88)),
    linear-gradient(90deg, rgba(17, 17, 18, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}

.studio-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

.studio-points p {
  margin-top: 0;
  font-size: 18px;
}

.studio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.studio-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.78);
  color: #34343a;
  font-size: 13px;
  font-weight: 800;
}

.cta-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 52px;
  width: min(1180px, calc(100% - 64px));
  margin: 118px auto 0;
  padding: 40px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper-strong);
}

.cta-section p {
  color: #c8c2b6;
}

.cta-section .button {
  margin-top: 28px;
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--ink);
}

.cta-section .button:hover {
  background: #ffffff;
}

.cta-visual {
  position: relative;
  min-height: 286px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    #202021;
  background-size: 34px 34px;
}

.cta-visual span {
  position: absolute;
  display: block;
  border-radius: 5px;
}

.cta-visual span:nth-child(1) {
  left: 28px;
  top: 34px;
  width: 58%;
  height: 26px;
  background: var(--yellow);
  animation: previewFloat 4.8s ease-in-out infinite;
}

.cta-visual span:nth-child(2) {
  right: 30px;
  top: 86px;
  width: 38%;
  height: 108px;
  background: var(--blue);
  animation: previewFloat 5.2s ease-in-out infinite -1s;
}

.cta-visual span:nth-child(3) {
  left: 28px;
  bottom: 34px;
  width: 46%;
  height: 84px;
  background: var(--coral);
  animation: previewFloat 5.6s ease-in-out infinite -2s;
}

.cta-visual span:nth-child(4) {
  right: 30px;
  bottom: 34px;
  width: 30%;
  height: 24px;
  background: var(--paper-strong);
  animation: previewFloat 4.4s ease-in-out infinite -3s;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .cursor-frame {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    max-width: min(680px, 100%);
  }

  .hero::before {
    background: rgba(244, 245, 240, 0.88);
  }

  .hero-machine {
    right: -170px;
    top: 70px;
    width: 560px;
    min-height: 500px;
    opacity: 0.34;
  }

  .frame-a {
    width: 280px;
    height: 184px;
  }

  .frame-b {
    width: 240px;
    height: 320px;
  }

  .frame-c {
    width: 320px;
    height: 172px;
  }

  .signal-strip,
  .direction-grid,
  .package-grid,
  .service-grid,
  .process-list,
  .fit,
  .studio-panel,
  .cta-section {
    grid-template-columns: 1fr;
  }

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

  .intro,
  .section-heading {
    gap: 10px;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 14px;
  }

  .intro::before,
  .section-heading::before,
  .fit-copy::before {
    inset: -24px -22px;
  }

  .direction-card,
  .package-card {
    min-height: auto;
  }

  .package-question {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reel-stage {
    min-height: 560px;
  }

  .editor-surface {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

  .editor-stack {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 68px 18px 38px;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-inner::before {
    inset: -24px -18px -26px;
    background: linear-gradient(90deg, rgba(244, 245, 240, 0.98), rgba(244, 245, 240, 0.9));
  }

  .hero-machine {
    right: -220px;
    top: 72px;
    width: 520px;
    opacity: 0.2;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(40px, 12vw, 50px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 335px;
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    max-width: 354px;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    min-height: 32px;
    font-size: 12px;
  }

  .signal-strip,
  .section,
  .cta-section,
  .site-footer {
    width: calc(100% - 36px);
  }

  .kinetic-track {
    gap: 10px;
    padding: 12px 0;
  }

  .kinetic-track span {
    min-height: 38px;
    padding: 0 14px;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 18, 0.1);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 76px;
  }

  .intro::before,
  .section-heading::before,
  .fit-copy::before {
    inset: -18px;
  }

  .intro h2,
  .section-heading h2,
  .fit h2,
  .cta-section h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.06;
  }

  .reel-section {
    padding-top: 70px;
  }

  .direction-visual {
    height: 190px;
  }

  .direction-copy h3,
  .package-card h3 {
    font-size: 22px;
  }

  .package-card {
    padding: 22px;
  }

  .package-question {
    padding: 22px;
  }

  .studio-panel {
    padding: 22px;
    gap: 24px;
  }

  .studio-points p {
    font-size: 16px;
  }

  .reel-stage {
    min-height: 470px;
  }

  .reel-card {
    flex-basis: 180px;
    height: 114px;
  }

  .top-track {
    top: 18px;
  }

  .bottom-track {
    bottom: 18px;
  }

  .editor-surface {
    width: calc(100% - 28px);
    min-height: 250px;
    padding: 10px;
  }

  .editor-preview {
    min-height: 228px;
  }

  .editor-preview span:nth-child(1) {
    left: 20px;
    top: 24px;
    height: 26px;
  }

  .editor-preview span:nth-child(2) {
    right: 24px;
    top: 76px;
    height: 88px;
  }

  .editor-preview span:nth-child(3) {
    left: 20px;
    bottom: 38px;
    height: 56px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .process-list article {
    min-height: auto;
  }

  .cta-section {
    margin-top: 76px;
    padding: 22px;
  }

  .cta-visual {
    min-height: 210px;
  }

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

  /* Team — single column on mobile */
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card--full {
    width: 100%;
    justify-self: stretch;
  }

  .team-card {
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 16px;
    align-items: center;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes reelLeft {
  from {
    transform: translateX(-20px);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes reelRight {
  from {
    transform: translateX(20px);
  }

  to {
    transform: translateX(50%);
  }
}

@keyframes machineDrift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

@keyframes scanSweep {
  0%,
  42% {
    transform: translateX(-120%);
  }

  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes timelinePop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.08);
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes stackPulse {
  0%,
  100% {
    transform: scaleX(0.82);
    opacity: 0.62;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Selected work */
.work-section {
  padding-top: 96px;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 18, 0.24);
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.13);
}

.work-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  aspect-ratio: 16 / 9;
  padding: 12px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 17, 18, 0.1);
  background:
    repeating-linear-gradient(135deg, rgba(17, 17, 18, 0.05) 0 10px, transparent 10px 20px),
    #f5f4ec;
}

.work-thumb::after {
  content: attr(data-slot);
  position: absolute;
  left: 13px;
  top: 13px;
  max-width: 72%;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: rgba(17, 17, 18, 0.46);
}

.work-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.work-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--paper-strong);
}

.work-card:hover .work-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.work-card:nth-child(3n + 1) .work-play {
  background: var(--coral);
}

.work-card:nth-child(3n + 2) .work-play {
  background: var(--blue);
}

.work-card:nth-child(3n + 3) .work-play {
  background: var(--green);
}

.work-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(17, 17, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.92);
  color: #34343a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-meta {
  padding: 18px 18px 20px;
}

.work-meta h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.work-meta p {
  margin: 8px 0 0;
  color: #53545b;
  font-size: 14px;
  line-height: 1.55;
}

/* Package scope */
.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0;
}

.package-meta div {
  display: grid;
  gap: 3px;
}

.package-meta dt {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.featured-package .package-meta dt {
  color: var(--yellow);
}

.package-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.featured-package .package-meta dd {
  color: var(--paper-strong);
}

.package-price {
  margin-top: 22px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.package-price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.featured-package .package-price small {
  color: #b9b3a7;
}

/* Contact form */
.cta-section {
  scroll-margin-top: 92px;
}

.cta-copy {
  align-self: center;
}

.cta-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
}

.cta-direct span {
  color: #b9b3a7;
  font-size: 14px;
  font-weight: 700;
}

.cta-direct a {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.cta-direct a:hover {
  border-color: var(--yellow);
}

.cta-form {
  display: grid;
  gap: 12px;
  align-content: center;
}

.cta-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-form label {
  display: grid;
  gap: 6px;
  color: #b9b3a7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.06);
  color: var(--paper-strong);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.cta-form textarea {
  min-height: 92px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.cta-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper-strong) 50%), linear-gradient(135deg, var(--paper-strong) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.cta-form select option {
  color: var(--ink);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255, 250, 241, 0.4);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 250, 241, 0.1);
}

.cta-submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  margin: 2px 0 0;
  min-height: 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .work-section {
    padding-top: 70px;
  }

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

  .cta-form .field-row {
    grid-template-columns: 1fr;
  }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.team-card--full {
  grid-column: 1 / -1;
  width: calc(50% - 7px);
  justify-self: center;
}

.team-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 18, 0.24);
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.13);
}

.team-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: 7px;
  background:
    repeating-linear-gradient(135deg, rgba(17, 17, 18, 0.05) 0 10px, transparent 10px 20px),
    #f5f4ec;
}

.team-photo::after {
  content: attr(data-slot);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 17, 18, 0.46);
}

.team-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.team-role {
  display: inline-block;
  margin-top: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-body p {
  margin: 12px 0 0;
  color: #53545b;
  font-size: 15px;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 14px 40px rgba(23, 23, 23, 0.06);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  transition: color 180ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--green);
}

.faq-item[open] summary {
  color: var(--green);
}

.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.faq-mark::before {
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
}

.faq-mark::after {
  left: 9px;
  top: 0;
  width: 2px;
  height: 20px;
}

.faq-item[open] .faq-mark::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-item p {
  max-width: 760px;
  margin: 0;
  padding: 0 24px 24px;
  color: #53545b;
  font-size: 16px;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  border-top: 1px solid rgba(17, 17, 18, 0.1);
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 700;
}

.footer-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.footer-meta a {
  color: var(--ink);
  font-weight: 700;
}

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

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

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

  .team-card--full {
    width: 100%;
    justify-self: stretch;
  }

  .team-card {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 16px;
    align-items: center;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }
}
