/**
 * WEB-3.6 Release 41D.4B — Mirrored Chapter Geometry
 * Updated: 2026-11-22 05:45:59 PT
 * Ownership: Story Behind the Story destination page only.
 * No shared/global styling overrides.
 */

.ak-story-page {
  --ak-story-gold: #d8b879;
  --ak-story-text: #f5f1e9;
  --ak-story-muted: #e0ddd7;
  --ak-story-surface: #090b0e;
  --ak-story-surface-alt: #11161d;
  background: var(--ak-story-surface);
  color: var(--ak-story-text);
  color-scheme: dark;
}

.ak-story-page *,
.ak-story-page *::before,
.ak-story-page *::after {
  box-sizing: border-box;
}

.ak-story-page .ak-story-container {
  width: min(calc(100% - 80px), 1320px);
  margin-inline: auto;
}

.ak-story-page .ak-story-eyebrow {
  margin: 0 0 20px;
  color: var(--ak-story-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.6;
  text-transform: uppercase;
}

.ak-story-page h1,
.ak-story-page h2 {
  margin-top: 0;
  color: var(--ak-story-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
}

/* Dedicated cinematic hero */

.ak-story-page .ak-story-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  overflow: hidden;
  background: #090d13;
}

.ak-story-page .ak-story-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 9, 14, .94) 0%,
      rgba(5, 9, 14, .78) 35%,
      rgba(5, 9, 14, .32) 72%,
      rgba(5, 9, 14, .14) 100%
    ),
    url("../../images/story-behind-the-story/story-hero-writing-journey-2012.png");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover;
}

.ak-story-page .ak-story-hero__inner {
  padding-block: 110px;
}

.ak-story-page .ak-story-hero__content {
  max-width: 780px;
}

.ak-story-page .ak-story-hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 6.2vw, 6.5rem);
}

.ak-story-page .ak-story-hero__subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--ak-story-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.55;
}

/* Five immersive cinematic editorial chapters */

.ak-story-page .ak-story-chapter {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(94svh, 900px);
  padding-block: clamp(80px, 8vw, 128px);
  overflow: hidden;
  border-top: 1px solid rgba(216, 184, 121, .18);
  background: var(--ak-story-surface);
}

.ak-story-page .ak-story-chapter--2,
.ak-story-page .ak-story-chapter--4 {
  background: var(--ak-story-surface-alt);
}

.ak-story-page .ak-story-chapter__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  column-gap: clamp(24px, 3vw, 52px);
}

.ak-story-page .ak-story-chapter--right .ak-story-chapter__inner {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
}

.ak-story-page .ak-story-chapter__artwork {
  position: relative;
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  width: calc(100% + max(40px, calc((100vw - 1320px) / 2)));
  min-width: 0;
  min-height: clamp(440px, 62svh, 760px);
  margin: 0 0 0 calc(-1 * max(40px, calc((100vw - 1320px) / 2)));
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ak-story-page .ak-story-chapter__artwork img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.ak-story-page .ak-story-chapter__artwork::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 38%,
    rgba(9, 11, 14, .22) 65%,
    var(--ak-story-surface) 100%
  );
}

.ak-story-page .ak-story-chapter--2 .ak-story-chapter__artwork::after,
.ak-story-page .ak-story-chapter--4 .ak-story-chapter__artwork::after {
  background: linear-gradient(
    90deg,
    transparent 38%,
    rgba(17, 22, 29, .22) 65%,
    var(--ak-story-surface-alt) 100%
  );
}

.ak-story-page .ak-story-chapter__copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  max-width: 680px;
  padding-block: 30px;
}

.ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork {
  grid-column: 2;
  grid-row: 1;
  width: calc(100% + max(40px, calc((100vw - 1320px) / 2)));
  margin: 0 calc(-1 * max(40px, calc((100vw - 1320px) / 2))) 0 0;
}

.ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork::after {
  background: linear-gradient(
    270deg,
    transparent 38%,
    rgba(17, 22, 29, .22) 65%,
    var(--ak-story-surface-alt) 100%
  );
}

.ak-story-page .ak-story-chapter--right .ak-story-chapter__copy {
  grid-column: 1;
  grid-row: 1;
}

.ak-story-page .ak-story-chapter h2 {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(2.65rem, 4.2vw, 4.8rem);
}

.ak-story-page .ak-story-prose p {
  margin: 0 0 24px;
  color: var(--ak-story-muted);
  font-size: clamp(1.05rem, 1.15vw, 1.19rem);
  line-height: 1.85;
}

.ak-story-page .ak-story-prose p:last-child {
  margin-bottom: 0;
}

.ak-story-page .ak-story-prose strong {
  color: var(--ak-story-text);
}

.ak-story-page a:focus-visible {
  outline: 3px solid #f0cf92;
  outline-offset: 5px;
}

/* Tablet cinematic composition */

@media (max-width: 1023px) {
  .ak-story-page .ak-story-container {
    width: min(calc(100% - 48px), 1320px);
  }

  .ak-story-page .ak-story-chapter {
    min-height: 0;
    padding-block: 84px;
  }

  .ak-story-page .ak-story-chapter__inner,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
  }

  .ak-story-page .ak-story-chapter__artwork {
    min-height: 440px;
    width: calc(100% + 48px);
    margin-left: -48px;
  }

  .ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork {
    width: calc(100% + 48px);
    margin: 0 -48px 0 0;
  }

  .ak-story-page .ak-story-chapter h2 {
    font-size: clamp(2.25rem, 4.3vw, 3.7rem);
  }

}

/* Mobile: cinematic artwork above uninterrupted editorial copy */

