:root {
  --paper: #ecd8ab;
  --paper-2: #f3e4c3;
  --ink: #365b78;
  --ink-soft: #486782;
  --blue: #98b8d7;
  --blue-dark: #365b78;
  --line: rgba(54, 91, 120, .34);
  --white: #f6e8c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

figure {
  margin: 0;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover {
  border-color: currentColor;
}


/* HERO */

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  min-height: 760px;
  overflow: hidden;
  background: var(--blue);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-copy {
  padding: clamp(34px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--blue);
  color: var(--blue-dark);
}

.kicker,
.section-label,
.small-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 600;
}

.hero h1 {
  margin: 28px 0 32px;
  font-size: clamp(72px, 9vw, 154px);
  line-height: .83;
  letter-spacing: -.065em;
  font-weight: 400;
}

.hero-intro {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.4;
}


/* DOWNLOAD BUTTONS */

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px 13px;
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  transition: background .16s ease, color .16s ease;
}

.download-pill:hover,
.download-pill:focus-visible {
  background: var(--blue-dark);
  color: var(--paper);
}

.download-note {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .03em;
  opacity: .76;
}


/* GENERAL SECTIONS */

.section-pad {
  padding: clamp(70px, 9vw, 140px) clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin-bottom: 54px;
}

h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.06;
}


/* PROJECT */

.project-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 8vw, 140px);
}

.project-title h2,
.guide-intro h2,
.fold-intro h2,
.collective-intro h2 {
  font-size: clamp(40px, 5.1vw, 82px);
}

.body-copy {
  max-width: 700px;
  font-size: 18px;
}

.body-copy p:first-child {
  margin-top: 0;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.meta-grid {
  margin-top: clamp(60px, 8vw, 120px);
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
}

.meta-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.meta-grid strong {
  font-weight: 450;
  font-size: 18px;
  line-height: 1.35;
}


/* THREE PORTRAIT PHOTOS */

.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  line-height: 0;
}

.photo-trio figure {
  height: 76vh;
  min-height: 620px;
  overflow: hidden;
  line-height: 0;
}

.photo-trio img {
  width: calc(100% + 2px);
  max-width: none;
  height: 100%;
  margin-left: -1px;
  object-fit: cover;
  object-position: 50% 50%;
}


/* AIMS */

.aims {
  background: var(--blue);
  color: var(--blue-dark);
}

.aim-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: aim;
}

.aim-list li {
  counter-increment: aim;
  position: relative;
  padding: 24px 0 26px 92px;
  border-top: 1px solid rgba(54, 91, 120, .42);
  font-size: clamp(24px, 2.8vw, 44px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.aim-list li::before {
  content: "0" counter(aim);
  position: absolute;
  left: 0;
  top: 32px;
  width: 60px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
}

.aim-list li:last-child {
  border-bottom: 1px solid rgba(54, 91, 120, .42);
}

.aim-list span {
  font-weight: 600;
}


/* GUIDE */

.guide-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
  margin-bottom: 70px;
}

.guide-intro p {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
}

.guide-photo {
  width: 100%;
  overflow: hidden;
}

.guide-photo img {
  width: 100%;
  height: auto;
}


/* FOLDING SECTION */

.fold {
  background: var(--blue);
  color: var(--blue-dark);
}

.fold-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.fold-intro p {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
}

.fold-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding: 20px 0 10px;
}

.fold-layout,
.fold-diagram {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.fold-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* COLLABORATORS */

.collaborators-list {
  max-width: 1450px;
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.55;
  color: var(--blue-dark);
}

.collaborator-item {
  font-weight: 520;
}

/*
   The non-breaking space before the dot keeps
   the dot attached to the collaborator before it.
*/

.collaborator-item:not(:last-child)::after {
  content: " ·";
  font-weight: 400;
  margin-right: .22em;
}


/* COLLECTIVE */

.collective-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
}

.collective-intro p {
  margin: 6px 0 0;
  max-width: 700px;
  font-size: 20px;
}

.bios {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bios article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bio-name {
  margin-top: 0;
  font-size: 22px;
  font-weight: 550;
}

.bio-name span {
  font-size: 15px;
  font-weight: 400;
}

.bios article > p:last-child {
  color: var(--ink-soft);
}


/* FOOTER */

.footer {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--blue-dark);
  color: var(--paper);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

.footer-mark {
  width: 26px;
  height: 26px;
  filter: invert(1);
}


/* TABLET */

@media (max-width: 900px) {

  .site-header nav {
    display: none;
  }

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

  .hero-photo {
    min-height: 72vh;
    height: 72vh;
  }

  .hero-copy {
    min-height: 72vh;
  }

  .project-grid,
  .guide-intro,
  .fold-intro,
  .collective-intro {
    grid-template-columns: 1fr;
  }

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


  /* Portrait photographs stack without blue seams */

  .photo-trio {
    grid-template-columns: 1fr;
  }

  .photo-trio figure {
    height: auto;
    min-height: 0;
  }

  .photo-trio img {
    width: 100%;
    height: auto;
    margin-left: 0;
    object-fit: contain;
  }


  /* Folding graphics remain relatively small */

  .fold-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
    gap: 44px;
  }

  .fold-layout {
    max-width: 520px;
  }

  .fold-diagram {
    max-width: 240px;
  }


  .bios {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer p {
    display: none;
  }
}


/* MOBILE */

@media (max-width: 620px) {

  .site-header {
    padding: 12px 16px;
    min-height: 60px;
  }

  .brand span {
    font-size: 13px;
  }


  /* HERO */

  .hero {
    min-height: auto;
  }

  .hero-photo {
    height: 68vh;
    min-height: 500px;
  }

  .hero-copy {
    min-height: auto;
    padding: 42px 20px 54px;
  }

  .hero h1 {
    font-size: clamp(68px, 23vw, 104px);
    margin-top: 22px;
  }


  /* DOWNLOAD BUTTONS */

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 240px;
  }

  .download-pill {
    width: 100%;
  }


  /* SECTIONS */

  .section-pad {
    padding: 72px 20px;
  }

  .section-label {
    margin-bottom: 38px;
  }

  .project-title h2,
  .guide-intro h2,
  .fold-intro h2,
  .collective-intro h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

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


  /* AIMS
     The number sits separately on the left.
     Every wrapped line starts at the same position.
  */

  .aim-list li {
    padding: 22px 0 24px 46px;
    font-size: 27px;
  }

  .aim-list li::before {
    width: 30px;
    top: 30px;
    font-size: 11px;
  }


  /* GUIDE */

  .guide-intro,
  .fold-intro {
    margin-bottom: 46px;
  }


  /* FOLDING */

  .fold-gallery {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 5px;
  }

.fold-layout,
.fold-diagram {
  width: 78%;
  max-width: 320px;
  justify-self: center;
}


  /* COLLABORATORS
     Still a flowing list — not one name per line.
  */

  .collaborators-list {
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.55;
  }

  .collaborator-item {
    font-weight: 520;
  }

.collective-intro h2 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.03em;
  overflow-wrap: normal;
  word-break: normal;
}

  /* FOOTER */

  .footer {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer p {
    display: block;
  }
}
