:root {
  /* Palette: Carbon Black + Linen + Bright Lavender */
  --bg: #1c1d21;          /* carbon-black */
  --bg-2: #232429;        /* slightly lifted carbon for sections */
  --ink: #f3e9dc;         /* linen */
  --ink-dim: #8a8478;     /* muted warm gray, harmonizes with linen */
  --line: #2d2e33;        /* hairline borders, tuned to new bg */
  --accent: #87D68D;      /* sage green */
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity .2s;
}
.logo img {
  height: 22px;
  width: auto;
  display: block;
}
.logo:hover { opacity: 0.82; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { color: var(--ink-dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: all .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}
h1.hero-title {
  font-family: 'Anton', 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--accent); font-style: italic; }
.hero-title .outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 40px;
}
.hero-about {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink);
  max-width: 540px;
  line-height: 1.55;
  font-weight: 300;
}
.hero-about strong {
  font-weight: 500;
  color: var(--ink);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-self: end;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--accent);
  color: #1c1d21;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(135,214,141,0.35);
}
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost svg { width: 14px; height: 14px; }

.work-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}
.work-title-row .section-title { margin-bottom: 0; }

@media (max-width: 720px) {
  .work-title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--ink-dim);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-meta { justify-self: start; }
  .scroll-cue { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTION HEADER ---------- */
section { padding: 140px 0; position: relative; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.section-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 80px;
  max-width: 1100px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ---------- SERVICES ---------- */
.services-list {
  border-top: 1px solid var(--line);
}
.service-row {
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr auto;
  gap: 32px;
  align-items: center;
  transition: padding .3s ease, background .3s ease;
  cursor: pointer;
}
.service-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.service-row:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: var(--bg-2);
}
.service-num {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.service-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.service-desc {
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 480px;
}
.service-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.service-row:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}
.service-arrow svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 40px 1fr auto;
  }
  .service-desc { display: none; }
}

