/* Track your VESTIRSI order: the tracking page's layout and parts in VESTIRSI's own hand. A white page, her ink, square
   corners and hairlines everywhere, a thin display serif over Inter Light, capitals only where her site sets them. */

@font-face {
  font-family: "Inter";
  src: url("assets/inter-18pt-latin.woff2?v=e0ff94b1c2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fraunces-thin-latin.woff2?v=d36c2d52b2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* her palette, read off her theme and her pages as drawn */
  --page: #ffffff; /* every page of hers */
  --soft: #f9f8f6; /* her About page and announcement bar */
  --ink: #262626; /* her text, headings and solid button */
  --black: #000000; /* her field edges */
  --mute: #595959; /* her lighter text */
  --rule: #b5b5b5; /* her dividers */
  --greige: #d7cfc8; /* her accent and second button */
  --tint: #eeeae7; /* her accent, lighter: the tick boxes */
  --studio: #d7cec7; /* the ground of her product photographs */
  --wall: #cfcac5; /* the film's wall, under the still while it loads */
  --bad: #d02e2e; /* her field error */

  --hair: 0.5px; /* her border width: rules, boxes and link lines */
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --gutter: 60px;
  --maxw: 1440px;
  --header: 64px;
  --under: 316px; /* on a phone, what stands under the film down to the example's press */

  /* her motion: slow and short of distance, no bounce */
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --move: 600ms;
  --wipe: 1.1s;
  --veil: 0.3s;
  --fade: 300ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --move: 0ms;
    --wipe: 0s;
    --veil: 0s;
    --fade: 120ms;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}

html {
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 300;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

p,
h1,
h2,
h3,
ol,
ul,
blockquote {
  margin: 0;
  font-weight: 300;
}

h1,
h2,
h3 {
  font-size: inherit;
  line-height: inherit;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
  letter-spacing: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* the address #example works with no script: an empty mark at the top of the page that the view rules below follow */
.anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.is-booting *,
.is-booting *::before,
.is-booting *::after {
  transition: none !important;
}

/* the display hand: her thin serif's lines, in the open face nearest it, drawn without hinting so it never snaps wide */
.find-h,
.eta,
.band-h,
.footer-h {
  font-family: var(--display);
  font-weight: 100;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

/* her small label: capitals by the stylesheet, never tracked */
.kicker {
  font-size: 11.2px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--ink);
}

/* her text link: capitals with a hairline under them; on hover the line wipes away and a new one draws in */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11.2px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.text-link-in {
  position: relative;
  padding-bottom: 2px;
}

.text-link-in::before,
.text-link-in::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: transform var(--wipe) var(--ease);
}

.text-link-in::before {
  transform: scaleX(0);
  transform-origin: left;
}

.text-link-in::after {
  transform-origin: right;
}

@media (hover: hover) {
  .text-link:hover .text-link-in::after {
    transform: scaleX(0);
  }

  .text-link:hover .text-link-in::before {
    transform: scaleX(1);
    transition-delay: 0.25s;
  }
}

/* her buttons: square, capitals, light; the solid one fills a touch lighter from below on hover, the outlined one fills
   with her ink */
.btn-in {
  position: relative;
}

.find-go,
.find-example,
.order-another {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.find-go::before,
.find-example::before,
.order-another::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--veil) ease;
}

.find-go::before {
  background: rgba(255, 255, 255, 0.07);
}

.find-example::before,
.order-another::before {
  background: var(--ink);
}

.find-example,
.order-another {
  transition: color var(--veil) ease;
}

@media (hover: hover) {
  .find-go:hover::before,
  .find-example:hover::before,
  .order-another:hover::before {
    transform: scaleY(1);
  }

  .find-example:hover,
  .order-another:hover {
    color: var(--page);
  }
}

/* ---------- the two views: the search screen, and the example shipment ---------- */

.track {
  display: none;
}

.is-track .landing {
  display: none;
}

.is-track .track {
  display: block;
}

html:not(.js) #example:target ~ main .landing {
  display: none;
}

