/* ===================================================================
   OMAR MOOTAMRI — PORTFOLIO
   Faithfully cloned from omarmota.com
   Design tokens extracted directly from Framer source.
   =================================================================== */

/* ── AEONIK SELF-HOSTED ─────────────────────────────────────────── */
@font-face {
  font-family: 'Aeonik';
  src: url('../assets/fonts/Aeonik-Regular.woff2') format('woff2'),
       url('../assets/fonts/Aeonik-Regular.woff')  format('woff');
  font-weight: 400;
  font-style:  normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('../assets/fonts/Aeonik-Medium.woff2') format('woff2'),
       url('../assets/fonts/Aeonik-Medium.woff')  format('woff');
  font-weight: 500;
  font-style:  normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('../assets/fonts/Aeonik-Bold.woff2') format('woff2'),
       url('../assets/fonts/Aeonik-Bold.woff')  format('woff');
  font-weight: 700;
  font-style:  normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Color palette — exact Framer tokens */
  --c-bg:          #090909;
  --c-white:       #ffffff;
  --c-off-white:   #f5f4f3;
  --c-fafaf9:      #fafaf9;
  --c-f9f9f9:      #f9f9f9;
  --c-f9-80:       #f9f9f9cc;
  --c-f9-60:       #f9f9f999;
  --c-f9-10:       #f9f9f91a;
  --c-09-80:       #090909cc;
  --c-09-60:       #09090999;
  --c-09-50:       #09090980;
  --c-dark:        #222222;
  --c-1e:          #1e1e1e;
  --c-eaeaea:      #eaeaea;
  --c-eaeaea-30:   #eaeaea4d;
  --c-d9d9d9:      #d9d9d9;
  --c-e3e3e3:      #e3e3e3;
  --c-63:          #63615e;
  --c-7f:          #7f7f80;
  --c-accent:      #ff462e;
  --c-accent-10:   #ff462e1a;
  --c-accent-20:   #ff462e33;

  /* Typography */
  --font:      'Aeonik', 'Host Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fragment Mono', 'Courier New', monospace;

  /* Spacing */
  --pad-x:  40px;
  --max-w:  1800px;

  /* Easing */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sharp: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body, #main { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
h1,h2,h3,h4,h5,h6,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 16px;
  background: var(--c-bg);
  color: var(--c-f9f9f9);
  overflow-x: hidden;
}

/* ── PAGE TRANSITION (Osmo pixel wave) ──────────────────────────── */
.transition {
  z-index: 100;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: clip;
}

.transition__panel {
  opacity: 0;
  flex-flow: row;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.transition__col {
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  display: flex;
}

.transition__pixel {
  aspect-ratio: 1;
  background-color: var(--c-f9f9f9);
  width: 100%;
}

/* ── PROGRESSIVE BLUR (bottom) ──────────────────────────────────── */

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

/* ── NAVIGATION ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: block;
  flex-shrink: 0;
}

.nav-logo img {
  width: 63px;
  height: 32px;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-f9f9f9);
  opacity: 0.8;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }

/* "Get in touch" pill button */
.btn-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--c-f9-10);
  color: var(--c-f9f9f9);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}

.btn-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-f9f9f9);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  border-radius: inherit;
}

.btn-nav:hover::before { transform: translateY(0); }
.btn-nav:hover { color: var(--c-bg); }

.btn-nav-text, .btn-nav-arrow {
  position: relative;
  z-index: 1;
}

