/* ============================================================
   Film feature, 16:9 editorial layout (.fe).
   Loaded only by studies with "layout": "editorial". It builds on
   case-studies.css and keeps the site's dark shell and type. Its
   signature is one section in the film's own language: white
   panels on the film's purple. --cs-accent is a light tint for
   small highlights and --fx-berry is the purple sampled from the film.
   ============================================================ */
.fe a:focus-visible, .fe button:focus-visible { outline: 2px solid var(--cs-accent); outline-offset: 3px; }
.fe .fx-note a { color: var(--text); border-bottom: 1px solid var(--cs-accent); }
.fe .fx-note a:hover { color: var(--cs-accent); }
.fe .fx-note p + p { margin-top: .75em; }
.fe-section-head { max-width: 760px; margin-bottom: 54px; }
.fe-section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.fe-section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- hero: the Linimed full-width frame (.cs-hero in case-studies.css), the standard for every
   landscape film. Only the three-part heading and the watch button are styled here. ---------- */
.fe-hero h1 { margin: 0 0 18px; font-size: inherit; letter-spacing: 0; }
.fe-h1-brand { display: block; font: 600 clamp(1rem, 1.45vw, 1.2rem)/1.3 var(--font-head); letter-spacing: -.005em; color: var(--cs-accent); margin-bottom: 18px; }
.fe-h1-lead { display: block; font: 600 clamp(1.45rem, 2.3vw, 2rem)/1.15 var(--font-head); letter-spacing: -.02em; color: var(--text); }
.fe-h1-q { display: block; margin-top: 6px; font: 700 clamp(2.7rem, 5.3vw, 4.7rem)/1.02 var(--font-head); letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.fe-hero .fe-h1-brand { text-shadow: 0 2px 14px rgba(7, 12, 18, .8); }
.fe-hero .cs-hero-sub { margin-bottom: 26px; }

@media (min-width: 1001px) {
  .fe .cs-facts dl { grid-template-columns: 1.25fr 1.2fr 1.8fr .9fr .75fr .65fr; }
  .fe-doubt-q { min-height: 2.32em; }   /* one- and two-line questions keep their answers level */
}

/* ---------- the film at full width ---------- */
.fe-film { padding-top: 78px; }
.fe-film-head { margin-bottom: 28px; }
.fe-film-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.fe-film-notes { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; margin-top: 42px; }
.fe-lede { font-size: clamp(1.14rem, 1.7vw, 1.34rem); line-height: 1.6; color: var(--text); }
.fe-note-stack .fx-note { margin-top: 0; max-width: none; }
.fe-note-stack .fx-note + .fx-note { margin-top: 14px; }

/* ---------- in brief ---------- */
.fe-brief { padding: 0 0 92px; }
.fe-brief-inner { max-width: 960px; padding-top: 54px; border-top: 1px solid var(--line); }
.fe-brief h2 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-bottom: 16px; }
.fe-brief p { font: 500 clamp(1.3rem, 2.25vw, 1.8rem)/1.45 var(--font-head); letter-spacing: -.015em; color: var(--text); }

