/* =========================================================
   Aria Laurent — Portfolio (standalone CSS)
   Luxury nude palette · light + dark mode
   ========================================================= */

:root {
  --cream: #faf6ee;
  --sand: #f0e8d8;
  --beige: #e2d5bd;
  --taupe: #9c8e7a;
  --coffee: #4a3f33;
  --gold: #c9a56a;
  --gold-soft: #dcbf8a;

  --background: #f7f1e5;
  --foreground: #3b3226;
  --card: #fdfaf3;
  --muted: #ece4d3;
  --muted-foreground: #7a6f5c;
  --border: #d9cdb6;
  --primary: #4a3f33;
  --primary-foreground: #faf6ee;
  --secondary: #ebe0c9;

  --radius: 14px;
  --shadow-soft: 0 10px 40px -12px rgba(74,63,51,0.18);
  --shadow-luxe: 0 30px 80px -30px rgba(58,49,40,0.35);
  --shadow-glass: 0 8px 32px 0 rgba(74,63,51,0.12);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.dark {
  --cream: #2c261f;
  --sand: #35301f;
  --beige: #423a2a;
  --taupe: #a89a83;
  --coffee: #ece1cd;
  --gold: #d8b47a;
  --gold-soft: #e8cb99;

  --background: #1a1611;
  --foreground: #ece3d1;
  --card: #241f18;
  --muted: #2d2820;
  --muted-foreground: #a89d87;
  --border: #3a3327;
  --primary: #ece3d1;
  --primary-foreground: #1a1611;
  --secondary: #2d2820;

  --shadow-soft: 0 10px 40px -12px rgba(0,0,0,0.5);
  --shadow-luxe: 0 30px 80px -30px rgba(0,0,0,0.7);
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--foreground);
}
.italic { font-style: italic; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted-foreground);
}
.gold { color: var(--gold); }
.gold-soft { color: var(--gold-soft); }
.gold-text {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.glass {
  background: color-mix(in oklab, var(--cream) 55%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--cream) 70%, transparent);
  box-shadow: var(--shadow-glass);
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-luxe); }
.btn-outline { border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--secondary); }

/* ============= HEADER ============= */
#site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.25rem 0; transition: padding 0.5s ease;
}
#site-header .container { position: relative; }
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-full { display: none; }
@media (min-width: 640px) {
  .brand-short { display: none; }
  .brand-full { display: inline; }
}
.nav-links { display: none; gap: 2rem; }
.nav-links a {
  position: relative; font-size: 0.85rem; letter-spacing: 0.03em;
  color: var(--muted-foreground); transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--foreground); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 999px; border: 1px solid var(--border);
  color: var(--foreground); transition: background 0.3s;
}
.icon-btn:hover { background: var(--secondary); }
.icon-btn svg { width: 1rem; height: 1rem; }
.i-sun { display: none; }
.dark .i-sun { display: block; }
.dark .i-moon { display: none; }
.menu-btn { display: grid; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}
.mobile-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  overflow: hidden;
  max-height: 0;
  padding: 0 1.5rem;
  border-radius: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.5rem);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, padding 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open {
  max-height: 500px;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu a { font-family: var(--font-display); font-size: 1.15rem; color: var(--foreground); }
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ============= HERO ============= */
.hero { position: relative; padding: 9rem 0 6rem; }
@media (min-width: 640px) { .hero { padding: 11rem 0 8rem; } }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/hero-bg.jpg") center/cover;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-warm {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--sand), var(--beige));
  opacity: 0.7;
}
.hero-grid {
  display: grid; gap: 3.5rem; align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); }
.display {
  margin-top: 1.5rem;
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.02;
}
.lead {
  margin-top: 1.5rem; max-width: 32rem;
  font-size: 1.05rem; color: var(--muted-foreground); line-height: 1.65;
}
.cta-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.stats {
  margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem;
}
.stat-num { font-family: var(--font-display); font-size: 2.25rem; }
.stat-label { margin-top: 0.25rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }

.hero-portrait-wrap { position: relative; max-width: 26rem; margin: 0 auto; }
.hero-portrait {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 2rem; box-shadow: var(--shadow-luxe);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,63,51,0.25), transparent 60%);
}
.floating-card { position: absolute; padding: 1rem 1.25rem; border-radius: 1rem; box-shadow: var(--shadow-soft); }
.card-bl { bottom: -1.5rem; left: -1.5rem; }
.card-tr { top: 2rem; right: -1rem; }
.fc-title { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.05rem; }

