:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --yellow: #e9f478;
  --yellow-bright: #f1ff86;
  --orange: #f25826;
  --orange-hover: #e34b1a;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Fraunces", Georgia, serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; }
p { margin: 0; }
body { font-weight: 400; }

/* Typography refinements */
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.02em; font-weight: 700;
  transition: opacity 0.18s ease;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo svg { width: 44px; height: 44px; }
.nav-logo-img {
  width: 44px; height: 44px; object-fit: contain;
  display: block;
}
.nav.is-scrolled .nav-logo-img { width: 36px; height: 36px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border: 1.5px solid var(--yellow); border-radius: var(--radius-pill);
  color: var(--yellow); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  font-weight: 500; text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}
.menu-btn:hover { background: var(--yellow); color: var(--black); }

/* ===== MENU OVERLAY ===== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay a {
  font-family: var(--font-display); font-size: clamp(48px, 9vw, 112px);
  color: var(--text); letter-spacing: -0.04em; text-transform: lowercase;
  font-weight: 600;
  transition: color 0.18s ease;
  position: relative;
}
.menu-overlay a::before {
  content: attr(data-n);
  position: absolute; left: -60px; top: 10%;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.1em; font-weight: 400;
}
.menu-overlay a:hover { color: var(--yellow); }
.menu-close {
  position: absolute; top: 24px; right: var(--gutter);
  padding: 10px 28px; border: 1.5px solid var(--yellow); border-radius: var(--radius-pill);
  color: var(--yellow); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  font-weight: 500; text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh; padding: 140px var(--gutter) 80px;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(233,244,120,0.08), transparent 50%),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03), transparent 40%),
    var(--black);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.28em; color: var(--yellow); margin-bottom: 32px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(52px, 8.5vw, 136px);
  line-height: 0.96; font-weight: 500; letter-spacing: -0.04em;
  margin-bottom: 32px; text-transform: none;
}
.hero h1 .line { display: block; }
.hero h1 .line.serif {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  color: var(--yellow); letter-spacing: -0.015em;
  font-size: 1.08em;
}
.hero-sub {
  font-family: var(--font-body); font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted); font-weight: 400;
  max-width: 640px; margin: 0 auto 36px;
}
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 38px; background: var(--yellow); color: var(--black);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  font-weight: 500; text-transform: uppercase;
  border-radius: var(--radius-pill); transition: transform 0.18s ease, background 0.18s ease;
}
.hero-cta:hover { transform: translateY(-2px); background: var(--yellow-bright); }

/* ===== SECTIONS ===== */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.28em; color: var(--yellow);
  text-transform: uppercase; text-align: center; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
  width: 100%; justify-content: center;
}
.section-label::before,
.section-label::after {
  content: ""; flex: 0 0 24px; height: 1px; background: var(--yellow); opacity: 0.6;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(38px, 6vw, 80px);
  text-align: center; font-weight: 500; letter-spacing: -0.035em; margin-bottom: 24px;
  text-transform: none; line-height: 1.04;
}
.section-title em,
.section-title .it {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--yellow); letter-spacing: -0.01em;
}
.section-sub {
  text-align: center; max-width: 680px; margin: 0 auto 64px;
  color: var(--text-muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--yellow); background: var(--surface-2); }
.service-icon {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; color: var(--yellow); text-transform: uppercase;
}
.service-icon::before {
  content: ""; display: inline-block; width: 20px; height: 1px;
  background: var(--yellow); opacity: 0.7;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; margin-bottom: 14px; line-height: 1.15;
}
.service-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--text-muted); margin-bottom: 14px;
}
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li {
  color: var(--text); font-size: 13px; padding: 6px 0 6px 18px;
  position: relative;
}
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
}
.services-cta { text-align: center; margin-top: 48px; }
.btn-orange {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 38px; border-radius: var(--radius-pill);
  background: var(--orange); color: #fff; font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-orange:hover { background: var(--orange-hover); transform: translateY(-2px); }

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.portfolio-card .tag {
  display: inline-block; margin: 18px 20px 8px;
  padding: 5px 12px; background: var(--black); border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; font-weight: 500;
  color: var(--yellow); text-transform: uppercase;
}
.portfolio-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; }
.portfolio-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover figure img { transform: scale(1.04); }
.portfolio-card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  padding: 18px 22px 8px; letter-spacing: -0.02em; line-height: 1.15;
}
.portfolio-card p { padding: 0 22px 22px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ===== WHO WE ARE (YELLOW BOX) ===== */
.yellow-box {
  background: var(--yellow); color: var(--black);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  max-width: 1100px; margin: 0 auto;
}
.yellow-box h2 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 600; letter-spacing: -0.03em; margin-bottom: 28px; line-height: 1;
}
.yellow-box p {
  font-family: var(--font-serif); font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.45; margin-bottom: 20px; color: #111; font-weight: 400;
  letter-spacing: -0.005em;
}
.yellow-box p:first-of-type { font-style: italic; font-size: clamp(22px, 2.5vw, 32px); }
.yellow-box p:last-child { margin-bottom: 0; }

