@font-face {
  font-family: 'Coolvetica';
  src: url('assets/Coolvetica-Rg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --bg:       #000000;
  --surface:  #000000;
  --border:   #2a2a2a;
  --text:     #e8e8e8;
  --muted:    #888;
  --accent:   #7c6af7;
  --font:     'Inter', system-ui, sans-serif;
  --font-display: 'Coolvetica', system-ui, sans-serif;
  --max-w:    1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

ul { list-style: none; }

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  color: var(--text);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul a {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

nav ul a:hover { color: var(--text); }

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.hero-video-container .hero-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 1.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-headline {
  position: relative;
  z-index: 2;
  width: 100%;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  color: #fff;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 80px;
  background: var(--muted);
  opacity: 0.4;
  animation: scroll-line 1.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 0.15; }
}

.hero-watermark {
  position: absolute;
  bottom: 2rem;
  left: 4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0.35;
  text-transform: uppercase;
}

.hero-clip {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}


.hero-video-container .hero-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 1.5s ease;
}

.hero-clip-b {
  opacity: 0;
}

.hero-clips-row {
  display: flex;
  gap: 0.75rem;
}

.hero-clips-row .hero-clip {
  flex: 1;
  aspect-ratio: 9/16;
  max-height: 220px;
  object-fit: cover;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 1.25rem;
}

.tagline {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── Button ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Sections ── */
section:not(#hero) {
  padding: 6rem 0;
}

section:not(#hero):nth-child(even) {
  background: var(--surface);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-text p + p { margin-top: 1.25rem; }
.about-text p { color: var(--text); line-height: 1.8; }

.about-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.about-cta {
  font-size: 0.9rem;
}

.about-cta a {
  color: #c49a6c;
  transition: opacity 0.2s;
}

.about-cta a:hover { opacity: 0.75; }

.about-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-block-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  opacity: 0.7;
}

.about-block-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-block-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 0.5px solid var(--border);
}

.about-block-list li:first-child {
  border-top: 0.5px solid var(--border);
}

.about-block-title {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.about-block-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-block-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.about-block-link:hover { opacity: 0.75; }

/* ── Work header ── */
.work-header {
  margin-bottom: 2rem;
}

.work-header h2 { margin-bottom: 0; }
.work-header .experience-hint { margin-top: 0.25rem; }

/* ── Carousel nav ── */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0.5px solid #2a2a2a;
  background: #1a1a1a;
  color: #c8c0b4;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.carousel-btn:hover { border-color: #c49a6c; color: #c49a6c; }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel-counter {
  font-size: 0.8rem;
  color: #7a7068;
  min-width: 40px;
  text-align: center;
}

/* ── Carousel viewport ── */
.carousel-viewport {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  gap: 24px;
  user-select: none;
  padding-left: 2rem;
  padding-right: 2rem;
}

.project-card {
  scroll-snap-align: start;
}

/* ── Project cards ── */
.project-card {
  flex: 0 0 min(420px, 80vw);
  background: #0e0e0e;
  border: 0.5px solid #c49a6c22;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: #c49a6c88;
  box-shadow: 0 0 24px #c49a6c18;
}

.project-thumb {
  height: 220px;
  background: #111;
  border-bottom: 0.5px solid #1a1a1a;
  overflow: hidden;
}

.project-thumb.placeholder {
  height: 220px;
  background: #111;
}

.project-thumb img,
.project-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111;
}

.project-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-body { flex: 1; }

.project-info h3 {
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font);
  text-transform: none;
  color: #c8c0b4;
  margin-bottom: 4px;
}

.project-sub {
  font-size: 11px;
  color: #7a7068;
  margin-bottom: 0.75rem;
}

.project-body {
  font-size: 12px;
  color: #7a7068;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.tags span {
  font-size: 10px;
  padding: 2px 8px;
  border: 0.5px solid #c49a6c44;
  border-radius: 4px;
  color: #c49a6c;
  background: #c49a6c0d;
}

.project-links {
  display: flex;
  gap: 1rem;
  border-top: 0.5px solid #2a2a2a;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.project-links a {
  font-size: 11px;
  color: #9a9080;
  transition: color 0.2s;
}

.project-links a:hover { color: #c49a6c; }

/* ── Dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: #2a2a2a;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.dot.active {
  background: #c49a6c;
  transform: scale(1.4);
}

/* ── Organizations ── */
#organizations {
  background: var(--bg);
  padding: 4rem 0;
  overflow: hidden;
}

