/*
 * SolXbyte — site stylesheet
 * Edit colours and fonts in section 1.
 *
 * Sections:
 *   1. Tokens
 *   2. Reset / base
 *   3. Layout helpers
 *   4. Header & nav
 *   5. Buttons & forms
 *   6. Hero & home bands
 *   7. Work / services
 *   8. Footer
 *   9. Motion
 */

/* ========== 1. Tokens ========== */
:root {
  --paper: #ffffff;
  --paper-2: #f7f4ef;
  --paper-3: #f0e8df;
  --ink: #16181a;
  --ink-muted: #5a5f66;
  --line: #e4ddd4;
  --accent: #e11d48;
  --accent-dark: #be123c;
  --accent-soft: #ffe4e8;
  --teal: #0f5c5c;
  --white: #ffffff;
  --danger: #8b2e2e;
  --ok: #1f5c3a;

  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --max: 72rem;
  --pad: 1.25rem;
  --radius: 2px;
  --header-h: 5rem;
}

/* ========== 2. Reset / base ========== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-inner {
  background:
    radial-gradient(1200px 480px at 8% -10%, rgba(225, 29, 72, 0.07), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(15, 92, 92, 0.08), transparent 50%),
    linear-gradient(180deg, #f4f1ec 0%, var(--paper) 28%, var(--paper) 100%);
}

body.is-page-enter main {
  animation: page-in 0.55s ease both;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ========== 3. Layout helpers ========== */
.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

main { min-height: 50vh; }

