/* PDF brand kit: Títulos Tusker 4600 Semibold · Subtítulos/cuerpo Source Sans */
@font-face {
  font-family: "Tusker Grotesk";
  src: url("../fonts/TuskerGrotesk-4600Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tusker Grotesk";
  src: url("../fonts/TuskerGrotesk-4800Super.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #001250;
  --blue: #002070;
  --red: #990000;
  --ink: #1c1c1c;
  --paper: #f2f2ed;
  --cyan: #a9fffb;
  --lime: #a6ff99;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --display: "Tusker Grotesk", "Arial Narrow", sans-serif;
  --sub: "Source Sans 3", "Source Sans Pro", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pg-body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

/* Chrome */
.pg-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 3vw, 1.75rem);
  background: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  pointer-events: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.pg-mark,
.pg-index-btn {
  pointer-events: auto;
}

.pg-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
}

.pg-mark img {
  width: auto;
  height: 26px;
  object-fit: contain;
  transition: filter 0.25s ease;
}

/* Índice — primera versión del diseño (vidrio, no chrome) */
.pg-index-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--navy) 28%, transparent);
  background: #fff;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  padding: 0.7rem 1.35rem;
  border-radius: 0;
  min-width: 7.5rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 18, 80, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-index-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.pg-index-btn[aria-expanded="true"] {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
  box-shadow: none;
}

.home .pg-top:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

.home .pg-top:not(.is-scrolled) .pg-mark img {
  filter: invert(1);
}

.home .pg-top:not(.is-scrolled) .pg-index-btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.home .pg-top:not(.is-scrolled) .pg-index-btn:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.pg-index-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: color-mix(in srgb, var(--navy) 55%, transparent);
  backdrop-filter: blur(4px);
}

.pg-index-backdrop[hidden] {
  display: none;
}

.pg-index {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: color-mix(in srgb, var(--navy) 94%, black);
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  overflow: auto;
}

.pg-index[hidden] {
  display: none;
}

.pg-index-panel {
  display: grid;
  gap: 1.5rem;
  width: min(28rem, 100%);
}

.pg-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pg-index-label {
  margin: 0;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pg-index-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent);
  background: transparent;
  color: var(--paper);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pg-index-close:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.pg-index-list {
  display: grid;
  border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
}

.pg-index-list > a,
.pg-blog-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 0.1rem;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pg-index-list > a:hover,
.pg-blog-toggle:hover {
  color: var(--lime);
  padding-left: 0.45rem;
}

.pg-blog-drop {
  display: grid;
}

.pg-blog-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.pg-blog-drop.is-open .pg-blog-caret {
  transform: rotate(225deg) translateY(-1px);
}

.pg-blog-drop.is-open .pg-blog-toggle {
  color: var(--lime);
}

.pg-blog-menu {
  display: grid;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
}

.pg-blog-menu[hidden] {
  display: none;
}

.pg-index-sub {
  display: block;
  padding: 0.7rem 0.1rem 0.7rem 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 10%, transparent);
  font-family: var(--sub) !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--paper) 78%, #9eb6ff);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pg-index-sub:last-child {
  border-bottom: 0;
}

.pg-index-sub:hover {
  color: var(--lime);
  padding-left: 1.15rem;
}

