/* Lookie. Colours from the logo: paper (her chest), ink (her coat), ear pink (the one accent). Fraunces Soft speaks, Familjen Grotesk works. */
:root {
  --paper: #F0E3CA;      /* the logo's paper: her chest */
  --paper-2: #E6D6B8;
  --ink: #45291A;        /* the logo's ink: her coat */
  --ink-2: #57382A;
  --mute: #735A45;
  --pink: #E49D85;       /* the logo's one accent: sunlight through her ear */
  --blue: #45291A;       /* actions are ink now; the name stays so nothing else breaks */
  --blue-deep: #2E1B10;
  --on-ink: #F0E3CA;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --t-sm: 15px;
  --t-body: 19px;
  --t-lead: clamp(20px, 1.6vw, 24px);
  --t-mid: clamp(34px, 3.6vw, 52px);
  --t-big: clamp(48px, 6.6vw, 110px);

  --gut: max(24px, 4vw);
  --radius: 16px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: 76px; }
p { text-wrap: pretty; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.real :focus-visible, .how :focus-visible, .start :focus-visible { outline-color: var(--paper); }
::selection { background: var(--pink); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ln { display: block; }

.big { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: var(--t-big); line-height: .96; letter-spacing: -.03em; text-wrap: balance; }
.mid { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: var(--t-mid); line-height: 1; letter-spacing: -.03em; }
.say { font-family: var(--serif); font-style: normal; font-weight: 600; font-optical-sizing: auto; font-variation-settings: "SOFT" 100; letter-spacing: -.012em; }
.word { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -.04em; line-height: .9; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--on-ink); font: 700 17px var(--sans); text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.pill:active { transform: scale(.97); }
.pill.dark { background: var(--ink); color: var(--on-ink); }
.pill.ghost { background: var(--paper-2); color: var(--ink); }
.link { all: unset; cursor: pointer; color: var(--ink); font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }


/* Nav: appears once she has stepped out */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 60px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gut); background: var(--paper);
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.nav.on { transform: none; }
.mark { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 28px; letter-spacing: -.03em; text-decoration: none; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 16px; font-weight: 600; }
.nav nav a { text-decoration: none; color: var(--ink); }
.nav .pill { height: 44px; padding: 0 18px; font-size: 15px; }

/* 0. The brand: her name is the screen, and she rises into it */
.brand { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.brand-top { position: absolute; left: var(--gut); right: var(--gut); top: 28px; display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 17px; }
.brand-top .mark { margin-right: auto; }
.brand-top nav { display: flex; gap: 26px; }
.brand-top nav a { text-decoration: none; }
.brand h1 { position: absolute; left: var(--gut); top: 13vh; margin: 0; width: min(60vw, 980px); }
.logo-big { width: 100%; height: auto; display: block; }
.mark-img { height: 30px; width: auto; display: block; }
.mark-spacer { margin-right: auto; }
.logo-foot { width: min(52vw, 760px); height: auto; display: block; }
.brand .sit { position: absolute; right: 3vw; bottom: -32%; height: 94vh; width: auto; max-width: none; }
.brand .line { position: absolute; left: var(--gut); bottom: calc(9vh + 84px); width: min(50%, 660px); font-size: clamp(22px, 2vw, 29px); line-height: 1.2; text-wrap: balance; }
.brand .line b { display: block; font: 400 var(--t-lead)/1.4 var(--sans); letter-spacing: 0; margin-top: 18px; }
.brand .pill { position: absolute; left: var(--gut); bottom: 9vh; height: 56px; padding: 0 28px; font-size: 18px; }

/* 1. Her home video, which she steps out of */
.hero { height: 175vh; position: relative; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: #1c140f; will-change: transform; transform-origin: 50% 46%; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.frame-tag { position: absolute; left: 24px; bottom: 22px; color: #fff; font-size: 14px; font-weight: 600; background: rgba(0, 0, 0, .35); padding: 6px 12px; border-radius: 999px; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 9vh; padding: 0 var(--gut); color: #fff; text-align: center; }
.hero-copy h2 { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -.03em; font-size: clamp(48px, 8.6vw, 150px); line-height: .92; }
.hero-sub { margin: 22px auto 0; font-size: var(--t-lead); font-weight: 500; max-width: 30ch; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; }

/* 2. The turn */
.turn { min-height: 60svh; display: grid; place-content: center; text-align: center; padding: 40px var(--gut) 120px; }
.turn-sub { margin: 28px auto 0; max-width: 36ch; font-size: var(--t-lead); }

/* Chapters */
.chapter { padding: clamp(100px, 11vw, 170px) var(--gut); }
.ch-head { max-width: 1180px; margin: 0 auto; }
.ch-sub { font-size: var(--t-lead); max-width: 40ch; margin-top: 26px; }
.ch-sub b { color: var(--ink); font-weight: 700; background: var(--pink); padding: 0 .35em; border-radius: 6px; }

/* 3. Her day: six things to try, as a list, no boxes */
.tries { list-style: none; padding: 0; margin: 56px auto 0; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 720px); gap: 34px; }
.tries li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: start; transition: transform .4s var(--ease); }
.tries .do { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 34px; line-height: 1.02; letter-spacing: -.015em; }
.tries .does { margin-top: 8px; font-size: 17px; grid-column: 1; }
.tries .try-row { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 8px; }
.tries .state { font-size: 15px; font-weight: 700; color: var(--blue); min-height: 1em; }
.tries .try-row .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
.tries li.seen .do { color: var(--ink); }
.tries li.seen .state { color: var(--blue); }
.tries li.ping { transform: scale(1.02); }

/* 4. It's really her: on her coat */
.real { background: var(--ink); color: var(--on-ink); }
.real .ch-sub b { color: var(--on-ink); }
.compare { max-width: 1180px; margin: 56px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cmp { position: relative; aspect-ratio: 4 / 5; margin-bottom: 64px; border-radius: var(--radius); background: var(--paper-2); user-select: none; cursor: pointer; }
.cmp-frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); }
.cmp-desk, .cmp-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-real { transition: opacity .9s var(--ease); }
.cmp-her { position: absolute; left: 27.1%; top: -.5%; width: 52.2%; height: auto; max-width: none; transform-origin: 0 0; transition: transform .9s var(--ease-io), opacity .2s; }
.cmp[data-state="mac"] .cmp-real { opacity: 0; }
/* Her photo shrinks onto the spot where the app sits her (baked into mac-desk.jpg at true size), then hands over to it. */
.cmp[data-state="mac"] .cmp-her { transform: translate(111.2%, 76.65%) scale(.1966); opacity: 0; transition: transform .9s var(--ease-io), opacity .3s .6s; }
.seg.cmp-seg { position: absolute; bottom: -58px; left: 50%; transform: translateX(-50%); grid-template-columns: 1fr 1fr; width: min(300px, 82%); background: var(--paper); }
.seg.cmp-seg button { height: 38px; font-size: 15px; color: var(--ink); }
.seg.cmp-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 999px; }
.seg button { border: 0; background: transparent; border-radius: 999px; height: 44px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.cmp-side { display: grid; gap: 14px; }
.voice { background: var(--ink-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.v-h { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 32px; letter-spacing: -.015em; line-height: 1.05; }
#wave { width: 100%; height: clamp(120px, 16vw, 220px); margin: auto 0; }
.v-row { display: flex; gap: 10px; flex-wrap: wrap; }
.real .pill.dark { background: var(--paper); color: var(--ink); }
.start .pill { background: var(--paper); color: var(--ink); }
.real .pill.ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px rgba(243, 233, 214, .4); } /* taste-skill-ignore: the pill's own edge on ink */
.mo-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head stage" "list stage"; column-gap: clamp(40px, 6vw, 96px); row-gap: 36px; align-items: start; }
.mo-head { grid-area: head; }
.mo-head .big { font-size: clamp(48px, 5.6vw, 88px); }
.mo-stage { grid-area: stage; margin: 0; position: sticky; top: 96px; aspect-ratio: 1; width: min(100%, calc(100svh - 140px)); justify-self: end; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; align-self: start; }
.mo-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mo-stage.is-phone video { inset: 7% auto 7% 50%; transform: translateX(-50%); height: 86%; width: auto; aspect-ratio: 9 / 20; border: 6px solid var(--ink); border-radius: 26px; background: var(--ink); }
.mo-list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.mo-list button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(69, 41, 26, .18); padding: 13px 0 13px 0; font: inherit; color: var(--mute); cursor: pointer; min-height: 44px; transition: color .2s, padding .25s var(--ease); }
.mo-list button span { font-size: var(--t-sm); }
.mo-list button b { font: 600 17px/1.3 var(--sans); text-align: right; }
.mo-list button[aria-pressed="true"] { color: var(--ink); padding-left: 14px; box-shadow: inset 4px 0 0 var(--pink); }
.mo-list button[aria-pressed="true"] b { font-weight: 700; }
.proof-line { max-width: 36ch; margin: clamp(36px, 4vw, 56px) 0 0 max(0px, calc((100% - 1180px) / 2)); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.real .proof-line { color: var(--on-ink); }

/* 5. Phone */
.moments .ch-head { margin-bottom: clamp(40px, 5vw, 72px); }

/* 6. How: a sideways run on her coat */
.how { background: var(--ink); color: var(--on-ink); }
.how-pin { padding: clamp(90px, 10vw, 150px) 0; }
.how-run .how-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 40px; }
.how-h { padding: 0 var(--gut); font-size: var(--t-mid); }

.how-track { display: grid; gap: 56px; padding: 44px var(--gut) 0; max-width: 760px; }
.how-run .how-track { display: flex; gap: 40px; max-width: none; will-change: transform; }
.panel { padding: 0; }
.how-run .panel { flex: 0 0 min(560px, 82vw); padding: 0 20px; }
.panel h3 { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 32px; letter-spacing: -.015em; margin-top: 22px; }
.panel p { font-size: 17px; margin-top: 10px; max-width: 42ch; opacity: .9; }
.roll { height: min(300px, 34svh); display: flex; }
.roll img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius); }
.pair { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; gap: 5px; height: min(300px, 34svh); }
.made-bg { background: var(--paper); border-radius: var(--radius); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.made-bg img { height: 92%; width: auto; }
.pair > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; border-radius: var(--radius); }
.moved { height: min(300px, 34svh); background: #D7957D; border-radius: var(--radius); overflow: hidden; }
.moved { display: flex; justify-content: center; }
.moved img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* 7. Price */
.price { padding: clamp(110px, 13vw, 190px) var(--gut); }
.price-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.promise { margin-top: 32px; padding-left: 18px; border-left: 4px solid var(--pink); font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 100; letter-spacing: -.012em; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; max-width: 30ch; }
.incl-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.incl-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(69, 41, 26, .2); }
.incl-list b { font: 700 18px/1.3 var(--sans); }
.incl-list span { font-size: 17px; color: var(--mute); }
.amount { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: var(--t-big); line-height: .92; letter-spacing: -.035em; }
.abroad { font-size: var(--t-lead); margin-top: 22px; color: var(--mute); }

