.ed-home { --story-header: 82px; --story-base: #0b0b0b; --story-accent: #b9c8f9; --story-travel: clamp(740px, 139svh, 1330px); }
.ed-home { overflow-x: clip; }
.ed-home .ed-page-main { padding-top: var(--story-header); }
.journey { position: relative; }
.story-ready .journey { min-height: calc(100svh - var(--story-header) + var(--story-travel)); }
.story-stage {
  position: relative;
  isolation: isolate;
  min-height: max(555px, calc(100svh - var(--story-header)));
  background: var(--story-base);
}
.story-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--home-grain) repeat;
}
.story-ready .story-stage {
  position: sticky;
  top: var(--story-header);
  height: calc(100svh - var(--story-header));
  min-height: 0;
  overflow: clip;
}
.story-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.story-media figure { position: absolute; inset: 0 0 0 20%; margin: 0; overflow: hidden; }
.story-media figure:not(:first-child) { opacity: 0; }
.story-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; max-width: none; }
.story-media figure:nth-child(2) img { object-position: 75% 48%; }
.story-media figure:nth-child(3) img { object-position: 66% 48%; }
.story-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg,var(--story-base) 8%, #0b0b0bef 25%, #0b0b0b58 49%, transparent 77%),
    linear-gradient(0deg,var(--story-base) 0%,#0b0b0ba8 12%,transparent 42%);
}
.story-copy {
  position: relative;
  z-index: 1;
  width: min(1260px,89vw);
  min-height: inherit;
  margin-inline: auto;
  padding-block: 38px 58px;
  display: grid;
  align-content: center;
}
.story-copy:not([data-scene="0"]) { display: none; }
.story-ready .story-copy {
  display: grid;
  position: absolute;
  inset: 0 0 45px;
  min-height: 0;
  padding-block: 32px 20px;
}
.story-ready .story-copy[data-scene]:not([data-scene="0"]) { opacity: 0; }
.story-copy article { width: min(700px,61%); }
.story-label { color: #d6d0c4; letter-spacing: .09em; margin: 0 0 16px; font-size: 13px; }
.story-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 11px;
  background: var(--story-accent);
  vertical-align: middle;
}
.story-copy h1,.story-copy h2 {
  font: 400 clamp(65px,9.4vw,132px)/1.06 var(--ed-serif);
  letter-spacing: -.05em;
  margin: 0;
}
.story-copy h2 { font-size: clamp(47px,5.4vw,79px); }
.story-copy h1 em { font-style: normal; color: var(--story-accent); }
.story-copy .story-text { max-width: 28em; font-size: 16px; line-height: 1.8; color: #e4ded2; margin-top: 21px; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 19px; }
.story-actions .story-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #ece7d970;
  color: var(--ed-ink);
  text-decoration: none;
}
.story-actions .story-button:hover { border-color: var(--ed-ink); }
.story-actions .story-button-primary {
  background: var(--story-accent);
  border-color: var(--story-accent);
  color: #141726;
}
.story-actions .story-button-primary:hover { background: #ced8ff; border-color: #ced8ff; color: #141726; }
.ed-home #architecture { padding-block-start: clamp(44px, 6vw, 86px); }
html[lang="en"] .story-copy h1 { font-size: clamp(47px, 6.1vw, 94px); }
html[lang="en"] .story-copy h2 { font-size: clamp(38px, 4.6vw, 68px); }
.story-controls { display: none; }
.story-ready .story-controls {
  z-index: 2;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0 6px;
}
.story-shell { width: min(1260px,89vw); margin-inline: auto; }
.story-controls-inner {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  position: relative;
  border-top: 1px solid #eee7dd36;
}
.story-progress { position: absolute; inset: -1px 0 auto; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--story-accent); pointer-events: none; }
.story-controls button {
  appearance: none; background: transparent; border: 0; cursor: pointer; color: #c9c4b9;
  text-align: left; font: inherit; min-height: 45px; padding: 10px 0;
}
.story-controls button[aria-pressed="true"] { color: var(--story-accent); }
.story-controls button::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--story-accent); vertical-align: .1em; opacity: 0; }
.story-controls button[aria-pressed="true"]::before { opacity: 1; }
@media (max-width:850px) {
  .story-copy h1 { font-size: clamp(55px,10.7vw,90px); }
  .story-copy h2 { font-size: clamp(44px,7.4vw,68px); }
  .story-copy article { width: 73%; }
  .story-media figure { left: 8%; }
}
@media (max-width:760px) {
  .ed-home { --story-header: 68px; }
}
@media (max-width:610px) {
  .story-shell { width: 91vw; }
  html[lang="en"] .story-copy h1 { font-size: clamp(36px, 9vw, 55px); }
  html[lang="en"] .story-copy h2 { font-size: clamp(34px, 8vw, 48px); }
  .ed-home { --story-travel: clamp(620px,117svh,900px); }
  .story-stage { min-height: 565px; }
  .story-copy { width: 91vw; align-content: end; }
  .story-ready .story-copy { bottom: 52px; padding-block: 30px 9px; }
  .story-copy article { width: 100%; }
  .story-label { margin-bottom: 8px; font-size: 12px; }
  .story-copy h1 { font-size: clamp(44px,12.3vw,65px); }
  .story-copy h2 { font-size: clamp(31px,9.4vw,53px); }
  .story-copy .story-text { font-size: 14px; margin-top: 11px; }
  .story-actions { gap: 9px; margin-top: 10px; }
  .story-media figure { inset: 0 0 13%; }
  .story-media img { object-position: 83% center; }
  .story-media figure:nth-child(2) img { object-position: 78% 50%; }
  .story-media figure:nth-child(3) img { object-position: 73% 50%; }
  .story-media::after {
    background:
       linear-gradient(0deg,var(--story-base) 7%,var(--story-base) 14%,#0b0b0be4 29%,#0b0b0b7d 52%,transparent 84%),
       linear-gradient(90deg,#0b0b0b30,transparent 65%);
  }
  .story-controls button { font-size: 12px; }
}
@media (max-width:360px) {
  .story-ready .story-copy { bottom: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-ready .journey { min-height: 0; }
  .story-ready .story-stage { position: relative; top: auto; }
}
