/* PhotoToDance — Workflows (phototodance.com/workflows)
   Brand: Tally Viewfinder palette + type (DESIGN.md). Composition: "pinned poster" —
   one 9:16 output frame holds still while each workflow's real output plays in it. */

.wf-page,
.wf-dialog {
  --ground: #050505;
  --surface: #0f0f0f;
  --surface-2: #181818;
  --surface-3: #222222;
  --ink: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #e63946;
  --accent-deep: #b82d38;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;

  /* five type steps */
  --t-hero: clamp(84px, 11vw, 176px);
  --t-head: clamp(44px, 5vw, 80px);
  --t-sub: clamp(30px, 2.8vw, 44px);
  --t-large: clamp(21px, 1.9vw, 28px);
  --t-body: 17px;
  --t-small: 14px;

  --margin: clamp(16px, 2.4vw, 32px);
  --gap-section: clamp(120px, 14vw, 200px);
  --nav-h: 96px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.55;
}
.wf-page {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
}
.wf-dialog h2,
.wf-dialog h3 { letter-spacing: normal; }
.wf-lock h3,
.wf-note h3 { font-family: var(--text); text-transform: none; }
.wf-price,
.wf-table td:last-child,
.wf-close-links span { font-variant-numeric: tabular-nums; }

.wf-page *,
.wf-page *::before,
.wf-page *::after { box-sizing: border-box; }

:where(.wf-page, .wf-dialog) :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; padding: 0; }
:where(.wf-page, .wf-dialog) :where(ul) { list-style: none; }

.wf-page a { color: inherit; }

.wf-page :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ buttons */

.wf-btn {
  --btn-bg: var(--surface-3);
  --btn-bg-hover: #2c2c2c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 120ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.wf-btn:hover { background: var(--btn-bg-hover); }
.wf-btn:active { transform: translateY(1px); }
.wf-btn-buy { --btn-bg: var(--accent); --btn-bg-hover: var(--accent-deep); color: #fff; font-size: 19px; font-weight: 700; }
.wf-btn .wf-arrow { transition: transform 220ms var(--ease-out); }
.wf-btn:hover .wf-arrow { transform: translateX(4px); }
.wf-btn[disabled] { opacity: 0.55; cursor: progress; }

.wf-icon { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------ hero */

.wf-hero {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 600px;
  margin: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
}

.wf-hero-panel {
  grid-column: 1 / 10;
  position: relative;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: 20px;
  overflow: hidden;
}

.wf-title {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-hero);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.wf-title span { position: absolute; display: block; }
.wf-title .wf-t1 { top: 28px; left: 28px; }
.wf-title .wf-t2 { right: 28px; bottom: 24px; }

.wf-hero-copy {
  grid-column: 2 / 9;
  align-self: start;
  margin-top: 31svh;
  max-width: 42ch;
  position: relative;
  z-index: 3;
}
.wf-lead {
  font-size: var(--t-large);
  line-height: 1.35;
  color: var(--ink);
}
.wf-hero-copy .wf-btn { margin-top: 32px; }

.wf-hero-index {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  text-align: right;
  z-index: 3;
}
.wf-hero-index a {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease-out), transform 220ms var(--ease-out);
  display: inline-block;
}
.wf-hero-index a:hover { color: var(--ink); transform: translateX(-6px); }

.wf-hero-media {
  grid-column: 10 / 13;
  margin-right: calc(-1 * var(--margin));
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.wf-hero-media video,
.wf-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: wf-drift 18s var(--ease-in-out) infinite alternate;
}
@keyframes wf-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

/* ------------------------------------------------------------ workflows: pinned frame */

.wf-run {
  margin: var(--gap-section) var(--margin) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
}

.wf-run-head {
  grid-column: 1 / 13;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}
.wf-h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-head);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.wf-run-head p { max-width: 40ch; color: var(--muted); }

.wf-list { grid-column: 1 / 7; }

.wf-item {
  min-height: 82svh;
  padding: 8svh 0 10svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wf-item:last-child { min-height: 70svh; padding-bottom: 4svh; }

.wf-item-cat {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.wf-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.wf-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-head);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.wf-item-tagline {
  margin-top: 16px;
  font-size: var(--t-large);
  line-height: 1.35;
  max-width: 30ch;
}

.wf-specs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.wf-specs dt {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.wf-specs li {
  position: relative;
  padding-left: 16px;
  font-size: var(--t-body);
  line-height: 1.45;
}
.wf-specs li + li { margin-top: 8px; }
.wf-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--surface-3);
}
.wf-specs .wf-gets li::before { background: var(--accent); }

.wf-buy {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.wf-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-sub);
  line-height: 1;
  white-space: nowrap;
}
.wf-price-note {
  width: 100%;
  font-size: var(--t-small);
  color: var(--muted);
}