.section { padding: 4.5rem 0; }
.section-soft {
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.92), rgba(240, 232, 223, 0.95));
  border-block: 1px solid rgba(228, 221, 212, 0.7);
}
.section-texture {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.88)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(22, 24, 26, 0.015) 11px,
      rgba(22, 24, 26, 0.015) 12px
    );
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}
.section-intro-center {
  margin-inline: auto;
  text-align: center;
}
.section-intro p { color: var(--ink-muted); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.page-hero {
  position: relative;
  padding: 4rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(225, 29, 72, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(15, 92, 92, 0.08), transparent 50%),
    linear-gradient(135deg, #12151a 0%, #1c2229 48%, #2a1a1f 100%);
  color: var(--white);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .lede {
  margin-bottom: 0;
  color: rgba(255,255,255,0.82);
}
.page-hero .eyebrow { color: #ffb4c0; }

.prose { max-width: 40rem; }
.prose h2 { margin-top: 2rem; }

/* Legal pages */
.legal-hero {
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(225, 29, 72, 0.18), transparent 55%),
    linear-gradient(125deg, #0c1016 0%, #151b24 55%, #1a1418 100%);
  color: var(--white);
  padding: 4.5rem 0 2.75rem;
}
.legal-hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  align-items: flex-end;
}
.legal-hero h1 {
  color: var(--white);
  margin-bottom: 0.65rem;
}
.legal-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 34rem;
}
.legal-updated {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.legal-section {
  padding-top: 2.5rem;
  background:
    linear-gradient(180deg, #f6f3ee 0%, var(--paper) 18%, var(--paper) 100%);
}
.legal-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 880px) {
  .legal-layout {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 3rem;
  }
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
}
.legal-nav-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.legal-nav-link {
  display: block;
  padding: 0.65rem 0.8rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 650;
  font-size: 0.98rem;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.legal-nav-link:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.legal-nav-link.is-current {
  color: var(--ink);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.legal-nav-muted {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.legal-doc {
  max-width: 42rem;
  padding: 0.25rem 0 1rem;
}
.legal-block {
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-block:last-child { border-bottom: 0; }
.legal-block h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
}
.legal-block p {
  color: var(--ink-muted);
  margin: 0 0 0.85rem;
  line-height: 1.7;
}
.legal-block p:last-child { margin-bottom: 0; }

.split-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .split-3 { grid-template-columns: repeat(3, 1fr); }
}

.fact-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.fact-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.empty-note {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  color: var(--ink-muted);
  background: var(--paper-2);
  max-width: 36rem;
}

/* ========== 4. Header & nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 24, 26, 0.06);
}

/* Black ribbon on every page except Home */
.site-header-dark {
  background: #0d1014;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.site-header-dark.is-scrolled {
  background: rgba(10, 12, 16, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.site-header-dark .brand-mark,
.site-header-dark .nav-list a {
  color: rgba(255, 255, 255, 0.86);
}
.site-header-dark .nav-list a:hover,
.site-header-dark .nav-list a.is-current {
  color: var(--white);
}
.site-header-dark .nav-list a.is-current {
  text-decoration-color: var(--accent);
}
.site-header-dark .nav-toggle {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header-overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header-overlay .brand-mark,
.site-header-overlay .nav-list a {
  color: var(--white);
}
.site-header-overlay .nav-list a:hover,
.site-header-overlay .nav-list a.is-current {
  color: var(--white);
}
.site-header-overlay .nav-toggle {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.site-header-overlay.is-scrolled,
.site-header-overlay.is-solid {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}
.site-header-overlay.is-scrolled .brand-mark,
.site-header-overlay.is-scrolled .nav-list a,
.site-header-overlay.is-solid .brand-mark,
.site-header-overlay.is-solid .nav-list a {
  color: var(--ink);
}
.site-header-overlay.is-scrolled .nav-list a:hover,
.site-header-overlay.is-solid .nav-list a:hover {
  color: var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-logo { height: 2.4rem; width: auto; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 1.02rem;
  font-weight: 650;
  padding: 0.35rem 0;
}
.nav-list a:hover,
.nav-list a.is-current { color: var(--ink); }
.nav-list a.is-current {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--accent);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem var(--pad) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-header-overlay .site-nav {
    background: #111;
    border-bottom-color: #222;
  }
  .site-header-overlay .site-nav a { color: #fff; }
  .site-header-overlay.is-scrolled .site-nav,
  .site-header-overlay.is-solid .site-nav {
    background: var(--paper);
  }
  .site-header-overlay.is-scrolled .site-nav a,
  .site-header-overlay.is-solid .site-nav a {
    color: var(--ink);
  }
  .site-header-dark .site-nav {
    background: #0d1014;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  .site-header-dark .site-nav a { color: rgba(255, 255, 255, 0.9); }
  .nav-list { flex-direction: column; gap: 0.5rem; }
  .header-cta { align-self: flex-start; }
}

/* ========== 5. Buttons & forms ========== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.22);
}
.btn-small {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: none;
}
.btn-pill { border-radius: 999px; }
.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-on-dark:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form { max-width: 32rem; }
.form-row { margin-bottom: 1.1rem; }
.form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
}
.alert-ok { background: #e8f3ec; border-color: #b7d4c0; color: var(--ok); }
.alert-err { background: #f8ecec; border-color: #e0c0c0; color: var(--danger); }

.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li { margin-bottom: 1.25rem; }
.contact-details .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

/* ========== 6. Hero & home bands ========== */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 48rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-bleed-media,
.hero-bleed-shade {
  position: absolute;
  inset: 0;
}
.hero-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
.hero-bleed-shade {
  background:
    linear-gradient(180deg, rgba(10,12,16,0.35) 0%, rgba(10,12,16,0.55) 45%, rgba(10,12,16,0.78) 100%);
}
.hero-bleed-content {
  position: relative;
  z-index: 1;
  padding: 8.5rem 0 5rem;
  max-width: 46rem;
}
.brand-lockup {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.15rem;
  color: var(--white);
}
.hero-bleed h1,
.hero-bleed .hero-title {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5.2vw, 3.55rem);
  max-width: 18ch;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-bleed .lede {
  color: rgba(255,255,255,0.9);
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.journey-band {
  background: var(--paper-3);
  padding: 0;
}
.journey-inner {
  display: grid;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 860px) {
  .journey-inner { grid-template-columns: 1fr 1fr; }
}
.journey-media {
  min-height: 18rem;
  overflow: hidden;
}
.journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
  transition: transform 0.7s ease;
}
.journey-band:hover .journey-media img {
  transform: scale(1.04);
}
.journey-copy {
  padding: 3rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 860px) {
  .journey-copy { padding: 4rem 3rem; }
}

.cta-photo {
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: 18rem;
  display: flex;
  align-items: center;
}
.cta-photo-media,
.cta-photo-shade {
  position: absolute;
  inset: 0;
}
.cta-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-photo-shade {
  background: linear-gradient(90deg, rgba(8,14,22,0.72), rgba(8,14,22,0.45));
}
.cta-photo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 800px) {
  .cta-photo-inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 3rem;
  }
}
.cta-photo h2 {
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cta-photo p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.1rem;
}
.cta-rule {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
}

.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 34rem;
}

/* ========== 7. Work / services ========== */
.service-tiles {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .service-tiles { grid-template-columns: repeat(4, 1fr); }
}
.service-tile {
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-tile:hover { color: inherit; }
.service-tile-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 0.9rem;
  border-radius: 2px;
}
.service-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-tile:hover .service-tile-media img {
  transform: scale(1.06);
}
.service-tile h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-tile p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.work-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.work-card:hover {
  border-color: #d0c7bb;
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(22, 24, 26, 0.08);
}
.work-card-media {
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  padding: 0;
}
.work-card-media img {
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  background: #0f1216;
}
.work-card-media img[src*="logo"] {
  object-fit: contain;
  padding: 1.25rem;
  transform: scale(1.08);
}
.work-card:hover .work-card-media img[src*="logo"] {
  transform: scale(1.12);
}
.shot-frame img[src*="logo"] {
  object-fit: contain;
  padding: 2.5rem;
  max-height: 24rem;
  background: #0b0d10;
  width: auto;
  max-width: 70%;
  margin-inline: auto;
}
.work-card:hover .work-card-media img:not([src*="logo"]) {
  transform: scale(1.05);
}
.work-card-label {
  font-size: 1.05rem;
  color: var(--accent-dark);
  font-weight: 700;
}
.work-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.work-card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.work-card-body p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  flex: 1;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  align-items: center;
}
.tag-list li {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.32rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.work-card .tag-list-card {
  margin-top: auto;
}

.work-banner {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(225, 29, 72, 0.22), transparent 60%),
    linear-gradient(120deg, #0a0c10 0%, #151a22 55%, #1a1216 100%);
  color: var(--white);
  overflow: hidden;
  max-width: 100%;
}
.work-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}
.work-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.work-banner-copy {
  display: flex;
  align-items: center;
  padding: 2rem 0 1.25rem;
  min-width: 0;
}
.work-banner-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 7.5vw, 4.2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.work-banner-media {
  min-height: 11rem;
  max-height: 16rem;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  border-radius: 2px;
}
.work-banner-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 11rem;
  display: block;
  transform: none;
  transition: transform 0.8s ease;
}
@media (min-width: 860px) {
  .work-banner-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    min-height: 18rem;
  }
  .work-banner-copy {
    padding: 3rem 0;
  }
  .work-banner-media {
    min-height: 14rem;
    max-height: none;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0;
  }
  .work-banner-media img {
    min-height: 14rem;
    transform: scale(1.03);
  }
  .work-banner:hover .work-banner-media img {
    transform: scale(1.07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-banner-media img {
    transition: none !important;
    transform: none !important;
  }
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.service-item {
  display: block;
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 4px;
  scroll-margin-top: 6rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.service-item:hover {
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 14px 36px rgba(18, 21, 26, 0.08);
}
.service-item.is-flash {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
.service-item-top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.service-num {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.2;
}
.service-item-title {
  margin: 0;
  flex: 1 1 12rem;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.service-item-body {
  display: grid;
  gap: 1rem;
}
.service-item-body > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 48rem;
}
.service-for {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
}
.service-for strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin: 0 0 0.35rem;
}
.service-for p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (min-width: 800px) {
  .service-item {
    padding: 1.6rem 1.75rem 1.7rem;
  }
  .service-item-body {
    grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 0.85fr);
    gap: 1.5rem 2rem;
    align-items: start;
  }
}
@media (max-width: 520px) {
  .service-item {
    padding: 1.15rem 1rem 1.25rem;
  }
  .service-item-body > p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

.testimonial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .testimonial-list { grid-template-columns: repeat(2, 1fr); }
}
.testimonial {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.35rem;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.45;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.testimonial cite strong {
  display: block;
  color: var(--ink);
}
.stars {
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ========== 8. Footer ========== */
.site-footer {
  margin-top: 0;
  padding: 3rem 0 1.5rem;
  background: #0f1216;
  color: rgba(255,255,255,0.72);
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.35rem;
}
.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-blurb {
  font-size: 0.95rem;
  max-width: 22rem;
  margin: 0;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 0.75rem;
}
.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 650;
}
.footer-legal a:hover { color: var(--white); }
.footer-legal span { color: rgba(255, 255, 255, 0.28); }
.footer-bottom p { margin: 0; }

.text-muted { color: var(--ink-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 9. Motion ========== */
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gallery-fade {
  from { opacity: 0.35; transform: scale(1.015); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-tile,
.work-card,
.fact-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-tile:hover,
.work-card:hover,
.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 21, 26, 0.1);
}

.shot-stage img.is-switching {
  animation: gallery-fade 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-bleed-media img,
  .service-tile-media img,
  .work-card-media img,
  .journey-media img,
  body.is-page-enter main,
  .shot-stage img.is-switching {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== 10. Page banner + project detail ========== */
.page-banner {
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-banner-media,
.page-banner-shade {
  position: absolute;
  inset: 0;
}
.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 16s ease-out forwards;
}
.page-banner-shade {
  background:
    linear-gradient(105deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.55) 48%, rgba(8, 10, 14, 0.35) 100%),
    linear-gradient(180deg, rgba(10,12,16,0.2), rgba(10,12,16,0.78));
}
.page-banner-services .page-banner-shade {
  background:
    linear-gradient(115deg, rgba(12, 18, 28, 0.88) 0%, rgba(40, 12, 22, 0.55) 55%, rgba(10,12,16,0.4) 100%);
}
.page-banner-about .page-banner-shade {
  background:
    linear-gradient(120deg, rgba(10, 22, 24, 0.85) 0%, rgba(12, 14, 20, 0.55) 60%, rgba(10,12,16,0.4) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 3rem;
  max-width: 40rem;
}
.page-banner h1 { color: var(--white); }
.page-banner .lede {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}
.eyebrow-on-dark { color: #ffb4c0; }

.project-top {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.project-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .project-split {
    grid-template-columns: minmax(18rem, 0.92fr) minmax(22rem, 1.18fr);
    gap: 2.75rem;
    align-items: center;
  }
}
.project-copy .lede {
  margin-bottom: 1rem;
}
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.95rem 0.55rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.project-back::before {
  content: "←";
  font-size: 1.05rem;
}
.project-back:hover {
  background: var(--ink);
  color: var(--white);
}
.project-actions {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.project-live-url {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.project-live-url a {
  font-weight: 700;
  word-break: break-all;
}
.btn-demo {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  box-shadow: none;
}
.btn-demo:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.shot-gallery {
  min-width: 0;
}
.shot-stage {
  position: relative;
  background: #12151a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(18, 21, 26, 0.18);
}
.shot-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: #1c2128;
}
.shot-chrome span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3d4450;
}
.shot-chrome span:nth-child(1) { background: #ff5f57; }
.shot-chrome span:nth-child(2) { background: #febc2e; }
.shot-chrome span:nth-child(3) { background: #28c840; }
.shot-frame {
  background: #0b0d10;
  min-height: 12rem;
}
.shot-frame img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
  object-position: center top;
  display: block;
  margin: 0 auto;
}
.shot-caption {
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}
.shot-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.shot-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.shot-thumb img {
  width: 100%;
  height: 3.6rem;
  object-fit: cover;
  display: block;
  opacity: 0.7;
}
.shot-thumb.is-active {
  border-color: var(--accent);
}
.shot-thumb.is-active img,
.shot-thumb:hover img {
  opacity: 1;
}

.project-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .project-layout {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}
.project-main h2 {
  margin-top: 0;
}
.project-main h2 + h2,
.project-main .project-body + h2 {
  margin-top: 2rem;
}
.project-body {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 42rem;
}
.project-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.project-highlights li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.5rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.project-highlights li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.project-aside {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.project-meta,
.project-cta-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem;
}
.project-meta h2,
.project-cta-box h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.project-meta dl {
  margin: 0;
}
.project-meta dl > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.project-meta dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.project-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.project-meta dd {
  margin: 0;
  font-weight: 600;
}
.project-cta-box p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.project-cta-box .btn {
  width: 100%;
  text-align: center;
}
