/* ============================================================
   YUKI REGINA — Portfolio Design System
   Brand: beige + ocean blue · Montserrat Alternates + Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:           #E9E4DB;
  --bg-warm:      #F1EDE5;
  --bg-card:      #FFFFFF;
  --indigo:       #015FA6;
  --indigo-dark:  #014D8A;
  --indigo-deep:  #013366;
  --indigo-dim:   rgba(1, 95, 166, 0.10);
  --indigo-dimmer:rgba(1, 95, 166, 0.05);
  --text:         #181818;
  --text-mid:     #484848;
  --text-muted:   #888;
  --border:       rgba(24, 24, 24, 0.09);
  --white:        #FFFFFF;

  --font-alt:     'Montserrat Alternates', sans-serif;
  --font-main:    'Montserrat', sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --max-w:        1200px;
  --pad-x:        clamp(24px, 5vw, 80px);
  --section-gap:  clamp(80px, 10vw, 140px);

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Custom Cursor ─────────────────────────────────────────── */
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), opacity 0.3s var(--ease);
  mix-blend-mode: multiply;
}
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-ring.hovered {
  width: 52px; height: 52px;
  background: var(--indigo-dim);
  border-color: transparent;
}
.cursor-ring.clicking { width: 26px; height: 26px; }
body.cursor-hidden .cursor-ring,
body.cursor-hidden .cursor-dot { opacity: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: var(--section-gap) 0; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(233, 228, 219, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 1px 0 var(--border);
}
/* Scroll progress line */
.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 1.5px;
  width: 0;
  background: var(--indigo);
  transition: width 0.1s linear;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-alt);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
/* ── Logo mark ──────────────────────────────────────────── */
.nav-logo-mark {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--indigo);
  transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--indigo); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ── Availability Badge ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero-kicker {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-alt);
  font-size: clamp(44px, 7.5vw, 92px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 15ch;
}
.hero-headline .accent { color: var(--indigo); }
.hero-sub {
  max-width: 480px;
  color: var(--text-mid);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
/* Animated reveal */
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: 1.08;
  padding-bottom: 0.08em;
}
.reveal-line span {
  display: block;
  transform: translateY(105%);
  opacity: 0;
}
.reveal-line.animated span {
  animation: lineReveal 0.85s var(--ease-out) forwards;
}
.reveal-line:nth-child(2) span { animation-delay: 0.09s; }
.reveal-line:nth-child(3) span { animation-delay: 0.18s; }
.reveal-line:nth-child(4) span { animation-delay: 0.27s; }
@keyframes lineReveal {
  to { transform: translateY(0); opacity: 1; }
}
.hero-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 47, 168, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  transition: gap 0.3s var(--ease);
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost:hover svg { transform: translate(3px, -3px); }

/* ── Clients Marquee ────────────────────────────────────────── */
.clients-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.employers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.employer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.employer-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.employer-logo:hover {
  filter: grayscale(0) opacity(1);
}
.employer-logo[alt="UOL Host"] { height: 17px; }

/* ── Project Cards (homepage) ──────────────────────────────── */
.work { padding: var(--section-gap) 0; }
.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.work-header-title {
  font-family: var(--font-alt);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Project cards — dark (default) ──────────────────────── */
.project-card {
  background: #181818;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  transform-style: preserve-3d;
  text-decoration: none;
}
.project-card:hover {
  box-shadow: 0 36px 72px rgba(0,0,0,0.28);
}
/* Gradient overlay on hover */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.22) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.project-card:hover::after { opacity: 1; }

.project-card-info {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.project-year, .project-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.project-title {
  font-family: var(--font-alt);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  /* #4A90E2 on #181818 = 5.75:1 — passes WCAG AA */
  color: #4A90E2;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.project-nda {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 10px;
}
.project-card.card-light .project-nda {
  color: rgba(0,0,0,0.32);
}
.project-synopsis {
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  flex: 1;
}
.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1.5px solid rgba(74,144,226,0.45);
  border-radius: 50%;
  color: #4A90E2;
  margin-top: 28px;
  align-self: flex-start;
  transition: all 0.4s var(--ease-spring);
}
.project-card:hover .project-arrow {
  background: #4A90E2;
  color: #181818;
  border-color: #4A90E2;
}
.project-arrow svg {
  width: 16px; height: 16px;
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease-spring);
}
.project-card:hover .project-arrow svg { transform: rotate(0deg); }

