:root {
  --el-paper: #eee9df;
  --el-ink: #11110f;
  --el-gutter: clamp(20px, 4.6vw, 90px);
}

.electrical-page { background: var(--el-ink); color: var(--el-paper); overflow: visible; }
.electrical-page :focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.el-story { position: relative; }
.el-stage { position: relative; background: var(--el-ink); }
.el-header {
  position: absolute;
  z-index: 4;
  inset: 0 clamp(18px, 2.4vw, 44px) auto;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(238, 233, 223, .36);
}
.el-header button { justify-self: end; }
.el-label, .el-annotation, .el-current {
  font: 400 clamp(11px, .82vw, 15px)/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.el-current { display: none; }
.el-scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 115px var(--el-gutter) max(106px, 13svh);
}
.el-photo, .el-scene::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.el-photo {
  object-fit: cover;
  object-position: 46% 44%;
  /* Both exposures share the same inset to hide the registration margins. */
  transform: scale(1.12);
  transform-origin: 50% 35%;
  z-index: -2;
}
.el-scene::after {
  content: '';
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 12, .63), transparent 26%, transparent 48%, rgba(13, 13, 12, .79)),
    linear-gradient(90deg, rgba(13, 13, 12, .49), transparent 67%);
}
.el-caption .el-label { margin: 0 0 15px; }
.el-caption :is(h1, h2), .el-inquiry h2 {
  margin: 0;
  font: 400 clamp(68px, 10.2vw, 194px)/.81 var(--serif);
  letter-spacing: -.055em;
}
.el-caption :is(h1,h2) em { display: inline-block; margin-left: .22em; }
.el-scene--banner .el-photo { transform: none; object-position: 64% center; }
.el-scene--banner::after {
  background: linear-gradient(180deg, rgba(13, 13, 12, .55), transparent 22%, transparent 58%, rgba(13, 13, 12, .63));
}
.el-scene--banner .el-caption h1 { font-size: clamp(56px, 7.3vw, 142px); }
.el-scene--banner .el-caption em { margin-left: 0; }
.el-annotation { position: absolute; bottom: 34px; right: var(--el-gutter); margin: 0; }
.el-rail, .el-scroll-cue { display: none; }

.el-story.is-scrubbed { height: 838svh; }
.is-scrubbed .el-stage { position: sticky; top: 0; height: 100svh; isolation: isolate; }
.is-scrubbed .el-scene { position: absolute; inset: 0; min-height: 0; }
.is-scrubbed [data-el-wipe] { clip-path: inset(100% 0 0); }
.is-scrubbed .el-current { display: block; }
.is-scrubbed .el-scroll-cue { display: block; }
.is-scrubbed .el-rail {
  display: block;
  position: absolute;
  z-index: 3;
  inset: auto var(--el-gutter) 20px;
  height: 1px;
  background: rgba(238, 233, 223, .35);
}
.el-rail span { display: block; height: 100%; background: var(--el-paper); transform: scaleX(0); transform-origin: left; }

.el-scene--editorial {
  padding-bottom: clamp(66px, 11svh, 134px);
}
.el-scene--editorial .el-photo {
  transform: none;
  object-position: var(--el-photo-position, center);
}
.el-scene--coordination { --el-photo-position: 50% 44%; }
.el-scene--automation { --el-photo-position: 66% 43%; }
.el-scene--future { --el-photo-position: 47% 50%; }
.el-scene--editorial::after {
  background: linear-gradient(180deg, rgba(13,13,12,.72), transparent 25%, rgba(13,13,12,.08) 35%, rgba(13,13,12,.82) 75%, rgba(13,13,12,.96));
}
.el-scene--editorial .el-caption {
  width: 100%;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 4.5vw, 80px);
}
.el-scene--editorial .el-caption h2 { font-size: clamp(56px, 8.25vw, 158px); }
.el-scene--editorial .el-caption h2 em { margin-left: 0; }
.el-editorial-copy {
  max-width: 45ch;
  padding-top: 15px;
  border-top: 1px solid rgba(238,233,223,.46);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.55;
  color: #f4efe6;
}
.el-editorial-copy p { margin: 0; }
.el-editorial-copy p + p { margin-top: .85em; }

.el-inquiry h2 { font-size: clamp(52px, 6.8vw, 124px); }

.el-inquiry {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: clamp(64px, 9vw, 140px) var(--el-gutter);
}
.el-inquiry a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 12px 0;
  border-block: 1px solid rgba(238, 233, 223, .42);
  font: 400 13px/1.3 var(--mono);
  text-transform: uppercase;
  text-decoration: none;
}
.el-inquiry a:hover { border-color: currentColor; }

@media (max-width: 760px) {
  .el-header { min-height: 70px; }
  .el-header .el-current { font-size: 10px; letter-spacing: .07em; }
  .el-photo { object-position: 44% 43%; }
  .el-caption :is(h1,h2) { font-size: clamp(52px, 12vw, 85px); }
  .el-caption :is(h1,h2) em { margin-left: .10em; }
  .el-scene--editorial { padding-bottom: 45px; }
  .el-scene--editorial .el-caption { grid-template-columns: 1fr; gap: 20px; }
  .el-scene--editorial .el-caption h2 { font-size: clamp(40px, 12vw, 76px); }
  .el-scene--editorial .el-label { margin-bottom: 10px; }
  .el-scene--editorial::after {
    background: linear-gradient(180deg, rgba(13,13,12,.7), transparent 23%, rgba(13,13,12,.82) 61%, rgba(13,13,12,.96));
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .el-header { min-height: 65px; }
  .el-scene { padding-bottom: 55px; }
  .el-caption :is(h1,h2) { font-size: clamp(42px, 16svh, 82px); }
  .el-scene--banner .el-caption h1 { font-size: clamp(42px, 13svh, 68px); }
}

@media (max-aspect-ratio: 1/2) {
  .el-scene--banner .el-photo {
    top: 50%;
    height: min(100%, 185vw);
    transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 84%, transparent);
    mask-image: linear-gradient(transparent, #000 15%, #000 84%, transparent);
  }
}
