/* ============================================================
   Stan Yuskin Portfolio — style.css
   Light theme, modern, premium, animated
   ============================================================ */

/* ── 1. TOKENS & RESET ─────────────────────────────────────── */
:root {
  /* Colors */
  --clr-bg:          #f9f8f6;
  --clr-surface:     #ffffff;
  --clr-border:      rgba(0,0,0,0.08);
  --clr-text:        #1a1a1a;
  --clr-text-muted:  #6b6b6b;
  --clr-accent:      #1a1a2e;
  --clr-accent-2:    #e8654a;
  --clr-tag-bg:      rgba(26,26,46,0.06);

  /* Typography */
  --font-display:    'Outfit', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);

  /* Layout */
  --container-max: 1200px;
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

em {
  font-style: italic;
  color: var(--clr-accent-2);
}

/* ── 2. LAYOUT UTILITIES ───────────────────────────────────── */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-text);
}

/* ── 3. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,26,46,0.25);
}

.btn-primary:hover {
  background: #0f0f1f;
  box-shadow: 0 8px 30px rgba(26,26,46,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}

.btn-ghost:hover {
  background: var(--clr-surface);
  border-color: rgba(0,0,0,0.18);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── 4. REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 5. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-inner {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  z-index: 2;

  /* Glassmorphism styling identical to center pill */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  padding: 0.55rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.nav-logo:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

/* Desktop glassmorphic pill */
.nav-center-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav-center-pill:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(0, 0, 0, 0.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color 0.2s;
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  position: relative;
}

.nav-links .mobile-only {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--clr-text);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 12px;
}

.nav-right {
  display: flex;
  align-items: center;
  z-index: 2;
}

