/* Salon G, "her vibe" layer (Nov 30 2026).
   Taken from Gisselle's own mood picture: cream, blush, sage, soft denim, gold, a little espresso.
   Handwritten notes, small gold hearts and paws. Light chapters, no dark bands, no arch frames. */

body.vibe {
  --cream: #f8f2ea; --cream-2: #f1e7da;
  --blush: #f8e3e2; --blush-2: #efc8cb; --rose: #c97f8a;
  --sage: #e4ece0; --sage-2: #c4d6c0; --leafy: #5f7d62;
  --denim: #e4ebf5; --denim-2: #b8c8df; --denim-3: #6d84ad;
  --champ: #f5ebda; --gold: #b8894a; --gold-2: #dcbd86;
  --espresso: #2a2320;
  /* brand tokens used by the shared salon styles */
  --ink: #2a2320; --ink-2: #3a312c; --muted: #6c625b; --paper: #f8f2ea; --stone: #efe6da; --line: #e2d6c7;
  --accent: #2f3d7c; --accent-ink: #fff;
  --teal: #2f3d7c; --teal-2: #4a5d9c; --teal-soft: #e4ebf5; --sea: #6d84ad;
  --navy: #2f3d7c; --navy-2: #26325f; --champagne: #b8894a; --champagne-2: #dcbd86;
  --hand: "Caveat", "Bradley Hand", cursive;
  --eio: cubic-bezier(.45, 0, .2, 1);
  background: var(--cream); color: var(--ink);
}
body.vibe .btn.accent:hover { background: #26325f; box-shadow: 0 6px 18px rgba(47, 61, 124, .25); }
body.vibe .btn.ghost { border-color: rgba(42, 35, 32, .22); }
body.vibe .btn.ghost:hover { background: #fff; }
body.vibe .nav { background: rgba(248, 242, 234, .92); border-bottom: 1px solid rgba(184, 137, 74, .18); }

/* handwritten touches */
.hand { font-family: var(--hand); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; color: var(--rose); margin: 0 0 6px; letter-spacing: .01em; }
.hrt { width: .8em; height: .8em; vertical-align: -.08em; fill: var(--rose); }
body.vibe h1, body.vibe h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; color: var(--espresso); }
body.vibe h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; margin: 4px 0 14px; }
body.vibe h1 em, body.vibe h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.v-head { max-width: 640px; margin: 0 0 34px; }
.v-head > p:last-child { color: var(--muted); font-size: 17px; margin: 0; }

/* clean frames: white mat, gold hairline, never an arch */
.v-frame { margin: 0; position: relative; background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(184, 137, 74, .45), 0 14px 34px rgba(74, 52, 30, .12); }
.v-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

/* ---------- 1. Hero ---------- */
.v-hero { position: relative; overflow: clip; background:
  radial-gradient(600px 420px at 88% 18%, rgba(239, 200, 203, .55), transparent 70%),
  radial-gradient(520px 380px at 70% 92%, rgba(196, 214, 192, .45), transparent 70%),
  radial-gradient(500px 360px at 8% 96%, rgba(184, 200, 223, .35), transparent 70%), var(--cream); }
