/* ============================================================
   BYTEWORKS — ELEVATION PATCH
   Applies the elevated design system from the HTML reference.
   Appended after style.css — no existing rules deleted.
   Targets: contrast, surface hierarchy, CTA, buttons, form,
            typography lift, hover system, signature behaviors.
   ============================================================ */

/* ── DESIGN TOKEN OVERRIDES ──────────────────────────────── */
:root {
  /* Deeper blacks for sharper surface separation */
  --c-bg:           #0a0a09;
  --c-surface:      #161614;
  --c-surface-mid:  #1c1c1a;
  --c-surface-hi:   #222220;

  /* Borders: much softer — hairlines not hard lines */
  --c-border:       rgba(255, 255, 255, 0.07);
  --c-border-hi:    rgba(255, 255, 255, 0.11);

  /* Text: warmer, cleaner hierarchy */
  --c-text:         #f5f2ec;
  --c-text-muted:   rgba(245, 242, 236, 0.72);
  --c-text-faint:   rgba(245, 242, 236, 0.38);

  /* Accent: warmer amber-gold tone */
  --c-accent:       #c8b89a;
  --c-accent-warm:  #c8b89a;

  /* Elevation easing — slow premium feel */
  --ease:        cubic-bezier(0.25, 0, 0, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
}


/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  padding: 24px var(--gutter);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(10, 10, 9, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  padding: 18px var(--gutter);
}

/* Logo: serif display weight, accent dot */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--c-text);
}
.nav-logo span {
  color: var(--c-accent);
  font-weight: 300;
}

/* Nav links: subtler, cleaner */
.nav-links a {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--c-text-faint);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  background: var(--c-accent);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
}

/* CTA pill in nav: bordered instead of filled */
.nav-cta {
  background: transparent;
  color: var(--c-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.6875rem;
  padding: 0.625rem 1.5rem;
  letter-spacing: 0.1em;
  transition: border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              transform 0.3s var(--ease);
}
.nav-cta:hover {
  background: rgba(245, 242, 236, 0.06);
  border-color: rgba(200, 184, 154, 0.45);
  box-shadow: none;
  transform: translateY(-1px);
}


/* ── BUTTONS ─────────────────────────────────────────────── */

/* All buttons: consistent lift on hover */
.btn {
  position: relative;
  transition: background 0.3s var(--ease),
              color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

/* Primary: warm lift */
.btn-primary {
  background: var(--c-text);
  color: var(--c-bg);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.875rem 2rem;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--c-accent);
  color: var(--c-bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 184, 154, 0.15);
}

/* Ghost: bordered, not naked text */
.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.875rem 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.btn-ghost::after { content: none; }
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--c-text);
  background: rgba(245, 242, 236, 0.04);
  transform: translateY(-2px);
}

/* Outline button */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(200, 184, 154, 0.3);
  color: var(--c-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.875rem 1.75rem;
  opacity: 1;
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
  transform: translateY(-2px);
  background: rgba(200, 184, 154, 0.04);
}


/* ── EYEBROW ─────────────────────────────────────────────── */
.t-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: var(--c-accent);
}
.t-eyebrow::before {
  background: var(--c-accent);
  opacity: 0.45;
  width: 24px;
}


/* ── TYPOGRAPHY LIFT ─────────────────────────────────────── */

/* Display em italics: warmer accent */
.t-display em { color: var(--c-accent); }

/* Body-lg: slightly brighter for readability */
.t-body-lg {
  color: rgba(245, 242, 236, 0.65);
  font-size: 1rem;
  line-height: 1.8;
}

/* Caption: lifted faint */
.t-caption { color: var(--c-text-faint); }


/* ── HERO ────────────────────────────────────────────────── */

/* Hero overlay: keep cinematic, improve text zone */
.hero__bg::after {
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.50) 35%,
      rgba(0, 0, 0, 0.20) 60%,
      transparent 80%
    ),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.08) 30%,
      transparent 50%
    ),
    linear-gradient(to right,
      rgba(0, 0, 0, 0.32) 0%,
      transparent 55%
    );
}