.org-marquee-viewport {
  overflow: hidden;
  width: 100%;
}

.org-track {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  animation: org-scroll 24s linear infinite;
}

.org-track:hover { animation-play-state: paused; }

@keyframes org-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.org-card {
  width: 180px;
  height: 180px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.5rem;
}

.experience-hint {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  opacity: 0.7;
  margin-top: -1.5rem;
}

.org-card:hover {
  transform: translateY(-3px);
}

.org-card:hover .org-logo-wrap::after,
.org-card.tapped .org-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 154, 108, 0.6);
  animation: pulse-ring 1s ease-out infinite;
  pointer-events: none;
}

.org-card:hover .org-logo-wrap:has(img.logo-medium)::after,
.org-card.tapped .org-logo-wrap:has(img.logo-medium)::after {
  inset: -16px;
}

.org-card:hover .org-logo-wrap:has(img.logo-large)::after,
.org-card.tapped .org-logo-wrap:has(img.logo-large)::after {
  inset: -28px;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.org-logo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  transition: filter 0.3s ease;
}


.org-card:hover .org-logo-wrap img,
.org-card.tapped .org-logo-wrap img {
  filter: grayscale(0%) brightness(1);
}

.org-logo-wrap img.logo-light {
  filter: grayscale(100%) brightness(0.5);
}

.org-card:hover .org-logo-wrap img.logo-light,
.org-card.tapped .org-logo-wrap img.logo-light {
  filter: grayscale(0%) brightness(1);
}

.org-logo-wrap img.logo-medium {
  max-width: 120%;
  max-height: 120%;
}

.org-logo-wrap img.logo-large {
  max-width: 175%;
  max-height: 175%;
}

/* ── Contact ── */
#contact .container > h2 {
  margin-bottom: 0.75rem;
}

#contact .about-block-label {
  color: var(--text);
  opacity: 1;
  font-weight: 700;
}

.contact-grid {
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
}

.contact-open-to-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.contact-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-right {
  flex: 1;
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
}