/* ============= SECTIONS ============= */
.section { padding: 6rem 0; position: relative; }
@media (min-width: 640px) { .section { padding: 8rem 0; } }
.section.warm { background: linear-gradient(135deg, var(--sand), var(--beige)); }
.section-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.section-head .eyebrow { color: var(--gold); }
.h2 { margin-top: 1rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.h2.center { text-align: center; }
.h2.light { color: var(--primary-foreground); }
.sub { margin-top: 1rem; color: var(--muted-foreground); }
.body { margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.7; }

/* ============= ABOUT ============= */
.two-col { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.about-image-wrap { position: relative; }
.about-image { overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-luxe); }
.about-image img { width: 100%; height: auto; }
.quote-card { position: absolute; bottom: -2rem; right: 1rem; max-width: 220px; padding: 1.25rem; border-radius: 1rem; }
.quote-text { margin-top: 0.5rem; font-family: var(--font-display); font-style: italic; }
.about-facts { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-facts > div { border-top: 1px solid var(--border); padding-top: 1rem; }
.about-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.about-facts dd { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.15rem; }

/* ============= SKILLS ============= */
.skills-grid { margin-top: 4rem; display: grid; gap: 1.25rem; max-width: 60rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .skills-grid { grid-template-columns: 1fr 1fr; } }
.skill-card { padding: 1.5rem; border-radius: 1rem; transition: transform 0.5s, box-shadow 0.5s; }
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-luxe); }
.skill-head { display: flex; justify-content: space-between; align-items: baseline; }
.skill-name { font-family: var(--font-display); font-size: 1.25rem; }
.skill-pct { font-size: 0.85rem; color: var(--muted-foreground); }
.skill-bar { margin-top: 1rem; height: 6px; background: var(--secondary); border-radius: 999px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }

/* ============= SERVICES ============= */
.services-grid { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; overflow: hidden;
  padding: 2rem; border-radius: 1.5rem;
  border: 1px solid var(--border); background: var(--card);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-luxe); border-color: rgba(201,165,106,0.4); }
.service-icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: 1rem; background: var(--secondary); transition: all 0.3s;
}
.service-icon svg { width: 1.35rem; height: 1.35rem; }
.service-card:hover .service-icon { background: var(--primary); color: var(--primary-foreground); }
.service-title { margin-top: 1.5rem; font-size: 1.4rem; }
.service-body { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.65; }

/* ============= WORK ============= */
.work-grid { margin-top: 4rem; display: grid; gap: 1.5rem; max-width: 72rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  position: relative; display: block; overflow: hidden;
  background: var(--card); border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-luxe); }
.work-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.work-card.is-code .work-img { aspect-ratio: 16/9; background: var(--secondary); }
.work-card.is-code .work-img img { object-position: center top; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-body { padding: 1.25rem; display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-end; transition: opacity 0.35s ease; }
.work-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold); }
.work-title { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.35rem; }
.work-desc { margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted-foreground); }
.work-year { font-family: var(--font-display); color: var(--muted-foreground); }
.work-category { margin-top: 3rem; }
.work-category:first-child { margin-top: 0; }
.cat-header { margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.cat-title { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .cat-title { font-size: 2.25rem; } }

/* ============= TIMELINE ============= */
.timeline { position: relative; max-width: 44rem; margin: 4rem auto 0; }
.timeline::before {
  content: ""; position: absolute; top: 0.5rem; bottom: 0.5rem; left: 1rem;
  width: 1px; background: var(--border);
}
@media (min-width: 768px) { .timeline::before { left: 50%; } }
.tl-item { position: relative; padding: 0 0 2.5rem 3rem; }
.tl-item::before {
  content: ""; position: absolute; left: calc(1rem - 6px); top: 0.5rem;
  width: 12px; height: 12px; border-radius: 999px; background: var(--gold);
  box-shadow: 0 0 0 4px var(--background);
}
@media (min-width: 768px) {
  .tl-item { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; padding-left: 0; }
  .tl-item::before { left: 50%; transform: translateX(-50%); }
  .tl-item.even > .tl-body { grid-column: 1; text-align: right; padding-right: 2.5rem; }
  .tl-item.odd > .tl-body { grid-column: 2; padding-left: 2.5rem; }
}
.tl-year { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); }
.tl-role { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.4rem; }
.tl-place { margin-top: 0.25rem; font-size: 0.85rem; color: var(--muted-foreground); }
.tl-body-text { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.65; }

