/* ============================================================
   Lindsay Blair — Graphic Design Portfolio
   Stylesheet
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* -------------------- Tokens -------------------- */
:root {
  --bg: #0a0a0a;
  --bg-raised: #141412;
  --bg-raised-2: #1b1b18;
  --fg: #f5f5f2;
  --fg-dim: #9a9a95;
  --fg-faint: #626260;
  --line: rgba(245, 245, 242, 0.12);
  --line-strong: rgba(245, 245, 242, 0.24);
  --gold: #c9a227;
  --gold-dim: #8a7220;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --nav-h: 84px;
  --gutter: clamp(24px, 5vw, 64px);
  --max: 1320px;
}

/* -------------------- Base -------------------- */
html,
body {
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  padding-top: var(--nav-h);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   NAVIGATION —
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  position: relative;
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--fg);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-links a[aria-current="page"] {
  color: var(--fg);
}


.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 32px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 600;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span {
  top: 10px;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

/* ============================================================
   FOOTER — 
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--gutter) 48px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

/* ============================================================
   TYPOGRAPHY 
   ============================================================ */
.eyebrow {
  font-size: 22px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.display {
  padding-top: 50px;
  font-size: clamp(24px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--gold);
}

.display1 {
  padding-top: 50px;
  font-size: clamp(24px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--gold);
  text-align: center;
}

.display3 {
  font-size: clamp(24px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--gold);
  padding-top: 0px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  padding-top: 0px;
  padding-bottom: 15px;
}

p {
  max-width: 62ch;
}

.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--fg-dim);
  font-weight: 400;
  line-height: 1.55;
}

/* ============================================================
   Home page
   ============================================================ */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.hero-copy .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.hero-copy .display {
  margin-bottom: 22px;
}

.hero-copy .lede {
  max-width: 46ch;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-self: end;
  text-align: right;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 36px);
}

.hero-meta .label {
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.03em;
}

.hero-meta .value {
  font-size: 15px;
  color: var(--fg);
}


/* ============================================================
   PROJECT CARDS — 
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  padding-top: 40px;
  text-align: center;
  font-size: xx-large;
}

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.project-image-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.nirvanacover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.03);
}

.project-card:hover .project-title {
  color: #c9a227;
  transform: scale(1.03);
}

.project-info {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0;
  transition: color 0.2s ease;
}

.project-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */

.luxe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: 0 auto;
  gap: 20px;
  align-content: center;
  border-radius: 8px;
}

.luxe-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 16 / 9;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  margin: auto;
  padding-left: 25px;
}

.album-grid img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.umoma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  max-width: 1200px;
  margin: auto;
}

.umoma-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.retro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  max-width: 1200px;
  margin: auto;
}

.retro-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  max-width: 1200px;
  margin: auto;
}

.photos-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.rollingstoneimage img {
  width: 50%;
  height: 75%;
  margin: auto;
}

.project-hero {
  padding: clamp(44px, 8vw, 88px) 0 clamp(32px, 6vw, 60px);
  border-bottom: 1px solid var(--line);
}

.project-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 30px;
}

.project-hero .back-link:hover,
.project-hero .back-link:focus-visible {
  color: var(--gold);
}

.project-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}

.project-hero .display {
  font-size: clamp(38px, 6.5vw, 76px);
}

.project-meta {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 18px;
}

.project-meta dt {
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.project-meta dd {
  font-size: 15px;
}

.project-intro {
  padding: clamp(40px, 7vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.project-intro .wrap {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: clamp(24px, 5vw, 64px);
}

.project-intro .eyebrow {
  padding-top: 6px;
}

.project-intro p {
  color: var(--fg-dim);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 64ch;
}

.project-intro p+p {
  margin-top: 16px;
}



/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
}

d .contact-details dl {
  margin-top: 32px;
  display: grid;
  gap: 22px;
}

.contact-details dt {
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.contact-details dd a {
  font-size: 17px;
  border-bottom: 1px solid var(--line-strong);
}

.contact-details dd a:hover,
.contact-details dd a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}


.masked-text {
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
  color: transparent;
  background-image: url('https://images.unsplash.com/photo-1732535725600-f805d8b33c9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-size: 200%;
  background-position: 0 50%;
  background-clip: text;
  animation: animate-background 5s infinite alternate linear;
}

@keyframes animate-background {
  0% {
    background-position: 0% 25%;
  }

  100% {
    background-position: 100% 75%;
  }
}

  /* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
  @media (max-width: 900px) {
    .hero .wrap {
      grid-template-columns: 1fr;
    }
  
    .hero-meta {
      border-left: none;
      padding-left: 0;
      align-items: flex-start;
      justify-self: start;
      text-align: left;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 28px;
      border-top: 1px solid var(--line);
      padding-top: 24px;
    }

    .bio .wrap {
      grid-template-columns: 1fr;
    }

    .bio-photo {
      max-width: 360px;
    }

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

    .project-hero-grid {
      grid-template-columns: 1fr;
      align-items: start;
    }

    .project-meta {
      border-left: none;
      padding-left: 0;
      border-top: 1px solid var(--line);
      padding-top: 24px;
      grid-template-columns: repeat(3, 1fr);
    }

    .project-intro .wrap {
      grid-template-columns: 1fr;
    }

    .project-gallery .gallery-row {
      grid-template-columns: 1fr;
    }

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

    .bio-facts {
      grid-template-columns: repeat(3, 1fr);
    }


    /* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
   @media (max-width: 640px) { 
  :root { 
    --nav-h: auto; 
  } 
  .main-content, main, .hero {
    
    margin-top: 250px; 
  }
  .contact-details{
    padding-left: 30px;
  }
    .nav-links li, 
  .nav-links a {
    display: block !important;
  }
}
  .nav-toggle,
  .nav-toggle-label { 
    display: none !important; 
  } 

  .nav-links { 
    display: flex; 
    position: static; 
    background: var(--bg); 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 0; 
    padding: 8px var(--gutter) 40px; 
    

    transform: none !important; 
    opacity: 1 !important; 
    pointer-events: auto !important; 
    transition: none !important; 
    overflow-y: visible; 
  } 

  .nav-links a { 
    width: 100%; 
    padding: 18px 0; 
    border-bottom: 1px solid var(--line); 
    font-size: 17px; 
  } 

  .hero-meta { 
    flex-direction: column; 
    gap: 16px; 
    position: relative;
  } 
  
  .preview-grid, .portfolio-grid { 
    grid-template-columns: 1fr; 
  } 
  
  .bio-facts { 
    grid-template-columns: 1fr; 
    gap: 18px; 
  } 
  
  .project-meta { 
    grid-template-columns: 1fr; 
  } 
  
  .form-row { 
    grid-template-columns: 1fr; 
  } 
  
  .site-footer .wrap { 
    flex-direction: column; 
    align-items: flex-start; 
  } 
  
  .project-next .wrap { 
    flex-direction: column; 
    align-items: flex-start; 
  } 
}
footer {
  display: none
}

    /* -------------------- Reduced motion -------------------- */
    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    