.signature-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--ps-radius, 12px);
  background: linear-gradient(120deg, var(--ps-midnight, #171f48), var(--ps-blue, #2c378c));
}
.signature-close::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .3rem;
  background: var(--ps-copper, #b7782c);
}
.signature-close .close-note {
  max-width: 44ch;
  margin-top: .8rem;
  color: #edf0fa;
}
.signature-close .cta-stack { min-width: 0; }

.story-hero {
  overflow: hidden;
  border-radius: var(--ps-radius, 12px);
  background: var(--ps-midnight, #171f48);
}
.story-hero .brand-intro {
  background: var(--ps-midnight, #171f48);
  color: white;
  border-top: 3px solid var(--ps-copper, #b7782c);
}
.story-hero .brand-intro h1, .story-hero .brand-intro .text-link { color: white; }
.story-hero h1 em, .story-hero .kicker { color: #efc88f; }
.story-hero .kicker::before { background: currentColor; }
.story-hero .intro-actions > p { max-width: 39ch; color: #e3e8f3; }
.story-hero .intro-actions .button {
  background: white;
  border-color: white;
  color: var(--ps-midnight, #171f48);
}
.story-hero .brand-intro :focus-visible { outline-color: #f6c884; }
.story-reel {
  min-width: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  background: var(--ps-midnight, #171f48);
  color: white;
  touch-action: pan-y pinch-zoom;
}
.story-reel .story-frames { position: relative; min-width: 0; min-height: 0; }
.story-reel .story-frame { margin: 0; height: 100%; }
.story-reel .story-frame > img { width: 100%; height: 100%; object-fit: cover; }
.story-hero .story-frame:not([hidden]) { display: block; }
.story-reel .story-frame::after {
  inset: 43% 0 0;
  background: linear-gradient(transparent, rgb(9 16 35 / 85%));
}
.story-hero .story-frame figcaption, .owner-reel .story-frame figcaption {
  inset: auto 1.2rem 4.4rem clamp(1rem, 2vw, 2rem);
  max-width: calc(100% - 2.4rem);
}
.story-reel .story-frame figcaption p { color: white; font-size: .875rem; line-height: 1.4; }
.story-reel .story-frame figcaption .signature-slide-title {
  min-height: 44px;
  color: white;
  letter-spacing: -.035em;
  line-height: 1.12;
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  font-family: var(--serif);
  font-weight: 400;
}
.story-reel .story-controls {
  position: absolute;
  bottom: .8rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 0 2px;
  border: 1px solid #ffffff87;
  border-radius: 2rem;
  background: #17213af0;
  color: white;
}
.story-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.story-controls button:hover { background: #ffffff21; }
.story-controls button:focus-visible,.story-frame a:focus-visible { outline: 3px solid white; outline-offset: -3px; }
.story-controls [data-cover-step="-1"] svg { transform: rotate(180deg); }
.story-controls [data-cover-position] { font-size: .875rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.story-controls .story-motion { font-weight: 700; }
.story-controls .story-motion > span { line-height: 1; }

.signature-services {
  display: grid;
  gap: .55rem;
  margin: .85rem 0 0;
  border: 0;
}
.signature-services .scope-link {
  display: flex;
  min-height: 7rem;
  padding: clamp(.9rem, 1.6vw, 1.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ps-copper, #b7782c);
  border-radius: .55rem;
  background: white;
}
.signature-services .scope-link strong { color: var(--ps-midnight, #171f48); font-size: 1.05rem; line-height: 1.25; }
.signature-services .scope-link small { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.signature-services .scope-link svg { width: 18px; height: 18px; color: var(--ps-blue, #2c378c); }
.signature-scope-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--ps-radius, 12px); }
.signature-scope-card .signature-scope-image { display: block; overflow: hidden; }
.signature-scope-card img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.signature-scope-card .cardline, .signature-scope-card p { padding-inline: 1rem; }
.signature-scope-card p { padding-bottom: 1rem; }

.story-planning {
  background: var(--ps-cream, #f7f3eb);
  padding: clamp(1.2rem, 3.5vw, 3rem);
  border-radius: var(--ps-radius, 12px);
}
.story-planning-heading {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: clamp(1rem, 2.2vw, 1.75rem);
}
.story-planning-heading h2, .story-history h2, .story-neighbours h2 { margin-top: .5rem; }
.story-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.story-guides > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  gap: .35rem .5rem;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: white;
  text-decoration: none;
  color: var(--ink);
}
.story-guide-visual {
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: .35rem;
  aspect-ratio: 2.6;
}
.story-guide-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-guides h3 { margin: .6rem .3rem .15rem; font: 700 clamp(1rem, 1.4vw, 1.2rem)/1.3 var(--sans); letter-spacing: -.025em; }
.story-guides p { margin: 0 .3rem .4rem; color: var(--muted); font-size: .95rem; }
.story-guides > a > svg { margin-right: .4rem; color: var(--ps-blue, #2c378c); }
.guide-chips { display: flex; background: #efeee5; }
.guide-chips i { flex: 1; transform: skew(-14deg); }
.guide-chips i:nth-child(2) { background: #d9d3c4; }
.guide-chips i:nth-child(3) { background: #434b56; box-shadow: 3rem 0 #434b56; }

.signature-owners, .story-about-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.signature-owners .owners-copy { padding: .4rem 0; }
.owner-reel { border-radius: var(--ps-radius, 12px); }
.owner-reel .story-frame { aspect-ratio: 1.4; }
.owner-reel .story-frame > img { position: absolute; inset: 0; object-position: center 26%; }
.owner-reel .story-frame:nth-child(2) > img { object-position: center 33%; }
.owner-reel .story-frame figcaption .signature-slide-title { display: inline; }
.story-history, .story-neighbours {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.4rem, 5vw, 5rem);
}
.story-history p:not(.kicker),.story-neighbours p:not(.kicker) { max-width: 57ch; line-height: 1.6; }
.story-history p + p, .story-neighbours h2 + p { margin-top: 1rem; }
.story-history p a { color: var(--ps-blue, #2c378c); font-weight: 700; }
.story-neighbours { background: var(--ps-mist, #eff1f6); padding: clamp(1.3rem, 4vw, 3.5rem); border-radius: var(--ps-radius, 12px); }
.story-neighbours > a { align-self: center; justify-self: start; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .signature-services .scope-link, .story-guides > a, .signature-scope-card {
    transition: transform var(--ps-fast, 180ms) ease, box-shadow var(--ps-fast, 180ms) ease;
  }
  :is(.signature-services .scope-link, .story-guides > a, .signature-scope-card):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgb(23 31 72 / 10%);
  }
}
@media (prefers-reduced-motion:no-preference) {
  .story-reel [data-cover-slide]:not([hidden]) > img { animation: story-photo-in .28s ease-out both; }
  @keyframes story-photo-in { from { opacity: .84; } to { opacity: 1; } }
}
@media (max-width: 740px) {
  .signature-services .scope-link { padding: .8rem; min-height: 6rem; }
  .signature-services .scope-link svg { width: 15px; }
  .story-guides { grid-template-columns: 1fr; gap: .6rem; }
  .story-guides > a { grid-template-columns: minmax(3.75rem, 22%) minmax(0, 1fr) auto; column-gap: .75rem; }
  .story-guide-visual { grid-column: auto; aspect-ratio: 1.12; }
  .story-guides h3, .story-guides p { margin-inline: 0; }
  .story-guides h3 { margin-top: 0; }
  .story-guides p { margin-bottom: 0; }
  .signature-owners, .story-about-intro, .story-history, .story-neighbours { grid-template-columns: 1fr; }
  .story-about-intro { gap: 1rem; }
  .owner-reel .story-frame { aspect-ratio: 1.3; }
  .story-hero .story-frame { min-height: 13rem; }
  .story-reel .story-frame figcaption p { font-size: .8rem; }
}
@media (max-width: 355px) {
  .signature-services .scope-link { padding: .65rem; }
  .signature-services .scope-link small { font-size: .8rem; }
  .story-guides > a { column-gap: .45rem; }
}
@media print {
  .story-controls, .signature-services, .story-hero .cover-reel { display: none!important; }
}

.story-hero .cover-portrait { background: #17223c; }
.story-hero .cover-portrait > img { object-fit: contain; object-position: 67% center; }
.story-hero .hero-film-launch {
  position: absolute; inset: .85rem .85rem auto auto; z-index: 3;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .48rem .8rem; border: 1px solid #ffffff85; border-radius: 2rem;
  background: #161f45ec; color: #fff; font: 700 .84rem/1.15 var(--sans); cursor: pointer;
}
.story-hero .hero-film-launch[hidden] { display: none; }
.story-hero .hero-film-launch span { color: #efb774; }
.story-hero .hero-film-launch:hover { background: #243462; }
.story-hero .hero-film-launch:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) {
  .story-hero .hero-film-launch { inset: .6rem .6rem auto auto; }
}
