:root {
  /* brand palette: blue, soft blue, charcoal, cream */
  --blue: #8699E8;
  --blue-soft: #BFCDF0;
  --charcoal: #2D2B26;
  --cream: #F5F0E7;
  --cream-deep: #EAE3D5;

  --paper: var(--cream);
  --ink: var(--charcoal);
  --muted: #6E6A61;
  --accent: var(--blue);
  --surface: #FFFDF8;                 /* cards, chips, frames */
  --line: rgba(45,43,38,.13);         /* dividers and outlines */
  --hover: rgba(45,43,38,.07);
  --sky-top: var(--blue);             /* hero + footer sky */
  --sky-mid: var(--blue-soft);
  --cloud-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160'%3E%3Cg%3E%3Ccircle cx='70' cy='112' r='42'/%3E%3Ccircle cx='135' cy='88' r='58'/%3E%3Ccircle cx='215' cy='100' r='50'/%3E%3Ccircle cx='285' cy='80' r='62'/%3E%3Ccircle cx='350' cy='112' r='40'/%3E%3Crect y='118' width='400' height='42'/%3E%3C/g%3E%3C/svg%3E");
  --label: #5A6BC4;                   /* small blue labels, dark enough for cream */
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 2.2vw, 32px);
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 6.6 17.4 11.1 24 12C17.4 12.9 12.9 17.4 12 24C11.1 17.4 6.6 12.9 0 12C6.6 11.1 11.1 6.6 12 0Z'/%3E%3C/svg%3E");
}

/* night mode: same brand, the sky just goes dark */
:root[data-theme="dark"] {
  --paper: #10152E;
  --ink: var(--cream);
  --muted: rgba(245,240,231,.66);
  --charcoal: #0A0E21;
  --cream-deep: #1E264D;
  --surface: #182045;
  --line: rgba(245,240,231,.14);
  --hover: rgba(245,240,231,.08);
  --sky-top: #070B1F;
  --sky-mid: #1A2863;
  --label: var(--blue);
  color-scheme: dark;
}
html { transition: background-color .4s; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 20px; }

/* ---------- nav: location · pill (avatar + 3 links + "Work with me") · theme toggle ---------- */
.nav {
  position: fixed;
  inset: 14px var(--gutter) auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  pointer-events: none; /* only the pieces are clickable */
}
.nav > * { pointer-events: auto; }
.nav__loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  justify-self: start;
}
.nav__loc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav__pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(20,24,60,.45);
  color: var(--ink); /* stays readable even on pages with light text (the Lab sky) */
}
.nav__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: 10px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 2px var(--surface);
  transition: transform .45s cubic-bezier(.34,1.8,.5,1);
}
.nav__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nav__avatar:hover { transform: rotate(-10deg) scale(1.06); }
.nav__link {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: background .2s, box-shadow .2s;
}
.nav__link:hover { background: var(--hover); }
.nav__link[aria-current="page"] { box-shadow: inset 0 0 0 1.5px currentColor; }
.nav__link .short { display: none; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: transform .35s cubic-bezier(.34,1.6,.5,1);
}
.nav__cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav__cta:hover { transform: translateY(-1px) rotate(-2deg); }
.theme-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  cursor: pointer;
  transition: transform .5s cubic-bezier(.34,1.6,.5,1);
}
.theme-toggle:hover { transform: rotate(-20deg); }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.nav a:focus-visible, .theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* language switch: outlined pill, a filled thumb slides under the active language.
   Top left on laptops; inside the burger menu on phones. */
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.lang-switch::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .4s cubic-bezier(.34,1.5,.5,1);
}
.lang-switch:has([data-lang="es"][aria-pressed="true"])::before { transform: translateX(100%); }
.lang-switch button {
  position: relative;
  z-index: 1;
  font: 600 14px var(--sans);
  letter-spacing: .02em;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 9px 16px;
  cursor: pointer;
  transition: color .3s;
}
.lang-switch button[aria-pressed="true"] { color: var(--paper); }
.lang-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 999px; }
.lang-switch--menu { display: none; }
:root[lang="es"] .card__stage--soon::before { content: "Caso de estudio en progreso"; }

/* the second toggle lives inside the pill and only shows on small screens */
.theme-toggle--in { display: none; width: 40px; height: 40px; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* burger button: only on phones */
.nav__burger {
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  cursor: pointer;
}
.nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.34,1.6,.5,1); }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* phones: day/night switch on the left, burger on the right, the pill drops down as a menu */
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr auto; inset: 12px 12px auto; }
  .nav__loc { display: none; }
  .theme-toggle--out { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav__burger { display: grid; grid-column: 3; grid-row: 1; justify-self: end; }
  .nav__pill {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 26px;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: opacity .25s, transform .35s cubic-bezier(.34,1.4,.5,1), visibility 0s .35s;
  }
  .nav.is-open .nav__pill { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s cubic-bezier(.34,1.4,.5,1); }
  .nav__avatar { width: 44px; height: 44px; margin: 0 0 6px 4px; }
  .nav__link { padding: 14px 16px; font-size: 20px; border-radius: 16px; }
  .nav__cta { justify-content: center; margin: 6px 0 0; padding: 14px 18px; font-size: 18px; }
  .theme-toggle--in { display: none; }
  .lang-switch--menu { display: inline-grid; justify-self: start; align-self: flex-start; margin: 12px 0 4px 8px; }
  .lang-switch--menu button { font-size: 17px; padding: 12px 26px; }
}

/* ---------- buttons: one style everywhere ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  font: 14px var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.34,1.6,.5,1);
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.btn__icon svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon svg { transform: rotate(45deg); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- hero: a sky with the essentials (who, what, a flight card) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: safe center;
  padding: clamp(100px, 13vh, 150px) calc(var(--gutter) + 44px) clamp(150px, 24vh, 260px); /* room for the side text */
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 58%, var(--paper) 100%);
  overflow: hidden;
}
.hero__sky { position: absolute; inset: 0; --h: clamp(170px, 28vh, 320px); pointer-events: none; }
.hero__side {
  /* sits right beside the headline block, reading bottom to top */
  position: absolute;
  left: calc(-1 * clamp(44px, 4.4vw, 72px));
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font: 700 clamp(11px, .85vw, 14px) var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  word-spacing: .2em;
  margin: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: fit-content; /* hug the headline block so the side text can sit right beside it */
  max-width: 100%;
  margin: 0 auto;
  /* layout: hello / "Designer who" / [flight card][rotating word]; the whole block sits centered */
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: clamp(20px, 2.6vw, 44px);
  row-gap: clamp(8px, 1.4vw, 20px);
  align-items: center;
}
.hero__hello {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  font: clamp(15px, 1.4vw, 24px) var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: clamp(8px, 1.4vw, 18px);
}
.hero__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 0 rgba(255,253,248,.7); animation: ping 2s ease-out infinite; }

/* title: line one across, rotating word on the right of the flight card */
.title {
  grid-column: 1 / -1;
  grid-row: 2 / 4;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  align-items: center;
  font-weight: 600;
  font-size: clamp(52px, min(10.4vw, 16vh), 210px); /* sized by width and height so it fits laptop screens */
  line-height: .92;
  letter-spacing: -.05em;
}
.title__line { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
/* min-width is set by JS to the widest word, so the row doesn't jump as words change */
.title__rotator { grid-column: 2; grid-row: 2; justify-self: start; display: inline-block; white-space: nowrap; overflow: hidden; padding: .06em 0 .12em; }
.title__word { display: inline-block; }
/* every letter is its own span (added by JS) so it can pop when hovered */
.wrd { display: inline-block; white-space: nowrap; }
.ltr { display: inline-block; transition: transform .35s cubic-bezier(.34,1.8,.5,1), color .2s; }
.title .ltr:hover { transform: translateY(-.14em) rotate(-5deg) scale(1.08); color: var(--surface); }
:root[data-theme="dark"] .title .ltr:hover { color: var(--blue); }
.ltr.is-in { animation: letter-in .6s cubic-bezier(.2,.9,.2,1.2) both; animation-delay: calc(var(--i) * 35ms); }
.ltr.is-out { animation: letter-out .35s ease-in both; animation-delay: calc(var(--i) * 25ms); }
@keyframes letter-in { from { transform: translateY(110%) rotate(8deg); opacity: 0; } }
@keyframes letter-out { to { transform: translateY(-110%) rotate(-8deg); opacity: 0; } }

/* flight card: a boarding pass that doubles as the role picker */
.flight {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  gap: 14px;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  padding: .72em;
  border-radius: 2em;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(20,24,60,.06), 0 30px 60px -30px rgba(20,24,60,.55), inset 0 -3px 0 rgba(20,24,60,.06);
  font-size: clamp(13px, 1.05vw, 17px);
  letter-spacing: 0;
  line-height: 1.3;
}
.flight p { margin: 0; }
.flight__window {
  flex: none;
  width: 4.2em;
  border-radius: 2.2em;
  padding: .36em;
  background: var(--cream-deep);
  box-shadow: inset 0 2px 6px rgba(20,24,60,.2);
}
.flight__view {
  position: relative;
  display: block;
  height: 100%;
  min-height: 6.8em;
  border-radius: 1.9em;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-soft) 100%);
}
:root[data-theme="dark"] .flight__view { background: linear-gradient(180deg, #070B1F 0%, #1A2863 100%); }
.flight__view::after { /* clouds drifting past the window */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: var(--cream);
  opacity: .9;
  -webkit-mask: var(--cloud-shape) 0 100% / auto 100% repeat-x;
  mask: var(--cloud-shape) 0 100% / auto 100% repeat-x;
  animation: window-drift 6s linear infinite;
}
@keyframes window-drift { to { -webkit-mask-position: -210px 100%; mask-position: -210px 100%; } }
.flight__body { display: grid; gap: .55em; align-content: center; min-width: 0; padding: 4px 6px 4px 0; }
.flight__meta { white-space: nowrap; display: flex; justify-content: space-between; gap: 8px; font: .78em var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.flight__status { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.flight__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.flight__route { display: flex; align-items: center; gap: .7em; }
.flight__route strong { font-weight: 600; font-size: 1.5em; letter-spacing: -.03em; }
.flight__track { position: relative; flex: 1; min-width: 4em; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.flight__track::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); border-radius: 2px; animation: track 5s ease-in-out infinite; }
.flight__plane { position: absolute; top: 50%; left: 0; width: 1.4em; height: 1.4em; transform: translate(-50%, -50%) rotate(45deg); animation: glide 5s ease-in-out infinite; }
.flight__plane svg { width: 100%; height: 100%; fill: var(--blue); }
@keyframes track { 0%, 10% { width: 0; } 80%, 100% { width: 100%; } }
@keyframes glide { 0%, 10% { left: 0; } 80%, 100% { left: 100%; } }
.flight.is-chosen .flight__track::before { animation: none; width: 100%; }
.flight.is-chosen .flight__plane { animation: none; left: 100%; }
.flight__ask { color: var(--muted); font-size: .88em; white-space: nowrap; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(134,153,232,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(134,153,232,0); } 100% { box-shadow: 0 0 0 0 rgba(134,153,232,0); } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 900px) {
  /* keep the side words on small screens too, just smaller and tucked by the edge */
  .hero__side { left: -38px; font-size: 10px; letter-spacing: .12em; word-spacing: 0; }
  .hero { padding-inline: calc(var(--gutter) + 34px) var(--gutter); }
  .hero__hello { font-size: 12px; letter-spacing: .1em; }
  .hero__inner { column-gap: 14px; }
}
@media (max-width: 600px) {
  /* phones only: stacked like the reference: Designer / who / word, then the full ticket; block centered */
  .hero__inner { width: fit-content; margin: 0 auto; grid-template-columns: auto; justify-content: center; }
  .title { font-size: clamp(56px, 19vw, 150px); line-height: .9; }
  .title__line .wrd { display: block; }
  .title__rotator { grid-column: 1; grid-row: 2; min-width: 0 !important; }
  .flight { grid-row: 4; margin-top: 26px; font-size: clamp(12px, 3.4vw, 16px); max-width: calc(100vw - 2 * var(--gutter) - 34px); }
  .flight__body { min-width: 0; }
  .flight__track { min-width: 2em; }
}
@media (max-width: 400px) {
  .flight__ask { white-space: normal; }
}

/* brand sparkles (replace the old squares) */
.squares i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 22px); height: var(--s, 22px);
  background: var(--c);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
  opacity: 0;
  transform: translate(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px));
  animation: fade .6s ease forwards;
  animation-delay: calc(var(--d) * .4s);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}