/* ===== PROCESS ===== */
.process-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 22px;
}
.process-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--yellow); margin-bottom: 14px; font-weight: 500;
}
.process-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; margin-bottom: 12px; line-height: 1.15;
}
.process-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ===== TOP COLLABORATIONS ===== */
.logos-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
@media (max-width: 620px) { .logos-row { grid-template-columns: 1fr; gap: 28px; } }
.logos-row .logo-tile {
  background: var(--yellow); border-radius: var(--radius-md);
  padding: 40px; display: grid; place-items: center; min-height: 160px;
}
.logos-row .logo-tile img { max-height: 72px; width: auto; }

/* ===== FEATURED GRID ===== */
.featured-grid {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) { .featured-grid { grid-template-columns: 1fr; } }
.featured-grid a {
  display: block; border-radius: var(--radius-md); overflow: hidden;
  background: #fff;
  transition: transform 0.22s ease;
}
.featured-grid a:hover { transform: translateY(-4px); }
.featured-grid a figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: #000; }
.featured-grid a figure img { width: 100%; height: 100%; object-fit: cover; }
.featured-grid a .caption {
  padding: 14px 18px; font-family: var(--font-display); font-size: 14px;
  color: var(--black); letter-spacing: 0.02em;
}
.featured-cta { text-align: center; margin-top: 32px; }
.btn-yellow-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 44px; border: 1.5px solid var(--yellow); background: transparent;
  color: var(--yellow); font-family: var(--font-display); font-size: 14px;
  letter-spacing: 0.1em; border-radius: var(--radius-pill);
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-yellow-outline:hover { background: var(--yellow); color: var(--black); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 22px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--yellow); font-size: 24px; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-top: 14px; color: var(--text-muted); font-size: 15px; }

/* ===== CONTACT FOOTER ===== */
.contact-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  margin: 0 auto; max-width: var(--maxw);
}
.contact-block h2 {
  font-family: var(--font-display); font-size: clamp(64px, 12vw, 180px);
  text-transform: lowercase; letter-spacing: -0.03em; margin-bottom: 32px;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 800px;
}
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--black);
}
.contact-card .label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.contact-card a { display: block; font-size: 15px; color: var(--text); line-height: 1.8; }
.contact-card a:hover { color: var(--yellow); }

/* ===== FOOTER ===== */
.footer {
  padding: 40px var(--gutter);
  background: var(--yellow); color: var(--black);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 42px; border: 1.5px solid var(--black);
  border-radius: var(--radius-pill); font-family: var(--font-display); font-size: 14px;
  letter-spacing: 0.08em;
}
.footer-social a:hover { background: var(--black); color: var(--yellow); }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 13px; opacity: 0.8; }
.back-top {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 42px; border: 1.5px solid var(--black); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 16px;
}
.back-top:hover { background: var(--black); color: var(--yellow); }

/* ===== SERVICE PAGE HERO ===== */
.service-hero {
  padding: 140px var(--gutter) 60px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(233,244,120,0.1), transparent 55%),
    var(--black);
}
.service-hero h1 {
  font-family: var(--font-display); font-size: clamp(48px, 9vw, 120px);
  color: var(--yellow); text-transform: uppercase; line-height: 0.95;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.35);
  max-width: 1200px; margin: 0 auto; letter-spacing: -0.02em;
}
.service-mosaic {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px;
  max-width: 1400px; margin: 40px auto 0; padding: 0 var(--gutter);
}
.service-mosaic > *:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; aspect-ratio: 4/3; }
.service-mosaic > *:nth-child(2) { aspect-ratio: 16/10; }
.service-mosaic > *:nth-child(3) { aspect-ratio: 16/10; }
.service-mosaic > *:nth-child(4) { aspect-ratio: 16/10; }
.service-mosaic > *:nth-child(5) { aspect-ratio: 16/10; }
.service-mosaic > *:nth-child(6) { grid-column: 2 / 4; aspect-ratio: 3/1; }
.service-mosaic > * { background: #111; border-radius: var(--radius-md); overflow: hidden; }
.service-mosaic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .service-mosaic { grid-template-columns: 1fr 1fr; }
  .service-mosaic > *:nth-child(1),
  .service-mosaic > *:nth-child(6) { grid-column: auto; grid-row: auto; aspect-ratio: 16/10; }
}