html:not(.js) #example:target ~ main .track {
  display: block;
}

/* the header names the page on the journey; the search screen says it in its own heading */
html:not(.is-track) .header-sub {
  visibility: hidden;
}

html:not(.js) #example:target ~ .site-header .header-sub {
  visibility: visible;
}

/* with no script the box cannot answer and the film cannot start, so the search screen offers the example alone */
html:not(.js) .find-box,
html:not(.js) .find-help,
html:not(.js) .stage-toggle,
html:not(.js) .order-another,
html:not(.js) .film-toggle {
  display: none;
}

/* and with no press to open them, every cell shows its checkpoints */
html:not(.js) .stage-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

html:not(.js) .stage-panel-in {
  opacity: 1;
}

html:not(.js) .stage-prog {
  padding-bottom: 16px;
}

/* the times are written in the shopper's own zone as the page opens; they never show in another one first */
.js:not(.is-zoned) [data-t],
.js:not(.is-zoned) .journey-note {
  visibility: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- header: her wordmark centred at her own 150 px, as her header sets it ---------- */

.site-header {
  position: relative;
  z-index: 2;
  background: var(--page);
}

.header-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--header);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.brand-logo {
  width: 150px;
  height: 34px;
}

.header-sub {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  min-height: 44px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.header-sub-ic {
  display: none;
  width: 22px;
  height: 22px;
}

@media (hover: hover) {
  .header-sub:hover .header-sub-words {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}

/* ---------- the film: her film over its own first frame, one crop for both ---------- */

.film {
  position: relative;
  overflow: hidden;
  background: var(--wall);
}

.film-pic,
.film-still,
.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-still,
.film-video {
  object-fit: cover;
  object-position: 45% 30%; /* her face kept when a very wide box crops the film top and bottom */
}

/* the film fades in over its still once it plays, so nothing jumps */
.film-video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.film.is-playing .film-video {
  opacity: 1;
}

/* a small square press to stop the film (it loops for longer than five seconds) */
.film-toggle {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--page);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.film-toggle[hidden] {
  display: none;
}

.film-toggle::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: rgba(38, 38, 38, 0.5);
  transition: background-color 0.25s ease;
}

@media (hover: hover) {
  .film-toggle:hover::before {
    background: rgba(38, 38, 38, 0.72);
  }
}

.film-toggle:focus-visible {
  outline: none;
}

.film-toggle:focus-visible::before {
  outline: 1px solid var(--page);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--ink);
}

.film-ic {
  position: relative;
  width: 14px;
  height: 14px;
}

.film-ic--play,
.film-toggle.is-paused .film-ic--pause {
  display: none;
}

.film-toggle.is-paused .film-ic--play {
  display: block;
}

/* ---------- the search screen: her film beside the box, as her product page sets its pictures beside its details ---------- */

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(440px, 38vw, 620px);
  height: max(560px, min(calc(100vh - var(--header)), 960px));
  height: max(560px, min(calc(100svh - var(--header)), 960px));
}

.find-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 48px max(var(--gutter), env(safe-area-inset-right)) 48px 48px;
  background: var(--page);
}

.find-in {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.find-h {
  margin-top: 12px;
  font-size: 48px;
  line-height: 57.6px;
  color: var(--ink);
}

.find-h:focus,
.eta:focus {
  outline: none;
}

.find {
  margin-top: 28px;
}

.find-box {
  display: flex;
  border: 1px solid var(--black);
  background: var(--page);
}

.find-box:focus-within {
  box-shadow: 0 0 0 1px var(--black);
}

.find.is-invalid .find-box {
  border-color: var(--bad);
  box-shadow: 0 0 0 1px var(--bad);
}

.find-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 18px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--ink);
  text-align: left;
  outline: none;
}