.project-card-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 28px 0;
}
.project-mockup-img,
.project-mockup-placeholder {
  width: 100%;
  max-width: 460px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  transform: translateY(6px);
  transition: transform 0.6s var(--ease-out);
}
.project-mockup-placeholder {
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-card:hover .project-mockup-img,
.project-card:hover .project-mockup-placeholder {
  transform: translateY(-2px);
}

/* ── Project cards — light variant ───────────────────────── */
.project-card.card-light {
  background: #FAFAF8;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.project-card.card-light:hover {
  box-shadow: 0 36px 72px rgba(0,0,0,0.10);
}
.project-card.card-light::after {
  background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
}
.project-card.card-light .project-year,
.project-card.card-light .project-type {
  color: rgba(0,0,0,0.38);
}
.project-card.card-light .project-title {
  /* #015FA6 on #FAFAF8 = 9.5:1 — passes WCAG AAA */
  color: #015FA6;
}
.project-card.card-light .project-synopsis {
  color: rgba(0,0,0,0.5);
}
.project-card.card-light .project-arrow {
  border-color: rgba(1,95,166,0.35);
  color: #015FA6;
}
.project-card.card-light:hover .project-arrow {
  background: #015FA6;
  color: var(--white);
  border-color: #015FA6;
}
.project-card.card-light .project-mockup-placeholder {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.25);
}

/* ── About Snippet ──────────────────────────────────────────── */
.about-snippet {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
}
.about-snippet-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.about-snippet-quote {
  font-family: var(--font-alt);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.about-snippet-quote em {
  font-style: normal;
  color: var(--indigo);
}
.about-photo {
  width: clamp(88px, 8vw, 120px);
  height: clamp(88px, 8vw, 120px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.about-photo-placeholder {
  width: clamp(88px, 8vw, 120px);
  height: clamp(88px, 8vw, 120px);
  border-radius: 50%;
  background: var(--indigo-dim);
  border: 3px solid var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-alt);
  font-size: 22px;
  font-weight: 800;
  color: var(--indigo);
}

/* ── About Preview strip ────────────────────────────────────── */
.about-preview {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
}
.about-preview-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.about-preview-body p:last-child { margin-bottom: 0; }
.about-preview-body strong { color: var(--text); font-weight: 600; }
.about-preview-cta { text-align: right; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials { padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.testi-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}
.testi-photo-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--indigo-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--indigo);
  font-size: 14px;
}
.testi-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-style: italic;
}
.testi-name { font-size: 13px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── CTA / Say hello strip ──────────────────────────────────── */
.cta-strip {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
}
.cta-strip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.cta-strip-headline {
  font-family: var(--font-alt);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 22ch;
  line-height: 1.15;
}
.cta-strip-row {
  display: flex;
  justify-content: flex-end;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 14px 28px;
  transition: all 0.3s var(--ease);
}
.cta-pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  gap: 18px;
}
.cta-pill svg { transition: transform 0.3s var(--ease); }
.cta-pill:hover svg { transform: translate(3px, -3px); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 32px; }
.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer-link:hover, .footer-link.active { color: var(--indigo); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  padding-top: clamp(110px, 14vw, 160px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.page-hero-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-alt);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
}
.page-hero-title.accent { color: var(--indigo); }

/* ── About Page ─────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: var(--section-gap);
  border-bottom: 1px solid var(--border);
}
.about-sub {
  font-family: var(--font-alt);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--indigo);
  line-height: 1.2;
  margin-bottom: 32px;
}
.about-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.about-body p strong { color: var(--text); font-weight: 600; }
.about-body .cta-line { font-style: italic; color: var(--indigo); font-weight: 500; margin-top: 24px; }
.about-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease-out);
}
.about-photo-wrap:hover img { transform: scale(1.03); }
.about-photo-fill {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--indigo-dim);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.before-section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--border);
}
.before-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.before-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.before-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.07);
}
.before-card-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.before-card-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.before-card-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--indigo-dimmer);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.before-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.logos-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.logo-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}
.tagline-band {
  padding: var(--section-gap) 0;
  text-align: center;
}
.tagline-big {
  font-family: var(--font-alt);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── Projects Page ──────────────────────────────────────────── */