.nav-cta {
  background: var(--clr-accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: #0f0f1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,26,46,0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── 6. HERO SECTION ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-blend {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22vh;
  background: linear-gradient(to bottom, rgba(249, 248, 246, 0) 0%, var(--clr-bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: heroFadeIn 1s var(--ease-out) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
  animation: heroFadeIn 1s 0.1s var(--ease-out) both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
  animation: heroFadeIn 1s 0.2s var(--ease-out) both;
}

.hero-line-1 {
  display: inline;
}

.hero-line-2 {
  display: inline-block;
  background: linear-gradient(
    to bottom right,
    var(--clr-text) 0%,
    var(--clr-text) 55%,
    rgba(249, 248, 246, 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: heroFadeIn 1s 0.3s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s 0.4s var(--ease-out) both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--clr-text-muted));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 7. WORKS SECTION ──────────────────────────────────────── */
.works-section {
  padding: var(--space-xl) 0;
  background: var(--clr-bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.work-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0eeea;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.work-card:hover .work-card-img {
  transform: scale(1.04);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-arrow {
  font-size: 2rem;
  color: white;
  font-weight: 300;
  transform: translateX(-8px);
  transition: transform 0.3s var(--ease-out);
}

.work-card:hover .work-card-arrow {
  transform: translateX(0);
}

.work-card-info {
  padding: 1.5rem;
}

.work-card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.work-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: var(--clr-tag-bg);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.work-card-desc {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ── 8. CTA STRIP ──────────────────────────────────────────── */
.cta-strip {
  padding: var(--space-xl) 0;
  background: var(--clr-accent);
  color: #fff;
}

.cta-strip em {
  color: var(--clr-accent-2);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cta-strip-text p {
  opacity: 0.65;
  font-size: 1rem;
}

.cta-strip .btn-primary {
  background: #fff;
  color: var(--clr-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-strip .btn-primary:hover {
  background: #f0eeea;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ── 9. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0;
  background: #0f0f1f;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── 10. PROJECT PAGE ──────────────────────────────────────── */
.project-page {
  background: var(--clr-bg);
}

.project-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--clr-text);
}

.project-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}

.project-meta-item {
  margin-bottom: 1rem;
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
}

.meta-value {
  font-size: 0.95rem;
  color: var(--clr-text);
}

.project-desc-section {
  padding: 3rem 0 4rem;
}

.project-desc-text {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.75;
  color: var(--clr-text-muted);
  max-width: 780px;
  border-left: 3px solid var(--clr-accent-2);
  padding-left: 2rem;
}

.project-visual-full {
  padding-bottom: 4rem;
}

.project-visual-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.project-section {
  padding: 3rem 0 5rem;
}

.project-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.project-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-grid-1 {
  margin-bottom: 1.5rem;
}

.project-grid-asymmetric {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.project-section-sub {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.75rem;
  margin-top: -0.75rem;
}


.project-placeholder-block {
  background: linear-gradient(135deg, #e8e6e2, #d8d5d0);
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-placeholder-block.tall {
  aspect-ratio: 21/9;
}

.placeholder-inner {
  text-align: center;
}

.placeholder-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,26,46,0.35);
}

.project-nav-strip {
  border-top: 1px solid var(--clr-border);
  padding: 3rem 0;
}

.project-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: opacity 0.2s;
}

.project-nav-link:hover {
  opacity: 0.7;
}

.project-nav-link--right {
  text-align: right;
}

.nav-dir {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-project-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ── 11. ABOUT PAGE ────────────────────────────────────────── */
.about-page {
  background: var(--clr-bg);
}

.about-intro {
  padding: calc(var(--nav-h) + 5rem) 0 var(--space-xl);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.about-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-photo-frame {
  position: relative;
}

.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  z-index: 0;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Skills */
.skills-section {
  padding: var(--space-xl) 0;
  background: var(--clr-surface);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.skill-icon {
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
}

.skill-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.skill-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* Tools */
.tools-section {
  padding: var(--space-xl) 0;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-pill {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.tool-pill:hover {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
  transform: translateY(-2px);
}

/* Clients */
.clients-section {
  padding: var(--space-xl) 0;
  background: var(--clr-surface);
}

.clients-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--clr-border);
}

.client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--clr-border);
  gap: 1rem;
  transition: padding-left 0.3s var(--ease-out);
}

.client-row:hover {
  padding-left: 0.75rem;
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.client-role {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.client-year {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ── 12. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-col {
    order: -1;
    max-width: 400px;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .project-grid-2 {
    grid-template-columns: 1fr;
  }

  .project-grid-3 {
    grid-template-columns: 1fr;
  }

  .project-grid-asymmetric {
    grid-template-columns: 1fr;
  }

  .navbar.nav-hidden {
    transform: translateY(-100%);
  }

  .nav-right {
    display: none;
  }

  .nav-logo {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
    font-size: 1.15rem;
  }

  .nav-logo:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
  }

  .nav-center-pill {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 4px);
    left: 1.5rem;
    right: 1.5rem;
    flex-direction: column;
    background: rgba(249, 248, 246, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 1;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .mobile-only {
    display: block;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .nav-link::after {
    bottom: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-nav {
    gap: 1.25rem;
  }

  .project-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 13. PROJECT MEDIA ITEMS ───────────────────────────────── */
.project-media-item {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.project-grid-center {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.project-grid-center .project-media-item {
  max-width: 800px;
}

.project-video-block {
  margin-bottom: 3rem;
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0f0f1f;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* ── 14. ABOUT CONTACT INFO ────────────────────────────────── */
.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 0.5rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.contact-item:hover {
  color: var(--clr-accent);
}

.contact-item svg {
  flex-shrink: 0;
}

/* ── 15. ABOUT PHOTO PLACEHOLDER ───────────────────────────── */
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e6e2, #d4d0cb);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(26,26,46,0.3);
  position: relative;
  z-index: 1;
}

.about-photo-placeholder span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(26,26,46,0.4);
}

/* ── 16. CLIENT LINK ───────────────────────────────────────── */
.client-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.client-link:hover {
  color: var(--clr-accent);
}

.client-link-placeholder {
  width: 1px;
  flex-shrink: 0;
}

/* ── 17. REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content,
  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-actions {
    animation: none;
  }

  .hero-scroll-hint span {
    animation: none;
  }

  .work-card:hover,
  .btn:hover,
  .skill-card:hover,
  .tool-pill:hover,
  .client-row:hover {
    transform: none;
  }
}
