:root {
  --bg: #0b0b0a;
  --surface: #11110f;
  --text: #f1eee6;
  --muted: #99958b;
  --faint: #5f5c55;
  --line: rgba(241, 238, 230, 0.11);
  --gold: #D4AF37;
  --gold-bright: #dfbd43;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}


/* =========================================
   GLOBAL
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}


/* =========================================
   BACKGROUND
========================================= */

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.025;

  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================
   NAVIGATION
========================================= */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 10;

  background: rgba(11, 11, 10, 0.78);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid transparent;

  transition: 0.35s var(--ease);
}

.nav-wrap.scrolled {
  border-color: var(--line);
}

.nav {
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.nav-logo-bar 
{
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;

}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand span,
.eyebrow,
.hero-kicker span {
  color: var(--gold);
}

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

  color: var(--muted);
  font-size: 0.86rem;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.menu-toggle {
  display: none;

  background: none;
  border: 0;

  color: var(--text);
}


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

.hero {
  min-height: 92vh;

  padding-top: 150px;
  padding-bottom: 90px;

  display: grid;
  grid-template-columns: 1fr 220px;
  column-gap: 60px;
  align-items: start;
  margin-top: 2em;

  border-bottom: 1px solid var(--line);
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
}

.hero-headshot {
  grid-column: 2;
  grid-row: 1;
  width: 200px;
  height: 200px;
  justify-self: end;
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 6px;
  overflow: hidden;
  margin-top: 4em;
  
}

.hero-headshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  object-position: center 86%;
}



.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;

  font-size: 0.7rem;

  color: var(--muted);

  margin-bottom: 30px;
}

.hero-kicker span {
  display: inline-block;

  width: 28px;
  height: 1px;

  margin-right: 10px;

  vertical-align: middle;
}

.hero h1 {
  max-width: 1000px;

  font-size: clamp(4rem, 9vw, 8.6rem);
  line-height: 0.9;

  letter-spacing: -0.075em;

  font-weight: 650;
}

.hero h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 450;
}

.hero-copy {
  max-width: 610px;

  color: var(--muted);

  font-size: 1.08rem;

  margin-top: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;

  gap: 24px;

  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;

  gap: 18px;

  padding: 13px 19px;

  font-size: 0.84rem;

  border: 1px solid var(--line);

  transition: 0.3s var(--ease);
}

.button-primary {
  background: var(--gold);
  color: #0b0b0a;
  margin-top: 10px;

  border-color: var(--gold);

  font-weight: 650;
}

.button-primary:hover {
  background: var(--gold-bright);

  transform: translateY(-2px);
}

.button-quiet {
  color: var(--muted);

  border-color: transparent;

  padding-left: 0;
}

.button-quiet:hover {
  color: var(--text);
}

.hero-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 50px;
  padding-top: 70px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}

.hero-meta span {
  color: var(--gold);

  margin-right: 9px;
}


/* =========================================
   SECTIONS
========================================= */

.section {
  padding-block: 130px;
}

.section-heading {
  max-width: 720px;

  margin-bottom: 55px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;

  font-size: 0.67rem;

  margin-bottom: 17px;
  margin-top: 17px;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);

  line-height: 0.96;

  letter-spacing: -0.06em;

  font-weight: 600;
}

.section-heading > p:last-child {
  color: var(--muted);

  margin-top: 24px;

  max-width: 540px;
}


/* =========================================
   PROJECTS
========================================= */

.project-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.project-card {
  background: var(--surface);

  border: 1px solid var(--line);

  transition:
    transform 0.45s var(--ease),
    border-color 0.45s ease;
}

.project-card:hover {
  transform: translateY(-6px);

  border-color: rgba(201, 162, 39, 0.45);
}

.project-featured {
  grid-column: 1 / -1;

  display: grid;

  grid-template-columns: 1.35fr 1fr;
}

.project-media {
  min-height: 350px;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(201, 162, 39, 0.13),
      transparent 42%
    ),
    radial-gradient(
      circle at 70% 40%,
      rgba(201, 162, 39, 0.13),
      transparent 30%
    ),
    #151512;
}

.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.project-card:not(.project-featured) .project-media {
  min-height: 270px;
}

.project-media::after {
  content: "";

  position: absolute;

  inset: 15px;

  border: 1px solid rgba(241, 238, 230, 0.06);

  pointer-events: none;
}

.project-number {
  position: absolute;

  top: 22px;
  left: 24px;

  color: var(--gold);

  font-size: 0.7rem;

  letter-spacing: 0.15em;

  z-index: 1;
}

.media-label {
  position: absolute;

  right: 24px;
  bottom: 22px;

  color: var(--muted);

  font-size: 0.67rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  z-index: 1;
}

.project-info {
  padding: 38px;
}

.project-type {
  color: var(--gold);

  font-size: 0.66rem;

  text-transform: uppercase;

  letter-spacing: 0.16em;

  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 1.8rem;

  letter-spacing: -0.04em;

  margin-bottom: 14px;
}

.project-info > p:not(.project-type) {
  color: var(--muted);

  font-size: 0.92rem;

  max-width: 520px;
}

.tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 24px;
}