@media (max-width: 767px) {
  .ak-story-page .ak-story-container {
    width: min(calc(100% - 36px), 1320px);
  }

  .ak-story-page .ak-story-hero {
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
  }

  .ak-story-page .ak-story-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(5, 9, 14, .58) 0%,
        rgba(5, 9, 14, .77) 48%,
        rgba(5, 9, 14, .92) 100%
      ),
      url("../../images/story-behind-the-story/story-hero-writing-journey-2012.png");
    background-position: center, 62% center;
  }

  .ak-story-page .ak-story-hero__inner {
    padding-block: 90px;
  }

  .ak-story-page .ak-story-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.3rem);
  }

  .ak-story-page .ak-story-chapter {
    display: block;
    min-height: 0;
    padding-block: 0 76px;
  }

  .ak-story-page .ak-story-chapter__inner,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .ak-story-page .ak-story-chapter__artwork,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork {
    grid-column: 1;
    grid-row: 1;
    width: calc(100% + 36px);
    min-height: 0;
    height: clamp(260px, 65vw, 480px);
    margin: 0 -18px;
  }

  .ak-story-page .ak-story-chapter__artwork img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }

  .ak-story-page .ak-story-chapter__artwork::after,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork::after {
    background: linear-gradient(
      180deg,
      transparent 40%,
      rgba(9, 11, 14, .3) 68%,
      var(--ak-story-surface) 100%
    );
  }

  .ak-story-page .ak-story-chapter--2 .ak-story-chapter__artwork::after,
  .ak-story-page .ak-story-chapter--4 .ak-story-chapter__artwork::after {
    background: linear-gradient(
      180deg,
      transparent 40%,
      rgba(17, 22, 29, .3) 68%,
      var(--ak-story-surface-alt) 100%
    );
  }

  .ak-story-page .ak-story-chapter__copy,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__copy {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding-block: 0;
    padding-left: 0;
  }

  .ak-story-page .ak-story-chapter h2 {
    font-size: clamp(2.3rem, 9vw, 3.6rem);
  }

  .ak-story-page .ak-story-prose p {
    font-size: 1.05rem;
    line-height: 1.85;
  }
}

@media (max-width: 360px) {
  .ak-story-page .ak-story-container {
    width: calc(100% - 32px);
  }

  .ak-story-page .ak-story-hero__inner {
    padding-block: 76px;
  }

  .ak-story-page .ak-story-chapter {
    padding-bottom: 64px;
  }

  .ak-story-page .ak-story-chapter__artwork,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork {
    width: calc(100% + 32px);
    margin-inline: -16px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .ak-story-page *,
  .ak-story-page *::before,
  .ak-story-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .ak-story-page .ak-story-hero,
  .ak-story-page .ak-story-chapter,
  .ak-story-page .ak-story-chapter__artwork {
    border: 1px solid CanvasText;
  }

  .ak-story-page .ak-story-hero::before {
    display: none;
  }

  .ak-story-page .ak-story-chapter__artwork::after {
    display: none;
  }

  .ak-story-page .ak-story-chapter__artwork {
    box-shadow: none;
  }
}

/* Print */

@media print {
  .ak-story-page {
    background: #fff;
    color: #000;
    color-scheme: light;
  }

  .ak-story-page .ak-story-hero {
    min-height: 0;
  }

  .ak-story-page .ak-story-hero::before,
  .ak-story-page .ak-story-chapter__artwork::after {
    display: none;
  }

  .ak-story-page .ak-story-chapter,
  .ak-story-page .ak-story-chapter--2,
  .ak-story-page .ak-story-chapter--4 {
    display: block;
    min-height: 0;
    padding-block: 24px;
    background: #fff;
    break-inside: auto;
  }

  .ak-story-page .ak-story-chapter__inner {
    display: block;
  }

  .ak-story-page .ak-story-chapter__artwork,
  .ak-story-page .ak-story-chapter--right .ak-story-chapter__artwork {
    width: 100%;
    max-width: 420px;
    min-height: 0;
    height: auto;
    margin: 0 0 24px;
    box-shadow: none;
  }

  .ak-story-page .ak-story-chapter__artwork img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .ak-story-page h1,
  .ak-story-page h2,
  .ak-story-page .ak-story-eyebrow,
  .ak-story-page .ak-story-prose p,
  .ak-story-page .ak-story-hero__subtitle {
    color: #000;
  }
}


/* WEB-3.8 Release 6.4C — scoped editorial accents; existing compositions retained. */
.ak-story-page .ak-story-chapter__copy > .ak-story-eyebrow {
  display: inline-flex; width: max-content; align-items: center; gap: 8px; max-width: 100%;
  font-size: clamp(.625rem, 1.05vw, .78rem); letter-spacing: .06em;
}
.ak-story-page .ak-story-chapter__copy > .ak-story-eyebrow::after {
  content: ""; display: block; flex: 0 1 auto; width: clamp(16px, calc(100vw - 304px), 64px); min-width: 16px; height: 2px; background: var(--ak-story-gold);
}
.ak-story-page .ak-story-prose > p {
  padding-inline-start: clamp(20px, 3vw, 30px);
}
.ak-story-page .ak-story-prose > p:first-child {
  border-inline-start: 2px solid var(--ak-story-gold); padding-inline-start: calc(clamp(20px, 3vw, 30px) - 2px);
}
@media (forced-colors: active) {
.ak-story-page .ak-story-chapter__copy > .ak-story-eyebrow::after {
  background: CanvasText; forced-color-adjust: none;
}
.ak-story-page .ak-story-prose > p:first-child {
  border-inline-start-color: CanvasText;
}
}
@media print {
.ak-story-page .ak-story-chapter__copy > .ak-story-eyebrow::after {
  background: #555;
}
.ak-story-page .ak-story-prose > p:first-child {
  border-inline-start-color: #555;
}
}
