
/* ==========================================================
   PROGRESS — PROJECT PAGE
   Page-specific styles.
   Load after appearance.css.
   ========================================================== */

/* ================= COLOURS ================= */

.progress-page {
  --pr-bg: #F9F9FB;
  --pr-text: #292330;
  --pr-muted: #675c6d;
  /* Shared project introduction */
  --project-highlight: #d6d9f4;
  --project-highlight-text: #171822;
  --project-description: #494650;

  --pr-rule: rgba(58, 42, 67, .20);

  --pr-lilac: #c8c8df;
  --pr-pale: #ede5ef;
  --pr-dark: #0a1116;
  --pr-purple: #393047;

  background: var(--pr-bg);
  color: var(--pr-text);
}

/* ================= SHARED SECTION DESIGN ================= */

.progress-page .progress-section {
  padding: 85px var(--pad) 100px;
  box-sizing: border-box;
}

.progress-page .progress-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin: 0 0 44px;
  padding-bottom: 17px;

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

.progress-page .progress-section .section-head .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: inherit;
  opacity: .78;
}

.progress-page .progress-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 5vw, 100px);
  align-items: start;
  margin-bottom: 52px;
}

.progress-page .progress-section-heading h2 {
  margin: 0;
  font-size: clamp(43px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.06em;
  color: inherit;
}

.progress-page .progress-section-heading p {
  margin: 8px 0 0;
  max-width: 710px;
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.72;
  color: var(--pr-muted);
}

.progress-page .progress-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: inherit;
  opacity: .75;
}

/* ================= FIGURES ================= */

.progress-page .progress-media {
  margin: 0;
  min-width: 0;
}

.progress-page .progress-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.progress-page .progress-media figcaption,
.progress-page .progress-video figcaption,
.progress-page .progress-hero-figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: inherit;
  opacity: .75;
}

.progress-page img,
.progress-page video {
  max-width: 100%;
}

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

.progress-page .progress-hero-art {
  background: var(--pr-bg);
  padding: 0 var(--pad) 90px;
}

.progress-page .progress-hero-figure {
  margin: 0;
}

.progress-page .progress-hero-figure img {
  display: block;
  width: 100%;
  height: clamp(480px, 61vw, 820px);
  object-fit: contain;
  object-position: center;
  background: #aaa9b0;
  border-radius: 2px;
}

.progress-page .progress-hero-figure figcaption {
  color: var(--pr-muted);
}

/* ==========================================================
   THE CONCEPT
   ========================================================== */

.progress-page .progress-concept {
  background: var(--pr-lilac);
  color: #30263d;

  --pr-muted: #60546a;
  --pr-rule: rgba(54, 37, 73, .23);
}

/* Bullet points on the left, map on the right */

.progress-page .progress-brief-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(35px, 5vw, 90px);
  align-items: start;
}

.progress-page .progress-brief-copy {
  padding-top: 12px;
}

.progress-page .progress-brief-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--pr-rule);
}

.progress-page .progress-brief-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 20px;
  align-items: start;

  padding: 22px 0;
  border-bottom: 1px solid var(--pr-rule);

  font-size: clamp(15px, 1.16vw, 18px);
  line-height: 1.6;
}

.progress-page .progress-list-number {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #75518e;
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

/* Map */

.progress-page .progress-map img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center;
  background: #eae9e5;
}

/* ================= SKETCHES ================= */

.progress-page .progress-subsection-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6vw;
  align-items: start;

  margin: 100px 0 35px;
  padding-top: 37px;
  border-top: 1px solid var(--pr-rule);
}

.progress-page .progress-subsection-heading .progress-label {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.progress-page .progress-subsection-heading h3 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -.055em;
  font-weight: 500;
}

.progress-page .progress-subsection-heading p {
  margin: 6px 0 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--pr-muted);
}

.progress-page .progress-sketch-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.progress-page .progress-sketch-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  width: 100%;
  height: clamp(380px, 42vw, 640px);
  background: #fff;
}

.progress-page .progress-sketch-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

/* ==========================================================
   THE OUTCOME
   ========================================================== */

.progress-page .progress-outcome {
  background: var(--pr-dark);
  color: #f4f5f8;

  --pr-muted: #bac6d0;
  --pr-rule: rgba(238, 243, 248, .25);
}

.progress-page .progress-outcome-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 48px;
  align-items: start;
}

.progress-page .progress-outcome-gallery .progress-media {
  min-width: 0;
}

/* 01 — Panoramic installation */

.progress-page .progress-gallery-wide {
  grid-column: span 12;
}