/* 8. Letter */
.letter { max-width: 640px; margin: 0 auto; padding: 40px var(--gut) clamp(100px, 11vw, 160px); }
.letter-photo { width: 100%; height: auto; border-radius: var(--radius); }
.letter h2 { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 32px; letter-spacing: -.015em; margin-top: 24px; }
.letter p { margin-top: 18px; font-size: 20px; line-height: 1.6; }
.letter .sign { font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 100; letter-spacing: -.012em; font-size: 28px; margin-top: 32px; }
.letter .role { font-size: var(--t-sm); color: var(--mute); margin-top: 2px; }

/* 9. Questions: filled rows, no lines */
.faq { max-width: 1180px; margin: 0 auto; padding: clamp(90px, 10vw, 150px) var(--gut) clamp(100px, 11vw, 160px); display: grid; grid-template-columns: 4fr 8fr; gap: 40px; }
.qs { display: grid; gap: 8px; }
.qs details { background: var(--paper-2); border-radius: var(--radius); padding: 0 22px; }
.qs summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: 24px; letter-spacing: -.015em; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font: 400 30px var(--sans); transition: transform .3s var(--ease); }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 0 22px; max-width: 60ch; }

/* 10. Start: her name in the headline, on her coat */
.start { background: var(--ink); color: var(--on-ink); padding: clamp(100px, 11vw, 170px) var(--gut); text-align: center; }
.start-h input {
  font: inherit; letter-spacing: inherit; color: var(--pink); background: transparent; border: 0; padding: 0;
  width: 6ch; text-align: center; border-bottom: .06em solid rgba(240, 227, 202, .55); caret-color: var(--on-ink);
}
.start-h input:focus { outline: none; border-bottom-color: var(--on-ink); }
.start-h input::placeholder { color: rgba(243, 233, 214, .42); opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: hidden spam trap, not a line */
.keep { margin-top: 10px; font-size: var(--t-sm); opacity: .85; }
.keep a, .legal a, .qs a { color: inherit; font-weight: 700; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.v-now { font-size: var(--t-sm); min-height: 1.4em; margin: -8px 0 0; opacity: .8; }
.v-row [aria-pressed="true"] { background: var(--pink); color: var(--ink); }
.price-go { margin-top: 36px; display: grid; justify-items: start; gap: 14px; }
.price-go p { font-size: var(--t-sm); color: var(--mute); }
.start-h input::selection { background: var(--on-ink); color: var(--ink); }
.start-sub { font-size: var(--t-lead); margin-top: 24px; }
.start-row { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 44px; }
.big-pill { height: 56px; padding: 0 30px; font-size: 18px; }
.contact { height: 56px; width: min(360px, 100%); padding: 0 22px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 18px var(--sans); }
.contact::placeholder { color: var(--mute); }
.start .check { margin-top: 22px; }
.check { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--pink); }
.fine { margin-top: 26px; font-size: var(--t-sm); opacity: .85; }
.fine.done { font-weight: 700; font-size: 17px; opacity: 1; }

/* Footer: the name at full width, her photo beside it */
.footer { position: relative; height: 92svh; min-height: 560px; overflow: hidden; background: var(--paper); }
.f-photo { position: absolute; top: 0; right: 0; bottom: 0; aspect-ratio: 9 / 16; }
.f-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.f-top { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 30px var(--gut); font-size: var(--t-sm); flex-wrap: wrap; max-width: calc(100% - 92svh * 9 / 16); }
.f-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.f-top a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.f-bottom { position: absolute; left: var(--gut); bottom: 26px; right: calc(92svh * 9 / 16 + var(--gut)); }
.f-mark { font-family: var(--serif); font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: min(17vw, 260px); line-height: .85; letter-spacing: -.05em; margin-left: -.04em; }
.f-line { font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 100; letter-spacing: -.012em; font-size: clamp(22px, 2vw, 28px); margin-top: 22px; max-width: 44ch; }
.legal { font-size: var(--t-sm); color: var(--mute); margin-top: 36px; }

/* Cookie, on the visitor's screen */
.pet { position: fixed; right: max(16px, 2.4vw); bottom: env(safe-area-inset-bottom, 0px); width: clamp(130px, 15vw, 230px); aspect-ratio: 1; z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s, width .6s var(--ease), right .6s var(--ease), bottom .6s var(--ease); }
.pet.stage { width: var(--stage-w, 380px); right: var(--stage-right, var(--gut)); bottom: calc(50vh - 200px); }
.pet.on.dim { opacity: .22; }
.over-pet, .over-pet * { cursor: pointer !important; }
.pet.on { opacity: 1; }
.pet.on.off, .pet.on.off.dim, .pet.on.off.moving { opacity: 0; }   /* off beats the ghost and the moving fade, phone rules included */
.pet.on.moving { opacity: .3; transition: opacity .15s; }
.pet canvas { width: 100%; height: 100%; }
.pet-cap { position: absolute; left: 50%; top: -8px; transform: translate(-50%, -100%); white-space: nowrap; background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.pet-cap.on { opacity: 1; transform: translate(-50%, calc(-100% - 4px)); }



/* ---------- Stamp: the top bar, the photo toggle and her speech are cream labels with an ink outline, like the ink-stamp reference ---------- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); }
.stamp { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.nav { inset: 14px 0 auto; margin: 0 auto; width: min(1080px, calc(100% - 2 * var(--gut))); height: 58px; border-radius: 999px; padding: 0 7px 0 22px; gap: 24px;
  opacity: 0; transform: translateY(-12px) scale(.98); transition: transform .32s var(--ease-out), opacity .22s ease; }
.nav.on { opacity: 1; transform: none; }
.nav nav { position: relative; gap: 4px; }
.nav nav a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; color: var(--ink); }
.nav-ind { position: absolute; left: 0; top: 50%; height: 36px; width: 80px; margin-top: -18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); opacity: 0; transition: transform .3s var(--ease-io), width .3s var(--ease-io), opacity .2s ease; pointer-events: none; }
.nav-ind.on { opacity: 1; }
.nav .pill { height: 44px; }
.mark { display: grid; } .mark .mark-img { grid-area: 1 / 1; }
.mark .mark-dark { display: none; }
.seg.cmp-seg.stamp { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.pet-cap.stamp { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* presses answer at once; hover colour only where there is a real pointer */
.pill { transition: background-color .2s ease, transform .16s var(--ease-out); }
.pill:active { transform: scale(.97); }
.link { display: inline-block; transition: transform .16s var(--ease-out), text-decoration-color .2s ease; }
.link:active { transform: scale(.97); }
.mo-list button:active b, .mo-list button:active span { transform: scale(.98); }

/* moments: the frame crossfades through a slight blur; the bar slides to the row; a line shows when it moves on */
.mo-stage video { opacity: 0; filter: blur(2px); transition: opacity .24s var(--ease-out), filter .24s var(--ease-out); }
.mo-stage video.on { opacity: 1; filter: none; }
.mo-list { position: relative; }
.mo-list button[aria-pressed="true"] { padding-left: 0; box-shadow: none; }
.mo-list button { transition: color .2s ease; position: relative; }
.mo-list button span, .mo-list button b { transition: transform .16s var(--ease-out); }
.mo-ind { position: absolute; left: -16px; top: 0; width: 4px; height: 44px; border-radius: 2px; background: var(--pink); transition: transform .3s var(--ease-io); pointer-events: none; }
.mo-list button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); transform-origin: left; transform: scaleX(0); animation: mo-progress var(--mo-dur, 4.2s) linear forwards; }
.mo-list.held button::after { display: none; }
@keyframes mo-progress { to { transform: scaleX(1); } }

