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

html {
  scroll-behavior: smooth;
}

/* ===== VARIABLES ===== */
:root {
  --bg:            #131213;
  --bg-separator:  #222122;
  --text-primary:  #F0EDE8;
  --text-muted:    #6B6669;
  --accent-green:  #A8FF00;
  --accent-violet: #C45FD8;

  --font-display: "ITC Garamond Std", Georgia, serif;
  --font-body:    "Satoshi", system-ui, sans-serif;

  --padding-x: 48px;
}

/* ===== BASE ===== */
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

ul {
  list-style: none;
}

/* ===== NAVIGATION ===== */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 1512px;
  max-width: 100%;
  padding: 28px var(--padding-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  width: 100px;
  display: block;
  transition: opacity 200ms ease;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 200ms ease;
}
.nav-link:hover {
  color: var(--accent-green);
}

/* ===== HERO ===== */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero {
  display: flex;
  height: 862px;
  padding: 0 var(--padding-x);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  background-color: #1a1919;
  background-image: url('images/hero-bg.jpg');
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 80px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 500px;
  max-width: 100%;
  display: block;
  margin-bottom: 32px;
}

.hero-strikethrough {
  font-family: var(--font-body);
  font-size: 18.6px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.756px;
  color: var(--text-primary);
  text-decoration: line-through;
  text-align: center;
}

.hero-intent {
  font-family: var(--font-display);
  font-size: 25.6px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.756px;
  color: var(--accent-green);
  text-align: center;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1;   }
}

.hero-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  font-size: 18px;
  color: var(--text-muted);
  animation: arrowBounce 2s ease-in-out infinite;
  user-select: none;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 var(--padding-x) 48px var(--padding-x);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 120px 0 80px 0;
  align-self: stretch;
}

/* ===== PROJECT ITEM ===== */
.project-item {
  width: 100%;
  border-bottom: 1px solid var(--bg-separator);
}

.project-image-wrap {
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.project-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background-color: var(--bg-separator);
  transition: opacity 300ms ease;
}

.project-item:hover .project-visual {
  opacity: 0.85;
}

.project-bar {
  display: flex;
  width: 100%;
  padding: 28px var(--padding-x);
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bg-separator);
  cursor: pointer;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.14px;
  color: var(--text-primary);
}

.project-category {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.project-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-year {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
}

.project-toggle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 200ms ease;
  line-height: 1;
  padding: 0;
  width: 24px;
  text-align: center;
}
.project-toggle:hover,
.project-bar:hover .project-toggle,
.project-bar:hover .project-title {
  color: var(--accent-green);
}

/* ===== PROJECT EXPAND ===== */
.project-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
  padding: 0 var(--padding-x);
}

.project-expand.open {
  max-height: 500px;
}

.project-expand-inner {
  padding: 32px 0 48px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-description {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 24.5px;
  color: var(--text-primary);
  width: 684px;
  max-width: 100%;
}

/* ===== CAROUSEL ===== */
.project-carousel {
  position: relative;
  width: 100%;
}

.carousel-track-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-separator);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 400ms ease;
}

.carousel-img,
.carousel-item {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-separator);
}

.project-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.project-nav button {
  pointer-events: all;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: rgba(19, 18, 19, 0.55);
  border: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  padding: 10px 14px;
  line-height: 1;
}
.project-nav button:hover {
  background: rgba(19, 18, 19, 0.9);
  color: var(--accent-green);
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
  margin-top: 24px;
}
.btn-cta:hover {
  background: var(--accent-green);
  color: var(--bg);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px var(--padding-x) 120px var(--padding-x);
  align-self: stretch;
  border-top: 1px solid var(--bg-separator);
  gap: 48px;
}

.about-content {
  display: flex;
  gap: 80px;
  width: 100%;
  align-items: flex-start;
}

.about-text-col {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 27px;
  color: var(--text-primary);
  width: 100%;
  max-width: 802px;
}

.about-body p + p {
  margin-top: 18px;
}

.about-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  line-height: 27px;
  color: var(--text-primary);
}

.about-awards-col {
  flex-shrink: 0;
  width: 280px;
  padding-top: 4px;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.awards-list li {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CONTACT / FOOTER ===== */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px var(--padding-x) 120px var(--padding-x);
  align-self: stretch;
  border-top: 1px solid var(--bg-separator);
  gap: 0;
}

.footer-cta {
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 400;
  line-height: 88px;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  text-align: center;
}

.footer-link {
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 400;
  line-height: 88px;
  letter-spacing: -0.8px;
  color: var(--accent-green);
  text-align: center;
  text-decoration: none;
  transition: opacity 200ms ease;
  display: block;
  word-break: break-all;
}
.footer-link:hover {
  opacity: 0.75;
}

.contact-links {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.contact-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 80px;
  text-align: center;
}

/* ===== RESPONSIVE — 768px ===== */
@media (max-width: 768px) {
  :root {
    --padding-x: 24px;
  }

  nav {
    padding: 20px var(--padding-x);
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    height: 560px;
  }

  .hero-strikethrough {
    font-size: 15px;
  }

  .hero-intent {
    font-size: 20px;
  }

  .projects-section {
    padding: 80px 0 60px 0;
  }

  .project-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .project-expand.open {
    max-height: 800px;
  }

  .about-section {
    padding: 60px var(--padding-x) 80px var(--padding-x);
    gap: 32px;
  }

  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-awards-col {
    width: 100%;
  }

  .footer-cta,
  .footer-link {
    font-size: 28px;
    line-height: 1.3;
  }

  .contact-section {
    padding: 80px var(--padding-x) 80px var(--padding-x);
  }
}

/* ===== RESPONSIVE — 375px ===== */
@media (max-width: 375px) {
  :root {
    --padding-x: 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    height: 480px;
  }

  .hero-strikethrough {
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-intent {
    font-size: 17px;
    line-height: 1.5;
  }

  .footer-cta {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.4px;
  }

  .footer-link {
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.2px;
  }

  .project-bar {
    padding: 20px var(--padding-x);
  }

  .about-section {
    padding: 48px var(--padding-x) 60px var(--padding-x);
    gap: 24px;
  }

  .about-content {
    gap: 24px;
  }

  .about-body {
    font-size: 14px;
    line-height: 1.75;
  }
}