.projects-subhead {
  font-family: var(--font-alt);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-mid);
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-top: 20px;
  margin-bottom: 60px;
}
.projects-list { display: flex; flex-direction: column; }
.project-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  transition: background 0.3s;
}
.project-row:last-child { border-bottom: 1px solid var(--border); }
.project-row-card {
  background: var(--indigo);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.project-row:hover .project-row-card {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 24px 56px rgba(61, 47, 168, 0.2);
}
.project-row-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.project-row-title-sm {
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.project-row-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s var(--ease-spring);
}
.project-row:hover .project-row-arrow {
  background: white;
  color: var(--indigo);
  border-color: white;
}
.project-row-arrow svg { transform: rotate(-45deg); }
.project-row-card-img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 75%;
  border-radius: 6px 6px 0 0;
}
.project-row-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.08;
  font-size: 11px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-row-info { padding-top: 4px; }
.project-row-title {
  font-family: var(--font-alt);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}
.project-row-impact {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-dimmer);
  border: 1px solid var(--indigo-dim);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-page { }
.contact-big-text {
  font-family: var(--font-alt);
  font-size: clamp(28px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--indigo);
  max-width: 14ch;
  margin-bottom: 72px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}
.contact-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.contact-item:first-child { border-radius: var(--radius-md) 2px 2px var(--radius-md); }
.contact-item:last-child  { border-radius: 2px var(--radius-md) var(--radius-md) 2px; }
.contact-item::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.contact-item:hover::after { transform: scaleX(1); }
.contact-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--indigo-dimmer);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}
.contact-item:hover .contact-icon {
  background: var(--indigo-dim);
  transform: scale(1.1) rotate(-5deg);
}
.contact-ch {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.contact-val {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s;
}
.contact-item:hover .contact-val { color: var(--indigo); }

/* ── Case Study ─────────────────────────────────────────────── */
.case-hero {
  padding-top: clamp(110px, 14vw, 160px);
  padding-bottom: 0;
}
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 64px;
}
.case-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.case-meta-item { }
.case-meta-lbl {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.case-meta-val { font-size: 13px; font-weight: 500; color: var(--text); }
.case-title {
  font-family: var(--font-alt);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}
.case-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.case-numbers {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.stat-val {
  font-family: var(--font-alt);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl { font-size: 12px; color: var(--text-muted); line-height: 1.4; max-width: 120px; }
.case-cover-card {
  background: var(--indigo);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 32px 0;
}
.case-cover-card img { border-radius: 8px 8px 0 0; max-height: 280px; object-fit: cover; }
.case-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.case-body { padding: var(--section-gap) 0; }
.case-section { margin-bottom: clamp(48px, 7vw, 80px); }
.case-s-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.case-s-title {
  font-family: var(--font-alt);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--indigo);
  margin-bottom: 18px;
}
.case-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 16px;
  max-width: 680px;
}
.case-2up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.case-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.case-box h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.case-box p { font-size: 14px; line-height: 1.65; color: var(--text-mid); margin: 0; max-width: none; }
.case-img-block {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.case-img-block img { width: 100%; display: block; }
.case-img-fill {
  width: 100%; aspect-ratio: 16/8;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px;
}
.case-img-cap {
  padding: 12px 20px;
  font-size: 11px; color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}
.case-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.result-card {
  background: var(--indigo);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: white;
}
.result-num {
  font-family: var(--font-alt);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.result-lbl { font-size: 13px; line-height: 1.5; opacity: 0.85; }
.result-card p { color: #ffffff !important; max-width: none; }
.case-learnings ul { display: flex; flex-direction: column; gap: 14px; }
.case-learnings li {
  display: flex; gap: 14px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  color: var(--text-mid);
}
.case-learnings li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: 50%;
  margin-top: 9px;
}
.case-footer-nav {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-nav-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text-mid);
  transition: color 0.25s;
}
.case-nav-link:hover { color: var(--indigo); }

/* ── Case Study — Visual-first layout additions ─────────────── */

/* Full-bleed: image breaks out of container to full viewport width */
.case-full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  background: var(--bg-warm);
}
.case-full-bleed img {
  width: 100%;
  display: block;
}
.case-full-bleed video {
  width: 100%;
  display: block;
  max-height: 80vh;
  object-fit: cover;
}
/* Contained video — inside case-body, with rounded card treatment */
.case-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  margin: 32px 0;
}
.case-video-wrap video {
  width: 100%;
  display: block;
}
.case-full-bleed-inner {
  display: flex; align-items: stretch;
  min-height: 480px;
}
.case-full-bleed-placeholder {
  width: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, var(--indigo-dimmer) 0%, var(--bg-warm) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.case-full-bleed-placeholder .placeholder-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  opacity: 0.5;
  margin-bottom: 4px;
}
.case-full-bleed-placeholder .placeholder-hint {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 400px;
  line-height: 1.6;
}
/* Caption below full-bleed */
.case-full-bleed-cap {
  padding: 14px var(--pad-x);
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  letter-spacing: 0.01em;
}