/* ===== 3-PILLAR ===== */
.pillars-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px 28px; text-align: center;
}
.pillar-card h3 {
  font-family: var(--font-display); font-size: 18px; margin-bottom: 14px;
}
.pillar-card.accent-yellow h3 { color: var(--yellow); }
.pillar-card.accent-orange h3 { color: var(--orange); }
.pillar-card.accent-green h3 { color: #a8e15a; }
.pillar-card p { color: var(--text-muted); font-size: 14px; }

/* ===== FORM ===== */
.form-wrap {
  max-width: 820px; margin: 0 auto;
  background: var(--surface-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
}
.form-wrap h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 28px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 13px; color: var(--text-muted);
  margin-bottom: 8px; letter-spacing: 0.02em;
}
.form-field label .req { color: var(--yellow); margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 14px 18px;
  background: var(--black); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 15px;
  transition: border-color 0.18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--yellow);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-checkbox {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 0 28px; color: var(--text);
}
.form-checkbox input { width: 18px; height: 18px; accent-color: var(--yellow); }
.btn-submit {
  width: 100%; padding: 18px; background: var(--yellow); color: var(--black);
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.06em;
  border-radius: var(--radius-pill); text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-submit:hover { background: var(--yellow-bright); transform: translateY(-2px); }
.btn-submit.orange { background: var(--orange); color: #fff; }
.btn-submit.orange:hover { background: var(--orange-hover); }

/* ===== RESULTS STRIP (PAID ADS) ===== */
.results-card {
  max-width: 1000px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px);
  text-align: center;
}
.results-card h3 { font-family: var(--font-display); font-size: 28px; color: var(--yellow); margin-bottom: 10px; }
.results-numbers { font-size: 18px; color: var(--text-muted); margin-bottom: 22px; }
.results-card .screenshot { border-radius: 10px; overflow: hidden; background: #eee; margin: 20px 0; }
.results-card .caption { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* ===== CAMPAIGN TILES ===== */
.campaign-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 720px) { .campaign-tiles { grid-template-columns: 1fr; } }
.campaign-tiles > div {
  padding: 60px 20px; border: 1px solid var(--border); border-radius: var(--radius-md);
  text-align: center; font-family: var(--font-display); font-size: 14px;
  letter-spacing: 0.15em; background: var(--surface);
}
.campaign-tiles > div:nth-child(1) { color: var(--yellow); }
.campaign-tiles > div:nth-child(2) { color: var(--orange); }
.campaign-tiles > div:nth-child(3) { color: #a8e15a; }

/* ===== WORK PAGE ===== */
.work-hero { padding: 120px var(--gutter) 20px; }
.work-hero h1 {
  font-family: var(--font-display); font-size: clamp(56px, 12vw, 160px);
  text-transform: lowercase; letter-spacing: -0.03em;
}
.work-grid-wrap {
  padding: 0 var(--gutter) 80px;
}
.work-grid {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }
.work-item { color: var(--black); }
.work-item figure {
  margin: 0 0 16px; aspect-ratio: 16/10; overflow: hidden; border-radius: 8px;
  background: #111;
}
.work-item figure img { width: 100%; height: 100%; object-fit: cover; }
.work-item h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; }

/* ===== LEGAL PAGES ===== */
.legal-wrap {
  max-width: 780px; margin: 0 auto;
  padding: 140px var(--gutter) 96px;
}
.legal-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.legal-meta .mono {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-muted); text-transform: uppercase;
}
.legal-wrap h1 {
  font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px);
  font-weight: 500; letter-spacing: -0.035em; margin-bottom: 28px; line-height: 1.02;
}
.legal-wrap h2 {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500; letter-spacing: -0.02em;
  margin: 56px 0 16px; color: var(--text); scroll-margin-top: 100px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.legal-wrap h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  margin: 28px 0 10px; color: var(--text); letter-spacing: -0.01em;
}
.legal-wrap p, .legal-wrap li {
  color: var(--text); font-size: 15.5px; margin-bottom: 14px;
  line-height: 1.7; font-weight: 400;
}
.legal-wrap .legal-intro {
  font-family: var(--font-serif); font-style: italic;
  font-size: 19px; color: var(--text); line-height: 1.55;
  padding: 20px 0 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-wrap ul { padding-left: 22px; margin-bottom: 16px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap strong { color: var(--yellow); font-weight: 500; }
.legal-wrap a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-wrap a:hover { color: var(--yellow-bright); }
.legal-wrap em { font-family: var(--font-serif); font-style: italic; color: var(--text); }
.legal-wrap .small { font-size: 13px; color: var(--text-muted); margin-top: 24px; }
.legal-table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 14px;
}
.legal-table th, .legal-table td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow); background: var(--surface);
  border-bottom: 1px solid var(--yellow);
}
.legal-table td { color: var(--text); line-height: 1.55; }
.legal-table td:first-child { font-weight: 500; }
@media (max-width: 620px) {
  .legal-meta { gap: 12px; margin-bottom: 24px; }
  .legal-meta .mono { font-size: 10px; letter-spacing: 0.14em; }
  .legal-wrap h2 { margin: 40px 0 12px; padding-top: 16px; }
  .legal-wrap h3 { font-size: 16px; margin: 20px 0 8px; }
  .legal-wrap p, .legal-wrap li { font-size: 15px; }
  .legal-wrap .legal-intro { font-size: 17px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 8px; }
}

