/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --white:   #f5f5f0;
  --grey-1:  #1a1a1a;
  --grey-2:  #2e2e2e;
  --grey-3:  #999994;
  --grey-4:  #dcdcd8;
  --grey-5:  #e8e8e4;
  --accent:  #f5f5f0;
  --font-serif: 'Jost', sans-serif;
  --font-sans:  'Jost', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─────────────────────────────────────────
   LIGHT MODE
───────────────────────────────────────── */
body.light {
  --black:  #f5f5f0;
  --white:  #0a0a0a;
  --grey-1: #ebebe6;
  --grey-2: #d4d4d0;
  --grey-3: #888884;
  --grey-4: #3a3a38;
  --grey-5: #1a1a1a;
}

body.light .nav.scrolled {
  background: rgba(245,245,240,0.88);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.light .hero-veil {
  background: rgba(10,10,10,0.50);
}

body.light .mobile-menu { background: #f5f5f0; }

body.light .form-group input,
body.light .form-group textarea { color: #0a0a0a; }
body.light .form-group input::placeholder,
body.light .form-group textarea::placeholder { color: #bbbbb8; }

body.light .form-submit {
  color: #0a0a0a;
  border-color: #d4d4d0;
}
body.light .form-submit:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #f5f5f0;
}

/* ─────────────────────────────────────────
   THEME TOGGLE BUTTON
───────────────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

body.light .theme-toggle {
  border-color: rgba(10,10,10,0.2);
  color: #0a0a0a;
}
body.light .theme-toggle:hover {
  border-color: rgba(10,10,10,0.5);
  background: rgba(10,10,10,0.06);
}

.theme-toggle-icon { line-height: 1; }
/* show moon in dark mode, sun in light mode */
.theme-icon-light { display: none; }
.theme-icon-dark  { display: block; }
body.light .theme-icon-light { display: block; }
body.light .theme-icon-dark  { display: none; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--grey-4);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────
   MOBILE MENU
───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--grey-3); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.52);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.9);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: rgba(245,245,240,0.75);
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(245,245,240,0.92);
  max-width: 540px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1.5px solid rgba(245,245,240,0.5);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.hero-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.4);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245,245,240,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 3rem;
}
.section-title em {
  font-style: italic;
  color: var(--grey-3);
}

/* ─────────────────────────────────────────
   WORKS
───────────────────────────────────────── */
.works {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--black);
}

.section-header {
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.work-card {
  grid-column: span 1;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.work-card:hover {
  transform: translateY(-6px);
}

.work-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grey-2);
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease-out);
}
.work-card:hover .work-img {
  transform: scale(1.06);
  filter: blur(5px);
}

.work-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: background 0.4s;
}
.work-card:hover .work-img-overlay {
  background: rgba(10,10,10,0.35);
}

.work-title {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover .work-title {
  opacity: 1;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--grey-1);
  border-top: 1px solid var(--grey-2);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.about-img-col { position: relative; }

.about-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey-2);
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1px solid var(--grey-2);
  z-index: -1;
}

.about-img { }

.about-img-caption {
  font-size: 0.7rem;
  color: var(--grey-3);
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
  text-align: right;
}

.about-body {
  font-size: 1.05rem;
  color: var(--grey-4);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-weight: 200;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0 2.5rem;
}
.about-tags span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
  border: 1px solid var(--grey-2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}

.about-cv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-4);
  border-bottom: 1px solid var(--grey-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.about-cv-link:hover { color: var(--white); border-color: var(--white); }

/* ─────────────────────────────────────────
   CV ACTIONS & PREVIEW
───────────────────────────────────────── */
.about-cv-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-cv-preview-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  cursor: pointer;
}

.cv-preview {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.cv-preview.open {
  opacity: 1;
  pointer-events: all;
}

.cv-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cv-preview-box {
  position: relative;
  z-index: 1;
  max-width: min(680px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-2);
}

.cv-preview-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 0.8rem;
  color: var(--grey-4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--grey-2);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cv-preview-close:hover {
  background: var(--white);
  color: var(--black);
}

.cv-preview-scroll {
  overflow-y: auto;
  scrollbar-width: none;
}
.cv-preview-scroll::-webkit-scrollbar { display: none; }

.cv-preview-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--black);
  border-top: 1px solid var(--grey-2);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 1rem 0 1.5rem;
}
.contact-title em { font-style: italic; color: var(--grey-3); }