.btn-nav-arrow {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-nav-arrow svg { width: 12px; height: 12px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-f9f9f9);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE FULLSCREEN NAV OVERLAY ─────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--pad-x) var(--pad-x);
  gap: 40px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.nav-overlay.is-open { pointer-events: auto; }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-overlay-link {
  font-family: var(--font);
  font-size: clamp(40px, 12vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-f9f9f9);
  display: block;
  padding: 6px 0;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-overlay-link:hover { opacity: 1; }

.nav-overlay-cta { align-self: flex-start; }

/* Hide overlay on desktop — GSAP only needs to animate on mobile */
@media (min-width: 810px) {
  .nav-overlay { display: none; }
}

/* ── BUTTONS (general) ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: color 0.35s var(--ease);
}

.btn-dark {
  background: var(--c-bg);
  color: var(--c-f9f9f9);
  border: 1px solid var(--c-f9-10);
}
.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-1e);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  border-radius: inherit;
}
.btn-dark:hover::before { transform: translateY(0); }

.btn-light {
  background: var(--c-off-white);
  color: var(--c-bg);
}
.btn-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-dark);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  border-radius: inherit;
}
.btn-light:hover::before { transform: translateY(0); }
.btn-light:hover { color: var(--c-f9f9f9); }

.btn-outline {
  background: transparent;
  color: var(--c-f9f9f9);
  border: 1px solid var(--c-f9-10);
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-f9-10);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  border-radius: inherit;
}
.btn-outline:hover::before { transform: translateY(0); }

.btn span { position: relative; z-index: 3; }
.btn-icon { position: relative; z-index: 3; flex-shrink: 0; }

@keyframes btn-shimmer {
  0%   { transform: translateX(-160%) skewX(-10deg); }
  100% { transform: translateX(500%) skewX(-10deg); }
}

.btn::after,
.btn-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect x='1' y='1' width='2' height='2' fill='white'/%3E%3C/svg%3E");
  background-size: 4px 4px;
  opacity: 0.26;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
  animation: btn-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* ── SECTION DIVIDER ────────────────────────────────────────────── */
.section-line,
.section-rule {
  width: 100%;
  height: 1px;
  background: var(--c-f9-10);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Animated rule — draws from left on scroll/entry */
[data-reveal-line] {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}
[data-reveal-line].is-visible {
  transform: scaleX(1);
}

/* ── LABELS / TAGS ──────────────────────────────────────────────── */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-f9-60);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--c-f9-10);
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-f9-60);
  letter-spacing: -0.01em;
}

.tag-accent {
  background: var(--c-accent-10);
  color: var(--c-accent);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="0.1"] { transition-delay: 100ms; }
[data-reveal="0.2"] { transition-delay: 200ms; }
[data-reveal="0.3"] { transition-delay: 300ms; }
[data-reveal="0.4"] { transition-delay: 400ms; }
[data-reveal="0.5"] { transition-delay: 500ms; }

/* ── MASKED TEXT REVEAL (Osmo Supply) ───────────────────────────── */
[data-split] {
  visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 90svh;
  background: var(--c-bg);
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 80px;
}

.hero-top {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 80px;
  padding-bottom: 60px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── HERO LOGO MARQUEE ───────────────────────────────────────────── */
@keyframes logo-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-logos {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
  width: 100%;
}

.hero-logos__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-f9-60);
  opacity: 0.5;
  margin-bottom: 16px;
}

.hero-logos__row {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}

.hero-logos__row:hover .hero-logos__track {
  animation-play-state: paused;
}

.hero-logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 22s linear infinite;
}

.hero-logos__item {
  height: 24px;
  width: auto;
  opacity: 0.28;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s var(--ease);
  display: block;
  flex-shrink: 0;
  margin-right: 56px;
}

.hero-logos__item:hover {
  opacity: 0.85;
}

.hero-left {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-right {
  display: none;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-f9-60);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.hero-headline {
  font-size: clamp(32px, 7vw, 100px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--c-f9f9f9);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-f9-60);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta-wrap {
  margin-bottom: 48px;
}

.hero-scroll-line {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── WHO I AM ────────────────────────────────────────────────────── */
.section-who {
  background: var(--c-bg);
  padding: 120px var(--pad-x);
}

.who-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}

.who-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-f9-60);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.who-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.who-heading {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.who-text {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--c-f9-60);
}

.who-text + .who-text {
  margin-top: 24px;
}

.who-cta {
  margin-top: 50px;
}

/* ── ABOUT TEASER ────────────────────────────────────────────────── */
.section-about-teaser {
  background: #0a0a0a;
  padding: 38vh var(--pad-x);
}

.about-teaser-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-teaser-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-f9-60);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.about-teaser-thesis {
  margin-bottom: 20px;
}

.about-teaser-thesis-line {
  display: block;
  font-family: var(--font);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.about-teaser-support {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--c-f9-60);
  max-width: 520px;
  margin-bottom: 56px;
}

.about-teaser-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.section-about-teaser .btn-outline::after {
  display: none;
}

/* ── MY WORKS (home) ─────────────────────────────────────────────── */
.section-works-home {
  background: var(--c-bg);
  padding: 0 var(--pad-x) 160px;
}

