:root {
  --ink: #160706;
  --navy: #0b2758;
  --paper: #fffaf0;
  --ivory: #f8f1df;
  --cream: #f5e2bf;
  --sky: #6fb8d8;
  --denim: #244f86;
  --red: #d22918;
  --tomato: #ef4a25;
  --leaf: #6a9b45;
  --grass: #9fbe52;
  --petal: #f7b6a0;
  --mist: #d8eef2;
  --line: rgba(22, 7, 6, 0.24);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #050302 0 84px, var(--ivory) 84px 44%, #071823 100%);
  font-family: "Oswald", Arial, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 226, 190, 0.08);
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.96), rgba(5, 4, 3, 0.74));
  color: #fff8d6;
  transition: transform 240ms ease;
}
.site-nav.hidden { transform: translateY(-110%); }
.brand-mark {
  color: #fff8d6;
  font-size: 1.38rem;
  letter-spacing: 0.18em;
  text-decoration: none;
}
.nav-links { display: flex; justify-content: center; gap: clamp(12px, 2vw, 24px); }
.nav-links a, .nav-pill {
  color: #d7bfa0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-pill:hover { color: #fff7e8; }
.nav-pill {
  padding: 8px 15px;
  border: 1px solid rgba(255, 226, 190, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.competition-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(360px, 1.26fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding: clamp(110px, 12vw, 160px) max(20px, calc((100% - var(--max)) / 2)) 84px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98), rgba(255, 250, 240, 0.88) 36%, rgba(255, 250, 240, 0.36) 68%, rgba(255, 250, 240, 0.08)),
    linear-gradient(180deg, rgba(255,250,240,0.14), rgba(255,250,240,0.06) 70%, var(--ivory) 100%),
    url("images/fashion-archive/old-navy-clo-display/01-Running-Off-Set-NuhTarEe-x-Old-Navy.jpg") center 44% / cover no-repeat;
}
.competition-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.56;
  background:
    radial-gradient(circle at 80% 18%, rgba(255,255,255,0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 11% 76%, rgba(255,255,255,0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 58% 62%, rgba(255,255,255,0.9) 0 2px, transparent 4px);
  pointer-events: none;
}
.sun-band {
  position: absolute;
  inset: 84px 0 auto;
  height: 78px;
  background:
    linear-gradient(180deg, rgba(210, 41, 24, 0.9) 0 8px, transparent 8px 100%),
    linear-gradient(180deg, rgba(11, 39, 88, 0.12), rgba(255, 250, 240, 0)),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.82) 0 74px, rgba(111, 184, 216, 0.22) 74px 76px, rgba(159, 190, 82, 0.18) 76px 78px);
  border-bottom: 3px solid rgba(210, 41, 24, 0.58);
  opacity: 0.76;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 44px);
  border: 3px solid var(--ink);
  background: rgba(255, 249, 232, 0.9);
  box-shadow: 12px 12px 0 var(--navy);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(5rem, 11vw, 11.2rem);
  line-height: 0.78;
  letter-spacing: 0.01em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
}
p { font-size: 1.08rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  padding: 10px 16px;
  color: var(--paper);
  border: 2px solid var(--ink);
  background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button.secondary { color: var(--ink); background: var(--sky); }
.hero-scene {
  position: relative;
  z-index: 2;
  min-height: clamp(480px, 56vw, 760px);
  perspective: 1200px;
}
.hero-render {
  position: absolute;
  border: 0;
  border-radius: 2px;
  background: var(--paper);
  padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px) clamp(38px, 4.2vw, 60px);
  box-shadow:
    0 18px 35px rgba(22, 7, 6, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.75) inset;
  filter: saturate(1.04) contrast(1.02);
  transform-origin: 50% 60%;
}
.hero-render::selection { background: transparent; }
.hero-render.primary {
  right: 0;
  bottom: 6%;
  width: min(74%, 780px);
  transform: rotate(3deg);
}
.hero-render.secondary {
  top: 8%;
  left: 0;
  width: min(54%, 520px);
  transform: rotate(-5deg);
}
.garden-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
  border-block: 6px solid var(--ink);
}
.garden-strip img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}
.campaign-section, .texture-section, .lookbook-section, .system-section {
  padding: clamp(72px, 9vw, 130px) max(20px, calc((100% - var(--max)) / 2));
}
.campaign-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(245, 226, 191, 0.84)),
    url("images/fashion-archive/old-navy-clo-display/20-Floral-2-12-x-12_edited.jpg") center / 620px repeat;
}
.lookbook-section {
  background:
    radial-gradient(circle at 50% 0, rgba(111, 184, 216, 0.18), transparent 34rem),
    linear-gradient(180deg, #081825, #050403);
  color: var(--paper);
}
.texture-section {
  background:
    linear-gradient(180deg, rgba(255,250,240,0.96), rgba(248,241,223,0.92)),
    radial-gradient(circle at 15% 16%, rgba(111,184,216,0.2), transparent 28rem);
}
.system-section {
  background:
    linear-gradient(90deg, rgba(255,250,240,0.94), rgba(255,250,240,0.72)),
    url("images/fashion-archive/old-navy-clo-display/22-Floral-4-12-x-12.jpg") center / 540px repeat;
}
.system-section .section-copy {
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: clamp(24px, 4vw, 46px);
  text-align: center;
}
.system-section .section-copy h2 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(3.8rem, 7.2vw, 7.8rem);
  line-height: 0.86;
}
.system-section .section-copy p {
  max-width: 800px;
  margin-inline: auto;
}
.section-copy {
  max-width: 820px;
  margin-bottom: 34px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: rgba(255, 249, 232, 0.9);
}
.section-copy.dark {
  border-color: rgba(255, 239, 179, 0.28);
  background: rgba(5, 4, 3, 0.72);
}
.section-copy.dark h2 { color: #fff6d9; }
.section-copy.dark p { color: #e4c9a2; }
.shoot-grid, .lookbook-grid, .flat-wall, .detail-stack, .video-lab, .texture-gallery {
  display: grid;
  gap: 16px;
}
.shoot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.shoot-grid .wide { grid-column: span 2; grid-row: span 2; }
.lookbook-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.video-lab {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin: 0 0 32px;
}
.texture-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  margin-bottom: clamp(28px, 5vw, 58px);
}
.texture-video {
  overflow: hidden;
  border: 3px solid var(--ink);
  background: #050403;
  box-shadow: 12px 12px 0 var(--red);
  aspect-ratio: 16 / 9;
}
.texture-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.08) contrast(1.04);
}
.texture-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  border: 3px solid var(--ink);
  background: rgba(255, 249, 232, 0.94);
  box-shadow: 12px 12px 0 var(--navy);
}
.texture-copy h2 {
  color: var(--navy);
  font-size: clamp(3.2rem, 6vw, 6.4rem);
}
.texture-gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}
.texture-gallery figure {
  aspect-ratio: 1;
  min-height: 0;
}
.texture-gallery figure img {
  object-fit: cover;
}
.video-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: #050403;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050403;
  filter: saturate(1.06) contrast(1.04);
}
.video-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(16px, 2vw, 24px);
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(11, 39, 88, 0.32), rgba(5, 4, 3, 0.92)),
    #050403;
}
.video-copy .eyebrow {
  margin-bottom: 8px;
  color: var(--sky);
}
.video-copy h3 {
  margin: 0 0 12px;
  color: #fff6d9;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.video-copy p:last-child {
  margin-bottom: 0;
  color: #e4c9a2;
  font-size: 0.98rem;
}
.system-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(14px, 2vw, 24px);
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 7, 6, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(22, 7, 6, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(255, 249, 232, 0.94);
  box-shadow: 12px 12px 0 rgba(11, 39, 88, 0.8);
}
.flat-wall {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
}
.detail-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}
figure {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(22, 7, 6, 0.18);
}
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 320ms ease, filter 320ms ease;
}
figure:hover img { filter: saturate(1.06) contrast(1.04); transform: scale(1.018); }
.flat-wall figure {
  display: grid;
  aspect-ratio: 3 / 4;
  min-height: 0;
  place-items: center;
  border: 1px solid rgba(22, 7, 6, 0.34);
  background: rgba(255, 249, 232, 0.74);
  box-shadow: none;
}
.flat-wall figure img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}
.flat-wall figure:hover img {
  filter: contrast(1.04);
  transform: scale(1.012);
}
.lookbook-grid figure img { object-fit: contain; background: var(--paper); }
.detail-stack figure { aspect-ratio: 4 / 3; }
.detail-stack figure img { object-fit: cover; }
.site-footer {
  padding: 40px 20px;
  color: #d7bfa0;
  text-align: center;
  background: #050403;
}
.site-footer p { margin: 0; font-size: 0.92rem; letter-spacing: 0.08em; }
.closing-statement {
  padding: clamp(70px, 9vw, 124px) max(20px, calc((100% - var(--max)) / 2));
  color: var(--ink);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(248,241,223,0.98), rgba(255,250,240,0.98) 48%, rgba(216,238,242,0.8));
}
.closing-statement p {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: rgba(255, 249, 232, 0.9);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
}
.closing-statement h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(4rem, 10vw, 10rem);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 64px 20px 24px;
  background: rgba(0,0,0,0.88);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(94vw, 1500px); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 8px 14px;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  background: rgba(5,4,3,0.86);
  font-family: "Oswald", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .competition-hero, .texture-feature, .system-layout { grid-template-columns: 1fr; }
  .hero-scene { min-height: 580px; }
  .shoot-grid, .lookbook-grid, .video-lab, .texture-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flat-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .competition-hero { padding-top: 106px; }
  .hero-copy { box-shadow: 8px 8px 0 var(--red); }
  .hero-scene { min-height: 480px; }
  .hero-render.primary { width: 88%; }
  .hero-render.secondary { width: 62%; }
  .garden-strip, .shoot-grid, .lookbook-grid, .flat-wall, .video-lab, .texture-gallery, .detail-stack { grid-template-columns: 1fr; }
  .shoot-grid .wide { grid-column: auto; grid-row: auto; }
}
