/* =========================================================
   Usama Studio — Home (Light)
   Tokens taken from the Figma variables of "Home — Light"
   ========================================================= */

:root {
  /* Colors */
  --bg-base: #ffffff;
  --bg-raised: #f6f6f6;
  --bg-glass: #ffffff;
  --bg-accent: #0a0a0a;
  --bg-accent-soft: rgba(10, 10, 10, 0.06);
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #8a8a8a;
  --text-accent: #0a0a0a;
  --text-on-lime: #0a0a0a;
  --icon-primary: #0a0a0a;
  --border-default: rgba(10, 10, 10, 0.12);
  --border-subtle: rgba(10, 10, 10, 0.08);
  --border-accent: #0a0a0a;
  --accent-lime: #d8f45a;
  --status-online: #16a34a;

  /* Radii */
  --radius-full: 999px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-panel: 36px;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
section[id], main [id] { scroll-margin-top: 90px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-full);
  background: var(--bg-accent); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section-raised { background: var(--bg-raised); }
.section > .container { position: relative; z-index: 1; }

.deco { position: absolute; pointer-events: none; user-select: none; max-width: none; }

/* ---------- Typography (Figma text styles) ---------- */
.display {               /* Hero / contact display */
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.h1 {                    /* Portfolio/Heading/H1 */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.h2 {                    /* Portfolio/Heading/H2 */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.h3 {                    /* Portfolio/Heading/H3 */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.body-l { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; }
.body-m { font-size: 16px; line-height: 1.6; }
.body-s { font-size: 14px; line-height: 1.5; }
.mono-s { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; }

.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.06em;
  color: var(--text-accent);
}
.eyebrow-muted { color: var(--text-muted); }

.heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.heading .h1 { max-width: 820px; }
.heading-sub { max-width: 680px; }

.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-default); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn img { flex-shrink: 0; transition: transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover img { transform: translateX(2px); }
.btn-lime { background: var(--accent-lime); color: var(--text-on-lime); }
.btn-lime:hover { box-shadow: 0 8px 24px rgba(216, 244, 90, 0.55); }
.btn-outline { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-default); }
.btn-outline:hover { border-color: var(--border-accent); }
.header-cta:hover img { transform: translateY(2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 14px; line-height: 1.5; color: var(--text-primary);
}

.stars { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--accent-lime); letter-spacing: 0.02em; }

/* ---------- Logo ---------- */
.logo { position: relative; display: block; width: 159.5px; height: 32px; flex-shrink: 0; }
.logo-mark { position: absolute; left: 6.24px; top: 4.125px; width: 17.5px; height: 20.625px; }
.logo-wordmark { position: absolute; left: 31.28px; top: 7.65px; width: 126.95px; height: 12.6px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 22px;
}
.brand { display: flex; align-items: center; gap: 20px; }
.local-time {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em;
  color: var(--text-muted); white-space: nowrap;
}
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text-secondary); }
.nav a { position: relative; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover, .nav a.is-active { color: var(--text-primary); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { justify-self: end; }
.nav .nav-resume { display: none; }

.nav-toggle { display: none; justify-self: end; width: 44px; height: 44px; border-radius: var(--radius-full); border: 1px solid var(--border-default); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text-primary); transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-block: 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 520px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.hero-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-intro .display { letter-spacing: -0.025em; }
.hero-lead { max-width: 560px; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 0;
}
.tile-stat { padding: 28px; gap: 4px; }
.tile-lime { background: var(--accent-lime); border-color: var(--accent-lime); color: var(--text-on-lime); }
.stat-xl {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -0.025em;
}
.tile-profile { gap: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; }
.tile-tools { gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 14px; line-height: 1.5;
}
.tile-quote { grid-column: 1 / -1; padding: 28px; gap: 12px; }

/* =========================================================
   Skills carousel
   ========================================================= */
.skills {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding-block: 52px;
  background: var(--bg-raised);
  border-block: 1px solid var(--border-subtle);
  overflow: hidden;
}
.skills .eyebrow { padding-bottom: 10px; }
.marquee {
  position: relative; width: 100%; height: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 180px, #000 calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 180px, #000 calc(100% - 180px), transparent 100%);
}
.marquee-track {
  display: flex; gap: 14px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee[data-direction="right"] .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 7px)); }   /* half the track + half the gap */
}
.skill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 500; line-height: 1.4; white-space: nowrap;
}
.skill img { width: 20px; height: 20px; }