.works-home-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.works-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0 10px;
  margin-bottom: 30px;
}

.works-home-heading {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.works-home-sub {
  font-size: 15px;
  color: var(--c-f9-60);
  max-width: 500px;
  line-height: 1.55;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── PROJECT CARD ────────────────────────────────────────────────── */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--c-1e);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s var(--ease-out);
  position: relative;
}
.project-card:hover { transform: translateY(-6px); }

.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
}
.project-card-image img,
.project-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.project-card:hover .project-card-image img,
.project-card:hover .project-card-image video { transform: scale(1.05); }

.project-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card-placeholder img {
  width: 50%;
  max-width: 200px;
  opacity: 0.15;
}

.project-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-card-year {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-f9-60);
}

.project-card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--c-f9f9f9);
  line-height: 1.2;
}

.project-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-f9-60);
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-f9-60);
  margin-top: 8px;
  transition: color 0.2s, gap 0.25s var(--ease);
}
.project-card:hover .project-card-link {
  color: var(--c-f9f9f9);
  gap: 10px;
}

/* ── WHAT I DO ───────────────────────────────────────────────────── */
.section-services {
  background: var(--c-bg);
  padding: 0 var(--pad-x) 100px;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0 0;
  margin-bottom: 36px;
}

.services-heading {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 32px;
  background: var(--c-1e);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--c-f9f9f9);
  line-height: 1.2;
}

.service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-f9-60);
}

/* ── WHAT I BELIEVE ──────────────────────────────────────────────── */
.section-beliefs {
  background: var(--c-bg);
  padding: 0 var(--pad-x) 160px;
  overflow: hidden;
}

.beliefs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.beliefs-header {
  padding: 40px 0 0;
  margin-bottom: 36px;
}

.beliefs-heading {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 150px;
  padding-top: 100px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-value {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-f9f9f9);
}

.stat-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-f9f9f9);
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-f9-60);
  padding-top: 20px;
  border-top: 1px solid var(--c-f9-10);
}

/* ── CTA SECTION (home) ──────────────────────────────────────────── */
.section-cta {
  background: var(--c-bg);
  padding: 0 var(--pad-x) 120px;
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 120px 0;
  border-top: 1px solid var(--c-f9-10);
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
}

.cta-heading {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--c-f9f9f9);
}

.cta-sub {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-f9-60);
}

.cta-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-f9-60);
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--c-bg);
  padding: 60px var(--pad-x);
  border-top: 1px solid var(--c-f9-10);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  width: 48px;
  height: auto;
  opacity: 0.6;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-size: 14px;
  color: var(--c-f9-60);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--c-f9f9f9); }
.footer-link--lab  { opacity: 0.45; }
.footer-link--lab:hover { opacity: 1; color: var(--c-f9f9f9); }

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: var(--c-f9-60);
  font-family: var(--font-mono);
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-f9-10);
}

/* ═══════════════════════════════════════════════════════════════════
   WORK LISTING PAGE
   ═══════════════════════════════════════════════════════════════════ */
.works-page {
  padding-top: 72px;
  min-height: 100svh;
  background: var(--c-bg);
}

.works-page-hero {
  padding: 100px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
}

.works-page-headline {
  font-size: clamp(36px, 4.5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--c-f9f9f9);
  max-width: 700px;
}

.works-page-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-f9-60);
}

.works-page-grid {
  padding: 0 var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   CASE STUDY PAGE
   ═══════════════════════════════════════════════════════════════════ */
.case-page {
  padding-top: 72px;
  background: var(--c-bg);
  min-height: 100svh;
}

.case-hero {
  padding: 100px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .case-hero,
  .case-section,
  .case-next {
    padding-left: 240px;
  }
}

.case-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.case-hero-title {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--c-f9f9f9);
  margin-bottom: 60px;
}

.case-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--c-f9-10);
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.case-hero-info {
  display: flex;
  gap: 60px;
}

.case-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-f9-60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.case-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-f9f9f9);
}

/* Main image */
.case-main-image {
  width: 100%;
  overflow: hidden;
  background: var(--c-1e);
  padding: 0 var(--pad-x);
}
.case-main-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

/* Case sections */
.case-section {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.case-section-border {
  border-top: 1px solid var(--c-f9-10);
}

.case-section-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.case-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-f9-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 8px;
  position: sticky;
  top: 100px;
  opacity: 0.7;
}

