:root {
  --ink: #17262b;
  --paper: #f5f0e8;
  --cream: #f8f3e9;
  --blue: #1d3e50;
  --gold: #c6a77b;
  --design-paper: #e3d6c1;
  --line: rgba(23, 38, 43, .2);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Josefin Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 500; line-height: 1.6; }
main { display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
.site-header {
  align-items: center;
  background: var(--blue);
  background-image: linear-gradient(rgba(29, 62, 80, .96), rgba(29, 62, 80, .96)), url("images/Final projects photos/texture image background.jpg");
  background-repeat: repeat;
  background-size: auto, 115px 115px;
  border-bottom: 1px solid rgba(23, 38, 43, 0.18);
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1480px;
  padding: 20px 5vw 18px;
  width: 100%;
}
.wordmark {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  max-width: 320px;
  min-width: 180px;
  transform: translateY(-2px);
  width: clamp(240px, 26vw, 340px);
}
.brand-logo {
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 110px;
  object-fit: contain;
  width: auto;
}
.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: clamp(9px, .7vw, 11px);
  gap: 34px;
  justify-content: flex-end;
  letter-spacing: .22em;
  margin: 0;
  text-transform: uppercase;
}
.nav a {
  color: rgba(248, 243, 233, 0.9);
  letter-spacing: .14em;
  padding: 8px 0 6px;
  position: relative;
  transition: color .2s ease, opacity .2s ease;
}
.nav a::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  width: 100%;
}
.nav a:hover::after, .nav a.current::after {
  transform: scaleX(1);
}
.nav a:hover, .nav a.current {
  color: var(--cream);
}
.eyebrow, .section-label { color: var(--blue); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.page-intro {
  min-height: 48vh;
  padding: 9vh 5vw 8vh;
}
.page-intro h1 { font-family: var(--serif); font-size: clamp(58px, 10vw, 145px); font-weight: 600; letter-spacing: -.06em; line-height: .87; margin: 22px 0 32px; max-width: 1000px; }
.page-intro h1 em { color: var(--blue); font-style: italic; }
.lede { font-size: 18px; line-height: 1.55; font-weight: 500; max-width: 500px; }
.content-band { background: var(--cream); padding: 100px 5vw 120px; }
.content-grid { display: grid; gap: 10vw; grid-template-columns: 1fr 1fr; }
.content-grid h2, .content-band h2 { font-family: var(--serif); font-size: clamp(42px, 6vw, 82px); font-weight: 600; letter-spacing: -.06em; line-height: .92; margin: 10px 0 0; }
.copy { font-size: 18px; line-height: 1.6; font-weight: 500; max-width: 500px; }
.copy p { margin: 0 0 24px; }
.text-link { border-bottom: 1px solid currentColor; display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding-bottom: 5px; text-transform: uppercase; }
.case-study { background: var(--design-paper); padding: 100px 5vw; }
.case-study { order: 1; }
.magic-shop { order: 2; }
.art-talk { order: 3; }
.beatfest { order: 4; }
.whinny-mane { order: 5; }
.get-lit { order: 6; }
.case-study + .case-study { margin-top: 20px; }
.case-study-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 22px; }
.case-study-heading h2 { color: var(--blue); font-family: var(--serif); font-size: clamp(42px, 6vw, 82px); font-weight: 600; letter-spacing: -.06em; line-height: .9; margin: 10px 0 0; }
.case-study-shell { display: grid; gap: 18px; }
.case-study-feature { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .9fr); }
.feature-media { background: rgba(23, 38, 43, .04); border: 1px solid rgba(23, 38, 43, .14); padding: 12px; }
.feature-copy { background: rgba(255, 255, 255, .12); border: 1px solid rgba(23, 38, 43, .16); padding: 20px 18px; }
.feature-tag { color: var(--blue); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; margin-bottom: 14px; text-transform: uppercase; }
.feature-copy p { font-size: 16px; line-height: 1.6; font-weight: 500; margin: 0; }
.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-list-item { border-top: 1px solid rgba(23, 38, 43, .2); padding-top: 18px; }
.feature-list-item strong { color: var(--blue); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }
.carousel { position: relative; }
.carousel-frame { background: var(--paper); overflow: hidden; }
.carousel-slide { display: none; height: min(64vh, 620px); }
.carousel-slide.active { display: block; }
.carousel-slide img { height: 100%; object-fit: contain; }
.carousel-slide img { cursor: zoom-in; }
.beatfest-carousel .carousel-frame { background: #6976a8; padding: 24px; }
.beatfest-carousel .carousel-slide { position: relative; }
.beatfest-carousel .carousel-slide img { background: var(--paper); }
.beatfest-caption { bottom: 12px; color: var(--cream); font-family: var(--mono); font-size: 10px; left: 14px; letter-spacing: .06em; position: absolute; text-transform: uppercase; }
.carousel-controls { align-items: center; display: flex; gap: 14px; justify-content: space-between; margin-top: 16px; }
.carousel-button { align-items: center; background: var(--ink); border: 0; border-radius: 50%; color: var(--cream); cursor: pointer; display: flex; font-size: 20px; height: 40px; justify-content: center; line-height: 1; width: 40px; }
.carousel-button:hover { background: var(--blue); }
.carousel-status { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.carousel-dots { display: flex; gap: 7px; margin-left: auto; }
.carousel-dot { background: transparent; border: 1px solid var(--ink); border-radius: 50%; cursor: pointer; height: 8px; padding: 0; width: 8px; }
.carousel-dot.active { background: var(--ink); }
.lightbox { background: rgba(23, 38, 43, .97); border: 0; color: var(--cream); height: 100vh; max-height: none; max-width: none; padding: 24px 5vw; width: 100vw; }
.lightbox::backdrop { background: rgba(23, 38, 43, .9); }
.lightbox-bar { align-items: center; display: flex; font-family: var(--mono); font-size: 10px; justify-content: space-between; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-close { background: transparent; border: 1px solid rgba(248, 243, 233, .7); border-radius: 50%; color: var(--cream); cursor: pointer; font-size: 24px; height: 38px; line-height: 1; width: 38px; }
.lightbox-stage { align-items: center; display: flex; gap: 20px; height: calc(100% - 42px); justify-content: center; }
.lightbox-image { height: 100%; max-width: calc(100% - 120px); object-fit: contain; width: auto; }
.lightbox-arrow { background: transparent; border: 1px solid rgba(248, 243, 233, .7); border-radius: 50%; color: var(--cream); cursor: pointer; flex: 0 0 auto; font-size: 20px; height: 42px; width: 42px; }
.lightbox-arrow:hover, .lightbox-close:hover { background: var(--cream); color: var(--ink); }
.project-grid { display: grid; gap: 42px 20px; grid-template-columns: repeat(12, 1fr); margin-top: 38px; }
.content-band { order: 7; }
.project-gallery .project { grid-column: span 4; }
.project-gallery .project.wide { grid-column: span 8; }
.project-gallery .project:nth-child(2), .project-gallery .project:nth-child(5) { grid-column: span 8; }
.project-gallery .project:nth-child(3), .project-gallery .project:nth-child(6) { grid-column: span 4; }
.project-story { display: grid; gap: 18px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.project-story .full-span { grid-column: 1 / -1; }
.project-story h3 { color: var(--blue); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; margin: 0 0 8px; text-transform: uppercase; }
.project-story p { font-size: 15px; line-height: 1.6; margin: 0; }
.project { grid-column: span 4; }
.project:nth-child(2), .project:nth-child(5) { grid-column: span 8; }
.project-image { background: var(--paper); overflow: hidden; }
.project:nth-child(1) .project-image, .project:nth-child(4) .project-image { aspect-ratio: 4 / 5; }
.project:nth-child(2) .project-image, .project:nth-child(5) .project-image { aspect-ratio: 16 / 9; }
.project:nth-child(3) .project-image, .project:nth-child(6) .project-image { aspect-ratio: 1 / 1; }
.project-image img { height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-image img { transform: scale(1.045); }
.project-meta { align-items: start; display: flex; justify-content: space-between; padding-top: 13px; }
.project-title { color: var(--blue); font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.project-type { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; margin-top: 5px; text-align: right; text-transform: uppercase; }
.gold-band { background-color: var(--gold); background-image: linear-gradient(rgba(198, 167, 123, .78), rgba(198, 167, 123, .78)), url("images/Final projects photos/texture image background.jpg"); background-repeat: repeat; background-size: auto, 115px 115px; padding: 110px 5vw 130px; }
.contact-band { background-color: #173c50; background-image: linear-gradient(rgba(23, 60, 80, .88), rgba(23, 60, 80, .88)), url("images/Final projects photos/texture image background.jpg"); background-position: center; background-repeat: repeat; background-size: auto, 115px 115px; color: var(--cream); min-height: 75vh; padding: 120px 5vw 45px; }
.contact-band .section-label { color: var(--gold); }
.contact-band h1 { font-family: var(--serif); font-size: clamp(60px, 10vw, 150px); font-weight: 600; letter-spacing: -.06em; line-height: .85; margin: 20px 0 90px; }
.contact-row { align-items: end; border-top: 1px solid rgba(255,253,248,.5); display: flex; gap: 32px; justify-content: space-between; padding-top: 22px; }
.contact-row a { border-bottom: 1px solid rgba(255,253,248,.7); font-family: var(--mono); font-size: 12px; padding-bottom: 4px; }
.contact-emails { display: grid; gap: 10px; }
.contact-meta { align-items: end; display: flex; flex-direction: column; gap: 14px; }
.chat-link {
  background: rgba(248, 243, 233, 0.12);
  border: 1px solid rgba(248, 243, 233, 0.6);
  border-radius: 999px;
  color: var(--cream);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.chat-link:hover {
  background: rgba(248, 243, 233, 0.2);
  transform: translateY(-1px);
}
.contact-row small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 22px 5vw 18px;
  }
  .wordmark {
    transform: translateY(-3px);
    width: clamp(240px, 68vw, 340px);
  }
  .nav {
    font-size: 10px;
    gap: 10px 16px;
    letter-spacing: .1em;
    width: 100%;
  }
  .page-intro { min-height: 58vh; padding-top: 14vh; }
  .content-grid { gap: 32px; grid-template-columns: 1fr; }
  .content-band, .gold-band { padding: 78px 5vw 88px; }
  .case-study { padding: 78px 5vw 84px; }
  .case-study-heading { align-items: start; flex-direction: column; gap: 24px; }
  .case-study-feature { grid-template-columns: 1fr; }
  .carousel-slide { height: 58vh; }
  .lightbox { padding: 18px 5vw; }
  .lightbox-stage { gap: 8px; }
  .lightbox-image { max-width: calc(100% - 76px); }
  .lightbox-arrow { height: 34px; width: 34px; }
  .beatfest-carousel .carousel-frame { padding: 12px; }
  .project, .project:nth-child(2), .project:nth-child(3), .project:nth-child(5), .project:nth-child(6), .project-gallery .project, .project-gallery .project.wide { grid-column: span 12; }
  .project-story { grid-template-columns: 1fr; }
  .project:nth-child(n) .project-image { aspect-ratio: 4 / 3; }
  .contact-band { min-height: 80vh; padding: 80px 5vw 28px; }
  .contact-row { align-items: start; flex-direction: column; gap: 24px; }
  .contact-meta { align-items: start; }
}