/* Screen showcase row — for mobile/desktop screens side by side */
.case-screens {
  display: grid;
  gap: 16px;
  margin: 40px 0;
}
.case-screens.col-2 { grid-template-columns: 1fr 1fr; }
.case-screens.col-3 { grid-template-columns: 1fr 1fr 1fr; }
.case-screens.col-4 { grid-template-columns: repeat(4, 1fr); }
.case-screen-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--indigo-dimmer);
  border: 1px solid var(--border);
  position: relative;
}
.case-screen-item img { width: 100%; display: block; }
.case-screen-placeholder {
  aspect-ratio: 9/16;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-screen-placeholder.desktop { aspect-ratio: 16/10; }
.case-screen-placeholder.wide    { aspect-ratio: 21/9;  }
/* Optional label on screen item */
.case-screen-label {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}

/* Before/After split */
.case-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 40px 0;
  border: 1px solid var(--border);
}
.ba-panel { position: relative; }
.ba-panel img { width: 100%; display: block; }
.ba-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.ba-tag.before { background: rgba(0,0,0,0.55); color: white; }
.ba-tag.after  { background: var(--indigo); color: white; }
.ba-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Visual annotation card */
.case-annotation {
  display: flex; gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 16px;
}
.case-annotation-num {
  font-family: var(--font-alt);
  font-size: 22px; font-weight: 800;
  color: var(--indigo); opacity: 0.3;
  line-height: 1; flex-shrink: 0;
  min-width: 32px;
}
.case-annotation-body { }
.case-annotation-body h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.case-annotation-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; max-width: none; }

/* Visual impact stat bar */
.case-stat-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
  display: flex;
  gap: 0;
}
.case-stat-bar-item {
  flex: 1;
  padding: 0 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.case-stat-bar-item:first-child { padding-left: 0; }
.case-stat-bar-item:last-child  { border-right: none; padding-right: 0; }
.case-stat-bar-num {
  font-family: var(--font-alt);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.case-stat-bar-lbl {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.4; max-width: 140px; margin: 0 auto;
}

@media (max-width: 768px) {
  .case-screens.col-3 { grid-template-columns: 1fr 1fr; }
  .case-screens.col-4 { grid-template-columns: 1fr 1fr; }
  .case-before-after  { grid-template-columns: 1fr; }
  .case-stat-bar      { flex-direction: column; gap: 32px; }
  .case-stat-bar-item { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 32px; }
  .case-stat-bar-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .project-card { grid-template-columns: 1fr; }
  .project-card-visual { display: none; }
  .about-snippet-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .case-hero-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; gap: 32px; }
  .project-row-card { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .nav-links { gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .before-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2px; }
  .contact-item:first-child, .contact-item:last-child { border-radius: var(--radius-md); }
  .case-2up { grid-template-columns: 1fr; }
  .case-results-row { grid-template-columns: 1fr 1fr; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .cursor-ring, .cursor-dot { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}
@media (max-width: 540px) {
  :root { --pad-x: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .case-results-row { grid-template-columns: 1fr; }
  .case-numbers { gap: 24px; }
  .project-card { min-height: auto; }
}
