/* ============================================================
   DRIFT CREATIVE — components.css
   Reusable UI components: nav, footer, buttons, cards, forms
   ============================================================ */

/* ─── SITE NAV ─── */
.site-nav {
  background: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 64px;
  border-bottom: 3px solid var(--lime);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: height 0.35s ease, border-bottom-color 0.35s ease;
}

/* Scrolled state — added by JS when page scrolls past 60px */
.site-nav.scrolled {
  height: 48px;
  border-bottom-width: 2px;
}

/* ── Logo ── */
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  text-decoration: none;
  transition: font-size 0.35s ease;
  flex-shrink: 0;
}

.site-nav.scrolled .nav-logo {
  font-size: 18px;
}

.nav-logo .logo-accent {
  color: var(--lime);
}

/* ── Desktop links ── */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-links li {
  display: contents;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

/* Active / hover — lime underline tick */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--white);
}

/* ── CTA button ── */
.nav-cta {
  background: var(--electric);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 0 28px;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: #e03500;
}

/* ── Hamburger button ── */
.nav-toggle {
  display: none;   /* shown via media query */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--gutter);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;    /* sits above the overlay */
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle[aria-expanded="true"] .bar-1 {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .bar-3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── FULL-SCREEN OVERLAY (mobile menu) ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter) 48px;
  /* closed state */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.35s ease;
  pointer-events: none;
  overflow-y: auto;
}

/* Lime stripe across top of overlay */
.nav-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
}

.nav-overlay.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Overlay link list */
.overlay-links {
  list-style: none;
  border-top: var(--rule);
}

.overlay-links li {
  border-bottom: var(--rule);
  overflow: hidden;
  /* start hidden for stagger */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.nav-overlay.open .overlay-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.06s; }
.nav-overlay.open .overlay-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.nav-overlay.open .overlay-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.18s; }
.nav-overlay.open .overlay-links li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.nav-overlay.open .overlay-links li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.30s; }

.overlay-links a {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 88px);
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.overlay-links a::after {
  content: '→';
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease;
}

.overlay-links a:hover {
  color: var(--lime);
  padding-left: 16px;
}

.overlay-links a:hover::after {
  color: var(--lime);
}

.overlay-links a.active {
  color: var(--electric);
}

.overlay-links a.active::after {
  color: var(--electric);
}

/* Overlay CTA */
.overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  align-self: flex-start;
  background: var(--electric);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 16px 28px;
  text-decoration: none;
  transition: background 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
}

.nav-overlay.open .overlay-cta {
  opacity: 1;
  transform: none;
  transition: background 0.2s ease, opacity 0.4s ease 0.36s, transform 0.4s var(--ease-out-expo) 0.36s;
}

.overlay-cta:hover {
  background: #e03500;
}

/* Overlay tagline */
.overlay-tagline {
  margin-top: 16px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: translateY(10px);
}

.nav-overlay.open .overlay-tagline {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease 0.42s, transform 0.4s var(--ease-out-expo) 0.42s;
}

/* ─── SITE FOOTER ─── */
/* ─── SITE FOOTER ─── */

.site-footer {
  background: var(--black);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-top: 3px solid var(--electric);
}

/* ── Left: Brand column ── */
.sf-brand {
  padding: 52px var(--gutter) 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

/* DC monogram — large Bebas Neue statement mark */
.sf-monogram {
  font-family: var(--font-display);
  font-size: 108px;
  line-height: 0.82;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  user-select: none;
}

/* D: outlined — transparent fill, white stroke; reads as a ghost letter */
.sf-mono-d {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  color: transparent;
}

/* C: solid lime — the accent punch */
.sf-mono-c {
  color: var(--lime);
}

.sf-agency-name {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.sf-blurb {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.28);
  max-width: 240px;
  margin: 0;
}

/* ── Centre: Nav column ── */
.sf-nav {
  padding: 52px var(--gutter) 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Right: Contact column ── */
.sf-contact {
  padding: 52px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
}

/* Section heading — shared by nav + contact columns */
.sf-head {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 20px;
}

/* Link/item list */
.sf-list {
  list-style: none;
}

.sf-list li {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.sf-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-list li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.sf-list li a:hover {
  color: var(--lime);
}

/* CTA link below contact details */
.sf-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  text-decoration: none;
  transition: color var(--transition);
}

.sf-cta:hover {
  color: var(--lime);
}

/* ── Bottom bar ── */
.sf-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px var(--gutter);
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--electric);
  color: var(--white);
  border-color: var(--electric);
}

