/* ============================================================
   AAG — 3D Creator Portfolio
   ============================================================ */

/* ── Arsenica (uploaded, non-italic only) ── */
@font-face {
  font-family: 'Arsenica';
  src: url('../assets/fonts/ArsenicaTrial-Thin.ttf') format('truetype');
  font-weight: 100 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Arsenica';
  src: url('../assets/fonts/ArsenicaTrial-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Arsenica';
  src: url('../assets/fonts/ArsenicaTrial-Regular.ttf') format('truetype');
  font-weight: 400 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Arsenica';
  src: url('../assets/fonts/ArsenicaTrial-Bold.ttf') format('truetype');
  font-weight: 600 900; font-style: normal; font-display: swap;
}

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

:root {
  --bg: #0C0C0C;
  --text-soft: #D7E2EA;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html, body, #app {
  background: var(--bg);
  font-family: 'Tajawal', 'Kanit', sans-serif;
}

/* Arsenica for display headings only (numbers stay Tajawal) */
.hero-heading-text, .section-heading, .history-heading,
.goals-heading, .goal-title,
.services-heading, .projects-heading,
.clients-heading, .contact-heading {
  font-family: 'Arsenica', 'Kanit', sans-serif;
  padding-top: .1em;          /* prevent tall glyphs clipping at top */
}
body { overflow-x: clip; }
#app  { overflow-x: clip; }

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* Gradient display text */
.hero-heading {
  background: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── FadeIn ── */
.fade { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 30px)); }
.fade.in {
  opacity: 1; transform: translate(0, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--fd, 0s);
}

/* ── Buttons ── */
.btn-contact {
  display: inline-block;
  border-radius: 9999px;
  background: linear-gradient(123deg, #0d0d0d 7%, #3a3a3a 42%, #6a6a6a 76%, #9a9a9a 100%);
  box-shadow: 0 4px 4px rgba(0,0,0,.25), 4px 4px 12px #4a4a4a inset;
  outline: 2px solid #fff; outline-offset: -3px;
  color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: .15em;
  padding: 12px 32px; font-size: .8rem;
  cursor: pointer; border: none;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.btn-contact:hover { transform: translateY(-2px); filter: brightness(1.12); }

.btn-live {
  display: inline-block;
  border-radius: 9999px;
  border: 2px solid var(--text-soft);
  color: var(--text-soft);
  font-weight: 500; text-transform: uppercase; letter-spacing: .18em;
  padding: 12px 32px; font-size: .85rem;
  transition: background .25s var(--ease);
}
.btn-live:hover { background: rgba(215,226,234,.10); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 9999px; border: 2px solid var(--text-soft); color: var(--text-soft);
  padding: 14px 32px; text-transform: uppercase; letter-spacing: .12em;
  font-size: .9rem; font-weight: 500; font-family: 'Arsenica', 'Kanit', sans-serif;
  transition: background .25s var(--ease); background: none; cursor: pointer;
}
.btn-ghost:hover { background: rgba(215,226,234,.10); }

@media (min-width: 640px) {
  .btn-contact { padding: 14px 40px; font-size: .9rem; }
  .btn-live    { padding: 14px 40px; font-size: 1rem; }
}
@media (min-width: 768px) {
  .btn-contact { padding: 16px 48px; font-size: 1rem; }
}

/* ════════════════ HERO ════════════════ */
.hero {
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}

/* Full-bleed portrait fills the right side */
.hero-portrait {
  position: absolute; top: 0; right: 0;
  width: 65%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
/* Left fade + bottom fade blend photo into dark bg */
.hero-portrait::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 55%),
    linear-gradient(to top,   var(--bg) 0%, transparent 30%);
}

@media (max-width: 639px) {
  .hero-portrait { width: 100%; opacity: .45; }
  .hero-portrait::before {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 30%),
      linear-gradient(to top,    var(--bg) 0%, transparent 35%);
  }
}