/* ---------- shared section heads ---------- */
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: .95;
  letter-spacing: -.045em;
}
.sticker-host { position: relative; display: inline-block; }
.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: .52em;
  height: .52em;
  border-radius: 50%;
  border: 2px solid var(--ink);
  transform: rotate(-14deg);
  transition: transform .5s cubic-bezier(.34,1.8,.5,1);
}
.sticker svg { width: 78%; height: 78%; }
.sticker--star { top: -.2em; left: -.3em; background: var(--blue); }
.sticker--star svg { fill: var(--cream); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.sticker--sun { top: -.05em; right: -.45em; background: var(--blue-soft); }
.sticker--sun svg { fill: var(--cream); stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.section-title:hover .sticker { transform: rotate(12deg) scale(1.12); }
.section-title:hover .sticker--sun svg { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- work ---------- */
.work {
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(80px, 10vw, 140px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.filters button {
  font: 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  background: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filters button sup { font-size: 10px; margin-left: 3px; opacity: .6; }
.filters button:hover { color: var(--ink); border-color: rgba(45,43,38,.25); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.filters button:focus-visible, .card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  max-width: 1440px;
  margin: 0 auto;
}
/* project card: cream frame, full-bleed image, chips over the bottom-left */
.card {
  grid-column: span var(--span, 12);
  display: block;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(clamp(14px, 1.6vw, 22px) + 4px); /* inner radius + frame, so the curves stay parallel */
  box-shadow: 0 1px 0 rgba(45,43,38,.04), 0 24px 40px -32px rgba(45,43,38,.45);
  view-transition-name: var(--vt);
  transition: transform .5s cubic-bezier(.34,1.4,.5,1), box-shadow .4s;
}
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(45,43,38,.04), 0 34px 50px -34px rgba(45,43,38,.55); }
.card__stage {
  position: relative;
  height: var(--h, 420px);
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--stage);
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* screenshots fill the frame; the slight zoom trims the white border baked into the exports */
.card__stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 50%; /* site screenshots have left-aligned headlines; keep them in frame */
  transform: scale(1.07);
  transform-origin: 12% 50%;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.card__stage--cover > img { transform: none; object-position: 50% 50%; transform-origin: 50% 50%; }

/* website projects: the screenshot sits on a tilted CSS laptop over a dark stage with a brand glow */
.card__stage--device {
  background:
    radial-gradient(60% 45% at 62% 100%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%),
    radial-gradient(80% 70% at 30% 20%, #3A3833, transparent 70%),
    #181715;
  perspective: 1600px;
}
.laptop {
  position: absolute;
  left: 9%;
  top: 50%;
  width: 104%;
  transform: translateY(-44%) rotateX(10deg) rotateY(-16deg) rotateZ(5deg);
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 1.6%;
  background: #0B0B0B;
  border-radius: 3.2% / 5%;
  box-shadow:
    0 0 0 1.5px #6F6E6B,               /* aluminium edge */
    inset 0 0 0 1px #2A2A2A,
    0 40px 60px -30px rgba(0,0,0,.8);
}
.laptop__screen::before { /* camera notch */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 11%;
  height: 3.2%;
  transform: translateX(-50%);
  background: #0B0B0B;
  border-radius: 0 0 6px 6px;
  z-index: 2;
}
.laptop__display {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.2% / 1.9%;
  background: #000;
}
.laptop__display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.05); /* trims the white border baked into the exports */
}
.laptop__display::after { /* glass glare */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 38%);
  pointer-events: none;
}
.laptop__base {
  position: relative;
  width: 112%;
  margin-left: -6%;
  height: 0;
  padding-bottom: 3.4%;
  background: linear-gradient(180deg, #E4E2DE 0%, #B9B7B2 45%, #7E7C78 100%);
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
  box-shadow: 0 30px 40px -18px rgba(0,0,0,.7);
}
.laptop__base::before { /* thumb scoop on the front edge */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14%;
  height: 45%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #9C9A96, #C9C7C2);
  border-radius: 0 0 10px 10px;
}

/* tablet mockup: black bezel, tilted like it's being held up to you */
.card__stage--tablet {
  background: linear-gradient(180deg, #7F8CCB 0%, var(--blue-soft) 70%, #D9DFF3 100%);
  perspective: 1400px;
}
.tablet {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 84%;
  aspect-ratio: 1.5;
  padding: 2.6%;
  background: #121212;
  border-radius: 5.5% / 8.2%;
  box-shadow:
    0 0 0 1.5px #3A3A3A,
    inset 0 0 0 1px #262626,
    0 50px 70px -30px rgba(45,43,38,.75);
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(8deg) rotateZ(-9deg);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.tablet__display {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.6% / 3.9%;
  background: #000;
}
.tablet__display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.05);
}
.tablet__display::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}

/* RecipeBox: a fan of phone screens instead of one cropped image */
.card__stage--phones { display: flex; justify-content: center; align-items: flex-start; padding-top: 5%; }
.card__stage--phones > img {
  position: static;
  width: auto;
  height: 88%;
  object-fit: contain;
  margin: 0 -3%;
  filter: drop-shadow(0 12px 24px rgba(45,43,38,.16));
}
.card__stage--phones > img:nth-child(1) { transform: rotate(-6deg) translateY(4%); }
.card__stage--phones > img:last-of-type { transform: rotate(6deg) translateY(4%); }
.phone-swap { position: relative; z-index: 1; height: 88%; margin: 0 -3%; filter: drop-shadow(0 12px 24px rgba(45,43,38,.16)); }
.phone-swap img { display: block; height: 100%; width: auto; }

.card__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__stage--soon::before {
  content: "Case study in progress";
  position: absolute;
  z-index: 1;
  top: 14px; left: 14px;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--paper);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ---- work images are always in motion (no hover needed); paused while off screen ---- */
.laptop { --ly: -44%; transform: translateY(var(--ly)) rotateX(10deg) rotateY(-16deg) rotateZ(5deg); animation: laptop-float 7s ease-in-out infinite alternate; }
@keyframes laptop-float {
  to { transform: translateY(calc(var(--ly) - 4%)) rotateX(5deg) rotateY(-9deg) rotateZ(2.5deg) scale(1.03); }
}
.tablet { animation: tablet-float 8s ease-in-out infinite alternate; }
@keyframes tablet-float {
  to { transform: translate(-50%, -54%) rotateX(3deg) rotateY(3deg) rotateZ(-5deg) scale(1.03); }
}
/* screens cycle between two views, like someone clicking through the site / app */
.laptop__display img.is-next, .phone-swap img.is-next {
  position: absolute; inset: 0; opacity: 0;
  animation: screen-swap 10s ease-in-out infinite;
}
.phone-swap img.is-next { width: 100%; height: 100%; object-fit: contain; animation-delay: -3s; }
@keyframes screen-swap { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* the phone fan breathes open and closed */
.card__stage--phones > img:nth-child(1) { animation: fan-left 5s ease-in-out infinite alternate; }
.card__stage--phones > img:last-of-type { animation: fan-right 5s ease-in-out infinite alternate; }
.phone-swap { animation: fan-mid 5s ease-in-out infinite alternate; }
@keyframes fan-left { to { transform: rotate(-11deg) translate(-10%, 2%); } }
@keyframes fan-right { to { transform: rotate(11deg) translate(10%, 2%); } }
@keyframes fan-mid { to { transform: translateY(-3%) scale(1.03); } }
/* flat images: slow drift and zoom (Ken Burns) */
.card__stage > img { animation: drift-zoom 14s ease-in-out infinite alternate; }
@keyframes drift-zoom { to { transform: scale(1.18) translate(-3%, -2%); } }
.card__stage--cover > img { animation-name: drift-zoom-soft; }
@keyframes drift-zoom-soft { from { transform: scale(1); } to { transform: scale(1.1) rotate(-1.5deg); } }
/* in-progress cards: the waves roll */
.card__waves { animation: waves-roll 9s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes waves-roll { from { transform: scale(1.1) translateX(-4%); } to { transform: scale(1.18) translateX(4%) rotate(-3deg); } }
.card:not(.is-live) *, .card:not(.is-live) *::after { animation-play-state: paused !important; }

/* ---- placeholder project images (swap in real ones later) + plain caption under each card ---- */
.card__stage--placeholder {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-soft) 62%, #DCE1EE 100%);
  filter: hue-rotate(calc(var(--i, 0) * 7deg));
}
:root[data-theme="dark"] .card__stage--placeholder { background: linear-gradient(180deg, #0E1638 0%, #1A2863 70%, #24336F 100%); }
.ph-clouds {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: var(--cream);
  opacity: .9;
  -webkit-mask: var(--cloud-shape) 0 100% / auto 100% repeat-x;
  mask: var(--cloud-shape) 0 100% / auto 100% repeat-x;
  animation: ph-drift calc(18s + var(--i, 0) * 2s) linear infinite;
}
:root[data-theme="dark"] .ph-clouds { background: #2A3872; }
@keyframes ph-drift { to { -webkit-mask-position: -400px 100%; mask-position: -400px 100%; } }
.ph-label {
  position: relative;
  z-index: 1;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--charcoal);
  background: rgba(255,253,248,.75);
  border-radius: 999px;
  padding: 7px 12px;
}
.card__caption { padding: 14px 6px 6px; }
.card__caption h3 { font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.2; }
.card__caption p { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 4px; }

/* chips: light one for the name, dark glassy ones for the tags */
.card__chips {
  position: absolute;
  left: clamp(10px, 1.4vw, 18px);
  bottom: clamp(10px, 1.4vw, 18px);
  right: clamp(10px, 1.4vw, 18px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  padding: .45em .9em .5em;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(45,43,38,.8);
  border: 1px solid rgba(245,240,231,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.chip--metric { color: var(--charcoal); background: var(--blue); border-color: transparent; font-weight: 500; }
.chip--title {
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.grid-empty { text-align: center; font-size: 20px; color: var(--muted); }

::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }

/* cursor label */
.cursor-tag {
  position: fixed;
  left: 0; top: 0;
  z-index: 40;
  pointer-events: none;
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transform: translate(var(--cx, -100px), var(--cy, -100px)) translate(-50%, -50%) scale(0);
  transition: transform .25s cubic-bezier(.34,1.5,.5,1);
}
.cursor-tag.is-on { transform: translate(var(--cx), var(--cy)) translate(-50%, -50%) scale(1); }
@media (hover: none) { .cursor-tag { display: none; } }

/* ---------- explorations strip ---------- */
.explore {
  padding: clamp(60px, 8vw, 120px) 0;
  overflow: clip; /* clip, not hidden: nothing inside can scroll it sideways */
}
.explore__frame {
  position: relative;
  border-block: 1px solid var(--line);
}
.explore__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(28px, 4vw, 56px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.explore__title { text-align: left; }
.explore__side { max-width: 340px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.explore__side p { font-size: 16px; line-height: 1.45; color: var(--muted); }

/* frame corner marks */
.explore__frame::before, .explore__frame::after {
  content: "+";
  position: absolute;
  top: -.62em;
  font: 18px var(--mono);
  color: rgba(45,43,38,.35);
  line-height: 1;
}
.explore__frame::before { left: calc(var(--gutter) - .3em); }
.explore__frame::after { right: calc(var(--gutter) - .3em); }

/* always-moving carousel */
.marquee {
  padding: clamp(24px, 3vw, 40px) 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  animation: marquee var(--duration, 60s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap-half, 0px))); } }
.shot {
  flex: none;
  height: clamp(240px, 30vw, 420px);
  padding: 4px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(45,43,38,.06), 0 18px 40px -24px rgba(45,43,38,.45);
  transform: rotate(var(--tilt));
  transition: transform .5s cubic-bezier(.34,1.6,.5,1), box-shadow .4s;
}
.shot > img { height: 100%; width: auto; display: block; border-radius: 12px; }
.shot:hover { transform: rotate(0deg) translateY(-8px) scale(1.03); box-shadow: 0 1px 0 rgba(45,43,38,.06), 0 30px 60px -28px rgba(45,43,38,.55); }

/* click either side of the carousel (or its arrows) to move it that way */
.marquee { cursor: pointer; }
.marquee__arrow {
  position: absolute;
  bottom: calc(clamp(24px, 3vw, 40px) + clamp(240px, 30vw, 420px) / 2 - 24px);
  z-index: 3;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(20,24,60,.45);
  opacity: 0;
  transition: opacity .3s, transform .35s cubic-bezier(.34,1.6,.5,1);
}
.marquee__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.marquee__arrow--prev { left: var(--gutter); }
.marquee__arrow--next { right: var(--gutter); }
.explore__frame:hover .marquee__arrow, .marquee__arrow:focus-visible { opacity: 1; }
.marquee__arrow:hover { transform: scale(1.08); }
.marquee__arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: none) { .marquee__arrow { opacity: 1; width: 40px; height: 40px; } }

/* ---- product shots in the carousel: CSS devices, each with its own motion ---- */
.prod { aspect-ratio: var(--ar, 1); }
.prod__stage {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: var(--bg);
  overflow: clip;
  display: grid;
  place-items: center;
  container-type: size;
}
@keyframes prod-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.5cqh; } }

/* 2. browser window with a real site + a cursor that clicks the CTA */
.browser {
  width: min(86cqw, 130cqh);
  border-radius: 2.4cqw;
  background: #F4F2EE;
  box-shadow: 0 5cqw 10cqw -4cqw rgba(0,0,0,.6);
  overflow: clip;
  animation: prod-float 7s ease-in-out infinite;
}
.browser__bar { display: flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2cqw; }
.browser__bar i { width: 1.6cqw; aspect-ratio: 1; border-radius: 50%; background: #D5D1C8; }
.browser__bar span { margin-left: 3cqw; flex: 1; padding: .6cqw 2cqw; border-radius: 99px; background: #E6E2DA; font: 2.2cqw var(--mono); color: #6E6A61; white-space: nowrap; overflow: hidden; }
.browser__view { position: relative; aspect-ratio: 1200 / 725; overflow: clip; background: #111; }
.browser__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.fake-cursor {
  position: absolute; left: 70%; top: 70%;
  width: 3.4cqw; aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: .5cqw solid #111;
  animation: cursor-move 5s ease-in-out infinite;
}
.fake-cursor::after { content: ""; position: absolute; inset: -60%; border-radius: 50%; border: .5cqw solid #fff; opacity: 0; animation: cursor-click 5s ease-out infinite; }
@keyframes cursor-move { 0% { left: 72%; top: 72%; } 40%, 70% { left: 17%; top: 64%; } 100% { left: 72%; top: 72%; } }
@keyframes cursor-click { 0%, 45% { opacity: 0; scale: .4; } 48% { opacity: 1; } 60%, 100% { opacity: 0; scale: 1.4; } }

/* 3. two phones on a dark stage */
.phone-shot { position: absolute; height: 84cqh; width: auto; filter: drop-shadow(0 4cqh 5cqh rgba(0,0,0,.5)); }
.phone-shot--a { left: 10%; top: 9%; rotate: -4deg; animation: prod-float 6s ease-in-out infinite; }
.phone-shot--b { left: 48%; top: 16%; rotate: 5deg; animation: prod-float 6s ease-in-out -3s infinite; }

/* 4. analytics dashboard: bars grow, line draws, on a loop */
.dash {
  width: min(86cqw, 120cqh); aspect-ratio: 1.45;
  border-radius: 2.6cqw;
  background: #10152E;
  box-shadow: 0 5cqw 10cqw -4cqw rgba(16,21,46,.7);
  display: grid; grid-template-columns: 12% 1fr;
  overflow: hidden;
  rotate: -3deg;
  animation: prod-float 7s ease-in-out -2s infinite;
}
.dash__side { background: #182045; display: grid; align-content: start; gap: 2.4cqw; padding: 4cqw 2.4cqw; }
.dash__side i { height: 1.4cqw; border-radius: 99px; background: #2A3872; }
.dash__side i:first-child { background: #8699E8; }
.dash__main { position: relative; padding: 3.4cqw; display: grid; grid-template-rows: auto 1fr; gap: 3cqw; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.dash__kpis span { background: #182045; border-radius: 1.6cqw; padding: 1.8cqw; font: 2cqw var(--mono); color: #8A93B8; text-transform: uppercase; }
.dash__kpis b { display: block; font: 600 4.6cqw var(--sans); color: #F5F0E7; letter-spacing: -.03em; text-transform: none; }
.dash__chart { display: flex; align-items: flex-end; gap: 2cqw; }
.dash__chart i { flex: 1; height: var(--h); border-radius: 1cqw 1cqw .4cqw .4cqw; background: linear-gradient(180deg, #8699E8, #4B5BA8); transform-origin: bottom; animation: bar-grow 4.5s cubic-bezier(.34,1.3,.5,1) infinite; }
.dash__chart i:nth-child(odd) { animation-delay: .12s; }
.dash__chart i:nth-child(3n) { animation-delay: .24s; }
@keyframes bar-grow { 0% { scale: 1 0; } 25%, 85% { scale: 1 1; } 100% { scale: 1 0; } }
.dash__line { position: absolute; left: 3.4cqw; right: 3.4cqw; bottom: 16%; width: calc(100% - 6.8cqw); height: 30%; overflow: visible; }
.dash__line path { fill: none; stroke: #F5F0E7; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 260; animation: line-draw 4.5s ease-in-out infinite; }
@keyframes line-draw { 0% { stroke-dashoffset: 260; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }

/* 5. tablet with a real site */
.slate {
  width: min(82cqw, 110cqh); aspect-ratio: 1.6;
  padding: 2.4cqw;
  border-radius: 4.5cqw;
  background: #141414;
  box-shadow: 0 0 0 .4cqw #3A3A3A, 0 6cqw 10cqw -4cqw rgba(45,43,38,.6);
  rotate: 4deg;
  animation: prod-float 8s ease-in-out -1s infinite;
}
.slate img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; border-radius: 2.4cqw; display: block; }

/* live embeds: the real site renders at full size and is scaled down to fit the screen (JS sets --s) */
.embed { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--s, .3)); transform-origin: 0 0; }
.embed { pointer-events: none; } /* it's a video, not a website to scroll */
.embed iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; will-change: transform; }
/* interaction highlight: the real UI cropped, floating in 3D, with a camera that zooms to what's changing */
.showcase {
  width: 88cqw;
  aspect-ratio: var(--crop-ar, 1080 / 770);
  border-radius: 2.4cqw;
  overflow: clip;
  background: #F1F1F1;
  box-shadow: 0 0 0 .3cqw rgba(255,255,255,.6), 0 6cqw 10cqw -4cqw rgba(20,24,60,.6);
  transform: perspective(1400px) rotateX(8deg) rotateY(-10deg) rotateZ(1deg);
  animation: showcase-sway 9s ease-in-out infinite alternate;
  margin-top: -3cqh;
}
@keyframes showcase-sway { to { transform: perspective(1400px) rotateX(4deg) rotateY(-4deg) rotateZ(0deg); } }
.showcase__cam { position: relative; width: 100%; height: 100%; transition: transform 1.1s cubic-bezier(.65,0,.25,1); }
.showcase__note {
  position: absolute; left: 50%; bottom: 5cqh; z-index: 2;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px;
  font: 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  color: #fff; background: rgba(16,21,46,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 7px 12px; border-radius: 999px;
  opacity: 0; transition: opacity .4s, translate .4s;
}
.showcase__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #A9DE5C; }
.showcase__note.is-on { opacity: 1; translate: -50% -4px; }

/* Kite: a made-up education app, three frameless screens */
.kite { display: flex; gap: 3.6cqh; align-items: center; }
.kite__screen {
  position: relative;
  width: 34cqh; height: 72cqh;
  border-radius: 3.4cqh;
  background: #fff;
  box-shadow: 0 .3cqh 0 rgba(0,0,0,.04), 0 3cqh 5cqh -2.5cqh rgba(45,43,38,.35);
  padding: 3.4cqh 2.8cqh;
  overflow: hidden;
  font-family: var(--sans); color: #1E2233;
  animation: prod-float 7s ease-in-out infinite;
}
.kite__screen:nth-child(2) { margin-top: -6cqh; animation-delay: -2.3s; } /* staggered heights */
.kite__screen:nth-child(3) { margin-top: 8cqh; animation-delay: -4.6s; }

/* 1. onboarding */
.kite__screen--intro { background: #DCE3F6; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 1.4cqh; }
.kite__logo { display: flex; align-items: center; justify-content: center; gap: .8cqh; font: 600 2.4cqh var(--sans); letter-spacing: -.02em; margin: 0; }
.kite__logo svg { width: 2.6cqh; height: 2.6cqh; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.kite__art { position: relative; }
.kite__book { position: absolute; left: 50%; height: 4.2cqh; border-radius: .6cqh; display: grid; place-items: center; font: 600 1.5cqh var(--mono); color: #1E2233; box-shadow: inset 0 -.5cqh 0 rgba(0,0,0,.12); }
.kite__book--1 { bottom: 0; width: 24cqh; translate: -60% 0; background: #F2A65A; }
.kite__book--2 { bottom: 4.2cqh; width: 19cqh; translate: -52% 0; background: #FFFDF8; }
.kite__book--3 { bottom: 8.4cqh; width: 14cqh; translate: -42% 0; background: #8699E8; color: #fff; }
.kite__flyer { position: absolute; right: 8%; top: 4%; width: 6cqh; overflow: visible; animation: kite-fly 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.kite__flyer path:first-child { fill: #F26B5B; stroke: #1E2233; stroke-width: 1.6; stroke-linejoin: round; }
.kite__tail { fill: none; stroke: #1E2233; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 3; }
@keyframes kite-fly { 0%, 100% { rotate: -8deg; translate: 0 0; } 50% { rotate: 8deg; translate: -.8cqh -1.2cqh; } }
.kite__title { font: 700 3.2cqh/1.08 var(--sans); letter-spacing: -.035em; margin: 0; }
.kite__text { font-size: 1.55cqh; line-height: 1.4; color: #4A5068; margin: 0; }
.kite__foot { display: flex; justify-content: space-between; align-items: center; }
.kite__dots { display: flex; gap: .6cqh; }
.kite__dots i { width: 1.2cqh; height: .7cqh; border-radius: 99px; background: rgba(30,34,51,.25); animation: kite-dot 4.5s infinite; }
.kite__dots i:nth-child(2) { animation-delay: 1.5s; }
.kite__dots i:nth-child(3) { animation-delay: 3s; }
@keyframes kite-dot { 0%, 30% { width: 3cqh; background: #1E2233; } 34%, 100% { width: 1.2cqh; background: rgba(30,34,51,.25); } }
.kite__pill { font: 600 1.5cqh var(--sans); background: #1E2233; color: #fff; border-radius: 99px; padding: 1cqh 1.8cqh; }

/* 2. courses list */
.kite__screen--list { display: flex; flex-direction: column; gap: 1.1cqh; }
.kite__bar { display: flex; align-items: center; gap: 1cqh; }
.kite__bar b { flex: 1; font: 700 2.5cqh var(--sans); letter-spacing: -.03em; }
.kite__icon { width: 2.8cqh; height: 2.8cqh; border-radius: 50%; border: .25cqh solid #1E2233; }
.kite__icon--plus { border: 0; background: #1E2233; color: #fff; display: grid; place-items: center; font: 600 2cqh/1 var(--sans); }
.kite__tabs { display: flex; gap: 1.6cqh; font-size: 1.45cqh; color: #8A8FA3; border-bottom: .2cqh solid #EEF0F5; padding-bottom: .9cqh; }
.kite__tabs span.is-on { color: #1E2233; font-weight: 600; box-shadow: 0 1.1cqh 0 -.8cqh #8699E8; }
.kite__tabs i { font-style: normal; font-size: 1.2cqh; color: #8699E8; }
.kite__group { font: 600 1.3cqh var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #8A8FA3; margin: .6cqh 0 0; }
.kite__course { display: grid; gap: .3cqh; padding: 1.2cqh 1.4cqh; border-radius: 1.6cqh; background: #F6F7FB; border-left: .6cqh solid var(--c); }
.kite__course b { font: 600 1.6cqh var(--sans); }
.kite__course small { font-size: 1.25cqh; color: #8A8FA3; }
.kite__prog { height: .7cqh; border-radius: 99px; background: #E6E9F2; overflow: hidden; margin-top: .5cqh; }
.kite__prog i { display: block; height: 100%; width: var(--p); background: var(--c); border-radius: inherit; transform-origin: left; animation: kite-prog 5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes kite-prog { 0% { scale: 0 1; } 30%, 85% { scale: 1 1; } 100% { scale: 0 1; } }
.kite__chip { align-self: flex-start; font: 500 1.35cqh var(--sans); background: var(--c); border-radius: 99px; padding: .7cqh 1.3cqh; }
.kite__nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 1.2cqh; border-top: .2cqh solid #EEF0F5; }
.kite__nav i { width: 2.6cqh; height: 2.6cqh; border-radius: .8cqh; background: #E6E9F2; }
.kite__nav i.is-on { background: #1E2233; }

/* 3. live study room */
.kite__screen--room { background: #F7F5F1; display: flex; flex-direction: column; gap: 1.2cqh; }
.kite__room-title { font: 700 2.1cqh/1.15 var(--sans); letter-spacing: -.03em; margin: 0; }
.kite__room-sub { font-size: 1.35cqh; color: #8699E8; font-weight: 600; margin: -.6cqh 0 0; }
.kite__faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqh; }
.kite__faces span {
  aspect-ratio: .82; border-radius: 1.6cqh; background: var(--c);
  display: grid; place-items: end center; padding-bottom: .8cqh;
  font: 600 1.4cqh var(--sans); color: #1E2233;
  position: relative;
}
.kite__faces span::before { content: ""; position: absolute; top: 18%; left: 50%; width: 42%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: rgba(30,34,51,.18); box-shadow: 0 5.2cqh 0 1.6cqh rgba(30,34,51,.12); clip-path: inset(-10% -60% 12% -60%); }
.kite__faces span { animation: kite-talk 9s infinite; }
.kite__faces span:nth-child(2) { animation-delay: 1.5s; }
.kite__faces span:nth-child(3) { animation-delay: 3s; }
.kite__faces span:nth-child(4) { animation-delay: 4.5s; }
.kite__faces span:nth-child(5) { animation-delay: 6s; }
.kite__faces span:nth-child(6) { animation-delay: 7.5s; }
@keyframes kite-talk { 0%, 15% { box-shadow: 0 0 0 .4cqh #8699E8; } 17%, 100% { box-shadow: 0 0 0 0 transparent; } }
.kite__note { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 1.4cqh; padding: 1.1cqh 1.3cqh; font-size: 1.35cqh; }
.kite__note span { color: #8A8FA3; }
.kite__controls { margin-top: auto; display: flex; justify-content: center; gap: 2cqh; }
.kite__controls i { width: 4.4cqh; height: 4.4cqh; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 .2cqh #E6E3DC; }
.kite__controls .kite__leave { background: #F26B5B; box-shadow: none; }

/* project label on every carousel tile */
.prod__tag {
  position: absolute; top: 2.6cqh; left: 2.6cqh; z-index: 5;
  font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  color: #fff; background: rgba(16,21,46,.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 999px;
}

/* shared 8s loop for the phone micro-interactions */
@keyframes pop-in { 0% { scale: .6; opacity: 0; } 60% { scale: 1.08; opacity: 1; } 100% { scale: 1; opacity: 1; } }

/* Kite: finishing a lesson grows the streak */
.streak { position: absolute; inset: 7cqh 0 0; padding: 2.4cqh 2.2cqh; display: flex; flex-direction: column; gap: 1.4cqh; font-family: var(--sans); color: #1E2233; background: #fff; }
.streak__eyebrow { font: 600 1.3cqh var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #8699E8; margin: 0; }
.streak__title { font: 700 2.4cqh/1.1 var(--sans); letter-spacing: -.03em; margin: 0; }
.streak__list { list-style: none; display: grid; gap: 1cqh; margin: .6cqh 0 0; padding: 0; }
.streak__list li { position: relative; padding: 1.2cqh 1.2cqh 1.2cqh 4.4cqh; border-radius: 1.4cqh; background: #F4F6FC; font-size: 1.55cqh; }
.streak__list li::before { content: ""; position: absolute; left: 1.3cqh; top: 50%; width: 2cqh; height: 2cqh; translate: 0 -50%; border-radius: 50%; border: .25cqh solid #C9D2F3; background: #fff; animation: streak-tick 8s infinite; }
.streak__list li:nth-child(2)::before { animation-delay: .6s; }
.streak__list li:nth-child(3)::before { animation-delay: 1.2s; }
@keyframes streak-tick { 0%, 12% { background: #fff; border-color: #C9D2F3; box-shadow: none; } 15%, 92% { background: #8699E8; border-color: #8699E8; box-shadow: inset 0 0 0 .45cqh #fff; } 100% { background: #fff; border-color: #C9D2F3; } }
.streak__btn { margin-top: auto; margin-bottom: 3cqh; text-align: center; padding: 1.6cqh; border-radius: 99px; background: #1E2233; color: #fff; font: 600 1.7cqh var(--sans); animation: streak-press 8s infinite; }
@keyframes streak-press { 0%, 36% { scale: 1; } 39% { scale: .94; } 42%, 100% { scale: 1; } }
.streak__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2cqh; background: #1E2233; color: #fff; opacity: 0; animation: streak-done 8s infinite; }
@keyframes streak-done { 0%, 42% { opacity: 0; } 46%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
.streak__ring { position: relative; width: 16cqh; aspect-ratio: 1; display: grid; place-items: center; }
.streak__ring svg { position: absolute; inset: 0; rotate: -90deg; }
.streak__ring circle { fill: none; stroke: #A9DE5C; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; animation: streak-ring 8s infinite; }
@keyframes streak-ring { 0%, 45% { stroke-dashoffset: 264; } 60%, 100% { stroke-dashoffset: 0; } }
.streak__ring b { font: 700 3.6cqh/1 var(--sans); letter-spacing: -.04em; text-align: center; }
.streak__ring small { display: block; font: 600 1.3cqh var(--mono); color: #A9DE5C; }
.streak__count { display: flex; align-items: center; gap: .8cqh; font-size: 1.7cqh; margin: 0; }
.streak__flame { width: 2.4cqh; height: 3cqh; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(180deg, #FFD44D, #F26B5B); animation: streak-flame .9s ease-in-out infinite alternate; }
@keyframes streak-flame { to { scale: 1.12 1.18; } }
.streak__num { display: inline-grid; height: 2.4cqh; overflow: hidden; font: 700 2.2cqh/2.4cqh var(--sans); }
.streak__num i { font-style: normal; animation: streak-num 8s cubic-bezier(.34,1.6,.5,1) infinite; }
@keyframes streak-num { 0%, 55% { translate: 0 0; } 62%, 100% { translate: 0 -100%; } }
.streak__confetti { position: absolute; left: 50%; top: 42%; }
.streak__confetti i { position: absolute; width: 1cqh; height: 1.6cqh; border-radius: .3cqh; background: var(--c, #A9DE5C); opacity: 0; animation: confetti 8s ease-out infinite; }
.streak__confetti i:nth-child(1) { --x: -9cqh; --y: -12cqh; --c: #A9DE5C; }
.streak__confetti i:nth-child(2) { --x: 8cqh;  --y: -13cqh; --c: #8699E8; }
.streak__confetti i:nth-child(3) { --x: -12cqh; --y: -2cqh; --c: #F26B5B; }
.streak__confetti i:nth-child(4) { --x: 12cqh; --y: -4cqh; --c: #FFD44D; }
.streak__confetti i:nth-child(5) { --x: -6cqh; --y: -16cqh; --c: #FFD44D; }
.streak__confetti i:nth-child(6) { --x: 4cqh;  --y: -17cqh; --c: #F26B5B; }
.streak__confetti i:nth-child(7) { --x: -14cqh; --y: -9cqh; --c: #8699E8; }
.streak__confetti i:nth-child(8) { --x: 14cqh; --y: -10cqh; --c: #A9DE5C; }
@keyframes confetti { 0%, 46% { opacity: 0; translate: 0 0; rotate: 0deg; } 50% { opacity: 1; } 70% { opacity: 1; translate: var(--x) var(--y); rotate: 200deg; } 80%, 100% { opacity: 0; translate: var(--x) calc(var(--y) + 4cqh); rotate: 260deg; } }

/* single micro-interactions, each on its own (Jitter-style: one element, big and centered) */
.ui-cursor { position: absolute; width: 7.5cqh; height: 7.5cqh; fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 .6cqh .8cqh rgba(0,0,0,.25)); z-index: 3; pointer-events: none; }

/* notifications: slide down and stack */
.ui-notes { position: relative; width: 92cqw; height: 46cqh; }
.ui-note { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 2.4cqh; padding: 2.8cqh 3cqh; border-radius: 4cqh; background: rgba(255,255,255,.92); box-shadow: 0 1.6cqh 3.6cqh -1.6cqh rgba(45,43,38,.35); font-family: var(--sans); color: #1E2233; }
.ui-note p { flex: 1; display: grid; margin: 0; font-size: 3.6cqh; line-height: 1.25; }
.ui-note b { font-weight: 600; }
.ui-note small { align-self: flex-start; font-size: 2.4cqh; color: #8A8FA3; }
.ui-note__app { flex: none; width: 11cqh; height: 11cqh; border-radius: 2.6cqh; background: var(--c); color: #fff; display: grid; place-items: center; font: 700 3.4cqh var(--sans); }
.ui-note--a { top: 0; animation: ui-note-a 7s cubic-bezier(.34,1.3,.5,1) infinite; }
.ui-note--b { top: 0; animation: ui-note-b 7s cubic-bezier(.34,1.3,.5,1) infinite; }
@keyframes ui-note-a { 0% { translate: 0 -30cqh; opacity: 0; } 10%, 38% { translate: 0 0; opacity: 1; scale: 1; } 48%, 88% { translate: 0 20cqh; scale: .94; opacity: .75; } 100% { translate: 0 30cqh; opacity: 0; } }
@keyframes ui-note-b { 0%, 38% { translate: 0 -30cqh; opacity: 0; } 48%, 86% { translate: 0 0; opacity: 1; } 100% { translate: 0 -8cqh; opacity: 0; } }

/* language switch: cursor clicks, thumb slides */
.ui-lang { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1cqh solid #2D2B26; box-shadow: 0 2cqh 4cqh -2cqh rgba(45,43,38,.4); border-radius: 99px; background: #fff; }
.ui-lang__thumb { position: absolute; inset: 0 50% 0 0; border-radius: 99px; background: #2D2B26; animation: ui-lang 6s cubic-bezier(.34,1.4,.5,1) infinite; }
@keyframes ui-lang { 0%, 30% { translate: 0 0; } 38%, 78% { translate: 100% 0; } 86%, 100% { translate: 0 0; } }
.ui-lang b { position: relative; z-index: 1; padding: 5cqh 11cqh; font: 700 10cqh/1 var(--sans); animation: ui-lang-on 6s infinite; }
.ui-lang b:nth-of-type(2) { animation-name: ui-lang-off; }
@keyframes ui-lang-on { 0%, 32% { color: #F5F0E7; } 38%, 80% { color: #2D2B26; } 86%, 100% { color: #F5F0E7; } }
@keyframes ui-lang-off { 0%, 32% { color: #2D2B26; } 38%, 80% { color: #F5F0E7; } 86%, 100% { color: #2D2B26; } }
.ui-lang .ui-cursor { animation: ui-lang-cursor 6s ease-in-out infinite; }
@keyframes ui-lang-cursor { 0% { left: 110%; top: 140%; } 24%, 30% { left: 70%; top: 55%; scale: 1; } 32% { scale: .8; } 35%, 60% { left: 70%; top: 55%; scale: 1; } 72%, 76% { left: 22%; top: 55%; } 78% { scale: .8; } 81% { scale: 1; } 100% { left: 110%; top: 140%; } }

/* copy email: click, icon morphs to a check, toast pops */
.ui-copy { position: relative; display: flex; align-items: center; gap: 2.6cqh; padding: 2.4cqh 2.4cqh 2.4cqh 4.4cqh; border-radius: 4cqh; background: #fff; box-shadow: 0 1.6cqh 3.6cqh -1.8cqh rgba(45,43,38,.35); }
.ui-copy__mail { font: 500 4.6cqh var(--sans); color: #2D2B26; }
.ui-copy__btn { position: relative; width: 12cqh; height: 12cqh; border-radius: 2.8cqh; background: #E4DDCF; animation: ui-copy-btn 5s infinite; }
@keyframes ui-copy-btn { 0%, 34% { background: #E4DDCF; scale: 1; } 36% { scale: .86; } 40%, 72% { background: #8699E8; scale: 1; } 80%, 100% { background: #E4DDCF; } }
.ui-copy__icon { position: absolute; inset: 28% 22% 22% 28%; border: .5cqh solid #2D2B26; border-radius: .8cqh; box-shadow: -1cqh -1cqh 0 -.5cqh #E4DDCF, -1cqh -1cqh 0 0 #2D2B26; animation: ui-copy-icon 5s infinite; }
@keyframes ui-copy-icon { 0%, 36% { opacity: 1; scale: 1; } 40%, 74% { opacity: 0; scale: .5; } 80%, 100% { opacity: 1; scale: 1; } }
.ui-copy__check { position: absolute; left: 36%; top: 22%; width: 26%; height: 44%; border: solid #fff; border-width: 0 .7cqh .7cqh 0; rotate: 45deg; opacity: 0; scale: .4; animation: ui-copy-check 5s cubic-bezier(.34,1.8,.5,1) infinite; }
@keyframes ui-copy-check { 0%, 37% { opacity: 0; scale: .4; } 42%, 72% { opacity: 1; scale: 1; } 78%, 100% { opacity: 0; scale: .4; } }
.ui-copy__toast { position: absolute; right: -1cqh; top: -12cqh; font: 600 3.8cqh var(--sans); background: #2D2B26; color: #F5F0E7; padding: 1cqh 1.8cqh; border-radius: 99px; opacity: 0; animation: ui-copy-toast 5s cubic-bezier(.34,1.6,.5,1) infinite; }
@keyframes ui-copy-toast { 0%, 38% { opacity: 0; translate: 0 1.4cqh; } 44%, 70% { opacity: 1; translate: 0 0; } 78%, 100% { opacity: 0; translate: 0 -1.4cqh; } }
.ui-copy .ui-cursor { animation: ui-copy-cursor 5s ease-in-out infinite; }
@keyframes ui-copy-cursor { 0% { left: 60%; top: 220%; } 28%, 34% { left: 92%; top: 55%; scale: 1; } 36% { scale: .8; } 40%, 70% { left: 92%; top: 55%; scale: 1; } 100% { left: 60%; top: 220%; } }

/* loading button: label -> spinner -> check, then a confirmation message */
.ui-send-wrap { display: grid; justify-items: center; gap: 3cqh; }
.ui-send { position: relative; display: grid; place-items: center; height: 22cqh; width: 86cqw; border-radius: 99px; background: #1E2233; color: #fff; box-shadow: 0 2.4cqh 4.8cqh -2.4cqh rgba(30,34,51,.55); animation: ui-send 6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes ui-send { 0%, 14% { width: 86cqw; background: #1E2233; scale: 1; } 16% { scale: .95; } 22%, 48% { width: 22cqh; background: #1E2233; scale: 1; } 52%, 86% { width: 22cqh; background: #3DBB6C; } 94%, 100% { width: 86cqw; background: #1E2233; } }
.ui-send__label { font: 600 7cqh var(--sans); letter-spacing: -.02em; white-space: nowrap; animation: ui-send-label 6s infinite; }
@keyframes ui-send-label { 0%, 16% { opacity: 1; } 20%, 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
.ui-send__spin { position: absolute; width: 9cqh; height: 9cqh; border-radius: 50%; border: .9cqh solid rgba(255,255,255,.25); border-top-color: #fff; opacity: 0; animation: spin .8s linear infinite, ui-send-spin 6s infinite; }
@keyframes ui-send-spin { 0%, 22% { opacity: 0; } 26%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
.ui-send__done { position: absolute; width: 4.8cqh; height: 9cqh; margin-top: -1.8cqh; border: solid #fff; border-width: 0 1.4cqh 1.4cqh 0; rotate: 45deg; opacity: 0; scale: .3; animation: ui-send-done 6s cubic-bezier(.34,1.8,.5,1) infinite; }
@keyframes ui-send-done { 0%, 50% { opacity: 0; scale: .3; } 55%, 86% { opacity: 1; scale: 1; } 90%, 100% { opacity: 0; scale: .3; } }
.ui-send__msg { display: flex; align-items: center; gap: 1.6cqh; margin: 0; padding: 2cqh 3cqh; border-radius: 99px; background: #fff; color: #1E2233; font: 600 3.3cqh var(--sans); box-shadow: 0 1.6cqh 3cqh -1.6cqh rgba(30,34,51,.35); opacity: 0; translate: 0 2cqh; animation: ui-send-msg 6s cubic-bezier(.34,1.5,.5,1) infinite; white-space: nowrap; }
.ui-send__msg svg { width: 4.4cqh; height: 4.4cqh; fill: none; stroke: #3DBB6C; stroke-width: 2; stroke-linejoin: round; }
@keyframes ui-send-msg { 0%, 56% { opacity: 0; translate: 0 2cqh; } 62%, 86% { opacity: 1; translate: 0 0; } 92%, 100% { opacity: 0; translate: 0 2cqh; } }

/* photography, Instagram-style: a profile grid and a campaign post in two phones */
.prod__stage > .iphone--pa, .prod__stage > .iphone--pb { position: absolute; margin: 0; height: 84cqh; }
.iphone--pa { left: 9%; top: 9%; }
.iphone--pb { right: 8%; top: 20%; }
.ig { position: absolute; inset: 7cqh 0 0; background: #fff; display: flex; flex-direction: column; gap: 1.2cqh; padding: 1.4cqh 0 0; font-family: var(--sans); color: #111; }
.ig__head { display: flex; align-items: center; gap: 1.4cqh; padding: 0 1.6cqh; }
.ig__avatar { width: 6.4cqh; height: 6.4cqh; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .35cqh #fff, 0 0 0 .7cqh #F26B5B; }
.ig__head p { display: grid; margin: 0; font-size: 1.35cqh; color: #666; }
.ig__head b { font-size: 1.7cqh; color: #111; }
.ig__highlights { display: flex; gap: 1.2cqh; padding: 0 1.6cqh; }
.ig__highlights span { display: grid; justify-items: center; gap: .5cqh; font-size: 1.1cqh; color: #444; }
.ig__highlights i { width: 5cqh; height: 5cqh; border-radius: 50%; background: #eee center / cover; box-shadow: 0 0 0 .25cqh #fff, 0 0 0 .45cqh #ddd; }
.ig__tabs { display: flex; border-bottom: .15cqh solid #eee; }
.ig__tabs i { flex: 1; height: 3cqh; }
.ig__tabs i.is-on { box-shadow: inset 0 -.3cqh 0 #111; }
.ig__grid { flex: 1; overflow: clip; }
.ig__cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3cqh; animation: ig-scroll 24s linear infinite; }
.ig__cells img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@keyframes ig-scroll { to { translate: 0 -50%; } }
.ig-post { position: absolute; inset: 7cqh 0 0; background: #fff; font-family: var(--sans); color: #111; }
.ig-post__head { display: flex; align-items: center; gap: 1.2cqh; padding: 1.2cqh 1.4cqh; }
.ig-post__ring { width: 4.6cqh; height: 4.6cqh; border-radius: 50%; padding: .3cqh; background: conic-gradient(#FFD44D, #F26B5B, #C13584, #FFD44D); }
.ig-post__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: .3cqh solid #fff; }
.ig-post__head p { display: grid; margin: 0; font-size: 1.2cqh; color: #666; }
.ig-post__head b { font-size: 1.5cqh; color: #111; }
.ig-post__media { position: relative; aspect-ratio: 4 / 5; overflow: clip; }
.ig-post__slides { display: flex; width: 200%; height: 100%; animation: ig-swipe 8s cubic-bezier(.65,0,.35,1) infinite; }
.ig-post__slides img { width: 50%; height: 100%; object-fit: cover; }
@keyframes ig-swipe { 0%, 40% { translate: 0 0; } 48%, 90% { translate: -50% 0; } 98%, 100% { translate: 0 0; } }
.ig-post__heart { position: absolute; left: 50%; top: 50%; width: 12cqh; height: 12cqh; translate: -50% -50%; fill: #fff; scale: 0; opacity: 0; filter: drop-shadow(0 .6cqh 1.2cqh rgba(0,0,0,.3)); animation: ig-heart 8s cubic-bezier(.34,1.8,.5,1) infinite; }
@keyframes ig-heart { 0%, 20% { scale: 0; opacity: 0; } 25% { scale: 1.15; opacity: 1; } 30%, 36% { scale: 1; opacity: 1; } 40%, 100% { scale: 0; opacity: 0; } }
.ig-post__count { position: absolute; top: 1.2cqh; right: 1.2cqh; font-size: 1.2cqh; color: #fff; background: rgba(0,0,0,.55); border-radius: 99px; padding: .3cqh .9cqh; }
.ig-post__dots { display: flex; justify-content: center; gap: .5cqh; padding-top: 1cqh; }
.ig-post__dots i { width: .8cqh; height: .8cqh; border-radius: 50%; background: #ccc; }
.ig-post__dots i:first-child { animation: ig-dot 8s infinite; }
.ig-post__dots i:last-child { animation: ig-dot 8s infinite -3.9s; }
@keyframes ig-dot { 0%, 44% { background: #3897F0; } 48%, 100% { background: #ccc; } }
.ig-post__actions { display: flex; gap: 1.6cqh; padding: .4cqh 1.4cqh; }
.ig-post__actions i { width: 2.4cqh; height: 2.6cqh; border-radius: .7cqh; border: .3cqh solid #111; }
.ig-post__actions i:nth-child(2) { border-radius: 50%; }
.ig-post__like { width: 2.8cqh; height: 2.8cqh; fill: none; stroke: #111; stroke-width: 9; animation: ig-like 8s infinite; }
@keyframes ig-like { 0%, 24% { fill: none; stroke: #111; } 26%, 100% { fill: #ED4956; stroke: #ED4956; } }
.ig-post__views, .ig-post__cap { margin: .6cqh 1.4cqh 0; font-size: 1.35cqh; line-height: 1.35; }
.ig-post__views b { font-size: 1.5cqh; }

/* branding: Grupo Videas */
.gv { display: grid; justify-items: center; gap: 3cqh; margin-top: 4cqh; }
.gv__card { position: relative; width: 60cqw; aspect-ratio: 1.75; perspective: 1200px; }
.gv__face { position: absolute; inset: 0; border-radius: 1.8cqh; backface-visibility: hidden; overflow: hidden; box-shadow: 0 3cqh 5cqh -2cqh rgba(0,0,0,.45); animation: gv-flip 7s cubic-bezier(.65,0,.35,1) infinite; }
.gv__face img { width: 100%; height: 100%; object-fit: cover; }
.gv__face--back { background: #F2EADF; color: #2B2724; display: grid; align-content: center; padding: 0 3.4cqh; gap: .6cqh; animation-name: gv-flip-back; }
.gv__face--back b { font: 700 3.4cqh var(--sans); letter-spacing: -.03em; color: #A4452C; }
.gv__face--back small { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.gv__face--back span { font-size: 1.6cqh; margin-top: 1.4cqh; }
@keyframes gv-flip { 0%, 40% { transform: rotateY(0deg); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes gv-flip-back { 0%, 40% { transform: rotateY(-180deg); } 50%, 90% { transform: rotateY(0deg); } 100% { transform: rotateY(180deg); } }
.gv__palette { display: flex; gap: 1.4cqh; }
.gv__palette i { width: 5cqh; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 .4cqh rgba(255,255,255,.25); animation: pop-in 7s infinite; }
.gv__palette i:nth-child(2) { animation-delay: .15s; }
.gv__palette i:nth-child(3) { animation-delay: .3s; }
.gv__palette i:nth-child(4) { animation-delay: .45s; }
.gv__line { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #F2EADF; margin: 0; }

/* iPhone */
.iphone {
  position: relative;
  height: 88cqh; aspect-ratio: 390 / 844;
  padding: 1.6cqh;
  border-radius: 6.5cqh;
  background: #111;
  box-shadow: 0 0 0 .5cqh #3A3A3C, 0 4cqh 6cqh -2cqh rgba(20,24,60,.55);
  margin-top: 6cqh;
}
.iphone__screen { position: relative; width: 100%; height: 100%; border-radius: 5cqh; overflow: clip; background: var(--status, #F1F1F1); }
.iphone__status {
  position: absolute; inset: 0 0 auto 0; height: 7cqh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6.5cqh 0 7cqh;
  font: 600 2.2cqh var(--sans); color: #111; background: var(--status, #F1F1F1); /* matches the app's own top color */
}
.iphone__icons { display: flex; gap: .6cqh; align-items: flex-end; }
.iphone__icons i { width: .7cqh; height: 1.4cqh; border-radius: .2cqh; background: #111; }
.iphone__icons i:nth-child(2) { height: 1.8cqh; }
.iphone__icons i:nth-child(3) { width: 2.6cqh; height: 1.3cqh; border-radius: .4cqh; }
.iphone__screen .embed { top: 7cqh; }
/* a pair of phones: one a little lower, like they're propped side by side */
.iphones { display: flex; gap: 5cqw; align-items: flex-start; }
.iphones .iphone { height: 82cqh; margin-top: 4cqh; }
.iphones .iphone:first-child { rotate: -3deg; }
.iphones .iphone:last-child { rotate: 3deg; margin-top: 10cqh; }

.iphone__island { position: absolute; top: 3cqh; left: 50%; width: 28%; height: 3.4cqh; translate: -50% 0; border-radius: 99px; background: #111; pointer-events: none; }

/* desktop computer */
.imac { width: min(84cqw, 118cqh); display: grid; justify-items: center; margin-top: 4cqh; }
.imac__screen {
  position: relative;
  width: 100%; aspect-ratio: 1280 / 800;
  border: 1.4cqw solid #141414;
  border-bottom: 0;
  border-radius: 2cqw 2cqw 0 0;
  overflow: clip;
  background: #fff;
}
.imac__chin { width: 100%; height: 5cqw; background: linear-gradient(180deg, #E4E2DE, #C9C7C2); border-radius: 0 0 2cqw 2cqw; box-shadow: 0 3cqw 5cqw -2cqw rgba(0,0,0,.45); }
.imac__stand { width: 20%; height: 6cqw; background: linear-gradient(180deg, #BDBBB6, #D8D6D1); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }

/* ---------- CTA ---------- */
.cta { padding: clamp(90px, 11vw, 160px) var(--gutter) clamp(40px, 6vw, 80px); overflow: hidden; }
.section-title--cta { font-size: clamp(48px, 7vw, 120px); }
/* contact panel: collaboration email + socials */
.connect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: clamp(36px, 5vw, 64px) auto 0;
  border-block: 1px solid var(--line);
}
.connect__col { padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); }
.connect__col + .connect__col { border-left: 1px solid var(--line); }
.connect__label { font-size: clamp(18px, 1.6vw, 23px); color: var(--muted); letter-spacing: -.01em; margin-bottom: 20px; }

.copy-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(45,43,38,.05), 0 10px 24px -16px rgba(45,43,38,.4);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.copy-chip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-chip__btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--cream-deep);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, transform .3s cubic-bezier(.34,1.6,.5,1);
}
.copy-chip__btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-chip__btn .i-check { display: none; }
.copy-chip__btn:hover { background: var(--blue-soft); }
.copy-chip__btn:active { transform: scale(.92); }
.copy-chip__btn.is-copied { background: var(--blue); }
.copy-chip__btn.is-copied .i-copy { display: none; }
.copy-chip__btn.is-copied .i-check { display: block; }
.copy-chip__btn:focus-visible, .copy-chip a:focus-visible, .socials a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.copy-chip__toast {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  font: 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .3s cubic-bezier(.34,1.6,.5,1);
  pointer-events: none;
}
.copy-chip__toast.is-on { opacity: 1; transform: none; }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(45,43,38,.05), 0 10px 24px -16px rgba(45,43,38,.4);
  transition: transform .35s cubic-bezier(.34,1.6,.5,1), background .2s, border-color .2s;
}
.socials svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { transform: translateY(-4px) rotate(-4deg); background: var(--blue); border-color: transparent; }

/* ---------- sky: one reusable scene (hero + footer band) that works day and night ---------- */
.sky-band {
  --h: clamp(220px, 24vw, 340px);
  position: relative;
  height: var(--h);
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-mid) 55%, var(--sky-top) 100%);
}
/* cloud banks are a shape mask filled with a color token, so night mode just swaps the colors */
.clouds {
  --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160'%3E%3Cg%3E%3Ccircle cx='70' cy='112' r='42'/%3E%3Ccircle cx='135' cy='88' r='58'/%3E%3Ccircle cx='215' cy='100' r='50'/%3E%3Ccircle cx='285' cy='80' r='62'/%3E%3Ccircle cx='350' cy='112' r='40'/%3E%3Crect y='118' width='400' height='42'/%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  inset: auto 0 0 0;
  height: calc(var(--h) * var(--k));
  --tw: calc(var(--h) * var(--k) * 2.5); /* one cloud tile is 2.5x as wide as it is tall */
  background: var(--cloud-c);
  -webkit-mask: var(--cloud) 0 100% / auto 100% repeat-x;
  mask: var(--cloud) 0 100% / auto 100% repeat-x;
  animation: drift var(--dur) linear infinite;
  pointer-events: none;
}
.clouds--back  { --k: .78; --dur: 140s; --cloud-c: #D4DCF5; animation-delay: -40s; }
.clouds--mid   { --k: .58; --dur: 90s;  --cloud-c: #E6E7F0; animation-delay: -20s; }
.clouds--front { --k: .40; --dur: 55s;  --cloud-c: var(--paper); }
:root[data-theme="dark"] .clouds--back { --cloud-c: #22306B; }
:root[data-theme="dark"] .clouds--mid  { --cloud-c: #1A2554; }
@keyframes drift { to { -webkit-mask-position: calc(var(--tw) * -1) 100%; mask-position: calc(var(--tw) * -1) 100%; } }

.sky-band__sparkles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--blue);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
  animation: twinkle 3.2s ease-in-out var(--t) infinite;
}
:root[data-theme="dark"] .sky-band__sparkles i { background: var(--cream); }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .35; } }

/* starfield, only at night */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent),
    radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent),
    radial-gradient(1.4px 1.4px at 41% 12%, #fff 50%, transparent),
    radial-gradient(1px 1px at 58% 33%, #fff 50%, transparent),
    radial-gradient(1.2px 1.2px at 69% 8%, #fff 50%, transparent),
    radial-gradient(1px 1px at 83% 27%, #fff 50%, transparent),
    radial-gradient(1.4px 1.4px at 93% 47%, #fff 50%, transparent),
    radial-gradient(1px 1px at 6% 55%, #fff 50%, transparent),
    radial-gradient(1px 1px at 35% 64%, #fff 50%, transparent),
    radial-gradient(1.2px 1.2px at 76% 58%, #fff 50%, transparent);
  background-size: 420px 320px;
}
:root[data-theme="dark"] .stars { opacity: .85; }

/* ---------- about page ---------- */
.about-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.about-hero {
  position: relative;
  padding: clamp(150px, 20vw, 240px) 0 clamp(70px, 9vw, 120px);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--paper) 100%); /* follows day / night */
  overflow: hidden;
}
.about-hero .eyebrow { margin-bottom: 18px; }
.about-hero__title {
  font-weight: 500;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: clamp(28px, 3vw, 40px);
  max-width: 13ch;
}
.about-block { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0; }
.about-block p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; letter-spacing: -.01em; }
.about-block p + p { margin-top: 1em; }
.about-label.about-label { font-size: clamp(18px, 1.6vw, 23px); color: var(--muted); margin-bottom: 22px; }

.open-to { font: 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; line-height: 1.8; color: var(--muted); }
.open-to__roles { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.open-to__roles li { font: 500 15px var(--sans); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }

/* polaroid stack */
.about-block--photo { display: grid; place-items: center; }
.polaroids { position: relative; width: min(340px, 72vw); }
.polaroid {
  display: block;
  background: var(--surface);
  padding: 12px 12px 0;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(45,43,38,.06), 0 24px 40px -24px rgba(45,43,38,.5);
}
.polaroid--back, .polaroid--mid { position: absolute; inset: 0; }
.polaroid--back { transform: rotate(-9deg) translate(-6%, 2%); }
.polaroid--mid { transform: rotate(6deg) translate(5%, -1%); }
.polaroid--front { position: relative; transform: rotate(-3deg); transition: transform .5s cubic-bezier(.34,1.6,.5,1); }
.polaroids:hover .polaroid--front { transform: rotate(0deg) translateY(-6px); }
.polaroid__img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-soft) 70%, var(--cream) 100%);
  display: grid;
  place-items: center;
}
.polaroid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.polaroid__empty { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--charcoal); text-align: center; padding: 0 10px; }
.polaroid figcaption { padding: 16px 0 20px; text-align: center; font-size: 18px; letter-spacing: -.01em; }

/* photo board: four polaroids visitors can drag around */
.photo-hint { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; margin-bottom: 8px; }
.collage--photos { width: min(900px, 100%); height: clamp(360px, 36vw, 440px); margin-top: 0; }
.collage--photos .polaroid { width: clamp(170px, 19vw, 230px); }
.collage--photos .polaroid img { -webkit-user-drag: none; pointer-events: none; }
.polaroid--family   { left: 3%;  top: 10%; }
.polaroid--eating   { left: 27%; top: 26%; }
.polaroid--formal   { left: 51%; top: 4%; }
.polaroid--studying { left: 74%; top: 22%; }
@media (max-width: 640px) {
  .collage--photos { height: 560px; }
  .collage--photos .polaroid { width: 43%; padding: 8px 8px 0; }
  .collage--photos figcaption { padding: 10px 0 12px; font-size: 15px; }
  .polaroid--family   { left: 4%;  top: 0; }
  .polaroid--eating   { left: 52%; top: 6%; }
  .polaroid--formal   { left: 6%;  top: 48%; }
  .polaroid--studying { left: 51%; top: 53%; }
}

/* experience list */
.jobs { list-style: none; }
.job__link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.job__link:hover { color: var(--label); }
.job { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 22px 0; }
.job + .job { border-top: 1px solid var(--line); }
.job__logo {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px var(--line);
  transform: rotate(-4deg);
  transition: transform .45s cubic-bezier(.34,1.8,.5,1);
}
.job:nth-child(even) .job__logo { transform: rotate(4deg); }
.job:hover .job__logo { transform: rotate(0) scale(1.08); }
.about-block .job__role { font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; }
.about-block .job__where { margin-top: 2px; font-size: 16px; color: var(--muted); line-height: 1.4; }
.about-block .job__note { margin-top: 6px; font-size: 15px; line-height: 1.45; }

/* skills */
.about-langs { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: -4px 0 22px; }
.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.skills li {
  font: 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 13px;
  transition: background .2s, color .2s;
}
.skills li:hover { background: var(--ink); color: var(--paper); }

/* "ready for what's next" collage: paper objects you can drag around */
.about-cta { border-top: 1px solid var(--line); }
.about-cta > .section-title { text-align: center; }
.collage {
  position: relative;
  height: clamp(300px, 34vw, 420px);
  max-width: 900px;
  margin: clamp(24px, 3vw, 40px) auto 0;
}
.collage > * {
  position: absolute;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r));
  transition: box-shadow .3s;
  text-align: left;
}
.collage > .is-dragging { cursor: grabbing; transition: none; box-shadow: 0 40px 60px -30px rgba(45,43,38,.6); }
.note {
  left: 6%; top: 12%;
  width: clamp(170px, 20vw, 220px);
  padding: 18px 18px 22px;
  background: var(--blue-soft);
  border-radius: 4px 4px 4px 22px;
  box-shadow: 0 24px 36px -24px rgba(45,43,38,.5);
}
.note__title { font-weight: 600; font-size: 18px; letter-spacing: -.02em; margin-bottom: 10px; }
.note ul { list-style: none; }
.note li { font: 14px/1.9 var(--mono); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.note li::before { content: "✓ "; color: var(--charcoal); }
.pass {
  left: 34%; top: 4%;
  width: clamp(250px, 30vw, 330px);
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(45,43,38,.06), 0 30px 44px -28px rgba(45,43,38,.55);
}
.pass__top { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--charcoal); color: var(--cream); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.pass__route { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.pass__route small { display: block; font: 11px var(--mono); text-transform: uppercase; color: var(--muted); }
.pass__route strong { font-weight: 600; font-size: clamp(34px, 4vw, 46px); letter-spacing: -.04em; line-height: 1; }
.pass__route svg { width: 36px; fill: var(--blue); }
.pass__meta { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px 16px; border-top: 2px dashed var(--line); font: 11px var(--mono); text-transform: uppercase; color: var(--muted); }
.tag-hello {
  right: 5%; top: 30%;
  width: clamp(180px, 21vw, 230px);
  background: var(--blue);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 30px 44px -28px rgba(45,43,38,.55);
}
.tag-hello__top { text-align: center; color: var(--cream); font-weight: 600; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 6px 0 8px; }
.tag-hello__top small { display: block; font: 11px var(--mono); letter-spacing: .1em; margin-top: 4px; }
.tag-hello__name { background: var(--surface); border-radius: 8px; text-align: center; padding: 18px 0; font-weight: 500; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.03em; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 24px var(--gutter) 32px;
  background: var(--charcoal);
  font: 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(245,240,231,.65);
}
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--cream); }

/* ---------- responsive ---------- */
/* about collage stacks tighter on phones */
@media (max-width: 640px) {
  .collage { height: 470px; }
  .note { left: 2%; top: 44%; }
  .pass { left: 4%; top: 0; }
  .tag-hello { right: 2%; top: 40%; }
}
/* contact panel: side by side on web, stacked and centered on phones */
@media (max-width: 640px) {
  .connect { grid-template-columns: 1fr; text-align: center; }
  .connect__col + .connect__col { border-left: 0; border-top: 1px solid var(--line); }
  .socials { justify-content: center; }
}


@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .laptop { width: 96%; left: 6%; --ly: -56%; }
  .tablet { width: 86%; top: 42%; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-clouds, .laptop, .tablet, .laptop__display img.is-next, .phone-swap, .phone-swap img.is-next, .card__stage--phones > img, .card__stage > img, .card__waves { animation: none !important; }
  .squares i { animation: none; transform: none; opacity: 1; }
  .ltr.is-in, .ltr.is-out, .flight__view::after, .flight__track::before, .flight__plane, .flight__status i, .hero__dot, .clouds { animation: none; }
  .status__dot { animation: none; }
  ::view-transition-group(*) { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee__track, .clouds, .sky-band__sparkles i { animation: none; }
  .prod__stage *, .prod__stage *::before, .prod__stage *::after { animation: none !important; }
  .showcase__cam { transition: none; }
  .sky-band__plane { animation: none; transform: translate(62vw, 0) rotate(-4deg); }
}

/* ---------- theme safety: anything sitting on light blue keeps dark text in both themes ---------- */
.hire button, .btn__icon, .chip--metric, .copy-chip__btn:hover, .copy-chip__btn.is-copied,
.socials a:hover, .note, .sticker { color: var(--charcoal); }
.sticker { border-color: var(--charcoal); }
.sticker--star svg, .sticker--sun svg { stroke: var(--charcoal); }

/* ---------- paper plane that follows your scroll ---------- */
.scroll-plane {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 15;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  will-change: transform;
}
.plane-trail { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; z-index: 14; overflow: visible; } /* 1px box so it never changes the page height; dots overflow it */
.plane-trail circle { fill: var(--ink); }
@media (max-width: 760px) {
  .scroll-plane { width: 34px; height: 34px; }
  .plane-trail circle { r: 1.8px; }
}
.scroll-plane svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 8px rgba(20,24,60,.25)); transition: transform .4s cubic-bezier(.34,1.8,.5,1); }
.scroll-plane .wing { fill: var(--surface); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.scroll-plane .fold { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.scroll-plane:hover svg { transform: scale(1.2); }
.scroll-plane:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 50%; }


/* ---------- circle cursor (mouse only) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference; /* stays visible on light sky and dark night */
  pointer-events: none;
  transform: translate(var(--x, -100px), var(--y, -100px)) scale(var(--k, 1));
  transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.cursor.is-link { --k: 2.6; }
.cursor.is-down { --k: .7; }
.cursor.is-hidden { opacity: 0; }

/* ---- project covers: one strong visual per card, some moving, some still ---- */
.card__stage--art { --bg: var(--blue); background: var(--bg); color: var(--ink-on, #fff); isolation: isolate; }
.cv-word { position: absolute; left: 50%; bottom: -.16em; translate: -50% 0; z-index: -1; font-weight: 600; font-size: calc(var(--h, 420px) * .42); line-height: 1; letter-spacing: -.06em; white-space: nowrap; color: currentColor; opacity: .14; pointer-events: none; transition: translate .9s cubic-bezier(.2,.8,.2,1); }
.card:hover .cv-word { translate: -50% -6%; }
.cv-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s cubic-bezier(.2,.8,.2,1); }
.card:hover .cv-fill { scale: 1.04; }
.cv-fill--crop { scale: 1.1; transform-origin: 0 0; }
.card:hover .cv-fill--crop { scale: 1.13; }
.cv-phone { position: relative; height: 78%; aspect-ratio: 9 / 18.6; border-radius: calc(var(--h, 420px) * .07); border: calc(var(--h, 420px) * .018) solid #111; background: #111; overflow: hidden; box-shadow: 0 0 0 1.5px #3A3A3C, 0 40px 60px -30px rgba(0,0,0,.6); transition: rotate .8s cubic-bezier(.34,1.5,.5,1), translate .8s cubic-bezier(.34,1.5,.5,1); }
.cv-phone img, .cv-phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card:hover .cv-phone { rotate: -4deg; translate: 0 -3%; }
.cv-cycle img { opacity: 0; transition: opacity .7s ease; }
.cv-cycle img.is-on { opacity: 1; }
.cv-fig { position: relative; height: 100%; width: 100%; display: grid; place-items: center; }

/* SYRIOS: a coin that flips, others drifting; they spread out on hover */
.cv-coin { position: absolute; width: calc(var(--h, 420px) * var(--s)); left: var(--x); top: var(--y); translate: -50% -50%; filter: drop-shadow(0 14px 18px rgba(0,0,0,.45)); animation: cv-bob calc(5s + var(--d) * 2s) ease-in-out infinite alternate; transition: left 1s cubic-bezier(.2,.8,.2,1), top 1s cubic-bezier(.2,.8,.2,1); }
.card:hover .cv-coin { left: var(--hx); top: var(--hy); }
@keyframes cv-bob { to { transform: translateY(-10px) rotate(8deg); } }
.cv-flip { position: relative; height: 68%; aspect-ratio: 1; transform-style: preserve-3d; animation: cv-flip 8s cubic-bezier(.65,0,.35,1) infinite; }
.cv-flip img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.cv-flip img + img { transform: rotateY(180deg); }
@keyframes cv-flip { 0%, 40% { transform: perspective(1200px) rotateY(0) rotateZ(-4deg); } 50%, 90% { transform: perspective(1200px) rotateY(180deg) rotateZ(4deg); } 100% { transform: perspective(1200px) rotateY(360deg) rotateZ(-4deg); } }

/* RecipeBox: feature pills pop in beside the phone */
.cv-pill { position: absolute; z-index: 2; padding: 8px 13px; border-radius: 999px; background: #fff; color: #1F3A2A; font: 600 13px var(--sans); white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(31,58,42,.55); opacity: 0; animation: cv-pop 9s cubic-bezier(.34,1.5,.5,1) infinite; }
.cv-pill:nth-of-type(2) { animation-delay: 3s; background: #3F6B4E; color: #fff; }
.cv-pill:nth-of-type(3) { animation-delay: 6s; background: #F2A07B; }
@keyframes cv-pop { 0% { opacity: 0; translate: 0 12px; } 5%, 28% { opacity: 1; translate: 0 0; } 34%, 100% { opacity: 0; translate: 0 -8px; } }

/* caption: title and category on one line, a short description under it */
.card__caption { padding: 14px 6px 6px; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__tag { flex: none; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card__caption p.card__desc { font: 15px/1.45 var(--sans); text-transform: none; letter-spacing: -.005em; color: var(--muted); margin-top: 6px; max-width: 52ch; }
@media (prefers-reduced-motion: reduce) { .cv-coin, .cv-flip, .cv-pill { animation: none; } .cv-pill { opacity: 1; } }
.card__stage--art > .cv-fill { transform: none; animation: none; object-position: 50% 50%; }
.card__stage--art > .cv-fill--crop { object-position: 0 0; }
.cv-card { position: relative; width: 84%; max-height: 80%; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); rotate: -2deg; transition: rotate .8s cubic-bezier(.34,1.5,.5,1), scale .8s cubic-bezier(.34,1.5,.5,1); }
.card:hover .cv-card { rotate: 0deg; scale: 1.03; }
/* keep the older "screenshot fills the card" rule off the cover pieces */
.card__stage--art > .cv-coin { position: absolute; inset: auto; left: var(--x); top: var(--y); height: auto; width: calc(var(--h, 420px) * var(--s)); object-fit: contain; transform-origin: 50% 50%; animation: cv-bob calc(5s + var(--d) * 2s) ease-in-out infinite alternate; transition: left 1s cubic-bezier(.2,.8,.2,1), top 1s cubic-bezier(.2,.8,.2,1); }
.card__stage--art > .cv-card { position: relative; inset: auto; height: auto; width: 84%; transform: none; animation: none; object-position: 50% 50%; }
/* M3 cover: the new homepage scrolling in a browser window, with an ad card beside it */
.cv-browser { position: relative; width: 70%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); transition: translate .8s cubic-bezier(.34,1.5,.5,1); }
.cv-browser::before { content: ""; display: block; height: 16px; background-color: #ECECEC; background-image: radial-gradient(circle, #FF5F57 0 3.5px, transparent 4px), radial-gradient(circle, #FEBC2E 0 3.5px, transparent 4px), radial-gradient(circle, #28C840 0 3.5px, transparent 4px); background-size: 12px 100%; background-position: 8px 0, 21px 0, 34px 0; background-repeat: no-repeat; }
.cv-browser img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 0; animation: cv-scroll 22s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes cv-scroll { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
.cv-ad { position: absolute; right: 7%; bottom: 9%; width: 26%; border-radius: 8px; rotate: 6deg; box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); transition: rotate .8s cubic-bezier(.34,1.5,.5,1), translate .8s cubic-bezier(.34,1.5,.5,1); }
.card:hover .cv-browser { translate: -3% 0; }
.card:hover .cv-ad { rotate: 0deg; translate: 0 -6%; }
.cv-card--back { position: absolute !important; width: 62% !important; rotate: 7deg; translate: 18% -12%; opacity: .95; }
.cv-card--front { width: 62% !important; translate: -14% 10%; }
@media (prefers-reduced-motion: reduce) { .cv-browser img { animation: none; } }
.card__stage--art > .cv-ad { position: absolute; inset: auto; right: 7%; bottom: 9%; width: 26%; height: auto; transform: none; animation: none; }
.card:hover .card__stage--art > .cv-coin { left: var(--hx); top: var(--hy); }

/* ---- two Instagram phones: the profile grid and a post, tilted like a flat-lay ---- */
.igx-pair { position: relative; height: var(--ph, 80%); aspect-ratio: .92; }
.igx-phone { position: absolute; top: 0; height: 100%; aspect-ratio: 9 / 18.6; border-radius: 9% / 4.4%; border: 1.6cqh solid #111; background: #fff; overflow: hidden; box-shadow: 0 0 0 1.5px #3A3A3C, 0 40px 60px -30px rgba(0,0,0,.6); transition: rotate .8s cubic-bezier(.34,1.5,.5,1), translate .8s cubic-bezier(.34,1.5,.5,1); container-type: inline-size; }
.igx-pair { container-type: size; }
.igx-phone--grid { left: 0; rotate: -8deg; z-index: 1; }
.igx-phone--post { right: 0; top: 8%; rotate: 9deg; z-index: 2; background: #000; }
.card:hover .igx-phone--grid, .st-cover:hover .igx-phone--grid { rotate: -11deg; translate: -4% -2%; }
.card:hover .igx-phone--post, .st-cover:hover .igx-phone--post { rotate: 6deg; translate: 4% -3%; }
.igx { display: flex; flex-direction: column; height: 100%; color: #111; font: 600 4.6cqw/1.2 -apple-system, "Inter Tight", system-ui, sans-serif; }
.igx__top { display: flex; align-items: center; justify-content: space-between; padding: 9cqw 5cqw 3cqw; font-size: 6cqw; }
.igx__top b { font-weight: 700; }
.igx__top b::after { content: " ⌄"; font-weight: 400; }
.igx__stories { display: flex; gap: 4cqw; padding: 1cqw 5cqw 3cqw; }
.igx__stories span { display: grid; justify-items: center; gap: 1.2cqw; font: 400 3.2cqw var(--sans); color: #333; width: 17cqw; text-align: center; white-space: nowrap; overflow: hidden; }
.igx__stories img { width: 15cqw; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .7cqw #fff, 0 0 0 1.3cqw #D5D5D5; }
.igx__tabs { display: flex; justify-content: space-around; padding: 2cqw 0; border-bottom: .4cqw solid #EEE; font-size: 5.5cqw; color: #888; }
.igx__tabs i:first-child { color: #111; box-shadow: 0 1.4cqw 0 -.8cqw #111; font-style: normal; }
.igx__tabs i { font-style: normal; }
.igx__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; }
.igx__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.igx__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 4cqw 6cqw 7cqw; font-size: 6cqw; color: #111; }
.igx-cycle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.igx-cycle img.is-on { opacity: 1; }
@media (max-width: 860px) { .st-cover .igx-pair { height: min(var(--ph), 88vw); } }

/* ---- Grupo Videas: the logo over a slowly drifting field of isotypes ---- */
.cv-videas { --bg: #F9F4EA; }
.cv-videas::before { content: ""; position: absolute; inset: -40%; background: url("assets/videas/isotype.jpg") 0 0 / 90px auto repeat; mix-blend-mode: multiply; opacity: .13; rotate: -12deg; animation: cv-drift 40s linear infinite; }
@keyframes cv-drift { to { background-position: 360px 270px; } }
.cv-logo { position: relative; width: 62%; mix-blend-mode: multiply; transition: scale .8s cubic-bezier(.34,1.5,.5,1); }
.card:hover .cv-logo { scale: 1.05; }
.card__stage--art > .cv-logo { inset: auto; height: auto; transform: none; animation: none; object-fit: contain; }

/* ---- Elite: a quote request that fills itself in ---- */
.cv-quote { position: relative; width: min(78%, 360px); padding: 22px; border-radius: 18px; background: #fff; color: #111; font: 500 13px/1.3 var(--sans); box-shadow: 0 40px 60px -30px rgba(0,0,0,.8); text-align: left; }
.cv-quote small { display: block; font: 700 10px var(--mono); letter-spacing: .14em; color: #C8102E; }
.cv-quote h4 { font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 4px 0 14px; }
.cv-quote__chips { display: flex; gap: 6px; margin-bottom: 12px; }
.cv-quote__chips span { padding: 7px 11px; border-radius: 999px; border: 1px solid #DDD; font-size: 12px; }
.cv-quote__chips span:first-child { animation: cv-q-chip 10s infinite; }
.cv-quote__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: #F4F4F4; margin-bottom: 8px; font-size: 12px; color: #777; }
.cv-quote__row b { font-weight: 600; color: #111; overflow: hidden; white-space: nowrap; width: 0; animation: cv-q-type 10s steps(12) infinite; }
.cv-quote__row:nth-of-type(2) b { animation-name: cv-q-type2; }
.cv-quote__btn { position: relative; margin-top: 6px; padding: 12px; border-radius: 10px; background: #111; color: #fff; text-align: center; font-weight: 600; animation: cv-q-btn 10s infinite; }
.cv-quote__done { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; opacity: 0; animation: cv-q-done 10s infinite; }
.cv-quote__done i { width: 52px; height: 52px; border-radius: 50%; background: #C8102E; color: #fff; display: grid; place-items: center; font: 700 24px var(--sans); font-style: normal; }
.cv-quote__done b { font-size: 18px; font-weight: 600; }
.cv-quote__done span { font-size: 12px; color: #777; }
.cv-cursor { position: absolute; z-index: 3; width: 22px; height: 22px; left: 80%; top: 90%; background: #fff; border: 2px solid #111; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,.3); animation: cv-q-cursor 10s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes cv-q-cursor { 0% { left: 80%; top: 95%; } 12%, 18% { left: 14%; top: 34%; } 20% { scale: .8; } 22% { scale: 1; } 44%, 50% { left: 50%; top: 80%; } 52% { scale: .8; } 54% { scale: 1; } 70%, 100% { left: 90%; top: 105%; } }
@keyframes cv-q-chip { 0%, 19% { background: #fff; color: #111; border-color: #DDD; } 21%, 100% { background: #111; color: #fff; border-color: #111; } }
@keyframes cv-q-type { 0%, 24% { width: 0; } 34%, 100% { width: 9ch; } }
@keyframes cv-q-type2 { 0%, 34% { width: 0; } 42%, 100% { width: 4ch; } }
@keyframes cv-q-btn { 0%, 51% { background: #111; } 53%, 60% { background: #C8102E; scale: .97; } 62%, 100% { background: #C8102E; scale: 1; } }
@keyframes cv-q-done { 0%, 60% { opacity: 0; scale: .96; } 64%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; } }

/* ---- Becoming Fully Funded: one phone swiping through the Instagram carousel ---- */
.cv-ig { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; color: #111; font: 600 11px -apple-system, var(--sans); container-type: inline-size; }
.cv-ig__head { display: flex; align-items: center; gap: 2.5cqw; padding: 13cqw 4cqw 3cqw; font-size: 4.4cqw; }
.cv-ig__head i { width: 9cqw; height: 9cqw; border-radius: 50%; background: #1C332C; color: #C7D92D; display: grid; place-items: center; font: italic 700 3.4cqw Georgia, serif; }
.cv-ig__media { position: relative; overflow: hidden; aspect-ratio: 677 / 837; }
.cv-ig__track { display: flex; height: 100%; transition: translate .7s cubic-bezier(.6,0,.2,1); }
.cv-ig__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.cv-ig__bar { display: flex; align-items: center; gap: 4cqw; padding: 3cqw 4cqw; font-size: 6cqw; }
.cv-ig__dots { display: flex; gap: 1.4cqw; margin: 0 auto; }
.cv-ig__dots b { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #CCC; transition: background .3s; }
.cv-ig__dots b.is-on { background: #3897F0; }
.cv-ig p { padding: 0 4cqw; font: 400 3.8cqw/1.4 var(--sans); color: #333; }
.cv-ig p b { font-weight: 700; }
.cv-phone--light { background: #fff; }

/* ---- Spring Gardens: the site video in a window, never cropped ---- */
.cv-window { position: relative; width: 82%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); transition: scale .8s cubic-bezier(.34,1.5,.5,1); }
.cv-window::before { content: ""; display: block; height: 16px; background-color: #ECECEC; background-image: radial-gradient(circle, #FF5F57 0 3.5px, transparent 4px), radial-gradient(circle, #FEBC2E 0 3.5px, transparent 4px), radial-gradient(circle, #28C840 0 3.5px, transparent 4px); background-size: 12px 100%; background-position: 8px 0, 21px 0, 34px 0; background-repeat: no-repeat; }
.cv-window div { overflow: hidden; aspect-ratio: 1208 / 660; }
.cv-window video { display: block; width: 109%; }
.card:hover .cv-window { scale: 1.03; }

/* ---- M3: logo up top, the new site on a phone, a sticker and a floating card ---- */
.cv-m3 { --bg: #D6E4F7; flex-direction: column; }
.cv-m3__logo { position: absolute; top: 6%; left: 50%; translate: -50% 0; height: 15%; width: auto; }
.card__stage--art > .cv-m3__logo { inset: 6% auto auto 50%; transform: none; animation: none; width: auto; object-fit: contain; }
.cv-m3 .cv-phone { position: absolute; top: 27%; left: 50%; translate: -50% 0; height: 92%; aspect-ratio: 500 / 1000; border-radius: 34px 34px 0 0; border-bottom: 0; }
.card:hover .cv-m3 .cv-phone { rotate: 0deg; translate: -50% -4%; }
.cv-m3 .cv-phone img { object-position: 50% 0; }
.cv-sticker { position: absolute; z-index: 3; left: 12%; top: 44%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: #8DC63F; color: #0F2E5C; display: grid; place-content: center; text-align: center; rotate: -12deg; box-shadow: 0 16px 30px -12px rgba(15,46,92,.55); font: 700 clamp(18px, 2.6vw, 34px)/1 var(--sans); letter-spacing: -.04em; animation: cv-wiggle 4s ease-in-out infinite alternate; }
.cv-sticker small { display: block; margin-top: 3px; font: 700 10px var(--mono); letter-spacing: .1em; }
@keyframes cv-wiggle { to { rotate: 6deg; } }
.cv-float { position: absolute; z-index: 3; right: 8%; top: 56%; width: 30%; padding: 14px; border-radius: 16px; background: #fff; color: #0F2E5C; rotate: 7deg; box-shadow: 0 24px 40px -18px rgba(15,46,92,.55); font: 600 13px/1.2 var(--sans); text-align: left; transition: rotate .8s cubic-bezier(.34,1.5,.5,1); }
.cv-float small { display: block; font: 700 9px var(--mono); letter-spacing: .1em; color: #2F6BD1; margin-bottom: 6px; }
.cv-float span { display: block; margin-top: 8px; padding: 9px; border-radius: 9px; background: #1F4F9E; color: #fff; text-align: center; font-size: 12px; }
.card:hover .cv-float { rotate: 0deg; }
@media (prefers-reduced-motion: reduce) { .cv-videas::before, .cv-sticker, .cv-quote *, .cv-cursor { animation: none !important; } .cv-quote__row b { width: auto; } }
.card__stage--art > .cv-m3__logo { height: 17%; }
.cv-phone .cv-ig__track img { position: static; inset: auto; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.cv-videas::before { background-size: 64px auto; opacity: .08; }
.card__stage--art > .cv-m3__logo { height: 21%; top: 5%; }
.cv-m3 .cv-phone { top: 31%; }

/* ---- background variety: each cover gets its own texture ---- */
/* RecipeBox: soft mint with a kitchen-tablecloth check */
.bg-check { background:
  radial-gradient(60% 70% at 50% 45%, rgba(255,255,255,.75), transparent 70%),
  repeating-linear-gradient(0deg, rgba(63,107,78,.07) 0 18px, transparent 18px 36px),
  repeating-linear-gradient(90deg, rgba(63,107,78,.07) 0 18px, transparent 18px 36px),
  #DDE8E0; }
/* UH Wellness: red with bold diagonal stripes */
.bg-stripes { background:
  radial-gradient(70% 60% at 50% 40%, rgba(255,255,255,.14), transparent 70%),
  repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 22px, transparent 22px 44px),
  linear-gradient(160deg, #D4163A, #9E0B24); }
/* M3: blueprint paper */
.bg-blueprint { background:
  linear-gradient(rgba(31,79,158,.10) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, rgba(31,79,158,.10) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(rgba(31,79,158,.06) 1px, transparent 1px) 0 0 / 6px 6px,
  linear-gradient(180deg, #E4EEFB, #C9DBF4); }
/* SYRIOS: deep teal with a museum spotlight and speckle */
.bg-spotlight { background:
  radial-gradient(45% 55% at 50% 45%, rgba(154,203,138,.28), transparent 70%),
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0 1px, transparent 1.5px) 0 0 / 22px 22px,
  radial-gradient(circle at 70% 80%, rgba(255,255,255,.06) 0 1px, transparent 1.5px) 0 0 / 31px 31px,
  linear-gradient(180deg, #1B4459, #0E2733); }
/* Becoming Fully Funded: notebook grid on deep green with a lime squiggle */
.bg-notebook { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cpath d='M-20 230 C 60 150, 120 300, 200 210 S 330 120, 420 190' fill='none' stroke='%23C7D92D' stroke-width='5' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") center / cover no-repeat,
  linear-gradient(rgba(241,234,220,.07) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgba(241,234,220,.07) 1px, transparent 1px) 0 0 / 22px 22px,
  #1C332C; }
/* Elite: black with a red spotlight, like a lit entrance at night */
.bg-night { background:
  radial-gradient(50% 45% at 50% 100%, rgba(200,16,46,.55), transparent 70%),
  radial-gradient(40% 40% at 50% 30%, rgba(255,255,255,.08), transparent 70%),
  linear-gradient(180deg, #1C1C1E, #0A0A0B); }
/* Spring Gardens: soft leafy blobs */
.bg-garden { background:
  radial-gradient(35% 45% at 12% 20%, rgba(169,207,149,.55), transparent 70%),
  radial-gradient(30% 40% at 90% 85%, rgba(235,200,60,.35), transparent 70%),
  radial-gradient(40% 50% at 85% 10%, rgba(120,160,95,.5), transparent 70%),
  linear-gradient(160deg, #5C7D4E, #34502C); }
/* HUE Studio: pink-to-violet gradient with halftone dots */
.bg-halftone { background:
  radial-gradient(circle, rgba(255,255,255,.22) 1.2px, transparent 1.6px) 0 0 / 12px 12px,
  linear-gradient(135deg, #E27AB4, #B0457F 45%, #6E3FA3); }

/* ---- UH Wellness: event footage feel behind the Wellness Voices logo ---- */
.cv-kb { position: absolute; inset: 0; }
.cv-kb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.02; transition: opacity 1.2s ease; }
.cv-kb img.is-on { opacity: 1; animation: cv-kb 5s linear both; }
@keyframes cv-kb { from { scale: 1.02; translate: 0 0; } to { scale: 1.14; translate: -2% -1%; } }
.cv-kb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(158,11,36,.55), rgba(120,6,26,.8)); }
.cv-voices { position: relative; z-index: 2; width: 72%; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.55)); transition: scale .8s cubic-bezier(.34,1.5,.5,1), rotate .8s cubic-bezier(.34,1.5,.5,1); rotate: -3deg; }
.card__stage--art > .cv-voices { inset: auto; height: auto; transform: none; animation: none; object-fit: contain; }
.card:hover .cv-voices { scale: 1.06; rotate: 0deg; }

/* ---- Becoming Fully Funded: one post with the capacity chart drawing itself ---- */
.cv-chart { position: absolute; inset: 0; background: #E9EAD5; padding: 9% 8%; color: #1C332C; font-family: "Playfair Display", Georgia, serif; }
.cv-chart small { display: block; font: 600 3.4cqw var(--sans); letter-spacing: .08em; }
.cv-chart strong { display: block; font-weight: 600; font-size: 15cqw; line-height: 1; margin-top: 2cqw; }
.cv-chart strong sup { font-size: .5em; }
.cv-chart svg { position: absolute; left: 6%; right: 6%; bottom: 7%; width: 88%; overflow: visible; }
.cv-chart .ln { stroke-dasharray: 260; stroke-dashoffset: 260; animation: cv-draw 7s ease-in-out infinite; }
.cv-chart .dt { transform-box: fill-box; transform-origin: center; scale: 0; animation: cv-dot 7s infinite; }
.cv-chart .dt:nth-of-type(2) { animation-delay: .35s; } .cv-chart .dt:nth-of-type(3) { animation-delay: .7s; } .cv-chart .dt:nth-of-type(4) { animation-delay: 1.05s; } .cv-chart .dt:nth-of-type(5) { animation-delay: 1.4s; }
@keyframes cv-draw { 0%, 8% { stroke-dashoffset: 260; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
@keyframes cv-dot { 0%, 10% { scale: 0; } 16%, 86% { scale: 1; } 94%, 100% { scale: 0; } }
.cv-count::after { content: counter(n) "%"; counter-reset: n var(--n); animation: cv-count 7s steps(62) infinite; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@keyframes cv-count { 0%, 8% { --n: 0; } 45%, 88% { --n: 62; } 100% { --n: 0; } }
.cv-ig .igp-heart { color: #ED4956; animation: cv-heart 7s infinite; display: inline-block; }
@keyframes cv-heart { 0%, 50% { scale: 1; color: #111; } 54% { scale: 1.35; color: #ED4956; } 60%, 92% { scale: 1; color: #ED4956; } 100% { color: #111; } }
@media (prefers-reduced-motion: reduce) { .cv-kb img.is-on, .cv-chart .ln, .cv-chart .dt, .cv-count::after { animation: none; } .cv-chart .ln { stroke-dashoffset: 0; } .cv-chart .dt { scale: 1; } }
.cv-post { position: relative; width: min(56%, calc(var(--h, 400px) * .47)); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 60px -28px rgba(0,0,0,.65); rotate: -3deg; transition: rotate .8s cubic-bezier(.34,1.5,.5,1), scale .8s cubic-bezier(.34,1.5,.5,1); }
.cv-post .cv-ig { position: relative; inset: auto; }
.cv-post .cv-ig__head { padding: 3.5cqw 4cqw; }
.cv-post .cv-ig p { padding-bottom: 4cqw; }
.card:hover .cv-post { rotate: 0deg; scale: 1.04; }
.cv-videas .cv-logo { mix-blend-mode: normal; }

/* ---- HUE Studio: a content calendar filling up with posts for each platform ---- */
.cv-cal { position: relative; width: 84%; padding: 16px; border-radius: 16px; background: #FFF7FB; color: #3B1631; box-shadow: 0 40px 60px -30px rgba(60,10,50,.65); text-align: left; rotate: -2deg; transition: rotate .8s cubic-bezier(.34,1.5,.5,1); }
.card:hover .cv-cal { rotate: 0deg; }
.cv-cal__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.cv-cal__top b { font: 600 17px/1 "Playfair Display", Georgia, serif; letter-spacing: -.01em; }
.cv-cal__top span { font: 700 9px var(--mono); letter-spacing: .12em; color: #A0386F; }
.cv-cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.cv-cal__grid > i { font: 700 8px var(--mono); letter-spacing: .08em; color: #9A7A8E; font-style: normal; text-align: center; }
.cv-cal__day { position: relative; min-height: 58px; border-radius: 8px; background: #F3E3EC; padding: 4px; display: grid; align-content: start; gap: 4px; }
.cv-cal__day em { font: 600 8px var(--sans); font-style: normal; color: #B08AA0; }
.cv-post-pill { display: flex; align-items: center; gap: 4px; padding: 4px 5px; border-radius: 6px; background: var(--c); color: #fff; font: 600 8.5px/1.1 var(--sans); opacity: 0; translate: 0 6px; animation: cv-pill 9s cubic-bezier(.34,1.5,.5,1) infinite; animation-delay: var(--t); }
.cv-post-pill svg { flex: none; width: 10px; height: 10px; fill: #fff; }
@keyframes cv-pill { 0% { opacity: 0; translate: 0 6px; } 4%, 86% { opacity: 1; translate: 0 0; } 94%, 100% { opacity: 0; translate: 0 -4px; } }
.cv-cal__tag { position: absolute; right: -8%; bottom: -12%; padding: 8px 12px; border-radius: 12px; background: #3B1631; color: #FFE3F1; font: 600 11px var(--sans); rotate: 5deg; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.cv-cal__tag b { display: block; font: 700 8px var(--mono); letter-spacing: .1em; color: #F2A6D0; margin-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .cv-post-pill { animation: none; opacity: 1; translate: none; } }
.cv-cal { width: 90%; container-type: inline-size; padding: 4.5cqw; }
.cv-cal__top b { font-size: 6cqw; }
.cv-cal__top span { font-size: 2.6cqw; }
.cv-cal__grid > i { font-size: 2.6cqw; }
.cv-cal__day { min-height: 22cqw; padding: 1.4cqw; border-radius: 2.4cqw; }
.cv-cal__day em { font-size: 2.6cqw; }
.cv-post-pill { font-size: 3cqw; padding: 1.4cqw 1.6cqw; border-radius: 1.8cqw; gap: 1.2cqw; }
.cv-post-pill svg { width: 3.2cqw; height: 3.2cqw; }
.cv-cal__tag { font-size: 3.6cqw; padding: 2.4cqw 3.4cqw; }
.cv-cal__tag b { font-size: 2.6cqw; }
.cv-cal { container-type: normal; padding: 14px; }
.cv-cal__top b { font-size: 20px; }
.cv-cal__top span { font-size: 9px; }
.cv-cal__grid > i { font-size: 9px; }
.cv-cal__day { min-height: 76px; padding: 5px; border-radius: 8px; }
.cv-cal__day em { font-size: 9px; }
.cv-post-pill { font-size: 10.5px; padding: 5px 6px; border-radius: 7px; gap: 4px; }
.cv-post-pill svg { width: 11px; height: 11px; }
.cv-cal__tag { font-size: 12px; padding: 8px 12px; }
.cv-cal__tag b { font-size: 9px; }

/* Spring Gardens: the site playing on a tilted laptop in a dark room */
.laptop__display video { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; scale: 1.1; transform-origin: 0 0; display: block; }
.card__stage--device.cv-dark { background:
  radial-gradient(55% 40% at 55% 100%, rgba(143,209,158,.55), transparent 70%),
  radial-gradient(70% 60% at 25% 15%, #2B2B2B, transparent 70%),
  #0C0C0C; }

/* SYRIOS: flat illustration, coins flying out of a laptop, big headline under it */
.cv-illo { --bg: #F1EBDD; flex-direction: column; padding: 4% 6% 5%; place-items: stretch; display: flex !important; justify-content: space-between; }
.cv-illo__scene { position: relative; flex: 1; min-height: 0; }
.cv-illo__scene svg { position: absolute; left: 50%; top: 50%; translate: -50% -48%; height: 100%; width: auto; overflow: visible; }
.cv-illo__coin { position: absolute; width: var(--s); left: var(--x); top: var(--y); rotate: var(--r); filter: drop-shadow(3px 4px 0 #1C1B2E); animation: cv-fly calc(3.4s + var(--d) * 1.4s) ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1s); }
@keyframes cv-fly { from { translate: 0 6px; } to { translate: var(--dx, 0) -14px; rotate: calc(var(--r) + 10deg); } }
.card__stage--art .cv-illo__coin { position: absolute; inset: auto; left: var(--x); top: var(--y); width: var(--s); height: auto; transform: none; object-fit: contain; }
.cv-illo h4 { position: relative; margin: 0; color: #1C1B2E; font-weight: 600; font-size: clamp(22px, 2.9vw, 40px); line-height: 1.02; letter-spacing: -.045em; text-align: center; }
.card:hover .cv-illo__coin { animation-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) { .cv-illo__coin { animation: none; } }
.card__stage--art > .cv-logo { position: relative; width: 66%; }
.cv-dark .laptop { width: 84%; left: 9%; }

/* ---- Spring Gardens: a close, angled laptop; the homepage with product panels floating up ---- */
.mbp-stage { perspective: 1300px; }
.mbp { position: absolute; left: 5%; top: 8%; width: 104%; transform: rotateX(12deg) rotateY(-17deg) rotateZ(4deg); transform-style: preserve-3d; animation: mbp-float 7s ease-in-out infinite alternate; }
@keyframes mbp-float { to { translate: 0 -2%; } }
.card:hover .mbp { animation-play-state: paused; }
.mbp__screen { position: relative; aspect-ratio: 16 / 10.2; padding: 1.4%; background: #080808; border-radius: 2.6% / 4%; box-shadow: 0 0 0 1.5px #9A9A9A, 0 0 0 3px #3A3A3A, 0 50px 70px -30px rgba(0,0,0,.9); }
.mbp__screen::before { content: ""; position: absolute; top: 1.4%; left: 50%; width: 10%; height: 3.4%; translate: -50% 0; background: #080808; border-radius: 0 0 8px 8px; z-index: 3; }
.mbp__display { position: relative; height: 100%; overflow: hidden; border-radius: 1.4% / 2.2%; background: #0E2410; container-type: size; }
.mbp__display > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; filter: brightness(.82); }
.mbp__display::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(0deg, rgba(160,235,190,.55), rgba(160,235,190,0)); z-index: 2; pointer-events: none; }
.mbp__deck { position: relative; height: 40%; margin: 0 -5%; transform-origin: 50% 0; transform: rotateX(68deg); border-radius: 0 0 6% 6% / 0 0 14% 14%; background: linear-gradient(180deg, #D9D9D9, #A7A7A7); box-shadow: inset 0 2px 0 #F2F2F2; }
.mbp__deck::before { content: ""; position: absolute; inset: 7% 7% 34%; border-radius: 4px;
  background: repeating-linear-gradient(0deg, #B7B7B7 0 3%, transparent 3% 16.6%),
              repeating-linear-gradient(90deg, #1C1C1C 0 6.2%, #B7B7B7 6.2% 7.1%); }
.mbp__deck::after { content: ""; position: absolute; left: 34%; right: 34%; bottom: 6%; height: 24%; border-radius: 6px; background: linear-gradient(180deg, #C4C4C4, #B0B0B0); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* floating panels on the screen */
.sg-panel { position: absolute; z-index: 1; bottom: 6cqh; width: 25cqw; padding: 1.2cqw; border-radius: 1.6cqw; background: rgba(24,44,24,.78); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); box-shadow: 0 2cqw 4cqw rgba(0,0,0,.45); opacity: 0; animation: sg-in 9s cubic-bezier(.34,1.4,.5,1) infinite; animation-delay: var(--t); }
.sg-panel b { display: block; margin: 0 0 .8cqw .3cqw; color: #F1EADC; font: 600 1.6cqw var(--sans); }
.sg-panel img { display: block; width: 100%; aspect-ratio: 334 / 330; object-fit: cover; object-position: 50% 100%; border-radius: 1cqw; }
@keyframes sg-in { 0% { opacity: 0; transform: translateY(40%) rotate(0deg); } 7%, 88% { opacity: 1; transform: translateY(0) rotate(var(--r)); } 96%, 100% { opacity: 0; transform: translateY(10%) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .mbp, .sg-panel { animation: none; } .sg-panel { opacity: 1; transform: rotate(var(--r)); } }
.mbp { width: 92%; left: 7%; top: 2%; }
.mbp__deck { transform: rotateX(62deg); height: 44%; }
.mbp { transform: rotateX(16deg) rotateY(-22deg) rotateZ(4deg); width: 90%; left: 8%; top: 3%; }
.mbp__deck { height: 0; padding-bottom: 36%; transform: rotateX(64deg); }
.mbp { width: 120%; left: 5%; top: 7%; }