.find-input::placeholder {
  color: var(--mute);
  font-size: 14px;
  opacity: 1;
}

.find-go {
  flex: none;
  min-width: 104px;
  height: 52px;
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  color: var(--page);
  font-size: 12.8px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

/* a message opens under the box and the lines below glide down with it. Both messages are in the page from the
   start; a link carrying another number shows its note from the first frame, so nothing moves on load */
.find-msg {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--move) var(--ease), visibility 0s linear var(--move);
}

.find.is-invalid .find-msg,
.find.is-note .find-msg {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--move) var(--ease), visibility 0s linear 0s;
}

.is-noting .find-msg {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: none;
}

.find-msg-in {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--fade) ease;
}

.find.is-invalid .find-msg-in,
.find.is-note .find-msg-in,
.is-noting .find-msg-in {
  opacity: 1;
}

.find-error--blank,
.find-error--note {
  display: none;
}

.find.is-invalid .find-error--blank,
.find.is-note .find-error--note,
.is-noting .find-error--note {
  display: block;
}

.find-error {
  padding-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--bad);
  text-align: left;
}

/* a number that is not the example: not a mistake, so a calm note on her soft ground rather than an error */
.find-error--note {
  margin-top: 12px;
  padding: 14px 18px;
  border-left: 1px solid var(--ink);
  background: var(--soft);
  color: var(--ink);
}

/* each sentence holds together: a message too long for one line breaks between its sentences */
.find-error-part {
  display: inline;
}

.find-help {
  margin-top: 14px;
  font-size: 12px;
  line-height: 18px;
  color: var(--mute);
  text-wrap: balance;
}

.find-alt {
  margin-top: 24px;
}

.find-example {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--ink);
  font-size: 12.8px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------- her LWG words and her About page's pair of pictures, on her soft ground ---------- */

.band {
  background: var(--soft);
}

.band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 60px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 104px max(var(--gutter), env(safe-area-inset-right)) 104px max(var(--gutter), env(safe-area-inset-left));
}

.band-text {
  justify-self: center;
  max-width: 580px;
  text-align: center;
}

.band-h {
  margin-top: 16px;
  font-size: 43.2px;
  line-height: 46px;
  color: inherit;
  text-wrap: balance;
}

.band-p {
  margin-top: 22px;
  font-size: 13px;
  line-height: 20px;
  text-wrap: pretty;
}

.band-link {
  margin-top: 14px;
}

/* her two pictures, side by side and stepped, as her About page sets them */
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  justify-self: center;
  width: 100%;
  max-width: 660px;
}

.pair-pic {
  display: block;
  position: relative;
  aspect-ratio: 1080 / 1450;
  overflow: hidden;
  background: var(--studio);
}

.pair-pic--window {
  z-index: 1;
  margin-top: 12%;
  margin-right: -1px;
}

.pair-pic--clasp {
  margin-bottom: 12%;
}

.pair-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- the example: headline and status ---------- */

.hero {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 48px;
}

.eta {
  margin-top: 10px;
  font-size: 48px;
  line-height: 57.6px;
  color: var(--ink);
}

