/* Fashion film — extends style.css */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.film-page .site-header__nav a.is-active,
.film-page .site-nav-drawer__nav a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.film-page {
  background: var(--white);
}

body.film-page .site-header {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.film-page main > .section {
  min-height: 0;
  height: auto;
}

.film-page main {
  padding-bottom: 0;
}

.ff-wrap {
  width: min(1400px, calc(100% - 2 * var(--section-inline)));
  margin-inline: auto;
}

.ff-rail {
  position: absolute;
  top: clamp(3rem, 9vh, 5.5rem);
  right: max(0px, calc((100% - min(1400px, 100% - 2 * var(--section-inline))) / 2 - 0.5rem));
  width: 2px;
  height: clamp(3rem, 12vh, 5rem);
  background: var(--pink);
  pointer-events: none;
}

.ff-section__foot {
  display: flex;
  justify-content: center;
  padding-top: clamp(2.5rem, 6vh, 4rem);
}

.ff-back-top {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(-135deg);
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.ff-back-top:hover,
.ff-back-top:focus-visible {
  opacity: 0.55;
  transform: rotate(-135deg) translateY(-3px);
}

.ff-back-top:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 6px;
}

/* —— Module 1 & 3: hero split (sizes/spacing in service-subpage.css) —— */
.ff-hero {
  background: var(--white);
}

.ff-hero__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ff-hero__body a:hover {
  opacity: 0.55;
}

.ff-taglines {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: clamp(0.75rem, 1.5vh, 1rem) 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
}

/* —— Module 2: video —— */
.ff-video {
  padding: 0;
  background: #0a0a0a;
}

/* ff-video full-bleed: service-subpage.css */

/* —— Module 4: what we make grid —— */
.ff-make {
  background: var(--muted);
}

.ff-make__label {
  margin: 0 0 clamp(2rem, 4vh, 2.75rem);
  font-size: clamp(0.72rem, 0.95vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.ff-make__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4.5vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
}

.ff-make__item h3 {
  margin: 0 0 clamp(0.75rem, 1.5vh, 1rem);
  font-size: clamp(0.78rem, 1.05vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

/* —— Timeline —— */
.ff-timeline-section {
  position: relative;
  background: var(--white);
}

.ff-timeline-head__title {
  margin: 0 0 clamp(3rem, 8vh, 5rem);
  max-width: min(22rem, 100%);
}

.ff-timeline {
  position: relative;
  max-width: min(900px, 100%);
  margin-inline: auto;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
  list-style: none;
}

.ff-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.14);
  transform: translateX(-50%);
}

.ff-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.ff-timeline__item:last-child {
  margin-bottom: 0;
}

.ff-timeline__card {
  max-width: min(20rem, 100%);
}

.ff-timeline__item:nth-child(odd) .ff-timeline__card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
  padding-right: clamp(1.5rem, 4vw, 2.5rem);
}

.ff-timeline__item:nth-child(even) .ff-timeline__card {
  grid-column: 2;
  justify-self: start;
  text-align: left;
  padding-left: clamp(1.5rem, 4vw, 2.5rem);
}

.ff-timeline__item::after {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  transform: translateX(-50%);
}

.ff-timeline__label {
  margin: 0 0 0.35rem;
  font-size: clamp(0.72rem, 0.9vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-timeline__name {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.ff-timeline__text {
  color: #333;
}

/* —— FAQ —— */
.ff-faq {
  background: var(--white);
}

.ff-faq__head {
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.ff-faq__intro {
  max-width: 28rem;
}

.film-page .accordion {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.film-page .accordion__item {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* accordion head: service-subpage.css */

.film-page .accordion__icon {
  border-right-color: var(--pink);
  border-bottom-color: var(--pink);
}

.film-page .accordion__panel {
  color: #333;
  max-width: 52rem;
}

.film-page .accordion__panel a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.film-page .accordion__panel a:hover {
  opacity: 0.55;
}

/* —— CTA —— */
.ff-cta {
  position: relative;
  background: var(--white);
}

.ff-cta__body {
  display: flex;
  flex-direction: column;
  gap: var(--sub-gap-body);
}

.ff-cta__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ff-cta__body a:hover {
  opacity: 0.55;
}

.film-page .ff-cta__btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .ff-make__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ff-hero__grid,
  .ff-faq__head,
  .ff-cta__grid {
    grid-template-columns: 1fr;
  }

  .ff-timeline::before {
    left: 0;
    transform: none;
  }

  .ff-timeline__item {
    grid-template-columns: 1fr;
    padding-left: 1.75rem;
  }

  .ff-timeline__item::after {
    left: 0;
    transform: translateX(-50%);
  }

  .ff-timeline__item:nth-child(odd) .ff-timeline__card,
  .ff-timeline__item:nth-child(even) .ff-timeline__card {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .ff-rail {
    display: none;
  }
}

@media (max-width: 640px) {
  .ff-make__grid {
    grid-template-columns: 1fr;
  }
}
