:root {
  --bg: #141416;
  --text: #e8e8ec;
  --muted: #7a7a85;
  --border: #2a2a30;
  --accent: #6cb4ee;
  --surface: #1c1c20;
}

@font-face {
  font-family: 'Kimura';
  src: url('kimura.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.nav-center {
  display: flex; align-items: center; gap: .35rem;
  pointer-events: all;
}
.nav-logo-pill {
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 1.8rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .3s, box-shadow .3s;
  white-space: nowrap;
  box-shadow:
    0 2px 12px rgba(108,180,238,.3),
    inset 0 1px 1px rgba(255,255,255,.15),
    inset 0 -1px 2px rgba(0,0,0,.2);
}
.nav-logo-pill:hover {
  background: #5a9ed4;
  box-shadow:
    0 4px 20px rgba(108,180,238,.4),
    inset 0 1px 1px rgba(255,255,255,.15),
    inset 0 -1px 2px rgba(0,0,0,.2);
}

/* Expanding menu pill */
.nav-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(20,20,22,.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  height: 44px;
  padding: 0 1.8rem;
  cursor: pointer;
  overflow: hidden;
  max-width: 6.2rem;
  transition: max-width .45s cubic-bezier(.16,1,.3,1), background .3s, box-shadow .3s, border-color .3s;
  box-shadow:
    0 4px 16px rgba(0,0,0,.25),
    inset 0 1px 1px rgba(255,255,255,.06),
    inset 0 -1px 2px rgba(0,0,0,.15);
}
.nav-menu-wrap:hover {
  max-width: 24rem;
  background: rgba(30,30,34,.7);
  border-color: rgba(255,255,255,.15);
  box-shadow:
    0 8px 30px rgba(0,0,0,.3),
    inset 0 1px 1px rgba(255,255,255,.08),
    inset 0 -1px 2px rgba(0,0,0,.2);
}
.nav-menu-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  white-space: nowrap;
  transition: opacity .2s;
}
.nav-menu-wrap:hover .nav-menu-label {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.nav-menu-label {
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  opacity: 0;
  transition: opacity .25s .1s ease;
  white-space: nowrap;
}
.nav-menu-wrap:hover .nav-links {
  opacity: 1;
}
.nav-link {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  padding: .35rem .9rem;
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}
.nav-link.active {
  color: #141416;
  background: var(--text);
}

/* ── HERO ── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }

/* ── Global animated blob background ──
   Fixed behind all content, scrolls with the page visually.

   TWEAK GUIDE:
   - Blob visibility  → change opacity on each .page-blob--N  (0.15 = subtle, 0.4 = bold)
   - Blob color        → change background on each .page-blob--N
   - Blob size         → change width/height on each .page-blob--N
   - Animation speed   → change animation-duration (60s = slow, 25s = faster)
*/

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
}

/* Blob 1 — large cool blue */
.page-blob--1 {
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  top: -10%;
  left: -10%;
  background: #3b6ea0;
  opacity: 0.25;
  animation: pageDrift1 55s ease-in-out infinite alternate;
}

/* Blob 2 — purple-slate */
.page-blob--2 {
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  top: 40%;
  right: -10%;
  background: #63508a;
  opacity: 0.2;
  animation: pageDrift2 42s ease-in-out infinite alternate;
}

/* Blob 3 — teal accent */
.page-blob--3 {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -5%;
  left: 20%;
  background: #2a5060;
  opacity: 0.18;
  animation: pageDrift3 48s ease-in-out infinite alternate;
}

@keyframes pageDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(8%, 15%) scale(1.1); }
  66%  { transform: translate(14%, 8%) scale(0.95); }
  100% { transform: translate(4%, 20%) scale(1.05); }
}

@keyframes pageDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-10%, -10%) scale(1.08); }
  66%  { transform: translate(-16%, 5%) scale(0.97); }
  100% { transform: translate(-6%, -15%) scale(1.12); }
}

@keyframes pageDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(12%, -10%) scale(1.06); }
  66%  { transform: translate(-8%, -6%) scale(1.1); }
  100% { transform: translate(6%, -14%) scale(0.94); }
}