/* =========================================================
   About
   ========================================================= */
.deco-rings-about { right: -160px; top: -170px; width: 420px; height: 420px; }
.about-row {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.photo-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo { position: relative; aspect-ratio: 418 / 460; overflow: hidden; }
.photo img {                    /* crop exactly as set in Figma */
  position: absolute; max-width: none;
  width: 125.36%; height: 202.4%;
  left: -12.68%; top: -38.83%;
}
.name-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; }
.name-bar .h3 { margin-bottom: 4px; }
.status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.story { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 9px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: border-color .2s, color .2s;
}
.tag:hover { border-color: var(--border-accent); color: var(--text-primary); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.stat {
  display: flex; flex-direction: column; gap: 6px;
  min-height: 133px;
  padding: 20px 22px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.stat-m { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 0.98; letter-spacing: -0.025em; }

/* =========================================================
   Work
   ========================================================= */
.deco-dots-work { left: 30px; top: 40px; width: 108px; height: 72px; }
.deco-squiggle-work { right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: 56px; width: 180px; height: 40px; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.heading-row .btn { flex-shrink: 0; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.project-card {
  display: flex; flex-direction: column; gap: 24px;
  padding: 14px 14px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-image { aspect-ratio: 1104 / 720; border-radius: var(--radius-md); overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 14px; }
.project-meta > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.arrow-btn {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--bg-accent);
  transition: transform .3s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.25); }
.project-card:hover .project-image img { transform: scale(1.04); }
.project-card:hover .arrow-btn { transform: rotate(45deg); }

/* =========================================================
   Cards (services / steps / testimonials)
   ========================================================= */
.services .heading,
.process .heading,
.testimonials .heading { margin-bottom: 56px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.deco-arc { right: 40px; top: 50px; width: 260px; height: 130px; }
.deco-sparkle-services { right: 338px; top: 90px; width: 22px; height: 22px; }
.service { gap: 16px; padding: 32px; transition: border-color .2s, transform .3s; }
.service:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.icon-box {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-accent);
}

.deco-rings-process { left: -150px; top: -120px; width: 380px; height: 380px; }
.deco-dots-process { right: 66px; top: 60px; width: 144px; height: 90px; }
.step { gap: 16px; padding: 36px; }
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; line-height: 0.98; letter-spacing: -0.025em;
  color: var(--text-muted);
}

.deco-squiggle-testimonials { right: 110px; top: 70px; width: 180px; height: 40px; }
.testimonial { gap: 24px; padding: 32px; }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 44px; height: 44px; flex-shrink: 0; }
.person > span { display: flex; flex-direction: column; gap: 2px; }
.person-name { font-size: 15px; font-weight: 500; line-height: 1.4; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-row { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--accent-lime); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 8px; }
.faq-icon {
  position: relative; flex-shrink: 0; width: 18px; height: 33px;
}
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2.5px; margin-top: -1.25px;
  background: var(--text-accent); border-radius: 2px;
  transition: transform .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { margin-top: 12px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 88px 80px;
  text-align: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-panel);
}
.contact-panel > :not(.deco) { position: relative; z-index: 1; }
.deco-rings-contact { left: 50%; top: -261px; width: 900px; height: 900px; transform: translateX(-50%); }
.deco-dots-contact { right: 63px; top: 59px; width: 108px; height: 72px; }
.deco-sparkle-lime { left: 159px; top: 89px; width: 26px; height: 26px; }
.deco-sparkle-small { right: 173px; top: 455px; width: 18px; height: 18px; }
.contact-title { line-height: 0.98; letter-spacing: -0.007em; }
.contact-lead { max-width: 560px; }
.contact-panel .btn-row { justify-content: center; }
.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.contact-info > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.contact-info dt { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; color: var(--text-muted); }
.contact-info dd { font-size: 15px; font-weight: 500; line-height: 1.4; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border-subtle); padding-top: 64px; }
.footer-inner { display: flex; gap: 80px; align-items: flex-start; }
.footer-brand { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .text-secondary { max-width: 400px; font-size: 16px; line-height: 1.6; }
.footer-brand .text-muted { font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; white-space: nowrap; }
.footer-col a { font-size: 16px; line-height: 1.6; color: var(--text-secondary); transition: color .2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-wordmark {
  margin: 30px 0 -0.2em;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: min(220px, 15.3vw);
  line-height: 1.26;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 10, 10, 0.14);
  user-select: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .local-time { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-intro { max-width: 680px; }
  .bento { max-width: 620px; }
  .about-row { grid-template-columns: 360px minmax(0, 1fr); gap: 48px; }
  .faq-row { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
  .deco-sparkle-services, .deco-arc { opacity: .6; }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav-toggle { display: block; }
  .header-cta { padding: 12px 18px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 16px 32px -16px rgba(10, 10, 10, 0.15);
    font-size: 17px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .about-row { grid-template-columns: 1fr; }
  .photo-card { max-width: 420px; width: 100%; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-row { grid-template-columns: 1fr; }
  .project-grid { gap: 24px; }
  .heading-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; gap: 40px 64px; }
  .footer-brand { flex-basis: 100%; }
  .deco-rings-about, .deco-rings-process { opacity: .5; }
}

@media (max-width: 720px) {
  .local-time { display: none; }
  .header-cta { display: none; }
  .nav .nav-resume { display: flex; align-items: center; gap: 10px; color: var(--text-primary); }
  .header-inner { grid-template-columns: 1fr auto; padding-block: 14px; }
  .hero { padding-block: 56px 72px; }
  .project-grid, .card-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .contact-panel { padding: 56px 20px; }
  .deco-sparkle-lime { left: 24px; top: 24px; }
  .deco-sparkle-small { right: 24px; top: auto; bottom: 24px; }
  .deco-dots-contact { right: 16px; top: 16px; opacity: .6; }
  .deco-squiggle-work, .deco-squiggle-testimonials, .deco-arc, .deco-sparkle-services, .deco-dots-process { display: none; }
  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  }
  .faq-item { padding: 20px; }
  .faq-item .h3 { font-size: 17px; }
}

@media (max-width: 420px) {
  .bento { grid-template-columns: 1fr; }
  .tile-quote { grid-column: auto; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .name-bar { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* =========================================================
   All projects page (projects.html)
   ========================================================= */
.work-intro { padding-block: 72px 56px; }
.work-intro .container { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.back-link {
  display: inline-flex; gap: 8px;
  font-size: 15px; font-weight: 500; line-height: 1.4;
  color: var(--text-secondary); transition: color .2s;
}
.back-link span { transition: transform .2s; }
.back-link:hover { color: var(--text-primary); }
.back-link:hover span { transform: translateX(-3px); }
.work-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; }
.work-title { max-width: 720px; font-size: clamp(38px, 5.4vw, 60px); }
.work-lead { flex: 0 1 420px; }

.work-featured { padding-bottom: 72px; }
.featured-card {
  display: flex; align-items: center; gap: 48px;
  padding: 16px 48px 16px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.featured-image { flex: 0 0 55%; aspect-ratio: 660 / 440; border-radius: var(--radius-md); overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.featured-badge { padding: 6px 12px; border-radius: var(--radius-full); background: var(--accent-lime); color: var(--text-on-lime); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 12px; border: 1px solid var(--border-default); border-radius: var(--radius-full);
  font-size: 14px; line-height: 1.5; color: var(--text-secondary);
}

.work-all { padding-bottom: 96px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--border-default); border-radius: var(--radius-full);
  background: var(--bg-glass);
  font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text-secondary);
  transition: border-color .2s, color .2s, background-color .2s;
}
.filter:hover { border-color: var(--border-accent); color: var(--text-primary); }
.filter-count { font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); }
.filter.is-active { background: var(--accent-lime); border-color: var(--accent-lime); color: var(--text-on-lime); }
.filter.is-active .filter-count { color: var(--text-on-lime); }
.filter-status { margin-left: auto; }
.project-card[hidden], .filter[hidden] { display: none; }

.work-cta { padding-bottom: 112px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.cta-card > div { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 960px) {
  .work-title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work-lead { flex-basis: auto; max-width: 560px; }
  .featured-card { flex-direction: column; align-items: stretch; gap: 28px; padding: 14px 14px 32px; }
  .featured-image { flex-basis: auto; }
  .featured-text { padding-inline: 14px; }
}
@media (max-width: 720px) {
  .work-intro { padding-block: 48px 40px; }
  .work-featured { padding-bottom: 56px; }
  .work-all { padding-bottom: 72px; }
  .work-cta { padding-bottom: 72px; }
  .filter-status { flex-basis: 100%; margin-left: 0; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}

/* =========================================================
   Case study pages (lumio.html, …)
   ========================================================= */
.cs-hero { padding-block: 72px; }
.cs-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.cs-title { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cs-title .display { max-width: 1000px; font-size: clamp(38px, 5.4vw, 60px); }
.cs-sub { max-width: 720px; }

.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.cs-meta-card, .cs-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.cs-meta-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; }

.cs-image { border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; }
.cs-image img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero-image { width: 100%; aspect-ratio: 2400 / 1240; }

.cs-heading { margin-bottom: 48px; }
.cs-heading .h1 { max-width: 820px; }

.cs-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cs-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; }

.cs-split { display: flex; gap: 80px; align-items: flex-start; }
.cs-split-center { align-items: center; }
.cs-side { flex: 0 0 min(460px, 40%); }

.cs-tools { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-tool {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: var(--bg-glass); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
}
.cs-tool-badge {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--bg-accent);
}
.cs-tool > span:last-child { display: flex; flex-direction: column; gap: 2px; }

.cs-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.cs-step { gap: 12px; padding: 24px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-chip {
  padding: 5px 10px; border: 1px solid var(--border-default); border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; color: var(--text-secondary);
}
.cs-process-image { aspect-ratio: 2400 / 840; }

.cs-divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--border-default); }
.cs-decision { display: flex; gap: 8px; }

.cs-stack > .cs-heading { margin-bottom: 0; }
.cs-stack { display: flex; flex-direction: column; gap: 48px; }
.cs-final-wide { aspect-ratio: 2400 / 1120; }
.cs-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cs-gallery .cs-image { aspect-ratio: 768 / 920; }
.cs-caption { max-width: 760px; }

.cs-metric { font-size: clamp(44px, 5.4vw, 60px); }

.cs-learnings { flex: 1 1 0; min-width: 0; }
.cs-learnings li { display: flex; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--border-subtle); }
.cs-learn-num { flex: 0 0 24px; padding-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.06em; }

.cs-next {
  display: flex; align-items: center; gap: 40px; padding: 40px;
  background: var(--bg-glass); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
}
.cs-next-image { flex: 0 0 320px; aspect-ratio: 640 / 400; }
.cs-next-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 1180px) {
  .cs-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-grid-3, .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .cs-split { flex-direction: column; gap: 40px; }
  .cs-side { flex-basis: auto; }
  .cs-tools { width: 100%; }
  .cs-next { flex-direction: column; align-items: flex-start; padding: 24px; gap: 24px; }
  .cs-next-image { flex-basis: auto; width: 100%; }
}
@media (max-width: 720px) {
  .cs-hero { padding-block: 48px; }
  .cs-hero .container { gap: 32px; }
  .cs-heading { margin-bottom: 32px; }
  .cs-stack { gap: 32px; }
  .cs-steps { grid-template-columns: 1fr; margin-bottom: 32px; }
  .cs-tools { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-card { padding: 24px; }
  .cs-meta-card { padding: 18px; }
}
.cs-next { transition: transform .3s ease, box-shadow .3s ease; }
.cs-next:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.25); }
.cs-next:hover .btn img { transform: translateX(2px); }