/* ---------- the subject and its quotation ---------- */
.fe-quote { margin: 68px 0 0; padding: 4px 0 4px 34px; border-left: 3px solid var(--cs-accent); max-width: 1020px; }
.fe-quote blockquote { font: 600 clamp(1.7rem, 3.7vw, 3rem)/1.18 var(--font-head); letter-spacing: -.03em; color: #fff; }
.fe-quote figcaption { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.fe-quote figcaption span { color: var(--text); }
.fe-after-quote { margin-top: 34px; max-width: 62ch; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }

/* ---------- the two doubts: white panels on the film's purple ---------- */
.fe-doubts { padding: 0; color: #fff; }
.fe-doubts-band { position: relative; padding: 96px 0 104px; overflow: hidden;
  background: linear-gradient(128deg, #4a1480 0%, var(--fx-berry) 52%, #561891 100%); }
.fe-doubts-band::before { content: ""; position: absolute; inset: -40% -10%; pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .035) 0 150px, transparent 150px 340px); }
.fe-doubts .container { position: relative; }
.fe-doubts .eyebrow { color: #fff; }
.fe-doubts .eyebrow::before { background: #fff; }
.fe-doubts-head { max-width: 760px; margin-bottom: 46px; }
.fe-doubts-head h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 14px; }
.fe-doubts-head p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.fe-doubt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fe-doubt { padding: 36px 36px 22px; border-radius: 22px; background: #fff; color: #241433; box-shadow: 0 30px 70px rgba(25, 5, 50, .34); }
.fe-doubt-q { font: 700 clamp(1.55rem, 2.5vw, 2.15rem)/1.16 var(--font-head); letter-spacing: -.03em; color: #5a1a98; }
.fe-doubt-en { margin: 10px 0 24px; font-size: 1rem; font-weight: 600; color: #241433; }
.fe-doubt-en span { display: block; margin-top: 2px; font-size: .84rem; font-weight: 500; color: #625771; }
.fe-doubt ul { list-style: none; margin: 0; padding: 0; }
.fe-doubt li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid #e7e0ef; font-size: .98rem; line-height: 1.58; color: #3d3249; }
.fe-time { padding: 4px 0; border: 1px solid #cdb8e3; border-radius: 999px; background: #f6f0fc; color: #52178c; font: 700 .8rem var(--font-head); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fe-time:hover { background: #5a1a98; border-color: #5a1a98; color: #fff; }
.fe .fe-time:focus-visible { outline-color: #5a1a98; }

/* ---------- the story and its ten movements ---------- */
.fe-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.fe-story-figs { position: sticky; top: 104px; display: grid; gap: 20px; }
.fe-story-figs img { border-radius: 16px; border: 1px solid var(--line); }
.fe-story-figs figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.fe-story .cs-prose h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.fe-story .cs-prose > p:first-of-type { color: var(--text); font-size: 1.16rem; line-height: 1.68; }
.fe-moves-wrap { margin-top: 72px; }
.fe-moves-wrap > h3 { font-size: 1.2rem; margin-bottom: 20px; }
.fe-moves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fe-moves li { display: flex; min-width: 0; }
.fe-moves button { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 14px 14px 16px; text-align: left; color: var(--muted); cursor: pointer; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--cs-accent); border-radius: 4px 4px 10px 10px; font-family: var(--font-body); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.fe-moves time { display: block; font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--cs-accent); font-weight: 600; }
.fe-moves b { display: block; margin: 4px 0 4px; font: 600 1rem var(--font-head); color: var(--text); }
.fe-moves span { display: block; font-size: .84rem; line-height: 1.42; }
/* hover: the site-standard control hover in case-studies.css */

/* ---------- visual language: a stepped pair of columns ---------- */
.fe-look-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 34px; }
.fe-look:nth-child(even) { margin-top: 62px; }
.fe-look h3 { font-size: 1.22rem; margin-bottom: 8px; }
.fe-look p { color: var(--muted); font-size: .98rem; max-width: 54ch; }

/* ---------- scene by scene: alternating, uneven columns ---------- */
.fe-moment { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: center; padding: 54px 0; border-top: 1px solid var(--line); }
.fe-moment:last-child { padding-bottom: 0; }
.fe-moment:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fe-moment:nth-of-type(even) .fe-moment-media { order: 2; }
.fe-moment-media img { border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .42); }
.fe-moment h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 16px 0 12px; }
.fe-moment-copy > p { color: var(--muted); font-size: 1.03rem; }
.fe-moment-copy > .fx-tech { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

.fe-uses-note { max-width: 760px; margin-top: 26px; }
.fe .fx-studio .cs-rel-grid { margin-top: 48px; }
.fe .cs-rel > .cs-go { margin-top: 12px; }
.fe .cs-rel:hover .cs-arr { transform: translateX(5px); }
.fe-related .cs-back { margin-top: 40px; }
.fe-cta { padding-top: 80px; padding-bottom: 92px; }

@media (max-width: 1000px) {
  .fe-film-notes, .fe-story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fe-story-figs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .fe-moves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-moment, .fe-moment:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 44px 0; }
  .fe-moment:nth-of-type(even) .fe-moment-media { order: 0; }
}
@media (max-width: 700px) {
  .fe-film { padding-top: 54px; }
  .fe-brief { padding-bottom: 60px; }
  .fe-brief-inner { padding-top: 40px; }
  .fe-quote { margin-top: 44px; padding-left: 20px; }
  .fe-doubts-band { padding: 62px 0 68px; }
  .fe-doubt-grid, .fe-look-grid { grid-template-columns: minmax(0, 1fr); }
  .fe-doubt { padding: 26px 22px 12px; border-radius: 18px; }
  .fe-doubt li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .fe-look:nth-child(even) { margin-top: 0; }
  .fe-story-figs { grid-template-columns: minmax(0, 1fr); }
  .fe-moves-wrap { margin-top: 48px; }
  .fe-moves button { padding: 12px 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .fe-moves button, .fe-time { transition: none; }
  .fe-moves button:hover, .fe-moves button:focus-visible { transform: none; }
}

/* The fe page's focus ring uses the site teal, like every other page. */
.fe a:focus-visible, .fe button:focus-visible { outline-color: var(--teal); }

/* The GE frame is a bright office, so its scrim starts darkening higher than Linimed's
   to keep the eyebrow and heading readable; the upper frame (faces, thought bubble) stays clear. */
.fe-hero.cs-hero::after {
  background: linear-gradient(180deg, rgba(7, 12, 18, .62) 0%, rgba(7, 12, 18, 0) 14%, rgba(7, 12, 18, 0) 20%,
              rgba(7, 12, 18, .74) 42%, rgba(7, 12, 18, .94) 64%, var(--bg) 100%);
}
/* The German and Polish headings wrap to more lines; a slightly taller frame keeps the text block
   low, on the darker part of the scrim. */
@media (min-width: 701px) {
  .fe-hero.cs-hero { min-height: min(92vh, 860px); }
}
/* On a phone the GE heading is longer than Linimed's, so the frame gets more height and the
   scrim starts lower: the thought bubble stays visible above the text. */
@media (max-width: 700px) {
  .fe-hero.cs-hero { min-height: 820px; }
  .fe-hero .cs-hero-img img { object-position: 50% 30%; }
  .fe-hero.cs-hero::after {
    background: linear-gradient(180deg, rgba(7, 12, 18, .62) 0%, rgba(7, 12, 18, 0) 10%, rgba(7, 12, 18, 0) 30%,
                rgba(7, 12, 18, .78) 46%, rgba(7, 12, 18, .95) 64%, var(--bg) 100%);
  }
}