.pill {
  margin-bottom: 12px;
  margin-left: auto;
  padding: 7px 14px;
  background: var(--greige);
  font-size: 11.2px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- the order: the product on her studio ground, its number, the route, and the way to another order ---------- */

.order {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "photo text route another";
  align-items: center;
  column-gap: 24px;
  margin-top: 24px;
  padding-right: 24px;
  border: var(--hair) solid var(--ink);
}

.order-img {
  grid-area: photo;
  align-self: stretch;
  width: 80px;
  height: auto;
  min-height: 120px;
  object-fit: contain;
  object-position: 50% 50%;
  background: var(--studio); /* her photograph's own ground, so the cell reads as one picture at any height */
}

.order-text {
  grid-area: text;
  min-width: 0;
  padding-block: 12px;
}

.order-title {
  font-size: 17.6px;
  line-height: 22px;
}

.order-items {
  margin-top: 3px;
  font-size: 13px;
  line-height: 19px;
}

.order-no {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 16px;
}

/* the number holds together; the small tag after it takes the next line if it must */
.order-number {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.order-tag {
  padding: 3px 8px;
  background: var(--greige);
  font-size: 10.8px;
  font-weight: 400;
  line-height: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.order-route {
  grid-area: route;
  font-size: 12px;
  line-height: 18px;
  color: var(--mute);
  white-space: nowrap;
}

.order-leg {
  white-space: nowrap;
}

.order-another {
  grid-area: another;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--ink);
  font-size: 11.2px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* between a phone and a wide screen the route sits under the words, so the words keep their room */
@media (min-width: 700px) and (max-width: 1099.98px) {
  .order {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "photo text another" "photo route another";
  }

  .order-text {
    align-self: end;
    padding-bottom: 4px;
  }

  .order-route {
    align-self: start;
    padding-bottom: 12px;
  }
}

/* ---------- the journey: one ruled strip, as her icons row is ruled, the six stages side by side ---------- */

.journey-wrap {
  margin-top: 32px;
}

.journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: var(--hair) solid var(--ink);
  border-bottom: var(--hair) solid var(--ink);
  /* the step rows: one column for the tick, then the label over a quieter line with the place and time */
  --mark: 14px;
  --mark-gap: 8px;
  --tick: 10px;
  --row-pad: 10px;
  --lab-size: 12px;
  --lab-lh: 16px;
  --meta-size: 11.5px;
  --meta-lh: 15px;
  --drop-pad: 14px;
  --pad: 16px;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stage + .stage {
  border-left: var(--hair) solid var(--ink);
}

/* the cell: its summary, then its details below it, growing downward */
.stage-card {
  --sep: var(--rule);
  display: flex;
  flex: 1;
  flex-direction: column;
  background: var(--page);
}

.stage-sum {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px var(--pad) 0;
  text-align: center;
}

.stage-no {
  position: absolute;
  top: 14px;
  left: var(--pad);
  font-size: 11.2px;
  font-weight: 400;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}

/* her checkboxes are square, so the ticks sit in squares */
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--tint);
}

.badge-tick {
  width: 13px;
  height: 13px;
  color: var(--ink);
}

.stage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  color: var(--ink);
}

.stage-icon .ic {
  width: 24px;
  height: 24px;
}

.stage-mark {
  width: 22px;
  height: auto;
}

/* the title block is as tall as the longest title at the cell's width: an invisible copy of that title shares its
   cell. So every cell's bar, status line and Details press sit on the same line across the strip. */
.stage-head {
  display: grid;
  margin-top: 16px;
}

.stage-head > * {
  grid-area: 1 / 1;
  align-self: start;
}

.stage-fit {
  visibility: hidden;
}

.stage-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--ink);
  text-wrap: balance;
}

.flag {
  display: inline-block;
  vertical-align: -1px;
  margin-right: 6px;
  box-shadow: 0 0 0 0.5px rgba(38, 38, 38, 0.3);
}

.flag-au {
  width: 19px;
  height: 9.5px;
}

.flag-us {
  width: 18px;
  height: 9.5px;
}

.stage-prog {
  padding-top: 16px;
}

.segs {
  display: flex;
  gap: 4px;
  max-width: 120px;
  margin-inline: auto;
}

.seg {
  flex: 1;
  height: 2px;
  background: var(--ink);
}

.stage-status {
  min-height: 16px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--mute);
  text-wrap: balance;
}

/* her accordion's press: capitals, a plus that turns to a minus, a hairline above */
.stage-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% + 2 * var(--pad));
  min-height: 44px;
  margin: 16px calc(-1 * var(--pad)) 0;
  padding: 12px var(--pad) 13px;
  border: 0;
  border-top: var(--hair) solid var(--sep);
  background: transparent;
  color: var(--ink);
  font-size: 11.2px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease;
}

