* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F0EEE9;
  color: #0c0c0c;
  overflow-x: hidden;
  width: 100%;
}

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


/* ==================================================
   NAV
   ================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 64px;

  background: transparent;

  color: #F0EEE9;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  padding: 0 40px;

  z-index: 100;

  transition:
    background-color 0.3s ease;
}

.navbar.scrolled {
  background: #0c0c0c;
}

.logo {
  justify-self: center;
}

.logo a {
  font-weight: 800;
  font-size: 2rem;
  color: #F0EEE9;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
  gap: 36px;
}

.nav-right {
  justify-content: flex-end;
  gap: 24px;
}

.navbar a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #F0EEE9;
}

.navbar a:hover {
  opacity: 0.7;
}


/* ==================================================
   NAV ICONS
   ================================================== */

.nav-icon {
  width: 24px;
  height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.instagram-icon span {
  width: 21px;
  height: 21px;

  border: 2px solid #F0EEE9;

  border-radius: 6px;

  position: relative;
}

.instagram-icon span::before {
  content: "";

  position: absolute;

  width: 7px;
  height: 7px;

  border: 2px solid #F0EEE9;

  border-radius: 50%;

  top: 4px;
  left: 4px;
}

.instagram-icon span::after {
  content: "";

  position: absolute;

  width: 3px;
  height: 3px;

  background: #F0EEE9;

  border-radius: 50%;

  top: 3px;
  right: 3px;
}

.email-icon span {
  width: 23px;
  height: 16px;

  border: 2px solid #F0EEE9;

  border-radius: 3px;

  position: relative;

  overflow: hidden;
}

.email-icon span::before,
.email-icon span::after {
  content: "";

  position: absolute;

  width: 13px;
  height: 2px;

  background: #F0EEE9;

  top: 4px;
}

.email-icon span::before {
  left: -2px;
  transform: rotate(35deg);
}

.email-icon span::after {
  right: -2px;
  transform: rotate(-35deg);
}


/* ==================================================
   HERO
   ================================================== */

.hero {
  position: relative;

  width: 100%;

  height: 75vh;

  max-height: 780px;

  background-image:
    url("images/works/Nike.png");

  background-size: cover;

  background-position: center 35%;

  background-repeat: no-repeat;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  transition:
    background-position 0.25s ease;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.6);

  z-index: 1;
}

.hero-content {
  position: relative;

  z-index: 2;

  text-align: center;

  color: white;

  max-width: 1000px;

  padding: 30px;
}

.hero-eyebrow {
  font-size: 0.8rem;

  letter-spacing: 0.12em;

  margin-bottom: 24px;
}

.hero-content h1 {
  font-size:
    clamp(2rem, 4vw, 3.5rem);

  font-weight: 600;

  line-height: 1.2;
}

.hero-subcopy {
  max-width: 700px;

  margin:
    24px auto 0;

  font-size: 0.95rem;

  line-height: 1.5;

  opacity: 0.9;
}

.scroll-hint {
  position: absolute;

  bottom: 28px;

  left: 50%;

  transform:
    translateX(-50%);

  text-align: center;

  font-size: 0.75rem;

  color: #F0EEE9;

  opacity: 0.25;

  z-index: 2;

  pointer-events: none;
}

.scroll-hint .arrow {
  display: block;

  font-size: 1.2rem;

  margin-top: 4px;
}


/* ==================================================
   BRANDS / LOGO MARQUEE
   ================================================== */

.brands {
  padding:
    40px
    40px
    50px;

  margin-top: -20px;

  text-align: center;

  position: relative;

  z-index: 5;

  background: #F0EEE9;

  overflow: hidden;
}

.brands-title {
  font-size: 1.25rem;

  font-weight: 100;

  margin-bottom: 32px;

  color: #555;
}


/* MARQUEE WINDOW */

.marquee {
  position: relative;

  width: 100%;

  overflow: hidden;

  height: 130px;

  display: flex;

  align-items: center;
}


/*
  These fade the extreme edges
  instead of suddenly chopping
  a logo off.
*/

.marquee::before,
.marquee::after {
  content: "";

  position: absolute;

  top: 0;

  width: 120px;

  height: 100%;

  z-index: 2;

  pointer-events: none;
}

.marquee::before {
  left: 0;

  background:
    linear-gradient(
      to right,
      #F0EEE9,
      rgba(240, 238, 233, 0)
    );
}

.marquee::after {
  right: 0;

  background:
    linear-gradient(
      to left,
      #F0EEE9,
      rgba(240, 238, 233, 0)
    );
}


/* MOVING TRACK */

.marquee-track {
  display: flex;

  align-items: center;

  gap: 90px;

  width: max-content;

  padding-left: 120px;
  padding-right: 120px;

  animation:
    logoScroll 28s linear infinite;

  will-change: transform;
}


/* INDIVIDUAL LOGOS */

.marquee-track img {
  display: block;

  flex: 0 0 auto;

  width: 150px;

  height: 100px;

  object-fit: contain;

  object-position: center;

  margin: 0;
}


/*
  Because the logos are duplicated,
  the animation moves exactly one
  logo set.
*/

@keyframes logoScroll {

  from {
    transform:
      translateX(0);
  }

  to {
    transform:
      translateX(-50%);
  }

}


/* ==================================================
   MOBILE MARQUEE
   ================================================== */

@media (max-width: 768px) {

  .brands {
    padding:
      50px
      20px;
  }

  .marquee {
    height: 110px;
  }

  .marquee-track {
    gap: 55px;

    padding-left: 80px;
    padding-right: 80px;
  }

  .marquee-track img {
    width: 120px;
    height: 80px;
  }

}


/* ==================================================
   SELECTED WORKS
   ================================================== */

