:root {
  --paper: #fff4c4;
  --ink: #171714;
  --acid: #d7ff45;
  --orange: #ff5c35;
  --line: rgba(23, 23, 20, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f4ff45 0%, #ffc33d 38%, #ff7438 72%, #ee3124 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  color: var(--paper);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  border-bottom: 1px solid rgba(255, 244, 196, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  font-weight: 700;
  letter-spacing: -0.06em;
  font-size: 1.05rem;
}

.brand span { font-weight: 400; }
.brand i {
  position: absolute;
  top: -2px;
  right: -11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.main-nav { display: flex; align-items: stretch; height: 88px; }

.nav-dropdown { position: relative; height: 88px; }
.nav-dropdown > .nav-link { height: 100%; }
.nav-dropdown .nav-link i { margin-left: .1rem; font-style: normal; transition: transform 180ms ease; }
.nav-dropdown:hover .nav-link i,
.nav-dropdown:focus-within .nav-link i { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 190px;
  padding: .55rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(255, 244, 196, .2);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav-submenu a { display: block; padding: .75rem .8rem; font-size: .75rem; border-radius: 2px; transition: color 160ms ease, background 160ms ease, padding 160ms ease; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { padding-left: 1rem; color: var(--ink); background: var(--acid); }

.header-socials {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-socials a {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.header-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.header-socials svg rect,
.header-socials svg circle:not(.icon-fill) { fill: none; }
.header-socials .play { fill: var(--paper); stroke: none; }

.header-socials a > span {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  padding: 0.35rem 0.5rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
  font: 400 0.6rem "DM Mono", monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.header-socials a:hover,
.header-socials a:focus-visible {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.header-socials a:hover > span,
.header-socials a:focus-visible > span { opacity: 1; transform: translate(-50%, 0); }

.nav-link {
  position: relative;
  min-width: 108px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 220ms ease;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  z-index: -1;
  background: var(--acid);
  transition: height 240ms cubic-bezier(.2,.7,.2,1);
}

.nav-link span {
  font: 400 0.6rem "DM Mono", monospace;
  opacity: 0.5;
  transition: opacity 220ms ease;
}

.nav-link:hover, .nav-link:focus-visible { color: var(--ink); }
.nav-link:hover::before, .nav-link:focus-visible::before { height: 100%; }
.nav-link:hover span { opacity: 1; color: var(--orange); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.menu-button { display: none; }
.section { min-height: 100vh; padding: 140px 7vw 80px; }

.hero { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #f4ff45 0%, #ffd23f 100%); }
.eyebrow {
  font: 500 0.72rem "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { content: "✦"; color: var(--orange); margin-right: 0.7rem; }

.hero-title {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(4rem, 7.3vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  font-weight: 500;
}
.hero-title span {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.hero-pitch {
  max-width: 720px;
}
.hero-pitch h1 {
  margin: 0 0 1.8rem;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 500;
}
.hero-pitch p {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.45;
  font-weight: 500;
}
.hero-pitch p + p {
  margin-top: 1rem;
}

.hero-stage {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 3vw, 4rem);
  align-items: center;
}

.photo-carousel {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}
.photo-track { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.photo-slide {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: repeating-linear-gradient(135deg, #171714 0, #171714 3px, #25251f 3px, #25251f 15px);
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.7,.2,1);
}
.photo-slide.active { opacity: 1; transform: none; }
.photo-number { position: absolute; top: 1.5rem; left: 1.5rem; font: 400 .7rem "DM Mono", monospace; }
.photo-slide p { position: absolute; right: 1.5rem; bottom: 1.5rem; margin: 0; font: 400 .63rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
.photo-mark { width: 38%; aspect-ratio: 1; border: 1px solid rgba(255,244,196,.65); border-radius: 50%; }
.photo-mark::before, .photo-mark::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34%; height: 1px; background: rgba(255,244,196,.65); transform: translate(-50%, -50%); }
.photo-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.photo-controls { padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; }
.photo-status { font: 400 .65rem "DM Mono", monospace; }
.photo-status b { font-weight: 500; }
.photo-controls button { width: 42px; height: 42px; margin-left: .35rem; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.photo-controls button:hover { color: var(--paper); background: var(--ink); transform: scale(1.06); }

.round-link {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 240ms ease, background 240ms ease;
}
.round-link:hover { transform: rotate(-25deg); background: var(--acid); }
.round-link svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.projects { background: linear-gradient(180deg, #ffd23f 0%, #ff8738 100%); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr auto; align-items: end; margin-bottom: 5rem; }
.section-heading p, .section-heading span { margin: 0 0 1rem; font: 400 0.7rem "DM Mono", monospace; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(4rem, 9vw, 8rem); line-height: 0.8; letter-spacing: -0.065em; font-weight: 500; }

.project {
  display: grid;
  grid-template-columns: 0.5fr 3fr 0.7fr auto;
  gap: 1rem;
  align-items: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--ink);
  transition: padding 220ms ease, background 220ms ease, color 220ms ease;
}
.project:last-child { border-bottom: 1px solid var(--ink); }
.project-number, .project-year { font: 400 0.7rem "DM Mono", monospace; }
.project h3 { margin: 0 0 0.35rem; font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -0.045em; }
.project p { margin: 0; opacity: 0.65; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.project-arrow { font-size: 1.5rem; transition: transform 220ms ease; }
.project:hover { padding-inline: 2rem; background: var(--ink); color: var(--paper); }
.project:hover .project-arrow { transform: rotate(45deg); color: var(--acid); }

.social { color: var(--paper); background: var(--ink); }
.section-heading.light { border-bottom: 1px solid rgba(241,239,232,.25); padding-bottom: 2rem; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(241,239,232,.25); }
.social-grid a {
  min-height: 290px;
  padding: 2rem;
  background: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: clamp(1.5rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  transition: background 220ms ease, color 220ms ease;
}
.social-grid b { font-weight: 400; transition: transform 220ms ease; }
.social-grid a:hover { background: var(--orange); color: var(--ink); }
.social-grid a:hover b { transform: translate(5px, -5px); }

.contact-panel {
  margin-top: 7rem;
  padding: clamp(2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--ink);
  background: linear-gradient(135deg, #ff9d38 0%, #ed2b24 100%);
}
.contact-copy h3 { margin: 3rem 0 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .88; letter-spacing: -.065em; font-weight: 500; }
#contact-form { display: grid; gap: 1.6rem; }
#contact-form label { display: grid; gap: .55rem; }
#contact-form label > span { font: 500 .65rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
#contact-form input, #contact-form textarea {
  width: 100%;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: none;
  resize: vertical;
}
#contact-form input:focus, #contact-form textarea:focus { border-bottom-width: 2px; }
#contact-form button {
  min-height: 56px;
  padding: 0 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font: 600 .78rem "Manrope", sans-serif;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
#contact-form button:hover { color: var(--ink); background: var(--acid); }
.form-note { margin: -.8rem 0 0; font: 400 .6rem "DM Mono", monospace; opacity: .7; }
.social-footer { margin-top: 4rem; display: flex; justify-content: space-between; font: 400 0.7rem "DM Mono", monospace; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 760px) {
  .site-header { justify-content: space-between; min-height: 72px; }
  .menu-button {
    order: 3;
    width: 44px; height: 44px; display: grid; place-content: center; gap: 6px;
    border: 0; background: none; cursor: pointer;
  }
  .header-socials { order: 2; margin-left: auto; margin-right: 0.25rem; gap: 0.3rem; }
  .header-socials a { width: 34px; height: 34px; }
  .header-socials a > span { display: none; }
  .menu-button span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--paper); transition: transform 200ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 72px; left: 0; width: 100%; height: auto;
    padding: 0 4vw 1.5rem; display: grid; color: var(--paper); background: var(--ink);
    border-bottom: 1px solid var(--line); transform: scaleY(0); transform-origin: top;
    opacity: 0; transition: transform 220ms ease, opacity 180ms ease;
  }
  .main-nav.open { transform: scaleY(1); opacity: 1; }
  .nav-link { min-height: 52px; justify-content: flex-start; border-bottom: 1px solid var(--line); }
  .nav-dropdown { height: auto; }
  .nav-dropdown > .nav-link { height: 52px; }
  .nav-submenu { position: static; width: 100%; padding: .25rem 0 .7rem 1.4rem; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .nav-link.active::after { left: auto; right: 1rem; bottom: 24px; }
  .section { padding: 110px 6vw 55px; }
  .hero-title { font-size: clamp(3.6rem, 18vw, 6rem); }
  .hero-stage { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-pitch h1 { font-size: clamp(2.65rem, 12vw, 4.6rem); }
  .hero-pitch p { font-size: 1rem; }
  .photo-carousel { width: 100%; justify-self: stretch; }
  .section-heading { grid-template-columns: 1fr auto; }
  .section-heading h2 { grid-row: 2; grid-column: 1; }
  .section-heading span { grid-row: 2; grid-column: 2; }
  .project { grid-template-columns: .35fr 2fr auto; }
  .project-year { display: none; }
  .social-grid { grid-template-columns: 1fr; }
  .social-grid a { min-height: 150px; }
  .contact-panel { margin-top: 4rem; grid-template-columns: 1fr; gap: 3rem; }
  .contact-copy h3 { margin-top: 2rem; }
  .social-footer { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