/* ===== UTILS ===== */
.center { text-align: center; }
.small { font-size: 13px; color: var(--text-muted); }
.mt-lg { margin-top: 48px; }
.divider { border: 0; border-top: 1px solid var(--border); max-width: 400px; margin: 48px auto; }

@media (max-width: 620px) {
  .nav { padding: 14px var(--gutter); }
  .hero { padding-top: 120px; }
}

/* ══════════════════════════════════════════════════════════════════
   ✦ PREMIUM LAYER — motion, texture, advanced typography
   ════════════════════════════════════════════════════════════════ */

/* Clean: no grain, no animated stripe. Geist + whitespace do the work. */

/* Nav scrolled */
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(0,0,0,0.92);
  border-bottom-color: rgba(255,255,255,0.12);
}

/* ════════════ TYPE ELEVATION ════════════ */
/* Hero meta corners (Locomotive/Franchise pattern) */
.hero-meta {
  position: absolute; bottom: 32px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter);
  z-index: 2;
}
.hero-meta .mono {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--text-muted); text-transform: uppercase;
}
.hero-meta .mono::before { content: "— "; color: var(--yellow); margin-right: 4px; }
.section-title em,
.section-title i {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--yellow); text-transform: none;
}

/* ════════════ REVEAL ════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0ms),
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body::before { animation: none; }
}

/* ════════════ MAGNETIC / CTA POLISH ════════════ */
.hero-cta, .btn-orange, .btn-yellow-outline, .menu-btn, .btn-submit {
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), background 0.2s ease, color 0.2s ease, box-shadow 0.3s ease;
}
.hero-cta { box-shadow: 0 12px 36px -12px rgba(233,244,120,0.4); }
.hero-cta:hover { box-shadow: 0 20px 60px -12px rgba(233,244,120,0.7); }
.btn-orange { box-shadow: 0 12px 36px -12px rgba(242,88,38,0.4); }
.btn-orange:hover { box-shadow: 0 20px 60px -12px rgba(242,88,38,0.7); }