.progress-page .progress-gallery-wide img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
}

/* 02–03 — Campus studies */

.progress-page .progress-gallery-portrait {
  grid-column: span 6;
}

.progress-page .progress-gallery-portrait img {
  width: 100%;
  height: clamp(430px, 50vw, 740px);
  object-fit: contain;
  background: #85848e;
}

/* 04–05 — Featured studio renders */

.progress-page .progress-gallery-feature {
  grid-column: span 6;
}

.progress-page .progress-gallery-feature img {
  width: 100%;
  height: clamp(430px, 48vw, 700px);
  object-fit: contain;
  background: #87858e;
}

/* 06–08 — Three equal sculpture views */

.progress-page .progress-gallery-third {
  grid-column: span 4;
}

.progress-page .progress-gallery-third img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #676570;
}

/* 09–10 — Two additional perspectives */

.progress-page .progress-gallery-half {
  grid-column: span 6;
}

.progress-page .progress-gallery-half img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  background: #75747f;
}

/* 11 — Red bell */

.progress-page .progress-gallery-bell {
  grid-column: 4 / span 6;
}

.progress-page .progress-gallery-bell img {
  width: 100%;
  height: clamp(430px, 48vw, 700px);
  object-fit: contain;
  background: #89868d;
}

/* ==========================================================
   BUILDING THE GEOMETRY
   ========================================================== */

.progress-page .progress-geometry {
  background: #f0eef0;
  color: #292330;

  --pr-muted: #665c6c;
  --pr-rule: rgba(51, 38, 62, .20);
}

.progress-page .progress-cad-gallery {
  display: grid;
  grid-template-columns: 1fr .72fr 1fr;
  gap: 18px;
  align-items: start;
}

.progress-page .progress-cad-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  width: 100%;
  height: clamp(320px, 32vw, 490px);
  background: #fff;
}

.progress-page .progress-cad-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Two modelling videos */

.progress-page .progress-video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 70px;
}

.progress-page .progress-video {
  margin: 0;
  min-width: 0;
}

.progress-page .progress-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #12131a;
  border-radius: 2px;
}

/* ==========================================================
   MAKING THE FORM TANGIBLE
   ========================================================== */

.progress-page .progress-making {
  background: #e9e1ec;
  color: #2f263c;

  --pr-muted: #64546d;
  --pr-rule: rgba(57, 39, 73, .20);
}

/* ==========================================================
   WORKSHOP GALLERY — THREE EQUAL LANDSCAPE IMAGES

   Source aspect ratio: 3491 × 3024

   All three images:
   - have equal widths and heights
   - retain the complete photographs
   - have identical spacing
   - align with the left and right content margins
   ========================================================== */

.progress-page .progress-workshop-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  width: 100%;
}

.progress-page .progress-workshop-gallery .progress-media {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.progress-page .progress-workshop-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3491 / 3024;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Physical prototype heading */

.progress-page .progress-prototype-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;

  margin: 100px 0 42px;
  padding-top: 42px;
  border-top: 1px solid var(--pr-rule);
}

.progress-page .progress-prototype-heading .progress-label {
  grid-column: 1 / -1;
}

.progress-page .progress-prototype-heading h3 {
  margin: 0;
  font-size: clamp(35px, 3.8vw, 60px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.1;
}

.progress-page .progress-prototype-heading p {
  margin: 5px 0 0;
  max-width: 610px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--pr-muted);
}

/* ==========================================================
   PHYSICAL PROTOTYPE — THREE EQUAL IMAGES
   ========================================================== */

.progress-page .progress-prototype-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  width: 100%;
}

.progress-page .progress-model-painted,
.progress-page .progress-model-structure,
.progress-page .progress-model-final {
  grid-column: auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  align-self: start;
}

/* Left — Painted components and joins */

.progress-page .progress-model-painted img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Middle — Unpainted prototype */

.progress-page .progress-transparent-stage {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  background: transparent;
}

.progress-page .progress-transparent-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  box-shadow: none;
  border: 0;
}

/* Right — Physical prototype scale */

.progress-page .progress-model-final img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Consistent spacing beneath the images */

.progress-page .progress-prototype-gallery figcaption {
  margin-top: 12px;
}

/* ==========================================================
   RETURN TO WORK + FOOTER
   ========================================================== */

.progress-page .project-return,
.progress-page .quiet-footer {
  background: #e9e1ec;
  color: #2f263c;
}

.progress-page .project-return .text-link {
  color: inherit;
}

.progress-page .quiet-footer {
  border-top: 1px solid rgba(57, 39, 73, .34);
}

