/* ============================================================
   DCS Agency — Design System v6
   ============================================================ */

:root {
  --black: #060606;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e0e0dc;
  --paper: #f5f5f2;
  --white: #ffffff;
  --orange: #ff4b16;
  --max: 1140px;
  --header-h: 4.5rem;
  --wrap-pad: clamp(1.25rem, 5vw, 3rem);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  color: var(--black);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}

::selection { color: var(--white); background: var(--orange); }

/* ============================================================
   Utility
   ============================================================ */
.wrap {
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  line-height: 1;
  text-transform: uppercase;
}

/* ============================================================
   Custom Cursor
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }
}

.cursor-dot {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform;
}

.cursor-orb {
  position: fixed;
  z-index: 9998;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 75, 22, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.22s ease, height 0.22s ease, opacity 0.22s ease,
              border-color 0.22s ease, background 0.22s ease;
  will-change: transform;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-orb { opacity: 1; }

.cursor-orb.is-hover {
  width: 54px; height: 54px;
  border-color: var(--orange);
  background: rgba(255, 75, 22, 0.08);
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.loader-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
}

.loader-text {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 950;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.loader-text em { font-style: normal; color: var(--orange); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  z-index: 200;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--wrap-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.45s ease, border-color 0.45s ease;
}

/* Transparent state over dark hero — applied by JS */
.site-header.is-hero {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-hero .brand img {
  filter: brightness(0) invert(1);
}

.site-header.is-hero .site-nav a {
  color: rgba(255, 255, 255, 0.55);
}

.site-header.is-hero .site-nav a:hover,
.site-header.is-hero .site-nav a.active {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.site-header.is-hero .site-nav a.nav-ai {
  color: var(--white);
}

.site-header.is-hero .menu-button {
  border-color: rgba(255, 255, 255, 0.3);
}

.site-header.is-hero .menu-button span {
  background: var(--white);
}

.brand {
  width: clamp(9rem, 13vw, 13rem);
  flex-shrink: 0;
  transition: filter 0.45s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  padding: 0.6rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--black);
  border-color: var(--black);
}

.site-nav a.nav-ai {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.site-nav a.nav-ai:hover,
.site-nav a.nav-ai.active {
  background: var(--black);
  border-color: var(--black);
}

.menu-button {
  display: none;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.menu-button span {
  display: block;
  width: 1.1rem; height: 1.5px;
  background: var(--black);
  transition: background 0.3s;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.35rem;
  border: 1.5px solid;
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.btn-light:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
  border-color: var(--white);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-dark:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.btn-ai {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.btn-ai:hover {
  background: var(--black);
  border-color: var(--black);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 0.84rem;
}

/* Compat: old .button.primary used in ai.html */
.button.primary,
.button.ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.35rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1.5px solid;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button.primary {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button.primary:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.button.ai-button {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.button.ai-button:hover {
  background: var(--black);
  border-color: var(--black);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  background: var(--black);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding:
    calc(var(--header-h) + clamp(2.5rem, 5vh, 5rem))
    var(--wrap-pad)
    clamp(3rem, 6vh, 5rem);
  gap: clamp(1.5rem, 3vh, 2.5rem);
}

.hero-eyebrow { color: rgba(255, 255, 255, 0.38); }

.hero-title {
  color: var(--white);
  font-size: clamp(4rem, 9.5vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.split-line {
  display: block;
  overflow: hidden;
  line-height: 0.98;
}

.split-line > span {
  display: block;
  will-change: transform;
}

.hero-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: 1rem;
}

.hero-desc {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--wrap-pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1.5px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}

.hero-badge {
  position: absolute;
  right: var(--wrap-pad);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(5rem, 11vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.85;
  user-select: none;
  pointer-events: none;
}

.hero-badge em {
  font-style: normal;
  color: rgba(255, 75, 22, 0.2);
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  display: flex;
  overflow: hidden;
  background: var(--black);
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-width: max-content;
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker span {
  flex: 0 0 auto;
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ticker span:nth-child(even) { color: var(--orange); }

/* ============================================================
   Services
   ============================================================ */
.services {
  background: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.services-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.services-header h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  margin-top: 0.8rem;
  line-height: 0.93;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--black);
  overflow: hidden;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 28rem;
  border-right: 1.5px solid var(--black);
  transition: background 0.3s ease;
  overflow: hidden;
}

.svc-card:last-child { border-right: 0; }

/* Dark card */
.svc-dark { background: var(--black); }
.svc-dark .svc-num { color: var(--orange); }
.svc-dark .svc-title { color: var(--white); }
.svc-dark p { color: rgba(255, 255, 255, 0.45); }
.svc-dark .svc-arrow { color: rgba(255, 255, 255, 0.3); }
.svc-dark:hover { background: #0f0f0f; }

/* Image card */
.svc-image {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.svc-image img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-image:hover img { transform: scale(1.06); }

.svc-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.78) 100%);
}

.svc-image > *:not(img) { position: relative; z-index: 1; }
.svc-image .svc-num { color: var(--orange); }
.svc-image .svc-title,
.svc-image .svc-arrow { color: var(--white); }
.svc-image p { color: rgba(255, 255, 255, 0.65); }

/* Light card */
.svc-light { background: var(--white); }
.svc-light:hover { background: #fafaf8; }

.svc-num {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.svc-title {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.svc-card p { font-size: clamp(0.88rem, 1.1vw, 1rem); line-height: 1.6; }

.svc-arrow {
  display: block;
  font-size: 1.25rem;
  margin-top: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}

.svc-card:hover .svc-arrow {
  transform: translateX(10px);
  color: var(--orange) !important;
}

/* ============================================================
   Approach
   ============================================================ */
.approach {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.approach-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-left h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  margin-top: 0.8rem;
}

.approach-img-wrap {
  position: relative;
  overflow: hidden;
}

.approach-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.approach-stat {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--orange);
  color: var(--white);
  line-height: 1;
}

.stat-n {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.stat-l {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--black);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--black);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.65s ease;
  filter: saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(3px);
  transition: transform 0.3s ease;
}

.gallery-item:hover figcaption { transform: translateY(0); }

/* ============================================================
   SEO Band
   ============================================================ */
.seo-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.seo-left h2 {
  font-size: clamp(1.9rem, 3.8vw, 4rem);
  line-height: 0.95;
  margin-top: 0.8rem;
}

.seo-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: end;
}

/* ============================================================
   CTA Band
   ============================================================ */
.cta-band {
  background: var(--black);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-h {
  color: var(--white);
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  width: clamp(7rem, 10vw, 11rem);
  opacity: 0.88;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--orange); }

/* ============================================================
   Inner Pages — shared layout
   ============================================================ */
.page-main,
.contact-main {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.ai-main {
  padding-top: var(--header-h);
}

.page-hero {
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
  max-width: 68rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-hero h1,
.contact-hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 5.5rem);
  line-height: 0.93;
  margin-top: 0.8rem;
}

.page-hero p:not(.eyebrow),
.contact-hero p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1rem;
}

/* Page Image Band */
.page-image-band {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  align-items: stretch;
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  border: 1.5px solid var(--black);
  background: var(--black);
  overflow: hidden;
}

.page-image-band img {
  width: 100%;
  min-height: clamp(20rem, 32vw, 25rem);
  object-fit: cover;
  display: block;
}

.page-image-band div {
  display: grid;
  align-content: stretch;
  gap: 1.5px;
  background: var(--black);
}

.page-image-band span {
  display: grid;
  align-content: end;
  min-height: 7rem;
  padding: 1rem 1.25rem;
  color: var(--white);
  background: var(--black);
  border-bottom: 1.5px solid rgba(255,255,255,0.07);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s ease;
}

.page-image-band span:hover { background: var(--orange); }

/* Two column layouts */
.two-column,
.print-layout,
.marketing-hero,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.two-column > *, .print-layout > *,
.marketing-hero > *, .contact-grid > * { min-width: 0; }

.copy-stack, .print-list { display: grid; gap: 1.25rem; }

.number-block span {
  display: block;
  color: var(--orange);
  font-weight: 950;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.number-block h2,
.print-list h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

/* Check list */
.check-list {
  display: grid;
  padding: 0; margin: 0;
  list-style: none;
  border-top: 1.5px solid var(--black);
}

.check-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Process / service lines */
.process,
.service-lines,
.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--black);
  border: 1.5px solid var(--black);
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.process article,
.service-lines article {
  min-height: 13rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--paper);
}

.process span,
.service-lines span {
  color: var(--black);
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.material-grid span {
  min-height: 9rem;
  display: grid;
  align-content: end;
  padding: 1.25rem;
  background: var(--paper);
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--black);
  border: 1.5px solid var(--black);
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.faq-section article {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
}

.faq-section h2 { font-size: clamp(1.8rem, 3.5vw, 3.5rem); }

/* Content showcase */
.content-showcase,
.contact-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--black);
  border: 1.5px solid var(--black);
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin: clamp(2rem, 4vw, 3.5rem) auto;
}

.content-showcase figure,
.contact-gallery > img {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.content-showcase figure img,
.contact-gallery > img {
  width: 100%;
  min-height: clamp(14rem, 22vw, 20rem);
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.content-showcase figure:hover img { transform: scale(1.04); }

.content-showcase figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  padding: 0.45rem 0.7rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Print & marketing page */
.print-layout img,
.marketing-hero img {
  width: 100%;
  min-height: clamp(23rem, 36vw, 30rem);
  object-fit: cover;
}

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

.marketing-hero { align-items: center; }
.marketing-hero h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
}
.marketing-hero p:not(.eyebrow) { margin-top: 1rem; }

/* Print hero alignment */
.print-hero { margin-left: 0; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-hero {
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
  max-width: 72rem;
  padding-bottom: clamp(2.2rem, 5vw, 3.8rem);
}

.contact-form,
.contact-panel { display: grid; gap: 1.1rem; }

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--black);
  border-radius: 0;
  padding: 0.9rem 1rem;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
}

textarea { resize: vertical; min-height: 120px; }

.contact-panel {
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--black);
}

.contact-panel img { width: min(16rem, 70%); margin-bottom: 1rem; }

.contact-panel a {
  color: var(--white);
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 950;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.contact-panel a:hover { color: var(--orange); }
.contact-panel p { color: rgba(255,255,255,0.42); margin-top: 1.25rem; font-size: 0.92rem; }

.contact-gallery { margin-bottom: 0; }
.contact-gallery > img { min-height: 18rem; }

/* ============================================================
   AI Page
   ============================================================ */
.ai-main {
  background:
    linear-gradient(rgba(6,6,6,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,6,6,0.04) 1px, transparent 1px),
    radial-gradient(circle at 78% 34%, rgba(255, 75, 22, 0.07), transparent 22rem),
    var(--white);
  background-size: 12.5rem 12.5rem, 12.5rem 12.5rem, auto, auto;
}

.ai-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--wrap-pad) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.ai-card {
  position: relative;
  z-index: 1;
  width: min(58rem, 72vw);
  min-height: clamp(11rem, 22vw, 18rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 6, 6, 0.14);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1.8rem 4rem rgba(6, 6, 6, 0.14);
  backdrop-filter: blur(12px);
}

.ai-card::before, .ai-card::after { content: ""; position: absolute; border: 2px solid var(--orange); pointer-events: none; }
.ai-card::before { top: 1.25rem; right: 1.25rem; width: 2rem; height: 2rem; border-bottom: 0; border-left: 0; border-radius: 0 1rem 0 0; }
.ai-card::after { inset: 1rem; border-color: rgba(6, 6, 6, 0.13); border-radius: 1rem; }

.ai-card-inner {
  position: relative;
  z-index: 1;
  color: var(--black);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.ai-card-inner span span { color: var(--orange); }

.ai-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.ai-hero-copy h1 { font-size: clamp(4rem, 10vw, 8rem); text-transform: uppercase; }

.ai-hero-copy p,
.ai-hero-tags,
.ai-side-copy,
.ai-count { font-family: "Courier New", Courier, monospace; letter-spacing: 0.18em; }

.ai-hero-copy p { color: var(--black); font-size: clamp(1.15rem, 2.2vw, 2rem); }

.ai-rule { width: 5.8rem; height: 0.25rem; background: var(--orange); }

.ai-hero-tags {
  position: absolute;
  right: 50%; bottom: 2rem;
  z-index: 1;
  display: flex;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  color: var(--black);
  font-size: clamp(0.68rem, 1vw, 0.88rem);
  font-weight: 700;
  text-transform: uppercase;
  transform: translateX(50%);
  white-space: nowrap;
}

.ai-hero-tags span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.42rem; height: 0.42rem;
  margin-left: clamp(1rem, 4vw, 3rem);
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}

.ai-side-copy {
  position: absolute;
  top: clamp(2rem, 7vw, 5.2rem);
  left: clamp(1.5rem, 6vw, 4rem);
  color: var(--black);
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.ai-side-copy::after { content: ""; display: block; width: 1.3rem; height: 2px; margin-top: 1rem; background: var(--orange); }

.ai-count {
  position: absolute;
  top: clamp(2rem, 7vw, 5rem);
  right: clamp(1.5rem, 5vw, 4rem);
  display: grid;
  gap: 0.55rem;
  color: var(--black);
  font-weight: 700;
}

.ai-count::after { content: ""; width: 1rem; height: 2px; margin-left: 0.1rem; background: var(--orange); order: 2; }

.ai-cross { position: absolute; top: clamp(2rem, 8vw, 5rem); right: clamp(5rem, 10vw, 8rem); color: var(--orange); font-size: 2rem; font-weight: 300; }

.ai-corner { position: absolute; width: 2.4rem; height: 2.4rem; pointer-events: none; }
.ai-corner.top-left { top: 2rem; left: 2rem; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.ai-corner.bottom-left { bottom: 2rem; left: 2rem; border-bottom: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.ai-corner.bottom-right { right: 2rem; bottom: 2rem; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }

.ai-dots { position: absolute; width: 15rem; height: 9rem; opacity: 0.3; background-image: radial-gradient(circle, rgba(6,6,6,0.35) 1.2px, transparent 1.2px); background-size: 1.25rem 1.25rem; }
.ai-dots.left { left: 2rem; top: 30%; }
.ai-dots.right { right: 3rem; bottom: 8rem; }

.ai-intro,
.ai-services,
.ai-process,
.ai-cta {
  width: min(var(--max), calc(100% - 2 * var(--wrap-pad)));
  margin-inline: auto;
}

.ai-intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.ai-intro h2, .ai-cta h2 {
  margin-top: 0.8rem;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
}

.ai-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--black);
  border: 1.5px solid var(--black);
}

.ai-services article {
  min-height: 20rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--white);
}

.ai-services span,
.ai-process article span { color: var(--orange); font-weight: 950; }

.ai-services h3 { font-size: clamp(1.8rem, 3vw, 3rem); }

.ai-process {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.ai-process > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--black);
  border: 1.5px solid var(--black);
}

.ai-process article {
  min-height: 11rem;
  display: grid;
  gap: 1rem;
  align-content: space-between;
  padding: 1.25rem;
  background: var(--paper);
}

.ai-process article span { color: var(--black); text-transform: uppercase; font-weight: 950; }

.ai-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0 clamp(4rem, 7vw, 6rem);
}

.ai-cta .button,
.ai-cta .btn { flex: 0 0 auto; }

/* ============================================================
   Mini Footer (inner page legacy)
   ============================================================ */
.mini-footer {
  padding: 2rem var(--wrap-pad);
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.mini-footer a {
  color: var(--white);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.mini-footer a:hover { color: var(--orange); }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.35; transform: scaleY(0.65); }
}

/* ============================================================
   Responsive — 860px
   ============================================================ */
@media (max-width: 860px) {
  .menu-button { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
    z-index: 199;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    border-radius: 0;
    padding: 0.85rem 1rem;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:hover, .site-nav a.active {
    background: transparent;
    border-bottom-color: var(--line);
    color: var(--black);
  }

  /* Hero */
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-actions { justify-content: flex-start; flex-wrap: wrap; }
  .hero-badge, .hero-scroll { display: none; }

  /* Sections */
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: 0; border-bottom: 1.5px solid var(--black); min-height: 20rem; }
  .svc-card:last-child { border-bottom: 0; }

  .approach-inner { grid-template-columns: 1fr; }
  .approach-img-wrap img { aspect-ratio: 16/9; }

  .gallery { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 16/9; }

  .seo-band { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }

  /* Inner pages */
  .two-column,
  .print-layout,
  .marketing-hero,
  .contact-grid { grid-template-columns: 1fr; }

  .page-image-band { grid-template-columns: 1fr; }
  .page-image-band div { display: flex; flex-wrap: wrap; }

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

  .faq-section { grid-template-columns: 1fr; }
  .content-showcase { grid-template-columns: 1fr; }
  .contact-gallery { grid-template-columns: 1fr; }

  /* AI */
  .ai-services,
  .ai-process > div { grid-template-columns: 1fr 1fr; }
  .ai-process { grid-template-columns: 1fr; }
  .ai-hero { min-height: auto; padding-top: 4rem; }
  .ai-card { width: min(100%, 38rem); }
  .ai-side-copy, .ai-count, .ai-cross, .ai-dots, .ai-corner { display: none; }
  .ai-hero-tags { position: static; flex-wrap: wrap; justify-content: center; margin-top: 2rem; transform: none; white-space: normal; }
  .ai-cta { display: grid; }
  .ai-intro { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive — 520px
   ============================================================ */
@media (max-width: 520px) {
  :root { --wrap-pad: 1rem; }

  .hero-title { font-size: clamp(3rem, 13vw, 5rem); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; min-width: calc(50% - 0.3rem); }

  .ticker span { font-size: 1.1rem; }

  .services-header h2 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .svc-title { font-size: clamp(2rem, 9vw, 3.5rem); }

  .cta-h { font-size: clamp(2.8rem, 12vw, 5rem); }

  .process,
  .service-lines,
  .material-grid,
  .ai-services,
  .ai-process > div { grid-template-columns: 1fr; }

  .ai-card-inner { font-size: clamp(2.35rem, 13vw, 4rem); }
  .ai-hero-copy h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .split-line > span { transform: none !important; }
}