/* questions open instead of snapping, where the browser can animate to auto */
:root { interpolate-size: allow-keywords; }
.qs details::details-content { block-size: 0; overflow: clip; transition: block-size .26s var(--ease-out), content-visibility .26s allow-discrete; }
.qs details[open]::details-content { block-size: auto; }
.qs summary::after { transition: transform .2s var(--ease-out); }


/* hover only where there is a real pointer: a tap on a phone must not leave a stuck hover */
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--blue-deep); }
  .pill.dark:hover { background: #2a1d14; }
  .pill.ghost:hover { background: #ddcfb2; }
  .link:hover { text-decoration-color: var(--ink); }
  .nav nav a:hover { color: var(--blue); }
  .brand-top nav a:hover { color: var(--blue); }
  .start .pill:hover { background: #fff; }
  .mo-list button:hover { color: var(--ink); }
  .f-top a:hover { color: var(--blue); }
}

/* Phone */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav { inset: 8px 0 auto; width: calc(100% - 16px); padding: 0 6px 0 16px; height: 54px; }
  .mo-ind { left: -10px; }
  .nav .pill { margin-left: auto; }
  .brand { min-height: 0; }
  .brand-top nav { display: none; }
  .brand h1 { top: 11vh; width: calc(100% - 2 * var(--gut)); }
  .logo-foot { width: 80vw; }
  .brand .sit { left: auto; right: -8vw; bottom: -16%; height: 54vh; }
  .brand .line { position: absolute; top: calc(11vh + 42vw); bottom: auto; left: var(--gut); right: var(--gut); width: auto; font-size: 22px; }
  .brand .line b { font-size: 16px; margin-top: 12px; }
  .brand .pill { left: var(--gut); right: auto; bottom: 5vh; height: 50px; }
  .big { font-size: 36px; }
  .turn h2 { font-size: 33px; }
  .how-track { padding-left: var(--gut); }
  .hero-copy h2 { font-size: 40px; }
  .qs summary { font-size: 20px; }
  .turn-sub, .ch-sub { font-size: 19px; }
  .tries { gap: 30px; }
  .tries li { grid-template-columns: 1fr; }
  .tries .try-row { grid-column: 1; grid-row: auto; align-items: flex-start; padding-top: 4px; }
  .pet { width: 150px; right: 2px; }
  .pet.on.moving { opacity: 1; }
  .pet.on.dim { opacity: .6; }
  .tries .do { font-size: 30px; }
  .compare { grid-template-columns: 1fr; }
  .mo-wrap { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "list"; row-gap: 28px; }
  .mo-stage { position: sticky; top: 64px; z-index: 2; width: 100%; justify-self: stretch; }
  /* once pinned, a paper band above it hides the list rows scrolling up behind the top bar; never before, or it covers the sub-line */
  .mo-stage.stuck { box-shadow: 0 -64px 0 var(--paper); }
  .mo-list button b { font-size: 16px; }
  /* on a phone the marker stays inside the column, so the pinned frame covers it with the rows; scrolling drives the list, so no timer line */
  .mo-ind { left: 0; }
  .mo-list button, .mo-list button[aria-pressed="true"] { padding-left: 14px; grid-template-columns: 1fr; gap: 2px; }
  .mo-list button b { text-align: left; }
  .mo-list button::after, .mo-list button[aria-pressed="true"]::after { display: none; }
  .price-wrap { grid-template-columns: 1fr; }
  .proof-line { font-size: 21px; }
  .faq { grid-template-columns: 1fr; gap: 10px; }
  .hero { height: 160vh; }
  .hero-copy { bottom: 12vh; }
  .pet-cap { left: auto; right: 0; transform: translateY(-100%); }
  .footer { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .f-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 70svh; order: 2; }
  .f-photo img { object-position: 50% 62%; }
  .f-top { max-width: none; order: 1; }
  .f-bottom { position: relative; left: auto; right: auto; bottom: auto; padding: 10px var(--gut) 34px; order: 3; }
  .f-mark { font-size: 27vw; }
  .tries .try-row { flex-wrap: wrap; }
  .pet-cap.on { transform: translateY(calc(-100% - 4px)); }
}

/* Motion on: "Look down" sits in the hero's screen, beside the shrunk video (app.js adds .hero-run) */
.hero-run .hero { height: 210vh; }
.hero-run .hero-stage { background: var(--paper); }
.hero-run .turn.in-stage { position: absolute; left: 54vw; right: var(--gut); top: 50%; transform: translateY(-50%); min-height: 0; display: block; padding: 0; text-align: left; }
.hero-run .turn.in-stage .big { font-size: clamp(40px, 4.4vw, 80px); }
.hero-run .turn.in-stage .turn-sub { margin-left: 0; }
@media (max-width: 860px) {
  .hero-run .hero { height: 190vh; }
  .hero-run .turn.in-stage { left: var(--gut); right: var(--gut); top: auto; bottom: 9vh; transform: none; }
  .hero-run .turn.in-stage .big { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero { height: auto; }
  .hero-stage { position: relative; }
}

/* All three of mine: sitting on one floor line, at their real relative sizes */
.sizes { background: var(--paper); }
.sizes-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.sizes-row { --tall: min(500px, 70vw); display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 4vw, 64px); max-width: 980px; margin: 0 auto; }
.sizes-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.sizes-row figure img { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.sizes-row img { display: block; height: calc(var(--tall) * var(--h)); width: auto; max-width: none; }
.sizes-row figcaption { order: 2; margin-top: 14px; font-weight: 600; font-size: 15px; }

@media (max-width: 860px) {
  .roll { height: auto; }
  .roll img { width: 100%; height: auto; }
}
.sizes-desk { display: block; width: 100%; max-width: 1180px; height: auto; margin: 0 auto; border-radius: var(--radius); }
