/* ==========================================================================
   Brenda Mota — portfolio · "Pastel & bling"
   Cream / blush / pink pages, Italiana caps + Bodoni Moda + Allura script +
   Jost, with a classy gold layer on top: foil text, sparkles, glitter,
   sequins, gold frames. Markup contract: DESIGN-SPEC.md §2 / lib/render.js.

   Notes for the JS side:
   - Static offsets/rotations use the individual `translate` / `rotate` /
     `scale` properties, so GSAP is free to own `transform`.
   - [data-reveal] and [data-reveal-stagger] > * start hidden only under
     html.js.is-loading (visibility only, so computed opacity stays real);
     site.js owns the reveal from there (gsap autoAlpha + y).
   - Layering: canvas.glitter is fixed at z-index 1, above section
     backgrounds and decorations; section content sits at z-index 2+.
   ========================================================================== */

/* ---------- fonts (self-hosted, served by server.js) ---------- */
@font-face { font-family: 'Italiana'; src: url('/fonts/italiana/italiana-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Allura'; src: url('/fonts/allura/allura-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost Var'; src: url('/fonts/jost/jost-latin-wght-normal.woff2') format('woff2-variations'), url('/fonts/jost/jost-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost Var'; src: url('/fonts/jost/jost-latin-wght-italic.woff2') format('woff2-variations'), url('/fonts/jost/jost-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Var'; src: url('/fonts/bodoni/bodoni-moda-latin-opsz-normal.woff2') format('woff2-variations'), url('/fonts/bodoni/bodoni-moda-latin-opsz-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Var'; src: url('/fonts/bodoni/bodoni-moda-latin-opsz-italic.woff2') format('woff2-variations'), url('/fonts/bodoni/bodoni-moda-latin-opsz-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ivory: #fffdf9;
  --cream: #fdf8f3;
  --butter: #f7efd2;
  --blush: #fde4e7;
  --pink: #ffd0d8;
  --rose: #f4a6b8;
  --rose-deep: #e57a98;
  --fuchsia: #d94a8c;
  --ink: #3a2c2e;
  --taupe: #8c7b75;
  --line: rgba(58, 44, 46, 0.12);
  --gold: #c9a24f;
  --gold-deep: #a8752a;
  --gold-light: #fff1c1;
  --hair: rgba(201, 162, 79, 0.45);
  --foil: linear-gradient(100deg, #a8752a 0%, #e9c46a 18%, #fff1c1 30%, #d4a64a 45%, #a8752a 60%, #f3d98b 78%, #b8862f 100%);
  /* same foil, deeper golds: for thinner/smaller text on light grounds */
  --foil-deep: linear-gradient(100deg, #8f6220 0%, #b8862f 16%, #d6ab55 28%, #a8752a 42%, #8a5d1d 58%, #c39340 76%, #9c6d27 100%);
  --metal: linear-gradient(135deg, #9c6d27 0%, #e6c06a 14%, #fff3cf 24%, #d9b05a 36%, #a87a2e 50%, #f1d48a 64%, #fff6dc 72%, #c99a45 86%, #8f6322 100%);
  --sheen: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 250, 232, 0) 60%);
  --sequin: radial-gradient(circle, rgba(255, 252, 240, 0.95) 0 1px, rgba(255, 252, 240, 0) 1.7px), radial-gradient(circle, rgba(233, 196, 106, 0.95) 0 1.3px, rgba(233, 196, 106, 0) 2.1px), radial-gradient(circle, rgba(247, 184, 196, 0.95) 0 1.2px, rgba(247, 184, 196, 0) 2px);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 7.6 16.4 11.1 24 12 16.4 12.9 12.9 16.4 12 24 11.1 16.4 7.6 12.9 0 12 7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E");
  --shadow: 0 18px 40px -18px rgba(150, 90, 100, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --caps: 'Italiana', 'Didot', 'Bodoni 72', serif;
  --serif: 'Bodoni Var', 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --script: 'Allura', 'Snell Roundhand', 'Segoe Script', cursive;
  --sans: 'Jost Var', 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 4vw, 64px);
  --gutter: clamp(12px, 1.6vw, 28px);
  --sec: clamp(72px, 9vw, 140px);
  --nav-h: 58px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; scroll-padding-top: 88px; background: var(--cream); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 17px; } }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
em { font-style: italic; }
b, strong { font-weight: 500; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.icon { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

/* ---------- type utilities ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--taupe);
}
.caps { font-family: var(--caps); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 0.95; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; line-height: 1.1; }
.only-mob { display: none; }
@media (max-width: 767px) { .only-mob { display: inline; } .only-desk { display: none; } }

/* ==========================================================================
   BLING
   ========================================================================== */

/* 1 · gold foil text with a slow sheen */
.foil, .nav__logo em, .loader__name {
  background-image: var(--foil);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: foil-sheen 7s ease-in-out infinite alternate;
}
@keyframes foil-sheen { to { background-position: 100% 50%; } }
.sec-title .foil, .nav__logo em, .compcard-link__t.foil { background-image: var(--foil-deep); }

/* 2 · sparkles: the element is free for GSAP, the star (::before) twinkles */
.spark {
  position: absolute;
  z-index: 5;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--s, 14px);
  height: var(--s, 14px);
  margin: calc(var(--s, 14px) / -2) 0 0 calc(var(--s, 14px) / -2);
  pointer-events: none;
}
.spark::before, .spark::after {
  content: '';
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  animation: twinkle 3.6s ease-in-out var(--d, 0s) infinite both;
}
.spark::after { z-index: -1; inset: -35%; background: radial-gradient(closest-side, rgba(255, 232, 160, 0.85), rgba(255, 232, 160, 0)); }
.spark::before {
  background: linear-gradient(135deg, #fffbea 8%, #f3d98b 34%, #c9a24f 62%, #a8752a 92%);
  -webkit-mask: var(--star) center / contain no-repeat;
  mask: var(--star) center / contain no-repeat;
}
.spark:nth-of-type(3n)::before { background: linear-gradient(135deg, #ffffff 10%, #ffd0d8 45%, #e57a98 95%); }
@keyframes twinkle {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  35% { transform: scale(1) rotate(45deg); opacity: 1; }
  52% { transform: scale(0.78) rotate(65deg); opacity: 0.95; }
  76% { transform: scale(0) rotate(90deg); opacity: 0; }
}

/* 3 · glitter canvas (drawn by site.js) */
.glitter { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* 4 · gold frame + sheen (photo frames) */
.bling-frame { position: relative; overflow: hidden; isolation: isolate; background-color: var(--c, var(--blush)); box-shadow: var(--shadow); }
:where(.bling-frame) > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.bling-frame::after,
.tile__media::after,
.selected__card::after,
.archive__tile figure::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  padding: 2px;
  background: var(--foil);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.bling-frame::before,
.tile__media::before,
.chip.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: var(--sheen) no-repeat;
  background-size: 250% 100%;
  background-position: 100% 0;
}
.bling-frame:hover::before { background-position: 0% 0; transition: background-position 1.3s var(--ease); }
@keyframes sheen-pass { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* 5 · sequin shimmer */
.sequins { background-image: var(--sequin); background-size: 7px 7px, 11px 11px, 13px 13px; animation: sequins 5s linear infinite; }
@keyframes sequins {
  from { background-position: 0 0, 3px 5px, 6px 2px, 0 0; }
  to { background-position: 7px 0, -8px 16px, 19px -11px, 0 0; }
}

/* 6 · pill buttons with gold hairline, shine and sparkles */
.btn-bling {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #ffe6eb, var(--pink)) padding-box, var(--foil) border-box;
  color: var(--ink);
  box-shadow: 0 18px 36px -18px rgba(217, 74, 140, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn-bling::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--sheen) no-repeat;
  background-size: 250% 100%;
  background-position: 100% 0;
  animation: shine 5.5s ease-in-out 1s infinite;
}
@keyframes shine { 0%, 64% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.btn-bling:hover { translate: 0 -3px; box-shadow: 0 24px 44px -18px rgba(217, 74, 140, 0.6), 0 0 0 5px rgba(255, 241, 193, 0.5); }
.btn-bling:hover .spark::before, .btn-bling:hover .spark::after { animation-duration: 1.5s; }
.btn-bling.sequins {
  border-width: 3px;
  background-image: linear-gradient(180deg, #ffe8ec, #ffd3db), var(--sequin), var(--foil);
  background-size: 100% 100%, 7px 7px, 11px 11px, 13px 13px, 200% 100%;
  background-clip: padding-box, border-box, border-box, border-box, border-box;
  background-origin: padding-box, border-box, border-box, border-box, border-box;
  animation: sequins-btn 6s linear infinite;
}
@keyframes sequins-btn {
  from { background-position: 0 0, 0 0, 3px 5px, 6px 2px, 0% 50%; }
  to { background-position: 0 0, 7px 0, -8px 16px, 19px -11px, 0% 50%; }
}

/* pills, icon dots, round buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.75em 1.4em 0.7em;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font: 500 11px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
a.dot, span.dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fbd0d9 0%, var(--rose) 55%, var(--rose-deep) 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 241, 193, 0.6), 0 0 0 1px rgba(201, 162, 79, 0.6), 0 10px 22px -12px rgba(217, 74, 140, 0.65);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.dot svg, span.dot svg { width: 46%; height: 46%; }
a.dot:hover, a:hover > span.dot { translate: 0 -3px; box-shadow: inset 0 0 0 1.5px rgba(255, 241, 193, 0.9), 0 0 0 2px var(--gold), 0 14px 26px -12px rgba(217, 74, 140, 0.75); }
i.dot { display: inline-block; flex: none; width: 0.55em; height: 0.55em; margin: 0 0.45em 0.08em 0; border-radius: 50%; background: #bcaea8; vertical-align: middle; font-style: normal; }
i.dot.is-on { background: #4fb574; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 181, 116, 0.55); } 70% { box-shadow: 0 0 0 0.5em rgba(79, 181, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 181, 116, 0); } }
.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--gold), 0 12px 26px -14px rgba(150, 90, 100, 0.6);
  transition: background-color 0.35s, translate 0.35s var(--ease), color 0.35s;
}
.round svg { width: 20px; height: 20px; }
.round:hover { background-color: var(--pink); translate: 0 -2px; }

/* decorations */
.deco { position: absolute; z-index: 0; height: auto; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* layering: section content above the glitter canvas */
main section > * { position: relative; z-index: 2; }

/* decorative loops pause while their section is off screen (class set by site.js) */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
/* ...and everywhere while the page scrolls, so scrolling gets every frame (html.is-scrolling, site.js) */
html.is-scrolling *, html.is-scrolling *::before, html.is-scrolling *::after { animation-play-state: paused !important; }

/* reveal states (JS only; no-JS shows everything) */
/* Hidden with visibility (not opacity) while the page boots, so site.js can
   read each element's resting opacity before it sets its own start state
   (autoAlpha 0, y 28) and later tweens back to it. If the script never
   finishes, the fail-safe shows everything after 4.5 s. */
html.js.is-loading [data-reveal],
html.js.is-loading [data-reveal-stagger] > * { visibility: hidden; animation: failsafe-in 0.01s linear 4.5s forwards; }
@keyframes failsafe-in { to { visibility: visible; } }
html:not(.js) .selected,
html:not(.js) .digitals,
html:not(.js) .work__bar,
html:not(.js) .info__bar { display: none; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  place-items: center;
  background: radial-gradient(50% 42% at 50% 46%, rgba(255, 208, 216, 0.55), rgba(255, 208, 216, 0) 70%), linear-gradient(180deg, var(--butter), var(--cream) 55%, var(--blush));
}
html.js.is-loading .loader { display: grid; animation: failsafe-out 0.6s ease 4s forwards; }
@keyframes failsafe-out { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader__name { display: block; padding: 0.1em 0.35em 0.2em; font-size: clamp(56px, 9vw, 112px); line-height: 1.15; white-space: nowrap; }
.loader__bar { position: relative; display: block; width: min(200px, 46vw); height: 2px; border-radius: 2px; overflow: hidden; background: rgba(201, 162, 79, 0.22); }
.loader__bar i { position: absolute; inset: 0; background: var(--foil); transform-origin: left center; transform: scaleX(0); }

/* ==========================================================================
   NAV + MENU
   ========================================================================== */
.nav {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: 1240px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 253, 249, 0.95), rgba(255, 253, 249, 0.95)) padding-box,
    linear-gradient(100deg, rgba(201, 162, 79, 0.35), rgba(255, 241, 193, 0.95) 28%, rgba(201, 162, 79, 0.6) 52%, rgba(255, 241, 193, 0.9) 78%, rgba(201, 162, 79, 0.35)) border-box;
  box-shadow: 0 16px 36px -24px rgba(150, 90, 100, 0.55);
}
.nav__logo {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--pink) 72%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.65);
  line-height: 1;
}
.nav__logo span { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--fuchsia); translate: 2px -1px; }
.nav__logo em { font-family: var(--script); font-style: normal; font-size: 25px; padding: 0.1em 0.14em 0.1em 0.06em; margin-left: -4px; translate: 0 3px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 10px 14px 9px;
  border-radius: 999px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.35s, background-color 0.35s, box-shadow 0.35s;
}
.nav__links a:hover { color: var(--ink); background-color: var(--blush); }
.nav__links a.is-current { color: var(--ink); background-color: var(--pink); box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.55); }
.nav__right { display: flex; align-items: center; gap: 6px; }
.lang {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px 9px;
  border-radius: 999px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--taupe);
  transition: background-color 0.35s;
}
.lang:hover { background-color: var(--blush); }
.lang span { transition: color 0.3s; }
.lang span.is-active { color: var(--ink); font-weight: 600; }
.lang i { margin: 0 0.45em; font-style: normal; color: var(--gold); }
.nav__menu {
  display: none;
  position: relative;
  min-width: 5.6em;
  padding: 11px 16px 10px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.6);
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}
.nav__menu-open, .nav__menu-close { transition: opacity 0.3s; }
.nav__menu-close { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.menu-open .nav__menu-open { opacity: 0; }
.menu-open .nav__menu-close { opacity: 1; }
@media (max-width: 899px) {
  .nav { top: 10px; left: 10px; right: 10px; height: 54px; padding: 0 6px; }
  .nav__logo { width: 40px; height: 40px; }
  .nav__links { display: none; }
  .nav__menu { display: block; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--nav-h) + 48px) 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  color: var(--ink);
  background:
    radial-gradient(80% 50% at 90% 0%, rgba(255, 208, 216, 0.9), rgba(255, 208, 216, 0) 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(255, 241, 193, 0.8), rgba(255, 241, 193, 0) 70%),
    linear-gradient(180deg, var(--cream), var(--blush));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; overflow: hidden; padding: 1.2vh 0 1.1vh; border-bottom: 1px solid rgba(201, 162, 79, 0.35); }
.menu__links sup { font: 500 11px/1 var(--sans); letter-spacing: 0.1em; color: var(--gold-deep); }
.menu__w { display: block; padding: 0.06em 0.1em 0.04em 0; font-family: var(--caps); font-size: clamp(38px, 10.5vw, 84px); line-height: 1.08; letter-spacing: 0.05em; text-transform: uppercase; }
.menu__links a:nth-child(even) .menu__w { font-family: var(--script); font-size: clamp(46px, 13vw, 100px); line-height: 1.05; letter-spacing: 0; text-transform: none; color: var(--fuchsia); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 999px; background: rgba(255, 253, 249, 0.7); box-shadow: inset 0 0 0 1px var(--hair); font: 500 11px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.menu__foot .dot { width: 36px; height: 36px; }

/* ==========================================================================
   HERO — magazine cover
   ========================================================================== */
.hero {
  --word-top: clamp(80px, 10vh, 122px);
  --word-size: clamp(64px, 15.2vw, 300px);
  --first-size: clamp(72px, 14vw, 250px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-content: end;
  row-gap: 16px;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  padding: 0 var(--pad) clamp(64px, 9vh, 96px);
  overflow: hidden;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  justify-self: stretch;
  background:
    radial-gradient(44% 40% at 50% 40%, rgba(255, 241, 193, 0.75), rgba(255, 241, 193, 0) 72%),
    radial-gradient(36% 46% at 94% 74%, rgba(255, 208, 216, 0.6), rgba(255, 208, 216, 0) 72%),
    radial-gradient(30% 40% at 4% 30%, rgba(255, 220, 226, 0.5), rgba(255, 220, 226, 0) 72%),
    linear-gradient(180deg, var(--butter) 0%, #faf2df 30%, var(--cream) 60%, var(--blush) 100%);
}
.hero__lily { left: -3.5vw; bottom: -5vw; width: clamp(220px, 27vw, 470px); rotate: 9deg; }
.hero__sprig { right: 2.5vw; top: calc(var(--word-top) + var(--word-size) * 0.7); width: clamp(84px, 8.5vw, 150px); rotate: -16deg; }
.hero__word {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: var(--word-top);
  justify-self: stretch;
  margin: 0;
  padding: 0 0 0 0.05em;
  text-align: center;
  font-family: var(--caps);
  font-weight: 400;
  font-size: var(--word-size);
  line-height: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__figure { position: absolute; z-index: 3; left: 50%; bottom: 0; translate: -50% 0; margin: 0; }
.hero__halo {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  width: 118%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 214, 222, 0.8), rgba(255, 226, 214, 0.5) 46%, rgba(255, 241, 193, 0.18) 74%, rgba(255, 241, 193, 0) 100%);
}
.hero__figure--cutout { width: min(46vw, 76svh); height: calc(100% - var(--word-top) - var(--word-size) * 0.32); }
.hero__cutout {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: 50% 100% !important; /* beats the inline focal point: a cut-out stands on the bottom edge */
  filter: drop-shadow(0 22px 34px rgba(90, 40, 50, 0.22));
}
.hero__figure--arch { bottom: auto; top: calc(var(--word-top) + var(--word-size) * 0.5); width: min(28vw, 42svh); aspect-ratio: 3 / 4.1; }
.hero__figure--arch .hero__halo { top: -16%; width: 175%; }
.hero__arch { position: absolute; inset: 0; border-radius: 50% 50% var(--radius) var(--radius) / 36.6% 36.6% var(--radius) var(--radius); }
.hero__arch > .hero__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero__arch > .hero__img.is-active { opacity: 1; }
.hero__figure--empty .hero__arch { background: linear-gradient(165deg, var(--blush), var(--pink) 60%, var(--rose)); }

.hero__name {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: clamp(40px, 6vh, 76px);
  margin: 0;
  font-weight: 400;
  line-height: 0.8;
  pointer-events: none;
}
.hero__first {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--first-size);
  line-height: 0.82;
  letter-spacing: -0.025em;
  color: var(--fuchsia);
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(255, 253, 249, 0.35);
}
.hero__last {
  display: block;
  width: fit-content;
  margin: calc(var(--first-size) * -0.3) 0 0 calc(var(--first-size) * 1.15);
  padding: 0.14em 0.32em 0.22em 0.2em;
  font-size: calc(var(--first-size) * 0.72);
  line-height: 1;
  white-space: nowrap;
  rotate: -6deg;
  /* thin ivory halo keeps the gold script legible over dark / sequin photos */
  filter: drop-shadow(0 0 1.2px rgba(255, 251, 240, 0.95)) drop-shadow(0 2px 1px rgba(110, 70, 20, 0.35));
}
.hero__pill, .hero__social, .hero__stats { grid-column: 2; justify-self: end; z-index: 4; }
.hero__pill {
  border: 1px solid transparent;
  background: linear-gradient(var(--pink), var(--pink)) padding-box, var(--foil) border-box;
  box-shadow: 0 12px 26px -14px rgba(217, 74, 140, 0.55);
}
.hero__social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 30px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.hero__stats li { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.hero__stats b { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.1; color: var(--ink); white-space: nowrap; }
.hero__stats li > span { font: 500 10px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.hero__scroll {
  position: absolute;
  z-index: 4;
  left: calc(var(--pad) + 2px);
  top: calc(var(--word-top) + var(--word-size) * 1.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__scroll span { writing-mode: vertical-rl; rotate: 180deg; }
.hero__scroll i { position: relative; display: block; width: 1px; height: 64px; overflow: hidden; background: rgba(201, 162, 79, 0.3); }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--gold-light), var(--gold-deep)); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__ribbon {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  justify-self: stretch;
  background-image: var(--sequin), var(--foil);
  background-size: 7px 7px, 11px 11px, 13px 13px, 200% 100%;
  box-shadow: 0 -1px 0 rgba(255, 241, 193, 0.9), 0 -6px 18px -4px rgba(201, 162, 79, 0.45);
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero { --first-size: clamp(72px, 12.5vw, 250px); grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
}

@media (max-width: 899px) {
  .hero {
    --word-top: 0px;
    --word-size: clamp(48px, 14.4vw, 128px); /* "PORTEFÓLIO" (10 letters) fits 360px */
    --first-size: clamp(64px, 22vw, 170px);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 30px) 16px 54px;
    text-align: center;
  }
  .hero__word { position: relative; top: auto; left: auto; right: auto; width: 100%; }
  .hero__figure { position: relative; left: auto; bottom: auto; top: auto; translate: none; }
  .hero__figure--cutout { width: min(94vw, 560px); height: min(112vw, 58svh); margin-top: calc(var(--word-size) * -0.42); }
  .hero__figure--arch { width: min(68vw, 400px); margin-top: calc(var(--word-size) * -0.4); }
  .hero__name { position: relative; left: auto; bottom: auto; margin-top: calc(var(--first-size) * -0.52); text-align: center; }
  .hero__last { margin: calc(var(--first-size) * -0.26) auto 0; translate: 22% 0; }
  .hero__pill { margin-top: 20px; white-space: normal; text-align: center; line-height: 1.5; max-width: 100%; }
  .hero__social { justify-content: center; margin-top: 16px; }
  .hero__stats { justify-content: center; gap: 14px 26px; margin-top: 18px; padding-top: 16px; max-width: 100%; }
  .hero__stats li { align-items: center; text-align: center; }
  .hero__stats b { font-size: 19px; }
  .hero__scroll { display: none; }
  .hero__lily { left: -16vw; bottom: 10%; width: min(52vw, 300px); rotate: 14deg; }
  .hero__sprig { top: calc(var(--nav-h) + 22px); right: 1vw; width: min(20vw, 110px); }
  html[lang="en"] .hero { --word-size: clamp(52px, 16vw, 140px); }
}

/* ==========================================================================
   SHARED SECTION HEADINGS  — caps + overlapping script word
   ========================================================================== */
.sec-head { text-align: center; padding: 0 var(--pad); }
.sec-title { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; font-weight: 400; line-height: 1; }
.sec-title .caps { display: block; padding: 0.04em 0.02em 0 0.09em; font-size: clamp(42px, 7vw, 112px); letter-spacing: 0.08em; line-height: 1; }
.sec-title .script {
  display: block;
  width: fit-content;
  margin: -0.46em 0 0 auto;
  padding: 0 0.25em 0.12em;
  font-size: clamp(40px, 6.3vw, 100px);
  line-height: 1;
  color: var(--fuchsia);
  rotate: -4deg;
  translate: 14% 0;
}
@media (max-width: 767px) {
  /* "MEASUREMENTS" is the longest caps title: keep it inside 16px gutters */
  .sec-title .caps { font-size: min(10vw, 46px); letter-spacing: 0.07em; }
  .sec-title .script { font-size: min(12.5vw, 56px); translate: 6% 0; margin-top: -0.16em; }
}

/* ==========================================================================
   EXPLORE — pink band, doodles + pills
   ========================================================================== */
.explore {
  position: relative;
  padding: clamp(68px, 8.5vw, 132px) var(--pad) clamp(76px, 9vw, 140px);
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--pink) 0%, #ffdbe1 55%, var(--blush) 100%);
}
.explore__title { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; font-weight: 400; line-height: 1; }
.explore__title .caps { display: block; font-size: clamp(30px, 4.6vw, 74px); letter-spacing: 0.07em; }
.explore__title .script { display: block; width: fit-content; margin: -0.18em auto 0; padding: 0 0.25em 0.1em; font-size: clamp(48px, 6.6vw, 108px); line-height: 1; color: var(--fuchsia); rotate: -4deg; translate: 18% 0; }
.explore__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(26px, 3vw, 44px) clamp(18px, 4vw, 64px);
  max-width: 1120px;
  margin: clamp(40px, 5vw, 72px) auto 0;
}
.explore__item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.explore__icon { width: clamp(78px, 8vw, 118px); height: clamp(78px, 8vw, 118px); object-fit: contain; transition: translate 0.5s var(--ease); }
.explore__item:hover .explore__icon { translate: 0 -5px; }
html:not(.js) .explore__item:hover .explore__icon { animation: wiggle 0.8s ease-in-out; }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 60% { rotate: 6deg; } 85% { rotate: -2deg; } }
.explore__item .pill {
  border: 1px solid transparent;
  background: linear-gradient(var(--ivory), var(--ivory)) padding-box, linear-gradient(100deg, rgba(201, 162, 79, 0.5), rgba(255, 241, 193, 0.9), rgba(201, 162, 79, 0.7)) border-box;
  box-shadow: 0 10px 22px -16px rgba(150, 90, 100, 0.6);
  transition: color 0.35s, box-shadow 0.35s;
}
.explore__item:hover .pill { color: #fff; background: linear-gradient(var(--rose-deep), var(--rose)) padding-box, var(--foil) border-box; box-shadow: 0 12px 26px -14px rgba(217, 74, 140, 0.7); }
@media (max-width: 767px) {
  .explore__list { gap: 26px 8px; }
  .explore__list > li { width: calc((100% - 16px) / 3); }
  .explore__item { width: 100%; }
  .explore__item .pill { justify-content: center; max-width: 100%; padding: 0.8em 0.6em 0.75em; font-size: 9.5px; letter-spacing: 0.1em; }
  .explore__icon { width: 74px; height: 74px; }
}

/* ==========================================================================
   ABOUT — overlapping rect + arch, butter card, fact pills
   ========================================================================== */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(84px, 11vw, 168px) var(--pad) clamp(72px, 9vw, 140px);
}
.about__media { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1.04; justify-self: center; }
.about__frame { position: absolute; margin: 0; }
.about__frame--rect { left: 0; top: 15%; width: 54%; aspect-ratio: 3 / 4; border-radius: var(--radius); rotate: -2deg; }
.about__frame--arch { right: 3%; top: 0; z-index: 2; width: 52%; aspect-ratio: 3 / 4.2; border-radius: 50% 50% var(--radius) var(--radius) / 35.7% 35.7% var(--radius) var(--radius); }
.about__media--1 { aspect-ratio: 1 / 1.1; }
.about__media--1 .about__frame--arch { right: auto; left: 18%; width: 62%; }
.about__media--0 { aspect-ratio: 1.4 / 1; }
.about__flowers { z-index: 3; right: -9%; bottom: 0; width: 50%; rotate: -6deg; }
.about__butterfly { z-index: 3; left: 38%; top: 1%; width: 16%; rotate: -16deg; }
.about__media--0 .about__flowers { right: 20%; bottom: 10%; width: 60%; }
.about__media--0 .about__butterfly { left: 18%; top: 10%; width: 22%; }
.about__title { margin: 0 0 clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1; }
.about__title .caps { display: block; font-size: clamp(50px, 7.6vw, 124px); letter-spacing: 0.06em; }
.about__title .script { display: block; width: fit-content; margin: -0.3em 0 0 0.7em; padding: 0 0.25em 0.12em; font-size: clamp(46px, 5.9vw, 104px); line-height: 1; white-space: nowrap; color: var(--fuchsia); rotate: -4deg; }
.about__card {
  position: relative;
  padding: clamp(26px, 3vw, 42px) clamp(24px, 3.2vw, 46px);
  border-radius: 28px;
  background: linear-gradient(160deg, #faf3da, var(--butter));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(201, 162, 79, 0.28);
}
.about__card::after {
  content: '';
  position: absolute;
  top: -12px;
  right: 26px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #fffbea, #e9c46a 45%, #a8752a);
  -webkit-mask: var(--star) center / contain no-repeat;
  mask: var(--star) center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255, 232, 160, 0.9));
}
.about__bio { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.68; color: var(--ink); }
.about__bio em { color: var(--rose-deep); }
.about__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about__facts .pill { gap: 0.8em; padding: 10px 18px 9px; background: var(--ivory); font-size: 15px; letter-spacing: 0; text-transform: none; white-space: normal; box-shadow: inset 0 0 0 1px var(--hair), 0 8px 18px -14px rgba(150, 90, 100, 0.6); }
.about__facts .label { font-size: 10px; }
.about__facts b { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); }
.about__facts b a { border-bottom: 1px solid var(--gold); }
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; gap: 56px; padding-top: clamp(72px, 16vw, 110px); }
  .about__media { max-width: 480px; }
  .about__title .caps { font-size: clamp(48px, 15vw, 96px); }
  .about__title .script { font-size: clamp(42px, 12vw, 90px); margin-left: 0.4em; }
}

/* ==========================================================================
   SELECTED — centred carousel. The track is a flex row padded so the first
   card sits in the centre; site.js slides the track with GSAP x (offset of
   the current card) and toggles .is-active / .is-prev / .is-next. Size and
   fade of each card are CSS (independent `scale`, so GSAP's transform is free).
   ========================================================================== */
.selected { position: relative; padding: var(--sec) 0 clamp(60px, 7vw, 110px); background: linear-gradient(180deg, var(--cream), #fff4f1 50%, var(--cream)); }
.selected__stage { --card-w: clamp(240px, 30vw, 420px); position: relative; margin-top: clamp(22px, 2.6vw, 40px); }
/* endless ring: every card sits on the centre line, JS sets --d (its circular distance to the active card) */
.selected__track {
  --gap: clamp(10px, 1.4vw, 22px);
  position: relative;
  height: calc(var(--card-w) * 1.3 + 48px);
  touch-action: pan-y;
  will-change: transform;
}
.selected__card {
  position: absolute;
  top: 22px;
  left: calc(50% - var(--card-w) / 2);
  width: var(--card-w);
  translate: calc(var(--d, 0) * (var(--card-w) + var(--gap))) 0; /* individual property: not shrunk by `scale` */
  aspect-ratio: 1 / 1.3;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blush);
  box-shadow: var(--shadow);
  cursor: pointer;
  scale: 0.64;
  opacity: 0.32;
  transition: translate 0.85s var(--ease), scale 0.85s var(--ease), opacity 0.85s var(--ease), box-shadow 0.85s var(--ease);
}
.selected__card.is-prev, .selected__card.is-next { scale: 0.82; opacity: 0.72; }
.selected__card.is-prev:hover, .selected__card.is-next:hover { opacity: 0.9; }
.selected__card.is-wrapping { transition: none; opacity: 0; }
.selected__card.is-far { visibility: hidden; }
.selected__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.selected__card::after { opacity: 0; transition: opacity 0.6s; }
.selected__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--sheen) no-repeat;
  background-size: 250% 100%;
  background-position: 100% 0;
}
.selected__card.is-active { scale: 1; opacity: 1; box-shadow: 0 36px 66px -30px rgba(150, 90, 100, 0.7); }
.selected__card.is-active::after { opacity: 1; }
.selected__card.is-active::before { animation: sheen-pass 1.6s var(--ease) 0.35s both; }
.selected__dots { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 52px; max-width: var(--card-w); margin: 4px auto 0; padding: 0 70px; font-size: 0; }
.selected__dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(229, 122, 152, 0.35); transition: width 0.5s var(--ease), background-color 0.5s; }
.selected__dots button:hover { background-color: var(--rose); }
.selected__dots button.is-active { width: 30px; background: var(--foil); box-shadow: 0 0 8px rgba(233, 196, 106, 0.6); }
.selected__prev, .selected__next { position: absolute; z-index: 12; bottom: 0; }
.selected__prev { left: calc(50% - var(--card-w) / 2); }
.selected__next { right: calc(50% - var(--card-w) / 2); }
@media (max-width: 767px) {
  .selected__stage { --card-w: min(68vw, 340px); }
  .selected__track { --gap: 6px; height: calc(var(--card-w) * 1.3 + 32px); }
  .selected__card { top: 14px; }
  .selected__prev, .selected__next { width: 46px; height: 46px; }
  .selected__dots { min-height: 46px; max-width: calc(var(--card-w) + 24px); padding: 0 58px; }
  .selected__prev { left: calc(50% - var(--card-w) / 2 - 12px); }
  .selected__next { right: calc(50% - var(--card-w) / 2 - 12px); }
}

/* ==========================================================================
   WORK — filter pills + layout-engine grid
   ========================================================================== */
.work { position: relative; padding: var(--sec) 0; }
.work .sec-head { display: flex; justify-content: center; align-items: flex-start; }
.work .sec-title { margin: 0; }
.work__count { margin: 0.9em 0 0 0.2em; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.6vw, 24px); line-height: 1; color: var(--rose-deep); }
.work__bar {
  position: sticky;
  top: calc(var(--nav-h) + 22px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 2 * var(--pad));
  margin: clamp(30px, 3.6vw, 52px) auto clamp(36px, 4.6vw, 68px);
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 0 0 1px rgba(201, 162, 79, 0.32), 0 14px 30px -22px rgba(150, 90, 100, 0.6);
}
.filters { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 11px 16px 10px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
  transition: color 0.35s, background-color 0.35s;
}
.chip sup { font-size: 9px; letter-spacing: 0.04em; color: var(--gold-deep); }
.chip:hover { color: var(--ink); background-color: var(--blush); }
.chip.is-active {
  color: var(--ink);
  background: linear-gradient(var(--pink), var(--pink)) padding-box, var(--foil) border-box;
  box-shadow: 0 6px 16px -8px rgba(201, 162, 79, 0.8);
}
.chip.is-active::after { animation: sheen-pass 1.4s var(--ease) 0.1s both; }
.views { display: flex; flex: none; padding: 3px; border-radius: 999px; background: var(--blush); }
.views button { padding: 9px 13px 8px; border-radius: 999px; font: 500 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.views button:hover { color: var(--ink); }
.views button.is-active { background-color: var(--ivory); color: var(--ink); box-shadow: 0 0 0 1px var(--gold), 0 4px 10px -6px rgba(150, 90, 100, 0.5); }

.grid { position: relative; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.grid__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; margin-bottom: clamp(40px, 6vw, 96px); }
.grid__index { align-self: end; font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7.6vw, 140px); line-height: 0.8; letter-spacing: -0.03em; color: var(--rose); opacity: 0.55; }
.tile { position: relative; margin: 0; cursor: pointer; }
.tile__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blush); box-shadow: var(--shadow); transition: translate 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.tile__media img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; max-width: none; object-fit: cover; transition: filter 0.6s, opacity 0.6s; }
.tile__media .tile__lqip { top: 0; height: 100%; filter: blur(12px); transform: scale(1.1); }
.tile__media::after { opacity: 0; transition: opacity 0.5s var(--ease); }
.tile:hover .tile__media { translate: 0 -4px; box-shadow: 0 28px 50px -26px rgba(150, 90, 100, 0.65); }
.tile:hover .tile__media::after { opacity: 1; }
.tile:hover .tile__media::before { background-position: 0% 0; transition: background-position 1.3s var(--ease); }
.grid.is-hovering .tile:not(:hover) .tile__media img { filter: saturate(0.7) brightness(1.04); opacity: 0.82; }
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; padding: 0 4px; font-size: 10.5px; }
.tile__no { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--rose-deep); }
.tile__credit { opacity: 0.75; text-align: right; }
.grid__empty { padding: 8vw 0; text-align: center; font-family: var(--script); font-size: clamp(38px, 5vw, 64px); color: var(--rose-deep); }
.noscript-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; max-width: 1480px; margin: 40px auto 0; padding: 0 var(--pad); }
.noscript-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 767px) {
  .work__bar { top: calc(var(--nav-h) + 18px); width: calc(100% - 32px); max-width: none; justify-content: space-between; padding: 4px; }
  .filters { flex: 1; -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); }
  .chip { padding: 10px 12px 9px; letter-spacing: 0.12em; }
  .views button { padding: 9px 10px 8px; letter-spacing: 0.1em; }
  .grid__row { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 10vw; }
  .tile__media { border-radius: 14px; }
  .tile__cap { font-size: 9.5px; margin-top: 9px; }
}

