:root {
  --page-bg: #4ba4ea;
  --text-color: #ffffff;
  --shadow-color: rgba(14, 50, 78, 0.38);
  --accent-red: #ff3b30;
  --panel-ink: rgba(11, 48, 82, 0.82);
  --panel-line: rgba(255, 255, 255, 0.22);
  --panel-glass: rgba(255, 255, 255, 0.08);
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-body);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(11, 48, 82, 0.96);
  color: var(--text-color);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-shell,
.footer-shell {
  line-height: 0;
}

.story-panel {
  --panel-art-inset-left: 6.7708333333%;
  --panel-art-inset-right: 8.1770833333%;
  --panel-content-gutter: clamp(0.9rem, 1.4vw, 1.35rem);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: clamp(20rem, 45vw, 36rem);
  padding-inline: var(--panel-art-inset-left) var(--panel-art-inset-right);
  background-image: url("../../images/tws-banner-repeater-y.jpg?v=20260430-063722");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

.story-panel__inner {
  width: min(100%, 52rem);
  padding-inline: var(--panel-content-gutter);
  text-align: center;
  text-shadow: 0 2px 16px var(--shadow-color);
}

.story-topper {
  display: flex;
  justify-content: center;
  margin: 0 0 0.5rem;
}

.story-cta {
  --shiny-width: 6.4rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  max-width: min(100%, 20rem);
  padding: 0.38rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 44%), linear-gradient(135deg, #ff5a50, var(--accent-red) 48%, #da271d 100%);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 0.7rem 1.6rem rgba(117, 19, 13, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2rem);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.story-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 0.18rem 0.45rem rgba(117, 19, 13, 0.18));
}

.story-cta__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.story-cta__text {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(0.72rem, 1.15vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.84);
}

.story-cta__text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 40%, #ffffff 50%, rgba(255, 255, 255, 0.28) 60%, transparent 100%);
  background-size: var(--shiny-width) 100%;
  background-position: calc(-100% - var(--shiny-width)) 0;
  background-repeat: no-repeat;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  animation: shiny-text 7.5s cubic-bezier(0.6, 0.6, 0, 1) infinite;
}

.story-cta:hover,
.story-cta:focus-visible {
  box-shadow: 0 0.9rem 1.9rem rgba(117, 19, 13, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: saturate(1.04) brightness(1.03);
  transform: translateY(calc(-2rem - 2px));
}

.story-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}

.story-cta:active {
  transform: translateY(calc(-2rem - 1px));
}

@keyframes shiny-text {
  0%,
  88%,
  100% {
    background-position: calc(-100% - var(--shiny-width)) 0;
  }

  30%,
  60% {
    background-position: calc(100% + var(--shiny-width)) 0;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.lead,
.story-copy p,
.signature {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.lead {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-weight: 600;
  text-wrap: balance;
}

.marker-shell {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.marker-shell > .rough-annotation {
  z-index: -1;
}

.marker-target {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-inline: 0.1em;
}

.story-copy {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.story-copy p {
  margin: 0;
}

.story-copy__emphasis {
  display: inline;
  padding: 0 0.16em;
  color: #fff8db;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(11, 48, 82, 0.4);
  box-shadow: inset 0 -0.38em 0 rgba(255, 59, 48, 0.3);
}

.story-copy__emphasis--crisp {
  color: #ffffff;
  box-shadow: inset 0 -0.34em 0 rgba(255, 255, 255, 0.18);
}

.story-copy__intro {
  max-width: 44rem;
  width: 100%;
  justify-self: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  text-wrap: balance;
}

.story-copy__grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.35rem;
}

.story-copy__card {
  padding: 1.05rem clamp(0.95rem, 2.5vw, 1.2rem) 1.15rem;
  border: 1px solid var(--panel-line);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, var(--panel-glass), rgba(11, 48, 82, 0.14));
  box-shadow: 0 1rem 2.5rem rgba(11, 48, 82, 0.15);
  text-align: left;
}

.story-copy__card--highlight {
  background: linear-gradient(180deg, rgba(255, 59, 48, 0.16), rgba(11, 48, 82, 0.12));
}

.story-copy__label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-copy__note {
  max-width: 40rem;
  width: 100%;
  justify-self: center;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
}

.story-copy__prompt {
  margin-top: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.story-copy__link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.2rem;
}

.story-copy__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: min(100%, 27rem);
  padding: 0.95rem clamp(0.85rem, 2vw, 0.95rem) 0.95rem clamp(1rem, 2.6vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6258 0%, var(--accent-red) 45%, #da271d 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-align: left;
  text-shadow: none;
  box-shadow: 0 1.1rem 2.6rem rgba(117, 19, 13, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.story-copy__link-text,
.story-copy__link-icon {
  position: relative;
  z-index: 1;
}

.story-copy__link-text {
  min-width: 0;
}

.story-copy__link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
}

.story-copy__link-icon {
  flex: none;
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  color: rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 0.42rem 0.85rem rgba(117, 19, 13, 0.2));
}

.story-copy__link-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.story-copy__link:hover,
.story-copy__link:focus-visible {
  box-shadow: 0 1.35rem 3rem rgba(117, 19, 13, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: saturate(1.05) brightness(1.03);
  transform: translateY(-3px);
}

.story-copy__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.94);
  outline-offset: 4px;
}

.story-copy__link:active {
  transform: translateY(-1px);
}

.signature {
  margin: 1.75rem 0 0;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.signature__email {
  display: block;
  margin-top: 0.12rem;
}

.signature__email a {
  overflow-wrap: anywhere;
}

.signature a {
  color: inherit;
}

body.page-ready .story-panel__inner {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .story-panel__inner {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 600ms ease, transform 600ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-cta__text::after {
    animation: none;
    background-position: 50% 0;
  }
}

@media (max-width: 48rem) {
  .story-panel {
    --panel-content-gutter: 1rem;
  }

  .story-topper {
    margin: 0 0 0.45rem;
  }

  .story-cta {
    max-width: min(100%, 18rem);
    min-height: 2.75rem;
    gap: 0.5rem;
    padding: 0.52rem 0.82rem;
    transform: translateY(-1.5rem);
  }

  .story-cta__icon {
    width: 1.14rem;
    height: 1.14rem;
  }

  .story-cta__text {
    font-size: 0.76rem;
  }

  .eyebrow {
    letter-spacing: 0.18em;
  }

  .story-copy__link {
    width: min(100%, 24rem);
  }
}

@media (max-width: 26rem) {
  .story-panel {
    --panel-content-gutter: 0.85rem;
  }

  .story-copy {
    gap: 1rem;
  }

  .story-copy__link {
    gap: 0.65rem;
  }

  .story-copy__link-icon {
    width: 2.15rem;
    height: 2.15rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .story-cta:hover {
    box-shadow: 0 0.7rem 1.6rem rgba(117, 19, 13, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    filter: none;
    transform: translateY(-2rem);
  }

  .story-cta:active {
    box-shadow: 0 0.95rem 1.95rem rgba(117, 19, 13, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.02);
    transform: translateY(calc(-2rem - 1px));
  }
}

@media (max-width: 48rem) and (hover: none), (max-width: 48rem) and (pointer: coarse) {
  .story-cta:hover {
    transform: translateY(-1.5rem);
  }

  .story-cta:active {
    transform: translateY(calc(-1.5rem - 1px));
  }
}