/* Hero text shadows: precise, not heavy */
.hero__content .t-eyebrow,
.hero__content .t-display,
.hero__content .t-body-lg,
.hero__content p,
.hero__scroll {
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 1px 8px rgba(0, 0, 0, 0.65);
}

/* Hero scroll: warmer accent pulse */
.hero__scroll-line::after {
  background: var(--c-accent);
}

/* Hero CTA gap */
.hero__actions { gap: 1rem; }


/* ── MARQUEE BAND ────────────────────────────────────────── */
.marquee-band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 1.125rem 0;
}
.marquee-item {
  color: var(--c-text-faint);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
}
.marquee-item::after {
  content: '·';
  color: var(--c-accent);
  opacity: 0.5;
}


/* ── INTRO STATEMENT ─────────────────────────────────────── */
.intro-statement {
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}
.intro-statement__text {
  color: var(--c-text);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.3;
}
.intro-statement__text em { color: var(--c-accent); }


/* ── ATMOSPHERE SECTIONS ─────────────────────────────────── */
.atmosphere-section__overlay {
  background:
    linear-gradient(to right,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.30) 45%,
      transparent 68%
    );
}
.atmosphere-section__content .t-eyebrow,
.atmosphere-section__content .t-display,
.atmosphere-section__content .t-body-lg,
.atmosphere-section__content h2,
.atmosphere-section__content p,
.atmosphere-section__content a {
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.88),
    0 1px 10px rgba(0, 0, 0, 0.65);
}


/* ── SELECTED WORK ───────────────────────────────────────── */
.work-section__header {
  gap: 6rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0;
}

/* Project cards: cleaner hover */
.project-card__overlay {
  background: linear-gradient(to top,
    rgba(10, 10, 9, 0.82) 0%,
    rgba(10, 10, 9, 0.20) 55%,
    transparent 75%
  );
}
.project-card:hover .project-card__overlay {
  background: linear-gradient(to top,
    rgba(10, 10, 9, 0.90) 0%,
    rgba(10, 10, 9, 0.35) 55%,
    rgba(10, 10, 9, 0.08) 80%
  );
}
.project-card__title { color: var(--c-text); }
.project-card__num   { color: rgba(245, 242, 236, 0.30); }
.project-card__sub   { color: rgba(245, 242, 236, 0.60); }
.project-card__link  { color: var(--c-accent); }
.project-card__tag   { color: rgba(245, 242, 236, 0.38); }

/* Project card text shadows */
.project-card__overlay .project-card__tag,
.project-card__overlay .project-card__title,
.project-card__overlay .project-card__sub,
.project-card__overlay .project-card__num {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.80), 0 1px 6px rgba(0, 0, 0, 0.60);
}


/* ── FEATURED CASE ───────────────────────────────────────── */
.featured-case__info {
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  padding: 5rem 4.5rem;
}
.featured-case__meta { margin-bottom: 2rem; }
.featured-case__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.featured-case__index {
  color: rgba(255, 255, 255, 0.07);
  font-size: 3rem;
}
.featured-case__title { color: var(--c-text); }
.featured-case__desc  { color: var(--c-text-muted); }

/* Focus tags: hairline borders */
.featured-case__focus span,
.work-case-info__tags span {
  border: 1px solid var(--c-border);
  color: var(--c-text-faint);
}

/* Video overlay: blend into surface more cleanly */
.featured-case__video-overlay {
  background: linear-gradient(to right,
    transparent 60%,
    rgba(22, 22, 20, 0.92) 100%
  );
}


/* ── SERVICE BLOCKS ──────────────────────────────────────── */
.service-block {
  border-top: 1px solid var(--c-border);
  padding: 3.25rem 2.75rem 3rem;
  transition: background 0.35s var(--ease);
}

/* Accent sweep line: warmer */
.service-block::before {
  background: var(--c-accent);
  opacity: 0.4;
  width: 32px;
  height: 1px;
}
.service-block:hover::before {
  width: 100%;
  opacity: 0.7;
}
.service-block:hover { background: rgba(255, 255, 255, 0.015); }

