/* ============================================
   BixBite Media — Pixel-Perfect CSS
   ============================================ */

/* --- Custom Properties --- */
:root {
  --ink: #0a0b0a;
  --ink-soft: #111310;
  --paper: #f1f1ea;
  --muted: #a1a49d;
  --line: #f1f1ea2e;
  --crimson: #8B1A1A;
  --crimson-soft: #b34a4a;
  --sans: "DM Sans", sans-serif;
  --display: "Syne", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
button, input, textarea, select { font: inherit }
button, a { -webkit-tap-highlight-color: transparent }
button { border: 0; cursor: pointer }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
::selection { background: var(--crimson); color: var(--ink) }

/* --- Layout --- */
.site-shell {
  background: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.shell-width {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

/* --- Typography --- */
.display {
  font-family: var(--display);
  letter-spacing: -.075em;
  font-weight: 700;
  line-height: .9;
}
.display em {
  font-style: italic;
  font-weight: 500;
}
.section {
  padding: 144px 0;
  position: relative;
}
.section-title {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

/* --- Section Topline / Index --- */
.section-index {
  color: var(--crimson);
  font: 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  display: flex;
}
.section-index > span:first-child {
  color: var(--paper);
  opacity: .55;
}
.index-line {
  opacity: .7;
  background: currentColor;
  width: 42px;
  height: 1px;
}
.topline-aside {
  font: 11px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-topline {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
  display: flex;
}

/* --- Grain Overlay --- */
.grain {
  pointer-events: none;
  z-index: 80;
  opacity: .038;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  z-index: 40;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 82px;
  padding: 0 34px;
  display: flex;
  position: absolute;
  inset: 0 0 auto;
}
.wordmark {
  color: var(--paper);
  letter-spacing: -.04em;
  cursor: pointer;
  background: none;
  align-items: center;
  gap: 9px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
}
.wordmark-mark {
  width: 26px;
  height: 26px;
  color: var(--ink);
  background: var(--crimson);
  font: 800 16px var(--display);
  place-items: center;
  display: grid;
  transform: rotate(-8deg);
}
.wordmark-muted {
  color: #f1f1ea80;
  font-weight: 400;
}
.desktop-links {
  gap: 32px;
  margin-left: 80px;
  display: flex;
}
.desktop-links button {
  color: #f1f1eaad;
  text-transform: uppercase;
  font: 10px var(--mono);
  letter-spacing: .12em;
  background: none;
  transition: color .2s;
}
.desktop-links button:hover { color: var(--crimson) }
.nav-cta {
  color: var(--paper);
  border-left: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  padding: 12px 0 12px 18px;
  display: inline-flex;
  text-transform: uppercase;
  font: 10px var(--mono);
  letter-spacing: .12em;
  background: none;
  transition: color .2s;
}
.nav-cta svg { color: var(--crimson); transition: transform .2s }
.nav-cta:hover svg { transform: translate(2px, -2px) }
.menu-toggle, .mobile-menu { display: none }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  isolation: isolate;
  align-items: flex-end;
  height: 100svh;
  min-height: 760px;
  max-height: 980px;
  display: flex;
  position: relative;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url(images/hero.webp) 50%/cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, #070807eb, #07080780 45%, #07080724),
    linear-gradient(#0000 52%, #070807eb);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .24;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 13% 71%, #8B1A1A59, #0000 23%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(#f1f1ea1f 1px, #0000 1px),
    linear-gradient(90deg, #f1f1ea1f 1px, #0000 1px);
  background-size: 86px 86px;
  -webkit-mask-image: linear-gradient(90deg, #000, #0000 75%);
  mask-image: linear-gradient(90deg, #000, #0000 75%);
}
.hero-content {
  padding: 154px 0 28px;
}
.hero-kicker {
  color: var(--crimson);
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  align-items: center;
  gap: 11px;
  display: flex;
}
.crimson-dot {
  background: var(--crimson);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  display: inline-block;
  box-shadow: 0 0 18px #8B1A1Ab8;
}
.dark-dot {
  background: var(--ink);
  box-shadow: none;
}
.kicker-line {
  background: var(--crimson);
  opacity: .5;
  width: 55px;
  height: 1px;
}
.hero-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .4fr);
  align-items: end;
  gap: 40px;
  margin: auto 0 90px;
  display: grid;
}
.hero-title {
  text-transform: uppercase;
  max-width: 930px;
  margin: 0;
  font-size: clamp(4.8rem, 13.2vw, 12.5rem);
}
.hero-title em { color: var(--crimson) }
.hero-side {
  max-width: 315px;
  padding-bottom: 12px;
}
.hero-side p {
  color: var(--paper);
  letter-spacing: -.02em;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.4;
}
.hero-side p strong {
  color: var(--crimson);
  font-weight: 500;
}
.hero-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  display: flex;
}

/* --- Buttons --- */
.button {
  text-transform: uppercase;
  letter-spacing: .1em;
  min-height: 47px;
  font: 11px var(--mono);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  transition: transform .18s, background .2s, color .2s;
  display: inline-flex;
}
.button:active { transform: scale(.97) }
.button-crimson {
  color: var(--ink);
  background: var(--crimson);
}
.button-crimson:hover { background: var(--crimson-soft) }
.button-dark {
  color: var(--paper);
  background: var(--ink);
}
.button-dark:hover { background: #272a24 }
.text-button, .underlined-button {
  color: var(--paper);
  background: none;
  border-bottom: 1px solid #f1f1ea8c;
  align-items: center;
  gap: 9px;
  padding: 0 0 5px;
  font-size: 12px;
  transition: color .2s, border-color .2s;
  display: inline-flex;
}
.text-button:hover, .underlined-button:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}

/* --- Hero Footer --- */
.hero-footer {
  color: #f1f1ea8c;
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.hero-scroll {
  align-items: center;
  gap: 13px;
  display: flex;
}
.scroll-line {
  background: var(--crimson);
  width: 45px;
  height: 1px;
}

/* --- Reveal Animation --- */
.reveal-up {
  animation: .8s cubic-bezier(.23, 1, .32, 1) both revealUp;
}
.delay-1 { animation-delay: .12s }
.delay-2 { animation-delay: .24s }

@keyframes revealUp {
  0% { opacity: 0; transform: translateY(22px) }
  to { opacity: 1; transform: translateY(0) }
}

/* --- Scroll-triggered reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.23, 1, .32, 1), transform .7s cubic-bezier(.23, 1, .32, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s }
.reveal-delay-2 { transition-delay: .2s }
.reveal-delay-3 { transition-delay: .3s }
.reveal-delay-4 { transition-delay: .4s }

/* --- Hero parallax --- */
.hero-image {
  will-change: transform;
}

/* --- Project card hover --- */
.project-card {
  transition: transform .35s cubic-bezier(.23, 1, .32, 1);
}
.project-card:hover {
  transform: translateY(-6px);
}
.project-image-wrap {
  overflow: hidden;
}
.project-image {
  transition: transform .5s cubic-bezier(.23, 1, .32, 1);
}
.project-card:hover .project-image {
  transform: scale(1.04);
}

/* --- Service row hover --- */
.service-row {
  transition: background .25s ease;
}
.service-row:hover {
  background: #f1f1ea08;
}

/* --- Stats counter animation --- */
.stat-number {
  display: inline-block;
}

/* --- Button press scale --- */
.button-crimson:hover, .button-dark:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: scale(.97);
}

/* --- Smooth scroll line pulse --- */
@keyframes scrollPulse {
  0%, 100% { opacity: .5; width: 45px }
  50% { opacity: 1; width: 55px }
}
.scroll-line {
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--crimson);
  color: var(--paper);
  z-index: 5;
  margin-top: -4px;
  padding: 18px 0 17px;
  position: relative;
  overflow: hidden;
  transform: rotate(-1.1deg) scale(1.02);
}
.ticker-track {
  gap: 44px;
  width: max-content;
  padding-left: 20px;
  animation-name: ticker;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  display: flex;
}
.ticker span {
  font: 700 13px var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  align-items: center;
  gap: 44px;
  display: inline-flex;
  white-space: nowrap;
}
.ticker b {
  font-size: 17px;
  font-weight: 400;
}
@keyframes ticker {
  to { transform: translate(-50%) }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--paper);
  color: var(--ink);
}
.about-layout {
  grid-template-columns: .18fr 1fr auto;
  gap: 50px;
  display: grid;
}
.about-section .section-index { color: #8B1A1A }
.about-section .section-index > span:first-child {
  color: var(--ink);
  opacity: .6;
}
.about-section .index-line { background: currentColor }
.about-section .section-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
}
.about-copy {
  grid-template-columns: 1fr .9fr;
  align-items: end;
  gap: 48px;
  display: grid;
}
.about-body {
  max-width: 420px;
  padding-bottom: 7px;
}
.about-body p {
  color: #0a0b0a9e;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}
.about-body .lead {
  color: var(--ink);
  letter-spacing: -.03em;
  font-size: 21px;
  line-height: 1.25;
}
.about-section .underlined-button {
  color: var(--ink);
  border-color: #0a0b0a73;
  margin-top: 12px;
}
.about-stamp {
  width: 108px;
  height: 108px;
  color: var(--ink);
  background: var(--crimson);
  font: 9px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 50%;
  flex-direction: column;
  justify-content: space-between;
  align-self: end;
  padding: 16px;
  display: flex;
  transform: rotate(9deg);
}
.about-stamp svg:last-child { align-self: flex-end }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { background: var(--ink-soft) }
.services-header {
  grid-template-columns: minmax(0, 1fr) 265px;
  align-items: end;
  gap: 80px;
  margin-bottom: 73px;
  display: grid;
}
.services-header > p {
  color: var(--muted);
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}
.services-list { border-top: 1px solid var(--line) }
.service-row {
  width: 100%;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: none;
  grid-template-columns: 70px minmax(250px, 1fr) 260px 42px;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  transition: color .2s, padding .25s;
  display: grid;
  position: relative;
}
.service-row:hover, .service-row.is-active { color: var(--crimson) }
.service-number {
  font: 11px var(--mono);
  opacity: .52;
}
.service-name {
  font: 500 clamp(1.7rem, 3.1vw, 3.1rem) var(--display);
  letter-spacing: -.06em;
}
.service-note {
  color: var(--muted);
  font-size: 13px;
  transition: color .2s;
}
.service-row:hover .service-note, .service-row.is-active .service-note {
  color: var(--paper);
}
.service-arrow {
  border: 1px solid var(--line);
  border-radius: 50%;
  justify-self: end;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}
.service-detail {
  max-width: 580px;
  color: var(--muted);
  grid-column: 2/4;
  padding: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  display: none;
}
.service-row.is-active { padding-bottom: 11px }
.service-row.is-active .service-detail { display: block }

/* ============================================
   WORK SECTION
   ============================================ */
.work-section {
  background: var(--paper);
  color: var(--ink);
}
.work-section .section-index { color: #8B1A1A }
.work-section .section-index > span:first-child {
  color: var(--ink);
  opacity: .6;
}
.work-section .topline-aside { color: #0a0b0a87 }
.work-heading {
  grid-template-columns: 1fr 300px;
  align-items: end;
  gap: 60px;
  display: grid;
}
.work-intro {
  color: #0a0b0a9e;
  font-size: 14px;
  line-height: 1.5;
}
.work-intro p {
  max-width: 245px;
  margin: 0 0 40px;
}
.project-count {
  color: #0a0b0a7a;
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.filters {
  flex-wrap: wrap;
  gap: 8px;
  margin: 67px 0 28px;
  display: flex;
}
.filters button {
  color: #0a0b0aad;
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: none;
  border: 1px solid #0a0b0a3d;
  border-radius: 999px;
  padding: 9px 15px;
  transition: background .2s, color .2s;
}
.filters button:hover, .filters button.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.project-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 18px;
  display: grid;
}
.project-card { grid-column: span 5 }
.project-card.large { grid-column: span 7 }
.project-card:nth-child(2), .project-card:nth-child(3) { margin-top: 100px }
.project-image-wrap {
  aspect-ratio: 1.32;
  background: #c9c9bd;
  position: relative;
  overflow: hidden;
}
.project-card.large .project-image-wrap { aspect-ratio: 1.45 }
.project-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  display: block;
}
.project-card:hover .project-image { transform: scale(1.045) }
.project-wash {
  background: linear-gradient(#0a0b0a0a, #0a0b0a6b);
  transition: opacity .3s;
  position: absolute;
  inset: 0;
}
.project-card:hover .project-wash { opacity: .72 }
.project-plus {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--crimson);
  opacity: 0;
  border-radius: 50%;
  place-items: center;
  transition: opacity .25s, transform .25s;
  display: grid;
  position: absolute;
  top: 17px;
  right: 17px;
  transform: translateY(8px);
}
.project-card:hover .project-plus {
  opacity: 1;
  transform: translateY(0);
}
.project-year {
  color: var(--paper);
  font: 10px var(--mono);
  position: absolute;
  bottom: 17px;
  right: 17px;
}
.project-meta {
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  display: flex;
}
.project-meta h3 {
  font: 500 clamp(1.5rem, 2.5vw, 2.2rem) var(--display);
  letter-spacing: -.06em;
  margin: 7px 0 4px;
}
.project-meta p {
  color: #0a0b0a94;
  max-width: 280px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}
.project-meta > svg { margin-top: 12px }

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  background: var(--crimson);
  color: var(--ink);
}
.why-layout {
  grid-template-columns: 1fr .85fr;
  align-items: end;
  gap: 100px;
  display: grid;
}
.why-section .section-index { color: #0a0b0aad }
.why-section .section-index > span:first-child {
  color: var(--ink);
  opacity: .55;
}
.why-section .index-line { background: var(--ink) }
.why-lead {
  letter-spacing: -.035em;
  max-width: 300px;
  margin: 30px 0 0;
  font-size: 21px;
}
.why-list { border-top: 1px solid #0a0b0a66 }
.why-item {
  border-bottom: 1px solid #0a0b0a66;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  display: grid;
}
.why-item span {
  font: 10px var(--mono);
  opacity: .58;
}
.why-item strong {
  font: 500 clamp(1.5rem, 2.4vw, 2.4rem) var(--display);
  letter-spacing: -.06em;
}
.why-item svg { justify-self: end }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section { background: #161915 }
.process-heading {
  grid-template-columns: 1fr 270px;
  align-items: end;
  gap: 70px;
  margin-bottom: 70px;
  display: grid;
}
.process-heading > p {
  color: var(--muted);
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}
.process-grid {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}
.process-card {
  border-right: 1px solid var(--line);
  min-height: 270px;
  padding: 23px 22px 20px 0;
  position: relative;
}
.process-card:not(:first-child) { padding-left: 22px }
.process-card:last-child { border-right: 0 }
.process-number {
  color: var(--crimson);
  font: 11px var(--mono);
}
.process-icon {
  border: 1px solid var(--line);
  width: 30px;
  height: 30px;
  color: var(--crimson);
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  top: 20px;
  right: 20px;
}
.process-card h3 {
  font: 500 27px var(--display);
  letter-spacing: -.06em;
  margin: 90px 0 12px;
}
.process-card p {
  max-width: 200px;
  color: var(--muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  isolation: isolate;
  align-items: center;
  min-height: 660px;
  display: flex;
  position: relative;
}
.results-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(images/work-portrait.webp) 70% 30%/cover no-repeat;
}
.results-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #0a0b0af5, #0a0b0a8f 55%, #0a0b0a26),
    linear-gradient(#0000, #0a0b0a6b);
}
.results-inner {
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
  display: grid;
}
.section-index.light { color: var(--crimson) }
.results-title {
  margin: 55px 0 30px;
  font-size: clamp(4.8rem, 10vw, 9.5rem);
}
.results-copy p {
  color: #f1f1eab0;
  max-width: 305px;
  font-size: 15px;
  line-height: 1.5;
}
.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-bottom: 4px;
  margin-top: 40px;
  display: grid;
}
.stats-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.stats-grid strong {
  color: var(--crimson);
  font: 500 clamp(3.2rem, 6vw, 6rem) var(--display);
  letter-spacing: -.08em;
  line-height: .88;
  display: block;
}
.stats-grid strong span { font-size: .55em }
.stats-grid small {
  color: var(--muted);
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 16px;
  line-height: 1.3;
  display: block;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--paper);
  color: var(--ink);
}
.testimonials-layout {
  grid-template-columns: .73fr 1fr;
  align-items: end;
  gap: 115px;
  display: grid;
}
.testimonials-section .section-index { color: #8B1A1A }
.testimonials-section .section-index > span:first-child {
  color: var(--ink);
  opacity: .6;
}
.testimonial-controls {
  font: 10px var(--mono);
  color: #0a0b0a8c;
  align-items: center;
  gap: 19px;
  margin-top: 65px;
  display: flex;
}
.testimonial-controls button {
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: none;
  border: 1px solid #0a0b0a4d;
  border-radius: 50%;
  place-items: center;
  transition: background .2s;
  display: grid;
}
.testimonial-controls button:hover { background: var(--crimson) }
.testimonial-quote {
  border-left: 1px solid #0a0b0a3b;
  padding-left: 43px;
}
.quote-mark {
  color: var(--crimson);
  font: 110px/.6 var(--display);
  margin-bottom: 32px;
  display: block;
}
.testimonial-quote blockquote {
  max-width: 585px;
  font: 500 clamp(1.8rem, 3.2vw, 3.2rem)/1.08 var(--display);
  letter-spacing: -.065em;
  margin: 0;
}
.testimonial-person {
  align-items: center;
  gap: 12px;
  margin-top: 53px;
  display: flex;
}
.avatar-initials {
  width: 37px;
  height: 37px;
  color: var(--ink);
  background: var(--crimson);
  font: 12px var(--mono);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.testimonial-person strong, .testimonial-person span { display: block }
.testimonial-person strong { font-size: 13px }
.testimonial-person span {
  color: #0a0b0a8a;
  font: 10px var(--mono);
  margin-top: 3px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--crimson);
  color: var(--ink);
}
.cta-inner {
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  display: flex;
  position: relative;
}
.cta-kicker {
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
  display: flex;
}
.cta-title {
  text-transform: uppercase;
  margin: 40px 0 45px;
  font-size: clamp(4rem, 9.2vw, 9.5rem);
}
.cta-title em {
  font-style: italic;
  font-weight: 500;
}
.cta-star {
  width: 135px;
  height: 135px;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  border: 1px solid #0a0b0a73;
  border-radius: 50%;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  display: flex;
  position: absolute;
  bottom: 72px;
  right: 3%;
  transform: rotate(-11deg);
}
.cta-star svg { align-self: flex-end }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section { background: var(--ink) }
.contact-layout {
  grid-template-columns: .74fr 1fr;
  gap: 125px;
  display: grid;
}
.contact-copy .section-title {
  margin: 65px 0 27px;
}
.contact-copy > p {
  max-width: 310px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.contact-details {
  flex-direction: column;
  gap: 11px;
  margin-top: 43px;
  display: flex;
}
.contact-details a, .contact-details span {
  color: #f1f1eac7;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}
.contact-details svg { color: var(--crimson) }
.social-links {
  gap: 9px;
  margin-top: 30px;
  display: flex;
}
.social-links a {
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-radius: 50%;
  place-items: center;
  transition: color .2s, border-color .2s;
  display: grid;
}
.social-links a:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}
.contact-form {
  background: #141712;
  border: 1px solid var(--line);
  padding: 32px;
}
.field-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}
.contact-form label {
  margin-bottom: 25px;
  display: block;
}
.contact-form label > span {
  color: var(--crimson);
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 9px;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  color: var(--paper);
  background: none;
  border: 0;
  border-bottom: 1px solid #f1f1ea40;
  border-radius: 0;
  outline: none;
  padding: 12px 0;
  font-size: 14px;
  transition: border-color .2s;
}
.contact-form textarea {
  resize: vertical;
  min-height: 95px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--crimson);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #f1f1ea59;
}
.select-wrap {
  position: relative;
}
.contact-form select {
  appearance: none;
  padding-right: 22px;
}
.contact-form select option { color: var(--ink) }
.select-wrap svg {
  color: var(--muted);
  pointer-events: none;
  position: absolute;
  top: 12px;
  right: 0;
}
.form-footer {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 3px;
  display: flex;
}
.form-footer > span {
  color: var(--muted);
  font: 10px var(--mono);
  line-height: 1.35;
}
.form-success {
  flex-direction: column;
  justify-content: center;
  min-height: 425px;
  display: flex;
}
.success-icon {
  width: 50px;
  height: 50px;
  color: var(--ink);
  background: var(--crimson);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.form-success h3 {
  font: 500 35px var(--display);
  letter-spacing: -.06em;
  margin: 25px 0 12px;
}
.form-success p {
  color: var(--muted);
  margin: 0 0 25px;
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: #060706;
  padding: 36px 0 24px;
}
.footer-top, .footer-bottom {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.footer-top {
  padding-bottom: 38px;
}
.footer-top p {
  color: var(--muted);
  font: 13px/1.35 var(--mono);
  text-transform: uppercase;
  margin: 0;
}
.footer-top-button {
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--crimson);
  border-radius: 50%;
  place-items: center;
  transition: transform .2s;
  display: grid;
}
.footer-top-button:hover { transform: translateY(-3px) }
.footer-bottom {
  border-top: 1px solid var(--line);
  color: #f1f1ea6b;
  font: 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 18px;
}

/* ============================================
   RESPONSIVE — 900px
   ============================================ */
@media (max-width: 900px) {
  .shell-width { width: min(100% - 36px, 720px) }
  .site-nav { height: 72px; padding: 0 18px }
  .desktop-links, .nav-cta { display: none }
  .menu-toggle {
    color: var(--paper);
    background: none;
    place-items: center;
    display: grid;
  }
  .menu-toggle .icon-close { display: none }
  .site-nav.is-open .icon-menu { display: none }
  .site-nav.is-open .icon-close { display: block }
  .mobile-menu {
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: #0a0b0af5;
    flex-direction: column;
    padding: 16px 18px 24px;
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
  }
  .site-nav.is-open .mobile-menu { display: flex }
  .mobile-menu button {
    color: var(--paper);
    border-bottom: 1px solid var(--line);
    text-align: left;
    text-transform: uppercase;
    font: 11px var(--mono);
    letter-spacing: .1em;
    background: none;
    padding: 14px 0;
  }
  .mobile-menu .mobile-menu-cta {
    color: var(--crimson);
    border: 0;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .hero { min-height: 740px }
  .hero-content { padding-top: 125px }
  .hero-main { grid-template-columns: 1fr; gap: 35px; margin-bottom: 70px }
  .hero-title { font-size: clamp(4.4rem, 16vw, 8.7rem) }
  .hero-side { max-width: 350px }
  .hero-footer span:first-child { display: none }
  .hero-footer { justify-content: space-between }
  .hero-scroll { gap: 8px }
  .scroll-line { width: 25px }

  .section { padding: 95px 0 }
  .section-topline { margin-bottom: 48px }

  .about-layout { grid-template-columns: 1fr; gap: 45px }
  .about-copy { grid-template-columns: 1fr .8fr; gap: 30px }
  .about-stamp { display: none }

  .services-header, .process-heading {
    grid-template-columns: 1fr; gap: 25px; margin-bottom: 48px;
  }
  .services-header > p, .process-heading > p { max-width: 360px }
  .service-row { grid-template-columns: 43px 1fr 34px; gap: 14px; padding: 20px 0 }
  .service-note { grid-area: 2/2/auto/3; font-size: 12px }
  .service-arrow { grid-area: 1/3/3 }
  .service-name { font-size: 1.7rem }
  .service-detail { grid-column: 2/4 }

  .work-heading { grid-template-columns: 1fr; gap: 32px }
  .work-intro { justify-content: space-between; gap: 20px; display: flex }
  .work-intro p { margin: 0 }
  .filters { margin-top: 45px }
  .project-grid { gap: 45px 14px }
  .project-card, .project-card.large { grid-column: span 6 }
  .project-card:nth-child(2), .project-card:nth-child(3) { margin-top: 70px }
  .project-card.large .project-image-wrap,
  .project-image-wrap { aspect-ratio: 1/1.05 }
  .project-card:nth-child(2) .project-image-wrap,
  .project-card:nth-child(3) .project-image-wrap { aspect-ratio: 1/1.2 }
  .project-meta h3 { font-size: 1.5rem }
  .project-meta p { font-size: 11px }

  .why-layout, .results-inner, .testimonials-layout, .contact-layout {
    grid-template-columns: 1fr; gap: 60px;
  }
  .why-list { margin-top: 5px }
  .process-grid { grid-template-columns: repeat(2, 1fr) }
  .process-card:nth-child(2) { border-right: 0 }
  .process-card:nth-child(3), .process-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .process-card:nth-child(3) { padding-left: 0 }
  .process-card:nth-child(4) { padding-left: 22px }
  .results-section { min-height: 740px }
  .results-image { background-position: 62% }
  .stats-grid { max-width: 520px }
  .testimonial-quote {
    border-top: 1px solid #0a0b0a3b;
    border-left: 0;
    padding: 30px 0 0;
  }
  .quote-mark { margin-top: 18px }
  .cta-inner { min-height: 560px }
  .cta-title { font-size: clamp(3.9rem, 11vw, 7.5rem) }
  .cta-star { width: 105px; height: 105px; font-size: 8px; bottom: 48px; right: 0 }
  .contact-form { padding: 24px 18px }
  .footer-top, .footer-bottom { align-items: flex-start; gap: 22px }
  .footer-top { flex-wrap: wrap }
  .footer-top p { order: 3; width: 100% }
  .footer-bottom { flex-direction: column; gap: 9px }
}

/* ============================================
   RESPONSIVE — 520px
   ============================================ */
@media (max-width: 520px) {
  .shell-width { width: calc(100% - 32px) }
  .hero { min-height: 680px }
  .hero-title { font-size: clamp(4rem, 18vw, 6.8rem) }
  .hero-side p { font-size: 16px }
  .hero-footer { font-size: 9px }
  .hero-footer span:last-child { display: none }
  .section-title { font-size: clamp(3.35rem, 15vw, 5rem) }
  .section-topline { align-items: flex-start; gap: 18px }
  .topline-aside { text-align: right }
  .about-copy { grid-template-columns: 1fr }
  .about-body { max-width: 100% }
  .services-section .section-title br,
  .work-section .section-title br,
  .process-section .section-title br { display: none }
  .service-name { font-size: 1.48rem }
  .service-note { font-size: 10px }
  .project-grid { display: block }
  .project-card, .project-card.large,
  .project-card:nth-child(2), .project-card:nth-child(3) {
    margin: 0 0 42px;
  }
  .project-card.large .project-image-wrap,
  .project-image-wrap,
  .project-card:nth-child(2) .project-image-wrap,
  .project-card:nth-child(3) .project-image-wrap { aspect-ratio: 1.2 }
  .project-card:last-child { margin-bottom: 0 }
  .why-item strong { font-size: 1.6rem }
  .process-grid { grid-template-columns: 1fr }
  .process-card, .process-card:not(:first-child),
  .process-card:nth-child(3), .process-card:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-top: 0;
    min-height: 205px;
    padding: 20px 0;
  }
  .process-card:last-child { border-bottom: 0 }
  .process-card h3 { margin-top: 57px }
  .stats-grid { gap: 12px }
  .stats-grid strong { font-size: 3rem }
  .stats-grid small { font-size: 8px }
  .testimonial-quote blockquote { font-size: 2rem }
  .cta-title { font-size: 3.7rem }
  .cta-star { margin-top: 60px; position: relative; bottom: auto; right: auto }
  .form-footer { flex-direction: column; align-items: flex-start }
  .form-footer .button { width: 100% }
  .field-grid { grid-template-columns: 1fr; gap: 0 }
  .footer-bottom span:nth-child(2) { display: none }
}

/* ============================================
   BRAND LOGO
   ============================================ */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-logo.footer { height: 36px }

/* ============================================
   ARTICLES / INSIGHTS SECTION
   ============================================ */
.articles-section { background: var(--ink-soft) }
.articles-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  display: grid;
}
.article-card {
  border: 1px solid var(--line);
  background: #141712;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--crimson) }
.article-card .article-thumb {
  aspect-ratio: 16/9;
  background: #1a1d18;
  overflow: hidden;
}
.article-card .article-thumb img { width: 100%; height: 100%; object-fit: cover }
.article-card .article-meta {
  padding: 18px 20px 0;
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-card h3 {
  font: 500 1.6rem var(--display);
  letter-spacing: -.05em;
  margin: 10px 20px 8px;
}
.article-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 20px 16px;
  flex: 1;
}
.article-card .article-link {
  color: var(--crimson);
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section { background: var(--paper); color: var(--ink) }
.pricing-section .section-index { color: var(--crimson) }
.pricing-section .section-index > span:first-child { color: var(--ink); opacity: .6 }
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  display: grid;
  align-items: stretch;
}
.pricing-card {
  border: 1px solid #0a0b0a22;
  background: #fff;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--crimson);
  box-shadow: 0 12px 40px #8b1a1a1f;
}
.pricing-card .pricing-tier {
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--crimson);
}
.pricing-card h3 {
  font: 700 2rem var(--display);
  letter-spacing: -.05em;
  margin: 8px 0 14px;
}
.pricing-card .pricing-price {
  font: 700 2.6rem var(--display);
  letter-spacing: -.06em;
  margin: 0 0 6px;
  color: var(--ink);
}
.pricing-card .pricing-price span { font-size: .45em; color: var(--muted); font-family: var(--mono) }
.pricing-card .pricing-desc { color: #0a0b0a8a; font-size: 13px; margin: 0 0 20px; line-height: 1.5 }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1 }
.pricing-card li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #0a0b0a14;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pricing-card li::before { content: "✓"; color: var(--crimson); font-weight: 700 }
.pricing-card .button { width: 100%; justify-content: center; margin-top: auto }
.pricing-note {
  text-align: center;
  color: #0a0b0a7a;
  font: 10px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 28px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
/* Responsive new sections */
@media (max-width: 900px) {
  .articles-grid, .pricing-grid { grid-template-columns: 1fr; gap: 18px }
  .brand-logo { height: 38px }
}
@media (max-width: 520px) {
  .brand-logo { height: 34px }
  .pricing-card { padding: 24px 18px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .reveal, .reveal-up { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}
