@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&family=Caveat:wght@400;500&display=swap');

/* A project is read as a sequence of illustrated portfolio plates. */
.story-page.story-editorial {
  --plate-paper: #fff;
  --plate-ink: #29231f;
  --plate-muted: #665b52;
  --plate-rule: rgba(41, 35, 31, .43);
  background: var(--plate-paper);
  color: var(--plate-ink);
}

.story-page.story-editorial .site-header {
  min-height: 4.1rem;
  padding: .55rem 5.2vw;
  background: var(--plate-paper);
  border-bottom: 1px solid var(--plate-rule);
}
.story-page.story-editorial .site-header .brand-mark { width: 4.5rem; height: 2.8rem; }
.story-page.story-editorial .story-actions {
  top: 1.25rem;
  gap: 2.4rem;
  align-items: center;
}
.story-page.story-editorial .story-actions a {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--plate-ink);
  font: 500 .66rem/1.3 Manrope, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.story-page.story-editorial .story-actions a[aria-current="page"] {
  background: none;
  color: var(--plate-ink);
  border-bottom: 1px solid currentColor;
}
.story-page.story-editorial .story-switcher {
  top: .72rem;
  right: 5.2vw;
  left: auto;
  gap: .12rem;
  padding: .2rem;
  transform: none;
  border: 1px solid var(--plate-rule);
  border-radius: 999px;
  background: var(--plate-paper);
}
.story-page.story-editorial .story-switcher a {
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  font-size: .54rem;
}
.story-page.story-editorial .story-switcher a[aria-current="page"] {
  background: var(--plate-ink);
  color: var(--plate-paper);
}
.story-page.story-editorial .story-lang-switch {
  position: absolute;
  z-index: 110;
  top: 1.12rem;
  right: calc(5.2vw + 11.4rem);
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--plate-muted);
  font: 500 .65rem/1.2 Manrope, sans-serif;
}
.story-page.story-editorial .story-lang-switch button {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: .2rem 0;
  background: none;
  color: var(--plate-muted);
  font: inherit;
  cursor: pointer;
}
.story-page.story-editorial .story-lang-switch button.is-active {
  border-color: var(--plate-ink);
  color: var(--plate-ink);
}
.story-page.story-editorial .story-lang-switch button:focus-visible { outline: 2px solid var(--plate-ink); outline-offset: 3px; }

.story-page.story-editorial .story-feed { background: var(--plate-paper); }
.story-page.story-editorial .story-slide,
.story-page.story-editorial .story-slide.story-slide--gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(16rem, .82fr);
  grid-template-rows: auto minmax(0, 1fr);
  place-items: stretch;
  align-items: stretch;
  column-gap: 4.2vw;
  row-gap: 1.15rem;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 5.4rem 5.2vw 4.1rem;
  overflow: hidden;
  background: var(--plate-paper);
  color: var(--plate-ink);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.story-page.story-editorial .story-spread__masthead {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 1.8rem;
  border-bottom: 1px solid var(--plate-rule);
  padding-bottom: .55rem;
  color: var(--plate-ink);
  font: 500 .65rem/1.2 Manrope, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.story-page.story-editorial .story-spread__masthead span:nth-child(2) { text-align: center; }
.story-page.story-editorial .story-spread__masthead span:last-child { font-variant-numeric: tabular-nums; }
.story-page.story-editorial .story-slide__media,
.story-page.story-editorial .story-slide--cover .story-slide__media,
.story-page.story-editorial .story-slide--dark .story-slide__media,
.story-page.story-editorial .story-slide--drawing .story-slide__media {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: #e0d8ce;
  overflow: hidden;
}
.story-page.story-editorial .story-slide__media img,
.story-page.story-editorial .story-slide__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.02);
}
.story-page.story-editorial .story-slide__copy,
.story-page.story-editorial .story-slide--cover .story-slide__copy,
.story-page.story-editorial .story-slide--dark .story-slide__copy,
.story-page.story-editorial .story-slide__plan-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 100%;
  margin: 0;
  padding: clamp(.6rem, 2vh, 2rem) 0 0;
  text-align: left;
}
.story-page.story-editorial .story-slide__eyebrow {
  margin: 0 0 1.2rem;
  color: var(--plate-muted);
  font: 500 .68rem/1.25 Manrope, sans-serif;
  letter-spacing: .02em;
  text-transform: none;
}
.story-page.story-editorial .story-slide__title,
.story-page.story-editorial .story-slide--dark .story-slide__title,
.story-page.story-editorial .story-slide--cover .story-slide__title,
.story-page.story-editorial .story-slide__plan-copy h2,
.story-page.story-editorial .story-slide__gallery-copy h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--plate-ink);
  font: 400 clamp(3.1rem, 4.4vw, 6.2rem)/.95 "Bodoni Moda", "Playfair Display", Georgia, serif;
  letter-spacing: -.065em;
}
.story-page.story-editorial .story-slide__title i { font-style: normal; }
.story-page.story-editorial .story-slide__text,
.story-page.story-editorial .story-slide__article .story-slide__text,
.story-page.story-editorial .story-slide__plan-copy p,
.story-page.story-editorial .story-slide__gallery-copy p {
  max-width: 39ch;
  margin: .8rem 0 0;
  color: var(--plate-ink);
  font: 400 clamp(1rem, 1.26vw, 1.28rem)/1.42 "Playfair Display", Georgia, serif;
}
.story-page.story-editorial .story-slide__article {
  margin-top: 1.4rem;
  border-top: 1px solid var(--plate-rule);
  padding-top: .85rem;
}
.story-page.story-editorial .story-slide__article .story-slide__text { margin-top: .45rem; }
.story-page.story-editorial .story-slide__feature-copy {
  max-width: 40ch;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--plate-rule);
  padding-top: 1rem;
  font: 400 clamp(1rem, 1.22vw, 1.3rem)/1.45 "Playfair Display", Georgia, serif;
}
.story-page.story-editorial .story-spread__palette {
  margin-top: 1.5rem;
  border-top: 1px solid var(--plate-rule);
  padding-top: .8rem;
}
.story-page.story-editorial .story-spread__palette > p {
  margin: 0;
  font: 400 clamp(1.2rem, 1.5vw, 1.6rem)/1.1 "Playfair Display", Georgia, serif;
}
.story-page.story-editorial .story-spread__samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .75rem;
}
.story-page.story-editorial .story-spread__samples figure { min-width: 0; margin: 0; }
.story-page.story-editorial .story-spread__samples img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}
.story-page.story-editorial .story-spread__samples figcaption {
  margin-top: .35rem;
  color: var(--plate-muted);
  font: 500 .57rem/1.2 Manrope, sans-serif;
}
.story-page.story-editorial .story-slide__label {
  right: 5.2vw;
  bottom: 1.55rem;
  left: 5.2vw;
  border-top: 1px solid var(--plate-rule);
  padding-top: .7rem;
  color: var(--plate-muted);
  font: 500 .6rem/1.3 Manrope, sans-serif;
  letter-spacing: .06em;
}
.story-page.story-editorial .story-slide__drawing-link { color: var(--plate-ink); }