/* the whole summary is the press; its name stays "Details for <stage>" */
.stage-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  .stage-toggle:hover {
    background: rgba(38, 38, 38, 0.035);
  }
}

.stage-toggle:focus-visible {
  outline-offset: -4px;
}

.pm {
  flex: none;
  width: 12px;
  height: 12px;
  overflow: visible;
}

.pm path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.pm-v {
  transform-origin: 12px 12px;
  transition: transform var(--move) var(--ease);
}

.stage.is-open .pm-v {
  transform: scaleY(0);
}

/* the last cell, delivered: her accent as its ground, its tick a solid square of her ink */
.stage--final .stage-card {
  --sep: rgba(38, 38, 38, 0.32);
  background: var(--greige);
}

.stage--final .badge {
  background: var(--ink);
}

.stage--final .badge-tick {
  color: var(--page);
}

.stage--final .stage-no,
.stage--final .stage-status {
  color: var(--ink);
}

@media (hover: hover) {
  .stage--final .stage-toggle:hover {
    background: rgba(38, 38, 38, 0.06);
  }
}

/* ---------- the details, inside the cell ---------- */

.stage-panel {
  display: grid;
  grid-template-rows: 0fr;
  min-width: 0;
  visibility: hidden;
  transition: grid-template-rows var(--move) var(--ease), visibility 0s linear var(--move);
}

.stage.is-open .stage-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--move) var(--ease), visibility 0s linear 0s;
}

.stage-panel-in {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--fade) ease;
}

.stage.is-open .stage-panel-in {
  opacity: 1;
}

.steps {
  margin: 0;
  padding: 0 var(--drop-pad);
  border-top: var(--hair) solid var(--sep);
  text-align: left;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: var(--mark) minmax(0, 1fr);
  column-gap: var(--mark-gap);
  align-items: start;
  padding: var(--row-pad) 0;
}

.step + .step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: var(--hair) solid var(--sep);
}

.step-mark {
  display: grid;
  place-items: center;
  width: var(--mark);
  height: var(--mark);
  margin-top: calc((var(--lab-lh) - var(--mark)) / 2);
  background: var(--tint);
}

.stage--final .step-mark {
  background: var(--page);
}

.step-tick {
  width: var(--tick);
  height: var(--tick);
  color: var(--ink);
}

/* the row's text block decides, by its own width, whether the place and time share one line */
.step-body {
  min-width: 0;
  container: step / inline-size;
  font-size: var(--meta-size);
}

.step-title {
  font-size: var(--lab-size);
  font-weight: 400;
  line-height: var(--lab-lh);
  color: var(--ink);
  text-wrap: balance;
}

.step-meta {
  margin-top: 2px;
  font-size: var(--meta-size);
  line-height: var(--meta-lh);
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}

.stage--final .step-meta {
  color: var(--ink);
}

.step-place,
.step-when {
  display: block;
  white-space: nowrap;
}

.step-sep {
  display: none;
}

.no-place .step-sep {
  display: none !important;
}

/* a row wide enough keeps its place and time on one line */
@container step (min-width: 19em) {
  .step-place,
  .step-when {
    display: inline;
  }

  .step-sep {
    display: inline;
    margin: 0 0.42em;
  }
}

.journey-foot {
  margin-top: 14px;
  font-size: 12px;
  line-height: 18px;
  color: var(--mute);
}

/* ---------- the island: her film beside her words, on the dark ground her own film sections have ---------- */

.island {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 80px;
  background: var(--ink);
  color: var(--page);
}

.island .film {
  aspect-ratio: 16 / 9;
}

.island .band-text {
  align-self: center;
  padding: 56px max(var(--gutter), env(safe-area-inset-right)) 56px 56px;
}

.island .kicker {
  color: var(--page);
}