.service-block__num  {
  color: var(--c-accent);
  opacity: 0.65;
  font-size: 0.8125rem;
}
.service-block__name { font-size: 1.75rem; }
.service-block__desc { color: var(--c-text-muted); }
.service-tag {
  border-color: var(--c-border);
  color: var(--c-text-faint);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}


/* ── SPLIT SECTIONS ──────────────────────────────────────── */
.split-section--dark .split-section__text {
  background: var(--c-surface);
}
.about-split-custom__text {
  background: var(--c-surface);
}

/* Process steps in split section */
.process-steps-grid {
  border-top: 1px solid var(--c-border);
  padding-top: 2.5rem;
  margin-top: 3rem;
  gap: 2rem 1.5rem;
}

/* Process step numbers */
.process-step__num {
  color: var(--c-accent);
  opacity: 0.6;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}
.process-step__name {
  color: var(--c-text);
  font-size: 1.125rem;
}
.process-step__desc { color: var(--c-text-muted); }

/* Accent marker line */
.process-step__marker { background: var(--c-accent); }

/* Process steps 4-col (services page) */
.process-steps-4col .process-step {
  border-top: 1px solid var(--c-border);
  padding-top: 3rem;
}
.process-steps-4col .process-step:hover::before {
  background: var(--c-accent);
}


/* ── METRICS BAR ─────────────────────────────────────────── */
.metrics-bar {
  background: var(--c-surface-mid);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.metrics-bar__inner {
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.metric {
  background: var(--c-surface-mid);
  padding: 3.25rem 2.75rem;
  transition: background 0.3s var(--ease);
}
.metric:hover { background: var(--c-surface-hi); }
.metric__value {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.metric__label {
  color: var(--c-text-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}


/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial {
  border-left: 2px solid var(--c-accent);
  padding: 3rem 3rem 3rem 3.5rem;
  background: transparent;
}
.testimonial__quote {
  font-size: 1.3125rem;
  color: var(--c-text);
  line-height: 1.6;
}
.testimonial__quote::before {
  color: var(--c-accent);
  opacity: 0.55;
  font-size: 3rem;
}
.testimonial__avatar {
  background: var(--c-surface-hi);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  font-size: 0.75rem;
  font-family: var(--font-display);
}
.testimonial__name  { color: var(--c-text); }
.testimonial__title { color: var(--c-text-faint); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; }


/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
}
/* Ambient glow behind CTA */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(200, 184, 154, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__bg-text {
  color: rgba(255, 255, 255, 0.012);
}
.cta-section__eyebrow {
  color: var(--c-accent);
}
.cta-section__eyebrow::before,
.cta-section__eyebrow::after {
  background: var(--c-accent);
  opacity: 0.35;
}
.cta-section__note { color: var(--c-text-faint); }
.cta-section__note a {
  color: var(--c-text-muted);
  border-bottom-color: var(--c-border);
}
.cta-section__note a:hover {
  color: var(--c-text);
  border-bottom-color: var(--c-accent);
}
.cta-section__actions { gap: 1rem; flex-wrap: wrap; }


/* ── CONTACT FORM ────────────────────────────────────────── */
.form-group label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  font-weight: 400;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  transition: border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 242, 236, 0.28);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(200, 184, 154, 0.3);
  background: var(--c-surface-mid);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-accent);
  background: var(--c-surface-mid);
  box-shadow: 0 0 0 1px rgba(200, 184, 154, 0.12);
  outline: none;
}

/* Focus left-border accent (mimics HTML reference) */
.form-group:focus-within {
  position: relative;
}
.form-group:focus-within::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-accent);
  pointer-events: none;
}
.form-group { position: relative; }