/* Nav */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  padding: 20px 24px 0;
  position: relative; z-index: 10;
}
.nav-logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav-logo img {
  height: 44px; width: auto;
  object-fit: contain;
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-soft); font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; font-size: .9rem;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: .7; }
@media (min-width: 768px) {
  .navbar { padding: 28px 40px 0; }
  .nav-logo img { height: 56px; }
  .nav-links a { font-size: 1.1rem; }
}
@media (min-width: 1024px){ .nav-links a { font-size: 1.25rem; } }
@media (max-width: 480px) { .nav-links { gap: 16px; } .nav-links a { font-size: .78rem; } }

/* Heading stack */
.hero-heading-wrap {
  width: 100%;
  padding: 0 24px;
  margin-top: auto;
  position: relative; z-index: 10;
}
.hero-logo { display: inline-flex; margin-bottom: 18px; }
.hero-logo img {
  height: 320px; width: auto; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
}
.hero-heading-text {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: .9; text-align: left;
  font-size: clamp(3rem, 11vw, 130px);
}
@media (min-width: 640px)  { .hero-heading-text { font-size: clamp(3.5rem, 12vw, 150px); } .hero-logo img { height: 380px; } }
@media (min-width: 768px)  { .hero-heading-wrap { padding: 0 40px; } .hero-logo img { height: 440px; } }
@media (min-width: 1024px) { .hero-heading-text { font-size: clamp(4rem, 11vw, 168px); } }

.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 20px 24px 36px;
  position: relative; z-index: 10;
}
@media (min-width: 768px) { .hero-bottom { padding: 24px 40px 48px; } }

.hero-tagline {
  color: var(--text-soft); font-weight: 300; text-transform: uppercase;
  letter-spacing: .08em; line-height: 1.4;
  font-size: clamp(0.7rem, 1.1vw, 1.1rem);
  max-width: 180px;
}
@media (min-width: 768px) { .hero-tagline { max-width: 260px; } }

/* ════════════════ SCROLL ICON ════════════════ */
.scroll-icon {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  width: clamp(108px, 14vw, 168px);
  height: clamp(108px, 14vw, 168px);
  z-index: 60;
  pointer-events: none;
  will-change: transform;
}
.scroll-icon img {
  width: 100%; height: 100%; object-fit: contain;
  /* icon assumed light → keep white on dark sections */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: filter .4s var(--ease);
}
.scroll-icon.on-light img {
  /* turn dark when over a light/white section */
  filter: brightness(0) invert(0);
}