.case-section-content h3 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
  line-height: 1.1;
  margin-bottom: 32px;
}

.case-section-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-f9-60);
  margin-bottom: 24px;
  max-width: 680px;
}
.case-section-content p:last-child { margin-bottom: 0; }

/* Design in action pillars */
.case-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.case-pillar {
  padding: 28px;
  background: var(--c-1e);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-pillar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-f9f9f9);
  letter-spacing: -0.02em;
}

.case-pillar-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-f9-60);
}

/* Next project */
.case-next {
  border-top: 1px solid var(--c-f9-10);
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-next-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.case-next-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
  line-height: 1.1;
}

/* ── CASE VISUALS + PLACEHOLDERS ────────────────────────────────── */
.case-visual {
  padding: 0 var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.case-visual--full img,
.case-visual--full .case-placeholder {
  width: 100%;
  aspect-ratio: 16 / 8;
}

.case-visual--two-col,
.case-visual--three-col {
  display: grid;
  gap: 16px;
}

.case-visual--two-col   { grid-template-columns: 1fr 1fr; }
.case-visual--three-col { grid-template-columns: repeat(3, 1fr); }

.case-visual-item img,
.case-visual-item .case-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.case-visual--full img,
.case-visual-item img {
  display: block;
  object-fit: cover;
}

.case-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--c-1e);
  border: 1px dashed rgba(249, 249, 249, 0.1);
  padding: 40px 32px;
}

.case-placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--c-f9-60);
  text-align: center;
  max-width: 280px;
  letter-spacing: 0.04em;
}

.case-visual-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
}

@media (max-width: 809px) {
  .case-visual--two-col,
  .case-visual--three-col { grid-template-columns: 1fr; }
  .case-visual-item .case-placeholder { aspect-ratio: 3 / 2; }
}

/* ── CASE TOC SIDEBAR ────────────────────────────────────────────── */
.case-toc {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.case-toc-pill {
  position: absolute;
  left: 0;
  border-radius: 100px;
  background: rgba(249, 249, 249, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  will-change: transform, height, width;
}

.case-toc-item {
  position: relative;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-f9-60);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out);
  display: block;
  letter-spacing: 0.01em;
}

.case-toc-item.is-active {
  color: var(--c-f9f9f9);
}

@media (max-width: 1199px) {
  .case-toc { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════ */
.about-page {
  padding-top: 72px;
  background: var(--c-bg);
}

.about-hero {
  padding: 100px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-hero-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.about-hero-headline {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--c-f9f9f9);
  max-width: 900px;
  margin-bottom: 60px;
}

.about-hero-sub {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--c-f9-60);
  max-width: 600px;
}

/* Building with passion */
.section-passion {
  padding: 0 var(--pad-x) 120px;
}

.passion-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 80px;
}

.passion-header {
  margin-bottom: 60px;
}

.passion-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.passion-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.passion-heading {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-f9f9f9);
}

.passion-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.passion-service {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-f9-10);
  gap: 60px;
  transition: background 0.3s;
  cursor: default;
}
.passion-service:hover { background: none; }

.passion-service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  padding-top: 6px;
}

.passion-service-title {
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
  line-height: 1.1;
}

.passion-service-body {
  max-width: 420px;
  text-align: right;
}

.passion-service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-f9-60);
  margin-bottom: 16px;
}

/* Recognition */
.section-recognition {
  padding: 0 var(--pad-x) 120px;
}

.recognition-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 80px;
}

.recognition-header {
  margin-bottom: 60px;
}

.recognition-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.recognition-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.recognition-heading {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-f9f9f9);
}

.awards-list {
  display: flex;
  flex-direction: column;
}

.award-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-f9-10);
  gap: 40px;
}

.award-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-f9f9f9);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.award-project {
  font-size: 14px;
  color: var(--c-f9-60);
}

.award-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-f9-60);
}

/* Work History */
.section-history {
  padding: 0 var(--pad-x) 120px;
}

.history-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 80px;
}

.history-header { margin-bottom: 60px; }

.history-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.history-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-f9-60);
}

.history-heading {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-f9f9f9);
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-f9-10);
  align-items: start;
}

.history-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-f9-60);
  letter-spacing: 0.02em;
  padding-top: 4px;
}