.form-submit {
  background: var(--c-text);
  color: var(--c-bg);
  padding: 1.125rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: background 0.25s var(--ease),
              transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.form-submit:hover {
  background: var(--c-accent);
  box-shadow: 0 8px 32px rgba(200, 184, 154, 0.12);
  transform: translateY(-1px);
}

/* Contact info items */
.contact-info__item {
  border-bottom-color: var(--c-border);
}
.contact-info__item-label {
  color: var(--c-accent);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
}
.contact-info__item-value { color: var(--c-text-muted); }
.contact-info__item-value a:hover { color: var(--c-text); }


/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--c-border); }

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: var(--c-text-muted);
}
.footer-brand__tagline { color: var(--c-text-muted); }
.footer-col__title     { color: var(--c-text-faint); letter-spacing: 0.18em; }
.footer-col__links a   { color: var(--c-text-faint); }
.footer-col__links a:hover { color: var(--c-text); }

.footer-contact__email {
  color: var(--c-text);
  font-size: 1.25rem;
  border-bottom-color: transparent;
}
.footer-contact__email:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}
.footer-contact__social a { color: var(--c-text-faint); }
.footer-contact__social a:hover { color: var(--c-text); }

.site-footer__bottom { border-top-color: var(--c-border); }
.footer-bottom__copy { color: var(--c-text-faint); }
.footer-bottom__city { color: var(--c-text-faint); letter-spacing: 0.15em; }


/* ── PROJECT PAGES ───────────────────────────────────────── */
.project-hero__overlay {
  background:
    linear-gradient(to top,
      rgba(10, 10, 9, 0.90) 0%,
      rgba(10, 10, 9, 0.42) 40%,
      transparent 65%
    ),
    linear-gradient(to right,
      rgba(0, 0, 0, 0.22) 0%,
      transparent 40%
    );
}
.project-hero__tag   { color: var(--c-accent); }
.project-hero__title { color: var(--c-text); }
.project-hero__sub   { color: var(--c-text-muted); }

.project-meta__item-label { color: var(--c-accent); font-size: 0.625rem; }
.project-meta__item-value { color: var(--c-text-muted); }

.project-body__focus-item::before { background: var(--c-accent); }

/* Screenshots: hairline borders */
.an-screenshots__full img,
.an-screenshots__row-2 img,
.an-screenshots__row-3 img {
  border: 1px solid var(--c-border);
}

/* Metric panel */
.an-metric {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.an-metric__value { color: var(--c-text); }
.an-metric__arrow { color: rgba(255, 255, 255, 0.1); }

/* Social links */
.an-social-link {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text-muted);
}
.an-social-link:hover {
  background: var(--c-surface-hi);
  border-color: rgba(200, 184, 154, 0.2);
  color: var(--c-text);
}


/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-hero-split__text { background: var(--c-surface); }
.about-values {
  background: rgba(255, 255, 255, 0.05);
}
.about-value {
  background: var(--c-bg);
}
.about-value__num   { color: var(--c-accent); opacity: 0.65; }
.about-value__title { color: var(--c-text); }
.about-value__text  { color: var(--c-text-muted); }