.contact-sub {
  font-size: 1rem;
  color: var(--grey-3);
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 360px;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-links li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-2);
}
.contact-links li:last-child { border-bottom: none; padding-bottom: 0; }

.contact-link-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.contact-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--grey-4); }

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-2);
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 200;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-2); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--grey-4); }

.form-submit {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  border: 1.5px solid var(--grey-2);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
}
.form-submit:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.form-submit-arrow { font-size: 1rem; transition: transform 0.25s; }
.form-submit:hover .form-submit-arrow { transform: translateX(4px); }

.form-status {
  font-size: 0.8rem;
  color: var(--grey-3);
  min-height: 1.2em;
}
.form-status.success { color: #8cc5b8; }
.form-status.error   { color: #e08080; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--grey-2);
  background: var(--black);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--grey-3);
}
.footer-back {
  font-size: 0.72rem;
  color: var(--grey-3);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-back:hover { color: var(--white); }

/* ─────────────────────────────────────────
   PROJECT VIEWER
───────────────────────────────────────── */
.pv {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.pv.open {
  opacity: 1;
  pointer-events: all;
}

.pv-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 64px;
  border-bottom: 1px solid var(--grey-2);
  flex-shrink: 0;
}

.pv-count {
  font-size: 0.7rem;
  color: var(--grey-3);
  letter-spacing: 0.1em;
}

.pv-x {
  font-size: 0.85rem;
  color: var(--grey-4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--grey-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pv-x:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.pv-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* ── Info panel ── */
.pv-panel {
  width: 290px;
  flex-shrink: 0;
  border-right: 1px solid var(--grey-2);
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.pv-panel::-webkit-scrollbar { display: none; }

.pv-panel-num {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: var(--grey-3);
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.pv-panel-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.pv-panel-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pv-detail-rule { display: none; }

.pv-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pv-detail-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.pv-detail-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--grey-4);
  line-height: 1.45;
}

.pv-detail-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--grey-4);
  line-height: 1.8;
  margin-top: 0.25rem;
}

/* ── Stage ── */
.pv-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 5rem;
  min-height: 0;
}

.pv-main {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.1s;
}
.pv-main.fade { opacity: 0; }

.pv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.2rem;
  color: var(--grey-4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--grey-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s, color 0.2s, border-color 0.2s;
}
.pv-stage:hover .pv-arrow { opacity: 1; }
.pv-arrow:hover { color: var(--white); border-color: var(--grey-4); }
.pv-arrow--l { left: 1.5rem; }
.pv-arrow--r { right: 1.5rem; }
.pv-arrow:disabled { opacity: 0.15 !important; pointer-events: none; }

/* ── Thumbnail strip ── */
.pv-strip {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--grey-2);
  flex-shrink: 0;
  scrollbar-width: none;
}
.pv-strip::-webkit-scrollbar { display: none; }

.pv-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.35;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.pv-thumb:hover { opacity: 0.7; }
.pv-thumb.active { opacity: 1; border-color: var(--white); }

@media (max-width: 768px) {
  .pv-body {
    flex-direction: column;
  }
  .pv-panel {
    width: 100%;
    border-right: none;
    border-top: 1px solid var(--grey-2);
    padding: 1.25rem 1.25rem 1.5rem;
    flex: 1;
    overflow-y: auto;
    max-height: 45%;
  }
  .pv-panel-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }
  .pv-panel-details { gap: 0.9rem; }
  .pv-stage {
    padding: 0.75rem 3rem;
    flex: 0 0 44vh;
    min-height: 0;
    overflow: hidden;
  }
  .pv-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .pv-strip { height: 70px; }
  .pv-thumb { width: 52px; height: 40px; }
  .pv-arrow--l { left: 0.75rem; }
  .pv-arrow--r { right: 0.75rem; }
}

/* ─────────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.1); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { gap: 0.5rem; }

  .works-grid { grid-template-columns: 1fr; }
  .work-card { grid-column: span 1; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-frame::before { display: none; }
  .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .about-img-col { padding-top: 0; }

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

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

@media (max-width: 520px) {
  :root { --nav-h: 56px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
}
