/*
 * Elis Doll — mobile system: "Indice de bolsillo"
 * This layer is intentionally last in the cascade. It replaces the desktop
 * ledger on small screens with native-ratio imagery, open spacing and one
 * clear decision at a time.
 */

@media (max-width: 900px) {
  :root {
    --mobile-edge: clamp(18px, 4.8vw, 28px);
    --mobile-space: clamp(56px, 9vw, 78px);
  }

  html {
    scroll-padding-top: 68px;
  }

  body {
    font-size: 1rem;
    line-height: 1.55;
  }

  main {
    overflow: visible;
  }

  .frame {
    width: min(calc(100% - (2 * var(--mobile-edge))), var(--measure));
  }

  /* Header and navigation */
  .site-header {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-header__inner {
    width: calc(100% - (2 * var(--mobile-edge)));
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand-name__word {
    font-size: 1.55rem;
    line-height: 0.95;
  }

  .brand-name {
    min-height: 44px;
    align-content: center;
  }

  .brand-name__line {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .menu-button {
    width: auto;
    min-width: 48px;
    min-height: 48px;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
  }

  .menu-button::after {
    margin-left: 7px;
    color: var(--berry-dark);
    content: "+";
    font-size: 1.15rem;
    font-weight: 400;
  }

  .menu-button[aria-expanded="true"]::after {
    content: "×";
  }

  .primary-navigation {
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 14px var(--mobile-edge) 18px;
    border: 0;
    background: var(--ink);
    color: var(--white);
  }

  .primary-navigation ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .primary-navigation li,
  .primary-navigation li:nth-child(2n),
  .primary-navigation li:last-child {
    grid-column: auto;
    border: 0;
  }

  .primary-navigation a {
    min-height: 48px;
    padding: 0;
    color: var(--white);
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
  }

  .primary-navigation a[aria-current="page"] {
    color: #f5c7d6;
  }

  /* Type and actions */
  .opening__copy h1,
  .route-opening__copy h1,
  .catalog-opening h1,
  .piece-summary h1,
  .brand-opening h1,
  .campaign-opening h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 11vw, 3.45rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .section-heading h2,
  .editorial-copy h2,
  .edition-intro h2,
  .gift-finder h2,
  .campaign-copy h2,
  .brand-section h2,
  .image-spread__copy h2,
  .closing-band h2,
  .story-route h2 {
    max-width: 15ch;
    font-size: clamp(2.15rem, 8.7vw, 2.75rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  .opening__copy > p,
  .route-opening__copy > p,
  .catalog-opening__copy > p:not(.catalog-opening__kicker),
  .piece-summary > p,
  .brand-opening > p,
  .campaign-opening > p,
  .section-heading p,
  .edition-intro p {
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
  }

  .opening__actions,
  .route-actions {
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .action-primary {
    width: 100%;
    min-height: 50px;
  }

  .action-secondary {
    width: fit-content;
    min-height: 46px;
    padding: 10px 0;
    border: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }

  .action-secondary::after {
    margin-left: 8px;
    content: "→";
    text-decoration: none;
  }

  .text-action {
    min-height: 44px;
    font-size: 0.92rem;
  }

  /* Openings: content first, imagery in its native ratio */
  .opening,
  .route-opening,
  .catalog-opening,
  .piece-opening {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    border: 0;
  }

  .opening__copy,
  .route-opening__copy,
  .catalog-opening__copy,
  .piece-summary,
  .piece-purchase {
    width: min(calc(100% - (2 * var(--mobile-edge))), var(--measure));
    margin-inline: auto;
    padding: 34px 0 28px;
    border: 0;
  }

  .opening__copy,
  .route-opening__copy {
    justify-content: flex-start;
  }

  .opening__copy > p,
  .route-opening__copy > p,
  .piece-summary > p {
    margin-top: 16px;
  }

  .opening__media,
  .route-opening__media,
  .catalog-opening__media {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    background: var(--paper);
  }

  .opening__media img,
  .route-opening__media img,
  .catalog-opening__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-position: center;
  }

  .page-home .opening__media img,
  .page-collection .catalog-opening__media img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .page-xv .route-opening__media,
  .page-gifts .route-opening__media {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .page-xv .route-opening__media img,
  .page-gifts .route-opening__media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .opening__caption {
    position: static;
    width: auto;
    padding: 11px var(--mobile-edge) 0;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.78rem;
  }

  .catalog-opening {
    width: 100%;
    padding: 0 0 22px;
    gap: 0;
  }

  .catalog-opening__kicker {
    margin-bottom: 12px;
  }

  /* Section rhythm */
  .story-index,
  .process-section,
  .gift-finder,
  .edition-preview,
  .brand-section,
  .campaign-index {
    padding-block: var(--mobile-space);
    border: 0;
  }

  .section-heading,
  .edition-intro {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading p,
  .edition-intro p {
    margin-top: 14px;
  }

  /* A compact thematic index — no table grid */
  .story-index__list {
    display: grid;
    gap: clamp(36px, 8vw, 52px);
    border: 0;
  }

  .story-entry {
    min-height: 0;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) clamp(108px, 34vw, 150px);
    grid-template-areas:
      "number title media"
      "number copy media";
    gap: 8px 14px;
    align-items: start;
    border: 0;
  }

  .story-entry__number {
    grid-area: number;
    padding: 4px 0 0;
    color: var(--berry-dark);
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
  }

  .story-entry__title {
    grid-area: title;
  }

  .story-entry__copy {
    grid-area: copy;
  }

  .story-entry__title,
  .story-entry__copy {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .story-entry__title h3 {
    font-size: clamp(1.55rem, 6vw, 1.95rem);
    line-height: 0.98;
  }

  .story-entry__copy p {
    margin: 4px 0 4px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .story-entry__copy .text-action {
    min-height: 44px;
    align-items: flex-start;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .story-entry__media {
    grid-area: media;
    align-self: start;
    overflow: hidden;
    border: 0;
    background: transparent;
  }

  .story-entry__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: cover;
  }

  .story-entry:nth-child(1) .story-entry__media img {
    aspect-ratio: 4 / 5;
  }

  .story-entry:nth-child(n + 2) .story-entry__media img {
    aspect-ratio: 3 / 2;
  }

  /* Process: open chapters instead of ruled cells */
  .process-ledger {
    margin-top: 34px;
    display: grid;
    gap: 30px;
    border: 0;
  }

  .process-step {
    min-height: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 14px;
    align-items: start;
    border: 0;
  }

  .process-step__number {
    grid-row: 1 / 3;
    padding-top: 3px;
    color: var(--berry-dark);
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.78rem;
  }

  .process-step h3,
  .process-step p {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .process-step h3 {
    font-size: 1.42rem;
    line-height: 1.05;
  }

  .process-step p {
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.48;
  }

  /* One quiet editorial plate */
  .editorial-band {
    margin: 18px 0 0;
    display: block;
    border: 0;
    background: var(--paper);
    color: var(--ink);
  }

  .editorial-band__media {
    width: calc(100% - var(--mobile-edge));
    margin-left: var(--mobile-edge);
  }

  .editorial-band__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .page-home .editorial-band__media img {
    aspect-ratio: 1 / 1;
  }

  .editorial-copy {
    width: min(calc(100% - (2 * var(--mobile-edge))), var(--measure));
    margin-inline: auto;
    padding: 26px 0 var(--mobile-space);
    color: var(--ink);
  }

  .editorial-copy p {
    margin-top: 15px;
    color: var(--ink-soft);
    font-size: 1rem;
  }

  .editorial-copy .text-action {
    margin-top: 12px;
    color: var(--berry-dark);
  }

  /* Product and reference collections — visual grid without cards */
  .edition-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
    border: 0;
  }

  .edition-entry,
  .edition-preview .edition-entry {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template:
      "number image" auto
      "name name" auto
      "details details" auto /
      24px minmax(0, 1fr);
    gap: 8px;
    align-content: start;
    align-items: start;
    border: 0;
  }

  .edition-entry__number {
    grid-area: number;
    align-self: start;
    padding-top: 5px;
    color: var(--olive);
    font-size: 0.72rem;
  }

  .edition-entry__image {
    grid-area: image;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    overflow: hidden;
    border: 0;
    background: var(--white);
  }

  .edition-entry__image img,
  .edition-entry__image img[src*="assets/products/"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Neutralize the legacy catalogue crop so each product stays inside its
     own mobile column at every intermediate width. */
  body .edition-preview .edition-entry__image img[src*="assets/products/"] {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .edition-entry:nth-child(1) .edition-entry__image img {
    transform: scale(1.12);
  }

  .edition-entry:nth-child(3) .edition-entry__image img,
  .edition-entry:nth-child(4) .edition-entry__image img {
    transform: scale(1.1);
  }

  .edition-entry__name {
    grid-area: name;
  }

  .edition-entry__details {
    grid-area: details;
  }

  .edition-entry__name,
  .edition-entry__details {
    min-width: 0;
    padding: 0;
  }

  .edition-entry__name h3 {
    font-size: clamp(1.45rem, 5.8vw, 1.8rem);
    line-height: 0.98;
  }

  .edition-entry__details {
    display: block;
    color: var(--ink-soft);
  }

  .edition-entry__details p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .edition-entry__details .text-action {
    margin-top: 4px;
    min-height: 44px;
    font-size: 0.82rem;
  }

  /* Image stories */
  .image-spread,
  .image-spread--product-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 0;
    background: var(--paper);
  }

  .image-spread__primary img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .image-spread__notes,
  .image-spread--product-pair .image-spread__notes {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 0.58fr);
    grid-template-rows: auto;
    border: 0;
    background: var(--white);
  }

  .image-spread__notes > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .image-spread__copy {
    padding: 30px var(--mobile-edge);
    border: 0;
  }

  .image-spread__copy p {
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .page-xv .image-spread--product-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--white);
  }

  .page-xv .image-spread--product-pair .image-spread__primary img,
  .page-xv .image-spread--product-pair .image-spread__notes > img {
    aspect-ratio: 1;
    object-fit: contain;
  }

  .page-xv .image-spread--product-pair .image-spread__notes {
    display: contents;
  }

  .page-xv .image-spread--product-pair .image-spread__copy {
    grid-column: 1 / -1;
    width: min(calc(100% - (2 * var(--mobile-edge))), var(--measure));
    margin-inline: auto;
    padding: 30px 0 var(--mobile-space);
  }

  /* Gift finder */
  .gift-finder {
    width: 100%;
    padding-inline: var(--mobile-edge);
    background: var(--paper-deep);
  }

  .gift-finder h2 {
    max-width: 13ch;
  }

  .gift-finder__form {
    margin-top: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    border: 0;
  }

  .gift-field {
    padding: 0;
    border: 0;
  }

  .gift-field select {
    min-height: 50px;
    padding-inline: 12px;
    background: var(--paper);
  }

  .gift-finder__submit {
    min-height: 50px;
  }

  .gift-result {
    border: 0;
  }

  .gift-result a {
    min-height: 44px;
    margin: 8px 0 0;
    display: inline-flex;
    align-items: center;
  }

  .review-navigation a {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  /* Piece page */
  .page-piece .piece-opening {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    overflow: visible;
    padding-bottom: 32px;
  }

  .page-piece .piece-summary {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 18px;
  }

  .page-piece .piece-gallery {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: 0 var(--mobile-edge) 26px;
    overflow: visible;
    background: var(--paper);
  }

  .page-piece .piece-gallery__stage {
    width: min(100%, 520px);
    height: auto;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--white);
  }

  .page-piece .piece-gallery__stage img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    transform: none;
  }

  .page-piece .piece-gallery__controls {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 12px 0 0;
  }

  .page-piece .piece-gallery__controls button {
    flex: 1;
    min-height: 48px;
  }

  .page-piece .piece-purchase {
    grid-column: 1;
    grid-row: 3;
    padding-top: 0;
  }

  .piece-facts {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    border: 0;
  }

  .piece-facts div {
    padding: 0;
    display: block;
    border: 0;
  }

  .piece-facts dt {
    font-size: 0.82rem;
  }

  .piece-facts dd {
    margin-top: 3px;
    font-size: 0.96rem;
  }

  /* Personalization proof */
  .personalization-proof {
    width: 100%;
    height: clamp(340px, 96vw, 470px);
    min-height: 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(110px, 0.65fr);
    border: 0;
  }

  .personalization-proof__piece {
    border: 0;
  }

  .personalization-proof__piece img {
    object-fit: contain;
  }

  .personalization-proof__piece--secondary img {
    object-fit: cover;
    object-position: center;
  }

  .personalization-proof__note {
    padding: 16px var(--mobile-edge);
    border: 0;
    background: var(--ink);
    color: var(--white);
    font-size: 1.15rem;
  }

  /* Compact closing fields */
  .closing-band {
    padding-block: var(--mobile-space);
    background: var(--paper-deep);
  }

  .closing-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .closing-band__copy p {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .story-route {
    border: 0;
  }

  .story-route__inner {
    grid-template-areas:
      "content"
      "process"
      "choices";
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: var(--mobile-space);
  }

  .story-route__content {
    display: block;
  }

  .story-route__intro {
    margin-top: 14px;
  }

  .story-route__cta {
    width: fit-content;
    margin-top: 22px;
    display: inline-flex;
  }

  .story-route__process {
    width: 100%;
    border: 0;
    background: transparent;
  }

  .story-route__process img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 45%;
  }

  .story-route__process figcaption {
    padding: 10px 0 0;
    border: 0;
    font-size: 0.78rem;
  }

  .story-route__choices ul {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 22px 18px;
    border: 0;
  }

  .page-home .story-route__choices {
    display: none;
  }

  .story-route__choices li,
  .story-route__choices li:nth-child(even) {
    border: 0;
  }

  .story-route__choices a {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 4px 8px;
    padding: 0;
  }

  .story-route__number {
    grid-column: 1;
    font-size: 0.72rem;
  }

  .story-route__name {
    grid-column: 1;
    font-size: 1.3rem;
  }

  .story-route__detail {
    display: none;
  }

  .story-route__arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
  }

  /* Dossier pages */
  .brand-opening,
  .campaign-opening {
    padding: 46px 0 40px;
    border: 0;
  }

  .brand-section__grid,
  .brand-signatures,
  .brand-application,
  .campaign-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    border: 0;
  }

  .brand-wordmark,
  .brand-symbol {
    width: min(100%, 260px);
    min-height: 0;
    margin-inline: auto;
    aspect-ratio: 1;
    border: 0;
  }

  .brand-wordmark {
    aspect-ratio: 1.4;
    font-size: clamp(3.7rem, 18vw, 5rem);
  }

  .brand-rules,
  .type-ledger,
  .palette-ledger,
  .campaign-message {
    border: 0;
  }

  .brand-rule,
  .type-specimen,
  .campaign-message div {
    border: 0;
  }

  .brand-rules {
    display: grid;
    gap: 24px;
  }

  .brand-rule {
    padding: 0;
  }

  .type-specimen {
    min-height: 0;
    padding: 28px 0;
  }

  .palette-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .palette-entry {
    min-height: 148px;
    border: 0;
  }

  .brand-application {
    margin-top: 30px;
  }

  .brand-application img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .brand-application__copy {
    padding: 0;
    border: 0;
  }

  .campaign-index {
    padding-top: 26px;
  }

  .campaign-entry {
    padding: 44px 0;
    border: 0;
  }

  .campaign-entry:first-child {
    border: 0;
  }

  .campaign-visuals {
    grid-row: 1;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr);
    gap: 12px;
  }

  .campaign-copy {
    grid-row: 2;
  }

  .campaign-visuals img {
    border: 0;
  }

  .campaign-visuals a,
  .campaign-visuals figcaption a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Footer */
  .site-footer {
    padding: 44px 0 24px;
    border: 0;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .site-footer__intro {
    grid-column: 1 / -1;
  }

  .site-footer h2 {
    font-size: 2.25rem;
  }

  .site-footer h3 {
    font-size: 1.15rem;
  }

  .site-footer p {
    margin-bottom: 0;
    font-size: 0.92rem;
  }

  .site-footer a {
    min-height: 44px;
    padding-block: 6px;
    font-size: 0.9rem;
    text-decoration-thickness: 1px;
  }

  .site-footer__end {
    margin-top: 28px;
    padding-top: 18px;
    display: grid;
    gap: 4px;
    font-size: 0.78rem;
  }

  /* Remove duplicated explanatory inventories on phones and tablets. */
  .page-xv .edition-preview,
  .page-personalized .edition-preview,
  .page-collection .process-section,
  .page-piece .process-section {
    display: none;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .opening,
  .route-opening {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .opening__copy,
  .route-opening__copy {
    width: auto;
    padding: 52px 34px;
  }

  .opening__media,
  .page-xv .route-opening__media,
  .page-gifts .route-opening__media {
    width: 100%;
    height: 100%;
  }

  .opening__media img,
  .page-xv .route-opening__media img,
  .page-gifts .route-opening__media img {
    height: 100%;
    max-height: 620px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .opening__caption {
    position: absolute;
    width: min(300px, 72%);
    padding: 12px 16px;
    background: rgba(255, 249, 246, 0.94);
  }

  .story-entry {
    grid-template-columns: 30px minmax(0, 1fr) 180px;
  }

  .process-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 42px;
  }

  .edition-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 22px;
  }

  .page-collection .edition-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .editorial-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
  }

  .editorial-band__media {
    width: 100%;
    margin: 0;
  }

  .editorial-copy {
    width: 100%;
    max-width: 100%;
    padding: 42px 34px;
  }

  .story-route__inner {
    grid-template-areas:
      "content content"
      "process choices";
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 28px 34px;
  }
}

@media (min-width: 600px) and (max-width: 760px) {
  .page-collection .edition-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  .edition-list {
    gap-inline: 12px;
  }

  .edition-entry,
  .edition-preview .edition-entry {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .edition-entry__name h3 {
    font-size: 1.32rem;
  }

  .story-entry {
    grid-template-columns: 22px minmax(0, 1fr) 94px;
    gap-inline: 10px;
  }

  .story-route__choices ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

html[data-text-scale="large"] .story-entry,
html[data-text-scale="large"] .process-step,
html[data-text-scale="large"] .edition-list,
html[data-text-scale="large"] .story-route__choices ul,
html[data-text-scale="large"] .site-footer__grid,
html[data-text-scale="large"] .piece-facts {
  grid-template-columns: minmax(0, 1fr);
}

html[data-text-scale="large"] .story-entry {
  grid-template-areas:
    "number"
    "title"
    "media"
    "copy";
}

html[data-text-scale="large"] .story-entry__media {
  width: min(100%, 420px);
}

html[data-text-scale="large"] .process-step__number {
  grid-row: auto;
}

html[data-text-scale="large"] .edition-entry {
  width: min(100%, 440px);
}

html[data-text-scale="large"] .site-footer__intro {
  grid-column: auto;
}

html[data-text-scale="large"] .campaign-opening .route-actions,
html[data-text-scale="large"] .page-meta .campaign-visuals {
  grid-template-columns: minmax(0, 1fr);
}

html[data-text-scale="large"] :where(
  .action-primary,
  .action-secondary,
  .text-action,
  .campaign-visuals a
) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (prefers-reduced-motion: reduce) {
  .menu-button,
  .primary-navigation,
  .story-entry,
  .edition-entry {
    scroll-behavior: auto;
  }
}