.island :focus-visible {
  outline-color: var(--page);
}

/* ---------- foot: her V, the question, her contact page, her copyright, and nothing else ---------- */

.site-footer {
  border-top: var(--hair) solid var(--ink);
  background: var(--page);
}

.footer-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 56px max(var(--gutter), env(safe-area-inset-right)) 44px max(var(--gutter), env(safe-area-inset-left));
  text-align: center;
}

.footer-mark {
  width: 24px;
  height: auto;
}

.footer-h {
  margin-top: 22px;
  font-size: 30px;
  line-height: 36px;
  color: var(--ink);
}

.footer-p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.3em;
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
}

.footer-p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

@media (hover: hover) {
  .footer-p a:hover {
    color: rgba(38, 38, 38, 0.85);
  }
}

.footer-base {
  border-top: var(--hair) solid var(--ink);
}

.footer-copy {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px max(var(--gutter), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  font-size: 10.8px;
  line-height: 16.875px;
}

/* ---------- widths ---------- */

/* three across, two rows: the strip keeps its rules between cells and between the rows */
@media (max-width: 1239.98px) {
  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --mark: 16px;
    --tick: 11px;
    --lab-size: 12.5px;
    --meta-size: 12px;
    --drop-pad: 16px;
  }

  .stage:nth-child(3n + 1) {
    border-left: 0;
  }

  .stage:nth-child(n + 4) {
    border-top: var(--hair) solid var(--ink);
  }
}

/* under 1000 px the film has the width to itself and the box sits under it, on white */
@media (max-width: 999.98px) {
  .landing-hero {
    display: block;
    height: auto;
  }

  .landing-hero .film {
    height: min(62.5vw, max(280px, calc(100vh - var(--header) - var(--under))));
    height: min(62.5vw, max(280px, calc(100svh - var(--header) - var(--under))));
  }

  .find-panel {
    display: block;
    padding: 36px max(var(--gutter), env(safe-area-inset-right)) 52px max(var(--gutter), env(safe-area-inset-left));
  }

  .find-in {
    max-width: 440px;
    margin-inline: auto;
  }

  .band-in {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
    padding-block: 72px;
  }

  .pair {
    order: -1;
    max-width: 560px;
  }
}

/* the island stacks: the film over the words, the whole width */
@media (max-width: 899.98px) {
  .island {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 64px;
  }

  .island .band-text {
    padding: 44px max(var(--gutter), env(safe-area-inset-right)) 52px max(var(--gutter), env(safe-area-inset-left));
  }
}

/* her phone gutter */
@media (max-width: 767.98px) {
  :root {
    --gutter: 20px;
  }
}

/* phones: the film square at most, her headings a step down, and the six stages as her accordion rows, each opening
   on its own */
