.mast-header { background: #fcfdfb; border-bottom-color: #d1ddd8; }
.mast-header::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg,#518c81 0%,#97d7be 46%,#d5eae0 68%,#d5eae0);
}
.mast-lockup { display: flex; align-items: center; flex: none; gap: clamp(14px,1.5vw,25px); }
.mast-descriptor {
  padding-inline-start: clamp(13px,1.3vw,21px); border-left: 1px solid #b8c9c3;
  font-size: .75rem; font-weight: 550; line-height: 1.34; color: #3c5455;
}
.mast-header .navbar { min-height: 85px; }
.mast-header .nav-links .mast-mail {
  order: 1; flex: none; display: grid; place-items: center; width: 43px; min-height: 43px; padding: 0;
  border: 1px solid #bfd2cc; border-radius: 50%; background: transparent; color: #174a4c;
}
.mast-mail span {
  width: 16px; height: 12px; display: block; border: 1.5px solid currentColor; border-radius: 2px;
  background: linear-gradient(36deg,transparent 43%,currentColor 45% 54%,transparent 56%) left top / 51% 72% no-repeat,
              linear-gradient(-36deg,transparent 43%,currentColor 45% 54%,transparent 56%) right top / 51% 72% no-repeat;
}
.mast-header .nav-links .nav-cta { margin-inline-start: 0; }
.mast-header .nav-links::after { order: 0; }
.mast-header .nav-links .nav-cta,
.mast-header .nav-links .nav-cta[aria-current="page"] { background: #103c40; }

@media (max-width: 1140px) {
  .mast-header .navbar { min-height: 74px; }
  .mast-descriptor { display: none; }
}
@media (max-width: 800px) {
  .mast-header .navbar { min-height: 65px; }
  .mast-header .nav-links .mast-mail { display: none; }
}

/* The photograph spans both the story and its controls. */
.cinema-cover {
  --accent: #acf3d9;
  --action: #8aeacb;
  --secondary-action: #ffbc99;
  --photo-x: 71%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(585px,76svh,830px);
  color: #fff;
  background: #102f36;
}
.cinema-cover[data-active="1"] { --accent: #ffdfae; --action: #ffd196; --secondary-action: #99ead2; --photo-x: 73%; }
.cinema-cover[data-active="2"] { --accent: #cbe5ff; --action: #c0dbff; --secondary-action: #ffc19f; --photo-x: 66%; }
.mast-stage {
  display: flex;
  align-items: center;
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.mast-stage .cinema-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #17363d;
}
.mast-stage .cinema-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-x) 45%;
}
.mast-stage .cinema-photo::before { content: none; }
.mast-stage .cinema-photo::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #051b25e6 0%, #092329de 26%, #0a232cb8 46%, #0a222d68 60%, #0a26301a 76%, #08222d0d 100%),
              linear-gradient(0deg, #051b25eb 0%, #061d254d 20%, transparent 42%);
}
.mast-stage .cover-story {
  position: relative;
  width: min(100%, 750px);
  min-width: 0;
  padding: clamp(50px,6.3vw,100px) 0 clamp(46px,5.3vw,88px);
}
.mast-stage .cover-story .kicker {
  gap: 12px; min-height: 0; padding: 0; margin: 0 0 clamp(18px,1.8vw,29px);
  color: #f1fbf7; font-size: .78rem; font-weight: 720; letter-spacing: .15em;
}
.mast-stage .kicker::before { width: 31px; height: 2px; background: var(--accent); }
.mast-stage .cover-title {
  max-width: 100%;
  color: #fff; font-weight: 565; font-size: clamp(3.2rem,6.05vw,6.6rem); line-height: .995; letter-spacing: -.065em;
}
.mast-stage .cover-title [data-title-second] { color: var(--accent); padding: 0 .08em .075em 0; line-height: 1.025; }
.mast-stage .cover-summary {
  max-width: 48ch; margin-top: clamp(15px,1.65vw,26px);
  color: #f0f5f3; font-size: clamp(1rem,1.25vw,1.21rem); line-height: 1.53;
}
.mast-stage .cover-actions { align-items: stretch; gap: 9px 12px; margin-top: clamp(22px,2.25vw,35px); }
.mast-stage .cover-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .73rem 1.15rem; border: 1px solid transparent; border-radius: 100px;
  color: #0c2b32; font-size: .96rem; font-weight: 740; text-decoration: none; box-shadow: 0 4px 18px #001d2522;
}
.mast-stage .cover-actions .btn { background: var(--action); }
.mast-stage .cover-actions .cover-contact { background: var(--secondary-action); }
.mast-stage .cover-actions a:hover { color: #0b282b; background: #f0fbef; }
.mast-stage .cover-actions .cover-contact::after { content: "↗" / ""; font-size: 1.13em; line-height: 1; }
.cinema-controls { display: block; padding: 0; border: 0; color: #fff; background: transparent; }
.mast-rail {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: clamp(15px,2vw,33px); min-height: 83px; padding-block: 11px 14px;
  border-top: 1px solid #d2f3e875;
}
.mast-rail .cover-count {
  grid-area: 1 / 1; color: #ebf8f1; font-size: .8rem; font-weight: 660; white-space: nowrap; letter-spacing: .09em;
}
.mast-rail .cover-options { grid-area: 1 / 2; display: flex; gap: clamp(6px,1.2vw,19px); }
.mast-rail .cover-options button {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 47px; padding: 5px 11px 5px 5px;
  border: 1px solid transparent; border-radius: 7px; background: #09242d55; color: #fff;
  font-weight: 640; text-align: start;
}
.mast-rail .cover-options button img { display: block; width: clamp(34px,3.8vw,60px); height: 33px; object-fit: cover; border-radius: 3px; }
.mast-rail .cover-options button[aria-pressed="true"] { background: #10343bd9; color: var(--accent); border-color: var(--accent); }
.mast-rail .cover-options button:hover { background: #0b282fd9; border-color: #f0fff6; }
.mast-rail .cover-options button::after { content: none; }
.mast-rail .cover-transport { grid-area: 1 / 3; gap: 6px; }
.mast-rail .cover-transport button { width: 42px; height: 42px; background: #0c2a32a8; border-color: #d0eae5a6; color: #fff; }
.mast-rail .cover-transport button:hover { background: #285b5c; border-color: #fff; }
.cinema-cover :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (min-width: 681px) and (max-width: 1120px) {
  .mast-stage .cover-story { width: 73%; }
  .mast-stage .cover-title { font-size: clamp(3.1rem,6.65vw,4.65rem); }
  .mast-stage .cover-summary { max-width: min(47ch,94%); }
  .mast-stage .cinema-photo::after {
    background: linear-gradient(90deg,#071e25eb 0%,#09252be6 28%,#0a252ed9 52%,#0a252eb3 65%,#0a252e1c 87%),
                linear-gradient(0deg,#041b22f5,transparent 35%);
  }
  .mast-rail { gap: 10px; }
  .mast-rail .cover-options { gap: 4px; }
  .mast-rail .cover-options button { gap: 5px; padding-inline: 4px; font-size: .86rem; }
  .mast-rail .cover-options button img { width: 34px; height: 28px; }
  .mast-rail .cover-transport { gap: 4px; }
  .mast-rail .cover-transport button { width: 35px; height: 35px; }
}
@media (max-width: 680px) {
  .cinema-cover { min-height: clamp(560px,78svh,750px); }
  .mast-stage { align-items: end; }
  .mast-stage .cover-story { width: 100%; padding: clamp(148px,23svh,205px) 0 24px; }
  .mast-stage .cinema-photo img { object-position: var(--photo-x) 42%; }
  .mast-stage .cinema-photo::after {
    background: linear-gradient(0deg,#041e26fc 0%,#061f26f0 15%,#08232bd9 40%,#071f28b8 62%,#0b23284a 82%,#0b232818 100%),
                linear-gradient(90deg,#0b26384a 0%,transparent 85%);
  }
  .mast-stage .cover-story .kicker { margin-bottom: 14px; font-size: .72rem; }
  .mast-stage .cover-title { font-size: clamp(2.45rem,10.7vw,4.05rem); }
  .mast-stage .cover-summary { margin-top: 11px; font-size: .98rem; line-height: 1.48; }
  .mast-stage .cover-actions { margin-top: 16px; gap: 7px; }
  .mast-stage .cover-actions a { min-height: 43px; padding: .65rem .85rem; font-size: .85rem; }
  .mast-rail { grid-template-columns: 1fr auto; gap: 4px 8px; min-height: 0; padding-block: 8px; }
  .mast-rail .cover-options { grid-area: 1 / 1 / 2 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .mast-rail .cover-options button {
    flex-direction: column; align-items: stretch; gap: 4px; min-height: 0; padding: 3px 3px 4px; border-radius: 5px; font-size: .75rem; line-height: 1.15;
  }
  .mast-rail .cover-options button img { width: 100%; height: clamp(22px,6.3vw,32px); }
  .mast-rail .cover-options button span { padding-inline: 2px; }
  .mast-rail .cover-count { grid-area: 2 / 1; font-size: .72rem; }
  .mast-rail .cover-transport { grid-area: 2 / 2; gap: 6px; }
  .mast-rail .cover-transport button { width: 32px; height: 32px; }
}
@media (max-width: 355px) {
  .mast-stage .cover-story { padding-top: 124px; padding-bottom: 18px; }
  .mast-stage .cover-title { font-size: 2.35rem; }
  .mast-stage .cover-summary { font-size: .94rem; }
  .mast-stage .cover-actions a { padding-inline: .66rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .mast-stage .cover-actions { animation: mast-actions-in .55s .16s ease-out backwards; }
  @keyframes mast-actions-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