/* ── SERVICES PAGE ───────────────────────────────────────── */
.service-detail {
  border-top: 1px solid var(--c-border);
}
.service-detail__title { color: var(--c-text); }
.service-detail__title span {
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.service-detail__text { color: var(--c-text-muted); }
.service-detail__includes-title { color: var(--c-text-faint); letter-spacing: 0.18em; }
.service-detail__includes-item  { color: var(--c-text-muted); }
.service-detail__includes-item::before { background: var(--c-accent); }


/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header { background: var(--c-bg); }


/* ── REELS GRID ──────────────────────────────────────────── */
.reel-item { background: var(--c-surface); }
.reel-item__overlay { background: rgba(10, 10, 9, 0.22); }
.reel-item__play {
  background: rgba(245, 242, 236, 0.90);
  color: var(--c-bg);
}
.reel-item__play:hover {
  background: var(--c-accent);
}


/* ── SECTION SURFACE DIFFERENTIATION ────────────────────── */

/* Service section surface */
section[style*="var(--c-surface)"] {
  background: var(--c-surface) !important;
}

/* Divider lines */
.divider { background: var(--c-border); }


/* ── BYTEWORKS SIGNATURE BEHAVIORS ──────────────────────── */

/* 1. Hairline rule on section tops: very subtle */
.split-section--dark .split-section__text,
.about-split-custom__text,
.about-split-custom--reversed .about-split-custom__text {
  border-top: none;
}
@media (max-width: 900px) {
  .split-section--dark .split-section__text,
  .about-split-custom__text,
  .about-split-custom--reversed .about-split-custom__text {
    border-top: 1px solid var(--c-border);
  }
}

/* 2. Uniform hover lift on all interactive panels */
.project-card,
.service-block,
.metric,
.reel-item,
.an-social-link,
.about-value {
  transition: background 0.35s var(--ease), transform 0.3s var(--ease);
}

/* 3. Cursor-following highlight on cards (class added via JS) */
.card-hover-active {
  background: rgba(200, 184, 154, 0.02) !important;
}

/* 4. Reveal animations: slightly more cinematic timing */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.reveal-fade.visible { opacity: 1; }


/* ── MOBILE REFINEMENTS ──────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --c-bg:           #0c0c0b;
    --c-surface:      #181816;
    --c-surface-mid:  #1e1e1c;
    --c-surface-hi:   #252522;
    --c-border:       rgba(255, 255, 255, 0.08);
    --c-border-hi:    rgba(255, 255, 255, 0.13);
    --c-text:         #f6f3ee;
    --c-text-muted:   rgba(246, 243, 238, 0.7);
    --c-text-faint:   rgba(246, 243, 238, 0.38);
  }

  .btn-ghost {
    padding: 0.75rem 1.5rem;
  }

  .hero__bg::after {
    background:
      linear-gradient(to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.58) 40%,
        rgba(0,0,0,0.22) 65%,
        transparent 85%
      ),
      linear-gradient(to bottom,
        rgba(0,0,0,0.52) 0%,
        rgba(0,0,0,0.1) 28%,
        transparent 50%
      ),
      linear-gradient(to right,
        rgba(0,0,0,0.28) 0%,
        transparent 55%
      );
  }

  .featured-case__info {
    border-left: none;
    border-top: 1px solid var(--c-border);
    padding: 3rem var(--gutter);
  }

  .service-block {
    border-top: 1px solid var(--c-border);
    border-bottom: none;
  }

  .metrics-bar__inner {
    background: rgba(255, 255, 255, 0.06);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    background: var(--c-surface-mid);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .testimonial {
    padding: 2rem 1.5rem 2rem 2rem;
  }

  .cta-section {
    background: var(--c-surface) !important;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
  .testimonial {
    padding: 1.75rem 1.25rem 1.75rem 1.5rem;
  }
}

/* ── LOCATION PULSE ANIMATION (used on about page) ──────── */
@keyframes locationPulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(200,184,154,.3); }
  50%      { opacity:.8; box-shadow: 0 0 0 5px rgba(200,184,154,0); }
}

/* ── QA PATCH — additional fixes ────────────────────────── */

/* Process step marker: needs left:0 explicitly */
.process-step { padding-left: 20px; }
.process-step__marker { left: 0; top: 0; }

/* Non-linked project cards: suppress hover effects */
div.project-card { cursor: default; }
div.project-card .project-card__img { transform: none !important; }
div.project-card:hover .project-card__overlay {
  background: linear-gradient(to top,
    rgba(10, 10, 9, 0.82) 0%,
    rgba(10, 10, 9, 0.20) 55%,
    transparent 75%
  );
}

/* Ensure hero image width/height layout stability */
.hero__bg img { width: 100%; height: 100%; }