.contact-row .contact-field {
  flex: 1;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field label {
  font-size: 0.85rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-field .req {
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-field input,
.contact-field textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact-field textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 130px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--muted);
}

.contact-submit {
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-submit:hover { opacity: 0.85; }

/* ── Footer ── */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-icons a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-icons a:hover { color: var(--text); }

/* ── Social sidebar ── */
.social-sidebar {
  position: fixed;
  left: 1.5rem;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-sidebar a {
  color: var(--muted);
  display: flex;
  transition: color 0.2s, transform 0.2s;
}

.social-sidebar a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.social-sidebar-line {
  width: 1px;
  height: 80px;
  background: var(--muted);
  opacity: 0.4;
}

footer span {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-jmj {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.4;
}

/* ── Project card cursor ── */
.project-card { cursor: pointer; }

/* ── Modal backdrop ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.35s ease;
  padding: 4vh 1rem;
}

.modal-backdrop.open {
  background: rgba(0, 0, 0, 0.72);
  pointer-events: all;
}

/* ── Modal sheet ── */
.modal-sheet {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  background: #1a1a1a;
  border: 0.5px solid #2a2a2a;
  border-radius: 16px;
  overflow-y: auto;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0);
  opacity: 1;
}

/* ── Close button ── */
.modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0.5px solid #333;
  background: #242424;
  color: #9a9080;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: border-color 0.2s, color 0.2s;
}

.modal-close:hover { border-color: #c49a6c; color: #c49a6c; }

/* ── Photo strip ── */
.modal-photos {
  display: flex;
  gap: 10px;
  padding: 1.5rem 1.5rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  clear: both;
}

.modal-photos::-webkit-scrollbar { display: none; }

.modal-photos video.modal-photo {
  object-fit: contain;
  background: #1a1a1a;
}

.modal-photo {
  flex: 0 0 auto;
  width: 480px;
  height: 300px;
  border-radius: 8px;
  object-fit: contain;
  background: #1a1a1a;
  border: 0.5px solid #2a2a2a;
  cursor: zoom-in;
  display: block;
}

.modal-photo.placeholder {
  height: 180px;
  background: #242424;
  cursor: default;
}

/* ── YouTube embed in strip ── */
.modal-youtube {
  flex: 0 0 auto;
  width: 480px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid #2a2a2a;
}

.modal-youtube iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── PDF card in strip ── */
.modal-pdf-card {
  flex: 0 0 auto;
  width: 160px;
  height: 210px;
  background: #242424;
  border: 0.5px solid #2a2a2a;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
}

.modal-pdf-card:hover { border-color: #c49a6c; }

.modal-pdf-icon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c49a6c;
  border: 1px solid #c49a6c44;
  border-radius: 4px;
  padding: 4px 8px;
}

.modal-pdf-card span {
  font-size: 11px;
  color: #7a7068;
  text-align: center;
  padding: 0 0.75rem;
  line-height: 1.4;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.25s ease;
}

.lightbox.open {
  background: rgba(0, 0, 0, 0.92);
  pointer-events: all;
  cursor: zoom-out;
}

.lightbox img,
.lightbox video {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox.open img,
.lightbox.open video {
  opacity: 1;
  transform: scale(1);
}

#lightbox-vid { display: none; }

/* ── Modal content ── */
.modal-content {
  padding: 1.5rem;
}

.modal-meta { margin-bottom: 1rem; }

.modal-content h2 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: #c8c0b4;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-transform: none;
}

.modal-sub {
  font-size: 11px;
  color: #7a7068;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.modal-tags span {
  font-size: 10px;
  padding: 2px 8px;
  border: 0.5px solid #c49a6c44;
  border-radius: 4px;
  color: #c49a6c;
}

.modal-detail {
  font-size: 13px;
  color: #9a9080;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.modal-detail p { margin-bottom: 0.75rem; }

.modal-detail-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c49a6c;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.modal-detail-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.modal-detail-list li {
  font-size: 13px;
  color: #9a9080;
  line-height: 1.75;
  padding-left: 1rem;
  position: relative;
}

.modal-detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c49a6c44;
}

.modal-links {
  display: flex;
  gap: 1rem;
  border-top: 0.5px solid #2a2a2a;
  padding-top: 1rem;
}

.modal-links a {
  font-size: 12px;
  color: #c49a6c;
  transition: opacity 0.2s;
}

.modal-links a:hover { opacity: 0.7; }

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: opacity 0.2s;
}

/* ── Mobile nav overlay ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-overlay ul a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.nav-overlay-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
}

/* ── Hero video dots ── */
.hero-video-dots {
  position: absolute;
  bottom: 3.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.4s, transform 0.4s;
}
.hero-dot.active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.4);
}

/* ── Scroll fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  /* ── Nav ── */
  nav ul { display: none; }
  nav { padding: 1rem 1.25rem; }
  .nav-hamburger { display: flex; }

  /* ── Hero headline — two rows, edge to edge ── */
  #hero h1.hero-headline {
    white-space: normal;
    font-size: 5.5vw;
    line-height: 1.12;
    width: 100%;
  }

  /* ── Sections — must match base specificity (section:not(#hero) = 0,1,0,1) ── */
  section:not(#hero) { padding: 2.5rem 1.25rem; }
  #hero { padding: 2rem 1.25rem; padding-top: 0; }

  /* ── Modal photo strip — one item centered per scroll snap ── */
  .modal-photos {
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    gap: 0;
  }
  .modal-photo {
    width: 100vw;
    height: 56vw;
    flex: 0 0 100vw;
    scroll-snap-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  /* ── About ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-text p { font-size: 1rem; line-height: 1.75; }

  /* ── Work carousel ── */
  .project-card { width: calc(100vw - 2.5rem); scroll-snap-align: center; }
  .carousel-track { padding: 0 1.25rem; gap: 1rem; }

  /* ── Experience org marquee ── */
  .org-track { gap: 1rem; }
  .org-card { width: 150px; height: 150px; }
  .org-logo-wrap { width: 110px; height: 110px; }
  .org-card[style*="width: 260px"] { width: 200px !important; }
  .org-card[style*="width: 260px"] .org-logo-wrap { width: 160px; height: 100px; }
  .org-card[style*="width: 260px"] img.logo-light { max-width: 150%; max-height: 150%; }
  section:not(#hero)#organizations { padding: 2rem 0; }

  /* ── Contact ── */
  .contact-grid {
    flex-direction: column;
    gap: 3rem;
  }
  .contact-open-to-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .contact-left,
  .contact-right { width: 100%; }
}