/* Opening plate: a large title, material photograph and a circular detail. */
.story-page.story-editorial .story-slide--cover {
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .9fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  row-gap: .9rem;
}
.story-page.story-editorial .story-slide--cover .story-slide__copy {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(13rem, .65fr);
  align-items: end;
  column-gap: 4vw;
  padding: 0;
}
.story-page.story-editorial .story-slide--cover .story-slide__eyebrow { grid-column: 1 / -1; margin-bottom: .3rem; }
.story-page.story-editorial .story-slide--cover .story-slide__title {
  grid-column: 1;
  max-width: none;
  font-size: clamp(4rem, 6.5vw, 8.5rem);
  line-height: .9;
}
.story-page.story-editorial .story-spread__intro {
  grid-column: 2;
  margin: 0 0 .25rem;
  border-left: 1px solid var(--plate-rule);
  padding-left: 1.5rem;
  font: 400 clamp(1.05rem, 1.4vw, 1.5rem)/1.36 "Playfair Display", Georgia, serif;
}
.story-page.story-editorial .story-slide--cover .story-slide__media { grid-column: 1; grid-row: 3; }
.story-page.story-editorial .story-spread__detail {
  position: absolute;
  z-index: 2;
  right: 7.7vw;
  bottom: 8.8rem;
  width: clamp(9rem, 14vw, 15rem);
  margin: 0;
  transform: rotate(5deg);
  pointer-events: none;
}
.story-page.story-editorial .story-spread__detail img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: .55rem solid var(--plate-paper);
  border-radius: 50%;
  outline: 1px solid var(--plate-ink);
  object-fit: cover;
  object-position: 65% 50%;
}
.story-page.story-editorial .story-spread__detail figcaption {
  margin-top: .6rem;
  color: var(--plate-ink);
  font: 500 clamp(1.3rem, 2.1vw, 2.5rem)/.9 Caveat, cursive;
  text-align: center;
  transform: rotate(-8deg);
}
.story-page.story-editorial .story-spread__detail::after {
  position: absolute;
  right: 82%;
  bottom: 7%;
  width: 4rem;
  height: 4rem;
  content: "";
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M92 5C55 8 28 37 38 76M38 76L23 56M38 76L57 59' fill='none' stroke='%2329231f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.story-page.story-editorial .story-slide--cover .story-spread__detail {
  right: 6vw;
  bottom: 6rem;
  width: clamp(13rem, 20vw, 25rem);
  transform: none;
}
.story-page.story-editorial .story-slide--cover .story-spread__detail-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: .55rem solid var(--plate-paper);
  border-radius: 50%;
  outline: 1px solid var(--plate-ink);
  background: var(--plate-paper);
}
.story-page.story-editorial .story-slide--cover .story-spread__detail-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  outline: 0;
  object-fit: cover;
  transform: scale(var(--detail-zoom, 1));
}
.story-page.story-editorial .story-slide--cover .story-spread__detail::before {
  position: absolute;
  z-index: 3;
  top: -.5rem;
  left: -.5rem;
  width: calc(100% + 1rem);
  aspect-ratio: 1;
  border: 1px solid var(--plate-ink);
  border-radius: 51% 49% 52% 48% / 49% 52% 48% 51%;
  content: "";
  transform: rotate(-11deg);
}
.story-page.story-editorial .story-slide--cover .story-spread__detail figcaption {
  max-width: 16ch;
  margin: .8rem auto 0;
  font-size: clamp(1.7rem, 2.4vw, 3rem);
  line-height: .9;
  transform: rotate(-5deg);
}
.story-page.story-editorial .story-slide--cover .story-spread__detail::after {
  right: auto;
  bottom: auto;
  top: 72%;
  left: -3rem;
  width: 5rem;
  height: 5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8 90C12 45 50 20 86 18M86 18L65 8M86 18L68 34' fill='none' stroke='%2329231f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Family-home covers follow the portrait magazine reference: a text rail beside the photograph. */
@media (min-width: 701px) {
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] {
    grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.8fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 2.4vw;
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-slide__copy {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    align-items: flex-start;
    padding-top: clamp(1.5rem, 6vh, 5rem);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-slide__eyebrow { margin-bottom: 1.1rem; }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-slide__title {
    max-width: 11ch;
    font-size: clamp(3.4rem, 4.5vw, 6.5rem);
    line-height: 1.06;
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__intro {
    width: 100%;
    margin-top: clamp(1.4rem, 4vh, 3rem);
    border-top: 1px solid var(--plate-rule);
    border-left: 0;
    padding: 1rem 0 0;
    font-size: clamp(1.05rem, 1.25vw, 1.45rem);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-slide__media {
    grid-column: 2;
    grid-row: 2;
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail {
    display: block;
    right: auto;
    bottom: 4.8rem;
    left: 5.2vw;
    width: clamp(12rem, 17vw, 20rem);
    transform: none;
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail figcaption {
    position: absolute;
    top: 60%;
    left: 80%;
    width: 13rem;
    margin: 0;
    font-size: clamp(1.7rem, 2.1vw, 2.4rem);
    text-align: left;
    transform: rotate(-7deg);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail::after { display: none; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail {
    bottom: 4.8rem;
    left: calc(5.2vw + 30vw);
    width: clamp(10rem, 17vw, 12rem);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail figcaption {
    top: 43%;
    right: calc(100% + .8rem);
    left: auto;
    width: 8.7rem;
    font-size: 1.55rem;
    text-align: right;
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail::after { display: none; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .story-page.story-editorial .site-header .desktop-nav { display: none; }
  .story-page.story-editorial .story-actions {
    top: 4.35rem;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
  }
  .story-page.story-editorial .story-slide,
  .story-page.story-editorial .story-slide.story-slide--gallery { padding-top: 8rem; }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail { display: none; }
}

/* Interiors alternate the weight of photograph and text. */
.story-page.story-editorial .story-slide--dark .story-slide__copy { padding-top: clamp(.6rem, 2vh, 1.5rem); }
.story-page.story-editorial .story-slide--dark .story-slide__title { font-size: clamp(2.75rem, 3.6vw, 5rem); }
.story-page.story-editorial .story-slide--dark .story-spread__detail {
  position: relative;
  right: auto;
  bottom: auto;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: 100%;
  height: min(34vh, 24rem);
  margin: 0 0 1rem;
  transform: none;
}
.story-page.story-editorial .story-slide--dark .story-spread__detail img {
  width: 100%;
  height: calc(100% - 3.5rem);
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  outline: 0;
  object-position: center;
}
.story-page.story-editorial .story-slide--dark .story-spread__detail figcaption {
  max-width: 24ch;
  margin: .4rem 0 0 auto;
  font: 500 clamp(1.35rem, 1.65vw, 2rem)/.96 Caveat, cursive;
  text-align: right;
  transform: rotate(-2deg);
}
.story-page.story-editorial .story-slide--dark .story-spread__detail::after { display: none; }
.story-page.story-editorial .story-slide--has-palette .story-spread__detail { display: none; }
.story-page.story-editorial .story-slide--dark[data-spread-variant="1"] { grid-template-columns: minmax(16rem, .82fr) minmax(0, 1.46fr); }
.story-page.story-editorial .story-slide--dark[data-spread-variant="1"] .story-slide__media { grid-column: 2; }
.story-page.story-editorial .story-slide--dark[data-spread-variant="1"] .story-slide__copy { grid-column: 1; }
.story-page.story-editorial .story-slide--dark[data-spread-variant="1"] .story-spread__detail { grid-column: 1; }

/* Plans stay legible while the copy explains what changed. */
.story-page.story-editorial .story-slide--drawing .story-slide__media { background: #fff; border: 1px solid var(--plate-rule); }
.story-page.story-editorial .story-slide--drawing .story-slide__media img { object-fit: contain; filter: none; }
.story-page.story-editorial .story-slide__plan-copy { padding-top: clamp(1.5rem, 8vh, 7rem); }
.story-page.story-editorial .story-slide__plan-copy h2 { font-size: clamp(3rem, 4.1vw, 5.5rem); }
.story-page.story-editorial .story-slide__plan-copy p { margin-top: 1.6rem; border-top: 1px solid var(--plate-rule); padding-top: 1rem; }
.story-page.story-editorial .story-slide__plan-copy::after {
  display: block;
  margin: 2rem 0 0 2rem;
  content: "the drawing behind the space";
  color: var(--plate-muted);
  font: 500 clamp(1.5rem, 2.1vw, 2.3rem)/.95 Caveat, cursive;
  transform: rotate(-3deg);
}

/* A second photograph shares the text column of the gallery plate. */
.story-page.story-editorial .story-slide.story-slide--gallery { justify-content: stretch; }
.story-page.story-editorial .story-slide__spread {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.story-page.story-editorial .story-slide__spread figure:first-child { width: 100%; height: 100%; margin: 0; }
.story-page.story-editorial .story-slide__spread figure:first-child img { width: 100%; height: calc(100% - 1.2rem); object-fit: cover; }
.story-page.story-editorial .story-slide__spread figcaption {
  color: var(--plate-muted);
  font: 500 .6rem/1.2 Manrope, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.story-page.story-editorial .story-slide__secondary {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: 100%;
  height: min(39vh, 28rem);
  margin: 0 0 1rem;
}
.story-page.story-editorial .story-slide__secondary img {
  display: block;
  width: 100%;
  height: calc(100% - 1.3rem);
  object-fit: cover;
}
.story-page.story-editorial .story-slide__secondary figcaption {
  margin-top: .35rem;
  color: var(--plate-muted);
  font: 500 .6rem/1.2 Manrope, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.story-page.story-editorial .story-slide__gallery-copy {
  grid-column: 2;
  grid-row: 2;
  display: block;
  align-self: start;
  width: 100%;
  margin: 0;
  border: 0;
  padding: clamp(1rem, 6vh, 5rem) 0 0;
}
.story-page.story-editorial .story-slide__gallery-copy h2 { font-size: clamp(3rem, 4vw, 5.5rem); }
.story-page.story-editorial .story-slide__gallery-copy p {
  margin-top: 1.4rem;
  border-top: 1px solid var(--plate-rule);
  padding-top: .9rem;
}

@media (max-width: 700px) {
  .story-page.story-editorial .story-slide,
  .story-page.story-editorial .story-slide.story-slide--gallery,
  .story-page.story-editorial .story-slide--cover,
  .story-page.story-editorial .story-slide--dark,
  .story-page.story-editorial .story-slide--drawing,
  .story-page.story-editorial .story-slide--dark[data-spread-variant="1"] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: .75rem;
    height: auto;
    min-height: 100svh;
    padding: 6.35rem clamp(.85rem, 4.5vw, 1.5rem) 1rem;
  }
  .story-page.story-editorial .story-spread__masthead { flex: 0 0 auto; display: flex; justify-content: space-between; min-height: 1.2rem; padding-bottom: .4rem; font-size: .52rem; }
  .story-page.story-editorial .story-spread__masthead span:nth-child(2) { display: none; }
  .story-page.story-editorial .story-slide__media,
  .story-page.story-editorial .story-slide--cover .story-slide__media,
  .story-page.story-editorial .story-slide--dark .story-slide__media,
  .story-page.story-editorial .story-slide--drawing .story-slide__media {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    height: 41svh;
  }
  .story-page.story-editorial .story-slide__copy,
  .story-page.story-editorial .story-slide--cover .story-slide__copy,
  .story-page.story-editorial .story-slide--dark .story-slide__copy,
  .story-page.story-editorial .story-slide__plan-copy,
  .story-page.story-editorial .story-slide__gallery-copy {
    order: 2;
    display: block;
    width: 100%;
    padding: 0;
  }
  .story-page.story-editorial .story-slide__title,
  .story-page.story-editorial .story-slide--cover .story-slide__title,
  .story-page.story-editorial .story-slide--dark .story-slide__title,
  .story-page.story-editorial .story-slide__plan-copy h2,
  .story-page.story-editorial .story-slide__gallery-copy h2 { font-size: clamp(2.35rem, 10vw, 3.65rem); line-height: .96; }
  .story-page.story-editorial .story-slide__eyebrow { margin: 0 0 .35rem; font-size: .57rem; }
  .story-page.story-editorial .story-slide__text,
  .story-page.story-editorial .story-slide__article .story-slide__text,
  .story-page.story-editorial .story-slide__feature-copy,
  .story-page.story-editorial .story-slide__plan-copy p,
  .story-page.story-editorial .story-slide__gallery-copy p { font-size: .91rem; line-height: 1.32; }
  .story-page.story-editorial .story-slide--cover .story-slide__copy { order: 1; }
  .story-page.story-editorial .story-slide--cover .story-slide__media { order: 2; height: 37svh; }
  .story-page.story-editorial .story-slide--cover .story-slide__title { font-size: clamp(2.85rem, 12vw, 4.6rem); }
  .story-page.story-editorial .story-spread__intro { margin: .45rem 0 0; border-left: 0; border-top: 1px solid var(--plate-rule); padding: .4rem 0 0; font-size: .9rem; line-height: 1.3; }
  .story-page.story-editorial .story-spread__detail { display: none; }
  .story-page.story-editorial .story-slide--dark .story-slide__copy,
  .story-page.story-editorial .story-slide--dark:not(.story-slide--with-article) .story-slide__copy { padding: 0; }
  .story-page.story-editorial .story-slide__feature-copy { margin-top: .65rem; padding-top: .45rem; }
  .story-page.story-editorial .story-slide--with-article .story-slide__media { height: 27svh; }
  .story-page.story-editorial .story-slide--kitchen .story-slide__media { height: 30svh; }
  .story-page.story-editorial .story-slide--has-palette .story-slide__media { height: 24svh; }
  .story-page.story-editorial .story-slide--has-palette .story-spread__palette { margin-top: .45rem; padding-top: .4rem; }
  .story-page.story-editorial .story-slide--has-palette .story-spread__samples { margin-top: .35rem; }
  .story-page.story-editorial .story-slide__article { margin-top: .55rem; padding-top: .45rem; }
  .story-page.story-editorial .story-slide__article .story-slide__text { margin-top: .3rem; }
  .story-page.story-editorial .story-slide--drawing .story-slide__media { height: 29svh; }
  .story-page.story-editorial .story-slide__plan-copy p { margin-top: .55rem; padding-top: .55rem; }
  .story-page.story-editorial .story-slide__plan-copy::after { display: none; }
  .story-page.story-editorial .story-slide.story-slide--gallery { justify-content: flex-start; }
  .story-page.story-editorial .story-slide__spread { order: 1; flex: 1 0 auto; height: 43svh; }
  .story-page.story-editorial .story-slide__spread figure:first-child { height: 100%; }
  .story-page.story-editorial .story-slide__spread figure:first-child img { height: calc(100% - 1.1rem); }
  .story-page.story-editorial .story-slide__spread figure:nth-child(2) { display: none; }
  .story-page.story-editorial .story-slide__secondary { display: none; }
  .story-page.story-editorial .story-slide__gallery-copy { margin: 0; border-top: 0; }
  .story-page.story-editorial .story-slide__gallery-copy p { margin-top: .55rem; padding-top: .5rem; }
  .story-page.story-editorial .story-slide__label { right: 1.25rem; bottom: .9rem; left: 1.25rem; font-size: .51rem; }
}

@media (max-width: 700px) and (max-height: 720px) {
  .story-page.story-editorial .story-slide__media,
  .story-page.story-editorial .story-slide--dark .story-slide__media { height: 31svh; }
  .story-page.story-editorial .story-slide--with-article .story-slide__media { height: 19svh; }
  .story-page.story-editorial .story-slide--kitchen .story-slide__media { height: 24svh; }
  .story-page.story-editorial .story-slide--has-palette .story-slide__media { height: 19svh; }
  .story-page.story-editorial .story-slide__spread { height: 36svh; }
  .story-page.story-editorial .story-slide--drawing .story-slide__media { height: 22svh; }
  .story-page.story-editorial .story-slide--cover .story-slide__media { height: 30svh; }
}

@media (prefers-reduced-motion: reduce) {
  .story-page.story-editorial .story-feed { scroll-behavior: auto; }
}

/* The portfolio index uses the same paper, typographic scale and plate rules. */
.portfolio-editorial {
  --plate-paper: #fff;
  --plate-ink: #29231f;
  --plate-muted: #665b52;
  --plate-rule: rgba(41, 35, 31, .43);
  background: var(--plate-paper);
  color: var(--plate-ink);
}
.portfolio-editorial .site-header { background: var(--plate-paper); border-bottom: 1px solid var(--plate-rule); }
.portfolio-editorial .quick-nav {
  gap: 2.5rem;
  padding: .8rem 5vw;
  background: var(--plate-paper);
  border-top: 0;
  border-bottom: 1px solid var(--plate-rule);
}
.portfolio-editorial .quick-nav a {
  padding: .1rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--plate-ink);
  font: 500 .66rem/1.3 Manrope, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.portfolio-editorial .quick-nav a:hover,
.portfolio-editorial .quick-nav a:focus-visible { background: none; color: var(--plate-ink); border-bottom: 1px solid currentColor; }
.portfolio-editorial .page-title { min-height: 24rem; background: var(--plate-paper); border-bottom-color: var(--plate-rule); }
.portfolio-editorial .page-title h1,
.portfolio-editorial .stories-hub__head h2,
.portfolio-editorial .portfolio-card h2 { font-family: "Bodoni Moda", "Playfair Display", Georgia, serif; font-style: normal; letter-spacing: -.065em; }
.portfolio-editorial .stories-hub { background: var(--plate-paper); }
.portfolio-editorial .stories-hub__head { margin-bottom: 2rem; }
.portfolio-editorial .stories-hub__note { max-width: 23rem; }
.portfolio-editorial .story-tabs { justify-content: flex-start; border-color: var(--plate-rule); }
.portfolio-editorial .story-tab { border: 0; border-radius: 0; background: none; color: var(--plate-ink); font: 500 .72rem/1.3 Manrope, sans-serif; letter-spacing: 0; text-transform: none; }
.portfolio-editorial .story-tab[aria-selected="true"] { border-bottom: 2px solid var(--plate-ink); background: none; color: var(--plate-ink); }
.portfolio-editorial .story-tab-panel { padding-top: 2rem; }
.portfolio-editorial .story-ring__disc { border-color: var(--plate-rule); font-family: "Bodoni Moda", Georgia, serif; }
.portfolio-editorial .story-ring__name { font-family: Manrope, sans-serif; }
.portfolio-editorial .media-showcase { background: #ded6cb; }
.portfolio-editorial .media-copy h2 { font-family: "Bodoni Moda", Georgia, serif; }
.portfolio-editorial .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4.8rem 3vw;
  padding: 7rem 7vw 8rem;
  background: var(--plate-paper);
}
.portfolio-editorial .portfolio-grid::before { content: "FIVE PROJECTS / FIVE STORIES"; color: var(--plate-muted); }
html[lang="de"] .portfolio-editorial .portfolio-grid::before { content: "FÜNF PROJEKTE / FÜNF GESCHICHTEN"; }
.portfolio-editorial .portfolio-card,
.portfolio-editorial .portfolio-card:nth-of-type(2),
.portfolio-editorial .portfolio-card.lower {
  grid-column: span 6;
  min-width: 0;
  margin: 0;
}
.portfolio-editorial .portfolio-card.wide { grid-column: 1 / -1; display: block; }
.portfolio-editorial .portfolio-card:nth-of-type(4) { grid-column: 2 / span 5; }
.portfolio-editorial .portfolio-card:nth-of-type(5) { grid-column: 7 / span 5; padding-top: 6vw; }
.portfolio-editorial .portfolio-card::before { display: none; }
.portfolio-editorial .portfolio-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.portfolio-editorial .portfolio-card.wide .portfolio-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, .7fr);
  align-items: end;
  gap: 4vw;
}
.portfolio-editorial .portfolio-card img,
.portfolio-editorial .portfolio-card.wide img {
  display: block;
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  filter: saturate(.86);
}
.portfolio-editorial .portfolio-card.wide img { aspect-ratio: 1.62; }
.portfolio-editorial .portfolio-card:nth-of-type(4) img { aspect-ratio: 1.1; }
.portfolio-editorial .portfolio-card:nth-of-type(5) img { aspect-ratio: 1.1; }
.portfolio-editorial .portfolio-card div,
.portfolio-editorial .portfolio-card.wide div { padding: 1.15rem 0 0; border-top: 1px solid var(--plate-rule); }
.portfolio-editorial .portfolio-card span { font: 500 .64rem/1.2 Manrope, sans-serif; color: var(--plate-muted); }
.portfolio-editorial .portfolio-card h2,
.portfolio-editorial .portfolio-card.wide h2 {
  max-width: 14ch;
  margin: .55rem 0 .65rem;
  font-size: clamp(3rem, 4.4vw, 5.2rem);
  line-height: .95;
  color: var(--plate-ink);
}
.portfolio-editorial .portfolio-card p { max-width: 32ch; margin: 0; color: var(--plate-ink); font: 400 clamp(1rem, 1.25vw, 1.25rem)/1.4 "Playfair Display", Georgia, serif; }
.portfolio-editorial .portfolio-card small { display: inline-block; margin-top: 1.2rem; border-bottom: 1px solid currentColor; padding-bottom: .2rem; font: 500 .65rem/1.3 Manrope, sans-serif; }
.portfolio-editorial .portfolio-card__link:hover img { filter: saturate(1) contrast(1.04); }
.portfolio-editorial .portfolio-card__link:focus-visible { outline: 2px solid var(--plate-ink); outline-offset: .35rem; }
.portfolio-editorial .portfolio-note { grid-column: 1 / -1; background: #29231f; }
.portfolio-editorial .gallery-section { background: #e9e2d8; }

@media (max-width: 700px) {
  .portfolio-editorial .quick-nav { gap: .8rem; padding: .65rem .5rem; }
  .portfolio-editorial .quick-nav a { flex: 1 1 0; min-width: 0; padding: .1rem 0; font-size: .52rem; white-space: normal; text-align: center; }
  .portfolio-editorial .page-title { min-height: 22rem; }
  .portfolio-editorial .page-title h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .portfolio-editorial .stories-hub__head h2 { font-size: clamp(3.3rem, 14vw, 5.2rem); }
  .portfolio-editorial .story-tabs { flex-wrap: nowrap; gap: 0; overflow-x: auto; }
  .portfolio-editorial .story-tab { flex: 0 0 auto; padding: .7rem .8rem; font-size: .63rem; }
  .portfolio-editorial .portfolio-grid { display: block; padding: 4.5rem 1.25rem 5rem; }
  .portfolio-editorial .portfolio-card,
  .portfolio-editorial .portfolio-card:nth-of-type(5) { margin: 0 0 3.8rem; padding: 0; }
  .portfolio-editorial .portfolio-card.wide .portfolio-card__link { display: block; }
  .portfolio-editorial .portfolio-card img,
  .portfolio-editorial .portfolio-card.wide img,
  .portfolio-editorial .portfolio-card:nth-of-type(4) img,
  .portfolio-editorial .portfolio-card:nth-of-type(5) img { aspect-ratio: 1.15; }
  .portfolio-editorial .portfolio-card h2,
  .portfolio-editorial .portfolio-card.wide h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
}

/* Detail studies echo the circular editorial annotations in the project references. */
.story-page.story-editorial .story-slide--dark .story-spread__detail {
  width: clamp(11rem, 17vw, 19rem);
  height: auto;
  margin: 0 auto 1.35rem;
}
.story-page.story-editorial .story-slide--dark .story-spread__detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: .5rem solid var(--plate-paper);
  border-radius: 50%;
  outline: 1px solid var(--plate-ink);
  object-fit: cover;
}
.story-page.story-editorial .story-slide--dark .story-spread__detail::before {
  position: absolute;
  top: -.4rem;
  left: -.4rem;
  width: calc(100% + .8rem);
  aspect-ratio: 1;
  border: 1px solid var(--plate-ink);
  border-radius: 51% 49% 48% 52% / 49% 52% 51% 48%;
  content: "";
  transform: rotate(9deg);
}
.story-page.story-editorial .story-slide--dark .story-spread__detail figcaption {
  max-width: 17ch;
  margin: .65rem auto 0;
  text-align: center;
}
.story-page.story-editorial .story-spread__samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.story-page.story-editorial .story-spread__samples figure { text-align: center; }
.story-page.story-editorial .story-spread__samples img {
  width: min(100%, clamp(8rem, 10.5vw, 12rem));
  margin: 0 auto;
  aspect-ratio: 1;
  border: .35rem solid var(--plate-paper);
  border-radius: 50%;
  outline: 1px solid var(--plate-ink);
}
.story-page.story-editorial .story-spread__samples figcaption { margin-top: .45rem; font-size: .65rem; }
@media (min-width: 1800px) {
  .story-page.story-editorial .story-spread__samples { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1201px) {
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail--cover:not(.story-spread__detail--second) figcaption {
    top: 28%;
    left: calc(100% + .9rem);
    width: clamp(7rem, 8vw, 12rem);
    font-size: clamp(1.55rem, 1.9vw, 2.25rem);
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail--second {
    top: clamp(10rem, 17vh, 14rem);
    right: 8vw;
    bottom: auto;
    left: auto;
    width: clamp(10rem, 12vw, 18rem);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail--second {
    top: clamp(10rem, 17vh, 14rem);
    right: 8vw;
    bottom: auto;
    left: auto;
    width: clamp(10rem, 12vw, 18rem);
  }
  .story-page.story-editorial .story-slide--cover:not([data-layout="portrait"]) .story-spread__detail--second {
    top: 37vh;
    right: auto;
    left: 62vw;
    width: clamp(9rem, 11vw, 15rem);
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail--second figcaption,
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail--second figcaption {
    position: static;
    width: 100%;
    max-width: 15ch;
    margin: .6rem auto 0;
    font-size: clamp(1.4rem, 1.7vw, 2.15rem);
    line-height: .94;
    text-align: center;
    transform: rotate(4deg);
  }
  .story-page.story-editorial .story-slide--cover[data-layout="portrait"] .story-spread__detail--second figcaption {
    background: var(--plate-paper);
    padding: .2rem .35rem;
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail--second::after { display: none; }
}
@media (max-width: 1200px) {
  .story-page.story-editorial .story-slide--cover .story-spread__detail--second { display: none; }
}
@media (max-width: 700px) {
  .story-page.story-editorial .site-header {
    min-height: 3.4rem;
    padding: .3rem 1rem;
  }
  .story-page.story-editorial .site-header .brand-mark {
    width: 3.25rem;
    height: 2.45rem;
  }
  .story-page.story-editorial .story-lang-switch {
    top: .55rem;
    right: 1rem;
    gap: .22rem;
  }
  .story-page.story-editorial .story-lang-switch button { min-height: 2.1rem; }
  .story-page.story-editorial .story-switcher {
    top: .46rem;
    right: 50%;
    transform: translateX(50%);
    padding: .12rem;
  }
  .story-page.story-editorial .story-switcher a {
    width: 1.85rem;
    height: 2.15rem;
    border-radius: 999px;
  }
  .story-page.story-editorial .story-actions {
    top: 3.4rem;
    width: 100%;
    gap: clamp(.85rem, 5vw, 2rem);
    justify-content: center;
    padding: 0 .75rem;
    background: var(--plate-paper);
    border-bottom: 1px solid var(--plate-rule);
  }
  .story-page.story-editorial .story-actions a {
    flex: 0 1 auto;
    min-height: 2.35rem;
    font-size: clamp(.51rem, 2.3vw, .65rem);
    text-align: center;
  }
  .story-page.story-editorial .story-actions a[aria-current="page"] {
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: .3em;
  }

  .story-page.story-editorial .story-slide__label {
    position: static;
    order: 4;
    margin: auto 0 0;
    padding-top: .55rem;
  }
  .story-page.story-editorial .story-slide--drawing .story-slide__drawing-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
  }

  .story-page.story-editorial .story-slide--cover,
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) {
    display: grid;
    gap: clamp(.65rem, 1.6svh, 1.05rem);
    align-items: start;
  }
  .story-page.story-editorial .story-slide--cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto minmax(8.5rem, 1fr) auto auto;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) {
    grid-template-columns: minmax(0, 1fr) minmax(5.5rem, .53fr);
    grid-template-rows: auto minmax(9rem, 1fr) auto auto;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__copy {
    grid-area: 2 / 1 / 3 / -1;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__title {
    font-size: clamp(2.35rem, 10.2vw, 4.5rem);
  }
  .story-page.story-editorial .story-slide--cover .story-slide__media,
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__media {
    grid-column: 1 / -1;
    align-self: stretch;
    height: auto;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__media { grid-row: 3; }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__media { grid-row: 2; }
  .story-page.story-editorial .story-slide--cover .story-slide__media > img,
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__media > :is(img, video) {
    position: absolute;
    inset: 0;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__copy {
    grid-area: 3 / 1;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__title {
    font-size: clamp(1.7rem, 8.4vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .story-page.story-editorial .story-slide--cover .story-spread__detail,
  .story-page.story-editorial .story-slide--dark:not(.story-slide--has-palette) .story-spread__detail {
    position: relative;
    inset: auto;
    display: block;
    width: min(100%, clamp(5.8rem, 29vw, 10rem), 15svh);
    height: auto;
    margin: .25rem auto 0;
    align-self: start;
    transform: none;
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail { grid-area: 4 / 1; }
  .story-page.story-editorial .story-slide--cover .story-spread__detail--second { grid-area: 4 / 2; }
  .story-page.story-editorial .story-slide--dark:not(.story-slide--has-palette) .story-spread__detail {
    grid-area: 3 / 2;
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail::before,
  .story-page.story-editorial .story-slide--dark .story-spread__detail::before {
    top: -.25rem;
    left: -.25rem;
    width: calc(100% + .5rem);
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail::after { display: none; }
  .story-page.story-editorial .story-slide--cover .story-spread__detail-frame,
  .story-page.story-editorial .story-slide--dark .story-spread__detail img { border-width: .28rem; }
  .story-page.story-editorial .story-slide--cover .story-spread__detail figcaption,
  .story-page.story-editorial .story-slide--dark .story-spread__detail figcaption {
    margin: .52rem -.35rem 0;
    max-width: none;
    font-size: clamp(1.1rem, 4.6vw, 1.55rem);
    line-height: 1;
    text-align: center;
    transform: none;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__label,
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__label {
    grid-column: 1 / -1;
    grid-row: -2 / -1;
  }

  .story-page.story-editorial .story-spread__samples { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
  .story-page.story-editorial .story-slide--has-palette .story-spread__samples img { width: min(100%, 4.25rem); aspect-ratio: 1; border-width: .2rem; }
  .story-page.story-editorial .story-spread__samples figcaption { font-size: .55rem; }
}

@media (max-width: 700px) and (max-height: 720px) {
  .story-page.story-editorial .story-slide--cover {
    gap: .55rem .75rem;
    grid-template-rows: auto auto minmax(7rem, 1fr) auto auto;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__title {
    font-size: clamp(1.95rem, 9.2vw, 3.2rem);
  }
  .story-page.story-editorial .story-slide--cover .story-slide__title br { display: none; }
  .story-page.story-editorial .story-slide--cover .story-slide__title br + i::before { content: " "; }
  .story-page.story-editorial .story-slide--cover .story-spread__detail figcaption {
    margin-inline: -.95rem;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) {
    grid-template-rows: auto minmax(6.5rem, 1fr) auto auto;
  }
}

/* On phones, the project reads as one continuous illustrated editorial. */
@media (max-width: 700px) {
  .story-page.story-editorial .story-feed {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .story-page.story-editorial .story-slide,
  .story-page.story-editorial .story-slide.story-slide--gallery,
  .story-page.story-editorial .story-slide--cover,
  .story-page.story-editorial .story-slide--dark,
  .story-page.story-editorial .story-slide--drawing,
  .story-page.story-editorial .story-slide--dark[data-spread-variant="1"] {
    height: auto;
    min-height: 0;
    padding: 1.4rem clamp(.85rem, 4.5vw, 1.5rem) 1.7rem;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    border-bottom: 1px solid var(--plate-rule);
  }
  .story-page.story-editorial .story-slide:first-child {
    padding-top: 6.45rem;
  }
  .story-page.story-editorial .story-slide__label,
  .story-page.story-editorial .story-slide--cover .story-slide__label,
  .story-page.story-editorial .story-slide--dark .story-slide__label {
    position: static;
    margin-top: 1.15rem;
    border-top: 1px solid var(--plate-rule);
  }
  .story-page.story-editorial .story-slide--cover {
    grid-template-rows: auto auto auto auto auto;
  }
  .story-page.story-editorial .story-slide--cover .story-slide__media {
    grid-row: 3;
    height: auto;
    aspect-ratio: 1.12;
  }
  .story-page.story-editorial .story-slide--cover .story-spread__detail {
    width: min(100%, clamp(7rem, 31vw, 10rem));
    margin-top: .45rem;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) {
    grid-template-rows: auto auto auto auto;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-slide__media {
    height: auto;
    aspect-ratio: 1.25;
  }
  .story-page.story-editorial .story-slide--dark:has(> .story-spread__detail):not(.story-slide--has-palette) .story-spread__detail {
    width: min(100%, 9.5rem);
    margin-top: .6rem;
  }
  .story-page.story-editorial .story-slide--dark:not(:has(> .story-spread__detail)) .story-slide__media,
  .story-page.story-editorial .story-slide--has-palette .story-slide__media {
    height: auto;
    aspect-ratio: 1.25;
  }
  .story-page.story-editorial .story-slide--drawing .story-slide__media {
    height: auto;
    aspect-ratio: 1.34;
  }
  .story-page.story-editorial .story-slide--drawing .story-slide__media img {
    object-fit: contain;
  }
  .story-page.story-editorial .story-slide.story-slide--gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto;
    gap: .8rem;
    align-items: start;
  }
  .story-page.story-editorial .story-slide--gallery .story-spread__masthead {
    grid-column: 1 / -1;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__spread,
  .story-page.story-editorial .story-slide--gallery .story-slide__secondary {
    display: block;
    grid-row: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__spread {
    grid-column: 1;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__secondary {
    grid-column: 2;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__spread figure:first-child img,
  .story-page.story-editorial .story-slide--gallery .story-slide__secondary img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: .88;
    object-fit: cover;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__gallery-copy {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: .7rem 0 0;
    padding: 0;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__gallery-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__gallery-copy p {
    max-width: 33ch;
    margin-top: .45rem;
  }
  .story-page.story-editorial .story-slide--gallery .story-slide__label {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* Project highlights track reading progress through the mobile portfolio. */
.story-page.story-editorial,
.portfolio-editorial {
  --plate-paper: #fff;
  --plate-rule: rgba(41, 35, 31, .3);
}
.story-page.story-editorial .story-switcher a img,
.story-page.story-editorial .story-switcher__name { display: none; }
@media (max-width: 700px) {
  .story-page.story-editorial .site-header,
  .story-page.story-editorial .story-actions,
  .story-page.story-editorial .story-switcher { background: #fff; }
  .story-page.story-editorial .story-actions {
    top: 3.4rem;
    gap: .35rem;
    padding: .35rem .75rem;
    border: 0;
  }
  .story-page.story-editorial .story-actions a {
    min-height: 2rem;
    flex: 1 1 0;
    border-radius: 999px;
    background: #eee;
    text-decoration: none;
  }
  .story-page.story-editorial .story-actions a[aria-current="page"] {
    background: #dedede;
    text-decoration: none;
  }
  .story-page.story-editorial .story-switcher {
    top: 6.1rem;
    right: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: center;
    gap: clamp(.15rem, 1.5vw, .65rem);
    padding: .2rem .4rem .6rem;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--plate-rule);
    transform: none;
  }
  .story-page.story-editorial .story-switcher a {
    display: flex;
    flex: 0 1 4.2rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .25rem;
    width: auto;
    min-width: 0;
    height: auto;
    padding: .18rem 0 0;
    border: 0;
    border-radius: 0;
    color: var(--plate-ink);
    background: transparent;
    text-align: center;
  }
  .story-page.story-editorial .story-switcher a[aria-current="page"] {
    color: var(--plate-ink);
    background: transparent;
  }
  .story-page.story-editorial .story-switcher a img {
    display: block;
    width: 2.65rem;
    height: 2.65rem;
    padding: .15rem;
    border: .1rem solid var(--plate-ink);
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
  }
  .story-page.story-editorial .story-switcher a[aria-current="page"] img {
    border: .22rem solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
      conic-gradient(#858585 calc(var(--project-progress, .08) * 1turn), #e7e7e7 0) border-box;
  }
  .story-page.story-editorial .story-switcher__initials { display: none; }
  .story-page.story-editorial .story-switcher__name {
    display: block;
    max-width: 100%;
    font: 500 clamp(.48rem, 2.1vw, .57rem)/1.05 Manrope, sans-serif;
    letter-spacing: 0;
    white-space: normal;
  }
  .story-page.story-editorial .story-slide:first-child { padding-top: 11.65rem; }
}

.portfolio-editorial .portfolio-launch {
  padding: 5.2rem 5.2vw 2rem;
  background: #fff;
}
.portfolio-editorial .quick-nav { display: none; }
.portfolio-editorial .media-showcase,
.portfolio-editorial .gallery-section { background: #fff; }
.portfolio-editorial .portfolio-note {
  background: #fff;
  color: var(--plate-ink);
  border-top: 1px solid var(--plate-rule);
  /* Keep the closing note compact: the gallery follows immediately after it. */
  display: grid;
  min-height: 0;
  gap: .45rem;
  align-content: start;
  justify-content: start;
  padding: 1.65rem 3rem 1.45rem;
}
.portfolio-editorial .portfolio-note p { color: var(--plate-ink); margin: 0; }
.portfolio-editorial .portfolio-note a { align-self: start; }
.portfolio-editorial .portfolio-launch__categories,
.portfolio-editorial .portfolio-launch__projects {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.portfolio-editorial .portfolio-launch__categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  background: #eee;
  color: var(--plate-ink);
  font: 500 .7rem/1.2 Manrope, sans-serif;
  text-decoration: none;
}
.portfolio-editorial .portfolio-launch__commercial { flex-direction: column; gap: .08rem; }
.portfolio-editorial .portfolio-launch__commercial > span { white-space: nowrap; }
.portfolio-editorial .portfolio-launch__commercial small { color: #7a6f68; font: 600 .58rem/1 Manrope, sans-serif; letter-spacing: .08em; }
.portfolio-editorial .portfolio-launch__projects {
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.portfolio-editorial .portfolio-launch__projects a {
  display: flex;
  width: 5.7rem;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--plate-ink);
  font: 500 .66rem/1.15 Manrope, sans-serif;
  text-align: center;
  text-decoration: none;
}
.portfolio-editorial .portfolio-launch__projects img {
  width: 3.5rem;
  height: 3.5rem;
  padding: .2rem;
  border: 1px solid var(--plate-ink);
  border-radius: 50%;
  object-fit: cover;
}
.portfolio-editorial .portfolio-launch a:focus-visible,
.story-page.story-editorial .story-switcher a:focus-visible {
  outline: 2px solid var(--plate-ink);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .portfolio-editorial .portfolio-launch { padding: 5.2rem .75rem 1.5rem; }
  .portfolio-editorial .portfolio-launch__categories { gap: .3rem; }
  .portfolio-editorial .portfolio-launch__categories a {
    flex: 1 1 0;
    padding: .4rem .2rem;
    font-size: clamp(.51rem, 2.3vw, .65rem);
    text-align: center;
  }
  .portfolio-editorial .portfolio-launch__projects {
    gap: .2rem;
    justify-content: space-around;
    margin-top: 1.4rem;
  }
  .portfolio-editorial .portfolio-launch__projects a {
    width: 4.2rem;
    font-size: .52rem;
  }
  .portfolio-editorial .portfolio-launch__projects img {
    width: 2.65rem;
    height: 2.65rem;
  }
  .portfolio-editorial .page-title { min-height: 16rem; }
}

/* Keep the three portfolio controls in the header stack, while the project
   circles remain part of the page content. This removes the empty lead-in. */
.portfolio-editorial .subpage { padding-top: 9.1rem; }
.portfolio-editorial .portfolio-launch { padding-top: .9rem; }
.portfolio-editorial .portfolio-launch__categories {
  position: fixed;
  z-index: 69;
  top: 88px;
  right: 0;
  left: 0;
  min-height: 3.5rem;
  padding: .55rem max(5.2vw, 1rem);
  border-bottom: 1px solid var(--plate-rule);
  background: #fff;
}
.portfolio-editorial .portfolio-launch__projects { margin-top: .65rem; }
/* The shared fixed header supplies these controls on the portfolio page too. */
.portfolio-editorial .portfolio-launch { display: none; }

/* Portfolio used to hide its injected navigation. Keep the exact same
   three-tier header as every other page: header, three ovals, five circles. */
.portfolio-editorial .quick-nav {
  display: flex !important;
  position: fixed;
  z-index: 69;
  top: 54px;
  height: 44px;
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 5px 12px;
  border: 0;
  background: #fff;
}
.portfolio-editorial .quick-nav a {
  flex: 1 1 0;
  max-width: 360px;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #d6d5d2;
  border-radius: 999px;
  background: #e9e9e7;
  color: var(--plate-ink);
  font: 500 clamp(9px, 1.15vw, 11px)/1.1 Manrope, Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}
.portfolio-editorial .site-project-switcher {
  display: flex !important;
  position: fixed;
  z-index: 69;
  top: 98px;
  right: 0;
  left: 0;
  height: 66px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 38px);
  padding: 5px 10px 9px;
  border-bottom: 1px solid #d2d2d2;
  background: #fff;
}
.portfolio-editorial .subpage { padding-top: 164px; }

/* The commercial tab is deliberately an empty holding page.  The shared
   navigation stays visible, but no residential projects or film are reused. */
.portfolio-editorial .portfolio-commercial-empty {
  display: grid;
  min-height: 10rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  align-content: center;
  justify-items: center;
  gap: .7rem;
  background: #fff;
  text-align: center;
}
.portfolio-editorial .portfolio-commercial-empty .eyebrow {
  color: var(--plate-muted);
}
.portfolio-editorial .portfolio-commercial-empty h1 {
  margin: 0;
  color: var(--plate-ink);
  font: 400 clamp(3.5rem, 9vw, 7.5rem)/.86 "Playfair Display", Georgia, serif;
  letter-spacing: -.06em;
}
.portfolio-editorial .portfolio-commercial-empty h1 i { font-style: italic; }
.portfolio-editorial .portfolio-commercial-empty > p:last-child {
  max-width: 28rem;
  margin: 0;
  color: var(--plate-muted);
  font: 400 clamp(.82rem, 1.3vw, 1rem)/1.55 Manrope, Arial, sans-serif;
}
/* Author layout rules on the editorial sections must not override the
   HTML hidden state used by the commercial holding page. */
.portfolio-editorial .subpage > [hidden] { display:none!important; }
/* A short commercial holding page still fills the viewport, keeping the
   common footer at the bottom instead of leaving a white tail underneath. */
body.portfolio-commercial-mode {
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
body.portfolio-commercial-mode > .subpage { flex:1 0 auto; }
body.portfolio-commercial-mode > .site-footer { flex:0 0 auto; }

@media (max-width: 700px) {
  .portfolio-editorial .subpage { padding-top: 8.15rem; }
  .portfolio-editorial .portfolio-commercial-empty {
    min-height: 9rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .portfolio-editorial .portfolio-launch { padding: .55rem .75rem 1rem; }
  .portfolio-editorial .portfolio-launch__categories {
    top: 78px;
    min-height: 3.2rem;
    padding: .45rem .75rem;
  }
  .portfolio-editorial .portfolio-launch__projects { margin-top: .45rem; }
  .portfolio-editorial .portfolio-note {
    gap: .4rem;
    padding: 1.25rem 2.75rem 1.15rem;
  }
  /* The closing quote flows straight into the full shoot. */
  .portfolio-editorial .portfolio-grid { padding-bottom: 1.1rem; }
  .portfolio-editorial .gallery-section { padding-top: 1.1rem; }

  /* Full shoot is a horizontal film strip, not a 39-image vertical feed. */
  .portfolio-editorial .gallery-grid {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0 .5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
  }
  .portfolio-editorial .gallery-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .portfolio-editorial .gallery-grid::-webkit-scrollbar { display: none; }
  .portfolio-editorial .gallery-item,
  .portfolio-editorial .gallery-item:nth-child(n) {
    flex: 0 0 min(86vw, 34rem);
    margin: 0;
    scroll-snap-align: start;
  }
  .portfolio-editorial .gallery-item img {
    width: 100%;
    height: min(62vh, 32rem);
    object-fit: cover;
  }
  .portfolio-editorial .quick-nav {
    top: 44px;
    height: 38px;
    gap: 6px;
    padding: 4px 12px;
  }
  .portfolio-editorial .quick-nav a {
    min-height: 30px;
    padding: 4px 3px;
    font-size: clamp(9px, 2.35vw, 11px);
  }
  .portfolio-editorial .site-project-switcher {
    top: 82px;
    height: 54px;
    gap: clamp(16px, 5vw, 28px);
    padding: 4px 10px 6px;
  }
  .portfolio-editorial .site-project-switcher a {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
  }
  .portfolio-editorial .subpage { padding-top: 136px; }
}

/* Full shoot stays one continuous film strip at every viewport width.
   The old editorial grid split the frames into columns on desktop, which
   made the first row look broken and left large empty areas between shots. */
.portfolio-editorial .gallery-grid {
  display: flex;
  align-items: flex-start;
  gap: clamp(.75rem, 1.4vw, 1.25rem);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
}
.portfolio-editorial .gallery-grid::-webkit-scrollbar { display: none; }
.portfolio-editorial .gallery-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.portfolio-editorial .gallery-item,
.portfolio-editorial .gallery-item:nth-child(n) {
  flex: 0 0 min(70vw, 58rem);
  width: auto;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.portfolio-editorial .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: saturate(.9);
}

/* Do not turn the end of the full shoot into a large white tail. */
.portfolio-editorial .portfolio-grid { padding-bottom: 1.5rem; }
.portfolio-editorial .gallery-section {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* Keep the portfolio cover editorial, but remove the oversized empty lead-in
   that the 24rem minimum created on wide/high-density screens. */
@media (min-width: 701px) {
  .portfolio-editorial .page-title {
    min-height: 11rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    align-content: start;
    row-gap: 1rem;
  }
}