/* ════════════ CUSTOM CURSOR ════════════ */
.ke-cursor {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  width: 28px; height: 28px; border: 1.5px solid var(--yellow);
  border-radius: 50%; mix-blend-mode: difference;
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.ke-cursor.is-hover {
  width: 60px; height: 60px; border-color: var(--yellow);
  background: rgba(233,244,120,0.1);
}
@media (hover: none) { .ke-cursor { display: none; } }

/* ════════════ HERO REFINEMENT ════════════ */
.hero-inner { z-index: 2; position: relative; }

/* ════════════ MARQUEE (Top Collaborations) ════════════ */
.marquee {
  overflow: hidden; padding: 32px 0;
  border-block: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  background: var(--surface);
}
.marquee-track {
  display: flex; gap: 72px;
  animation: marquee-scroll 36s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 72px;
  white-space: nowrap;
}
.marquee-item::after {
  content: "✦"; color: var(--yellow); font-size: 0.6em;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════ SERVICE CARD LIFT ════════════ */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(233,244,120,0.08), transparent 40%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  background: var(--yellow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  box-shadow: 0 0 0 0 rgba(233,244,120,0);
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0 0 6px rgba(233,244,120,0.15);
}

/* ════════════ PORTFOLIO ZOOM ════════════ */
.portfolio-card figure { position: relative; }
.portfolio-card figure::after {
  content: "→ View";
  position: absolute; inset: auto 16px 16px auto;
  padding: 8px 16px; background: var(--yellow); color: var(--black);
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  opacity: 0; transform: translateY(6px);
  transition: all 0.28s var(--ease-out);
}
.portfolio-card:hover figure::after { opacity: 1; transform: translateY(0); }

/* Work grid lift */
.work-item figure {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.work-item:hover figure {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}
.work-item figure img { transition: transform 0.6s var(--ease-out); }
.work-item:hover figure img { transform: scale(1.06); }

/* Yellow box stays simple — no rotating gradient */

/* ════════════ FEATURED GRID POLISH ════════════ */
.featured-grid a { position: relative; }
.featured-grid a::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 2px solid transparent; border-radius: inherit;
  transition: border-color 0.3s ease;
}
.featured-grid a:hover::before { border-color: var(--black); }

/* ════════════ FAQ POLISH ════════════ */
.faq-item summary { transition: color 0.2s ease; }
.faq-item summary:hover { color: var(--yellow); }
.faq-item[open] summary { color: var(--yellow); }

/* ════════════ CONTACT DRAMA ════════════ */
.contact-block { position: relative; overflow: hidden; }
.contact-block h2 {
  background: linear-gradient(180deg, var(--text) 10%, rgba(255,255,255,0.12) 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-block::before {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 2px;
  background: var(--yellow);
}

/* ════════════ FORM POLISH ════════════ */
.form-wrap { position: relative; }
.form-wrap::before {
  content: "✦ INQUIRY"; position: absolute; top: -14px; left: 36px;
  padding: 6px 18px; background: var(--yellow); color: var(--black);
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em;
  border-radius: var(--radius-pill);
}

/* ════════════ SERVICE HERO DIMENSION ════════════ */
.service-hero h1 {
  background: linear-gradient(180deg, var(--yellow) 40%, rgba(233,244,120,0.4) 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,0.3));
}

/* Smooth transitions for all interactive */
a, button { transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease; }

/* Section subtle top divider */
.section + .section { position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 1px; background: var(--border);
}

/* ══════════════════════════════════════════════════════════════════
   ✦ MOBILE POLISH
   ════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  :root { --gutter: 24px; --radius-lg: 20px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 140px; min-height: 86vh; }
  .hero-meta { bottom: 20px; gap: 12px; flex-wrap: wrap; }
  .menu-overlay a::before { left: -40px; }
  .contact-block h2 { font-size: clamp(56px, 14vw, 120px); }
}

/* Phone */
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }

  /* Nav tightening */
  .nav { padding: 12px 20px; }
  .nav-logo-img { width: 38px; height: 38px; }
  .menu-btn { padding: 9px 18px; font-size: 11px; letter-spacing: 0.18em; }

  /* Hero */
  .hero { padding: 120px 20px 80px; min-height: 80vh; }
  .hero h1 {
    font-size: clamp(36px, 10.5vw, 52px);
    line-height: 0.98; letter-spacing: -0.03em;
  }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.24em; margin-bottom: 24px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-cta, .btn-orange { padding: 14px 26px; font-size: 11px; letter-spacing: 0.2em; }
  .hero-meta { display: none; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.025em; }
  .section-sub { font-size: 15px; margin-bottom: 40px; }
  .section-label { font-size: 10px; letter-spacing: 0.24em; }
  .section-label::before, .section-label::after { flex-basis: 18px; }

  /* Service cards */
  .service-card { padding: 28px 22px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; }

  /* Portfolio + Work */
  .portfolio-card h3 { font-size: 18px; }
  .portfolio-card figure::after { font-size: 10px; padding: 6px 12px; }
  .work-hero h1 { font-size: clamp(72px, 24vw, 120px); }
  .work-grid { padding: 20px; gap: 18px; }
  .work-item h3 { font-size: 13px; }

  /* Yellow box */
  .yellow-box { padding: 32px 24px; border-radius: 18px; }
  .yellow-box h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 18px; }
  .yellow-box p { font-size: 17px; margin-bottom: 14px; }
  .yellow-box p:first-of-type { font-size: 20px; }

  /* Process */
  .process-card { padding: 24px 20px; }
  .process-card h3 { font-size: 17px; }

  /* Contact */
  .contact-block { padding: 36px 24px; }
  .contact-block h2 { font-size: clamp(48px, 18vw, 88px); margin-bottom: 24px; }
  .contact-card a { font-size: 14px; }

  /* Footer */
  .footer {
    padding: 28px 20px; gap: 16px;
    flex-direction: column; align-items: flex-start;
  }
  .footer-links { gap: 16px; font-size: 11px; }
  .footer-links a { font-size: 11px; letter-spacing: 0.16em; }
  .footer-social a, .back-top { width: 46px; height: 38px; font-size: 13px; }

  /* Marquee tighter */
  .marquee { padding: 20px 0; }
  .marquee-track { gap: 48px; }
  .marquee-item { font-size: clamp(22px, 7vw, 32px); gap: 48px; }

  /* Featured grid */
  .featured-grid { padding: 16px; gap: 14px; border-radius: 18px; }
  .featured-grid a .caption { font-size: 12px; padding: 12px 14px; }

  /* Forms */
  .form-wrap { padding: 32px 24px; border-radius: 20px; }
  .form-wrap h2 { font-size: 22px; margin-bottom: 20px; }
  .form-wrap::before { left: 20px; font-size: 10px; letter-spacing: 0.16em; }
  .form-field input, .form-field select, .form-field textarea { padding: 12px 14px; font-size: 16px; } /* 16px prevents iOS zoom */

  /* Service hero */
  .service-hero { padding: 120px 20px 40px; }
  .service-hero h1 { font-size: clamp(44px, 14vw, 80px); letter-spacing: -0.025em; }

  /* Pillars 1col */
  .pillars-grid { gap: 14px; }
  .pillar-card { padding: 24px 20px; }
  .pillar-card h3 { font-size: 16px; }

  /* Menu overlay — no absolute numbers on tiny screens */
  .menu-overlay { gap: 18px; }
  .menu-overlay a { font-size: clamp(36px, 10vw, 52px); padding-left: 0; }
  .menu-overlay a::before { position: static; display: block; margin-bottom: 4px; }
  .menu-close { top: 18px; right: 20px; padding: 9px 18px; font-size: 11px; }

  /* Touch targets */
  a, button { min-height: 44px; }
  .footer-links a, .faq-item summary { padding-block: 6px; }

  /* Kill hover animations on mobile */
  .ke-cursor { display: none; }
  .service-card::before { display: none; }

  /* Legal wrap */
  .legal-wrap { padding: 120px 20px 60px; }
  .legal-wrap h1 { font-size: 32px; }
  .legal-wrap h2 { font-size: 18px; }
}

