[hidden] {
  display: none !important;
}
.service-menu {
  display: none;
  position: relative;
}
.mast .service-nav {
  gap: clamp(15px, 2.1vw, 32px);
}
.mast a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.service-main {
  padding-block: clamp(38px, 5vw, 76px) clamp(55px, 7vw, 105px);
}
.service-intro {
  max-width: 755px;
  margin-bottom: clamp(30px, 4vw, 62px);
}
.service-intro h1 {
  font-size: clamp(3.1rem, 6.1vw, 6rem);
  line-height: 1.01;
  font-weight: 400;
  letter-spacing: -0.065em;
  margin: 15px 0 16px;
}
.service-intro p {
  color: var(--muted);
  max-width: 635px;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}
.service-main h2,
.consent-dialog h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -0.04em;
}
.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: clamp(24px, 4.4vw, 76px);
  align-items: start;
}
.film-screen {
  background: #0b101a;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 3px;
}
.film-screen video,
.film-cover,
.film-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.film-cover span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.6rem 0.9rem;
  color: white;
  background: #11142a;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
}
.film-cover b {
  margin-left: 8px;
  font-weight: 500;
}
.service-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.3vw, 37px);
}
.service-card h2 + p,
.form-note {
  color: var(--muted);
  margin-top: 7px;
}
.account-switch {
  display: flex;
  gap: 0;
  margin: 22px 0 17px;
  border-bottom: 1px solid var(--rule);
}
.account-switch button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  margin: 0 0 -1px;
}
.account-switch button[aria-pressed='true'] {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}
.service-main form fieldset {
  display: grid;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.service-main form label {
  font-size: 0.94rem;
  font-weight: 600;
  margin-top: 11px;
}
.service-main form input,
.service-main form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 9px 11px;
}
.service-main form textarea {
  resize: vertical;
  min-height: 136px;
}
.service-main form small {
  color: var(--muted);
  font-size: 0.82rem;
}
.service-main form button {
  justify-self: start;
  margin-top: 16px;
}
.service-main form :focus-visible,
.service-menu summary:focus-visible,
.consent-dialog :focus-visible {
  outline: 3px solid #f17b48;
  outline-offset: 3px;
}
.service-status {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.85rem 0 0;
}
.service-status:empty {
  display: none;
}
.service-status[data-error='true'] {
  color: var(--ink);
  border-left: 2px solid var(--orange);
  padding-left: 0.65rem;
}
.service-retry,
.privacy-choice,
.consent-more {
  font: inherit;
  color: var(--blue);
  background: transparent;
  border: 0;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-retry {
  margin-top: 8px;
}
.service-fine {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 20px;
}
#account-member p {
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}
.service-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.service-subhead > span {
  color: var(--muted);
  font-size: 0.86rem;
}
.film-chapters {
  margin-top: 31px;
}
.film-chapters ol {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.film-chapters li {
  border-bottom: 1px solid var(--line);
}
.film-chapters button {
  width: 100%;
  padding: 11px 1px;
  background: transparent;
  border: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.film-chapters button:disabled {
  opacity: 1;
  color: var(--muted);
}
.film-chapters button[aria-current='true'] {
  color: var(--blue);
  font-weight: 600;
}
.film-chapters time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 580px) minmax(200px, 350px);
  gap: clamp(35px, 9vw, 160px);
  align-items: start;
}
.contact-layout form {
  margin-top: 17px;
}
.contact-aside {
  padding-top: 1px;
}
.contact-aside .orange-line {
  display: block;
  margin-bottom: 18px;
}
.contact-aside p {
  margin: 10px 0;
  color: var(--muted);
}
.service-mail {
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}
.privacy-article {
  max-width: 760px;
}
.privacy-article section {
  border-top: 1px solid var(--line);
  padding-block: 23px;
}
.privacy-article p {
  margin-top: 10px;
}
.privacy-article button {
  margin-top: 13px;
}
.service-footer {
  padding-block: 28px;
  display: flex;
  align-items: baseline;
  gap: 12px 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.service-footer > span {
  font-weight: 600;
}
.service-footer nav {
  display: flex;
  align-items: baseline;
  gap: 8px 22px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.service-footer a,
.service-footer .privacy-choice {
  color: var(--ink);
  text-decoration: none;
}
.service-footer a:hover,
.service-footer .privacy-choice:hover {
  text-decoration: underline;
}
.consent-offer {
  border-bottom: 1px solid var(--line);
  background: var(--sheet);
}
.consent-offer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 10px;
  font-size: 0.86rem;
}
.consent-actions {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
}
.consent-actions button {
  white-space: nowrap;
}
.consent-action {
  font: inherit;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: 5px 13px;
}
.consent-action:hover {
  background: var(--tint);
}
.consent-dialog {
  position: fixed;
  inset: 0;
  max-width: min(515px, calc(100vw - 32px));
  max-height: calc(100dvh - 34px);
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 35px);
  box-shadow: 0 16px 60px #14143a30;
}
.consent-dialog::backdrop {
  background: #10112a91;
}
.consent-dialog p,
.consent-dialog label {
  display: block;
  margin-top: 13px;
}
.consent-dialog .consent-actions {
  margin-top: 18px;
}
.consent-dialog .consent-actions button {
  min-height: 40px;
}
.consent-dialog .consent-detail {
  color: var(--muted);
  font-size: 0.91rem;
}
.consent-dialog input {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: -0.18em;
  margin-right: 7px;
  accent-color: var(--blue);
}
.consent-dialog .close-choice {
  display: block;
  margin: 18px 0 0 auto;
}
.consent-dialog [hidden], .film-quality[hidden], .sample-screen [hidden] { display: none; }
.consent-dialog [data-playback-choice] { flex: 1 0 100%; padding: .55rem 1rem; }
.consent-dialog #privacy-title:focus { outline: none; }
.sample-screen { position: relative; }
.service-main .film-layout { display: block; }
.member-library {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, .8fr);
  align-items: start;
  gap: clamp(1.5rem, 6vw, 6rem);
  margin-top: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}