@media (max-width: 699.98px) {
  .header-sub {
    justify-content: center;
    margin-right: -11px;
  }

  .header-sub-ic {
    display: block;
  }

  .header-sub-words {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* the film gives way on a short screen (a phone with its browser bars showing), so the box and the example's press
     stay on the first screen */
  .landing-hero .film {
    height: min(100vw, max(240px, calc(100vh - var(--header) - var(--under))));
    height: min(100vw, max(240px, calc(100svh - var(--header) - var(--under))));
  }

  .find-panel {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .find-h {
    margin-top: 8px;
    font-size: 36px;
    line-height: 43.2px;
  }

  .find {
    margin-top: 20px;
  }

  .find-go {
    min-width: 92px;
    padding: 0 18px;
  }

  .find-alt {
    margin-top: 20px;
  }

  .band-in {
    padding-block: 56px;
    row-gap: 40px;
  }

  .band-h {
    font-size: 32px;
    line-height: 36px;
  }

  .pair-pic--window {
    margin-right: -9%;
  }

  .hero {
    gap: 12px;
    padding-top: 28px;
  }

  .eta-words {
    flex-basis: 100%;
  }

  .eta {
    font-size: 36px;
    line-height: 43.2px;
  }

  .pill {
    margin-bottom: 0;
    margin-left: 0;
  }

  /* the order on a phone: the way to another order sits under the words, as her text link */
  .order {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "photo text" "photo another";
    column-gap: 16px;
    padding-right: 14px;
    margin-top: 20px;
  }

  .order-text {
    align-self: end;
    padding-block: 12px 0;
  }

  .order-title {
    font-size: 16px;
    line-height: 21px;
  }

  .order-route {
    display: none;
  }

  .order-another {
    align-self: start;
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .order-another::before {
    display: none;
  }

  @media (hover: hover) {
    .order-another:hover {
      color: var(--ink);
    }
  }

  .journey-wrap {
    margin-top: 24px;
  }

  .journey {
    display: flex;
    flex-direction: column;
    --mark: 16px;
    --mark-gap: 16px;
    --tick: 11px;
    --row-pad: 12px;
    --lab-size: 14px;
    --lab-lh: 19px;
    --meta-size: 12.5px;
    --meta-lh: 17px;
    --drop-pad: 14px;
    --pad: 14px;
  }

  .stage {
    display: block;
  }

  .stage + .stage,
  .stage:nth-child(n + 4) {
    border-left: 0;
    border-top: var(--hair) solid var(--ink);
  }

  .stage-sum {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 16px var(--pad) 0;
    text-align: left;
  }

  .stage-no {
    position: static;
    grid-column: 2;
    grid-row: 1;
  }

  .badge {
    top: 14px;
    right: var(--pad);
  }

  .stage-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 48px;
    height: 44px;
    margin-top: 2px;
  }

  .stage-head {
    grid-column: 2;
    margin-top: 2px;
    padding-right: 36px;
  }

  .stage-fit {
    display: none;
  }

  .stage-title {
    font-size: 15px;
    line-height: 20px;
    text-wrap: pretty;
  }

  .stage-prog {
    grid-column: 2;
    padding-top: 12px;
  }

  .segs {
    max-width: 168px;
    margin-inline: 0;
  }

  .stage-status {
    min-height: 17px;
    margin-top: 9px;
    font-size: 12.5px;
    line-height: 17px;
  }

  .stage-toggle {
    grid-column: 1 / -1;
    justify-content: space-between;
    margin-top: 14px;
    padding: 13px var(--pad) 14px calc(var(--pad) + 64px);
  }

  /* the steps line up under the row: ticks on the icon's line, words on the title's edge */
  .step {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .step-mark {
    justify-self: center;
  }

  .island {
    margin-top: 56px;
  }

  .footer-in {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .footer-h {
    font-size: 24px;
    line-height: 30px;
  }
}

/* the narrowest phones: Track goes under the box's input */
@media (max-width: 359.98px) {
  .find-h {
    font-size: 32px;
    line-height: 38px;
  }

  .find-box {
    flex-wrap: wrap;
  }

  .find-input {
    flex-basis: 100%;
  }

  .find-go {
    flex: 1 1 100%;
  }
}

/* no motion asked for: the film never plays, nothing slides, the details only fade */
@media (prefers-reduced-motion: reduce) {
  .film-video {
    display: none;
  }

  .stage-panel,
  .find-msg {
    transition: grid-template-rows 0s linear var(--fade), visibility 0s linear var(--fade);
  }

  .stage.is-open .stage-panel,
  .find.is-invalid .find-msg,
  .find.is-note .find-msg {
    transition: none;
  }
}

@media (forced-colors: active) {
  .badge,
  .step-mark,
  .pill,
  .order-tag {
    border: 1px solid CanvasText;
  }

  .seg {
    background: Highlight;
  }

  .find.is-invalid .find-box {
    outline: 2px solid Highlight;
  }

  .film-toggle::before {
    background: ButtonFace;
    border: 1px solid ButtonText;
  }
}