/* Extra-small (< 380px) */
@media (max-width: 380px) {
  .nav { padding: 10px 16px; }
  .menu-btn { padding: 8px 14px; letter-spacing: 0.14em; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 28px; }
}

/* Landscape phones — keep hero readable */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .hero h1 { font-size: clamp(32px, 6vw, 48px); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  body::before { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   ✦ MICRO-INTERACTION LAYER  (Emil Kowalski principles)
   custom easings · transform+opacity only · asymmetric timing
   ease-out for UI · ≤300ms durations · press feedback on all buttons
   ════════════════════════════════════════════════════════════════ */

:root {
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 400ms;
}

/* ═══ GLOBAL PRESS FEEDBACK ═══ */
button, a.hero-cta, a.btn-orange, a.btn-yellow-outline, a.menu-btn, .footer-social a, .back-top {
  transition: transform var(--dur-fast) var(--ease-out-strong),
              background var(--dur-fast) ease,
              color var(--dur-fast) ease,
              box-shadow var(--dur) ease,
              border-color var(--dur-fast) ease,
              opacity var(--dur-fast) ease;
}
button:active, a.hero-cta:active, a.btn-orange:active, a.btn-yellow-outline:active,
a.menu-btn:active, .footer-social a:active, .back-top:active, .btn-submit:active {
  transform: scale(0.97);
}

/* ═══ SCROLL REVEALS ═══ */
.will-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 800ms var(--ease-out-strong) var(--reveal-delay, 0ms),
              transform 800ms var(--ease-out-strong) var(--reveal-delay, 0ms);
}
.will-reveal.revealed { opacity: 1; transform: translate3d(0, 0, 0); }

/* ═══ HERO WORD SPLIT ═══ */
.hero h1 .word {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(4deg);
  opacity: 0;
  transition: transform 900ms var(--ease-out-strong) var(--wd, 0ms),
              opacity 600ms ease var(--wd, 0ms);
  will-change: transform, opacity;
}
.hero h1.revealed .word,
.revealed.hero h1 .word,
.hero h1 .line.revealed .word { /* fallback */ }
.hero h1 { overflow: hidden; }
.hero h1 .line { overflow: hidden; display: block; }

/* Trigger word-reveal when h1 enters viewport */
.hero h1.revealed .word { transform: translate3d(0,0,0) rotate(0); opacity: 1; }

/* ═══ BUTTON DUAL-STATE (text slides up, replacement slides in) ═══ */
.hero-cta, .btn-orange, .btn-submit, .btn-yellow-outline, .menu-btn {
  position: relative; overflow: hidden;
  isolation: isolate;
}
.hero-cta::before, .btn-orange::before, .btn-submit::before, .btn-yellow-outline::before {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  opacity: 0;
  transform: translate3d(-101%, 0, 0);
  transition: transform 340ms var(--ease-out-strong), opacity var(--dur-fast) ease;
  z-index: -1;
  border-radius: inherit;
}
.hero-cta:hover::before { opacity: 1; transform: translate3d(0,0,0); background: var(--yellow-bright); }
.btn-orange:hover::before { opacity: 1; transform: translate3d(0,0,0); background: var(--orange-hover); }
.btn-submit:hover::before { opacity: 1; transform: translate3d(0,0,0); background: var(--yellow-bright); }
.btn-yellow-outline:hover::before { opacity: 1; transform: translate3d(0,0,0); background: var(--yellow); }

/* ═══ LINK UNDERLINE: slides in from left ═══ */
.footer-links a, .faq-item summary, .contact-card a {
  position: relative; display: inline-block;
}
.footer-links a::after, .contact-card a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform 340ms var(--ease-out-strong);
}
.footer-links a:hover::after, .contact-card a:hover::after {
  transform: scaleX(1); transform-origin: left center;
}