.pg-rail {
  position: fixed;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.45rem;
  border-radius: 0;
  background: color-mix(in srgb, var(--navy) 72%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
}

.pg-rail a {
  font-family: var(--sub);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  text-align: center;
  min-width: 1.6rem;
}

.pg-rail a.is-active,
.pg-rail a:hover {
  color: var(--lime);
}

.pg-rail[data-tone="light"] {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-color: color-mix(in srgb, var(--navy) 16%, transparent);
}

.pg-rail[data-tone="light"] a {
  color: color-mix(in srgb, var(--navy) 62%, transparent);
}

.pg-rail[data-tone="light"] a.is-active,
.pg-rail[data-tone="light"] a:hover {
  color: var(--red);
}

@media (min-width: 900px) {
  .pg-rail {
    display: flex;
  }
}

.pg-main {
  width: 100%;
}

.pg-k {
  margin: 0 0 0.75rem;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Chapter 01 */
.pg-chapter-start {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.5rem clamp(1.15rem, 4vw, 3.25rem) 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(166, 255, 153, 0.2), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(169, 255, 251, 0.16), transparent 36%),
    linear-gradient(145deg, #001250 0%, #002070 48%, #001040 100%);
  overflow: hidden;
}

.pg-escudo {
  position: absolute;
  right: clamp(1%, 3vw, 7%);
  top: 48%;
  transform: translateY(-50%);
  width: min(42vw, 380px);
  aspect-ratio: 725 / 1024;
  pointer-events: none;
  z-index: 0;
}

.pg-escudo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.14;
}

@media (max-width: 820px) {
  .pg-escudo {
    width: min(58vw, 230px);
    right: 4%;
    top: 18%;
    transform: none;
  }

  .pg-escudo-img {
    opacity: 0.1;
  }
}

.pg-chapter-frame {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding-bottom: 2rem;
  animation: pg-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.pg-live {
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.pg-live::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  animation: pg-pulse 1.4s ease infinite;
}

@keyframes pg-pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

.pg-name {
  margin: 0;
  display: grid;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.6rem, 12vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.pg-name span:last-child {
  color: var(--cyan);
}

.pg-slash {
  margin: 1.35rem 0 0;
  max-width: 22ch;
  font-family: var(--sub);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.25;
  color: var(--lime);
}

.pg-deck {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  color: rgba(242, 242, 237, 0.9);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.pg-portals {
  margin-top: 2rem;
  display: grid;
  gap: 0;
  max-width: 26rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 24%, transparent);
}

.pg-portal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 24%, transparent);
  font-family: var(--sub);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pg-portal em {
  font-family: var(--sub);
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pg-portal:hover {
  color: var(--lime);
  padding-left: 0.35rem;
}

.pg-marquee {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  border-block: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}

.pg-marquee-track {
  display: flex;
  width: max-content;
  animation: pg-marquee 32s linear infinite;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cyan) 85%, white);
  padding: 0.9rem 0;
  white-space: nowrap;
}

@keyframes pg-marquee {
  to {
    transform: translateX(-25%);
  }
}

@keyframes pg-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Chapter 02 — sticky bio */
.pg-chapter-bio {
  display: grid;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}

@media (min-width: 900px) {
  .pg-chapter-bio {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.pg-bio-sticky {
  padding: clamp(5rem, 12vh, 7rem) clamp(1rem, 4vw, 3rem);
  background: var(--lime);
  color: var(--navy);
}

@media (min-width: 900px) {
  .pg-bio-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block: clamp(3rem, 7vh, 5rem);
  }
}

.pg-bio-sticky .pg-k {
  color: var(--navy);
}

.pg-bio-sticky h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.pg-bio-copy {
  padding: clamp(3rem, 8vh, 5rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  align-content: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  background: var(--paper);
}

.pg-bio-photo {
  display: block;
  width: 100%;
  max-width: 48rem;
  aspect-ratio: 4 / 3;
  margin: clamp(1.5rem, 3vh, 2rem) 0 0;
  overflow: hidden;
  background: var(--navy);
}

.pg-bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.pg-bio-copy p {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.75;
  max-width: 38rem;
  color: rgba(28, 28, 28, 0.92);
}

@media (min-width: 900px) {
  .pg-bio-copy {
    align-content: center;
    padding-block: clamp(3rem, 6vh, 4.5rem);
  }

  .pg-bio-photo {
    max-width: none;
    max-height: 52svh;
  }
}

/* Chapter 03 — stance */
.pg-chapter-stance {
  min-height: 100svh;
  background: var(--cyan);
  color: var(--navy);
  padding: clamp(5rem, 12vh, 7rem) clamp(1rem, 4vw, 3rem);
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 2vw), 0 100%);
}

.pg-stance-shell {
  max-width: 68rem;
}

.pg-chapter-stance .pg-k {
  color: var(--blue);
}

.pg-chapter-stance h2 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.98;
  max-width: 14ch;
}

.pg-stance-cols {
  columns: 1;
  column-gap: 2.5rem;
}

@media (min-width: 800px) {
  .pg-stance-cols {
    columns: 2;
  }
}

.pg-stance-cols p {
  margin: 0 0 1.15rem;
  break-inside: avoid;
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(0, 18, 80, 0.92);
}

.pg-stance-lead {
  column-span: all;
  font-family: var(--sub) !important;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem) !important;
  line-height: 1.45 !important;
  font-weight: 600;
  margin-bottom: 1.5rem !important;
  color: var(--navy) !important;
}

/* Chapter 04 — horizontal map */
.pg-chapter-map {
  padding: clamp(4rem, 10vh, 6rem) 0 clamp(3rem, 8vh, 4rem);
  background: var(--ink);
}

.pg-map-head {
  padding-inline: clamp(1rem, 4vw, 3rem);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.pg-map-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 0.92;
}