/* the frame that stays put */
.wf-stage {
  grid-column: 8 / 13;
  position: relative;
}
.wf-frame {
  position: sticky;
  top: calc(var(--nav-h) + 4svh);
  height: calc(100svh - var(--nav-h) - 8svh);
  max-height: 900px;
  aspect-ratio: 9 / 16;
  margin-left: auto;
  background: var(--surface);
  overflow: hidden;
}
.wf-shot {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 900ms var(--ease-out);
}
.wf-shot.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.wf-shot.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.wf-shot video,
.wf-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1400ms var(--ease-out);
}
.wf-shot.is-active video,
.wf-shot.is-active img { transform: scale(1); }

/* image pairs (made from) and landscape covers sit on a filled ground */
.wf-shot-pair { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; background: var(--ground); }
.wf-shot-pair figure { position: relative; margin: 0; overflow: hidden; min-height: 0; }
.wf-shot-pair video,
.wf-shot-pair img { object-position: 50% 30%; }

.wf-none { padding: 28px 22px 26px; }
.wf-none h3 { font-family: var(--text); text-transform: none; font-size: var(--t-large); font-weight: 600; line-height: 1.25; }
.wf-none > p { margin-top: 8px; color: var(--muted); max-width: 44ch; }
.wf-none .wf-btn { width: 100%; margin-top: 22px; }
.wf-shot-contain { background: var(--surface-2); }
.wf-shot-contain img { object-fit: contain; padding: 8%; }

.wf-shot figcaption,
.wf-frame-caption {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(5, 5, 5, 0.78);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.wf-frame-caption { left: auto; right: 14px; top: 12px; bottom: auto; }

.wf-frame-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.wf-frame-count span {
  width: 22px;
  height: 4px;
  background: rgba(245, 245, 245, 0.28);
  transition: background-color 400ms var(--ease-out), width 400ms var(--ease-out);
}
.wf-frame-count span.is-on { background: var(--accent); width: 34px; }

/* phone media inside each item (hidden on desktop where the frame does the job) */
.wf-item-media { display: none; }

/* ------------------------------------------------------------ compare */

.wf-compare {
  margin-top: var(--gap-section);
  padding: 120px var(--margin) 128px;
  background: var(--surface);
}
.wf-compare .wf-h2 { margin-bottom: 64px; }
.wf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-large);
  line-height: 1.35;
}
.wf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wf-table th {
  text-align: left;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--muted);
  padding: 0 24px 20px 0;
}
.wf-table td { padding: 18px 24px 18px 0; vertical-align: baseline; }
.wf-table tbody tr { transition: background-color 200ms var(--ease-out); }
.wf-table tbody tr:hover { background: var(--surface-2); }
.wf-table th:last-child,
.wf-table td:last-child { text-align: right; padding-right: 0; }
.wf-table td:first-child a {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: var(--t-sub);
  text-decoration: none;
  display: inline-block;
  transition: transform 260ms var(--ease-out);
}
.wf-table tbody tr:hover td:first-child a { transform: translateX(12px); }
.wf-table .wf-col-gpu { color: var(--muted); }
.wf-table td:last-child a {
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.wf-table td:last-child a:hover { color: var(--accent); }

/* ------------------------------------------------------------ faq */

.wf-faq {
  margin: var(--gap-section) var(--margin) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
}
.wf-faq .wf-h2 { grid-column: 1 / 13; margin-bottom: 80px; }
.wf-faq-list { grid-column: 5 / 13; }
.wf-faq details { padding: 0 24px; margin: 0 -24px; transition: background-color 260ms var(--ease-out); }
.wf-faq details + details { margin-top: 20px; }
.wf-faq details[open] { background: var(--surface); padding-bottom: 24px; }
.wf-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  font-size: var(--t-large);
  cursor: pointer;
}
.wf-faq summary::-webkit-details-marker { display: none; }
.wf-chev {
  width: 14px;
  height: 14px;
  flex: none;
  position: relative;
  transition: transform 320ms var(--ease-out);
}
.wf-chev::before,
.wf-chev::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 9px;
  height: 2px;
  background: var(--ink);
}
.wf-chev::before { left: 0; transform: rotate(45deg); }
.wf-chev::after { right: 0; transform: rotate(-45deg); }
.wf-faq details[open] .wf-chev { transform: rotate(180deg); }
.wf-faq details p { max-width: 56ch; color: var(--ink); }
.wf-faq details p a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* ------------------------------------------------------------ close */