/* ── NARROW MOBILE (430px / 390px) ──────────────────────── */
@media (max-width: 430px) {
  :root {
    --gutter: 20px;
    --space-xl:  64px;
    --space-2xl: 96px;
  }

  /* Hero: tighter bottom padding on small phones */
  .hero__content { padding: 0 var(--gutter) 64px; }

  /* About split: image slightly shorter on smallest screens */
  .about-hero-split__img { height: 70vw; }

  /* Atmosphere: taller relative height on portrait phones */
  .atmosphere-section { height: auto; min-height: 62vw; }

  /* Page header: less top padding */
  .page-header { padding: 100px var(--gutter) 48px; }

  /* Metrics: stack to 1 column on very small screens */
  .metrics-bar__inner { grid-template-columns: 1fr 1fr; }

  /* Featured case: video shorter on small phones */
  .featured-case__video-wrap { height: 62vw; }

  /* About values: tighter padding */
  .about-value { padding: 40px 24px; }

  /* Service blocks: tighter */
  .service-block { padding: 40px 24px 36px; }

  /* CTA section: less padding */
  .cta-section { padding: 72px var(--gutter); }

  /* An-metric: full width, column layout */
  .an-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
  }
  .an-metric__arrow { display: none; }

  /* reels grid: 2 columns on small screens */
  .reels-grid { grid-template-columns: repeat(2, 1fr); }

  /* Work grid screenshots 3-col → 1 col */
  .an-screenshots__row-3 { grid-template-columns: 1fr; }

  /* Project hero */
  .project-hero { height: 72vw; min-height: 280px; }

  /* Contact layout */
  .contact-layout { padding: 0 var(--gutter) 64px; }

  /* Form: remove 2-col */
  .form-row-2col { grid-template-columns: 1fr; }

  /* Testimonial: tighter on small */
  .testimonial { padding: 1.5rem 1rem 1.5rem 1.5rem; }

  /* Footer: tighter */
  .site-footer__main { padding: 48px var(--gutter) 36px; }
}

/* ── TABLET (768px specific fixes) ──────────────────────── */
@media (min-width: 769px) and (max-width: 900px) {
  /* An-screenshots row-3: 2 col at 768px, not 3 */
  .an-screenshots__row-3 { grid-template-columns: 1fr 1fr; }

  /* Work grid: 2 columns at tablet if desired */
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .project-card--wide { grid-column: span 2; }
  .work-grid .project-card--wide .project-card__img-wrap { aspect-ratio: 16/8; }
}

/* ── DESKTOP 1024px specific ─────────────────────────────── */
@media (min-width: 901px) and (max-width: 1100px) {
  /* Featured case info panel: slightly narrower padding */
  .featured-case__info { padding: 4rem 3.5rem; }

  /* Service blocks at 1024: 3 col but less padding */
  .service-block { padding: 44px 36px 40px; }

  /* Split section text: less horizontal padding */
  .split-section__text { padding: 80px 56px; }
}

/* Services section surface (replaces inline style) */
.services-section-surface {
  background: var(--c-surface);
  padding: var(--space-2xl) var(--gutter);
}

/* Services page process section */
.services-process-section {
  padding: var(--space-2xl) var(--gutter);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}

/* About split reversed — bg uses base background instead of surface */
.about-split-custom__text--bg-base {
  background: var(--c-bg) !important;
}

/* Testimonials section */
.testimonials-section {
  padding: var(--space-2xl) var(--gutter);
}

/* ── WORK GRID SOLO (single project) ────────────────────── */
.work-grid--solo {
  display: block;   /* single card — no grid needed */
}
.work-grid--solo .project-card--wide {
  display: block;
  width: 100%;
}
/* Solo featured card: cinematic tall crop */
.work-grid--solo .project-card--wide .project-card__img-wrap {
  aspect-ratio: 16/7;
  max-height: 80vh;
}
@media (max-width: 900px) {
  .work-grid--solo .project-card--wide .project-card__img-wrap {
    aspect-ratio: 4/3;
    max-height: none;
  }
}

/* ── PROJECT PAGE REELS: clean 3×2 portrait grid ────────── */
.page-project .reels-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: var(--space-md) 0 var(--space-lg);
}
@media (max-width: 900px) {
  .page-project .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}
@media (max-width: 430px) {
  .page-project .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}

/* ── STUDIO REEL — portrait, centered, full editorial presence ── */
.studio-reel-feature {
  /* Portrait: centered with tasteful side breathing room */
  width: min(420px, 100%);
  margin: 0 auto;
  aspect-ratio: 9/16;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  cursor: pointer;
}