/* ==========================================================
   DARK MODE
   ========================================================== */

html:not([data-theme="light"]) .progress-page {
  --pr-bg: #0a1116;
  --pr-text: #f1f3f7;
  --pr-muted: #bbc8d1;
  --pr-rule: rgba(238, 243, 248, .22);

  /* Shared project introduction */

  --project-highlight: #393047;
  --project-highlight-text: #F3EAF7;
  --project-description: #bbc8d1;

  background: var(--pr-bg);
  color: var(--pr-text);
}

/* Hero */
/* Concept */

html:not([data-theme="light"])
.progress-page .progress-concept {
  background: #393047;
  color: #f4ecf8;

  --pr-muted: #d7cce0;
  --pr-rule: rgba(245, 235, 250, .25);
}

html:not([data-theme="light"])
.progress-page .progress-list-number {
  color: #d4a5e7;
}

/* Outcome */

html:not([data-theme="light"])
.progress-page .progress-outcome {
  background: #080e14;
  color: #f5f6fa;

  --pr-muted: #bdcad3;
  --pr-rule: rgba(238, 243, 248, .22);
}

/* CAD section */

html:not([data-theme="light"])
.progress-page .progress-geometry {
  background: #191923;
  color: #f1eef6;

  --pr-muted: #cbc4d2;
  --pr-rule: rgba(247, 239, 250, .22);
}

/* Making */

html:not([data-theme="light"])
.progress-page .progress-making {
  background: #30263f;
  color: #f4eef8;

  --pr-muted: #d4c9df;
  --pr-rule: rgba(245, 238, 250, .24);
}

/* Return and footer */

html:not([data-theme="light"])
.progress-page .project-return,
html:not([data-theme="light"])
.progress-page .quiet-footer {
  background: #30263f;
  color: #f4eef8;
}