.member-library .member-projects { display: block; padding: 0; border: 0; }
.member-projects .native-copy { margin-top: 1.25rem; }
.study-invitation { font-size: .97rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .member-library { grid-template-columns: 1fr; } }
@media (max-width: 910px) {
  .mast .service-nav {
    display: none;
  }
  .mast .service-menu {
    display: block;
    font-size: 0.94rem;
  }
  .mast .service-menu summary {
    cursor: pointer;
    padding: 8px 3px;
  }
  .mast .service-menu nav {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    right: 0;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 8px 0;
    min-width: 175px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 9px 20px #11132b18;
  }
  .mast .service-menu nav a {
    display: block;
    padding: 8px 16px;
    font-size: 0.94rem;
  }
}
@media (max-width: 720px) {
  .film-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .film-layout {
    gap: 22px;
  }
  .film-chapters {
    margin-top: 22px;
  }
  .contact-aside {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .consent-offer .wrap {
    flex-wrap: wrap;
    padding-block: 10px 12px;
  }
  .service-footer nav {
    gap: 6px 15px;
  }
}
.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.78fr);
  background: var(--sheet);
  border: 1px solid var(--line);
  align-items: center;
}
.sample-intro {
  padding: clamp(22px, 3.2vw, 54px);
}
.sample-intro h2 {
  margin: 12px 0;
}
.sample-intro > p {
  color: var(--muted);
}
.sample-intro .text-link {
  display: inline-block;
  margin-top: 19px;
}
.sample-screen {
  border-radius: 0;
}
.sample-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.film-heading {
  margin: clamp(35px, 5vw, 76px) 0 20px;
}
.film-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
}
.film-cover img[src$='.svg'] {
  background: #141737;
}
.film-quality {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.film-quality button {
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 2px;
  font-size: 0.88rem;
}
.film-quality button[aria-pressed='true'] {
  border-color: var(--primary);
  color: var(--blue);
  background: var(--tint);
}
.film-quality span {
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 5px;
}
.profile-fields {
  margin-top: 16px;
}
.profile-fields summary {
  color: var(--blue);
  cursor: pointer;
  font-size: 0.9rem;
}
.profile-fields div {
  display: grid;
  gap: 6px;
}
@media (max-width: 720px) {
  .sample-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

#film-quality { margin: 0 0 1.25rem; scroll-margin-top: 4.5rem; }
#film-quality button:disabled { opacity: .55; }
#film-picture { width: 100%; height: 100%; position: relative; background: #05090e; }
#film-picture video::-webkit-media-controls-fullscreen-button { display: none; }
#film-picture .film-credit { position: absolute; pointer-events: none; width: 8.75%; height: auto; bottom: 4.722222%; right: 3.125%; }
#film-fullscreen { position: absolute; left: .5rem; top: .5rem; background: #111b28d9; color: #fff; padding: .3rem .6rem; border: 0; border-radius: 3px; font-size: .8rem; }
#film-picture:not(:hover):not(:focus-within) #film-fullscreen { opacity: 0; }
@media (hover:none) { #film-picture:not(:hover) #film-fullscreen { opacity: 1; } }
#film-picture:is(:fullscreen,.theater) { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; }
#film-picture:is(:fullscreen,.theater) .film-credit { width: min(8.75vw, 15.555556vh); right: calc((100vw - min(100vw, 177.777778vh))/2 + min(3.125vw,5.555556vh)); bottom: calc((100vh - min(100vh,56.25vw))/2 + min(4.722222vh,2.65625vw)); }
#register { scroll-margin-top: 4rem; }
.service-main form label.study-updates { display: flex; align-items: baseline; gap: .55rem; font-weight: 400; }
.service-main form .study-updates input { width: auto; }