.tags span {
  border: 1px solid var(--line);

  padding: 5px 9px;

  color: var(--faint);

  font-size: 0.65rem;
}


/* =========================================
   RESEARCH
========================================= */

.section-dark {
  background: var(--surface);

  border-block: 1px solid var(--line);
}

.research-layout {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 100px;

  align-items: end;
}

.research-copy {
  padding-bottom: 5px;
}

.research-copy p {
  color: var(--muted);

  font-size: 1.05rem;

  max-width: 520px;
}

.text-link {
  display: inline-block;

  margin-top: 30px;

  color: var(--gold);

  border-bottom: 1px solid rgba(201, 162, 39, 0.4);

  padding-bottom: 5px;

  font-size: 0.85rem;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;
}

.about-lead {
  font-size: clamp(1.8rem, 3vw, 2.8rem);

  line-height: 1.1;

  letter-spacing: -0.04em;
}

.about-copy {
  color: var(--muted);

  max-width: 540px;
}

.about-copy p + p {
  margin-top: 20px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
  background: #0f0f0d;

  border-top: 1px solid var(--line);
}

.contact {
  padding-bottom: 40px;
}

.contact > p:not(.eyebrow) {
  color: var(--muted);

  max-width: 520px;

  margin-top: 22px;
}

.contact-email {
  display: inline-flex;

  gap: 20px;

  margin-top: 45px;

  font-size: clamp(1.2rem, 3vw, 2rem);

  border-bottom: 1px solid var(--gold);

  padding-bottom: 7px;
}

.contact-email span {
  color: var(--gold);
}

.socials {
  display: flex;

  gap: 25px;

  margin-top: 45px;

  color: var(--muted);

  font-size: 0.82rem;
}

.socials a {
  transition: color 0.25s ease;
}

.socials a:hover {
  color: var(--gold-bright);
}


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

.footer {
  border-top: 1px solid var(--line);

  padding-block: 24px;

  display: flex;

  justify-content: space-between;

  color: var(--faint);

  font-size: 0.7rem;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


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

@media (max-width: 800px) {

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 30px;
  }

  .hero-headshot {
    width: 130px;
    height: 130px;

    order: 1;

    align-self: center;
    margin-bottom: 1em;
    flex-shrink: 0;
  }

  .hero-content {
    order: 2;
    width: 100%;
  }

  .hero-meta {
    order: 3;
    width: 100%;

    display: flex;
    gap: 20px;
    padding-top: 30px;

    flex-wrap: wrap;
  }

  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .nav {
    height: 68px;
  }

  .nav-links {
    position: absolute;

    top: 68px;
    left: 15px;
    right: 15px;

    display: none;

    flex-direction: column;

    gap: 0;

    padding: 10px;

    background: rgba(17, 17, 15, 0.97);

    border: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

  .nav-links a {
    padding: 14px;
  }

  .menu-toggle {
    display: flex;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 23px;
    height: 1px;

    background: var(--text);
  }

  .hero {
    min-height: auto;

    padding-top: 145px;
    padding-bottom: 65px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 6rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-meta {
    gap: 20px;

    padding-top: 65px;

    flex-wrap: wrap;
  }

  .section {
    padding-block: 90px;
  }

  .project-grid,
  .project-featured,
  .research-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    display: block;
  }

  .project-media,
  .project-card:not(.project-featured) .project-media {
    min-height: 250px;
  }

  .project-info {
    padding: 28px;
  }

  .research-layout,
  .about-grid {
    gap: 45px;
  }

  .footer {
    gap: 15px;

    flex-direction: column;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }
}


/* =========================================
   PROJECT MEDIA
   ========================================= */

.project-media-section {
  margin-top: 3rem;
  margin-bottom: 5rem;
}

/* Slideshow */

.project-slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.project-slideshow .slide {
  width: min(900px, 80vw);
  height: min(560px, 55vw);

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

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.025);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

.project-slideshow .slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  border-radius: 10px;
}

/* Slideshow arrows */

.slide-button {
  width: 48px;
  height: 48px;

  flex: 0 0 48px;

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

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.04);
  color: inherit;

  font-size: 1.2rem;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.slide-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.slide-button:active {
  transform: scale(0.96);
}

/* Counter */

.slide-counter {
  margin-top: 1rem;

  text-align: center;

  font-size: 0.8rem;
  letter-spacing: 0.12em;

  opacity: 0.6;
}


/* =========================================
   PDF / DOCUMENT VIEWER
   ========================================= */

.project-section-content iframe {
  display: block;

  width: min(100%, 1000px);
  height: 650px;

  margin: 3rem auto 0;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  background: #111;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

/* =======================================
  LIsts
================================= */
.project-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}

.project-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.project-list li::before {
  content: "~";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.project-video {
  max-width: 900px;
  margin: 0 auto;
}

.project-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}

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

@media (max-width: 768px) {

  .project-slideshow {
    gap: 0.5rem;
  }

  .project-slideshow .slide {
    width: calc(100vw - 110px);
    height: 55vw;

    min-height: 220px;
  }

  .slide-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;

    font-size: 1rem;
  }

  .project-section-content iframe {
    height: 450px;
  }

}