html:not([data-theme="light"])
.progress-page .quiet-footer {
  border-top: 1px solid rgba(255, 255, 255, .34);
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

  .progress-page .progress-brief-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .progress-page .progress-sketch-gallery {
    gap: 12px;
  }

  .progress-page .progress-sketch-frame {
    height: 470px;
  }

  .progress-page .progress-cad-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .progress-page .progress-cad-gallery
  .progress-media:last-child {
    grid-column: 1 / -1;
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .progress-page .progress-gallery-bell {
    grid-column: 3 / span 8;
  }

  .progress-page .progress-prototype-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/* ==========================================================
   SMALL TABLET
   ========================================================== */

@media (max-width: 800px) {

  .progress-page .progress-section {
    padding: 72px var(--pad) 82px;
  }

  .progress-page .progress-section-heading,
  .progress-page .progress-subsection-heading,
  .progress-page .progress-prototype-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .progress-page .progress-subsection-heading .progress-label,
  .progress-page .progress-prototype-heading .progress-label {
    grid-column: auto;
  }

  .progress-page .progress-brief-layout {
    grid-template-columns: 1fr;
  }

  .progress-page .progress-map img {
    aspect-ratio: 1.5;
  }

  .progress-page .progress-sketch-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-page .progress-sketch-gallery
  .progress-media:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .progress-page .progress-outcome-gallery {
    row-gap: 34px;
    column-gap: 12px;
  }

  .progress-page .progress-gallery-third {
    grid-column: span 6;
  }

  .progress-page .progress-gallery-third:nth-of-type(8) {
    grid-column: 4 / span 6;
  }

  .progress-page .progress-gallery-bell {
    grid-column: 3 / span 8;
  }

  /* Workshop images remain equal in size and spacing */

  .progress-page .progress-workshop-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .progress-page .progress-workshop-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 3491 / 3024;
    object-fit: contain;
  }

  .progress-page .progress-prototype-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

}

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

@media (max-width: 650px) {

  .progress-page .progress-section {
    padding: 65px var(--pad) 75px;
  }

  .progress-page .progress-section .section-head {
    gap: 12px;
    margin-bottom: 32px;
  }

  .progress-page .progress-section .section-head .eyebrow {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .progress-page .progress-section-heading {
    margin-bottom: 36px;
  }

  .progress-page .progress-section-heading h2 {
    font-size: clamp(39px, 10vw, 57px);
  }

  /* Hero */

  .progress-page .progress-hero-art {
    padding-bottom: 65px;
  }

  .progress-page .progress-hero-figure img {
    height: 430px;
  }

  /* Concept */

  .progress-page .progress-brief-list li {
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .progress-page .progress-map img {
    aspect-ratio: 1.25;
  }

  .progress-page .progress-subsection-heading {
    margin-top: 65px;
  }

  .progress-page .progress-sketch-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .progress-page .progress-sketch-gallery
  .progress-media:last-child {
    grid-column: auto;
    max-width: none;
  }

  .progress-page .progress-sketch-frame {
    height: auto;
    max-height: 630px;
    min-height: 340px;
  }

  .progress-page .progress-sketch-frame img {
    height: auto;
    max-height: 630px;
    object-fit: contain;
  }

  /* Outcome */

  .progress-page .progress-outcome-gallery {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .progress-page .progress-outcome-gallery
  .progress-media {
    grid-column: 1 / -1 !important;
  }

  .progress-page .progress-gallery-wide img {
    aspect-ratio: 1.6;
  }

  .progress-page .progress-gallery-portrait img {
    height: auto;
    max-height: 650px;
    object-fit: contain;
  }

  .progress-page .progress-gallery-feature img {
    height: 450px;
  }

  .progress-page .progress-gallery-third img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .progress-page .progress-gallery-half img {
    aspect-ratio: 1 / 1;
  }

  .progress-page .progress-gallery-bell img {
    height: 460px;
  }

  /* CAD */

  .progress-page .progress-cad-gallery,
  .progress-page .progress-video-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .progress-page .progress-cad-gallery
  .progress-media:last-child {
    grid-column: auto;
    max-width: none;
  }

  .progress-page .progress-cad-frame {
    height: auto;
    min-height: 250px;
  }

  .progress-page .progress-cad-frame img {
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }

  .progress-page .progress-video-gallery {
    margin-top: 45px;
  }

  /* Workshop — stacked on mobile */

  .progress-page .progress-workshop-gallery {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .progress-page .progress-workshop-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3491 / 3024;
    object-fit: contain;
  }

  /* Physical prototype heading */

  .progress-page .progress-prototype-heading {
    margin-top: 72px;
    padding-top: 35px;
  }

  /* Stack prototype images for mobile */

  .progress-page .progress-prototype-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .progress-page .progress-model-painted,
  .progress-page .progress-model-structure,
  .progress-page .progress-model-final {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }

  .progress-page .progress-model-painted img,
  .progress-page .progress-model-final img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .progress-page .progress-transparent-stage {
    height: auto;
    min-height: 0;
  }

  .progress-page .progress-transparent-stage img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

}

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

@media (prefers-reduced-motion: reduce) {
  .progress-page {
    scroll-behavior: auto;
  }
}

/* ==========================================================
   FIRST THREE IMAGES AFTER THE PANORAMA
   ========================================================== */

@media (min-width: 801px) {

  .progress-page .progress-outcome-gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .progress-page .progress-outcome-gallery > figure:nth-child(2),
  .progress-page .progress-outcome-gallery > figure:nth-child(3),
  .progress-page .progress-outcome-gallery > figure:nth-child(4) {
    grid-column: span 4;
    min-width: 0;
  }

  .progress-page .progress-outcome-gallery > figure:nth-child(2) img,
  .progress-page .progress-outcome-gallery > figure:nth-child(3) img,
  .progress-page .progress-outcome-gallery > figure:nth-child(4) img {
    display: block;
    width: 100%;
    height: 740px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    background: transparent;
  }

}

/* ==========================================================
   TWO FINISHED DIGITAL VISUALISATIONS
   ========================================================== */

@media (min-width: 801px) {

  .progress-page .progress-outcome-gallery > figure:nth-child(5),
  .progress-page .progress-outcome-gallery > figure:nth-child(6) {
    grid-column: span 6;
    min-width: 0;
  }

  .progress-page .progress-outcome-gallery > figure:nth-child(5) img,
  .progress-page .progress-outcome-gallery > figure:nth-child(6) img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: transparent;
  }

}

/* ==========================================================
   THREE VERTICAL SCULPTURE IMAGES
   ========================================================== */

.progress-page .progress-gallery-vertical-set {
  grid-column: span 4;
}

.progress-page .progress-gallery-vertical-set img {
  display: block;
  width: 100%;
  height: clamp(430px, 50vw, 720px);
  object-fit: contain;
  object-position: center;
  background: transparent;
}

@media (max-width: 800px) {

  .progress-page .progress-gallery-vertical-set {
    grid-column: span 6;
  }

}

@media (max-width: 650px) {

  .progress-page .progress-gallery-vertical-set {
    grid-column: 1 / -1;
  }

  .progress-page .progress-gallery-vertical-set img {
    height: auto;
    max-height: 650px;
    object-fit: contain;
  }

}