/* ==========================================================================
   DIGITALS — blush band, polaroids with washi tape
   ========================================================================== */
.digitals {
  position: relative;
  padding: var(--sec) 0 clamp(56px, 7vw, 110px);
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(50% 40% at 15% 20%, rgba(255, 241, 193, 0.5), rgba(255, 241, 193, 0) 70%),
    linear-gradient(180deg, var(--blush), #fff2f1 45%, var(--blush));
}
.digitals__doodle { width: clamp(64px, 7.5vw, 120px); opacity: 0.85; }
.digitals__doodle--1 { left: 6%; top: clamp(40px, 6vw, 90px); rotate: -14deg; }
.digitals__doodle--2 { right: 6%; bottom: 12%; width: clamp(52px, 5.5vw, 92px); rotate: 18deg; }
.digitals__sub { margin: 20px auto 0; max-width: 28em; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: var(--taupe); }
.digitals__table { position: relative; height: clamp(520px, 78vh, 780px); margin: clamp(14px, 2vw, 30px) var(--pad) 0; touch-action: pan-y; }
.polaroid {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(190px, 17vw, 270px);
  padding: 12px 12px 0;
  border-radius: 3px;
  background: #fffefb;
  box-shadow: 0 1px 2px rgba(58, 44, 46, 0.08), 0 20px 36px -16px rgba(120, 60, 70, 0.42);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
}
.polaroid:active { cursor: grabbing; }
.polaroid__tape {
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  width: 46%;
  height: 28px;
  translate: -50% 0;
  rotate: var(--tape, -4deg);
  background: url('/assets/img/deco/tape.svg') center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(58, 44, 46, 0.14));
  pointer-events: none;
}
.polaroid__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1px; background: var(--blush); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.polaroid__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 54px; padding: 8px 4px 10px; }
.polaroid__note { min-width: 0; font-family: var(--script); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.polaroid__no { flex: none; margin-left: auto; font: 500 9px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.digitals__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 18px; padding: 0 var(--pad); }
.digitals__shuffle {
  padding: 12px 22px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(var(--ivory), var(--ivory)) padding-box, var(--foil) border-box;
  color: var(--ink);
  box-shadow: 0 10px 22px -14px rgba(150, 90, 100, 0.6);
  transition: translate 0.35s var(--ease);
}
.digitals__shuffle:hover { background: linear-gradient(var(--pink), var(--pink)) padding-box, var(--foil) border-box; translate: 0 -2px; }
@media (max-width: 767px) {
  .digitals__table { height: 132vw; margin-top: 10px; }
  .polaroid { width: 66vw; padding: 10px 10px 0; }
  .polaroid__note { font-size: 26px; }
  .digitals__doodle--1 { top: 28px; left: 3%; }
}

/* ==========================================================================
   MOTION — gold phones
   ========================================================================== */
.motion {
  position: relative;
  padding: var(--sec) 0 clamp(72px, 9vw, 130px);
  background:
    radial-gradient(50% 40% at 85% 30%, rgba(255, 241, 193, 0.55), rgba(255, 241, 193, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--blush) 34%, var(--pink) 100%);
}
.motion__reel {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 56px);
  padding: clamp(34px, 4vw, 60px) var(--pad) 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.motion__reel::-webkit-scrollbar { display: none; }
.motion__reel:empty { display: none; }
.phone { flex: 0 0 clamp(200px, 18vw, 262px); display: flex; flex-direction: column; align-items: center; gap: 16px; scroll-snap-align: center; }
.phone__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font: 500 11px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.phone__body {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 42px;
  cursor: pointer;
  background: linear-gradient(#1d1517, #1d1517) content-box, var(--metal) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 230, 0.8),
    inset 0 0 0 2.5px rgba(168, 117, 42, 0.45),
    0 0 0 1px rgba(168, 117, 42, 0.45),
    0 36px 60px -30px rgba(120, 60, 70, 0.6);
  transition: box-shadow 0.5s var(--ease), translate 0.5s var(--ease);
}
.phone__body::before { content: ''; position: absolute; right: -3px; top: 25%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #a87a2e, #f1d48a); }
.phone__body::after { content: ''; position: absolute; left: -3px; top: 19%; width: 3px; height: 34px; border-radius: 3px 0 0 3px; background: linear-gradient(270deg, #a87a2e, #f1d48a); box-shadow: 0 46px 0 #c99a45; }
.phone__body video, .phone__body img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 33px; background: #1d1517; }
.phone__notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 32%; height: 22px; translate: -50% 0; border-radius: 999px; background: #140e0f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone__btn {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--gold), 0 12px 24px -12px rgba(150, 90, 100, 0.65);
  transition: background-color 0.35s, color 0.35s, translate 0.35s var(--ease);
}
.phone__btn svg { width: 20px; height: 20px; }
.phone__btn:hover { background-color: var(--pink); translate: 0 -2px; }
.phone__body > .phone__btn { position: absolute; z-index: 3; left: 50%; top: calc(100% + 16px); translate: -50% 0; }
.phone__body > .phone__btn:hover { translate: -50% -2px; }
.phone:has(.phone__body > .phone__btn) { padding-bottom: 66px; }
.phone:hover .phone__body { translate: 0 -4px; }
.phone.is-sound .phone__body { box-shadow: inset 0 0 0 1px rgba(255, 250, 230, 0.8), inset 0 0 0 2.5px rgba(168, 117, 42, 0.45), 0 0 0 1px rgba(168, 117, 42, 0.45), 0 0 0 6px rgba(255, 241, 193, 0.55), 0 0 44px rgba(233, 196, 106, 0.55), 0 36px 60px -30px rgba(120, 60, 70, 0.6); }
.phone.is-sound .phone__btn { background-color: var(--rose-deep); color: #fff; }
.phone--soon .phone__body { cursor: default; }
.phone--soon .phone__label { color: var(--taupe); }
.phone__link { display: block; width: 100%; height: 100%; padding-top: 30px; border-radius: 33px; overflow: hidden; background: #0c1014; } /* status-bar strip: the profile starts below the notch */
.phone--profile .phone__notch { z-index: 4; }
.phone--profile .phone__body img { border-radius: 0; object-position: top center; transition: scale 0.6s var(--ease); }
.phone--profile .phone__body:hover img { scale: 1.02; }
/* "Coming soon" screen: soft pink sky with drifting clouds (Alice's empty phones) */
.phone__screen {
  position: absolute;
  inset: 9px;
  z-index: 1;
  overflow: hidden;
  border-radius: 33px;
  background: linear-gradient(180deg, #b9daf3 0%, #d5e8f7 30%, #f3e4ee 62%, #ffd6dd 86%, #ffc9d3 100%);
}
.phone__screen::before,
.phone__screen::after {
  content: '';
  position: absolute;
  left: -110%;
  width: 330%;
  height: 24%;
  background:
    radial-gradient(24% 20% at 30% 72%, #fff 0 62%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(9% 24% at 23% 56%, #fff 0 62%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(12% 32% at 33% 48%, #fff 0 62%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(18% 16% at 75% 74%, rgba(255, 255, 255, 0.95) 0 62%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(9% 24% at 77% 58%, rgba(255, 255, 255, 0.95) 0 62%, rgba(255, 255, 255, 0) 100%);
  background-size: 33.3333% 100%;
  background-repeat: repeat-x;
  animation: clouds 30s linear infinite;
  animation-delay: calc(var(--i, 0) * -9s);
}
.phone__screen::before { top: 44%; }
.phone__screen::after { top: 66%; opacity: 0.7; animation-duration: 42s; animation-direction: reverse; }
@keyframes clouds { from { translate: -33.3333% 0; } to { translate: 0 0; } }
.motion__follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin: clamp(40px, 5vw, 72px) auto 0; padding: 0 var(--pad); }
.follow {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 7px 26px 7px 7px;
  border-radius: 999px;
  background: var(--ivory);
  box-shadow: 0 0 0 1px var(--hair), 0 14px 30px -20px rgba(150, 90, 100, 0.65);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.follow:hover { translate: 0 -3px; box-shadow: 0 0 0 1.5px var(--gold), 0 18px 34px -18px rgba(217, 74, 140, 0.5); }
.follow .dot { grid-row: 1 / span 2; width: 44px; height: 44px; }
.follow__handle { align-self: end; font-family: var(--serif); font-size: 19px; line-height: 1.1; color: var(--ink); }
.follow__net { align-self: start; font-size: 9.5px; letter-spacing: 0.16em; }
@media (max-width: 767px) {
  .motion__reel { justify-content: flex-start; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
  .phone { flex-basis: 62vw; }
  .phone__body { border-radius: 38px; }
  .phone__body video, .phone__body img { border-radius: 30px; }
  .follow { width: 100%; max-width: 360px; }
}

/* ==========================================================================
   INFO — measurement cards + comp card button
   ========================================================================== */
.info { position: relative; padding: var(--sec) var(--pad); background: linear-gradient(180deg, var(--pink) 0, var(--cream) 220px, var(--cream)); }
.info__bar { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 42px); }
.units { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--blush); box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.3); }
.units button { padding: 10px 16px 9px; border-radius: 999px; letter-spacing: 0.16em; color: var(--taupe); transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.units button:hover { color: var(--ink); }
.units button.is-active { background-color: var(--ivory); color: var(--ink); box-shadow: 0 0 0 1.5px var(--gold), 0 6px 14px -8px rgba(150, 90, 100, 0.6); }
.meas { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); max-width: calc(var(--cols, 4) * 280px); /* centred on the filled-in values only */ margin: clamp(26px, 3.2vw, 46px) auto 0; }
.meas-empty { margin: clamp(26px, 3.2vw, 46px) auto 0; font-family: var(--script); font-size: clamp(38px, 4.4vw, 64px); line-height: 1.1; text-align: center; color: var(--fuchsia); }
.meas__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(118px, 11vw, 164px);
  padding: clamp(16px, 1.6vw, 24px) clamp(16px, 1.8vw, 26px);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 0 0 1px rgba(201, 162, 79, 0.3), 0 16px 34px -24px rgba(150, 90, 100, 0.55);
}
.meas__cell::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #fff1c1, #c9a24f 55%, #a8752a);
  -webkit-mask: var(--star) center / contain no-repeat;
  mask: var(--star) center / contain no-repeat;
  opacity: 0.85;
}
.meas__cell dt { margin: 0; }
.meas__cell dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3em; margin: 14px 0 0; }
.meas__v { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.2vw, 66px); line-height: 0.95; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.meas__cell[data-text] .meas__v { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; }
.meas__u { font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.info__cta { display: flex; justify-content: center; margin-top: clamp(44px, 5vw, 76px); }
.compcard-link { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 22px; padding: 16px 16px 16px 34px; }
.compcard-link > :not(.spark) { position: relative; z-index: 2; }
.compcard-link__t { grid-column: 1; padding: 0 0.08em 0.06em 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.05; filter: drop-shadow(0 1px 0 rgba(120, 80, 20, 0.35)); }
.compcard-link__s { grid-column: 1; margin-top: 5px; color: #9a6b70; }
.compcard-link__a { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold-light); box-shadow: 0 0 0 1.5px var(--gold); transition: rotate 0.5s var(--ease); }
.compcard-link__a svg { width: 22px; height: 22px; }
.compcard-link:hover .compcard-link__a { rotate: 45deg; }
@media (max-width: 767px) {
  .meas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meas__v { font-size: clamp(34px, 11vw, 50px); }
  .compcard-link { padding-left: 24px; column-gap: 16px; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 96px);
  padding: clamp(84px, 10vw, 150px) max(var(--pad), calc((100% - 1240px) / 2)) calc(26px + env(safe-area-inset-bottom));
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(50% 40% at 80% 30%, rgba(255, 241, 193, 0.6), rgba(255, 241, 193, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--blush) 62%, var(--pink) 100%);
}
.contact__card { position: relative; container-type: inline-size; padding: clamp(32px, 4.4vw, 64px); border-radius: 32px; background: var(--ivory); box-shadow: 0 40px 80px -42px rgba(150, 90, 100, 0.55); }
.contact__card > :not(.contact__sequins):not(.deco):not(.spark) { position: relative; z-index: 1; }
.contact__sequins {
  position: absolute;
  inset: -6px;
  z-index: 0;
  padding: 6px;
  border-radius: 38px;
  pointer-events: none;
  background-image: var(--sequin), var(--foil);
  background-size: 7px 7px, 11px 11px, 13px 13px, 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.contact__butterfly { z-index: 2; right: 7%; top: -46px; width: clamp(72px, 8vw, 124px); rotate: 16deg; }
.contact__big { position: relative; width: fit-content; max-width: 100%; margin: 0; font-weight: 400; line-height: 1; }
/* sized to the card (cqi) so "Let's work" and "Vamos trabalhar" both fit */
.contact__big .caps { display: block; font-size: min(94px, 12.4cqi); letter-spacing: 0.06em; }
.contact__big .script { display: block; width: fit-content; margin: -0.3em 0 0 0.9em; padding: 0 0.25em 0.12em; font-size: min(114px, 15cqi); line-height: 1; color: var(--fuchsia); rotate: -4deg; }
.contact__lead { max-width: 30em; margin: clamp(16px, 2vw, 26px) 0 0; font-size: clamp(16px, 1.2vw, 18px); color: var(--taupe); }
.contact__list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.contact__list li { max-width: 100%; }
.contact__link { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; padding: 4px 20px 4px 4px; border-radius: 999px; transition: background-color 0.35s; }
.contact__link:hover { background-color: var(--blush); }
.contact__text { min-width: 0; font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.contact__local { margin: clamp(24px, 3vw, 36px) 0 0; }
.contact__local [data-clock] { font-family: var(--serif); font-size: 15px; letter-spacing: 0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.contact__media { justify-self: center; width: min(100%, 430px); }
.contact__photo { aspect-ratio: 3 / 4; border-radius: 50% 50% var(--radius) var(--radius) / 37.5% 37.5% var(--radius) var(--radius); }
.contact__lily { z-index: 3; left: -24%; bottom: -12%; width: 58%; rotate: -12deg; }
.foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(40px, 6vw, 90px); padding-top: 22px; border-top: 1px solid var(--hair); }
.foot__top { padding: 11px 18px 10px; border-radius: 999px; background-color: var(--ivory); box-shadow: 0 0 0 1px var(--hair); transition: background-color 0.35s; }
.foot__top:hover { background-color: var(--pink); }
@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; gap: 64px; padding-top: clamp(72px, 16vw, 110px); }
  .contact__media { width: min(76%, 360px); }
  .contact__big .script { margin-left: 0.5em; }
  .contact__butterfly { top: -40px; right: 4%; width: 74px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 48px; }
}

/* ==========================================================================
   ARCHIVE — light infinite canvas
   ========================================================================== */
.archive {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow: hidden;
  visibility: hidden;
  clip-path: inset(100% 0 0 0);
  touch-action: none;
  cursor: grab;
  color: var(--ink);
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 208, 216, 0.75), rgba(255, 208, 216, 0) 70%), radial-gradient(50% 40% at 50% 100%, rgba(255, 241, 193, 0.6), rgba(255, 241, 193, 0) 70%), var(--cream);
}
.archive.is-dragging { cursor: grabbing; }
.archive__plane { position: absolute; inset: 0; }
.archive__tile { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; will-change: transform; }
.archive__tile figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 18px 36px -20px rgba(120, 60, 70, 0.55); transition: transform 0.6s var(--ease); }
.archive__tile figure::after { opacity: 0; transition: opacity 0.4s; }
.archive__tile:hover figure { transform: scale(0.96); }
.archive__tile:hover figure::after { opacity: 1; }
.archive__tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.archive__ui {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--hair), 0 16px 30px -18px rgba(120, 60, 70, 0.5);
  pointer-events: none;
}
.archive__ui b { font-family: var(--serif); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--fuchsia); }
.archive__hint { color: var(--taupe); }
.archive__ui button { pointer-events: auto; padding: 11px 18px 10px; border-radius: 999px; background: var(--pink); box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.6); transition: background-color 0.35s; }
.archive__ui button:hover { background-color: var(--rose); }
@media (max-width: 767px) { .archive__hint { display: none; } }

