/*
  The Years Behind the Speed — private portfolio-evidence successor v14
  Actual owner-archive work is presented at portfolio scale. No asset in these
  modules is claimed as the unresolved bottle-and-3D-collaborator memory.
*/

.editorial-v14 .portfolio-story,
.editorial-v14 .portfolio-ranges {
  width: 100vw;
  margin: clamp(5rem, 10vw, 10rem) 50%;
  translate: -50% 0;
  font-family: Arial, Helvetica, sans-serif;
}

.portfolio-story {
  padding: clamp(3rem, 7vw, 7rem) max(1.25rem, calc((100vw - 1180px) / 2));
  background: #211d46;
  color: #fffdf8;
}
.portfolio-story__header {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.portfolio-story__header .eyebrow { align-self: start; }
.portfolio-story__header h2 {
  max-width: 15ch;
  margin: 0;
  font: 400 clamp(3.2rem, 7vw, 7.2rem)/.88 Georgia, serif;
  letter-spacing: -.065em;
}
.portfolio-story__header>p:last-child {
  grid-column: 2;
  max-width: 52ch;
  margin: 0;
  color: #fffdf8c4;
  font-size: 1rem;
}
.portfolio-story__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  align-items: stretch;
  margin: 0;
  border: 1px solid #fffdf83b;
  background: #bcebf1;
  color: #211d46;
}
.portfolio-story__hero button,
.portfolio-process figure button,
.range-study figure button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.portfolio-story__hero button { min-height: clamp(32rem, 60vw, 49rem); padding: clamp(1rem, 4vw, 3rem); }
.portfolio-story__hero img { width: 100%; height: clamp(30rem, 56vw, 45rem); object-fit: contain; filter: drop-shadow(0 2rem 2.5rem #211d4633); }
.portfolio-story__hero figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px solid #211d46;
  background: #f4c64e;
}
.portfolio-story__hero figcaption strong { max-width: 8ch; font: 400 clamp(2.3rem, 5vw, 4.8rem)/.9 Georgia, serif; letter-spacing: -.055em; }
.portfolio-story__hero figcaption span { max-width: 24ch; font: 800 .73rem/1.45 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.portfolio-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 7vw, 6rem); }
.portfolio-process__intro { grid-column: 1 / -1; display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: end; margin-bottom: 1rem; }
.portfolio-process__intro span { font: 800 .7rem/1.3 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-process__intro h3 { margin: 0; font: 400 clamp(2.7rem, 5vw, 5.2rem)/.92 Georgia, serif; letter-spacing: -.055em; }
.portfolio-process figure { display: grid; grid-template-rows: minmax(17rem, 30vw) auto; margin: 0; border: 1px solid #fffdf84d; }
.portfolio-process figure button { display: grid; place-items: center; overflow: hidden; background: #f7f1e7; }
.portfolio-process figure img { width: 100%; height: 100%; object-fit: contain; }
.portfolio-process figure:nth-of-type(2) button { background: #7655b5; }
.portfolio-process figcaption { display: grid; gap: .55rem; padding: 1rem; }
.portfolio-process figcaption b { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-process figcaption span { color: #fffdf8bd; font-size: .85rem; line-height: 1.4; }
.portfolio-boundary {
  margin-top: 2.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid #fffdf84d;
  color: #fffdf8c4;
  font: 600 .78rem/1.55 Arial, sans-serif;
}
.portfolio-boundary summary { min-height: 44px; display: flex; align-items: center; color: #f4c64e; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.portfolio-boundary p { max-width: 78ch; margin: .25rem 0 0; }

.portfolio-ranges {
  padding: clamp(3rem, 7vw, 7rem) max(1.25rem, calc((100vw - 1240px) / 2));
  background: #fffdf8;
  color: #25234a;
  border-top: 1px solid #25234a;
  border-bottom: 1px solid #25234a;
}
.portfolio-ranges__header { display: grid; grid-template-columns: .45fr 1.1fr .65fr; gap: 2rem; align-items: end; margin-bottom: clamp(4rem, 8vw, 8rem); }
.portfolio-ranges__header h2 { margin: 0; font: 400 clamp(3.1rem, 6.8vw, 6.8rem)/.88 Georgia, serif; letter-spacing: -.065em; }
.portfolio-ranges__header>p:last-child { margin: 0; font-size: .95rem; line-height: 1.55; }
.range-study {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(4rem, 8vw, 8rem);
  border: 1px solid #25234a;
  background: #25234a;
}
.range-study>div { min-width: 0; overflow: hidden; padding: clamp(1.4rem, 2.5vw, 2.2rem); background: #f7f1e7; }
.range-study>div span { display: block; margin-bottom: 1.2rem; font: 800 .68rem/1.3 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.range-study>div h3 { margin: 0 0 1rem; font: 400 clamp(2rem, 2.9vw, 3rem)/.95 Georgia, serif; letter-spacing: -.05em; overflow-wrap: break-word; }
.range-study>div p { margin: 0; font-size: .87rem; line-height: 1.5; }
.range-study figure { display: grid; grid-template-rows: minmax(28rem, 39vw) auto; min-width: 0; margin: 0; background: #fffdf8; }
.range-study figure button { display: grid; place-items: center; overflow: hidden; padding: 1rem; }
.range-study figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.range-study figure button:hover img { transform: scale(1.025); }
.range-study figcaption { padding: .9rem 1rem; border-top: 1px solid #25234a; font: 800 .7rem/1.2 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.range-study--skinny figure { background: #ece9f9; }
.range-study--thena figure { background: #eef7f4; }
.range-study--kraven figure { background: #ecf7f5; }
.portfolio-ranges__boundary { max-width: 88ch; margin: 0; padding-top: 1.25rem; border-top: 1px solid #25234a; font: 600 .74rem/1.55 Arial, sans-serif; }

@media (max-width: 860px) {
  .portfolio-story,
  .portfolio-ranges { margin-top: 4.5rem; margin-bottom: 4.5rem; }
  .portfolio-story { padding: 3.4rem 0; }
  .portfolio-story__header,
  .portfolio-process,
  .portfolio-boundary { margin-left: 1.25rem; margin-right: 1.25rem; }
  .portfolio-story__header { grid-template-columns: 1fr; }
  .portfolio-story__header>p:last-child { grid-column: 1; }
  .portfolio-story__header h2 { font-size: clamp(2.9rem, 12vw, 4.25rem); line-height: .94; }
  .portfolio-story__hero { grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .portfolio-story__hero button { min-height: 30rem; padding: 1rem; }
  .portfolio-story__hero img { height: 30rem; }
  .portfolio-story__hero figcaption { min-height: 15rem; border-left: 0; border-top: 1px solid #211d46; }
  .portfolio-process { grid-template-columns: 1fr; }
  .portfolio-process__intro { grid-column: 1; grid-template-columns: 1fr; }
  .portfolio-process figure { grid-template-rows: minmax(18rem, 76vw) auto; }
  .portfolio-boundary { grid-template-columns: 1fr; }

  .portfolio-ranges { padding: 3.5rem 0; }
  .portfolio-ranges__header,
  .portfolio-ranges__boundary { margin-left: 1.25rem; margin-right: 1.25rem; }
  .portfolio-ranges__header { grid-template-columns: 1fr; margin-bottom: 4rem; }
  .portfolio-ranges__header h2 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .range-study { grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .range-study>div { min-height: 19rem; }
  .range-study figure { grid-template-rows: minmax(26rem, 115vw) auto; }
  .range-study figure button { padding: 1.25rem; }
  .range-study figure img { max-height: 31rem; }
}

@media (prefers-reduced-motion: reduce) {
  .range-study figure img { transition: none; }
  .range-study figure button:hover img { transform: none; }
}

.motion-off .range-study figure img { transition: none; }
.motion-off .range-study figure button:hover img { transform: none; }