.btn-primary:hover {
  background: #e03500;
  border-color: #e03500;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

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

.btn-lime:hover {
  background: #b8eb00;
  border-color: #b8eb00;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

/* ─── CARDS ─── */

/* Work / project card */
.work-card {
  border: var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out-expo);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card-image {
  aspect-ratio: 4/3;
  background: var(--mid);
  overflow: hidden;
  position: relative;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}

.work-card:hover .work-card-image img {
  transform: scale(1.04);
}

.work-card-body {
  padding: 28px 24px;
  border-top: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.work-card-category {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--electric);
}

.work-card-title {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  line-height: 1.1;
  color: var(--black);
}

.work-card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-top: 4px;
}

/* ─── SERVICE STRIPS (homepage) ─── */

.svc-strips {
  border-top: var(--rule);
}

/* Each strip is a full-width alternating row */
.svc-strip {
  display: grid;
  grid-template-columns: 52fr 48fr;
  border-bottom: var(--rule);
  min-height: 340px;
  text-decoration: none;
  color: inherit;
  cursor: crosshair;
  overflow: hidden;
  position: relative;
}

/* Reverse: photo moves to right, content to left */
.svc-strip--reverse {
  grid-template-columns: 48fr 52fr;
}

.svc-strip--reverse .svc-strip-photo {
  order: 2;
  border-left: var(--rule);
  border-right: none;
}

.svc-strip--reverse .svc-strip-info {
  order: 1;
}

/* ─── Photo panel ─── */
.svc-strip-photo {
  border-right: var(--rule);
  overflow: hidden;
  position: relative;
}

.svc-strip-photo-blank {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: #1c1c1c;
  transition: background 0.3s ease;
}

.svc-strip--light .svc-strip-photo-blank {
  background: #e0ddd6;
}

.svc-strip:hover .svc-strip-photo-blank {
  background: #242424;
}

.svc-strip--light:hover .svc-strip-photo-blank {
  background: #d4d0c8;
}

/* When a real image is added later */
.svc-strip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.svc-strip:hover .svc-strip-photo img {
  transform: scale(1.04);
}

/* ─── Web Design & Build — live code editor animation ─── */
.web-anim {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
}

/* Left: code editor */
.wba-editor {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  background: #0d1117;
  border-right: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.wba-editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.wba-editor-filename {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin-left: 6px;
}

.wba-editor-body {
  flex: 1;
  display: flex;
  padding: 14px 0;
  overflow: hidden;
}

.wba-line-nums {
  display: flex;
  flex-direction: column;
  padding: 0 10px 0 14px;
  flex-shrink: 0;
  user-select: none;
}

.wba-line-nums span {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255,255,255,0.15);
  display: block;
  text-align: right;
  min-width: 14px;
}

.wba-code-area {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.65;
  padding-right: 12px;
  overflow: hidden;
}

/* Syntax colours */
.wba-c-tag  { color: #4ec9b0; }
.wba-c-attr { color: #9cdcfe; }
.wba-c-val  { color: #ce9178; }
.wba-c-txt  { color: rgba(255,255,255,0.85); }

/* Blinking typing cursor */
.wba-type-cursor {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--lime);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: wbaBlink 0.9s step-end infinite;
}

/* Right: browser preview */
.wba-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #111;
  overflow: hidden;
}

.wba-bar {
  background: #222;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wba-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wba-dot--r { background: #ff5f57; }
.wba-dot--y { background: #febc2e; }
.wba-dot--g { background: #28c840; }

.wba-url {
  flex: 1;
  margin-left: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wba-screen {
  flex: 1;
  padding: 20px 16px;
  overflow: hidden;
}

/* Browser elements: hidden until JS triggers them */
.wba-s-nav,
.wba-s-h1,
.wba-s-cta,
.wba-s-stats,
.wba-s-section {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.wba-s-nav.wba-visible,
.wba-s-h1.wba-visible,
.wba-s-cta.wba-visible,
.wba-s-stats.wba-visible,
.wba-s-section.wba-visible {
  opacity: 1;
  transform: translateY(0);
}

.wba-s-nav {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--lime);
  margin-bottom: 12px;
}

.wba-s-h1 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 14px;
}

.wba-s-cta {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--electric);
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
}

/* Stat strip */
.wba-s-stats {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 14px;
}

.wba-s-stat {
  flex: 1;
  padding: 8px 6px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.wba-s-stat:last-child { border-right: none; }

.wba-s-stat-val {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--electric);
  line-height: 1;
  margin-bottom: 3px;
}

.wba-s-stat-lbl {
  font-family: var(--font-condensed);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Services section */
.wba-s-section {
  border-top: 2px solid var(--lime);
  background: rgba(255,255,255,0.03);
  padding: 10px 10px;
}

.wba-s-section-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 8px;
}

.wba-s-section-item {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wba-s-section-item:last-child { border-bottom: none; }

@keyframes wbaBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Reduced motion — just show final state */
@media (prefers-reduced-motion: reduce) {
  .wba-s-nav, .wba-s-h1, .wba-s-cta, .wba-s-stats, .wba-s-section {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .wba-type-cursor { animation: none; }
}

/* Mobile */
@media (max-width: 768px) {
  .wba-editor { flex: 0 0 50%; }
  .wba-code-area, .wba-line-nums span { font-size: 9px; }
  .wba-s-h1 { font-size: 17px; }
  .wba-s-stats, .wba-s-section { display: none; }
}

/* ─── Social Media — cycling post cards ─── */
/* ─── SOCIAL MEDIA INFINITE SCROLL GRID ─── */
.smg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.smg-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  animation: smgScroll 18s linear infinite;
  will-change: transform;
}

.smg-post {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}

/* Brand-coloured placeholder pattern when no image loaded */
.smg-post:nth-child(3n+1) { background: #111; }
.smg-post:nth-child(3n+2) { background: #0f1a00; }
.smg-post:nth-child(3n+3) { background: #1a0800; }

.smg-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

@keyframes smgScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .smg-track { animation: none; }
}

/* ─── OLD SSP CARD STYLES (kept for reference, unused) ─── */
.ssp-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.ssp-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.ssp-card.ssp-active { opacity: 1; }

/* IG-style header bar */
.ssp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #000;
  flex-shrink: 0;
}

/* Instagram story-ring gradient around avatar */
.ssp-av-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 2px;
  flex-shrink: 0;
}

.ssp-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid #000;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssp-header-text {
  flex: 1;
  min-width: 0;
}

.ssp-username {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.ssp-sponsored {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  line-height: 1.2;
}

.ssp-more {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  cursor: default;
}

/* Image area */
.ssp-image {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ssp-img--1 { background: linear-gradient(145deg, #caff00, #8fbc00); }
.ssp-img--2 { background: linear-gradient(145deg, #ff3d00, #8a1a00); }
.ssp-img--3 { background: linear-gradient(145deg, #141414, #0a0a0a); }
.ssp-img--4 { background: linear-gradient(145deg, #caff00 0%, #ffb300 55%, #ff3d00 100%); }

.ssp-post-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 20px;
}

.ssp-img--1 .ssp-post-text,
.ssp-img--4 .ssp-post-text { color: rgba(0,0,0,0.2); }
.ssp-img--2 .ssp-post-text { color: rgba(255,255,255,0.15); }
.ssp-img--3 .ssp-post-text { color: var(--lime); opacity: 0.6; }

/* Progress dots */
.ssp-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.ssp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.ssp-dot.ssp-dot--active {
  background: #fff;
  transform: scale(1.4);
}

/* IG info / action bar */
.ssp-info {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px 12px;
  flex-shrink: 0;
}

.ssp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ssp-actions-left {
  display: flex;
  gap: 14px;
}

.ssp-icon {
  width: 22px;
  height: 22px;
  color: #fff;
  display: block;
}

.ssp-likes {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.ssp-caption {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.ssp-cap-user {
  font-weight: 600;
  color: #fff;
  margin-right: 4px;
}

/* Reduced motion — just show first card */
@media (prefers-reduced-motion: reduce) {
  .ssp-card:first-child { opacity: 1; }
  .ssp-card { transition: none; }
  .ssp-dot:first-child { background: #fff; transform: scale(1.4); }
}

/* ─── Social Media — content schedule grid ─── */
.scs-wrap {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  background-image: radial-gradient(circle, rgba(202, 255, 0, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.scs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.scs-title {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.scs-week {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
}

/* 7-column day grid */
.scs-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  min-height: 0;
}

.scs-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scs-day {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Today indicator pip */
.scs-today-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
}

.scs-col--today .scs-day {
  color: rgba(255,255,255,0.7);
  border-bottom-color: var(--electric);
}

/* Content slots */
.scs-slot {
  flex: 1;
  border-radius: 5px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out-expo);
}

.scs-wrap.is-visible .scs-slot {
  opacity: 1;
  transform: none;
}

.scs-slot--posted    { background: rgba(202, 255, 0, 0.75); }
.scs-slot--scheduled { background: rgba(255, 61, 0, 0.55); border: 1px dashed rgba(255, 61, 0, 0.8); }
.scs-slot--empty     { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }

.scs-type {
  font-family: var(--font-condensed);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  line-height: 1;
}

.scs-slot--scheduled .scs-type { color: rgba(255,255,255,0.7); }

/* Legend */
.scs-legend {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.scs-legend-item {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scs-legend-item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.scs-legend--posted::before    { background: rgba(202,255,0,0.75); }
.scs-legend--scheduled::before { background: rgba(255,61,0,0.55); border: 1px dashed rgba(255,61,0,0.8); }

/* Mobile */
@media (max-width: 768px) {
  .scs-wrap { padding: 16px 12px; gap: 10px; }
  .scs-grid { gap: 5px; }
  .scs-type { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scs-slot { opacity: 1; transform: none; transition: none; }
}

/* ─── Social Media — live activity feed ─── */
.smf-wrap {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  background-image: radial-gradient(circle, rgba(202, 255, 0, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.smf-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.smf-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: smfPulse 1.8s ease-in-out infinite;
}

@keyframes smfPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.smf-title {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.smf-handle {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
  margin-left: auto;
}

/* Scrolling track */
.smf-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.smf-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 2;
  pointer-events: none;
}

.smf-fade--top {
  top: 0;
  background: linear-gradient(to bottom, #0d0d0d, transparent);
}

.smf-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #0d0d0d, transparent);
}

.smf-track {
  animation: smfScroll 22s linear infinite;
}

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

@keyframes smfScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Individual rows */
.smf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.smf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.smf-row--lime    .smf-dot { background: var(--lime); }
.smf-row--electric .smf-dot { background: var(--electric); }
.smf-row--grey    .smf-dot { background: rgba(255,255,255,0.2); }

.smf-text {
  font-family: var(--font-condensed);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  flex: 1;
  line-height: 1.3;
}

.smf-text strong {
  color: #fff;
  font-weight: 700;
}

.smf-time {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .smf-wrap { padding: 16px 14px; gap: 12px; }
  .smf-text { font-size: 11px; }
}

/* Reduced motion — pause the scroll */
@media (prefers-reduced-motion: reduce) {
  .smf-track { animation: none; }
  .smf-live-dot { animation: none; }
}

/* ─── Social Media — metrics dashboard ─── */
.smd-dash {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  background-image: radial-gradient(circle, rgba(202, 255, 0, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.smd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.smd-title {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.smd-period {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
}

.smd-platforms {
  display: flex;
  gap: 8px;
}

.smd-platform {
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}

.smd-platform--ig {
  background: rgba(193, 53, 132, 0.12);
  color: #e1609f;
  border: 1px solid rgba(193, 53, 132, 0.25);
}

.smd-platform--fb {
  background: rgba(66, 133, 244, 0.1);
  color: #5b9cf6;
  border: 1px solid rgba(66, 133, 244, 0.2);
}

/* KPI tiles */
.smd-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.smd-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 12px 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.smd-dash.is-visible .smd-kpi:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.smd-dash.is-visible .smd-kpi:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.smd-dash.is-visible .smd-kpi:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.smd-dash.is-visible .smd-kpi:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }

.smd-kpi-val {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.smd-kpi-suffix {
  font-family: var(--font-condensed);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.smd-kpi-label {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 5px;
}

.smd-kpi-delta {
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.smd-delta--up { color: #4ade80; }

/* Bar chart */
.smd-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.smd-chart-title {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

.smd-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 0;
}

.smd-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 5px;
}

.smd-bar {
  width: 100%;
  height: var(--bh);
  background: rgba(202, 255, 0, 0.3);
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-out-expo);
}

.smd-bar--peak { background: var(--lime); }

.smd-bar-label {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.smd-dash.is-visible .smd-bar-wrap:nth-child(1) .smd-bar { transform: scaleY(1); transition-delay: 0.45s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(2) .smd-bar { transform: scaleY(1); transition-delay: 0.55s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(3) .smd-bar { transform: scaleY(1); transition-delay: 0.65s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(4) .smd-bar { transform: scaleY(1); transition-delay: 0.75s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(5) .smd-bar { transform: scaleY(1); transition-delay: 0.85s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(6) .smd-bar { transform: scaleY(1); transition-delay: 0.95s; }
.smd-dash.is-visible .smd-bar-wrap:nth-child(7) .smd-bar { transform: scaleY(1); transition-delay: 1.05s; }

/* Mobile */
@media (max-width: 768px) {
  .smd-dash { padding: 16px 14px; gap: 10px; }
  .smd-kpi  { padding: 8px 6px; }
  .smd-kpi-val { font-size: 16px; }
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .smd-kpi { opacity: 1; transform: none; transition: none; }
  .smd-bar  { transform: scaleY(1); transition: none; }
}

/* ─── Social Media — phone mockup ─── */
.sm-phone-wrap {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  background-image: radial-gradient(circle, rgba(202, 255, 0, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sm-phone {
  width: 195px;
  background: #111;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Camera pill */
.sm-phone::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 2;
}

.sm-screen {
  padding: 26px 0 0;
}

/* Profile header */
.sm-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.sm-phone-wrap.is-visible .sm-profile-header { opacity: 1; transform: none; transition-delay: 0.05s; }

.sm-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--electric);
}

.sm-profile-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
}

.sm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.sm-counter {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  line-height: 1;
}

.sm-stat-suffix {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  line-height: 1;
}

.sm-stat-label {
  font-family: var(--font-condensed);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.sm-username {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  padding: 0 14px 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sm-bio {
  font-family: var(--font-condensed);
  font-size: 8px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
  padding: 0 14px 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sm-follow-btn {
  margin: 0 14px 10px;
  background: var(--electric);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sm-phone-wrap.is-visible .sm-username   { opacity: 1; transform: none; transition-delay: 0.12s; }
.sm-phone-wrap.is-visible .sm-bio        { opacity: 1; transform: none; transition-delay: 0.18s; }
.sm-phone-wrap.is-visible .sm-follow-btn { opacity: 1; transform: none; transition-delay: 0.24s; }

/* Post grid */
.sm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.sm-post {
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sm-phone-wrap.is-visible .sm-post:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.30s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.38s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.46s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.54s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.62s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.70s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.78s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.86s; }
.sm-phone-wrap.is-visible .sm-post:nth-child(9) { opacity: 1; transform: none; transition-delay: 0.94s; }

.sm-post--lime     { background: linear-gradient(135deg, #caff00, #8fbc00); }
.sm-post--electric { background: linear-gradient(135deg, #ff3d00, #cc2000); }
.sm-post--dark     { background: linear-gradient(135deg, #2a2a2a, #111); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sm-profile-header, .sm-username, .sm-bio, .sm-follow-btn, .sm-post {
    opacity: 1; transform: none; transition: none;
  }
}

/* ─── Social card grid ─── */
.social-card-stack {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
  background-color: #0d0d0d;
  background-image: radial-gradient(circle, rgba(202, 255, 0, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

.social-card {
  width: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

/* Card header */
.sc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.sc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-meta { flex: 1; min-width: 0; }

.sc-username {
  font-size: 9px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-time {
  font-size: 8px;
  color: #999;
  line-height: 1.2;
}

/* Card image */
.sc-image {
  width: 100%;
  flex: 1;
  min-height: 0;
  background-size: cover;
  background-position: center;
}

/* Card footer */
.sc-footer {
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 500;
  color: #333;
}

/* ── Sequential reveal: left→right, row by row ── */
.social-card-stack.is-visible .social-card {
  animation: scGridIn 0.7s var(--ease-out-expo) both;
}

.social-card-stack.is-visible .social-card:nth-child(1)  { animation-delay: 0.10s; }
.social-card-stack.is-visible .social-card:nth-child(2)  { animation-delay: 0.28s; }
.social-card-stack.is-visible .social-card:nth-child(3)  { animation-delay: 0.46s; }
.social-card-stack.is-visible .social-card:nth-child(4)  { animation-delay: 0.64s; }
.social-card-stack.is-visible .social-card:nth-child(5)  { animation-delay: 0.82s; }
.social-card-stack.is-visible .social-card:nth-child(6)  { animation-delay: 1.00s; }
.social-card-stack.is-visible .social-card:nth-child(7)  { animation-delay: 1.18s; }
.social-card-stack.is-visible .social-card:nth-child(8)  { animation-delay: 1.36s; }

@keyframes scGridIn {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .social-card-stack.is-visible .social-card {
    animation: none;
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .social-card-stack {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .social-card-stack {
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
    gap: 6px;
  }

  .sc-header { padding: 5px 6px; gap: 5px; }
  .sc-avatar  { width: 18px; height: 18px; font-size: 7px; }
  .sc-username { font-size: 8px; }
  .sc-time     { font-size: 7px; }
  .sc-footer   { padding: 4px 6px; font-size: 8px; }
}

/* ─── Paid Advertising — metrics dashboard ─── */
.ads-dash {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  background-image: radial-gradient(circle, rgba(255, 61, 0, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.ads-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ads-dash-title {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.ads-dash-period {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.2);
}

.ads-platforms {
  display: flex;
  gap: 8px;
}

.ads-platform {
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}

.ads-platform--google {
  background: rgba(66, 133, 244, 0.12);
  color: #5b9cf6;
  border: 1px solid rgba(66, 133, 244, 0.25);
}

.ads-platform--meta {
  background: rgba(24, 119, 242, 0.1);
  color: #4f90f0;
  border: 1px solid rgba(24, 119, 242, 0.2);
}

/* KPI tiles */
.ads-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ads-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 12px 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ads-dash.is-visible .ads-kpi:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.ads-dash.is-visible .ads-kpi:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.ads-dash.is-visible .ads-kpi:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.ads-dash.is-visible .ads-kpi:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }

.ads-kpi-val {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.ads-kpi-suffix {
  font-family: var(--font-condensed);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.ads-kpi-label {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 5px;
}

.ads-kpi-delta {
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ads-delta--up   { color: #4ade80; }
.ads-delta--down { color: #4ade80; } /* lower cost = good = green */

/* Bar chart */
.ads-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ads-chart-title {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

.ads-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 0;
}

.ads-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 5px;
}

.ads-bar {
  width: 100%;
  height: var(--bh);
  background: rgba(255, 61, 0, 0.35);
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-out-expo);
}

.ads-bar--peak {
  background: var(--electric);
}

.ads-bar-label {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* Staggered bar reveal */
.ads-dash.is-visible .ads-bar-wrap:nth-child(1) .ads-bar { transform: scaleY(1); transition-delay: 0.45s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(2) .ads-bar { transform: scaleY(1); transition-delay: 0.55s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(3) .ads-bar { transform: scaleY(1); transition-delay: 0.65s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(4) .ads-bar { transform: scaleY(1); transition-delay: 0.75s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(5) .ads-bar { transform: scaleY(1); transition-delay: 0.85s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(6) .ads-bar { transform: scaleY(1); transition-delay: 0.95s; }
.ads-dash.is-visible .ads-bar-wrap:nth-child(7) .ads-bar { transform: scaleY(1); transition-delay: 1.05s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ads-kpi { opacity: 1; transform: none; transition: none; }
  .ads-bar  { transform: scaleY(1); transition: none; }
}

/* ─── Brand Identity — brand kit grid ─── */
.bki-wrap {
  position: absolute;
  inset: 0;
  background: var(--mid);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.bki-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 20px;
}

.bki-label {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--black);
}

.bki-version {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.3);
}

.bki-body {
  display: flex;
  gap: 14px;
  flex: 1;
  min-height: 0;
  margin-bottom: 20px;
}

/* Logo lockup */
.bki-logo-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  border: 1px solid rgba(0,0,0,0.15);
  padding: 20px 16px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.bki-wrap.is-visible .bki-logo-panel {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.bki-logo-mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 58px);
  color: var(--lime);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.bki-logo-wordmark {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.bki-logo-tag {
  font-family: var(--font-condensed);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
}

/* Colour swatches */
.bki-swatches {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.bki-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.bki-wrap.is-visible .bki-swatch:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.15s; }
.bki-wrap.is-visible .bki-swatch:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.25s; }
.bki-wrap.is-visible .bki-swatch:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.35s; }
.bki-wrap.is-visible .bki-swatch:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.45s; }
.bki-wrap.is-visible .bki-swatch:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.55s; }
.bki-wrap.is-visible .bki-swatch:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.65s; }

.bki-swatch-block {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.bki-swatch-name {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
  line-height: 1.2;
}

.bki-swatch-hex {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.4);
  line-height: 1.2;
}

/* Type specimen */
.bki-type {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bki-type-row {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.bki-wrap.is-visible .bki-type-row:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.5s; }
.bki-wrap.is-visible .bki-type-row:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.6s; }
.bki-wrap.is-visible .bki-type-row:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.7s; }

.bki-type-sample {
  width: 36px;
  flex-shrink: 0;
  color: var(--black);
  line-height: 1;
}

.bki-t-display   { font-family: var(--font-display);   font-size: 24px; }
.bki-t-condensed { font-family: var(--font-condensed); font-size: 20px; font-weight: 700; }
.bki-t-body      { font-family: var(--font-body);      font-size: 17px; font-weight: 400; }

.bki-type-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--electric);
  padding-left: 10px;
}

.bki-type-name {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.bki-type-role {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bki-logo-panel,
  .bki-swatch,
  .bki-type-row { opacity: 1; transform: none; transition: none; }
}

/* ─── Info panel ─── */
.svc-strip-info {
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.svc-strip--dark .svc-strip-info {
  background: var(--black);
}

.svc-strip--light .svc-strip-info {
  background: var(--white);
}

/* Electric top border wipe on hover */
.svc-strip-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.svc-strip:hover .svc-strip-info::before {
  transform: scaleX(1);
}

.svc-strip-num {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 12px;
}

.svc-strip-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  transition: color 0.25s ease;
}

.svc-strip--dark .svc-strip-title { color: var(--white); }
.svc-strip--light .svc-strip-title { color: var(--black); }

.svc-strip:hover .svc-strip-title {
  color: var(--electric);
}

.svc-strip-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 20px;
}

.svc-strip--dark .svc-strip-desc { color: rgba(255,255,255,0.5); }
.svc-strip--light .svc-strip-desc { color: #666; }

.svc-strip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-strip-list li {
  font-size: 13px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.svc-strip-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-size: 11px;
}

.svc-strip--dark .svc-strip-list li { color: rgba(255,255,255,0.45); }
.svc-strip--light .svc-strip-list li { color: #555; }

.svc-strip-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: auto;
}

.svc-strip--dark .svc-strip-footer { border-top: 1px solid rgba(255,255,255,0.1); }
.svc-strip--light .svc-strip-footer { border-top: 1px solid rgba(0,0,0,0.1); }

.svc-strip-price {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1;
}

.svc-strip--dark .svc-strip-price { color: var(--white); }
.svc-strip--light .svc-strip-price { color: var(--black); }

.svc-strip-cta {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .svc-strip,
  .svc-strip--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .svc-strip--reverse .svc-strip-photo {
    order: 1;
    border-left: none;
    border-right: none;
    border-bottom: var(--rule);
  }

  .svc-strip--reverse .svc-strip-info { order: 2; }

  .svc-strip-photo,
  .svc-strip-photo-blank {
    min-height: 280px;
  }

  .svc-strip-photo {
    border-right: none;
    border-bottom: var(--rule);
  }

  /* ── Ads dashboard ── */
  .ads-dash {
    padding: 16px 14px;
    gap: 10px;
  }

  .ads-kpi {
    padding: 8px 6px;
  }

  .ads-kpi-val {
    font-size: 18px;
  }

  /* ── Brand kit ── */
  .bki-wrap {
    padding: 14px 12px;
    gap: 0;
  }

  .bki-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .bki-body {
    margin-bottom: 8px;
    gap: 8px;
  }

  .bki-logo-panel {
    padding: 10px 10px;
    justify-content: flex-start;
  }

  .bki-logo-mark {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .bki-logo-wordmark {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .bki-logo-tag {
    font-size: 7px;
    padding-top: 5px;
  }

  .bki-swatches {
    gap: 5px;
    justify-content: center;
  }

  .bki-swatch {
    gap: 6px;
  }

  .bki-swatch-block {
    width: 18px;
    height: 18px;
  }

  .bki-swatch-name {
    font-size: 9px;
  }

  .bki-swatch-hex {
    font-size: 8px;
  }

  .bki-type {
    gap: 5px;
    padding-top: 8px;
  }

  .bki-t-display   { font-size: 18px; }
  .bki-t-condensed { font-size: 15px; }
  .bki-t-body      { font-size: 13px; }

  .bki-type-sample { width: 28px; }

  .bki-type-name { font-size: 9px; }
  .bki-type-role { font-size: 8px; }
}

@media (max-width: 480px) {
  .svc-strip-photo,
  .svc-strip-photo-blank {
    min-height: 300px;
  }

  /* ── Ads: switch to 2×2 KPI grid on small phones ── */
  .ads-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Brand kit: compact horizontal layout on small phones ── */
  .bki-body {
    flex-direction: row;
    gap: 8px;
    flex: 1;
  }

  .bki-logo-panel {
    flex: 0 0 38%;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
  }

  .bki-logo-mark {
    font-size: 24px;
    margin-bottom: 3px;
  }

  .bki-logo-wordmark {
    font-size: 8px;
    margin-bottom: 5px;
  }

  .bki-logo-tag { display: none; }

  .bki-swatches {
    flex: 1;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
  }

  .bki-swatch {
    gap: 5px;
  }

  .bki-swatch-block {
    width: 14px;
    height: 14px;
    border-radius: 3px;
  }

  .bki-swatch-name { font-size: 8px; }
  .bki-swatch-hex  { font-size: 7px; }

  .bki-type {
    padding-top: 6px;
    gap: 4px;
  }

  .bki-type-row { gap: 8px; }
  .bki-type-sample { width: 22px; }

  .bki-t-display   { font-size: 15px; }
  .bki-t-condensed { font-size: 13px; }
  .bki-t-body      { font-size: 12px; }
}

/* ─── SERVICE MOSAIC (homepage) ─── */

.svc-mosaic {
  border-top: var(--rule);
}

.svc-mosaic-row {
  display: flex;
  border-bottom: var(--rule);
}

/* Base card */
.svc-card {
  flex: 2;
  padding: clamp(36px, 4.5vw, 60px) var(--gutter);
  border-right: var(--rule);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
  cursor: crosshair;
  min-height: clamp(280px, 30vw, 380px);
}

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

/* Featured dark card */
.svc-card--dark {
  flex: 3;
  background: var(--black);
}

/* Electric top border wipe on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 2;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card:not(.svc-card--dark):hover {
  background: var(--mid);
}

/* Ghost number */
.svc-card-ghost {
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 180px);
  line-height: 0.85;
  position: absolute;
  top: -8px;
  right: -4px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.svc-card:not(.svc-card--dark) .svc-card-ghost {
  color: rgba(0, 0, 0, 0.05);
}

.svc-card--dark .svc-card-ghost {
  color: rgba(255, 255, 255, 0.04);
}

/* Inner content sits above ghost */
.svc-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.svc-card-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
}

.svc-card-title {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  transition: color 0.25s ease;
}

.svc-card:not(.svc-card--dark) .svc-card-title {
  color: var(--black);
}

.svc-card--dark .svc-card-title {
  color: var(--white);
}

.svc-card:hover .svc-card-title {
  color: var(--electric);
}

/* Bullet list */
.svc-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.svc-card-list li {
  font-size: 13px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.svc-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-size: 11px;
  top: 1px;
}

.svc-card:not(.svc-card--dark) .svc-card-list li {
  color: #555;
}

.svc-card--dark .svc-card-list li {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer: price + cta */
.svc-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  gap: 16px;
}

.svc-card:not(.svc-card--dark) .svc-card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.svc-card--dark .svc-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-card-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
}

.svc-card:not(.svc-card--dark) .svc-card-price {
  color: var(--black);
}

.svc-card--dark .svc-card-price {
  color: var(--white);
}

.svc-card-cta {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .svc-mosaic-row {
    flex-direction: column;
  }

  .svc-card,
  .svc-card--dark {
    flex: none;
    border-right: none;
    border-bottom: var(--rule);
    min-height: auto;
  }

  .svc-mosaic-row .svc-card:last-child {
    border-bottom: none;
  }
}

/* ─── SERVICE LIST (homepage) ─── */

.svc-list {
  border-top: var(--rule);
}

.svc-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 3.5vw, 44px) var(--gutter);
  border-bottom: var(--rule);
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background 0.25s ease;
  position: relative;
  cursor: crosshair;
  overflow: hidden;
}

/* Electric underline wipes in from left on hover */
.svc-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.svc-row:hover::after {
  transform: scaleX(1);
}

.svc-row:hover {
  background: var(--mid);
}

.svc-row-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  color: var(--black);
  opacity: 0.15;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.svc-row:hover .svc-row-num {
  opacity: 0.35;
}

.svc-row-title {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 30px);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.svc-row:hover .svc-row-title {
  color: var(--electric);
}

.svc-row-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 480px;
}

.svc-row-price {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  white-space: nowrap;
  flex-shrink: 0;
  transition: letter-spacing 0.25s ease;
}

.svc-row:hover .svc-row-price {
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .svc-row {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }

  .svc-row-price {
    grid-column: 2;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .svc-row-num {
    font-size: 24px;
  }

  .svc-row-price {
    grid-column: 1;
  }
}

/* ─── SERVICES GRID ─── */

/*
 * Grid border system:
 *   Each cell carries its own border-right + border-bottom.
 *   nth-child selectors strip the borders at grid edges so no
 *   double-border appears at the outer perimeter.
 *   3-col desktop  →  2-col tablet  →  1-col mobile.
 */

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

.svc-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  padding: 44px var(--gutter);
  min-height: clamp(260px, 22vw, 320px);
  border-right: var(--rule);
  border-bottom: var(--rule);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease;
  cursor: pointer;
}

/* ── Grid edge rules: 2-col, 2-row (4 cells) ── */
/* No right border on every 2nd cell (right column) */
.svc-cell:nth-child(2n) {
  border-right: none;
}
/* No bottom border on last row (cells 3–4) */
.svc-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

/* ── Electric stripe: wipes in from left on hover ── */
.svc-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out-expo);
  z-index: 1;
}

.svc-cell:hover::before {
  transform: scaleX(1);
}

/* ── Number ── */
.svc-cell-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--electric);
  transition: color 0.35s ease;
}

/* ── Bottom cluster: title, desc, arrow ── */
.svc-cell-bottom {
  display: flex;
  flex-direction: column;
}

.svc-cell-title {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(18px, 1.55vw, 23px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 10px;
  transition: color 0.35s ease;
}

.svc-cell-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
  color: #555;
  transition: color 0.35s ease;
}

/* ── Arrow: slides in from left on hover ── */
.svc-cell-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  opacity: 1;
  transform: translateX(0);
  transition:
    color 0.35s ease;
}

/* Arrow glyph */
.svc-cell-arrow::before {
  content: '→';
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

/* ── Hover: full invert to black / electric ── */
.svc-cell:hover {
  background-color: var(--black);
}

.svc-cell:hover .svc-cell-num {
  color: var(--electric);
}

.svc-cell:hover .svc-cell-title {
  color: var(--electric);
}

.svc-cell:hover .svc-cell-desc {
  color: rgba(255, 61, 0, 0.55);
}

.svc-cell:hover .svc-cell-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--electric);
}

/* ─── FORMS ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--grey);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--white);
  border: var(--rule);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 300;
  color: var(--black);
  width: 100%;
  appearance: none;
  transition: border-color var(--transition);
  cursor: pointer;
  border-radius: 0;
}

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

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* ─── STAT / TICKER STRIP ─── */
.stat-strip {
  display: grid;
  border-top: var(--rule);
  border-bottom: var(--rule);
}

.stat-cell {
  padding: 16px 24px;
  border-right: var(--rule);
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--grey);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell .stat-value {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 2px;
  letter-spacing: var(--ls-wide);
}

/* ─── CONTACT PAGE ─── */

/* Hero band — full-width electric orange */
.contact-hero {
  background: var(--electric);
  padding: 100px 0 80px;
  border-bottom: var(--rule);
}

.contact-hero-inner {
  max-width: 900px;
}

.contact-hero-label {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 0.88;
  letter-spacing: var(--ls-normal);
  color: var(--white);
  margin-bottom: 28px;
}

.contact-hero-title .text-outline {
  -webkit-text-stroke-color: var(--white);
}

.contact-hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0;
}

/* Body: two-column grid */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--rule);
}

/* ── Form column ── */
.contact-form-col {
  padding: 64px var(--gutter);
  border-right: var(--rule);
}

.contact-col-label {
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Name + Email side by side */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Select wrapper — positions the custom arrow */
.form-select-wrap {
  position: relative;
}

.form-select-wrap .form-select {
  padding-right: 44px;
}

.form-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-condensed);
  font-size: 14px;
  color: var(--grey);
  pointer-events: none;
}

/* Submit row */
.contact-form-submit {
  gap: 16px;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
}

.form-fine-print {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

/* Error state (JS-applied) */
.form-input.error,
.form-textarea.error {
  border-color: var(--electric);
}

/* ── Info column ── */
.contact-info-col {
  padding: 64px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Detail blocks — ruled list */
.contact-details {
  display: flex;
  flex-direction: column;
  border-top: var(--rule-subtle);
  margin-bottom: 48px;
}

.contact-detail-block {
  padding: 20px 0;
  border-bottom: var(--rule-subtle);
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 24px;
  row-gap: 4px;
}

.contact-detail-eyebrow {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  grid-column: 1;
  padding-top: 2px;
}

.contact-detail-value {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.5;
  transition: color var(--transition);
}

a.contact-detail-value:hover {
  color: var(--electric);
}

.contact-detail-note {
  font-size: 14px;
  color: #666;
  font-weight: 300;
  grid-column: 2;
  grid-row: 2;
}

/* Map placeholder */
.contact-map-placeholder {
  background: var(--mid);
  border: var(--rule);
  flex: 1;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 40px;
}

.contact-map-pin {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--electric);
  line-height: 1;
}

.contact-map-label {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--black);
}

.contact-map-sub {
  font-size: var(--fs-small);
  color: var(--grey);
  font-weight: 300;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 56px;
  }

  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-form-col {
    border-right: none;
    border-bottom: var(--rule);
  }

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

  .contact-detail-block {
    grid-template-columns: 80px 1fr;
  }

  .contact-map-placeholder {
    min-height: 180px;
  }
}

/* ─── PAGE HERO BANNER ─── */
.page-hero {
  background: var(--black);
  padding: 80px var(--gutter);
  border-bottom: var(--rule);
  position: relative;
  overflow: hidden;
}

.page-hero-ghost {
  position: absolute;
  bottom: -20px;
  left: -10px;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  pointer-events: none;
  user-select: none;
}

.page-hero-label {
  font-family: var(--font-condensed);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: var(--ls-normal);
  position: relative;
  z-index: 2;
}

.page-hero-title .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.page-hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

/* ── Page-hero responsive ── */
@media (max-width: 768px) {
  .page-hero {
    padding: 64px var(--gutter) 48px;
  }

  .page-hero-ghost {
    font-size: clamp(100px, 28vw, 160px);
    bottom: -10px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 48px var(--gutter) 40px;
  }

  .page-hero-title {
    /* Prevent very long page titles from bleeding on smallest screens */
    font-size: clamp(48px, 14vw, 80px);
  }
}

/* ─── TESTIMONIALS SECTION ─── */

.testi-section {
  background: var(--black);
  border-bottom: var(--rule);
}

/* ── Dark-background section-header override ── */
.section-header--dark {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section-header--dark .sh-title {
  color: var(--white);
}

.section-header--dark .sh-desc,
.section-header--dark .sh-desc a {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

/* ── Padded content wrapper ── */
.testi-wrapper {
  padding: clamp(56px, 8vh, 96px) var(--gutter) clamp(48px, 7vh, 80px);
}

/* ── Fade container — JS toggles .is-fading ── */
.testi-content {
  transition: opacity 0.32s ease;
}

.testi-content.is-fading {
  opacity: 0;
}

/* ── Opening quote mark ── */
.testi-mark {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(80px, 10vw, 156px);
  /* Tight line-height so the glyph doesn't push down too far */
  line-height: 0.62;
  color: var(--electric);
  margin-bottom: 28px;
  user-select: none;
}

/* ── Quote text ── */
.testi-quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 36px);
  line-height: 1.52;
  color: var(--white);
  /* Constrain line length for readability on wide viewports */
  max-width: min(900px, 100%);
  margin: 0;
}

/* ── Attribution ── */
.testi-attribution {
  margin-top: 36px;
  padding-top: 28px;
  /* Thin rule separates quote from name — echoes brand's rule system on dark */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.testi-name {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.testi-role-company {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Electric orange mid-dot separator between role and company */
.testi-sep {
  color: var(--electric);
  padding: 0 8px;
  font-size: 14px;
  line-height: 1;
}

/* ── Navigation controls ── */
.testi-controls {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Prev / Next buttons */
.testi-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 22px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

/* Lime on hover — consistent with nav active state on dark backgrounds */
.testi-btn:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ── Dot indicators ── */
.testi-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Each dot is an accessible button */
.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.testi-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.45);
}

/* Active dot: electric orange, slightly enlarged */
.testi-dot.active {
  background: var(--electric);
  transform: scale(1.6);
}

/* Slide counter "1 / 3" */
.testi-counter {
  margin-left: auto;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .testi-quote {
    font-size: clamp(18px, 4.5vw, 24px);
  }

  .testi-counter {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }
}

/* ─── ABOUT SECTION ─── */

.about-section {
  border-bottom: var(--rule);
}

/* ── Two-column body: headline left, copy right ── */
.about-body {
  display: grid;
  grid-template-columns: 55fr 45fr;
  padding: clamp(52px, 8vh, 96px) var(--gutter);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.about-headline-col {
  display: flex;
  align-items: flex-end;
}

.about-copy-col {
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
}

/* ── Headline ── */
.about-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 112px);
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.about-headline-line {
  display: block;
  color: var(--black);
}

/* Second line: electric orange outline — pops without competing with hero */
.about-headline-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--electric);
}

/* ── Body copy ── */
.about-copy-col p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  max-width: 460px;
}

/* ── Facts strip ── */
/* ─── ABOUT TEAM MINI STRIP ─── */
.about-team-strip {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px var(--gutter);
  border-top: var(--rule-subtle);
}

.about-team-mini {
  flex: 1;
}

.about-team-mini-divider {
  width: 1px;
  align-self: stretch;
  background: #e0e0e0;
}

.about-team-mini-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: var(--ls-normal);
  line-height: 1;
  margin-bottom: 4px;
}

.about-team-mini-role {
  font-family: var(--font-condensed);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 10px;
}

.about-team-mini-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  max-width: 280px;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: clamp(36px, 5vh, 60px) var(--gutter);
  background: var(--mid);
}

.about-fact {
  flex: 1;
  min-width: 160px;
  padding: 0 clamp(20px, 3vw, 48px) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-fact-value {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: var(--black);
}

.about-fact-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
  }

  .about-headline-col {
    align-items: flex-start;
  }

  .about-fact {
    min-width: 140px;
    flex: 0 0 calc(50% - 12px);
    padding-bottom: 20px;
  }

  .about-team-strip {
    gap: 24px;
    padding: 32px var(--gutter);
  }

  .about-team-mini-bio {
    max-width: 100%;
  }
}


/* ─── PORTFOLIO / WORK GRID ─── */

/*
 * Asymmetric 3-col layout:
 *
 *   columns:  2fr        1fr     1fr
 *   ┌──────────────────┬───────┬───────┐
 *   │                  │       B       │  row 1 — 480px
 *   │       A          ├───────┼───────┤
 *   │  (spans 2 rows)  │   C   │   D   │  row 2 — 340px
 *   └──────────────────┴───────┴───────┘
 *
 *   LARGE:  A (tall left), B (wide top-right)
 *   SMALL:  C (bottom-mid), D (bottom-right)
 */

.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 480px 340px;
  border-bottom: var(--rule);
}

/* ── Grid-area assignments ── */
.work-tile-a {
  grid-column: 1;
  grid-row: 1 / 3;        /* spans both rows */
  border-right: var(--rule);
}

.work-tile-b {
  grid-column: 2 / 4;     /* spans last two columns */
  grid-row: 1;
  border-bottom: var(--rule);
}

.work-tile-c {
  grid-column: 2;
  grid-row: 2;
  border-right: var(--rule);
}

.work-tile-d {
  grid-column: 3;
  grid-row: 2;
}

/* ── Base tile shell ── */
.work-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;          /* keeps it a valid link or div */
  background-color: var(--mid);   /* fallback while image loads */
}

/* ── Swap-ready image layer ──────────────────────────────
 * To change the image, update only the background-image
 * inline style on the .wt-image div inside each tile.
 * ──────────────────────────────────────────────────────── */
.wt-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s var(--ease-out-expo);
  will-change: transform;
  z-index: 0;
}

.work-tile:hover .wt-image {
  transform: scale(1.06);
}

/* ── Permanent gradient scrim — readable text at all times ── */
.work-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.28) 40%,
    rgba(10, 10, 10, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Scrim fades as overlay rises so the two don't double-darken */
.work-tile:hover::after {
  opacity: 0;
}

/* ── Category tag — top-left, always visible ── */
.wt-meta {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
}

.wt-category {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--electric);
  padding: 4px 10px 3px;
}

/* ── Nameplate — bottom-left, always visible ── */
.wt-nameplate {
  position: absolute;
  bottom: 26px;
  left: 24px;
  right: 24px;
  z-index: 3;
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease-out-expo);
}

.work-tile:hover .wt-nameplate {
  opacity: 0;
  transform: translateY(10px);
}

.wt-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 48px);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

/* ── Hover overlay — slides up from the bottom ── */
.wt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  padding: 0 24px 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.work-tile:hover .wt-overlay {
  transform: translateY(0);
}

/* 3px lime stripe pins the overlay to the tile visually */
.wt-overlay::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--lime);
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* Overlay: category re-stated in electric */
.wt-overlay-cat {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric);
}

/* Overlay: project name in lime Bebas */
.wt-overlay-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 40px);
  color: var(--lime);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

/* Overlay: short description */
.wt-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* Overlay: view-project link */
.wt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  transition: gap 0.22s ease;
}

.wt-link::after {
  content: '→';
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.22s ease;
}

.wt-link:hover {
  gap: 14px;
}

.wt-link:hover::after {
  transform: translateX(4px);
}

/* ── Touch / no-hover devices: overlay is always visible ── */
@media (hover: none) {
  .wt-overlay {
    transform: translateY(0);
    background: rgba(10, 10, 10, 0.88);
  }

  .wt-nameplate {
    display: none;
  }

  /* Keep scrim visible so the tag still reads */
  .work-tile:hover::after {
    opacity: 1;
  }
}

/* ── Tablet: reflow to 2-col stacked ── */
@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 300px 300px;
  }

  /* Tile A spans full width on top */
  .work-tile-a {
    grid-column: 1 / 3;
    grid-row: 1;
    border-right: none;
    border-bottom: var(--rule);
  }

  .work-tile-b {
    grid-column: 1;
    grid-row: 2;
    border-right: var(--rule);
    border-bottom: var(--rule);
  }

  .work-tile-c {
    grid-column: 2;
    grid-row: 2;
    border-right: none;
    border-bottom: var(--rule);
  }

  .work-tile-d {
    grid-column: 1 / 3;
    grid-row: 3;
    border-right: none;
  }
}

/* ── Mobile: single column ── */
@media (max-width: 480px) {
  .work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 280px 260px 260px;
  }

  .work-tile-a,
  .work-tile-b,
  .work-tile-c,
  .work-tile-d {
    grid-column: 1;
    border-right: none;
    border-bottom: var(--rule);
  }

  .work-tile-a { grid-row: 1; }
  .work-tile-b { grid-row: 2; }
  .work-tile-c { grid-row: 3; }
  .work-tile-d { grid-row: 4; border-bottom: none; }

  .wt-name {
    font-size: 32px;
  }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .wt-image,
  .wt-nameplate,
  .work-tile::after {
    transition: none;
  }

  .wt-overlay {
    transition: transform 0.15s ease;
  }
}

/* ─── TICKER ─── */
.ticker {
  display: flex;
  align-items: center;
  background: var(--electric);
  border-bottom: var(--rule);
  height: 48px;
  cursor: default;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 24px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-right: 1px solid rgba(255,255,255,0.2);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-scroll-area {
  overflow: hidden;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
}

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

.ticker-item {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--white);
  padding: 0 28px;
}

.ticker-sep {
  color: rgba(255,255,255,0.4);
  font-size: 9px;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* ─── HOMEPAGE HERO ─── */
.hero {
  background: var(--black);
  min-height: calc(100vh - 64px);   /* nav is 64px; hero fills the rest of the viewport */
  display: grid;
  grid-template-rows: 1fr auto;     /* content stretches, stats strip locks to bottom */
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* 4px lime stripe across the very top */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lime);
  z-index: 3;
}

/* ── DC monogram — purely decorative, right-side bleed ── */
.hero-monogram {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(300px, 44vw, 680px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.035);
  /* Subtle lime aura reinforces brand without showing colour */
  text-shadow:
    0 0 100px rgba(202, 255, 0, 0.05),
    0 0 300px rgba(202, 255, 0, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

/* ── Inner content wrapper ── */
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 10vh, 120px) var(--gutter);
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

/* ── Location / service label ── */
.hero-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  /* entrance */
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-out-expo) 0.15s forwards;
}

.hero-label-dot {
  color: var(--lime);
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}

/* ── Main headline ── */
.hero-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 152px);
  color: var(--white);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: clamp(28px, 5vh, 52px);
}

/* Each line clips its child so the slide-up is a wipe from the baseline */
.hero-line {
  display: block;
  overflow: hidden;
  /* Tiny breathing room between wrapped lines */
  padding-bottom: 0.06em;
}

.hero-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(72px);
}

.hero-line:nth-child(1) .hero-line-inner {
  animation: heroSlideUp 0.75s var(--ease-out-expo) 0.3s forwards;
}
.hero-line:nth-child(2) .hero-line-inner {
  animation: heroSlideUp 0.75s var(--ease-out-expo) 0.44s forwards;
}
.hero-line:nth-child(3) .hero-line-inner {
  animation: heroSlideUp 0.75s var(--ease-out-expo) 0.58s forwards;
}

/* "HARD." — electric orange text-stroke outline treatment */
.hero-outline {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 3px var(--electric);
}

/* ── Subheading ── */
.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.48);
  max-width: 460px;
  margin-bottom: clamp(36px, 5vh, 52px);
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-out-expo) 0.76s forwards;
}

/* ── CTA group ── */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-out-expo) 0.9s forwards;
}

/* ── Vertical scroll indicator (right edge, decorative) ── */
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;   /* clears the stats strip */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 1.2s forwards;
}

.hero-scroll-label {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--lime), rgba(202, 255, 0, 0));
}

/* ── Bottom stat strip (dark-background variant) ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: heroFadeUp 0.6s ease 1.1s forwards;
}

.hero-stats .stat-cell {
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero-stats .stat-cell:last-child {
  border-right: none;
}

.hero-stats .stat-value {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: var(--ls-wide);
  margin-bottom: 3px;
}

/* ── Hero keyframes ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(72px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero-line-inner,
  .hero-sub,
  .hero-ctas,
  .hero-stats,
  .hero-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Hero responsive ── */
@media (max-width: 768px) {
  .hero-outline {
    -webkit-text-stroke-width: 2px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 48px);  /* scrolled nav height */
  }

  .hero-monogram {
    font-size: clamp(200px, 68vw, 300px);
    right: -10vw;
    top: auto;
    bottom: 80px;
    transform: none;
  }

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

  .hero-stats .stat-cell:nth-child(2) {
    border-right: none;
  }

  .hero-stats .stat-cell:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll {
    display: none;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Hide desktop nav links + CTA, show hamburger */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Services: already 2-col at desktop — no change needed at this breakpoint */
}

@media (max-width: 480px) {
  /* Services: 1-col on mobile */
  .svc-grid {
    grid-template-columns: 1fr;
  }

  /* Reset 2-col edge rules, apply full-width single column */
  .svc-cell,
  .svc-cell:nth-child(2n),
  .svc-cell:nth-last-child(-n+2) {
    border-right: none;
    border-bottom: var(--rule);
    min-height: 220px;
  }

  /* Only the very last cell loses its bottom border */
  .svc-cell:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-cell::before {
    transition: none;
    transform: scaleX(1);   /* stripe always visible if motion is off */
    opacity: 0;             /* but still hidden; hover still shows it */
  }

  .svc-cell:hover::before {
    opacity: 1;
  }

  .svc-cell-arrow {
    transition: opacity 0.15s ease;
    transform: none;
  }
}

@media (max-width: 768px) {
  /* Footer */
  .site-footer {
    grid-template-columns: 1fr;
  }

  .sf-brand,
  .sf-nav,
  .sf-contact {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sf-monogram {
    font-size: 80px;
  }

  .sf-blurb {
    max-width: 100%;
  }

  .sf-cta {
    padding-top: 20px;
  }

  .sf-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════
   480px — SINGLE COLUMN / SMALL PHONE PASS
   Everything stacks. Brand stays bold, just tighter.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero-headline {
    /* Bebas Neue is condensed; "BRANDS THAT" needs ~64px to fit 480px */
    font-size: clamp(58px, 15vw, 76px);
  }

  .hero-sub br {
    /* Kill the mid-line break — sentence flows naturally single-column */
    display: none;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-monogram {
    font-size: clamp(130px, 55vw, 200px);
    bottom: 60px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Section header ── */
  .sh-num {
    font-size: 36px;
  }

  /* ── About ── */
  .about-headline {
    /* Prevent two-word line wrapping at smallest sizes */
    font-size: clamp(36px, 10vw, 52px);
  }

  /* ── Tagline ── */
  .tagline-headline {
    font-size: clamp(52px, 14vw, 72px);
  }

  .tagline-copy {
    font-size: 15px;
  }

  .tagline-body .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Testimonials ── */
  .testi-wrapper {
    padding: 40px var(--gutter) 36px;
  }

  .testi-mark {
    font-size: clamp(64px, 18vw, 96px);
  }

  .testi-btn {
    padding: 10px 16px;
    font-size: 10px;
  }

  .testi-controls {
    gap: 12px;
  }

  /* ── Contact hero ── */
  .contact-hero-title {
    font-size: clamp(48px, 14vw, 72px);
  }

  /* ── Footer ── */
  .sf-list li {
    /* Long email addresses must not overflow */
    word-break: break-all;
  }

  .sf-monogram {
    font-size: 64px;
  }

  /* ── Nav overlay ── */
  .overlay-links a {
    font-size: clamp(36px, 12vw, 60px);
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════ */

/* GST disclaimer below page hero */
.svc-page-gst-note {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 28px;
}

/* ── Each service block ── */
.svc-page-section {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ─── SERVICE SECTION BANNER ─── */
.svc-banner {
  position: relative;
  background: var(--black);
  padding: 40px var(--gutter);
  display: flex;
  align-items: baseline;
  gap: 28px;
  overflow: hidden;
}

/* Coloured top stripe */
.svc-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}

.svc-banner--lime::before    { background: var(--lime); }
.svc-banner--electric::before { background: var(--electric); }

.svc-banner-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: var(--ls-normal);
  flex-shrink: 0;
}

.svc-banner-desc {
  font-family: var(--font-condensed);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  align-self: center;
}

@media (max-width: 600px) {
  .svc-banner {
    flex-direction: column;
    gap: 8px;
    padding: 32px var(--gutter);
  }
}

/* Two-column: info left, tiers right */
.svc-page-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: none;
}

/* ── Info column ── */
.svc-page-info {
  padding: 52px var(--gutter);
  border-right: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.svc-page-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.svc-page-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-page-includes li {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-page-includes li::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--electric);
  flex-shrink: 0;
}

.svc-page-note {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--grey);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.svc-page-work-link {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  text-decoration: none;
  transition: color var(--transition);
  margin-top: auto;
}

.svc-page-work-link:hover {
  color: var(--black);
}

/* ── Pricing tiers ── */
.svc-page-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tier {
  padding: 48px 32px;
  border-right: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.tier:last-child {
  border-right: none;
}

/* Featured tier: electric top stripe + slightly warm background */
.tier--featured {
  background: #fafaf8;
}

.tier--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--electric);
}

/* "Most popular" badge */
.tier-badge {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 16px;
}

/* Hide badge space on non-featured tiers so names align */
.tier:not(.tier--featured) .tier-badge {
  visibility: hidden;
}

.tier-name {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--black);
  margin-bottom: 16px;
}

.tier-price-row {
  /* Stack price on top, billing period below — much easier to read */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.tier-price {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.5vw, 56px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: var(--black);
}

/* "one-off" / "per month" / "from" — electric so it reads instantly */
.tier-unit {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
}

/* Custom tier "Let's talk" treatment */
.tier-price-custom {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: var(--grey);
}

/* Custom tier: slightly muted, no featured treatment */
.tier--custom {
  background: #fafaf8;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  margin-bottom: 32px;
}

.tier-features li {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 300;
  color: #444;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.tier-features li::before {
  content: '—';
  color: var(--electric);
  font-family: var(--font-condensed);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── Hosting + support addon callout (web section) ── */
.svc-page-addon {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 36px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 48px;
  background: var(--black);
}

.svc-page-addon-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-page-addon-label {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--lime);
}

.svc-page-addon-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: var(--white);
}

.svc-page-addon-price {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: var(--electric);
  white-space: nowrap;
}

.svc-page-addon-price span {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

.svc-page-addon-desc {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 680px;
}

.svc-page-addon-link {
  grid-column: 3;
  grid-row: 1;
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}

.svc-page-addon-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

@media (max-width: 768px) {
  .svc-page-addon {
    grid-template-columns: 1fr;
  }

  .svc-page-addon-link {
    grid-column: 1;
    grid-row: auto;
    display: inline-block;
    align-self: flex-start;
  }

  .svc-page-addon-desc {
    grid-column: 1;
  }
}

/* ── Services page responsive ── */
@media (max-width: 1024px) {
  .svc-page-body {
    grid-template-columns: 1fr;
  }

  .svc-page-info {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 40px;
  }

  .svc-page-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-page-tiers {
    grid-template-columns: 1fr;
  }

  .tier {
    border-right: none;
    border-bottom: var(--rule);
  }

  .tier:last-child {
    border-bottom: none;
  }

  /* Show all badge slots so layout doesn't shift */
  .tier:not(.tier--featured) .tier-badge {
    visibility: hidden;
    height: 0;
    margin-bottom: 0;
  }

  .tier--featured {
    order: -1; /* Featured tier first on mobile */
  }
}

@media (max-width: 480px) {
  .tier {
    padding: 36px var(--gutter);
  }

  .tier-price {
    font-size: 44px;
  }
}


/* ─────────────────────────────────────────────────────────────────
   WORK SHOWCASE — device mockup cards
   ───────────────────────────────────────────────────────────────── */

/* Grid wrapper — 2 cards side by side */
.work-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--rule);
}

/* Each card is a full-bleed <a> link */
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: 48px var(--gutter) 40px;
  transition: background 0.2s ease;
  position: relative;
}

.work-card:last-child {
  border-right: none;
}

.work-card:hover {
  background: #111;
}

/* ── Device wrapper ── */
.work-card-devices {
  position: relative;
  width: 100%;
  /* Reserve enough height for the laptop + overlapping phone */
  padding-bottom: 20px;
  margin-bottom: 32px;
}

/* ── Laptop ── */
.device-laptop {
  width: 88%;
  max-width: 480px;
}

/* Lid (screen half) */
.device-laptop-lid {
  background: #1a1a1a;
  border-radius: 8px 8px 0 0;
  border: 2px solid #333;
  padding: 10px 10px 6px;
  position: relative;
}

/* Webcam dot */
.device-laptop-cam {
  width: 5px;
  height: 5px;
  background: #444;
  border-radius: 50%;
  margin: 0 auto 6px;
}

/* Screen area — shows the website screenshot */
.device-laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
  background-size: cover;
  background-position: top center;
  border-radius: 2px;
  overflow: hidden;
}

/* Base / keyboard */
.device-laptop-base {
  background: #222;
  border: 2px solid #333;
  border-top: none;
  border-radius: 0 0 6px 6px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-laptop-trackpad {
  width: 28px;
  height: 10px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
}

/* ── Phone ── */
.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  max-width: 110px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 14px;
  padding: 10px 5px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: -4px 4px 24px rgba(0,0,0,0.6);
}

.device-phone-notch {
  width: 36px;
  height: 5px;
  background: #333;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Phone screen area */
.device-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19;
  background: #0a0a0a;
  background-size: cover;
  background-position: top center;
  border-radius: 4px;
  overflow: hidden;
}

.device-phone-home {
  width: 28px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Card meta (below devices) ── */
.work-card-meta {
  margin-top: auto;
}

.work-card-category {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 8px;
}

.work-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--black);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.work-card:hover .work-card-name {
  color: var(--white);
}

.work-card-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 340px;
  transition: color 0.2s ease;
}

.work-card:hover .work-card-desc {
  color: #bbb;
}

.work-card-cta {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--electric);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.work-card:hover .work-card-cta {
  color: var(--electric);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .work-showcase {
    grid-template-columns: 1fr;
  }

  .work-card {
    border-right: none;
  }

  .device-laptop {
    width: 82%;
  }

  .device-phone {
    width: 24%;
  }
}

@media (max-width: 480px) {
  .work-card {
    padding: 36px var(--gutter) 32px;
  }

  .device-laptop {
    width: 78%;
  }

  .device-phone {
    width: 26%;
  }

  .work-card-name {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════════════
   PROJECT SHOWCASE — work.html
═══════════════════════════════════════════ */

/* ─── Filter bar ─── */
.proj-filter {
  display: flex;
  border-top: var(--rule);
  border-bottom: var(--rule);
  overflow-x: auto;
}

.proj-filter-btn {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  border-right: var(--rule);
  background: transparent;
  color: var(--grey);
  cursor: crosshair;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.proj-filter-btn:last-child {
  border-right: none;
}

.proj-filter-btn.active,
.proj-filter-btn:hover {
  background: var(--black);
  color: var(--lime);
}

/* ─── Project list ─── */
.proj-list {
  border-top: var(--rule);
}

/* ─── Each project row ─── */
.proj-row {
  display: grid;
  grid-template-columns: 58fr 42fr;
  border-bottom: var(--rule);
  min-height: 560px;
  overflow: hidden;
}

.proj-row--reverse {
  grid-template-columns: 42fr 58fr;
}

.proj-row--reverse .proj-row-image {
  order: 2;
  border-left: var(--rule);
  border-right: none;
}

.proj-row--reverse .proj-row-info {
  order: 1;
  border-right: none;
  border-left: none;
}

/* ─── Image panel ─── */
.proj-row-image {
  background: #0d0d0d;
  border-right: var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.proj-row-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
  z-index: 3;
}

.proj-desktop {
  width: 82%;
  max-width: 540px;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 4px 16px rgba(0,0,0,0.4);
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease-out-expo);
}

.proj-row:hover .proj-desktop {
  transform: scale(1.03) translateY(-8px);
}

.proj-mobile {
  position: absolute;
  bottom: clamp(24px, 4vw, 44px);
  right: clamp(24px, 4vw, 44px);
  width: clamp(56px, 9%, 84px);
  border-radius: 10px;
  box-shadow: -8px 12px 40px rgba(0,0,0,0.8);
  z-index: 2;
  transition: transform 0.6s var(--ease-out-expo) 0.06s;
}

.proj-row:hover .proj-mobile {
  transform: translateY(-10px);
}

/* ─── Info panel ─── */
.proj-row-info {
  background: var(--black);
  border-left: var(--rule);
  padding: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.proj-row-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
}

/* Ghost number */
.proj-num {
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 180px);
  line-height: 1;
  color: rgba(202, 255, 0, 0.05);
  letter-spacing: -0.02em;
  position: absolute;
  bottom: -16px;
  right: -8px;
  pointer-events: none;
  user-select: none;
}

/* Tags */
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.proj-tag {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(202, 255, 0, 0.3);
  padding: 5px 12px;
  border-radius: 2px;
}

/* Project name */
.proj-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

/* Description */
.proj-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 400px;
  margin-bottom: 32px;
}

/* Detail row */
.proj-details {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 36px;
}

.proj-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 14px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.proj-detail:last-child {
  border-right: none;
  padding-right: 0;
}

.proj-detail-label {
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.proj-detail-value {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* CTA */
.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  text-decoration: none;
  border-bottom: 2px solid var(--electric);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: gap 0.25s var(--ease-out-expo), color 0.2s ease, border-color 0.2s ease;
}

.proj-cta:hover {
  gap: 18px;
  color: var(--white);
  border-color: var(--white);
}

/* ─── Hidden (filtered out) ─── */
.proj-row.proj-hidden {
  display: none;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .proj-row,
  .proj-row--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .proj-row--reverse .proj-row-image {
    order: 1;
    border-left: none;
    border-right: none;
    border-bottom: var(--rule);
  }

  .proj-row--reverse .proj-row-info {
    order: 2;
    border-top: none;
  }

  .proj-row-image {
    border-right: none;
    border-bottom: var(--rule);
    min-height: 260px;
  }

  .proj-row-info {
    border-left: none;
  }

  .proj-desktop {
    width: 72%;
  }
}

@media (max-width: 600px) {
  .proj-details {
    flex-wrap: wrap;
  }

  .proj-detail {
    flex: 0 0 calc(50% - 8px);
  }

  .proj-mobile {
    width: 52px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — redesigned
   ═══════════════════════════════════════════════════════════ */

/* ─── Team section ─── */
.about-team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-bottom: var(--rule);
}

.about-team-photo-wrap {
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-team-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .about-team-wave path { animation: none !important; }
}

.about-team-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Shown only when the image is missing/broken */
.about-team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  pointer-events: none;
}

/* Hide placeholder when real image loads */
.about-team-photo:not([src=""]) + .about-team-photo-placeholder {
  display: none;
}

.about-team-content {
  background: var(--black);
  padding: 72px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-team-label {
  font-family: var(--font-condensed);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 20px;
}

.about-team-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: var(--ls-normal);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-team-headline-accent {
  -webkit-text-stroke: 2px var(--electric);
  color: transparent;
}

.about-team-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 16px;
}

.about-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-person-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.about-person-role {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 12px;
}

.about-person-bio {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ─── Identity + values merged section ─── */
.about-identity-section {
  background: var(--black);
  border-bottom: var(--rule);
}

.about-identity-intro {
  padding: 80px var(--gutter) 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 680px;
}

.about-identity-eyebrow {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 24px;
}

.about-identity-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: var(--ls-normal);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-identity-outline {
  -webkit-text-stroke: 2px var(--lime);
  color: transparent;
}

.about-identity-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin-bottom: 40px;
}

.about-identity-divider {
  width: 40px;
  height: 3px;
  background: var(--electric);
  margin-bottom: 16px;
}

.about-identity-how-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.about-identity-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-identity-value {
  padding: 52px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.about-identity-value:last-child {
  border-right: none;
}

.aiv-num {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  letter-spacing: var(--ls-normal);
}

.about-identity-value:nth-child(odd)  .aiv-num { color: var(--lime); }
.about-identity-value:nth-child(even) .aiv-num { color: var(--electric); }

.aiv-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: var(--ls-normal);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.1;
}

.aiv-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

@media (max-width: 900px) {
  .about-identity-values {
    grid-template-columns: 1fr 1fr;
  }

  .about-identity-value {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 40px 32px;
  }

  .about-identity-value:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.06); }
  .about-identity-value:nth-child(even) { border-right: none; }
  .about-identity-value:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 600px) {
  .about-identity-values {
    grid-template-columns: 1fr;
  }

  .about-identity-value { border-right: none !important; }
  .about-identity-value:last-child { border-bottom: none; }
}

/* ─── Values section (legacy, unused) ─── */
.about-values-section {
  border-bottom: var(--rule);
}

.about-values {
  display: flex;
  flex-direction: column;
}

.about-value {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px var(--gutter) 36px calc(var(--gutter) + 16px);
  border-bottom: var(--rule-subtle);
  overflow: hidden;
}

.about-value:nth-child(even) {
  background: var(--mid);
}

/* Animated left accent bar */
.about-value::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--electric);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease-out-expo) 0.3s;
}

.about-value:nth-child(even)::before {
  background: var(--lime);
}

.about-value.is-visible::before {
  transform: scaleY(1);
}

/* Slide from left instead of up */
.about-value[data-reveal] {
  transform: translateX(-40px);
}

/* Animated colour bar above each title */
.about-value-left {
  position: relative;
}

.about-value-left::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out-expo) 0.35s;
}