.pg-map-head p:last-child {
  margin: 0.9rem 0 0;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.pg-hscroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem clamp(1rem, 4vw, 3rem) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pg-hscroll::-webkit-scrollbar {
  height: 6px;
}

.pg-hscroll::-webkit-scrollbar-thumb {
  background: var(--lime);
}

.pg-tile {
  flex: 0 0 min(78vw, 22rem);
  scroll-snap-align: start;
  min-height: 18rem;
  padding: 1.4rem;
  background: var(--blue);
  display: grid;
  align-content: space-between;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pg-tile:hover {
  background: var(--navy);
  transform: translateY(-4px);
}

.pg-tile-n {
  font-family: var(--sub);
  color: var(--lime);
  font-size: 0.75rem;
}

.pg-tile strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.pg-tile span:last-child {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 0.95rem;
}

.pg-tile-empty {
  background: color-mix(in srgb, var(--blue) 70%, black);
}

/* Chapter 05 — signals */
.pg-chapter-signal {
  display: grid;
  gap: 0;
  background: var(--paper);
  color: var(--ink);
  padding-top: 2rem;
}

.pg-chapter-signal > .pg-k {
  padding: 0 clamp(1rem, 4vw, 3rem) 1rem;
  color: var(--red);
}

.pg-signal {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.75rem, 5vh, 2.75rem) clamp(1rem, 4vw, 3rem);
  min-height: 0;
  align-content: center;
  transition: filter 0.25s ease;
}

.pg-signal:hover {
  filter: brightness(1.05);
}

.pg-signal span {
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-signal strong {
  font-family: var(--sub);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.pg-signal em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36rem;
  opacity: 0.9;
}

.pg-signal-a {
  background: var(--navy);
  color: var(--paper);
}

.pg-signal-b {
  background: var(--red);
  color: var(--paper);
}

/* Chapter 06 — wire / contact */
.pg-chapter-wire {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(4rem, 10vh, 6rem) clamp(1rem, 4vw, 3rem);
}

.pg-wire-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 68rem;
}

@media (min-width: 900px) {
  .pg-wire-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.pg-chapter-wire .pg-k {
  color: var(--red);
}

.pg-chapter-wire h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.98;
  max-width: 16ch;
}

.pg-wire-lead {
  margin: 1rem 0 0;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.pg-wire-ig {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--sub);
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

.pg-wire-form {
  display: grid;
  gap: 0.85rem;
}

.pg-wire-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--sub);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pg-wire-form input,
.pg-wire-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 0.65rem 0;
}

.pg-wire-form input:focus,
.pg-wire-form textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.pg-wire-form button {
  justify-self: start;
  margin-top: 0.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.75rem 1.4rem;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.pg-wire-form button:hover {
  background: var(--red);
  border-color: var(--red);
}

.pg-wire-news {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.pg-wire-news h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
}

.pg-wire-news > p {
  margin: 0.4rem 0 1rem;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.pg-muted {
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  font-size: 0.92rem;
}

.pg-flash {
  font-family: var(--sub);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.pg-flash.ok {
  color: #1a6b2a;
}

.pg-flash.err {
  color: var(--red);
}

/* Inner pages */
.pg-story {
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
}

.pg-story-hero {
  padding: 7rem clamp(1rem, 4vw, 3rem) 2rem;
  background: var(--navy);
  color: var(--paper);
}

.pg-story-hero h1 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.88;
}

.pg-story-photo {
  display: block;
  width: calc(100% - clamp(2rem, 8vw, 6rem));
  max-width: 72rem;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  aspect-ratio: 1024 / 682;
  overflow: hidden;
  background: var(--navy);
}

.pg-story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-story-layout--aurora {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  width: calc(100% - clamp(2rem, 8vw, 6rem));
  max-width: 82rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 4rem) 0 5rem;
}

.pg-story-layout--aurora .pg-story-body {
  max-width: 42rem;
  padding: 0;
}

.pg-story-layout--aurora .pg-story-photo {
  order: -1;
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (min-width: 900px) {
  .pg-story-layout--aurora {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .pg-story-layout--aurora .pg-story-photo {
    order: initial;
  }
}

.pg-story-body {
  padding: clamp(2.5rem, 7vh, 4rem) clamp(1rem, 4vw, 3rem) 5rem;
  max-width: 42rem;
}

.pg-story-body p {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.pg-story-close {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  line-height: 1.1 !important;
  color: var(--navy) !important;
}

.pg-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pg-story-actions a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.pg-story-actions a:last-child {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

/* Blog */
.pg-blog {
  background: var(--paper);
  color: var(--ink);
  padding: 7rem clamp(1rem, 4vw, 3rem) 4rem;
  min-height: 100svh;
}

.pg-blog h1 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.9;
}

.pg-blog-lead {
  max-width: 34rem;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.pg-blog-cats {
  display: grid;
  margin: 1.5rem 0 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  max-width: 26rem;
}

.pg-blog-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  font-family: var(--sub);
  font-weight: 600;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--ink) 72%, var(--navy));
}

.pg-blog-cats a::after {
  content: "→";
  opacity: 0.4;
}

.pg-blog-cats a:hover {
  color: var(--red);
  padding-left: 0.3rem;
}

.pg-blog-list {
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.pg-blog-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.pg-blog-item time {
  font-family: var(--sub);
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-blog-item strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
}

.pg-blog-item:hover strong {
  color: var(--red);
}

.pg-single {
  background: var(--paper);
  color: var(--ink);
  padding: 7rem clamp(1rem, 4vw, 3rem) 4rem;
}

.pg-single h1 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 0.95;
  max-width: 16ch;
}

.pg-single-meta {
  margin-top: 0.85rem;
  font-family: var(--sub);
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.pg-single-body {
  max-width: 40rem;
  margin-top: 2rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.pg-single-foot {
  margin-top: 2.5rem;
}

.pg-single-foot a {
  font-family: var(--sub);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

/* Footer */
.pg-foot {
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent);
}

.pg-foot-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--sub);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-foot a:hover {
  color: var(--lime);
}

.pg-to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--paper) 42%, transparent);
  background: color-mix(in srgb, var(--navy) 82%, transparent);
  color: var(--paper);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s,
    color 0.2s ease,
    border-color 0.2s ease;
}

.pg-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pg-to-top:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.pg-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
