/* Clean clouds up top, then white and petal-pink pages with hot pink and plum, and one section
   (the skills bag) dressed in black lace and pink polka dots.
   Layout: the opening screen holds the headline and a keycap keyboard that jumps anywhere; About comes
   second; the work is one compact grid so nothing hides behind a long scroll.
   Loaded after site.css and re-points its tokens, so project pages share the palette. */
:root {
  --accent: #D02670;
  --accent-hi: #EC4C8C;
  --rose: #FF94C2;
  --pink: #FFC3DC;
  --blush: #FFE7F2;
  --blush-2: #FBD5E7;
  --petal: #FFF7FB;
  --lace: #17100F;
  --ink: #2A1530;
  --ink-2: #6A4C70;
  --pink-wash: #FFE3EE;   /* the skills bag's pink, with hot-pink dots */
  --hot-pink: #E8478C;

  --cloud: #FFFFFF; --cream: var(--petal); --sky: var(--blush); --mist: var(--blush);
  --slate: var(--ink); --slate-2: var(--ink-2); --slate-3: #B08FB5;
  --line: rgba(42, 21, 48, .12); --line-2: rgba(42, 21, 48, .07);
  --shadow: 0 26px 60px -26px rgba(120, 16, 70, .3), 0 2px 6px rgba(42, 21, 48, .06);
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;   /* clean and modern: one font for the whole site */
  --wordmark: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --lace-trim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='%2317100F'%3E%3Cpath fill-rule='evenodd' d='M0 0H52V7C52 22 26 22 26 7C26 22 0 22 0 7ZM10 12.5a3 3 0 1 0 6 0a3 3 0 1 0-6 0Z M36 12.5a3 3 0 1 0 6 0a3 3 0 1 0-6 0ZM5.5 3.5a1.2 1.2 0 1 0 2.4 0a1.2 1.2 0 1 0-2.4 0Z M18.3 3.5a1.2 1.2 0 1 0 2.4 0a1.2 1.2 0 1 0-2.4 0ZM31.3 3.5a1.2 1.2 0 1 0 2.4 0a1.2 1.2 0 1 0-2.4 0Z M44.1 3.5a1.2 1.2 0 1 0 2.4 0a1.2 1.2 0 1 0-2.4 0ZM5 10.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Z M19 10.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Z M31 10.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Z M45 10.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0Z'/%3E%3Ccircle cx='13' cy='19.4' r='1.8'/%3E%3Ccircle cx='39' cy='19.4' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}
body { background: #fff; color: var(--ink); }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

/* ---------- shared pieces ---------- */
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #AE1C5C; border-color: #AE1C5C; }
.btn-ghost { background: #fff; border-color: rgba(208, 38, 112, .35); color: var(--accent); }
.btn-ghost:hover { background: var(--blush); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.lace { height: 26px; background: var(--lace-trim) repeat-x 0 0 / 52px 26px; }
.lace.up { transform: scaleY(-1); }
.tag { border-color: rgba(208, 38, 112, .25); background: #fff; color: var(--accent); font-weight: 800; }
.tag-real { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-spec, .tag-class { background: var(--blush); }
.rh-head { display: grid; gap: 12px; padding-block: clamp(56px, 7vw, 92px) clamp(26px, 3.4vw, 44px); }
.rh-kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rh-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6.4vw, 92px); line-height: .95; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.rh-head h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.rh-head p { max-width: 38em; font-size: 18px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; background: var(--blush); color: var(--accent); }
.chip-real { background: var(--accent); color: #fff; }
.rh-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-2); }

/* ---------- header: clean over the clouds ---------- */
.header.solid { background: rgba(255, 255, 255, .86); border-bottom-color: rgba(208, 38, 112, .12); }
.wordmark { color: var(--ink); }
.page-home .header:not(.solid) .wordmark { opacity: 1; visibility: visible; }
.page-home .header:not(.solid) .nav-links a:hover { background: rgba(255, 255, 255, .6); }

/* ---------- opening screen: clean clouds, headline, keyboard ---------- */
.rh-hero { --lift-text: 0 1px 1px rgba(255, 255, 255, .55), 0 0 14px rgba(255, 255, 255, .95), 0 0 28px rgba(255, 255, 255, .7); position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #EAF2FA; color: var(--ink); }
.rh-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.rh-veil { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .68) 40%, rgba(255, 247, 251, .22) 72%, rgba(255, 247, 251, .06) 100%),
              linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .85) 100%); }
.rh-hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 4vw, 64px);
  padding-block: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 36px) clamp(56px, 9vh, 104px); }