/* ═══ CUSTOM CURSOR (enhanced with label) ═══ */
.ke-cursor {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  width: 20px; height: 20px; border: 1.5px solid var(--yellow);
  border-radius: 50%; mix-blend-mode: difference;
  transition: width var(--dur) var(--ease-out-strong),
              height var(--dur) var(--ease-out-strong),
              background var(--dur) ease,
              border-color var(--dur) ease,
              opacity var(--dur) ease;
  display: flex; align-items: center; justify-content: center;
}
.ke-cursor__label {
  font-family: var(--font-mono); font-size: 10px; color: var(--black);
  opacity: 0; white-space: nowrap; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 500;
  transition: opacity var(--dur-fast) ease;
}
.ke-cursor[data-mode="hover"] {
  width: 42px; height: 42px; background: rgba(233,244,120,0.08);
}
.ke-cursor[data-mode="view"] {
  width: 88px; height: 88px; background: var(--yellow); border-color: var(--yellow);
  mix-blend-mode: normal;
}
.ke-cursor[data-mode="view"] .ke-cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .ke-cursor { display: none; } }

/* ═══ TOAST (copy-to-clipboard feedback) ═══ */
.ke-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate3d(-50%, 40px, 0) scale(0.96);
  opacity: 0; padding: 14px 22px;
  background: var(--yellow); color: var(--black);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  font-weight: 500; text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 60px rgba(233,244,120,0.35), 0 2px 6px rgba(0,0,0,0.3);
  pointer-events: none; z-index: 9998;
  transition: transform 340ms var(--ease-out-strong), opacity 200ms ease;
}
.ke-toast.show { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }

/* ═══ MENU OVERLAY — animated in ═══ */
.menu-overlay {
  transition: opacity 280ms var(--ease-out-strong);
}
.menu-overlay a {
  opacity: 0; transform: translate3d(0, 20px, 0);
  transition: opacity 520ms var(--ease-out-strong) var(--d, 0ms),
              transform 520ms var(--ease-out-strong) var(--d, 0ms),
              color var(--dur-fast) ease;
}
.menu-overlay.open a { opacity: 1; transform: translate3d(0, 0, 0); }