/* ---------- WORK ---------- */
.work { background: var(--bg-2); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.work-card {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.work-card.large { grid-column: span 7; aspect-ratio: 16/11; }
.work-card.medium { grid-column: span 5; aspect-ratio: 16/11; }
.work-card.third { grid-column: span 4; aspect-ratio: 1/1; }

.work-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.work-card:hover .work-thumb { transform: scale(1.04); }

.thumb-1 { background: linear-gradient(135deg, #87D68D 0%, #4aab52 100%); }
.thumb-2 { background: linear-gradient(135deg, #2c2d33 0%, #1c1d21 100%); }
.thumb-3 { background: linear-gradient(135deg, #f3e9dc 0%, #d8cfc1 100%); color: #1c1d21; }
.thumb-4 { background: linear-gradient(135deg, #3d2e63 0%, #1c1430 100%); }
.thumb-5 { background: linear-gradient(135deg, #c9b3eb 0%, #8a6bc4 100%); }

.thumb-mark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 7vw, 110px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.thumb-3 .thumb-mark { color: #1c1d21; }

.work-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}
.work-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.work-cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 4px;
}
.work-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
}

@media (max-width: 880px) {
  .work-card.large, .work-card.medium, .work-card.third {
    grid-column: span 12;
    aspect-ratio: 4/3;
  }
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-quote {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.about-quote em { color: var(--accent); font-style: italic; }
.about-body p {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 520px;
}
.about-body p:last-child { color: var(--ink-dim); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

.about-more-btn {
  margin-top: 48px;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-more-btn { margin-top: 36px; }
}

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-2); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.contact-headline em { color: var(--accent); font-style: italic; }
.contact-info {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.8;
}
.contact-info a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-dim);
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-btn {
  margin-top: 5rem;
  align-self: flex-start;
}

.btn-large {
  padding: 22px 40px;
  font-size: 16px;
  gap: 18px;
  white-space: nowrap;
}
.btn-large svg { width: 18px; height: 18px; }

.contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-image-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--line);
  border-radius: 4px;
  max-width: 460px;
}

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .contact-image-inner { aspect-ratio: 4 / 3; max-width: 100%; }
}

/* ---------- FOOTER ---------- */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
.footer-brand {
  line-height: 0;
}
.footer-brand img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--ink);
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- WORK MODAL ---------- */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.work-modal.open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-shell {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: calc(100vh - 64px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1) .05s, opacity .35s ease .05s;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.work-modal.open .modal-shell { transform: translateY(0) scale(1); opacity: 1; }

.modal-shell::-webkit-scrollbar { width: 6px; }
.modal-shell::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(28,29,33,0.6);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .2s;
  backdrop-filter: blur(10px);
}
.modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: rotate(90deg);
}
.modal-close svg { width: 16px; height: 16px; }

.modal-head {
  padding: 56px 56px 32px;
}
.modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.modal-cat { display: inline-flex; align-items: center; gap: 10px; }
.modal-cat::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.modal-year {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
}
.modal-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.modal-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 720px;
}

/* ---------- SLIDER ---------- */
.slider {
  position: relative;
  margin: 0 56px;
}
.slider-viewport {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.slider-track {
  display: flex;
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px;
  overflow: hidden;
}
.slide-caption {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 32px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 4px;
  max-width: 560px;
}

/* Cover slide */
.slide-cover {
  align-items: flex-start;
  justify-content: center;
}
.slide-mark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.slide-tag {
  margin-top: 18px;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  opacity: 0.85;
}

/* Logo slide */
.slide-logo {
  align-items: center;
  justify-content: center;
}
.slide-logo-mark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 1;
}

/* Palette slide */
.slide-palette { padding-top: 56px; }
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex: 1;
  margin-bottom: 96px;
}
.swatch {
  display: flex;
  flex-direction: column;
}
.swatch-chip {
  flex: 1;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 140px;
}
.swatch-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.swatch-hex {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Type slide */
.slide-type {
  align-items: flex-start;
  justify-content: center;
}
.type-stack {
  display: flex;
  flex-direction: column;
  font-family: 'Anton', sans-serif;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.t-1 { font-size: clamp(72px, 12vw, 180px); }
.t-2 {
  font-family: 'Anton', sans-serif;
  font-style: italic;
  font-size: clamp(56px, 9vw, 140px);
  color: var(--accent);
  text-transform: lowercase;
  margin-left: 12px;
}
.t-3 { font-size: clamp(60px, 10vw, 150px); }

/* App slide */
.slide-app {
  align-items: center;
  justify-content: center;
}
.app-card {
  width: 60%;
  aspect-ratio: 3/4;
  max-height: 60%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.app-mark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Per-project slide themes */
.slide-halo-1 { background: linear-gradient(135deg, #1c1d21 0%, #3d2e63 100%); }
.slide-halo-2 { background: radial-gradient(circle at 30% 30%, #6a4ca0 0%, #1c1d21 70%); }
.slide-halo-3 { background: linear-gradient(180deg, #232429 0%, #1c1d21 100%); }
.slide-halo-4 { background: linear-gradient(135deg, #2a2235 0%, #1c1d21 100%); }
.slide-halo-5 { background: linear-gradient(135deg, #87D68D 0%, #4aab52 100%); }

.slide-nox-1 { background: linear-gradient(135deg, #0c0c10 0%, #2a2520 100%); }
.slide-nox-2 { background: radial-gradient(circle at 70% 30%, #b87333 0%, #0c0c10 70%); }
.slide-nox-3 { background: linear-gradient(180deg, #1a1a1f 0%, #0c0c10 100%); }
.slide-nox-4 { background: linear-gradient(135deg, #2a2520 0%, #0c0c10 100%); }
.slide-nox-5 { background: linear-gradient(135deg, #1c1d21 0%, #0c0c10 100%); }
.slide-nox-5 .app-card { background: linear-gradient(180deg, #2a2520, #0c0c10); }

.slide-form-1 { background: linear-gradient(135deg, #f3e9dc 0%, #d8cfc1 100%); color: #1c1d21; }
.slide-form-1 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-form-2 { background: #f3e9dc; color: #1c1d21; }
.slide-form-2 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-form-3 { background: linear-gradient(180deg, #ece2d2 0%, #d8cfc1 100%); color: #1c1d21; }
.slide-form-3 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-form-3 .swatch-name, .slide-form-3 .swatch-hex { color: #1c1d21; }
.slide-form-3 .swatch-hex { opacity: 0.6; }
.slide-form-4 { background: #f3e9dc; color: #1c1d21; }
.slide-form-4 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-form-4 .t-2 { color: #1c1d21; }
.slide-form-5 { background: linear-gradient(135deg, #e9e0d0 0%, #c8bfb1 100%); color: #1c1d21; }
.slide-form-5 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-form-5 .app-card { background: #f3e9dc; border-color: rgba(0,0,0,0.1); color: #1c1d21; }

.slide-field-1 { background: linear-gradient(135deg, #3a4a2c 0%, #1c1430 100%); }
.slide-field-2 { background: radial-gradient(circle at 50% 50%, #a47349 0%, #3a4a2c 60%, #1c1430 100%); }
.slide-field-3 { background: linear-gradient(180deg, #2a3522 0%, #1c1430 100%); }
.slide-field-4 { background: linear-gradient(135deg, #3a4a2c 0%, #1c1430 100%); }
.slide-field-4 .t-2 { color: #c34a36; }
.slide-field-5 { background: linear-gradient(135deg, #3d2e63 0%, #1c1430 100%); }
.slide-field-5 .app-card { background: #e9e2d4; color: #1c1d21; }

.slide-lume-1 { background: linear-gradient(135deg, #c9b3eb 0%, #8a6bc4 100%); }
.slide-lume-2 { background: radial-gradient(circle at 40% 60%, #f3e9dc 0%, #c9b3eb 60%, #8a6bc4 100%); color: #1c1d21; }
.slide-lume-2 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-lume-3 { background: linear-gradient(180deg, #c0ebc3 0%, #87D68D 100%); color: #1c1d21; }
.slide-lume-3 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-lume-3 .swatch-name, .slide-lume-3 .swatch-hex { color: #1c1d21; }
.slide-lume-3 .swatch-hex { opacity: 0.6; }
.slide-lume-4 { background: linear-gradient(135deg, #87D68D 0%, #4aab52 100%); }
.slide-lume-5 { background: linear-gradient(135deg, #f3e9dc 0%, #b3e6b7 100%); color: #1c1d21; }
.slide-lume-5 .slide-caption { background: rgba(28,29,33,0.85); color: #f3e9dc; }
.slide-lume-5 .app-card { background: #1c1d21; color: #f3e9dc; }

/* Slider nav */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(28,29,33,0.7);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  backdrop-filter: blur(10px);
  z-index: 5;
}
.slider-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }
.slider-nav svg { width: 18px; height: 18px; }

/* Slider bottom */
.slider-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 28px;
  height: 3px;
  background: var(--line);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.slider-dot:hover { background: var(--ink-dim); }
.slider-dot.active { background: var(--accent); width: 44px; }

.slider-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-count .slash { color: var(--line); }
.slider-count #sliderIndex { color: var(--ink); font-weight: 500; }

/* Modal foot */
.modal-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 56px 56px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.foot-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.foot-val {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

/* Modal responsiveness */
@media (max-width: 880px) {
  .work-modal { padding: 16px; }
  .modal-head { padding: 48px 28px 24px; }
  .slider { margin: 0 28px; }
  .slide { padding: 32px; aspect-ratio: 4/5; }
  .slide-caption { left: 20px; right: 20px; bottom: 20px; padding: 12px 14px; font-size: 12px; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 100px; }
  .swatch-chip { min-height: 90px; }
  .modal-foot { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 28px 40px; }
  .slider-nav.prev { left: 8px; }
  .slider-nav.next { right: 8px; }
  .slider-nav { width: 42px; height: 42px; }
  .modal-close { top: 12px; right: 12px; }
}

/* Card focus */
.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- SERVICE MODAL SLIDES ---------- */
.slide-overview,
.slide-includes,
.slide-process,
.slide-cta {
  align-items: flex-start;
  justify-content: center;
  padding: 64px;
}

.ov-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.6vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  line-height: 1;
}
.ov-body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 720px;
}

/* Includes list */
.inc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  width: 100%;
  max-width: 820px;
}
.inc-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.inc-tick {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}

/* Process list */
.proc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  width: 100%;
  max-width: 880px;
}
.proc-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.proc-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proc-name {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.proc-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* CTA slide */
.slide-cta {
  align-items: flex-start;
  justify-content: center;
}
.cta-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 720px;
}
.cta-body {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 32px;
}
.cta-inner-btn { align-self: flex-start; }

/* Service slide themes */
.slide-svc-brand-1 { background: linear-gradient(135deg, #3d2e63 0%, #1c1d21 100%); }
.slide-svc-brand-2 { background: linear-gradient(180deg, #232429 0%, #1c1d21 100%); }
.slide-svc-brand-3 { background: linear-gradient(135deg, #2a2235 0%, #1c1d21 100%); }
.slide-svc-brand-4 { background: linear-gradient(180deg, #1c1d21 0%, #2a2235 100%); }
.slide-svc-brand-5 { background: linear-gradient(135deg, #6a4ca0 0%, #3d2e63 100%); }

.slide-svc-web-1 { background: linear-gradient(135deg, #f3e9dc 0%, #d8cfc1 100%); color: #1c1d21; }
.slide-svc-web-2 { background: linear-gradient(180deg, #ece2d2 0%, #d8cfc1 100%); color: #1c1d21; }
.slide-svc-web-2 .ov-body { color: #1c1d21; }
.slide-svc-web-3 { background: #f3e9dc; color: #1c1d21; }
.slide-svc-web-3 .inc-list li { color: #1c1d21; border-bottom-color: rgba(0,0,0,0.1); }
.slide-svc-web-4 { background: linear-gradient(135deg, #ece2d2 0%, #c8bfb1 100%); color: #1c1d21; }
.slide-svc-web-4 .proc-desc { color: #5a5a5a; }
.slide-svc-web-5 { background: linear-gradient(135deg, #f3e9dc 0%, #87D68D 100%); color: #1c1d21; }
.slide-svc-web-5 .cta-body { color: #2c2c2c; }

.slide-svc-mkt-1 { background: linear-gradient(135deg, #87D68D 0%, #4aab52 100%); }
.slide-svc-mkt-2 { background: linear-gradient(180deg, #2a2235 0%, #1c1d21 100%); }
.slide-svc-mkt-3 { background: linear-gradient(135deg, #1c1d21 0%, #2a2235 100%); }
.slide-svc-mkt-4 { background: linear-gradient(180deg, #232429 0%, #1c1d21 100%); }
.slide-svc-mkt-5 { background: linear-gradient(135deg, #4aab52 0%, #87D68D 100%); }

.slide-svc-print-1 { background: linear-gradient(135deg, #2a2520 0%, #0c0c10 100%); }
.slide-svc-print-2 { background: linear-gradient(180deg, #232429 0%, #1c1d21 100%); }
.slide-svc-print-3 { background: linear-gradient(135deg, #f3e9dc 0%, #d8cfc1 100%); color: #1c1d21; }
.slide-svc-print-3 .inc-list li { color: #1c1d21; border-bottom-color: rgba(0,0,0,0.1); }
.slide-svc-print-4 { background: linear-gradient(180deg, #2a2520 0%, #0c0c10 100%); }
.slide-svc-print-5 { background: linear-gradient(135deg, #b87333 0%, #2a2520 100%); }

.slide-svc-ad-1 { background: linear-gradient(135deg, #1c1d21 0%, #3d2e63 100%); }
.slide-svc-ad-2 { background: linear-gradient(180deg, #232429 0%, #1c1d21 100%); }
.slide-svc-ad-3 { background: linear-gradient(135deg, #2a2235 0%, #1c1d21 100%); }
.slide-svc-ad-4 { background: linear-gradient(180deg, #1c1d21 0%, #2a2235 100%); }
.slide-svc-ad-5 { background: linear-gradient(135deg, #c9b3eb 0%, #6a4ca0 100%); }

/* Modal CTA row (services only) */
.modal-cta-row {
  padding: 0 56px 56px;
  display: flex;
  justify-content: flex-start;
}
.modal-cta-btn {
  margin-top: -8px;
}

/* Service slide responsive */
@media (max-width: 880px) {
  .slide-overview,
  .slide-includes,
  .slide-process,
  .slide-cta { padding: 32px; }
  .inc-list { grid-template-columns: 1fr; gap: 14px; }
  .proc-list { grid-template-columns: 1fr; gap: 22px; }
  .proc-step { grid-template-columns: 44px 1fr; }
  .proc-n { width: 36px; height: 36px; font-size: 11px; }
  .modal-cta-row { padding: 0 28px 32px; }
}

/* ---------- TIER LIST MODAL ---------- */
.tier-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.tier-modal.open { opacity: 1; visibility: visible; }

.tier-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tier-shell {
  position: relative;
  width: 100%;
  max-width: 1180px;
  max-height: calc(100vh - 64px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1) .05s, opacity .35s ease .05s;
}
.tier-modal.open .tier-shell {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.tier-shell::-webkit-scrollbar { width: 6px; }
.tier-shell::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* close button reuses .modal-close above */
.tier-modal .modal-close { z-index: 5; }

/* HEAD */
.tier-head {
  padding: 64px 56px 28px;
  border-bottom: 1px solid var(--line);
}
.tier-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin-bottom: 22px;
}
.tier-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.tier-title i {
  font-style: italic;
  color: var(--accent);
  font-family: inherit;
}
.tier-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.tier-sub p {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}
.tier-sub p b { font-weight: 500; }
.tier-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s, background .2s;
  white-space: nowrap;
}
.tier-download:hover {
  transform: translateY(-1px);
  background: var(--ink);
}
.tier-download svg { width: 14px; height: 14px; }

/* LEGEND */
.tier-legend {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 24px 56px;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.tier-legend-cell {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.tier-legend-cell:first-child { border-left: none; padding-left: 0; }
.tier-legend-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin-bottom: 8px;
}
.tier-legend-val {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}

/* TIER ROWS */
.tier-list {
  padding: 32px 56px 12px;
}
.tier-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.tier-row .tier-badge {
  background: var(--tier-color, var(--accent));
  color: #000;
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  font-size: 86px;
  line-height: 1;
  text-align: center;
  padding: 18px 0 16px;
  letter-spacing: -0.01em;
  position: relative;
  border-radius: 4px;
}
.tier-badge-micro {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.22em;
  margin-top: 10px;
  text-transform: uppercase;
}
/* Tier accent colors — warm gradient cream → dark */
.tier-s { --tier-color: #FDF0D5; }
.tier-a { --tier-color: #E8C76A; }
.tier-b { --tier-color: #B89968; }
.tier-c { --tier-color: #6E665A; }
.tier-d { --tier-color: #3A3631; }
.tier-d .tier-badge { color: var(--ink); }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tier-cards[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }

.tier-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 152px;
  transition: border-color .2s, transform .2s;
}
.tier-card:hover {
  border-color: var(--ink-dim);
  transform: translateY(-1px);
}
.tier-card-name {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0;
}
.tier-card-stat {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.tier-card-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
  flex: 1;
}
.tier-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.tier-card-meta b { color: var(--ink); font-weight: 500; }

/* FOOT */
.tier-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 28px 56px 48px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.tier-foot h4 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin-bottom: 10px;
}
.tier-foot p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}
.tier-foot-sources {
  color: var(--ink-dim);
}

/* Mobile */
@media (max-width: 880px) {
  .tier-modal { padding: 12px; }
  .tier-head { padding: 56px 24px 24px; }
  .tier-sub { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tier-legend {
    grid-template-columns: 1fr 1fr;
    padding: 20px 24px;
    gap: 18px 0;
  }
  .tier-legend-cell { padding: 0 16px; }
  .tier-legend-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .tier-list { padding: 24px 24px 8px; }
  .tier-row { grid-template-columns: 64px 1fr; gap: 10px; }
  .tier-badge { font-size: 56px; padding: 14px 0 12px; }
  .tier-cards,
  .tier-cards[data-cols="2"] { grid-template-columns: 1fr; }
  .tier-foot { grid-template-columns: 1fr; padding: 24px 24px 36px; gap: 24px; }
}