.wf-close {
  margin-top: var(--gap-section);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wf-close-media { position: relative; overflow: hidden; background: var(--surface-2); min-height: 60svh; }
.wf-close-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.wf-close-menu {
  background: var(--surface);
  padding: 88px var(--margin) 48px 8%;
  display: flex;
  flex-direction: column;
}
.wf-close-menu .wf-h2 { margin-bottom: 48px; }
.wf-close-links { display: grid; gap: 18px; }
.wf-close-links a {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-sub);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  transition: transform 260ms var(--ease-out), color 200ms var(--ease-out);
}
.wf-close-links a span { font-size: var(--t-large); color: var(--muted); }
.wf-close-links:hover a { color: var(--muted); }
.wf-close-links a:hover,
.wf-close-links a:focus-visible { color: var(--ink); transform: translateX(12px); }
.wf-close-foot {
  margin-top: auto;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wf-close-foot h3 { font-size: var(--t-small); font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.wf-close-foot a { text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ------------------------------------------------------------ updates dialog */

.wf-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100svh - 48px));
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--text);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4); /* taste-skill-ignore: dialog is a real overlay */
}
.wf-dialog::backdrop { background: rgba(5, 5, 5, 0.82); }
.wf-dialog[open] { animation: wf-dialog-in 520ms var(--ease-out); }
.wf-dialog[open]::backdrop { animation: wf-fade-in 360ms var(--ease-out); }
.wf-dialog.is-closing { animation: wf-dialog-out 240ms var(--ease-in-out) forwards; }
.wf-dialog.is-closing::backdrop { animation: wf-fade-out 240ms var(--ease-in-out) forwards; }
@keyframes wf-dialog-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); clip-path: inset(6% 4% 6% 4%); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes wf-dialog-out { to { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes wf-fade-in { from { opacity: 0; } }
@keyframes wf-fade-out { to { opacity: 0; } }

.wf-dialog-inner { display: flex; flex-direction: column; max-height: inherit; }
.wf-dialog-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 0;
}
.wf-dialog-thumb {
  width: 54px;
  aspect-ratio: 9 / 16;
  flex: none;
  object-fit: cover;
  background: var(--surface-2);
}
.wf-dialog-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-sub);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.wf-dialog-head p { font-size: var(--t-small); color: var(--muted); margin-top: 4px; }
.wf-dialog-x {
  margin-left: auto;
  align-self: start;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.wf-dialog-x:hover { background: var(--surface-2); color: var(--ink); }

/* lock view */
.wf-lock { padding: 28px 22px 26px; }
.wf-lock-art {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: var(--ink);
}
.wf-lock-art .wf-shackle { transform-origin: 46px 26px; transition: transform 520ms var(--ease-out); }
.wf-lock.is-open .wf-shackle { transform: translateY(-5px) rotate(28deg); }
.wf-lock.is-open .wf-lock-body { fill: var(--accent); transition: fill 300ms var(--ease-out); }
.wf-lock h3 { font-size: var(--t-large); font-weight: 600; line-height: 1.25; }
.wf-lock > p { margin-top: 8px; color: var(--muted); max-width: 44ch; }

.wf-field { margin-top: 24px; position: relative; }
.wf-field label { display: block; font-size: var(--t-small); font-weight: 600; margin-bottom: 8px; }
.wf-input-row { display: flex; background: var(--ground); border-radius: 2px; transition: box-shadow 200ms var(--ease-out); }
.wf-input-row:focus-within { box-shadow: 0 0 0 2px var(--accent); } /* taste-skill-ignore: focus ring */
.wf-input-row input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--text);
  font-size: 20px;
  letter-spacing: 0.04em;
  caret-color: var(--accent);
  outline: none;
}
.wf-input-row input::placeholder { color: #8a8a8a; letter-spacing: 0; font-size: 16px; }
.wf-reveal {
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 160ms var(--ease-out);
}
.wf-reveal:hover { color: var(--ink); }
.wf-field.is-wrong .wf-input-row { animation: wf-shake 420ms var(--ease-out); box-shadow: 0 0 0 2px var(--accent); } /* taste-skill-ignore: error state ring */
@keyframes wf-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}
.wf-error { margin-top: 10px; min-height: 1.4em; font-size: var(--t-small); color: #ff8f98; }
.wf-hint { font-size: var(--t-small); color: var(--muted); margin-top: 4px; }

.wf-lock .wf-btn { width: 100%; margin-top: 18px; position: relative; overflow: hidden; }
.wf-btn.is-loading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40%;
  background: rgba(255, 255, 255, 0.85);
  animation: wf-sweep 900ms var(--ease-in-out) infinite;
}
@keyframes wf-sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* notes view */
.wf-notes { padding: 20px 22px 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--surface-3) transparent; }
.wf-notes-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.wf-notes-bar p { font-size: var(--t-small); color: var(--muted); }
.wf-forget {
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 var(--t-small) / 1 var(--text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
}
.wf-forget:hover { color: var(--ink); }
.wf-note {
  padding: 20px;
  background: var(--surface-2);
  opacity: 0;
  transform: translateY(18px);
  animation: wf-rise 560ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 120ms);
}
.wf-note + .wf-note { margin-top: 10px; }
.wf-note-meta { display: flex; gap: 10px; align-items: baseline; font-size: var(--t-small); color: var(--muted); }
.wf-note-meta b { color: var(--accent); font-weight: 600; }
.wf-note h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.wf-note-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.wf-note-body { margin-top: 8px; font-size: var(--t-body); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.wf-note .wf-btn { margin-top: 14px; min-height: 44px; --btn-bg: var(--surface-3); }
.wf-empty { padding: 28px 4px 8px; color: var(--muted); }
.wf-files { display: grid; gap: 6px; margin-top: 14px; }
.wf-file {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  background: var(--ground);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 180ms var(--ease-out);
}
.wf-file:hover { background: #000; }
.wf-file .wf-icon { color: var(--accent); transition: transform 260ms var(--ease-out); }
.wf-file:hover .wf-icon { transform: translateY(2px); }
.wf-file-name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-file-size { color: var(--muted); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
@keyframes wf-rise { to { opacity: 1; transform: none; } }

.wf-swap-in { animation: wf-swap 460ms var(--ease-out); }
@keyframes wf-swap { from { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------ entrances */

.js .wf-page [data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 75ms);
}
.js .wf-page [data-rise].is-in { opacity: 1; transform: none; }

.wf-title .wf-t1,
.wf-title .wf-t2 { animation: wf-title-in 1100ms var(--ease-out) both; }
.wf-title .wf-t2 { animation-delay: 140ms; }
@keyframes wf-title-in {
  from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

/* ------------------------------------------------------------ tablet + phone */

@media (max-width: 1100px) {
  .wf-hero-index { display: none; }
  .wf-hero-copy { grid-column: 2 / 9; }
  .wf-list { grid-column: 1 / 8; }
  .wf-stage { grid-column: 8 / 13; }
  .wf-specs { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .wf-page { --nav-h: 72px; --t-hero: 17vw; }
  .wf-hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .wf-hero-panel { display: block; min-height: 0; padding: 0 16px 40px; background: var(--ground); position: static; }
  .wf-title { position: static; inset: auto; display: flex; justify-content: space-between; align-items: flex-end; padding: 24px 0 18px; }
  .wf-title span { position: static; }
  .wf-hero-copy { margin-top: 24px; max-width: none; }
  .wf-hero-media { order: -1; display: none; }
  .wf-lead { font-size: 20px; }
  .wf-hero-copy .wf-btn { width: 100%; }

  .wf-run { display: block; margin-top: 72px; }
  .wf-run-head { display: block; margin-bottom: 24px; }
  .wf-run-head p { margin-top: 12px; }
  .wf-stage { display: none; }
  .wf-item { min-height: 0; padding: 40px 0 56px; }
  .wf-item-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    margin: 0 0 24px;
    overflow: hidden;
    background: var(--surface);
  }
  .wf-item-media .wf-shot { clip-path: none; }
  .wf-item-media .wf-shot video,
  .wf-item-media .wf-shot img { transform: none; }
  .wf-item h3 { font-size: 46px; }
  .wf-buy .wf-btn { flex: 1 1 180px; }

  .wf-compare { padding: 88px 16px; margin-top: 96px; }

  .wf-faq { display: block; margin-top: 96px; }
  .wf-faq .wf-h2 { font-size: 12vw; margin-bottom: 36px; }
  .wf-faq details { margin: 0 -16px; padding: 0 16px; }
  .wf-faq details[open] { padding-bottom: 20px; }
  .wf-faq summary { font-size: 19px; }
  .wf-faq details p { font-size: 16px; }

  .wf-close { grid-template-columns: 1fr; min-height: 0; margin-top: 96px; }
  .wf-close-media { min-height: 50svh; }
  .wf-close-menu { padding: 48px 16px 40px; }
  .wf-close-links a { font-size: 8vw; }
  .wf-close-foot { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wf-table, .wf-table tbody, .wf-table tr, .wf-table td { display: block; width: 100%; }
  .wf-table tr { padding: 16px 0; }
  .wf-table td { padding: 2px 0; font-size: var(--t-body); text-align: left !important; }
  .wf-table td:last-child { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-page *,
  .wf-page *::before,
  .wf-page *::after,
  .wf-dialog,
  .wf-dialog * {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .js .wf-page [data-rise] { opacity: 1; transform: none; }
  .wf-hero-media video, .wf-hero-media img { animation: none; transform: none; }
}