/* ════════════════ MARQUEE ════════════════ */
.marquee { background: var(--bg); padding: 96px 0 40px; overflow: hidden; }
@media (min-width: 640px) { .marquee { padding: 128px 0 40px; } }
@media (min-width: 768px) { .marquee { padding: 160px 0 40px; } }
.marquee-row { display: flex; gap: 12px; margin-bottom: 12px; will-change: transform; }
.marquee-tile {
  flex: 0 0 auto; width: 420px; height: 270px;
  border-radius: 16px; overflow: hidden;
}
.marquee-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════ ABOUT ════════════════ */
.about {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
@media (min-width: 768px) { .about { padding: 80px 40px; } }
.section-heading {
  font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -0.02em;
  font-size: clamp(3rem, 12vw, 160px);
}
.about-gap { height: clamp(2.5rem, 6vw, 4rem); }
.about-text {
  color: var(--text-soft); font-weight: 500; line-height: 1.6;
  max-width: 600px; font-size: clamp(1rem, 2vw, 1.35rem);
  position: relative; z-index: 2;
  overflow-wrap: break-word;
  white-space: normal;
}
.about-text .word { display: inline-block; white-space: nowrap; }
.about-text .char { transition: opacity .15s linear; display: inline; }
.about-cta-gap { height: clamp(2.5rem, 6vw, 4rem); }
.about-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ════════════════ MOTION (scroll-scrubbed video) ════════════════ */
.motion {
  position: relative;
  background: var(--bg);
  width: 100%;
}
.motion-sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.motion-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

/* ════════════════ HISTORY ════════════════ */
.history {
  background: var(--bg);
  padding: 80px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 768px) { .history { padding: 100px 40px; } }
.history-heading {
  font-weight: 900; text-transform: uppercase; line-height: .9;
  font-size: clamp(2.5rem, 9vw, 120px); margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.history-text {
  color: var(--text-soft); font-weight: 300; line-height: 1.75;
  max-width: 680px; font-size: clamp(1rem, 1.8vw, 1.3rem); opacity: .85;
}
.history-stat-row {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.history-stat { text-align: center; }
.history-stat-num {
  font-weight: 900; font-size: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.history-stat-label {
  color: var(--text-soft); opacity: .55; font-weight: 300;
  text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-top: 6px;
}

/* ════════════════ GOALS ════════════════ */
.goals {
  background: #fff; color: var(--bg);
  border-top-left-radius: 40px; border-top-right-radius: 40px;
  padding: 80px 24px;
}
@media (min-width: 640px) { .goals { border-radius: 50px 50px 0 0; padding: 96px 40px; } }
@media (min-width: 768px) { .goals { border-radius: 60px 60px 0 0; padding: 120px 60px; } }
.goals-heading {
  text-align: center; color: var(--bg);
  font-weight: 900; text-transform: uppercase; line-height: .9;
  font-size: clamp(2.5rem, 9vw, 120px);
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.goals-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; max-width: 900px; margin: 0 auto;
}
@media (min-width: 640px) { .goals-grid { grid-template-columns: 1fr 1fr; gap: 2px; } }
.goal-card {
  background: var(--bg); color: var(--text-soft);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 20px;
}
.goal-card:first-child { border-radius: 20px 20px 0 0; }
.goal-card:last-child  { border-radius: 0 0 20px 20px; }
@media (min-width: 640px) {
  .goal-card:first-child { border-radius: 20px 0 0 20px; }
  .goal-card:last-child  { border-radius: 0 20px 20px 0; }
}
.goal-label {
  text-transform: uppercase; letter-spacing: .2em; font-size: .75rem;
  opacity: .5; font-weight: 300; margin-bottom: 16px;
}
.goal-title {
  font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase; margin-bottom: 20px; line-height: 1;
}
.goal-text {
  font-weight: 300; line-height: 1.7; opacity: .85;
  font-size: clamp(.9rem, 1.6vw, 1.2rem);
}

/* ════════════════ SERVICES ════════════════ */
.services {
  background: #fff; color: var(--bg);
  padding: 80px 20px;
  position: relative; z-index: 2;
}
@media (min-width: 640px) { .services { padding: 96px 32px; } }
@media (min-width: 768px) { .services { padding: 128px 40px; } }
.services-heading {
  text-align: center; color: var(--bg);
  font-weight: 900; text-transform: uppercase; line-height: .9;
  font-size: clamp(3rem, 12vw, 160px);
  margin-bottom: 64px;
}
@media (min-width: 768px) { .services-heading { margin-bottom: 112px; } }
.services-list { max-width: 1024px; margin: 0 auto; }
.service-row {
  display: flex; align-items: center; gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(12,12,12,.15);
}
.service-row:last-child { border-bottom: 1px solid rgba(12,12,12,.15); }
@media (min-width: 768px) { .service-row { padding: 48px 0; gap: 40px; } }
.service-num {
  font-weight: 900; color: var(--bg); line-height: .85;
  font-size: clamp(3rem, 10vw, 140px); flex: 0 0 auto;
}
.service-name {
  font-weight: 500; text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 2.1rem); margin-bottom: 8px;
}
.service-desc {
  font-weight: 300; line-height: 1.6; max-width: 42rem;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem); opacity: .6;
}

/* ════════════════ PROJECTS ════════════════ */
.projects {
  background: var(--bg);
  border-top-left-radius: 40px; border-top-right-radius: 40px;
  margin-top: -40px; position: relative; z-index: 3;
  padding: 80px 20px 40px;
}
@media (min-width: 640px) { .projects { border-radius: 50px 50px 0 0; margin-top: -48px; padding: 96px 32px 40px; } }
@media (min-width: 768px) { .projects { border-radius: 60px 60px 0 0; margin-top: -56px; padding: 128px 40px 60px; } }
.projects-heading {
  text-align: center;
  font-weight: 900; text-transform: uppercase; line-height: .9;
  font-size: clamp(3rem, 12vw, 160px); margin-bottom: 48px;
}
.project-wrap { height: 85vh; }
.project-card {
  position: sticky; top: 96px;
  border-radius: 40px; border: 2px solid var(--text-soft);
  background: var(--bg);
  padding: 16px; max-width: 1100px; margin: 0 auto;
  will-change: transform; transform-origin: top center;
}
@media (min-width: 640px) { .project-card { padding: 24px; border-radius: 50px; } }
@media (min-width: 768px) { .project-card { top: 128px; padding: 32px; border-radius: 60px; } }
.project-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.project-num {
  font-weight: 900; color: var(--text-soft); line-height: .8;
  font-size: clamp(3rem, 10vw, 140px);
}
.project-meta { flex: 1 1 auto; min-width: 180px; }
.project-cat {
  color: var(--text-soft); opacity: .55; text-transform: uppercase;
  letter-spacing: .15em; font-size: .8rem; font-weight: 300;
}
.project-name {
  color: var(--text-soft); text-transform: uppercase; font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 2.4rem); line-height: 1.05;
}
.project-grid { display: grid; grid-template-columns: 40% 60%; gap: 12px; }
.project-col1 { display: flex; flex-direction: column; gap: 12px; }
.project-col1 img:nth-child(1) { height: clamp(130px, 16vw, 230px); }
.project-col1 img:nth-child(2) { height: clamp(160px, 22vw, 340px); }
.project-col2 img { height: 100%; }
.project-grid img { width: 100%; object-fit: cover; border-radius: 40px; }
@media (min-width: 640px) { .project-grid img { border-radius: 50px; } }
@media (min-width: 768px) { .project-grid img { border-radius: 60px; } }

/* ════════════════ CLIENTS ════════════════ */
.clients {
  background: var(--bg); color: var(--text-soft);
  padding: 90px 24px 30px;
  text-align: center;
}
@media (min-width: 768px) { .clients { padding: 120px 60px 40px; } }
.clients-label {
  text-transform: uppercase; letter-spacing: .35em; font-size: .8rem;
  opacity: .55; margin-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.clients-heading + .clients-label { margin-top: 16px; }
.clients-heading {
  font-weight: 900; text-transform: uppercase; line-height: 1.04;
  padding-top: .12em;
  font-size: clamp(2.5rem, 9vw, 120px);
}
.clients-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px; max-width: 1100px; margin: 0 auto;
  align-items: center;
}
@media (min-width: 640px)  { .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 40px; } }
@media (min-width: 1024px) { .clients-grid { gap: 60px 56px; } }
.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: clamp(64px, 12vw, 110px);
}
.client-logo img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
  opacity: .55;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.client-logo:hover img { opacity: 1; transform: scale(1.06); }