/* ============= TESTIMONIALS ============= */
.testimonials-grid { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.t-card { padding: 2rem; border-radius: 1.5rem; display: flex; flex-direction: column; transition: all 0.5s; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-luxe); }
.t-mark { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); line-height: 0.6; }
.t-quote { margin-top: 1rem; flex: 1; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.4; }
.t-foot { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.t-name { font-weight: 500; }
.t-role { font-size: 0.85rem; color: var(--muted-foreground); }

/* ============= CONTACT ============= */
.contact-card {
  position: relative; overflow: hidden;
  background: var(--primary); color: var(--primary-foreground);
  border-radius: 2.5rem; padding: 2rem; box-shadow: var(--shadow-luxe);
}
@media (min-width: 640px) { .contact-card { padding: 3.5rem; } }
.blob { position: absolute; width: 24rem; height: 24rem; border-radius: 999px; filter: blur(80px); pointer-events: none; }
.blob-1 { top: -5rem; right: -5rem; background: rgba(201,165,106,0.25); }
.blob-2 { bottom: -6rem; left: -6rem; background: rgba(226,213,189,0.2); }
.contact-grid { position: relative; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-lead { margin-top: 1.25rem; color: rgba(250,246,238,0.75); max-width: 28rem; }
.contact-info { margin-top: 2.5rem; display: grid; gap: 1rem; color: rgba(250,246,238,0.85); }
.contact-form { padding: 1.5rem; border-radius: 1.5rem; color: var(--foreground); display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form { padding: 2rem; } }
.contact-form label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.contact-form input, .contact-form textarea {
  margin-top: 0.5rem; width: 100%;
  padding: 0.75rem 1.25rem; border-radius: 999px;
  border: 1px solid var(--border); background: color-mix(in oklab, var(--background) 60%, transparent);
  color: var(--foreground); font: inherit; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form textarea { border-radius: 1rem; resize: none; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,165,106,0.2);
}

/* ============= FOOTER ============= */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: flex-start; } }
.footer-desc { margin-top: 1rem; max-width: 22rem; font-size: 0.9rem; color: var(--muted-foreground); }
.footer-links { margin-top: 1rem; display: grid; gap: 0.5rem; list-style: none; font-size: 0.9rem; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.socials { margin-top: 1rem; display: flex; gap: 0.75rem; }
.socials a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 500;
  transition: all 0.3s;
}
.socials a:hover { background: var(--primary); color: var(--primary-foreground); transform: scale(1.05); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted-foreground); display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ============= REVEAL ANIMATIONS ============= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes float-slow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float { animation: float-slow 7s ease-in-out infinite; }

/* ============= MODAL ============= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26, 22, 17, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative; z-index: 101;
  background: var(--card);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-luxe);
  max-width: 1100px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  border: 1px solid var(--border);
  animation: modal-in 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 102;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(26, 22, 17, 0.7); color: var(--primary-foreground);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1.25rem; line-height: 1;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.modal-close:hover { background: rgba(26, 22, 17, 0.9); transform: scale(1.05); }
.modal-img-wrap {
  overflow: hidden; border-radius: 1.5rem 1.5rem 0 0;
  background: var(--background);
}
.modal-img-wrap img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.modal-details { padding: 2rem; display: flex; flex-direction: column; justify-content: flex-start; }
@media (min-width: 640px) { .modal-details { padding: 2.5rem; } }
.modal-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--gold); padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 0.75rem; }
.modal-title { margin-top: 0.75rem; font-size: clamp(1.5rem, 4vw, 2.5rem); }
.modal-year { margin-top: 0.25rem; font-size: 0.85rem; color: var(--muted-foreground); }
.modal-tech { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pill {
  font-size: 0.75rem; font-weight: 500;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--secondary); color: var(--muted-foreground);
  border: 1px solid var(--border); letter-spacing: 0.03em;
}
.modal-desc { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted-foreground); line-height: 1.8; font-size: 0.95rem; }
.modal-link {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--gold);
  padding: 0.7rem 1.1rem; border-radius: 0.75rem;
  background: var(--secondary); border: 1px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  align-self: flex-start;
}
.modal-link:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.modal-link[hidden] { display: none; }
.work-card:hover .work-body { opacity: 0.25; transition: opacity 0.35s ease; }
.work-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: var(--background);
  color: var(--foreground);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 2rem 1.75rem 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
  border-radius: 1.25rem;
  overflow-y: auto;
  border: 1px solid var(--border);
  text-align: left;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay .ov-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--gold); padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 0.75rem; }
.work-overlay .ov-title { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.2; margin-top: 0.75rem; }
.work-overlay .ov-year { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.work-overlay .ov-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.work-overlay .ov-section-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.work-overlay .ov-desc { font-size: 0.92rem; line-height: 1.8; color: var(--foreground); }
.work-overlay .ov-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.work-overlay .ov-tech span {
  font-size: 0.75rem; font-weight: 500; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--secondary); color: var(--muted-foreground); border: 1px solid var(--border); letter-spacing: 0.03em;
}
.work-overlay .ov-link {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--gold); text-decoration: none;
  padding: 0.6rem 1rem; border-radius: 0.75rem; background: var(--secondary); border: 1px solid var(--border);
  transition: all 0.3s;
}
.work-overlay .ov-link:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