.works-preview {
  background: #0c0c0c;

  color: #F0EEE9;

  padding:
    90px
    40px
    120px;
}

.works-preview-header {
  max-width: 1200px;

  margin:
    0
    auto
    40px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.section-label {
  font-size: 1.8rem;

  font-weight: 600;
}

.view-all {
  font-size: 0.9rem;

  opacity: 0.65;
}

.view-all:hover {
  opacity: 1;
}

.view-all span {
  margin-left: 5px;
}

.work-grid {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 3px;
}

.work-card {
  display: block;

  min-width: 0;
}

.work-cover {
  position: relative;

  width: 100%;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #d8d6d0;
}

.work-cover > img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform 0.5s ease;
}

.work-hover {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.88);

  color: #F0EEE9;

  display: flex;

  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 30px;

  opacity: 0;

  transition:
    opacity 0.3s ease;
}

.work-hover > div {
  transform:
    translateY(12px);

  transition:
    transform 0.3s ease;
}

.work-card:hover
.work-cover > img {
  transform:
    scale(1.025);
}

.work-card:hover
.work-hover {
  opacity: 1;
}

.work-card:hover
.work-hover > div {
  transform:
    translateY(0);
}

.work-hover h3 {
  font-size: 1.05rem;

  margin-bottom: 8px;
}

.work-hover p {
  font-size: 0.85rem;

  opacity: 0.75;

  line-height: 1.4;
}

.work-year {
  display: block;

  margin-top: 18px;

  font-size: 0.8rem;

  opacity: 0.55;
}

.work-card-wide {
  grid-column:
    1 / -1;
}

.work-card-wide .work-cover {
  aspect-ratio: 3 / 1;
}


/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
  background: #F0EEE9;

  color: #0c0c0c;

  padding:
    80px
    40px
    40px;
}

.footer-inner {
  max-width: 1100px;

  margin: 0 auto;

  padding:
    0
    32px;
}

.footer-top {
  max-width: 520px;

  margin-bottom: 60px;
}

.footer-top h2 {
  font-size: 2rem;

  font-weight: 700;

  margin-bottom: 16px;
}

.footer-top p {
  font-size: 0.95rem;

  line-height: 1.6;

  opacity: 0.8;
}

.footer-columns {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(180px, 1fr)
    );

  gap: 40px;

  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.85rem;

  font-weight: 700;

  margin-bottom: 16px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 0.9rem;

  margin-bottom: 10px;

  opacity: 0.8;
}

.footer-col a {
  color: #0c0c0c;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top:
    1px solid
    rgba(12, 12, 12, 0.15);

  padding-top: 24px;

  text-align: center;

  font-size: 0.8rem;

  opacity: 0.6;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1024px) {

  .navbar {
    padding:
      0
      24px;
  }

  .nav-left {
    gap: 24px;
  }

  .nav-right {
    gap: 18px;
  }

  .work-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 768px) {

  .navbar {
    height: 56px;

    padding:
      0
      20px;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .nav-left {
    gap: 18px;
  }

  .nav-right {
    gap: 12px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-subcopy {
    font-size: 0.85rem;
  }

  .brands {
    padding:
      56px
      20px;
  }

  .marquee-track img {
    height: 90px;
    width: 120px;
  }

  .works-preview {
    padding:
      70px
      20px
      90px;
  }

  .work-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .site-footer {
    padding:
      64px
      24px
      32px;
  }

}


@media (max-width: 480px) {
    
    .hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
}
   .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

  .nav-right a:first-child {
    display: none;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card-wide {
    grid-column: auto;
  }

  .work-card-wide .work-cover {
    aspect-ratio: 1 / 1;
  }

}

/* =========================================================
   HERO BACKGROUND IMAGE — FINAL OVERRIDE
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

@media (max-width: 480px) {

  .hero {
    height: 100vh !important;
    min-height: 650px !important;

    background-image: url("images/works/Nike.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .hero-content {
    width: 100%;
    padding: 0 28px;
  }

  .hero-eyebrow {
    margin-bottom: 30px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.08;
  }

  .hero-subcopy {
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .scroll-hint {
    bottom: 22px;
  }

}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.6);

  z-index: 1;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 2;

  text-align: center;
  color: white;

  max-width: 1000px;
  padding: 0 30px;
}

.hero-eyebrow {
  margin-bottom: 45px;

  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.hero-content h1 {
  margin: 0 auto;

  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
}

.hero-subcopy {
  margin: 45px auto 0;

  max-width: 800px;

  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}


/* =========================================================
   SCROLL HINT
   ========================================================= */

.scroll-hint {
  position: absolute;

  bottom: 28px;
  left: 50%;

  transform: translateX(-50%);

  text-align: center;

  font-size: 0.75rem;
  color: #F0EEE9;

  opacity: 0.5;

  z-index: 3;

  pointer-events: none;
}

.scroll-hint .arrow {
  display: block;

  font-size: 1.2rem;

  margin-top: 4px;
}


/* =========================================================
   MOBILE HERO
   ========================================================= */

@media (max-width: 480px) {

  .hero {
    height: 100svh;
    min-height: 650px;

    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    width: 100%;
    padding: 0 28px;
  }

  .hero-eyebrow {
    margin-bottom: 30px;

    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.08;
  }

  .hero-subcopy {
    margin-top: 30px;

    font-size: 1rem;
    line-height: 1.45;
  }

  .scroll-hint {
    bottom: 22px;
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .hero {
    height: 100vh !important;
    min-height: 650px !important;

    background-image: url("images/works/Nike.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero-overlay {
    z-index: 1 !important;
  }

  .scroll-hint {
    z-index: 3 !important;
  }

}