/* Mobile: slightly less intense */
@media (max-width: 600px) {
  .page-blob--1 { opacity: 0.18; }
  .page-blob--2 { opacity: 0.14; }
  .page-blob--3 { opacity: 0.12; }
}
.hero-sub {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.hero-name {
  font-family: 'Kimura', 'Inter', sans-serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: normal;
  letter-spacing: -.02em;
  line-height: .9;
  margin-bottom: .75rem;
  text-transform: uppercase;
}
.hero-tagline {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll-hint span {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%;
  background: var(--text);
  animation: scrollDash 1.8s ease-in-out infinite;
}
@keyframes scrollDash {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* ── WORK ── */
.work {
  padding: 4rem 2rem 6rem;
  max-width: 1440px;
  margin: 0 auto;
}
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.work-headline {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
}
.work-desc {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .5rem;
  line-height: 1.5;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--surface);
  padding: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.card-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: left .5s cubic-bezier(.25,1,.5,1), width .5s cubic-bezier(.25,1,.5,1);
}
.project-card:hover .card-image,
.project-card.active .card-image {
  left: 45%;
  width: 55%;
}
.bg-1 { background: linear-gradient(135deg, #0f1a3a, #1a3a6e); }
.bg-2 { background: linear-gradient(135deg, #2d0a0a, #5a1a1a); }
.bg-3 { background: linear-gradient(135deg, #0a2010, #1a5030); }
.bg-4 { background: linear-gradient(135deg, #1a1500, #3d3400); }
.bg-5 { background: linear-gradient(135deg, #1a0a2e, #3a1a6e); }
.bg-6 { background: linear-gradient(135deg, #2a1a0a, #6e4a1a); }
.bg-7 { background: linear-gradient(135deg, #0a1a2a, #1a4a5a); }
.bg-8 { background: linear-gradient(135deg, #2a0a1a, #5a1a3a); }

.card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  display: flex; flex-direction: column; gap: .2rem;
  z-index: 2;
  text-align: left;
  transition: opacity .35s ease;
}
.project-card:hover .card-info,
.project-card.active .card-info {
  opacity: 0;
}
.card-client {
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-title {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  font-weight: 400;
  line-height: 1.4;
}

/* Card hover preview (mini modal layout) */
.card-preview {
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  z-index: 3;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .45s ease .1s, transform .45s cubic-bezier(.25,1,.5,1) .1s;
}
.project-card:hover .card-preview,
.project-card.active .card-preview {
  opacity: 1;
  transform: none;
}
.card-preview-tag {
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}
.card-preview-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.card-preview-hint {
  font-size: .5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .75rem;
}

/* ── ABOUT ── */
.about {
  padding: 6rem 2rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.about-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  position: sticky;
  top: 6rem;
}
.about-headline em { font-style: normal; color: var(--accent); }
.about-right p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-right strong { color: var(--text); font-weight: 600; }
.about-tools {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-top: 1.75rem;
}
.tool-pill {
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  padding: .45rem 1rem;
  border-radius: 100px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05);
}
.edu-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  padding-top: 4rem;
}
.edu-item { display: flex; flex-direction: column; gap: .25rem; }
.edu-degree { font-size: .95rem; font-weight: 600; }
.edu-school { font-size: .8rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 5rem 2rem 0;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.footer-label {
  margin-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}
.footer-col strong {
  font-size: .85rem;
  display: block;
  margin-bottom: .35rem;
}
.footer-col p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-col a {
  font-size: .78rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  line-height: 1.8;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col span {
  font-size: .78rem;
  color: var(--muted);
}
.footer-watermark {
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--surface);
  line-height: .85;
  padding-bottom: 1rem;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

/* ── PAGE WRAP ── */
#page-wrap {
  position: relative;
  z-index: 1;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  pointer-events: none;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .01s;
}
.modal-overlay.expanding {
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
  overflow-y: auto;
}

.modal-bg {
  display: none;
}

.modal {
  background: transparent;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 303;
}

/* Side-by-side layout */
.modal {
  display: flex;
  min-height: 100vh;
}

/* Hero image fixed on right */
.modal-hero {
  position: fixed;
  top: 0;
  right: 0;
  width: 55%;
  height: 100vh;
  overflow: hidden;
}
.modal-overlay.expanding .modal-hero {
  position: absolute;
}
.modal-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.modal-hero .card-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Content card on left */
.modal-body {
  position: relative;
  z-index: 2;
  background: var(--bg);
  width: 45%;
  min-height: 100vh;
  padding: 3rem 2.5rem 4rem;
  box-shadow: 4px 0 40px rgba(0,0,0,.3);
}
.modal-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  z-index: 310;
  background: rgba(20,20,22,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .15s;
}
.modal-close:hover { background: rgba(30,30,34,.9); transform: scale(1.08); }
.modal-overlay.expanding .modal-close {
  position: absolute;
}
.modal-tag {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .85rem; display: block;
}
.modal h3 {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.modal-section {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.modal-section h4 {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .45rem;
}
.modal-section p { color: var(--muted); font-size: .875rem; line-height: 1.8; }
.modal-tools { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: 1.25rem; }
.modal-tool-pill {
  font-size: .6rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  padding: .4rem .85rem; border-radius: 100px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05);
}

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.25rem 0;
  aspect-ratio: 16/10;
  background: var(--surface);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,20,22,.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: background .2s, transform .15s;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(30,30,34,.9); }
.carousel-btn:active { transform: translateY(-50%) scale(.92); }
.carousel-prev { left: .75rem; }
.carousel-next { right: .75rem; }
.carousel-dots {
  position: absolute;
  bottom: .6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .35rem;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, width .2s;
}
.carousel-dot.active {
  background: var(--text);
  width: 18px;
  border-radius: 3px;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(.92);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.lightbox-overlay.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: scale(1.08); }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.lightbox-btn:hover { background: rgba(255,255,255,.2); }
.lightbox-btn:active { transform: translateY(-50%) scale(.92); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.carousel-track img {
  cursor: zoom-in;
}

/* ── SCROLL ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .edu-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-headline { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* Disable card hover effects on mobile */
  .project-card:hover .card-image,
  .project-card.active .card-image {
    left: 0;
    width: 100%;
  }
  .project-card:hover .card-info,
  .project-card.active .card-info {
    opacity: 1;
  }
  .project-card:hover .card-preview,
  .project-card.active .card-preview {
    opacity: 0;
    pointer-events: none;
  }

  /* Modal: stack vertically on mobile */
  .modal {
    flex-direction: column;
    min-height: auto;
  }
  .modal-hero {
    display: none;
  }
  .modal-body {
    width: 100%;
    min-height: auto;
    padding: 1.5rem 1.25rem 3rem;
    box-shadow: none;
  }
  .modal-overlay.open {
    -webkit-overflow-scrolling: touch;
  }
  .modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
  }
  .modal-overlay.expanding .modal-close {
    position: absolute;
  }
  .modal-tag {
    font-size: .55rem;
    margin-bottom: .5rem;
  }
  .modal h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .modal-section h4 {
    font-size: .55rem;
    margin-bottom: .35rem;
  }
  .modal-section p {
    font-size: .8rem;
    line-height: 1.7;
  }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-header { flex-direction: column; gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-name { font-size: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