/* ════════════════ CONTACT / FOOTER ════════════════ */
.contact {
  background: var(--bg); color: var(--text-soft);
  padding: 100px 24px 60px;
}
@media (min-width: 768px) { .contact { padding: 120px 60px 60px; } }
.contact-inner { max-width: 1100px; margin: 0 auto; }
.contact-heading {
  font-weight: 900; text-transform: uppercase; line-height: 1.04; text-align: center;
  padding-top: .12em;
  font-size: clamp(2.5rem, 10vw, 120px); margin-bottom: 16px;
}
.contact-sub {
  text-align: center; max-width: 500px; margin: 0 auto 56px;
  font-weight: 300; font-size: clamp(.95rem, 1.8vw, 1.2rem); opacity: .7; line-height: 1.6;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: start;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* Info side */
.contact-info-block { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(215,226,234,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem; color: var(--text-soft);
}
.contact-detail-text { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-text strong { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .5; }
.contact-detail-text a, .contact-detail-text span { color: var(--text-soft); font-size: .95rem; font-weight: 400; }
.contact-portfolio { margin-top: 8px; }
.contact-socials { display: flex; gap: 12px; margin-top: 8px; }
.contact-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(215,226,234,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); transition: all .25s var(--ease); font-size: .95rem;
}
.contact-socials a:hover { background: var(--text-soft); color: var(--bg); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; opacity: .6;
}
.form-input, .form-select, .form-textarea {
  background: rgba(215,226,234,.06); border: 1px solid rgba(215,226,234,.15);
  color: var(--text-soft); border-radius: 12px;
  padding: 12px 16px; font-family: 'Tajawal', 'Kanit', sans-serif; font-size: .95rem;
  transition: border-color .25s var(--ease);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: rgba(215,226,234,.5);
}
.form-select option { background: #1a1a1a; color: var(--text-soft); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-submit {
  border-radius: 9999px; padding: 14px 32px; border: none; cursor: pointer;
  background: var(--text-soft); color: var(--bg);
  font-family: 'Arsenica', 'Kanit', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  transition: filter .25s var(--ease), transform .25s var(--ease);
  margin-top: 4px; align-self: flex-start;
}
.form-submit:hover { filter: brightness(1.08); transform: translateY(-2px); }
.form-msg { font-size: .9rem; padding: 10px 0; min-height: 28px; }
.form-msg.ok  { color: #6fcf97; }
.form-msg.err { color: #eb5757; }

.contact-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(215,226,234,.1);
  text-align: center; opacity: .4; font-size: .8rem; font-weight: 300;
}

/* ════════════════ PROJECT PAGE ════════════════ */
.project-page { background: var(--bg); color: var(--text-soft); min-height: 100vh; }
.project-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; position: relative; z-index: 5;
}
@media (min-width: 768px) { .project-nav { padding: 32px 40px; } }
.project-back {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 500;
  transition: opacity .2s;
}
.project-back:hover { opacity: .65; }
.project-brand img { height: 44px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .project-brand img { height: 56px; } }

.project-header {
  max-width: 1000px; margin: 0 auto; text-align: center;
  padding: 40px 24px 60px;
}
@media (min-width: 768px) { .project-header { padding: 60px 40px 80px; } }
.project-eyebrow {
  text-transform: uppercase; letter-spacing: .35em; font-size: .8rem;
  opacity: .55; margin-bottom: 18px;
}
.project-title {
  font-weight: 900; text-transform: uppercase; line-height: 1.04; padding-top: .1em;
  font-size: clamp(2.5rem, 9vw, 110px);
}
.project-desc {
  max-width: 620px; margin: 24px auto 0; font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.7; opacity: .8;
}
.project-facts {
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.project-fact { display: flex; flex-direction: column; gap: 6px; }
.project-fact span { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; opacity: .5; }
.project-fact strong { font-weight: 500; font-size: 1.05rem; }

.project-gallery {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
}
@media (min-width: 700px)  { .project-gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 24px; } }
@media (min-width: 1100px) { .project-gallery { gap: 24px; padding: 0 40px; } }
.project-shot {
  margin: 0; overflow: hidden; border-radius: 14px;
  cursor: zoom-in; background: rgba(215,226,234,.05);
  aspect-ratio: 4 / 3;
}
/* Let some shots span full width for rhythm */
.project-shot:nth-child(5n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.project-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.project-shot:hover img { transform: scale(1.04); }

.project-footer { text-align: center; padding: clamp(4rem, 9vw, 7rem) 24px; }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,8,.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 86vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(215,226,234,.1);
  border: 1px solid rgba(215,226,234,.2); color: var(--text-soft);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; transition: background .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(215,226,234,.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
  .lightbox-close, .lightbox-nav { width: 44px; height: 44px; }
}