/* the copy column: greeting, headline, role line, then the rotating results */
.rh-copy { --burgundy: #8C1C34; display: grid; justify-items: start; min-width: 0; }
.rh-hello { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.rh-h1 { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6.2vw, 96px); line-height: .98; letter-spacing: -.012em; font-variation-settings: "opsz" 96; color: var(--ink); }
.rh-h1 .l { display: block; white-space: nowrap; }
.rh-h1 em { font-style: italic; font-weight: 500; color: #9A6252; }
/* glass lettering for the typed word and the result numbers: champagne rose-gold glass with a white shine across
   the top, a fine bronze edge and a warm glow, matching the keys' rose-gold trim and glass state */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rh-h1 em { padding-right: .08em; color: transparent; -webkit-text-stroke: 1px rgba(122, 71, 57, .6); filter: drop-shadow(0 4px 10px rgba(185, 122, 102, .32));
    background: linear-gradient(160deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .95) 30%, rgba(233, 185, 163, .9) 31%, rgba(185, 122, 102, .95) 70%, rgba(241, 211, 196, .96) 100%);
    -webkit-background-clip: text; background-clip: text; }
  .wins .win-stat b { padding-right: .04em; color: transparent; text-shadow: none; -webkit-text-stroke: .6px rgba(122, 71, 57, .6); filter: drop-shadow(0 3px 6px rgba(185, 122, 102, .32));
    background: linear-gradient(180deg, #F3CDBB 0%, #C98A74 48%, #8E5444 100%); -webkit-background-clip: text; background-clip: text; }
}
/* the last word types itself (rosy.js), with a blinking burgundy caret */
.caret { display: inline-block; position: relative; width: 0; height: 0; }
.caret::after { content: ""; position: absolute; left: .05em; bottom: -.06em; width: .045em; height: .8em; background: #B97A66; }
@media (prefers-reduced-motion: no-preference) { .caret::after { animation: blink 1.05s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.rh-role { margin-bottom: clamp(14px, 1.6vw, 20px); font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-shadow: var(--lift-text); }
.rh-role .nw { white-space: nowrap; }
@media (max-width: 520px) { .rh-role { letter-spacing: .1em; font-size: 11px; } }
.ink-host { position: relative; }
.ink-top { position: absolute; inset: 0; pointer-events: none; opacity: 0; color: transparent;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 .045em, transparent .06em) 0 0 / .18em .18em, var(--hot-pink);
  -webkit-background-clip: text; background-clip: text; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ink-top em { color: transparent; }
.ink-on .ink-top { opacity: 1; }

/* the rotating results: editorial type, no box. Every result sits in the same grid cell, so the area keeps the
   height of the tallest one and nothing below it moves. rosy.js swaps .is-on every 4.5s (fade and rise, 400ms),
   pauses while it's hovered or focused, and builds the dots. */
.wins { margin-top: clamp(28px, 3.4vw, 44px); max-width: 100%; }
.wins-stage { display: grid; }
.wins-stage > .win { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s; }
.wins-stage > .win.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .18s, transform .45s cubic-bezier(.22, 1, .36, 1) .18s, visibility 0s; }   /* the old result clears before the new one rises */
.wins-stage > .win.was-on { transform: translateY(-6px); }
.win-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5em; color: var(--ink); text-shadow: var(--lift-text); }
.win-stat b { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -.01em; color: var(--burgundy); font-variation-settings: "opsz" 72; }
.win-stat > span { font-family: var(--body); font-weight: 600; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.3; }
.win-cat { margin-top: 7px; font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--ink-2); text-shadow: var(--lift-text); }
.wins-stage { cursor: pointer; }
.wins { position: relative; }
.wins-toggle { position: absolute; left: 0; top: 100%; margin-top: 8px; padding: 6px 12px; border: 1px solid var(--burgundy); border-radius: 999px; background: #fff; color: var(--burgundy); font: 700 12px/1 var(--body); cursor: pointer;
  clip-path: inset(50%); opacity: 0; pointer-events: none; }
.wins-toggle:focus-visible { clip-path: none; opacity: 1; pointer-events: auto; outline: 2px solid var(--burgundy); outline-offset: 2px; }   /* shows only for keyboard users */
@media (prefers-reduced-motion: reduce) {
  .wins-stage > .win, .wins-stage > .win.is-on { transform: none; transition: opacity .15s ease, visibility 0s; }
  .wins-stage > .win.was-on { transform: none; }
}

/* the keyboard: espresso, blush and burgundy keycaps on rose-gold bases, and every key goes somewhere.
   Under the pointer, keyboard focus or a tap, rosy.js adds .is-lit to that one key: it lifts 5px as its shadow
   spreads, a rosy-red light glows from behind and below it onto the page, glints catch its top corners, a little
   warmth spreads in from the corners under the type, the polished rim lights up and the star twinkles once. The letter and label never change.
   A small tooltip names where the key goes. As the mouse moves, a faint red reflection slides across nearby keys.
   A click presses the key 3px before it navigates. */
.keys { display: grid; justify-self: end; justify-items: start; gap: 14px; min-width: 0; }
.keys-note { display: flex; align-items: center; gap: 12px; height: 1.6em; max-width: 100%; overflow: hidden; white-space: nowrap; font-family: var(--body); font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy, #8C1C34); text-shadow: var(--lift-text); }
.keys-note::after { content: ""; flex: none; width: 44px; height: 1px; background: currentColor; opacity: .45; }   /* the label's hover preview swaps the words only */
.krow { display: flex; gap: 12px; }
.krow-2 { margin-left: 46px; }
.key {
  --s: 84px; --lift: 0px; --press: 0px;
  --rg2: #D9A38D; --rg3: #BC836F; --rg4: #9A6252; --rg5: #7A4739;        /* rose gold, light to dark */
  position: relative; display: block; flex: none; width: var(--s); height: var(--s); margin-bottom: 8px; border-radius: 15px; text-decoration: none;
  transform: translateY(calc(var(--lift) + var(--press))); transition: transform .3s cubic-bezier(.22, .8, .3, 1); -webkit-tap-highlight-color: transparent; }
.key-enter { width: calc(var(--s) * 1.55); }
.cap {
  --tint: rgba(62, 36, 42, .5); --ink: #F3D6D1; --ink-2: #EBCFCA; --rule: rgba(243, 214, 209, .5);
  --rim: 0 0 0 1.5px var(--rg2), 0 2px 0 1.5px var(--rg3), 0 4px 0 1.5px var(--rg3), 0 6px 0 1.5px var(--rg4), 0 8px 0 1.5px var(--rg5);
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 9px 10px; border-radius: inherit; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(150% 120% at 105% -5%, transparent 50%, rgba(255, 190, 205, .3) 55%, rgba(255, 234, 196, .24) 58%, rgba(214, 228, 255, .16) 61%, transparent 66%),
    linear-gradient(125deg, rgba(255, 255, 255, .4) 0%, rgba(255, 214, 231, .16) 32%, rgba(226, 208, 255, .12) 55%, rgba(255, 233, 214, .18) 78%, rgba(255, 255, 255, .3) 100%),
    var(--tint);
  box-shadow: inset 0 1px 0 rgba(255, 240, 230, .45), inset 0 0 0 1px rgba(241, 201, 180, .5), var(--rim), 0 16px 22px -8px rgba(70, 25, 32, .45);
  transition: box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease, text-shadow .3s ease; }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--finish); transition: opacity .3s ease; }
.key--espresso .cap { --finish:
    radial-gradient(1px 1px at 18% 64%, rgba(255, 226, 214, .75), transparent), radial-gradient(1px 1px at 72% 20%, rgba(255, 226, 214, .6), transparent),
    radial-gradient(1.2px 1.2px at 46% 42%, rgba(255, 226, 214, .45), transparent), radial-gradient(1px 1px at 88% 56%, rgba(255, 226, 214, .55), transparent),
    url("../media/keys/cloud-espresso.png") 100% 100% / 92% auto no-repeat,
    radial-gradient(120% 90% at 25% 0%, rgba(255, 255, 255, .13), transparent 60%),
    linear-gradient(160deg, #3C2C2A 0%, #251A18 55%, #1A1211 100%); }
.key--blush .cap { --tint: rgba(255, 236, 240, .4); --ink: #7A1426; --ink-2: #6E1A2A; --rule: rgba(122, 20, 38, .38); --finish:
    url("../media/keys/cloud-blush.png") 100% 100% / 92% auto no-repeat,
    radial-gradient(120% 90% at 25% 0%, rgba(255, 255, 255, .6), transparent 60%),
    linear-gradient(160deg, #FBEDEC 0%, #F2D4D4 60%, #EAC3C5 100%); }
.key--burgundy .cap { --tint: rgba(140, 24, 50, .52); --ink: #FBE8E4; --ink-2: #F6DAD6; --rule: rgba(251, 232, 228, .5); --finish:
    url("../media/keys/cloud-burgundy.png") 100% 100% / 92% auto no-repeat,
    radial-gradient(120% 90% at 25% 0%, rgba(255, 255, 255, .15), transparent 60%),
    linear-gradient(160deg, #96223C 0%, #6B1022 55%, #520A18 100%); }
.cap > b, .cap > .orn, .cap > small { position: relative; z-index: 1; }
.cap > b { font-family: var(--display); font-weight: 500; font-size: calc(var(--s) * .44); line-height: .92; }
.enter-glyph svg { display: block; width: calc(var(--s) * .34); height: auto; margin-top: 4px; }
.orn { display: flex; align-items: center; gap: 3px; width: 70%; margin: auto 0 5px; }
.orn i { flex: 1; height: 1px; background: var(--rule); }
.orn .star { flex: none; width: 7px; height: 7px; fill: var(--ink); }
.cap > small { font-family: var(--body); font-size: 7.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; line-height: 1.3; color: var(--ink-2); }
.key-enter .orn { width: 40%; }
.lily { position: absolute; right: -4px; bottom: -6px; z-index: 0; width: 64%; height: auto; pointer-events: none; }

/* the lit state: no layer covers the key's face. A rosy-red light glows from behind the key and spills onto the page,
   starburst glints catch the top corners, and a little warmth spreads in from the corners under the type. */
@property --la { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --gr { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.key { --la: 0; --lx: 50%; --ly: 50%; --gr: 0%;
  transition: transform .3s cubic-bezier(.22, .8, .3, 1), --la .35s ease, --gr .35s ease; }
.key--espresso .cap { --warm: rgba(255, 120, 140, .26); }
.key--burgundy .cap { --warm: rgba(255, 130, 150, .3); }
.key--blush .cap { --warm: rgba(226, 80, 110, .16); }
/* the red reflection that travels across neighboring keys rides on each key's finish, under its type */
.cap::before { background: radial-gradient(150px circle at var(--lx) var(--ly), rgba(214, 40, 84, calc(var(--la) * .55)), rgba(214, 40, 84, 0) 70%), var(--finish); }
/* warmth from the four corners (the .warm layer is added by rosy.js) */
.cap > .warm { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, var(--warm) 0%, transparent var(--gr)),
    radial-gradient(circle at 100% 0%, var(--warm) 0%, transparent var(--gr)),
    radial-gradient(circle at 0% 100%, var(--warm) 0%, transparent var(--gr)),
    radial-gradient(circle at 100% 100%, var(--warm) 0%, transparent var(--gr)); }
/* the rosy-red light behind the key: it spills out around and below the key onto the page */
.key::after { content: ""; position: absolute; inset: -26px -24px -34px; z-index: -1; border-radius: 40px; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 66%, rgba(255, 52, 84, .78), rgba(255, 52, 84, 0) 74%),
    radial-gradient(circle at 18% 22%, rgba(255, 150, 160, .55), rgba(255, 150, 160, 0) 26%),
    radial-gradient(circle at 82% 22%, rgba(255, 150, 160, .55), rgba(255, 150, 160, 0) 26%);
  filter: blur(14px); transition: opacity .45s ease; }
/* starburst glints that catch the top corners (added by rosy.js) */
.key > .glint { position: absolute; z-index: 4; width: 20px; height: 20px; pointer-events: none; opacity: 0; transform: scale(.3);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  background: radial-gradient(circle, #fff 0 22%, #FFE6DA 40%, rgba(255, 214, 196, .9) 70%); filter: drop-shadow(0 0 4px rgba(255, 210, 200, .9)); }
.key > .g1 { left: -8px; top: -9px; }
.key > .g2 { right: -8px; top: -9px; }
.key.is-lit > .glint { animation: glint 1.1s .15s ease-out both; }
.key.is-lit > .g2 { animation-delay: .32s; }
@keyframes glint { 0% { opacity: 0; transform: scale(.3) rotate(0); } 35% { opacity: 1; transform: scale(1.15) rotate(20deg); } 100% { opacity: .85; transform: scale(.8) rotate(45deg); } }
.key.is-lit { --lift: -5px; --gr: 30%; z-index: 5; transition-duration: .4s, .35s, .6s; }
.key.is-lit::after { opacity: 1; }
.key.is-lit .cap {
  --rim: 0 0 0 1.5px #F0B8A2, 0 2px 0 1.5px #D9957E, 0 4px 0 1.5px #C9806C, 0 6px 0 1.5px #B06A5A, 0 8px 0 1.5px #8E5244;   /* the polished rim catches the light */
  box-shadow: inset 0 1.5px 0 rgba(255, 240, 232, .95), inset 0 0 0 1px rgba(255, 196, 182, .9), inset 0 -8px 16px -10px rgba(255, 90, 110, .5),
    var(--rim), 0 0 26px rgba(255, 60, 92, .5), 0 16px 38px -6px rgba(255, 52, 84, .55);
  transition-duration: .45s; }
.key.is-lit .star { animation: twinkle .7s .35s ease-out both; }
@keyframes twinkle { 0% { transform: scale(1) rotate(0); } 45% { transform: scale(1.7) rotate(45deg); filter: drop-shadow(0 0 3px rgba(255, 228, 220, .95)); } 100% { transform: scale(1) rotate(90deg); } }
.key.pressed { --press: 3px; transition-duration: .1s, .35s, .35s; }
.key.pressed .cap { box-shadow: inset 0 1px 0 rgba(255, 240, 232, .8), inset 0 0 0 1px rgba(255, 196, 182, .9), var(--rim), 0 0 16px rgba(255, 64, 96, .38), 0 8px 18px -6px rgba(255, 58, 88, .4); transition-duration: .1s; }
.key:focus-visible { outline: 2px solid #8C1C34; outline-offset: 5px; }
/* the tooltip above the key */
.key::before { content: attr(data-tip); position: absolute; z-index: 6; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px); opacity: 0; pointer-events: none;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 252, 250, .96); border: 1px solid #E2B49F; box-shadow: 0 8px 18px -10px rgba(70, 25, 32, .45);
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: #6B1022; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; }
.krow > .key:first-child::before { left: 0; transform: translate(0, 4px); }
.krow > .key:last-child::before { left: auto; right: 0; transform: translate(0, 4px); }
.key.is-lit::before { opacity: 1; transform: translate(-50%, 0); transition-delay: .12s; }
.krow > .key.is-lit:first-child::before, .krow > .key.is-lit:last-child::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .key, .key.is-lit, .key.pressed { --lift: 0px; --press: 0px; transition: none; }
  .key.is-lit .star, .key.is-lit > .glint { animation: none; }
  .key.is-lit > .glint { opacity: .85; transform: none; }
  .key::after, .cap { transition-duration: .15s; }
}

@media (prefers-reduced-motion: no-preference) {
  .rh-js .key { animation: keyin .5s var(--ease) backwards; animation-delay: calc(.35s + var(--i) * 55ms); }
  .rh-js .rh-copy > * { animation: rise .9s var(--ease) both; }
  .rh-js .rh-copy > :nth-child(2) { animation-delay: .1s; }
  .rh-js .rh-copy > :nth-child(3) { animation-delay: .22s; }
  .rh-js .rh-copy > :nth-child(4) { animation-delay: .32s; }
  .rh-js .keys-note { animation: rise .9s var(--ease) .3s both; }
  .rh-js .rh-sky { animation: skyin 1.2s ease both; }
}
@keyframes keyin { from { opacity: 0; transform: translateY(-14px); } 60% { transform: translateY(2px); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes skyin { from { opacity: 0; } }
@media (max-width: 1100px) { .key { --s: 76px; } .krow-2 { margin-left: 40px; } .cap > small { font-size: 7px; letter-spacing: .1em; } }
@media (max-width: 960px) {
  .rh-hero-in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .keys { justify-self: start; justify-items: start; }
}
@media (max-width: 520px) {
  .key { --s: 57px; border-radius: 12px; margin-bottom: 6px; }
  .cap { padding: 6px 6px; --rim: 0 0 0 1.2px var(--rg2), 0 2px 0 1.2px var(--rg3), 0 4px 0 1.2px var(--rg4), 0 6px 0 1.2px var(--rg5); }
  .orn { display: none; }
  .cap > small { margin-top: auto; font-size: 6px; letter-spacing: .04em; line-height: 1.2; }
  .enter-glyph svg { margin-top: 2px; }
  .krow { gap: 7px; } .krow-2 { margin-left: 26px; }
  .keys-note { font-size: 16px; }
}
@media (max-width: 370px) { .key { --s: 52px; } .krow { gap: 6px; } .krow-2 { margin-left: 22px; } }

/* ---------- here's the tea: the badge on a satin ribbon ---------- */
.rh-about { position: relative; background: linear-gradient(180deg, #fff 0%, var(--petal) 100%); padding-bottom: clamp(64px, 8vw, 110px); }
.rh-about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(56px, 7vw, 96px); }
.epigraph { position: relative; max-width: 30em; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 26px; }
.epigraph::before { content: "\201C"; position: absolute; left: -6px; top: -.18em; font-family: var(--display); font-style: italic; font-size: 64px; line-height: 1; color: #8C1C34; }
.epigraph blockquote { margin: 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.32; color: var(--ink); text-wrap: balance; }
.epigraph figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.epigraph figcaption::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.rh-about h2 { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 7vw, 104px); line-height: .92; letter-spacing: -.01em; color: var(--ink); }
.rh-about h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.rh-about .kicker { margin-top: 14px; font-size: 19px; font-weight: 800; color: var(--accent); }
.rh-about .bio { display: grid; gap: 15px; margin-top: 20px; max-width: 40em; font-size: 17px; color: var(--ink-2); }
.rh-about .bio .lead { font-family: var(--display); font-size: clamp(21px, 2vw, 27px); line-height: 1.32; color: var(--ink); }
.rh-about .proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0; }
.rh-about .proof li { min-width: 0; padding: 14px 14px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.rh-about .proof b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--accent); }
.rh-about .proof span { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 420px) { .rh-about .proof { gap: 8px; } .rh-about .proof li { padding: 12px 10px; } .rh-about .proof span { font-size: 12.5px; } }
.rh-about .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.rh-about .text-link { color: var(--accent); }
.badge-stage { position: relative; min-height: 640px; perspective: 1400px; }
.strap { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.strap .band { fill: none; stroke: var(--accent-hi); stroke-width: 24; }
.strap .sheen { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 5; transform: translateX(-6px); }
.strap-text { font: 800 9px var(--body); letter-spacing: 2.4px; fill: var(--petal); dominant-baseline: middle; }
.badge { position: absolute; left: 0; top: 0; width: 16.5em; height: 23em; font-size: 16px; transform-style: preserve-3d; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.badge.grabbing { cursor: grabbing; }
.badge:focus { outline: none; }
.badge:focus-visible .face { box-shadow: 0 0 0 4px var(--pink), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 1.1em; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.front { gap: .55em; padding: 1.7em 1.1em 1em; background: var(--petal); color: var(--ink); }
.back { transform: rotateY(180deg); align-items: center; justify-content: center; gap: .75em; padding: 1.7em 1.2em 1.2em; text-align: center; color: #fff; background-color: var(--accent);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .14) 0 .15em, transparent .19em); background-size: 1.3em 1.3em; }
.slot { position: absolute; top: .65em; left: 50%; width: 3em; height: .45em; margin-left: -1.5em; border-radius: 1em; background: rgba(42, 21, 48, .18); }
.back .slot { background: rgba(0, 0, 0, .28); }
.clip { position: absolute; left: 50%; top: -1.95em; width: 1.3em; height: 2.5em; margin-left: -.65em; }
.clip .ring { position: absolute; left: 0; top: 0; width: 1.3em; height: 1.3em; border-radius: 50%; border: .24em solid #D8CBCF; box-sizing: border-box; }
.clip .hook { position: absolute; left: .3em; top: 1em; width: .7em; height: 1.5em; border-radius: .3em; background: linear-gradient(90deg, #B5A3A9, #F1E9EB, #B5A3A9); }
.b-top { display: flex; justify-content: space-between; font-size: .62em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.b-photo { position: relative; flex: 1; display: grid; place-items: center; border-radius: .8em; overflow: hidden; background-color: var(--blush);
  background-image: radial-gradient(circle, rgba(208, 38, 112, .22) 0 .16em, transparent .2em); background-size: 1.1em 1.1em; }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.mono { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 5.2em; line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.b-lace { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--lace-trim) repeat-x 0 0 / 28px 14px; transform: scaleY(-1); }
.b-name { font-family: var(--display); font-weight: 700; font-size: 1.55em; line-height: 1.05; }
.b-role { font-size: .6em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.b-foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; font-size: .58em; font-weight: 700; color: var(--ink-2); }
.barcode { width: 4.6em; height: 1.6em; background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 3px, var(--ink) 3px 3.6px, transparent 3.6px 5.4px); }
.b-scan { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.5em; line-height: 1.1; }
.b-qr { display: block; width: 9.6em; border-radius: .6em; overflow: hidden; border: .35em solid #fff; background: #fff; }
.b-qr svg { display: block; width: 100%; height: auto; }
.b-link { font-size: .62em; font-weight: 800; color: #fff; text-underline-offset: 3px; word-break: break-all; }
.b-hint { font-size: .6em; font-weight: 700; opacity: .8; }
.badge-hint { position: absolute; top: 330px; left: calc(50% + 9.5em); font-family: var(--display); font-style: italic; font-size: 22px; color: var(--accent); transform: rotate(-8deg); white-space: nowrap; pointer-events: none; transition: opacity .6s; }
.badge-hint.used { opacity: 0; }
.rh-about-text { min-width: 0; }
@media (max-width: 880px) {
  .rh-about-in { grid-template-columns: minmax(0, 1fr); }
  .badge-stage { min-height: 450px; }
  .badge { font-size: 13px; }
  .badge-hint { top: 240px; font-size: 19px; left: calc(50% + 8.6em); }
}
@media (max-width: 480px) { .badge-hint { left: auto; right: 0; top: 370px; } }

/* ---------- selected work: one compact grid ---------- */
.rh-work { background: #fff; padding-bottom: clamp(64px, 8vw, 110px); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "mode imt" "mode tate" "roi openla" "plan plan"; gap: 18px; }
#mode { grid-area: mode; } #imt { grid-area: imt; } #tate { grid-area: tate; } #roi { grid-area: roi; } #openla { grid-area: openla; } #plan { grid-area: plan; }
.bx { position: relative; display: grid; min-width: 0; overflow: hidden; border-radius: 24px; background: var(--petal); border: 1px solid rgba(208, 38, 112, .1); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.bx-sm { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.bx-mode { grid-template-rows: auto 1fr; background: var(--blush); }
.bx-media { position: relative; min-height: 230px; overflow: hidden; background: var(--blush); }
.bx-text { display: grid; align-content: center; gap: 12px; min-width: 0; padding: clamp(20px, 2.4vw, 30px); background: #fff; }
.bx h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.1; text-wrap: balance; }
.bx-mode h3 { font-size: clamp(26px, 2.4vw, 34px); }
.stat-line { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.stat-line b { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--accent); margin-right: 4px; }
.rh-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-stats div { flex: 1 1 120px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--petal); border: 1px solid var(--line); }
.rh-stats b { display: block; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--accent); }
.rh-stats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.rh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.rh-actions .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; white-space: normal; text-align: left; }
.rh-actions .text-link { color: var(--accent); }
.sticker { position: absolute; z-index: 2; top: 14px; left: 14px; display: grid; place-items: center; width: 88px; height: 88px; padding: 10px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 4px solid #fff; box-shadow: 0 12px 22px -10px rgba(42, 21, 48, .55);
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 16px; line-height: 1.05; text-align: center; transform: rotate(var(--r, -10deg)); }
.sticker.pink { background: var(--pink); color: var(--ink); }
@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mode" "imt" "tate" "roi" "openla" "plan"; }
}
@media (max-width: 560px) {
  .bx-sm { grid-template-columns: minmax(0, 1fr); }
  .bx-sm .bx-media { min-height: 190px; }
  .sticker { width: 74px; height: 74px; font-size: 13.5px; top: 10px; left: 10px; }
  .rh-stats div { flex-basis: 90px; padding: 10px 11px; }
  .rh-stats b { font-size: 23px; }
}
.m-phones { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 18px); padding: 34px 20px; }
.phone { position: relative; flex: 0 1 31%; max-width: 172px; aspect-ratio: 9 / 18.5; border-radius: 26px; border: 7px solid var(--lace); background: var(--lace); overflow: hidden; box-shadow: 0 26px 40px -18px rgba(42, 21, 48, .5); }
.phone::before { content: ""; position: absolute; z-index: 1; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 9px; border-radius: 9px; background: var(--lace); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .reel { position: absolute; left: 8px; bottom: 9px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; background: rgba(23, 16, 15, .62); color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.phone .reel::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }   /* a drawn play triangle, so it never turns into an emoji */
a.reel { text-decoration: none; transition: background-color .2s ease; }
a.reel .ig-out { width: 9px; height: 9px; margin-left: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .reel-stage > .phone[data-pos="0"] a.reel:hover { background: var(--accent); } }
a.reel:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the Reels carousel: every phone sits in the same grid cell and slides to its place (data-pos, set by rosy.js) */
.reel-stage { display: grid; place-items: center; width: 100%; touch-action: pan-y; }
.reel-stage > .phone { grid-area: 1 / 1; flex: none; width: 35%; max-width: 196px; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none;
  --o: 0; --y: 0px; --s: .8;
  transform: translateX(calc(var(--o) * (94% + clamp(10px, 2vw, 18px)))) translateY(var(--y)) scale(var(--s));
  transition: transform .6s cubic-bezier(.22, .8, .24, 1), opacity .45s ease; }
.reel-stage > .phone[data-pos="0"] { --y: -14px; --s: 1; z-index: 3; opacity: 1; visibility: visible; pointer-events: auto; }
.reel-stage > .phone[data-pos="-1"], .reel-stage > .phone[data-pos="1"] { --s: .88; z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; cursor: pointer; }
.reel-stage > .phone[data-pos="-1"] { --o: -1; }
.reel-stage > .phone[data-pos="1"] { --o: 1; }
.reel-stage > .phone[data-pos="-2"] { --o: -2; z-index: 1; visibility: visible; }
.reel-stage > .phone[data-pos="2"] { --o: 2; z-index: 1; visibility: visible; }
.reel-stage > .phone[data-pos="far-r"] { --o: 3; transition: none; }   /* waiting off to the side; jumps (unseen) when it wraps round */
.reel-stage > .phone[data-pos="far-l"] { --o: -3; transition: none; }
.reel-arrow { position: absolute; z-index: 4; top: 50%; display: none; place-items: center; width: 42px; height: 42px; margin-top: -21px; padding: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid rgba(42, 21, 48, .1); box-shadow: 0 10px 22px -10px rgba(42, 21, 48, .55);
  transition: transform .2s ease, background-color .2s ease, color .2s ease, opacity .3s ease, visibility .3s; }
.reel-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .reel-arrow:hover { background: var(--accent); color: #fff; transform: scale(1.06); } }   /* no hover colour left stuck after a tap */
.reel-arrow:active { transform: scale(.95); }
.reel-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reel-next { right: 12px; }
.reel-prev { left: 12px; opacity: 0; visibility: hidden; }
.m-phones.is-live .reel-arrow { display: grid; }
.m-phones.has-moved .reel-prev { opacity: 1; visibility: visible; }   /* the back arrow shows up once you've moved */
.m-phones .sticker { z-index: 5; }   /* the 7K sticker stays on top of the phones */
@media (max-width: 560px) {
  .reel-arrow { width: 36px; height: 36px; margin-top: -18px; } .reel-arrow svg { width: 18px; height: 18px; }
  .reel-next { right: 6px; } .reel-prev { left: 6px; }
  .phone .reel { left: 6px; bottom: 7px; gap: 4px; padding: 2px 7px 2px 6px; font-size: 9.5px; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
  .phone .reel::before { flex: none; border-left-width: 6px; border-top-width: 4px; border-bottom-width: 4px; }
  .reel-stage > .phone { width: 44%; }   /* a bigger middle phone on small screens, with the neighbours peeking in from the edges */
  .reel-stage > .phone .reel { transition: opacity .3s ease; }
  .reel-stage > .phone:not([data-pos="0"]) .reel { opacity: 0; }   /* on a phone screen only the middle Reel wears its label */
}
@media (prefers-reduced-motion: reduce) { .reel-stage > .phone, .reel-arrow { transition: none; } }
.m-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.m-browser { padding: clamp(22px, 3vw, 36px); display: grid; align-items: center; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -24px rgba(42, 21, 48, .45); border: 1px solid var(--line); }
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--petal); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--blush-2); }
.browser img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.m-cover { display: grid; place-items: center; padding: 30px; text-align: center; }
.cover-card { display: grid; justify-items: center; gap: 14px; width: min(320px, 100%); padding: 30px 26px 28px; border-radius: 22px; background: #fff; box-shadow: 0 30px 50px -26px rgba(42, 21, 48, .45); border: 1px solid var(--line); }
.cover-card .k { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.cover-card svg { width: 52%; height: auto; }
.cover-card .stars { color: var(--accent); letter-spacing: .18em; font-size: 18px; }
.cover-card .t { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 30px; line-height: 1.05; color: var(--ink); }
.cover-card ul { display: grid; gap: 8px; text-align: left; font-weight: 700; }
.cover-card li { display: flex; align-items: center; gap: 10px; }
.cover-card li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }


.m-phones { padding: 30px 18px 24px; }
.m-cover { display: grid; place-items: center; padding: 22px; }
.m-cover .cover-card { width: min(240px, 100%); padding: 20px 18px; gap: 10px; }
.m-cover .cover-card svg { width: 46%; }
.m-cover .cover-card .t { font-size: 23px; }
.m-browser { display: grid; align-items: center; padding: 20px; }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- marketing experience ---------- */
.rh-exp { position: relative; background: var(--petal); padding-bottom: clamp(72px, 9vw, 120px); }
.exp-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.exp { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.exp .fl { display: block; width: min(116px, 100%); }
.exp .fl svg { display: block; width: 100%; height: auto; transform-origin: 50% 100%; }
.exp .bloom { transform-box: fill-box; transform-origin: center; }
.exp .when { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.exp h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.12; text-wrap: balance; }
.exp .co { font-weight: 800; font-size: 14.5px; }
.exp .win { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .exp .bloom { transition: transform .9s var(--ease); }
  .exp:hover .bloom { transform: rotate(40deg) scale(1.06); }
  .exp:hover .fl svg { animation: sway 1.5s ease-in-out infinite alternate; }
}
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (max-width: 980px) { .exp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 600px) {
  .exp-list { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .exp { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; align-items: start; column-gap: 16px; row-gap: 4px; text-align: left; }
  .exp .fl { grid-row: 1 / span 4; width: 72px; }
}


/* ---------- what's in my bag: the one lace and polka-dot section ---------- */
.rh-bag { position: relative; padding-bottom: clamp(80px, 9vw, 120px); background-color: var(--pink-wash);
  background-image: radial-gradient(circle, rgba(232, 71, 140, .28) 0 2.6px, transparent 3.1px), radial-gradient(circle, rgba(232, 71, 140, .28) 0 2.6px, transparent 3.1px);
  background-size: 34px 34px; background-position: 0 0, 17px 17px; }
.rh-bag > .lace.bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.bag-stage { position: relative; height: 700px; max-width: 1100px; margin: 0 auto; }
.bag-tote { position: absolute; left: 50%; bottom: 10px; width: 270px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateX(-50%); border-radius: 30px; }
.bag-tote svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 22px rgba(120, 16, 70, .3)); }
.bag-item { position: absolute; z-index: 1; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: 8px; padding: 6px; border: 0; border-radius: 16px; background: none; color: inherit; cursor: pointer;
  transform: translate(-50%, -50%) rotate(var(--r)); }
.bag-item .art { display: block; width: var(--w); transition: transform .3s var(--ease); }
.bag-item .art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 12px rgba(42, 21, 48, .22)); }
.bag-item:hover .art, .bag-item[aria-pressed="true"] .art { transform: translateY(-6px) scale(1.07); }
.bag-item .tag { padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(208, 38, 112, .22); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.bag-item[aria-pressed="true"] .tag { background: var(--accent); border-color: var(--accent); color: #fff; }
.bag-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.receipt { position: absolute; z-index: 0; left: 50%; top: 214px; width: min(340px, 36%); padding: 18px 20px 22px; background: #fff; color: var(--ink); transform: translateX(-50%) rotate(-1.5deg);
  box-shadow: 0 22px 34px -20px rgba(42, 21, 48, .45); font-size: 15px; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: #fff;
  -webkit-mask: conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 14px 100%; mask: conic-gradient(from 135deg at top, #000 90deg, #0000 0) 0 0 / 14px 100%; }
.r-k { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.r-t { margin-top: 10px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; }
.r-b { display: grid; gap: 10px; margin-top: 8px; line-height: 1.55; color: var(--ink-2); }
.r-link { font-weight: 800; color: var(--accent); text-underline-offset: 3px; justify-self: start; }
.r-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.r-apps li { padding: 4px 10px; border-radius: 8px; background: var(--blush); color: var(--ink); font-size: 13px; font-weight: 700; }
.r-bar { display: block; height: 22px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .bag-item { transition: left .9s cubic-bezier(.34, 1.4, .64, 1) calc(var(--i) * 60ms), top .9s cubic-bezier(.34, 1.4, .64, 1) calc(var(--i) * 60ms), transform .9s cubic-bezier(.34, 1.4, .64, 1) calc(var(--i) * 60ms), opacity .5s ease calc(var(--i) * 60ms); }
  .bag-item .float { display: block; animation: bob 3.4s ease-in-out calc(var(--i) * -.45s) infinite alternate; }
  .rh-bag.tucked .bag-item { left: 50%; top: 534px; opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  .rh-bag.tucked .bag-item .float { animation: none; }
  .receipt.pop { animation: pop .4s var(--ease); }
}
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
@keyframes pop { from { transform: translateX(-50%) rotate(-1.5deg) scale(.96); } }
@media (max-width: 760px) {
  .bag-stage { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; align-items: end; }
  .bag-tote { position: static; grid-column: 1 / -1; justify-self: center; width: 210px; transform: none; }
  .receipt { position: relative; left: auto; top: auto; grid-column: 1 / -1; width: auto; transform: rotate(-1deg); margin-bottom: 14px; }
  .bag-item { position: relative; left: auto; top: auto; order: 2; transform: rotate(calc(var(--r) * .5)); }
  .bag-item .art { width: calc(var(--w) * .72); }
  .rh-bag.tucked .bag-item { left: auto; top: auto; transform: translateY(-30px) scale(.6); }
  @keyframes pop { from { transform: rotate(-1deg) scale(.96); } }
}

/* ---------- let's talk ---------- */
.rh-contact { background: var(--accent); color: #fff; padding-block: clamp(72px, 9vw, 120px); }
.rh-contact-in { display: grid; gap: 22px; justify-items: start; }
.rh-contact h2 { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 10vw, 140px); line-height: .9; letter-spacing: -.015em; }
.rh-contact h2 em { font-style: italic; font-weight: 500; }
.rh-contact p { max-width: 34em; font-size: 19px; color: rgba(255, 255, 255, .9); }
.rh-email { font-size: clamp(20px, 2.6vw, 32px); font-weight: 800; color: #fff; word-break: break-all; user-select: all; }
.rh-contact .row { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-contact .btn-primary { background: #fff; border-color: #fff; color: var(--accent); }
.rh-contact .btn-primary:hover { background: var(--blush); border-color: var(--blush); }
.rh-contact .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.rh-contact .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.rh-contact .status { color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--petal); border-top: 0; }
.footer .wordmark { color: var(--petal); }
.footer small { color: rgba(255, 247, 251, .7); }

/* ---------- project pages ---------- */
.page-case .case-hero { background: linear-gradient(180deg, var(--blush) 0%, var(--petal) 100%); }
.page-case .case-hero h1 { font-weight: 600; color: var(--ink); }
.page-case .eyebrow-title { margin-top: 14px; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.page-case .crumb { color: var(--accent); }
.page-case .case-hero-media { border: 6px solid #fff; }
.case-sec h2 { font-weight: 600; color: var(--accent); }
.num { background: #fff; }
.num b { color: var(--accent); font-weight: 700; }
.snap-wrap { padding-top: clamp(28px, 4vw, 44px); }
.snap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.snap div { min-width: 0; padding: 18px 20px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(42, 21, 48, .04); }
.snap dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.snap dd { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.snap dd b { display: block; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; color: var(--accent); margin-bottom: 4px; }
@media (max-width: 760px) { .snap { grid-template-columns: minmax(0, 1fr); } }
/* case pages: the role line under the headline, and "The thinking" (audience, goal, what I did, how I measured) */
.case-meta { margin-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.case-meta .dot { color: var(--accent); }
.think { display: grid; border-top: 1px solid var(--line); }
.think > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.think dt { padding-top: 3px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.think dd { margin: 0; max-width: 62ch; font-size: 16.5px; line-height: 1.55; }
.think ul.bullets { gap: 8px; }
.case-sec .nums .num b { color: var(--accent); }
@media (max-width: 760px) { .think > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.rtile figcaption a { color: inherit; text-decoration: none; }
.rtile figcaption a span[aria-hidden] { color: var(--accent); }
@media (hover: hover) { .rtile figcaption a:hover { color: var(--accent); } }
.case-end { background: var(--accent); color: #fff; border-top: 0; }
.case-end .btn-primary { background: #fff; border-color: #fff; color: var(--accent); }
.case-end .text-link { color: #fff; }

/* ---------- résumé page ---------- */
.page-resume main { background: var(--petal); }
.cv { max-width: 860px; margin: 0 auto; padding-block: calc(var(--header-h) + 40px) 80px; }
.cv-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 2px solid var(--accent); }
.cv h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 7vw, 76px); line-height: .95; }
.cv .meta { margin-top: 8px; color: var(--ink-2); font-weight: 600; }
.cv .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cv section { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px 28px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.cv h2 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.cv .item + .item { margin-top: 20px; }
.cv h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.cv .when { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-top: 2px; }
.cv ul { display: grid; gap: 7px; margin-top: 10px; }
.cv li { position: relative; padding-left: 18px; color: var(--ink-2); }
.cv li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cv p { color: var(--ink-2); }
.cv .status { margin-top: 10px; }
@media (max-width: 640px) { .cv section { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .bx { transition: transform .8s var(--ease), opacity .8s var(--ease); }
  .bx.pre { transform: translateY(36px); opacity: .35; }
}
.rh-about { overflow: hidden; }
.bow { position: absolute; z-index: 3; width: 60px; height: 44px; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(42, 21, 48, .2)); }
.badge-hint { top: 520px; left: 50%; transform: translateX(-50%) rotate(-6deg); }
@media (max-width: 880px) { .badge-hint { top: 392px; left: 50%; right: auto; } }
@media (max-width: 480px) { .badge-hint { top: 392px; left: 50%; right: auto; } }
.bx-sm .sticker { width: 70px; height: 70px; font-size: 13px; padding: 8px; top: 10px; left: auto; right: 10px; }

/* ---------- the Reels on the MöDE project page: phones that play while on screen ---------- */
.reel-note { margin: -4px 0 20px; color: var(--ink-2); }
.reel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 16px; }
.rtile { position: relative; margin: 0; min-width: 0; }   /* keeps the hidden "opens on Instagram" text inside the scrolling row */
.rphone { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid var(--lace); background: var(--lace); overflow: hidden; box-shadow: 0 22px 36px -20px rgba(42, 21, 48, .5); }
.rphone video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.rsound { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 16, 15, .62); color: #fff; cursor: pointer; }
.rsound svg { width: 18px; height: 18px; }
.rsound .on, .rsound[aria-pressed="true"] .off { display: none; }
.rsound[aria-pressed="true"] .on { display: block; }
.rsound[aria-pressed="true"] { background: var(--accent); }
.rtile figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
@media (max-width: 960px) { .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .reel-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .rtile { flex: 0 0 56%; scroll-snap-align: start; }
}


/* ---------- Clean and modern type (Oct 27): Manrope everywhere, bold and tight for headlines and numbers.
   Manrope has no italic, so the former italic display touches stand upright and lean on color instead. ---------- */
.rh-head h2, .rh-h1, .rh-about h2, .rh-contact h2, .cv h1, .case-hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.rh-hello { font-style: normal; font-weight: 700; letter-spacing: -.03em; }
.rh-h1 em, .rh-about h2 em, .rh-head h2 em, .rh-contact h2 em { font-style: normal; font-weight: 800; }
.bx h3, .exp h3, .cv h3, .r-t, .case-sec h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.win-stat b, .rh-about .proof b, .rh-stats b, .stat-line b, .num b, .snap dd b { font-weight: 800; letter-spacing: -.03em; }
.cap > b { font-weight: 700; letter-spacing: -.02em; }
.rh-about .bio .lead { font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.epigraph blockquote { font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.epigraph::before { font-style: normal; font-weight: 800; }
.sticker, .cover-card .t, .mono, .b-scan, .badge-hint { font-style: normal; font-weight: 800; letter-spacing: -.02em; }
.wordmark span { font-weight: 800; letter-spacing: .2em; margin-right: -.2em; }

/* ---------- the MöDE emails page (emails.html) ---------- */
.dash-proof { margin: 6px 0 0; display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.dash-proof img { width: min(852px, 100%); height: auto; border-radius: 8px; border: 1px solid var(--line-2); }
.mail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mail-card { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(42, 21, 48, .04); }
.mail-thumb { position: relative; display: block; width: 100%; height: 330px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; cursor: zoom-in; }
.mail-thumb img { width: 100%; height: auto; }
.mail-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.mail-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.mail-body { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; }
.mail-meta { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.mail-body h3 { font-size: 16.5px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.mail-pre { font-size: 14px; color: var(--ink-2); }
.mail-why { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.mail-fine { margin-top: 18px; max-width: 70ch; }
.mail-view { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(42, 21, 48, .35); }
.mail-view::backdrop { background: rgba(42, 21, 48, .55); }
.mv-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.mv-head h3 { font-size: 16px; font-weight: 800; line-height: 1.35; }
.mv-head p { font-size: 13.5px; color: var(--ink-2); }
.mv-head .btn { flex: none; min-height: 44px; }
.mv-body { overflow: auto; max-height: calc(100vh - 120px); background: var(--petal); }
.mv-body img { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto; }
@media (max-width: 1000px) { .mail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mail-grid { grid-template-columns: minmax(0, 1fr); } .mail-thumb { height: 300px; } }
.case-end h2 { font-weight: 800; letter-spacing: -.025em; }

/* ---------- the MöDE 30-day plan (plan.html): four Reel types, each with its own color ---------- */
.p-seen { --pc: #D02670; --pw: #FFE3EE; }
.p-talk { --pc: #8C1C34; --pw: #F9E1E6; }
.p-follow { --pc: #5B3A63; --pw: #EFE4F2; }
.p-tour { --pc: #9A5A46; --pw: #F7E6DE; }
.tag-plan { background: #fff; border: 1.5px solid var(--accent); color: var(--accent); }
.plan-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.diary { margin: 0; display: grid; justify-items: center; gap: 10px; }
.diary figcaption { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; }
.diary-phone { position: relative; width: min(270px, 100%); aspect-ratio: 9 / 18.5; border-radius: 34px; border: 9px solid var(--lace); background: var(--lace); overflow: hidden; box-shadow: 0 30px 50px -22px rgba(42, 21, 48, .55); }
.diary-phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diary-phone::before { content: ""; position: absolute; z-index: 2; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 11px; border-radius: 11px; background: var(--lace); }
.diary-top { position: absolute; z-index: 1; left: 12px; right: 12px; top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.diary-top small { color: var(--accent); font-size: 11px; }
.diary-card { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 56px; display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgba(23, 16, 15, .7); color: #fff; font-size: 12.5px; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.diary-card .dc-title { font-size: 14px; font-weight: 800; color: #FFC3DC; }
.diary-card b { color: #FFC3DC; }
.diary-cta { position: absolute; z-index: 1; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar { min-width: 0; display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--pc); }
.pj { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pc); }
.pillar h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.pillar > p:not(.pj):not(.pm) { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.hooks { display: grid; gap: 6px; margin: 2px 0; }
.hooks li { padding: 8px 12px; border-radius: 12px; background: var(--pw); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.pm { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.pm b { margin-right: 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.cal-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.cal { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.cal th, .cal td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cal tbody tr:last-child th, .cal tbody tr:last-child td { border-bottom: 0; }
.cal thead th { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--petal); white-space: nowrap; }
.cal tbody th { width: 92px; font-weight: 800; color: var(--ink); }
.cal tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cal td { font-weight: 600; line-height: 1.4; color: var(--ink); }
.cal td b { display: block; margin-bottom: 3px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cal td:nth-child(2) { box-shadow: inset 3px 0 0 #D02670; } .cal td:nth-child(3) { box-shadow: inset 3px 0 0 #8C1C34; }
.cal td:nth-child(4) { box-shadow: inset 3px 0 0 #5B3A63; } .cal td:nth-child(5) { box-shadow: inset 3px 0 0 #9A5A46; }
.dot-k { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--pc); vertical-align: 1px; }
@media (max-width: 900px) { .plan-hero { grid-template-columns: minmax(0, 1fr); } .diary { justify-items: start; } }
@media (max-width: 700px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* the plan card in Selected work: a mini Apartment Diaries phone beside the four Reel types */
.bx-plan { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.m-plan { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 34px); padding: 26px 20px; background: var(--blush); }
.mini-diary { position: relative; flex: none; width: 136px; aspect-ratio: 9 / 18.5; border-radius: 20px; border: 6px solid var(--lace); background: var(--lace); overflow: hidden; box-shadow: 0 22px 36px -18px rgba(42, 21, 48, .5); }
.mini-diary img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.md-top { position: absolute; left: 7px; right: 7px; top: 16px; padding: 4px 7px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 8.5px; font-weight: 800; text-align: center; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-card { position: absolute; left: 7px; right: 7px; bottom: 12px; display: grid; gap: 2px; padding: 7px 8px; border-radius: 10px; background: rgba(23, 16, 15, .72); color: #fff; font-size: 8.5px; font-weight: 700; line-height: 1.3; }
.md-card b { color: #FFC3DC; font-size: 9px; }
.md-card i { font-style: normal; color: #FFC3DC; }
.mini-pillars { display: grid; gap: 8px; }
.mini-pillars li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--pc); font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .bx-plan { grid-template-columns: minmax(0, 1fr); } .mini-diary { width: 118px; } .mini-pillars li { font-size: 12.5px; padding: 7px 11px; } }

/* ---------- one color per project, so the work reads as six different things (Oct 27) ----------
   --pj: the project's color (chips, numbers, buttons) · --pj-bg: its pale ground · --pj-soft: borders and tints.
   Set on each home card by id and on each project page through body[data-project] (set by case.js). */
#mode, body[data-project="mode-hillcrest"], .page-emails { --pj: #D02670; --pj-dark: #AE1C5C; --pj-bg: #FFE7F2; --pj-soft: #F8C6DC; }
#imt, body[data-project="imt-reviews"] { --pj: #4C7A2A; --pj-dark: #3B6120; --pj-bg: #E7F0DA; --pj-soft: #C9DEB0; }
#tate { --pj: #2B2729; --pj-dark: #000; --pj-bg: #ECEAEC; --pj-soft: #D3D0D3; }
#roi, body[data-project="roi-simulator"] { --pj: #6A3D9E; --pj-dark: #552F82; --pj-bg: #EFE6F8; --pj-soft: #D9C8EE; }
#openla, body[data-project="open-la"] { --pj: #8A5A00; --pj-dark: #6E4800; --pj-bg: #FCF0CB; --pj-soft: #F0DB9C; }
#plan, .page-plan { --pj: #B14E2B; --pj-dark: #923E20; --pj-bg: #FCE5D8; --pj-soft: #F2C6B0; }

/* home cards */
.bento .bx { border-color: var(--pj-soft); }
.bento .bx-media, .bento .bx-mode { background: var(--pj-bg); }
.bento .bx .chip { background: var(--pj); color: #fff; }
.bento .bx .stat-line b, .bento .bx .rh-stats b { color: var(--pj); }
.bento .bx .rh-stats div { background: var(--pj-bg); border-color: var(--pj-soft); }
.bento .bx .rh-actions .btn-primary { background: var(--pj); border-color: var(--pj); }
.bento .bx .rh-actions .btn-primary:hover { background: var(--pj-dark); border-color: var(--pj-dark); }
.bento .bx .sticker { background: var(--pj); color: #fff; }
.bento .bx .cover-card { border-color: var(--pj-soft); }
.bento .bx .cover-card .stars { color: var(--pj); }
.bento .bx .cover-card li::before { background-color: var(--pj); }
.bento .bx .cover-card .k { color: var(--pj); }

/* project pages take their project's color */
body[data-project] .case-hero, .page-plan .case-hero, .page-emails .case-hero { background: linear-gradient(180deg, var(--pj-bg) 0%, #fff 100%); }
body[data-project] .case-hero .tag, .page-emails .case-hero .tag { background: var(--pj); border-color: var(--pj); color: #fff; }
.page-plan .case-hero .tag-plan { background: #fff; border-color: var(--pj); color: var(--pj); }
body[data-project] .eyebrow-title, .page-plan .eyebrow-title, .page-emails .eyebrow-title,
body[data-project] .case-sec h2, .page-plan .case-sec h2, .page-emails .case-sec h2,
body[data-project] .think dt, .page-plan .think dt, .page-emails .think dt,
body[data-project] .case-sec .nums .num b, .page-plan .case-sec .nums .num b, .page-emails .case-sec .nums .num b,
body[data-project] .crumb, .page-plan .crumb, .page-emails .crumb { color: var(--pj); }
body[data-project] .num, .page-plan .num, .page-emails .num { border-color: var(--pj-soft); }
body[data-project] .case-body .btn-primary, body[data-project] .case-hero .btn-primary { background: var(--pj); border-color: var(--pj); }
body[data-project] .case-body .btn-primary:hover, body[data-project] .case-hero .btn-primary:hover { background: var(--pj-dark); border-color: var(--pj-dark); }
.bento .bx .text-link { color: var(--pj); }
.keys-note { transition: opacity .25s ease; } .keys:has(.key.is-lit) .keys-note { opacity: 0; }   /* the tooltip takes the label's place while a key is lit */
.bag-tote img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 20px rgba(120, 16, 70, .28)); }   /* Bre's own bag drawing */
.key.is-lit .cap::before { background: var(--finish); }   /* the hovered key glows gold only; the red reflection plays on its neighbors */

/* ---------- the bag opens and the apps and certifications spill out (Oct 27) ---------- */
.bag-item .tag { font-size: 11.5px; padding: 3px 10px; }
.bag-item.bag-app .art svg { filter: drop-shadow(0 10px 10px rgba(42, 21, 48, .24)); }
.bag-tote .mouth { position: absolute; z-index: 2; left: 50%; top: 36%; width: 74%; height: 26%; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.3);
  background: radial-gradient(closest-side, rgba(255, 244, 222, .98), rgba(255, 196, 150, .7) 45%, rgba(255, 120, 150, 0)); filter: blur(5px); }
@media (prefers-reduced-motion: no-preference) {
  .rh-bag.tucked .bag-item { top: 520px; }
  .rh-bag.opening .bag-tote img { animation: bagpop .6s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 50% 100%; }
  .rh-bag.opening .bag-tote .mouth { animation: mouthglow 1.3s ease-out; }
}
@keyframes bagpop { 0% { transform: none; } 28% { transform: scale(1.06, .9); } 58% { transform: translateY(-12px) scale(.97, 1.05); } 100% { transform: none; } }
@keyframes mouthglow { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 25% { opacity: 1; transform: translate(-50%, -62%) scale(1.05); } 100% { opacity: 0; transform: translate(-50%, -95%) scale(1.6); } }
@media (max-width: 760px) {
  .bag-stage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 6px; }
  .bag-tote { position: relative; left: auto; bottom: auto; }   /* stays centered in its grid row (the desktop left: 50% pushed it off screen) */
  .bag-item { padding: 4px 2px; }
  .bag-item .art { width: calc(var(--w) * .8); }
  .bag-item .tag { font-size: 10.5px; padding: 3px 7px; white-space: normal; text-align: center; line-height: 1.2; }
}
@media (max-width: 760px) { .bag-item:last-of-type { grid-column: 1 / -1; justify-self: center; } }   /* the last certification closes the grid, centered */


/* ---------- Landing type: classic tinted glass (Oct 27) ----------
   Playfair Display (self-hosted, OFL) for the opening headline in deep plum; the typed phrase and its period in
   rose-tinted glass italics; a dash-led, spaced-caps eyebrow; plain readable sans under it. Only the opening screen. */
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-italic.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
:root { --serif: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif; --plum: #2E0B1F; --wine: #651A34; --rose: #DC9699; --cream: #F9E8DD; }

.rh-role { display: flex; align-items: flex-start; gap: 14px; font-size: 12.5px; font-weight: 600; line-height: 1.6; letter-spacing: .22em; color: var(--plum); text-shadow: none; }
.rh-role::before { content: ""; flex: none; width: 28px; height: 1.5px; margin-top: calc(.8em - 1px); background: currentColor; }
@media (max-width: 520px) { .rh-role { font-size: 11.5px; letter-spacing: .18em; } .rh-role .dot { display: none; } .rh-role .nw { display: block; } }
.rh-hello { margin-bottom: clamp(6px, .8vw, 12px); font-family: var(--serif); font-style: normal; font-weight: 500; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.05; letter-spacing: 0; color: var(--wine); }
.rh-h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 5.7vw, 92px); line-height: 1.02; letter-spacing: -.012em; color: var(--plum); font-variation-settings: normal; }
.rh-h1 em, .rh-h1 .gdot { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: 0; color: #9A4553; }
.rh-h1 em { padding: 0 .1em 0 .02em; }
.rh-h1 .gdot { display: inline-block; padding-right: .06em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* rose glass: a deep wine band through the middle, a bright reflection low on the letters, two clear streaks */
  .rh-h1 em, .rh-h1 .gdot { color: transparent;
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, .8) 19%, rgba(255, 255, 255, 0) 23%, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, .62) 56.5%, rgba(255, 255, 255, 0) 60%),
      linear-gradient(180deg, #F4CACA 0%, #DC939A 20%, #A84D5A 42%, #6E2234 54%, #A85663 64%, #EEB6B8 78%, #B5616D 90%, #6C2430 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-stroke: .9px rgba(98, 24, 46, .5);
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .75)) drop-shadow(0 8px 14px rgba(110, 30, 52, .26)); }
}
.caret::after { left: -.02em; background: #B5606C; }
.wins .win-stat b { font-family: var(--serif); font-weight: 700; font-variant-numeric: lining-nums; letter-spacing: -.005em; color: var(--wine); background: none; -webkit-text-stroke: 0; filter: none; text-shadow: none; }
.win-stat { color: #2B1E26; }
.win-stat > span { font-weight: 500; }
.win-cat { color: #5B4652; }
