/* Cinematic homepage. Theme, typefaces, forms and core navigation are shared. */
.cinema {
  height: clamp(570px, calc(100svh - 140px), 890px);
  min-height: 570px;
  position: relative;
  isolation: isolate;
  background: #353a32;
  color: #fff;
  overflow: hidden;
  --scene-progress: 0;
}
.cinema-frames,
.cinema-frame,
.cinema-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cinema-frames {
  z-index: -2;
}
.cinema-frame {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.36, 0, 0.3, 1);
}
.cinema-frame.is-current {
  opacity: 1;
}
.cinema-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
  transform: scale(1.025);
  animation: none;
}
.cinema-frame.is-current img {
  animation: scene-travel 8s ease-out both;
}
.cinema-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 22, 18, 0.71) 0%,
      rgba(19, 23, 19, 0.41) 38%,
      rgba(19, 23, 19, 0.05) 72%
    ),
    linear-gradient(0deg, rgba(14, 20, 16, 0.74), transparent 28%);
}
@keyframes scene-travel {
  from {
    transform: scale(1.055) translateX(-0.55%);
  }
  to {
    transform: scale(1.012) translateX(0.15%);
  }
}
.cinema-topline {
  position: absolute;
  top: 29px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.cinema-topline > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cinema-topline i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e5a494;
}
.sample-tag {
  font-size: 9px;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  background: #17211bb3;
  color: white;
  border: 1px solid #ffffff38;
}
.cinema-copy {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 45%;
  transform: translateY(-50%);
}
.cinema-copy > p:first-child {
  color: #f4d5cb;
  font-weight: 650;
  font-size: 10px;
  letter-spacing: 0.18em;
  margin: 0 0 22px;
}
.cinema h1 {
  font-size: clamp(66px, 7.8vw, 132px);
  color: var(--white);
  line-height: 0.93;
  letter-spacing: -0.055em;
  font-weight: 420;
}
.cinema h1 em {
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.cinema-copy .cinema-description {
  color: #f5f4ed;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 400;
  margin: 23px 0 26px;
  max-width: 420px;
  text-wrap: balance;
}
.cinema-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.cinema-actions .button {
  background: #a12d21;
  min-height: 52px;
  box-shadow: 0 4px 20px #0001;
}
.cinema-actions .button:hover {
  background: #86281d;
}
.cinema-actions > a {
  font-size: 13px;
  border-bottom: 1px solid #ffffffae;
  padding-bottom: 4px;
}
.cinema-actions > a span {
  display: inline-block;
  padding-left: 10px;
}
.cinema-bottom {
  position: absolute;
  bottom: 32px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.cinema-current {
  max-width: 44%;
}
.cinema-kicker {
  font-size: 8px;
  letter-spacing: 0.17em;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 9px;
}
.cinema-kicker b {
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #e4d7cf;
}
.cinema-current > [data-cinema-caption] {
  display: block;
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 35px);
  line-height: 1.15;
}
.cinema-controls {
  display: flex;
  align-items: center;
  gap: 21px;
}
.cinema-segments {
  display: flex;
  gap: 14px;
}
.cinema-segments button {
  min-width: 72px;
  position: relative;
  padding: 11px 0 2px;
  background: none;
  color: #ffffffc0;
  font-size: 10px;
  text-align: left;
  white-space: nowrap;
}
.cinema-segments button[aria-pressed="true"] {
  color: white;
}
.scene-index {
  display: block;
  font-size: 8px;
  letter-spacing: 0.13em;
  line-height: 1.6;
  margin-bottom: 2px;
}
.scene-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #ffffff68;
}
.scene-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #fff;
}
.cinema-segments button[aria-pressed="true"] .scene-progress i {
  transform: scaleX(var(--scene-progress));
}
.cinema-pause {
  background: #16221944;
  border: 1px solid #ffffffa8;
  color: white;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.cinema-pause:disabled {
  opacity: 0.65;
}
.cinema button:focus-visible,
.cinema a:focus-visible,
.space-edit button:focus-visible,
.space-edit a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.new-credentials {
  padding: 20px var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 9px;
  letter-spacing: 0.11em;
}
.new-credentials a:hover {
  color: var(--red);
}
.motion-section {
  padding: clamp(66px, 7.6vw, 125px) var(--pad);
}
.motion-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}
.motion-heading .eyebrow {
  margin-bottom: 21px;
}
.motion-heading h2 {
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 1;
}
.motion-heading > p,
.motion-heading > div:nth-child(2) {
  max-width: 315px;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.8;
}
.motion-heading > div:nth-child(2) a {
  margin-top: 20px;
}
.rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 13px 0 17px;
  margin-top: 30px;
}
.rail-meta,
.component-note,
.edit-note {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.rail-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.rail-arrows button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 18px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}
.rail-arrows button:disabled {
  opacity: 0.3;
  cursor: default;
}
.rail-arrows button:not(:disabled):hover {
  background: var(--ink);
  color: var(--paper);
}
.service-track,
.expansion-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: 0;
}
.service-track::-webkit-scrollbar,
.expansion-track::-webkit-scrollbar,
.expansion-tabs::-webkit-scrollbar {
  display: none;
}
.hover-service {
  position: relative;
  flex: 0 0 31.6%;
  height: clamp(355px, 28.5vw, 450px);
  overflow: hidden;
  background: #e7e3dc;
  scroll-snap-align: start;
  border: 1px solid #cdc7bd;
}
.hover-cover {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  color: white;
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.22, 0.74, 0.23, 1);
  z-index: 1;
}
.hover-cover:after {
  content: "";
  position: absolute;
  inset: 47% 0 0;
  background: linear-gradient(transparent, #111b15ad);
}
.hover-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.hover-index {
  position: absolute;
  top: 15px;
  left: 16px;
  background: #1c2520a3;
  color: white;
  padding: 4px 7px;
  font-size: 8px;
  letter-spacing: 0.13em;
}
.hover-title {
  position: absolute;
  bottom: 21px;
  left: 19px;
  right: 40px;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(27px, 2.5vw, 44px);
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.hover-plus {
  position: absolute;
  right: 16px;
  bottom: 21px;
  font-size: 20px;
  z-index: 1;
}
.hover-service.is-active .hover-cover {
  height: 50%;
}
.hover-service.is-active .hover-cover img {
  transform: scale(1.035);
}
.hover-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  padding: clamp(13px, 1.7vw, 26px);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s,
    transform 0.45s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.hover-service.is-active .hover-detail {
  opacity: 1;
  transform: translateY(0);
}
.hover-detail > p {
  font-size: 20px;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.22;
}
.hover-detail > span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 290px;
}
.hover-detail > div {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}
.hover-detail a {
  font-size: 11px;
  font-weight: 550;
  border-bottom: 1px solid currentColor;
}
.hover-detail a:hover {
  color: var(--red);
}
.component-note {
  padding-top: 15px;
  font-size: 10px;
  letter-spacing: 0;
}
.space-edit {
  background: #252a27;
  color: var(--paper);
}
.space-edit .eyebrow {
  color: #d9d4c9;
}
.space-edit .red-dot {
  background: #d58670;
}
.space-edit .motion-heading > div:nth-child(2) p {
  color: #c4c6bf;
}
.space-edit .underlined {
  color: var(--paper);
}
.space-edit .rail-arrows button {
  border-color: #646a63;
  color: white;
}
.space-edit .rail-arrows button:not(:disabled):hover {
  background: var(--paper);
  color: var(--ink);
}
.expansion-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 22px;
  border-top: 1px solid #ffffff36;
  margin-top: 35px;
}
.expansion-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.expansion-tabs button {
  background: transparent;
  color: #dedfd9;
  white-space: nowrap;
  font-size: 12px;
  padding: 10px 14px;
}
.expansion-tabs button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--paper);
}
.expansion-card {
  flex: 0 0 37.5%;
  min-width: 0;
  scroll-snap-align: start;
}
.expansion-media {
  position: relative;
  overflow: hidden;
  background: #333a35;
}
.expand-photo {
  padding: 0;
  width: 100%;
  display: block;
  position: relative;
  background: none;
  color: var(--paper);
  overflow: hidden;
}
.expand-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.38;
  object-fit: cover;
  transition: transform 0.7s;
}
.expand-photo:hover img,
.expand-photo:focus-visible img {
  transform: scale(1.055);
}
.expand-photo > span {
  position: absolute;
  bottom: 13px;
  left: 14px;
  font-size: 10px;
  line-height: 1.5;
  padding: 6px 10px;
  background: #16221bc9;
}
.expand-save {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 23px;
  color: var(--ink);
  background: var(--paper);
}
.expand-save[aria-pressed="true"] {
  background: var(--red);
  color: white;
}
.expansion-caption {
  padding-top: 16px;
}
.expansion-caption > span {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5c6bf;
}
.expansion-caption h3 {
  margin: 7px 0 0;
  font: 400 clamp(23px, 2.1vw, 36px)/1.08 var(--serif);
  letter-spacing: -0.02em;
}
.expansion-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.expansion-pager > div {
  display: flex;
  gap: 2px;
}
.expansion-pager button {
  padding: 8px 4px;
  background: none;
  display: grid;
  place-items: center;
}
.expansion-pager i {
  width: 7px;
  height: 7px;
  border-radius: 9px;
  background: #858b83;
  transition:
    width 0.25s,
    background 0.25s;
}
.expansion-pager [aria-current="step"] i {
  width: 30px;
  background: var(--paper);
}
.expansion-pager > span,
.edit-note {
  color: #c6c7c0;
  font-size: 10px;
  letter-spacing: 0;
}
.edit-note {
  border-top: 1px solid #ffffff2c;
  margin-top: 17px;
  padding-top: 15px;
}
.image-ribbon {
  padding: clamp(55px, 6vw, 95px) 0;
  background: #eae6df;
  color: var(--ink);
  overflow: hidden;
}
.ribbon-heading,
.ribbon-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding-inline: var(--pad);
}
.ribbon-heading {
  margin-bottom: 30px;
}
.ribbon-heading .eyebrow {
  margin-bottom: 16px;
}
.ribbon-heading h2 {
  font-size: clamp(45px, 4.6vw, 75px);
}
.ribbon-foot {
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.ribbon-foot button {
  background: transparent;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  padding: 5px 0;
}
.auto-mask {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.auto-track {
  width: max-content;
  display: flex;
  animation: material-reel 47s linear infinite;
  will-change: transform;
}
.auto-mask:hover .auto-track,
.page-hidden .auto-track,
.modal-open .auto-track {
  animation-play-state: paused !important;
}
.auto-group {
  display: flex;
  gap: 15px;
  padding-right: 15px;
}
.auto-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(170px, 18vw, 308px);
  overflow: hidden;
}
.auto-item img {
  height: auto;
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  transition:
    transform 0.3s,
    filter 0.3s;
}
.auto-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.auto-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 12px 10px;
  background: linear-gradient(transparent, #19231ac9);
  font-size: 11px;
  color: white;
}
.collection-more {
  text-align: center;
  margin-top: 48px;
}
.collection-page-count {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}
@keyframes material-reel {
  to {
    transform: translateX(-50%);
  }
}
.service-track.dragging,
.expansion-track.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
  cursor: grabbing;
}
.dragging button {
  cursor: grabbing;
}
.motion-off .auto-mask {
  overflow-x: auto;
  mask: none;
}
.motion-off .auto-group[aria-hidden="true"] {
  display: none;
}
.motion-off .cinema-segments button[aria-pressed="true"] .scene-progress i {
  transform: scaleX(1);
}
@media (max-width: 900px) {
  .cinema {
    height: clamp(570px, calc(95svh - 90px), 740px);
  }
  .cinema-bottom {
    gap: 20px;
  }
  .cinema-segments {
    gap: 10px;
  }
  .cinema-segments button {
    min-width: 59px;
  }
  .cinema-controls {
    gap: 13px;
  }
  .cinema-current > [data-cinema-caption] {
    font-size: 23px;
  }
  .new-credentials {
    font-size: 8px;
    gap: 15px;
  }
  .hover-service {
    flex-basis: 42%;
    height: 355px;
  }
  .expansion-card {
    flex-basis: 45%;
  }
  .expansion-controls {
    gap: 12px;
  }
  .expansion-tabs button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .motion-heading > p,
  .motion-heading > div:nth-child(2) {
    max-width: 255px;
  }
}
@media (max-width: 600px) {
  .cinema {
    height: clamp(550px, calc(100svh - 124px), 760px);
    min-height: 550px;
  }
  .cinema-topline {
    top: 18px;
    font-size: 7px;
    letter-spacing: 0.1em;
  }
  .sample-tag {
    font-size: 8px;
    padding: 4px 7px;
  }
  .cinema-frame img {
    object-position: 49% center;
  }
  .cinema-shade {
    background:
      linear-gradient(90deg, #11191299, #11191223),
      linear-gradient(0deg, #101910e0 0, transparent 37%);
  }
  .cinema-copy {
    top: 42%;
  }
  .cinema-copy > p:first-child {
    font-size: 8px;
    letter-spacing: 0.13em;
    margin-bottom: 17px;
  }
  .cinema h1 {
    font-size: clamp(62px, 16vw, 86px);
    line-height: 0.97;
  }
  .cinema-copy .cinema-description {
    font-size: 13px;
    max-width: 250px;
    margin: 20px 0 24px;
  }
  .cinema-actions {
    gap: 16px;
  }
  .cinema-actions .button {
    padding: 14px 15px;
    font-size: 11px;
    min-height: 46px;
    gap: 13px;
  }
  .cinema-actions > a {
    font-size: 11px;
  }
  .cinema-actions > a span {
    padding-left: 4px;
  }
  .cinema-bottom {
    bottom: 22px;
    display: block;
  }
  .cinema-current {
    max-width: 100%;
    margin-bottom: 18px;
  }
  .cinema-kicker {
    font-size: 7px;
    margin-bottom: 5px;
  }
  .cinema-current > [data-cinema-caption] {
    font-size: 25px;
  }
  .cinema-controls {
    display: flex;
    gap: 12px;
  }
  .cinema-segments {
    flex: 1;
    gap: 9px;
  }
  .cinema-segments button {
    min-width: 0;
    flex: 1;
    font-size: 9px;
    line-height: 1.35;
    padding-top: 7px;
  }
  .scene-index {
    font-size: 7px;
  }
  .cinema-pause {
    width: 31px;
    height: 31px;
    font-size: 13px;
  }
  .new-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
    font-size: 7px;
    padding-block: 15px;
  }
  .new-credentials span:first-child {
    display: none;
  }
  .new-credentials :nth-child(3),
  .new-credentials a:last-child {
    text-align: right;
  }
  .motion-section {
    padding-block: 57px;
  }
  .motion-heading {
    display: block;
    margin-bottom: 23px;
  }
  .motion-heading .eyebrow {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .motion-heading h2 {
    font-size: 50px;
  }
  .motion-heading > p,
  .motion-heading > div:nth-child(2) {
    margin-top: 19px;
    font-size: 13px;
    max-width: 100%;
  }
  .rail-heading {
    padding: 10px 0 13px;
    margin-top: 23px;
  }
  .rail-meta {
    font-size: 7.5px;
    letter-spacing: 0.09em;
  }
  .rail-arrows {
    gap: 6px;
  }
  .rail-arrows button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .service-track,
  .expansion-track {
    gap: 14px;
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
  }
  .hover-service {
    flex-basis: 83%;
    height: 345px;
  }
  .hover-title {
    font-size: 30px;
    left: 15px;
    bottom: 16px;
  }
  .hover-detail {
    padding: 15px;
  }
  .hover-detail > p {
    font-size: 19px;
  }
  .hover-detail > span {
    font-size: 12px;
  }
  .hover-detail a {
    font-size: 11px;
  }
  .component-note {
    font-size: 9px;
  }
  .expansion-controls {
    display: block;
    margin-top: 23px;
    padding-top: 13px;
    padding-bottom: 16px;
  }
  .expansion-controls .rail-arrows {
    display: none;
  }
  .expansion-tabs {
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
  }
  .expansion-tabs button {
    padding: 9px 11px;
    font-size: 10px;
  }
  .expansion-card {
    flex-basis: 83%;
  }
  .expand-photo img {
    aspect-ratio: 1.12;
  }
  .expansion-caption h3 {
    font-size: 27px;
  }
  .expansion-pager {
    align-items: start;
    gap: 8px;
    margin-top: 19px;
  }
  .expansion-pager > span {
    max-width: 95px;
    text-align: right;
    font-size: 9px;
  }
  .expansion-pager button {
    padding: 7px 3px;
  }
  .expansion-pager i {
    height: 5px;
    width: 5px;
  }
  .expansion-pager [aria-current="step"] i {
    width: 18px;
  }
  .edit-note {
    font-size: 9px;
  }
  .ribbon-heading {
    display: block;
  }
  .ribbon-heading .underlined {
    margin-top: 20px;
    font-size: 11px;
  }
  .auto-item {
    width: 175px;
  }
  .auto-group {
    gap: 10px;
    padding-right: 10px;
  }
  .ribbon-foot {
    align-items: start;
    gap: 15px;
    font-size: 9px;
  }
  .ribbon-foot button {
    font-size: 9px;
    white-space: nowrap;
  }
  .auto-item figcaption {
    font-size: 10px;
  }
  .collection-more {
    margin-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-frame img,
  .auto-track {
    animation: none !important;
  }
  .auto-mask {
    overflow-x: auto;
    mask: none;
  }
  .auto-group[aria-hidden="true"] {
    display: none;
  }
}