.about-value:nth-child(odd) .about-value-left::before  { background: var(--electric); }
.about-value:nth-child(even) .about-value-left::before { background: var(--lime); }

.about-value.is-visible .about-value-left::before {
  transform: scaleX(1);
}

.about-value-title {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--black);
  line-height: 1.1;
  position: relative;
}

.about-value-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  position: relative;
}

.about-value-keyword {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: var(--ls-normal);
  color: rgba(0, 0, 0, 0.07);
  white-space: nowrap;
  user-select: none;
  transition: color 0.4s ease;
}

.about-value:nth-child(odd) .about-value-keyword  { color: rgba(255, 61, 0, 0.1); }
.about-value:nth-child(even) .about-value-keyword { color: rgba(202, 255, 0, 0.35); }

.about-value:nth-child(odd):hover .about-value-keyword  { color: var(--electric); }
.about-value:nth-child(even):hover .about-value-keyword {
  color: var(--lime);
  -webkit-text-stroke: 1px var(--black);
}

/* ─── About page responsive ─── */
@media (max-width: 900px) {
  .about-team-section {
    grid-template-columns: 1fr;
  }

  .about-team-photo-wrap {
    min-height: 360px;
  }

  .about-team-wave {
    display: none;
  }

  .about-team-content {
    padding: 56px var(--gutter);
  }

  .about-value {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px var(--gutter) 32px calc(var(--gutter) + 16px);
  }

  .about-value-keyword {
    display: none;
  }

}

@media (max-width: 600px) {
  .about-people {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-team-headline {
    font-size: clamp(48px, 14vw, 72px);
  }
}