/* ==========================================================================
   LIGHTBOX — cream blur, gold UI
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 130; visibility: hidden; color: var(--ink); }
.lightbox__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(70% 60% at 50% 42%, rgba(255, 241, 193, 0.4), rgba(255, 241, 193, 0) 70%), rgba(253, 248, 243, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
.lightbox__stage { position: absolute; inset: 0; }
.lightbox__img { position: absolute; left: 0; top: 0; max-width: none; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 2px rgba(201, 162, 79, 0.85), 0 40px 80px -30px rgba(90, 40, 50, 0.5); will-change: transform; user-select: none; -webkit-user-drag: none; }
.lightbox__ui {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 12px;
  right: 12px;
  height: 50px;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 6px 0 20px;
  border-radius: 999px;
  opacity: 0;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.75);
  box-shadow: 0 0 0 1px var(--hair);
}
.lightbox__count { font-family: var(--serif); font-size: 14px; letter-spacing: 0.06em; color: var(--fuchsia); }
.lightbox__cap { text-align: center; color: var(--taupe); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__close { justify-self: end; padding: 10px 16px 9px; border-radius: 999px; background: var(--pink); box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.6); transition: background-color 0.35s; }
.lightbox__close:hover { background-color: var(--rose); }
.lightbox__nav { position: absolute; z-index: 2; top: 64px; bottom: 0; width: 50%; }
.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }
.lightbox__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  translate: 0 -50%;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 0 0 1.5px var(--gold), 0 14px 30px -14px rgba(90, 40, 50, 0.5);
  transition: background-color 0.35s, scale 0.35s var(--ease);
}
.lightbox__arrow svg { width: 22px; height: 22px; }
.lightbox__prev .lightbox__arrow { left: 20px; }
.lightbox__next .lightbox__arrow { right: 20px; }
.lightbox__nav:hover .lightbox__arrow { background-color: var(--pink); scale: 1.06; }
@media (max-width: 767px) {
  .lightbox__ui { grid-template-columns: 1fr auto; }
  .lightbox__cap, .lightbox__arrow { display: none; }
}

/* ==========================================================================
   REDUCED MOTION — no sheen, no twinkle, no transitions, all visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal-stagger] > * { opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; }
  .foil, .nav__logo em, .loader__name,
  .sequins, .btn-bling.sequins, .btn-bling::after,
  .bling-frame::before, .chip.is-active::after,
  .hero__scroll i::after, i.dot.is-on,
  .phone__screen::before, .phone__screen::after,
  .selected__card.is-active::before,
  .explore__item:hover .explore__icon { animation: none !important; }
  .spark::before, .spark::after { animation: none !important; transform: scale(0.82) rotate(45deg); opacity: 1; }
  .spark:nth-of-type(even)::before, .spark:nth-of-type(even)::after { transform: scale(0.55) rotate(45deg); opacity: 0.8; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