.history-company {
  font-size: 22px;
  font-weight: 600;
  color: var(--c-f9f9f9);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.history-role {
  font-size: 15px;
  color: var(--c-f9-60);
  margin-bottom: 16px;
  font-weight: 500;
}

.history-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-f9-60);
}

/* About contact section */
.about-contact {
  padding: 120px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--c-f9-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* ═══════════════════════════════════════════════════════════════════
   BIO PAGE (Instagram link-in-bio, mobile-first)
   ═══════════════════════════════════════════════════════════════════ */
.bio-page {
  background: var(--c-bg);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px;
}

.bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-1e);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid var(--c-f9-10);
}

.bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-f9f9f9);
  text-align: center;
  margin-bottom: 8px;
}

.bio-handle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-f9-60);
  text-align: center;
  margin-bottom: 16px;
}

.bio-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-f9-60);
  text-align: center;
  max-width: 300px;
  margin: 0 auto 40px;
}

.bio-links {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--c-1e);
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-f9f9f9);
  transition: background 0.2s, transform 0.2s;
}
.bio-link:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.bio-link-label { flex: 1; text-align: center; }

.bio-link-icon {
  width: 20px;
  height: 20px;
  opacity: 0.4;
}

.bio-footer {
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-f9-60);
  opacity: 0.4;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 100svh;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px var(--pad-x);
  text-align: center;
  gap: 24px;
}

.err-number {
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--c-f9-10);
  position: relative;
  user-select: none;
}

.err-number span {
  color: var(--c-accent);
}

.err-emoji {
  font-size: 48px;
  line-height: 1;
}

.err-heading {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-f9f9f9);
}

.err-sub {
  font-size: 16px;
  color: var(--c-f9-60);
  max-width: 420px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   STACKING CARDS 2.0 (My Works — Home)
   ═══════════════════════════════════════════════════════════════════ */
.sc-section {
  background: var(--c-bg);
}

.sc-pre {
  padding: 0 var(--pad-x) 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Stack container — natural height from sum of card heights */
.sc-stack {
  padding: 0 var(--pad-x);
}

/* ── Individual card ──
   top  = nav (72px) + index × peek strip (64px)
   height fills exactly the visible viewport below the card's own sticky top
   z-index  increases so later cards always cover earlier ones             */
.sc-card {
  position: sticky;
  top: calc(72px + var(--sc-i, 0) * 64px);
  height: calc(100vh - 72px - var(--sc-i, 0) * 64px);
  z-index: var(--sc-z, 1);
  display: block;
  text-decoration: none;
  color: var(--c-f9f9f9);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-1e);
  border-radius: 0;
}

/* Full-bleed image/video */
.sc-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sc-card-media img,
.sc-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay — stronger at top (title) and bottom (cta) */
.sc-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,  rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(to top,     rgba(0,0,0,0.80) 0%, rgba(0,0,0,0) 40%);
}

/* Title strip — always visible inside the 64 px peek zone */
.sc-card-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad-x);
}

.sc-card-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-f9f9f9);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA — sits at bottom, visible only when card is active */
.sc-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 var(--pad-x) 44px;
}