.v-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; min-height: min(820px, calc(100svh - 76px)); padding: 56px 0 72px; }
.v-hero-copy h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: .98; margin: 6px 0 20px; }
.hello { font-size: clamp(30px, 3vw, 40px); }
.v-hero-copy .lede { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); max-width: 520px; margin: 0 0 26px; }
.v-chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips li { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(184, 137, 74, .4); color: var(--ink-2); }
/* word cycle: pure CSS time animation, no script */
.cyc { display: inline-grid; vertical-align: top; }
.cyc-w { grid-area: 1 / 1; white-space: nowrap; }
.cyc-w + .cyc-w { opacity: 0; }
.v-hero-art { position: relative; height: min(640px, 72vh); }
.v-hero-photo { position: absolute; inset: 0 0 8% 12%; }
.v-hero-photo img { object-position: 50% 45%; }
.v-hero-close { position: absolute; left: 0; bottom: 0; width: 38%; padding: 8px 8px 0; transform: rotate(-4deg); background: #fff; }
.v-hero-close img { aspect-ratio: 4 / 5; height: auto; }
.v-hero-close figcaption { font-size: 24px; text-align: center; padding: 6px 0 8px; margin: 0; color: var(--ink-2); }
.v-note { position: absolute; right: -6px; top: 6%; background: var(--blush); color: var(--espresso); font-size: 25px; padding: 8px 16px 8px 14px; border-radius: 4px; transform: rotate(4deg); box-shadow: 0 6px 16px rgba(74, 52, 30, .12); display: inline-flex; align-items: center; gap: 10px; }
/* a little cappuccino cup on a saucer */
.cup { position: relative; display: inline-block; width: 20px; height: 13px; margin: 0 8px 4px 0; border: 2px solid var(--espresso); border-radius: 2px 2px 10px 10px; background: linear-gradient(#e9d3b4 0 30%, #fff 30%); }
.cup::before { content: ""; position: absolute; right: -8px; top: 1px; width: 6px; height: 6px; border: 2px solid var(--espresso); border-radius: 50%; }
.cup::after { content: ""; position: absolute; left: -5px; bottom: -6px; width: 26px; height: 4px; border: 2px solid var(--espresso); border-radius: 50%; background: #fff; }
.doodle { position: absolute; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.d-spark { width: 44px; height: 44px; right: 30%; bottom: -8px; }
@media (max-width: 860px) {
  .v-hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 30px 0 56px; gap: 26px; }
  .v-hero-art { height: 116vw; max-height: 560px; }
  .v-hero-photo { inset: 0 0 12% 8%; }
  .v-hero-close { width: 44%; }
  .v-note { font-size: 21px; right: 0; top: -14px; }
}

/* ---------- 2. Stacked cards ---------- */
.v-how { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 22%, var(--blush) 100%); padding: 96px 0 12vh; }
.v-stack { display: grid; row-gap: 12vh; max-width: 1040px; margin: 0 auto; }
.v-card { position: sticky; top: calc(13vh + var(--i, 0) * 18px); transform-origin: 50% 0; will-change: transform; }
.v-card:nth-child(1) { --i: 0; } .v-card:nth-child(2) { --i: 1; } .v-card:nth-child(3) { --i: 2; }
.v-card-in { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; min-height: min(520px, 68vh); box-shadow: 0 10px 30px rgba(74, 52, 30, .10); will-change: transform; overflow: hidden; }
.c-blush .v-card-in { background: linear-gradient(140deg, #fff4f3, #f4d3d5); }
.c-sage .v-card-in { background: linear-gradient(140deg, #f4f8f1, #d3e2cf); }
.c-denim .v-card-in { background: linear-gradient(140deg, #f3f6fb, #cdd9ea); }
.sc-shade { position: absolute; inset: 0; background: #2a2320; opacity: 0; pointer-events: none; border-radius: inherit; z-index: 3; will-change: opacity; }
.v-card .v-frame { height: 100%; max-height: 460px; aspect-ratio: 1; justify-self: center; }
.v-card-body { padding: 8px 12px 8px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.v-num { font-family: var(--serif); font-size: 72px; line-height: .8; color: var(--gold); font-variant-numeric: lining-nums; }
.v-card-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.02; margin: 4px 0 0; }
.v-card-body p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 440px; }
.v-tag { font-size: 26px; margin-top: 4px; }
@media (max-width: 760px) {
  .v-how { padding: 72px 0 10vh; }
  .v-stack { row-gap: 8vh; }
  .v-card { top: calc(11vh + var(--i, 0) * 14px); }
  .v-card-in { grid-template-columns: 1fr; min-height: 0; padding: 14px 14px 22px; gap: 14px; }
  .v-card .v-frame { aspect-ratio: 16 / 10; width: 100%; height: auto; max-height: none; padding: 6px; }
  .v-card-body { padding: 0 6px; gap: 6px; }
  .v-num { font-size: 48px; }
  .v-card-body p { font-size: 15.5px; }
}

/* ---------- 3. About ---------- */
.v-about { background: linear-gradient(180deg, var(--blush) 0%, var(--sage) 16%, var(--sage) 100%); padding: 96px 0; }
.v-about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.v-about-pic { aspect-ratio: 4 / 5; transform: rotate(-1.5deg); }
.v-years { position: absolute; right: -14px; bottom: 26px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 8px 20px rgba(74, 52, 30, .14); text-align: center; }
.v-years b { display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.v-years span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.v-about p { color: var(--ink-2); }
body.vibe .cred { background: rgba(255, 255, 255, .8); border-color: rgba(95, 125, 98, .18); }
body.vibe .cred svg { background: var(--leafy); stroke: #fff; }
.sign { font-size: 36px; margin-top: 10px; }
@media (max-width: 860px) { .v-about { padding: 72px 0; } .v-about-grid { grid-template-columns: 1fr; } .v-about-pic { max-width: 400px; width: 100%; margin: 0 auto; } .v-years { right: 6px; } }

/* ---------- 4. My stack (signature, pinned) ---------- */
.v-books { position: relative; height: 360vh; background: linear-gradient(180deg, var(--sage) 0%, var(--champ) 14%, var(--champ) 86%, var(--denim) 100%); }
.v-books-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.v-books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; width: min(1160px, calc(100% - 48px)); }
.v-lines { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.v-lines li { font-size: 17px; color: var(--ink-2); opacity: .28; will-change: opacity, transform; }
.v-lines b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--espresso); margin-right: 4px; }
.v-pile { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0; height: min(560px, 70vh); }
.bk { width: min(440px, 88%); height: clamp(44px, 6.4vh, 60px); border-radius: 5px 7px 7px 5px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .07), 0 3px 8px rgba(74, 52, 30, .12); will-change: transform, opacity; }
.bk::before, .bk::after { content: ""; position: absolute; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: rgba(184, 137, 74, .55); }
.bk::before { left: 16px; } .bk::after { right: 16px; }
.bk span { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; font-size: clamp(16px, 1.6vw, 21px); }
.b-pink { background: #f2bfc6; color: #3a2a28; }
.b-cream { background: #f7efe3; color: #3a2a28; }
.b-sage { background: #b9d1bd; color: #26332a; }
.b-black { background: #2a2523; color: #f6eee3; }
#bk5 { width: min(400px, 80%); } #bk4 { width: min(420px, 84%); } #bk2 { width: min(430px, 86%); } #bk0 { width: min(460px, 92%); }
.v-coffee { position: relative; width: 92px; height: 64px; margin-bottom: 0; will-change: transform, opacity; }
.v-coffee::after { content: ""; position: absolute; left: 0; bottom: 0; width: 86px; height: 10px; border: 3px solid var(--espresso); border-radius: 50%; background: #fff; }
.v-coffee i { position: absolute; z-index: 1; left: 13px; bottom: 7px; width: 56px; height: 40px; border: 3px solid var(--espresso); border-top-width: 2px; border-radius: 4px 4px 26px 26px; background: #fff; }
.v-coffee i::before { content: ""; position: absolute; left: -3px; right: -3px; top: -9px; height: 12px; border: 2px solid var(--espresso); border-radius: 50%; background: #ead5b6; }
.v-coffee i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 16px; transform: translate(-50%, -40%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z' fill='%23c97f8a'/%3E%3C/svg%3E"); }
.v-coffee::before { content: ""; position: absolute; z-index: 0; left: 62px; bottom: 22px; width: 18px; height: 18px; border: 3px solid var(--espresso); border-radius: 50%; }
@media (max-width: 760px) {
  .v-books { height: 380vh; }
  .v-books-grid { grid-template-columns: 1fr; gap: 10px; width: calc(100% - 32px); }
  .v-books-copy h2 { font-size: 34px; margin-bottom: 6px; }
  .v-lines { margin-top: 6px; gap: 4px; }
  .v-lines li { font-size: 14px; }
  .v-lines b { font-size: 17px; }
  .v-pile { height: 38svh; }
  .bk { height: 4.6svh; min-height: 30px; }
  .bk span { font-size: 13px; }
  .v-coffee { transform-origin: 50% 100%; scale: .72; }
}

/* ---------- 5. Extensions ---------- */
.v-ext { background: linear-gradient(180deg, var(--denim) 0%, #eef2f9 100%); padding: 96px 0; }
.v-ext .ext-pic { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
.v-ext .ext-pic figcaption { left: 22px; right: 22px; bottom: 22px; }
.v-ext .ext-pic figcaption b { color: var(--gold); }
.v-ext h2 { color: var(--espresso); }
.v-ext p.lede { color: var(--ink-2); font-size: 17px; }
.v-ext .ext-fact { background: #fff; border: 1px solid rgba(109, 132, 173, .25); }
.v-ext .ext-fact b { color: var(--accent); }
.v-ext .ext-fact span { color: var(--muted); }
.v-ext li { color: var(--ink-2); }
.v-ext li::before { border-color: var(--rose); }
@media (max-width: 860px) { .v-ext { padding: 72px 0; } .v-ext .ext-pic { margin: 0 auto; } }

/* ---------- 6. Menu ---------- */
body.vibe .svc { background: radial-gradient(900px 420px at 90% 0%, rgba(239, 200, 203, .35), transparent 65%), linear-gradient(180deg, #eef2f9 0%, var(--champ) 18%, var(--cream-2) 100%); }
body.vibe .svc-ext { --tone: #2f3d7c; --tone-soft: #e4ebf5; }
body.vibe .svc-color { --tone: #b2606d; --tone-soft: #f8e3e2; }
body.vibe .svc-cuts { --tone: #5f7d62; --tone-soft: #e4ece0; }
body.vibe .svc-card { border-color: rgba(184, 137, 74, .25); }

/* ---------- 7. Gallery: horizontal pinned scene ---------- */
.v-work { position: relative; height: 300vh; background: linear-gradient(180deg, var(--cream-2) 0%, var(--blush) 10%, var(--blush) 92%, var(--sage) 100%); }
.v-work-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.v-work-ghost { position: absolute; left: 0; top: 50%; margin-top: -0.55em; font-family: var(--serif); font-style: italic; font-size: clamp(120px, 19vw, 300px); line-height: 1.1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 127, 138, .45); pointer-events: none; will-change: transform; }
.v-work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; position: relative; }
.v-work-head h2 { margin: 0; }
.v-count { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--espresso); display: flex; align-items: flex-start; line-height: 1; font-variant-numeric: lining-nums; }
.v-count-win { display: inline-block; height: 1em; overflow: hidden; }
.v-count-roll { display: flex; flex-direction: column; will-change: transform; }
.v-count-roll b { display: block; height: 1em; line-height: 1; font-weight: 500; color: var(--gold); }
.v-work-track.work-grid { display: flex; gap: 0; padding-left: max(24px, calc((100vw - 1160px) / 2)); position: relative; will-change: transform; grid-template-columns: none; }
.v-work-track .work-tile { flex: 0 0 auto; width: clamp(220px, 24vw, 330px); margin-right: 18px; background: #fff; padding: 7px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(184, 137, 74, .4), 0 8px 20px rgba(74, 52, 30, .10); }
.v-work-track .work-tile:nth-child(odd) { transform: rotate(-1.2deg); }
.v-work-track .work-tile:nth-child(even) { transform: rotate(1deg) translateY(14px); }
.v-work-track .work-tile img { border-radius: 2px; aspect-ratio: 4 / 5; height: auto; }
.v-work-foot { display: flex; align-items: center; gap: 16px; position: relative; }
.v-bar { flex: 1; height: 3px; background: rgba(42, 35, 32, .12); border-radius: 2px; overflow: hidden; max-width: 420px; }
.v-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.v-work-foot .hand { margin: 0; font-size: 24px; }
@media (max-width: 760px) {
  .v-work-stage { gap: 16px; }
  .v-work-track .work-tile { width: 62vw; margin-right: 14px; }
  .v-work-head { flex-direction: row; }
  .v-work-foot .hand { font-size: 20px; }
}

/* ---------- 8. Biscuit ---------- */
.v-biscuit { position: relative; overflow: clip; background: linear-gradient(180deg, var(--sage) 0%, #eef3ea 100%); padding: 110px 0 96px; }
.v-paws { position: absolute; left: 0; right: 0; top: 34px; pointer-events: none; }
.v-paws-row { display: flex; gap: 60px; padding-left: 6vw; will-change: transform; }
.v-paws-row i { width: 30px; height: 30px; opacity: .35; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23b8894a'%3E%3Cellipse cx='20' cy='27' rx='9' ry='7.5'/%3E%3Cellipse cx='9' cy='16' rx='4' ry='5'/%3E%3Cellipse cx='16' cy='9.5' rx='4' ry='5.2'/%3E%3Cellipse cx='24' cy='9.5' rx='4' ry='5.2'/%3E%3Cellipse cx='31' cy='16' rx='4' ry='5'/%3E%3C/svg%3E"); transform: rotate(90deg); }
.v-paws-row i:nth-child(even) { margin-top: 26px; }
.v-biscuit-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 6vw, 80px); align-items: center; position: relative; }
.v-biscuit-card { background: #fff; border-radius: 22px; padding: 42px 40px 38px; box-shadow: 0 0 0 1px rgba(184, 137, 74, .35), 0 16px 40px rgba(74, 52, 30, .10); transform: rotate(-2deg); text-align: left; }
.v-biscuit-name { font-family: var(--hand); font-weight: 700; font-size: clamp(76px, 8vw, 112px); line-height: .9; color: var(--espresso); display: inline-flex; align-items: flex-start; gap: 6px; }
.v-biscuit-name .paw { width: 40px; height: 40px; fill: var(--gold); margin-top: 6px; }
.v-biscuit-rule { display: block; height: 3px; width: 70%; margin: 10px 0 18px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), rgba(184, 137, 74, 0)); transform: rotate(-1.5deg); }
.v-biscuit-line { font-family: var(--hand); font-weight: 600; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; margin: 0; color: var(--ink-2); }
.v-biscuit p { color: var(--ink-2); }
@media (max-width: 860px) { .v-biscuit { padding: 90px 0 72px; } .v-biscuit-grid { grid-template-columns: 1fr; } .v-biscuit-card { max-width: 400px; } .v-paws-row { gap: 40px; } }

/* ---------- 9. Client page ---------- */
.v-clients { background: linear-gradient(180deg, #eef3ea 0%, var(--denim) 22%, var(--denim) 100%); padding: 96px 0; }
body.vibe .perk { background: #fff; border: 1px solid rgba(109, 132, 173, .2); color: var(--ink); box-shadow: 0 8px 22px rgba(47, 61, 124, .06); }
body.vibe .perk h3 { color: var(--espresso); }
body.vibe .perk p { color: var(--muted); }
body.vibe .perk svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blush); fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }

/* ---------- 10. Visit + footer ---------- */
body.vibe .v-visit { background: radial-gradient(700px 360px at 50% 0%, rgba(239, 200, 203, .4), transparent 70%), linear-gradient(180deg, var(--denim) 0%, var(--cream) 30%); }
body.vibe .v-visit h2 em { color: var(--gold); }
body.vibe .visit-card svg { background: var(--blush); stroke: var(--rose); }
body.vibe .socials a { background: var(--accent); }
body.vibe .footer { background: #4a5c92; color: rgba(255, 255, 255, .88); }
body.vibe .footer a { color: #fff; }

/* inner pages share the look */
body.vibe .page-head, body.vibe .app-head { background: radial-gradient(600px 300px at 85% 0%, rgba(239, 200, 203, .6), transparent 70%), linear-gradient(180deg, var(--blush), var(--cream)); color: var(--espresso); }
body.vibe .page-head h1, body.vibe .app-head h1 { color: var(--espresso); }
body.vibe .page-head h1 em { color: var(--gold); }
body.vibe .page-head p, body.vibe .app-head p { color: var(--ink-2); }
body.vibe .page-head .eyebrow { color: var(--rose); }

/* ---------- reveals: CSS view-timeline where supported (no script touches the page while scrolling) ---------- */
.rv { opacity: 1; }
html.sda .rv { animation: vRv linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; animation-timing-function: var(--eio); }
@keyframes vRv { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
html.js-io .rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .8s var(--eio), transform .8s var(--eio); }
html.js-io .rv.in { opacity: 1; transform: none; }

/* word cycle (time based, eased in and out) */
html.motion .cyc-w { opacity: 0; animation: vCyc 10.4s var(--eio) infinite both; }
html.motion .cyc-w:nth-child(2) { animation-delay: 2.6s; }
html.motion .cyc-w:nth-child(3) { animation-delay: 5.2s; }
html.motion .cyc-w:nth-child(4) { animation-delay: 7.8s; }
html.motion .cyc-w:nth-child(1) { animation-name: vCyc1; }
@keyframes vCyc { 0% { opacity: 0; transform: translate3d(0, .32em, 0); } 1% { opacity: 0; transform: translate3d(0, .32em, 0); } 6% { opacity: 1; transform: none; } 20% { opacity: 1; transform: none; } 25% { opacity: 0; transform: translate3d(0, -.32em, 0); } 100% { opacity: 0; transform: translate3d(0, -.32em, 0); } }
@keyframes vCyc1 { 0% { opacity: 1; transform: none; } 20% { opacity: 1; transform: none; } 25% { opacity: 0; transform: translate3d(0, -.32em, 0); } 26% { opacity: 0; transform: translate3d(0, .32em, 0); } 95% { opacity: 0; transform: translate3d(0, .32em, 0); } 100% { opacity: 1; transform: none; } }

/* hero entrance on load (time based) */
html.motion .v-hero-photo { animation: vIn 1.2s var(--eio) .05s both; }
html.motion .v-hero-close { animation: vInTilt 1.2s var(--eio) .35s both; }
html.motion .v-note { animation: vInNote 1s var(--eio) .7s both; }
@keyframes vIn { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes vInTilt { from { opacity: 0; transform: translate3d(0, 30px, 0) rotate(-8deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes vInNote { from { opacity: 0; transform: translate3d(0, -14px, 0) rotate(10deg); } to { opacity: 1; transform: rotate(4deg); } }

/* still layout: reduced motion or no engine */
html.still .v-books, html.still .v-work { height: auto; }
html.still .v-books-stage, html.still .v-work-stage { position: relative; height: auto; padding: 90px 0; }
html.still .v-lines li { opacity: 1; }
html.still .v-work-track.work-grid { overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
html.still .v-work-track .work-tile { scroll-snap-align: start; }
html.still .v-card { position: relative; top: auto; }
html.still .v-stack { row-gap: 28px; }
html.still .v-count { display: none; }
html.still .v-bar { display: none; }
.v-work-in { display: flex; flex-direction: column; justify-content: center; gap: 22px; height: 100%; will-change: transform; }
@media (max-width: 760px) { .v-work-in { gap: 16px; } }
#booksIn { will-change: transform; }
.v-hero-photo picture { display: block; height: 100%; overflow: hidden; border-radius: 2px; }
.v-hero-photo picture img { transform: scale(1.08); will-change: transform; }
html.still .v-work-in { height: auto; }
.v-count { white-space: nowrap; }
@media (max-width: 760px) {
  .v-work-head h2 { font-size: 34px; }
  .v-count { font-size: 24px; }
}

/* Biscuit's photo card */
.v-biscuit-card { padding: 16px 16px 30px; }
.v-biscuit-pic { aspect-ratio: 9 / 10; margin: 0 0 18px; }
.v-biscuit-pic img { object-position: 45% 35%; }
.v-biscuit-card .v-biscuit-name, .v-biscuit-card .v-biscuit-rule, .v-biscuit-card .v-biscuit-line { margin-left: 18px; }
.v-biscuit-name { font-size: clamp(64px, 6.4vw, 92px); }
.v-biscuit-line { font-size: clamp(28px, 2.6vw, 36px); }
@media (max-width: 860px) { .v-biscuit-card { max-width: 360px; } }
/* extensions: the Great Lengths station overlaps the before and after */
.v-ext .ext-pic { overflow: visible; }
.ext-tools { position: absolute; right: -34px; top: -26px; width: 38%; aspect-ratio: 4 / 5; padding: 6px; transform: rotate(5deg); z-index: 2; }
/* Biscuit's corner: Gisselle and Biscuit at the door */
.v-door { width: min(300px, 70%); aspect-ratio: 4 / 5; margin: 22px 0 0; transform: rotate(2deg); padding: 7px 7px 0; }
.v-door img { height: calc(100% - 38px); }
.v-door figcaption { text-align: center; font-size: 24px; padding: 4px 0 6px; color: var(--ink-2); }
@media (max-width: 860px) { .ext-tools { right: -6px; top: -20px; width: 36%; } .v-door { margin-left: auto; margin-right: auto; } }