/* ═══ FAQ SMOOTH EXPAND ═══ */
.faq-item {
  transition: background var(--dur) ease;
}
.faq-item:hover { background: rgba(233,244,120,0.02); }
.faq-item summary::after {
  transition: transform 260ms var(--ease-out-strong);
}
.faq-item[open] summary { color: var(--yellow); }
.faq-item p {
  animation: faq-slide 360ms var(--ease-out-strong);
}
@keyframes faq-slide {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ═══ INPUT FLOAT LABEL ═══ */
.form-field {
  position: relative;
}
.form-field label {
  transition: color var(--dur-fast) ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(233,244,120,0.15);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) ~ label { color: var(--yellow); }

/* ═══ IMAGE CLIP REVEAL (Locomotive pattern) ═══ */
.portfolio-card figure img,
.work-item figure img,
.featured-grid a figure img {
  transition: transform 500ms var(--ease-out-strong),
              clip-path 700ms var(--ease-out-strong);
}
.portfolio-card.will-reveal figure img,
.work-item.will-reveal figure img,
.featured-grid a.will-reveal figure img {
  clip-path: inset(0 0 100% 0);
}
.portfolio-card.revealed figure img,
.work-item.revealed figure img,
.featured-grid a.revealed figure img {
  clip-path: inset(0 0 0 0);
}

/* ═══ MARQUEE WORD HIGHLIGHT ═══ */
.marquee-item {
  transition: color var(--dur) ease, transform var(--dur) var(--ease-out-strong);
  cursor: default;
}
.marquee-item.accent {
  color: var(--yellow);
}

/* ═══ SERVICE CARD PARALLAX + CURSOR LIGHT ═══ */
.service-card {
  transition: transform 380ms var(--ease-out-strong),
              border-color var(--dur) ease,
              background var(--dur) ease;
}
.service-card:hover {
  transform: translate3d(0, -6px, 0);
}

/* ═══ PORTFOLIO CARD LIFT + CHIP ═══ */
.portfolio-card {
  transition: transform 380ms var(--ease-out-strong),
              border-color var(--dur) ease;
}
.portfolio-card:hover {
  transform: translate3d(0, -8px, 0);
}
.portfolio-card figure img {
  will-change: transform;
}

/* ═══ WORK ITEM LIFT ═══ */
.work-item {
  transition: transform 380ms var(--ease-out-strong);
}
.work-item:hover { transform: translate3d(0, -4px, 0); }

/* ═══ SECTION PROGRESS RAIL (optional side indicator) ═══ */
[data-tracker] {
  position: fixed; top: 50%; right: 16px; transform: translateY(-50%);
  width: 2px; height: 80px; background: var(--border); z-index: 50;
  border-radius: 2px;
}
[data-tracker]::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%;
  height: var(--p, 0%); background: var(--yellow);
  border-radius: 2px;
  transition: height 100ms linear;
}
@media (max-width: 620px) { [data-tracker] { display: none; } }

/* ═══ CONTACT CARDS — HOVER WARMTH ═══ */
.contact-card {
  transition: background var(--dur) ease, border-color var(--dur) ease, transform var(--dur) var(--ease-out-strong);
}
.contact-card:hover {
  background: var(--surface-2); border-color: var(--yellow);
  transform: translate3d(0, -2px, 0);
}

/* ═══ SERVICE ICON SUBTLE ROTATE ═══ */
.service-card .service-icon {
  transition: transform 420ms var(--ease-out-strong),
              box-shadow 420ms ease;
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 0 6px rgba(233,244,120,0.15);
}

/* ═══ DISABLE hover transforms on touch ═══ */
@media (hover: none), (pointer: coarse) {
  .service-card:hover, .portfolio-card:hover, .work-item:hover,
  .contact-card:hover { transform: none !important; }
  .service-card:hover .service-icon { transform: none; }
}

/* ═══ RESPECT REDUCED MOTION — override micro-interactions ═══ */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .word { transform: none !important; opacity: 1 !important; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
  .ke-cursor, .ke-toast { display: none; }
  .portfolio-card.will-reveal figure img,
  .work-item.will-reveal figure img,
  .featured-grid a.will-reveal figure img { clip-path: none !important; }
}