.sc-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  overflow: hidden;
}
.sc-card-cats .tag {
  background: rgba(249,249,249,0.12);
  color: rgba(249,249,249,0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(249,249,249,0.6);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.sc-card:hover .sc-card-cta {
  color: var(--c-f9f9f9);
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   DRAG CAROUSEL
   ═══════════════════════════════════════════════════════════════════ */
.dragcarousel {
  height: 360px;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--c-bg);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.dragcarousel__container {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 1vw 0 0;
  user-select: none;
  cursor: grab;
  will-change: transform;
}

.dragcarousel__container.is-dragging {
  cursor: grabbing;
}

.dragcarousel__card {
  height: 320px;
  width: max-content;
  flex-shrink: 0;
  overflow: hidden;
  transform-origin: 50% 100%;
  background: var(--c-dark);
}

.dragcarousel__card img,
.dragcarousel__card video {
  height: 320px;
  width: auto;
  max-width: none;
  display: block;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  :root { --pad-x: 32px; }

  .hero-left { max-width: 100%; }

  .stats-grid { gap: 60px; }
}

@media (max-width: 809px) {
  :root { --pad-x: 20px; }

  .dragcarousel { height: 220px; }
  .dragcarousel__card { height: 180px; }
  .dragcarousel__card img,
  .dragcarousel__card video { height: 180px; }

  .works-grid,
  .works-page-grid,
  .services-grid { grid-template-columns: 1fr; }

  .who-inner { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .stat-item { padding: 40px 0; border-bottom: 1px solid var(--c-f9-10); }

  .case-section-layout { grid-template-columns: 1fr; gap: 20px; }
  .case-section-label { position: static; }
  .case-pillars { grid-template-columns: 1fr; }
  .case-next { flex-direction: column; align-items: flex-start; gap: 30px; }
  .case-hero-info { gap: 30px; flex-wrap: wrap; }

  .passion-service { grid-template-columns: 1fr; gap: 16px; }
  .passion-service-body { text-align: left; max-width: 100%; }

  .history-item { grid-template-columns: 1fr; gap: 12px; }

  .nav-right { display: none; }

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

  .cta-inner { padding: 80px 0; }

  .award-item { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .faq-inner { grid-template-columns: 1fr; }
  .faq-left { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { letter-spacing: -0.03em; }
  .case-hero-title { letter-spacing: -0.03em; }
  .sc-card-title { font-size: 18px; }
  .sc-card-body { padding-bottom: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM FIND-IN-PAGE (Cmd+F / Ctrl+F)
   ═══════════════════════════════════════════════════════════════════ */
#_find_bar {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-f9f9f9);
  color: var(--c-bg);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.2);
  font-family: var(--font);
  font-size: 14px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
#_find_bar.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

#_find_input {
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: var(--c-bg);
  width: 200px;
  min-width: 0;
}
#_find_input::placeholder { color: var(--c-09-50); }
#_find_input::-webkit-search-cancel-button,
#_find_input::-webkit-search-decoration { -webkit-appearance: none; }

#_find_count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-09-60);
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}

#_find_bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-09-60);
  padding: 5px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
#_find_bar button svg { width: 14px; height: 14px; display: block; }
#_find_bar button:hover {
  color: var(--c-bg);
  background: rgba(9,9,9,0.08);
}

/* Divider between input and nav buttons */
#_find_count::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(9,9,9,0.15);
  vertical-align: middle;
  margin-right: 10px;
}

/* ── Match highlight styles ─────────────────────────────────────── */
mark.find-mark {
  background: rgba(255, 70, 46, 0.15);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
mark.find-mark--current {
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════ */
.section-faq {
  background: var(--c-bg);
  padding: 0 var(--pad-x) 100px;
}

.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 0 60px;
  align-items: start;
  padding-top: 40px;
}

.faq-right {
  padding-top: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(249, 249, 249, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(249, 249, 249, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-f9f9f9);
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: left;
  user-select: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.faq-item.is-open > .faq-question { opacity: 1; }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-f9-60);
}
.faq-icon svg { width: 14px; height: 14px; display: block; }
.faq-icon-minus { opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.2s; }
.faq-icon-plus  { opacity: 1; transform: scale(1);   transition: opacity 0.2s, transform 0.2s; }
.faq-item.is-open .faq-icon-minus { opacity: 1; transform: scale(1); }
.faq-item.is-open .faq-icon-plus  { opacity: 0; transform: scale(0.5); }

.faq-answer {
  overflow: hidden;
  height: 0;
}
.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-f9-60);
}

.faq-answer a {
  color: var(--c-f9f9f9);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(249, 249, 249, 0.25);
  transition: text-decoration-color 0.2s;
}
.faq-answer a:hover { text-decoration-color: var(--c-f9f9f9); }

/* ── FAQ LEFT COLUMN ─────────────────────────────────────────────── */
.faq-left-body {
  padding-top: 28px;
  position: sticky;
  top: 100px;
}

.faq-left-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-f9-60);
  margin-bottom: 20px;
}

.faq-left-heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c-f9f9f9);
  margin-bottom: 16px;
}

.faq-left-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-f9-60);
  margin-bottom: 36px;
}

.faq-contact-btn {
  /* inherits btn-nav styles */
}

/* ── CLIPBOARD TOAST ─────────────────────────────────────────────── */
.copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--c-f9f9f9);
  color: var(--c-bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 10px 20px;
  border-radius: 100px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  z-index: 9999;
}
