/* =========================================================
   Romi Anne Budomo — Portfolio
   Palette: warm cream base, ink text, electric violet primary,
   coral / mint / sunshine accents.
   ========================================================= */

/* ---------- Fonts ----------
   ABC Diatype (Dinamo) is a licensed font. To use it, buy a web licence at abcdinamo.com and copy
   the .woff2 files into /public/assets/fonts/ with these names. Until then, Geist is used. */
@font-face { font-family: "ABC Diatype"; src: url("/assets/fonts/ABCDiatype-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "ABC Diatype"; src: url("/assets/fonts/ABCDiatype-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ABC Diatype"; src: url("/assets/fonts/ABCDiatype-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "ABC Diatype"; src: url("/assets/fonts/ABCDiatype-Bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #FBF8F3;
  --bg-alt: #F3EEE6;
  --surface: #FFFFFF;
  --ink: #16131F;
  --ink-2: #4A4558;
  --ink-3: #7A7488;
  --line: rgba(22, 19, 31, .1);

  --violet: #5B3DF5;
  --violet-soft: #ECE7FF;
  --coral: #FF6B4A;
  --coral-soft: #FFE6DF;
  --mint: #12B886;
  --mint-soft: #DDF7EE;
  --sun: #FFC23D;
  --sun-soft: #FFF3D1;

  --font-display: "ABC Diatype", "Geist", system-ui, sans-serif;
  --font-body: "ABC Diatype", "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(22,19,31,.04), 0 4px 14px rgba(22,19,31,.05);
  --shadow-md: 0 2px 6px rgba(22,19,31,.05), 0 18px 40px -12px rgba(22,19,31,.16);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1440px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--violet); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.serif { font-family: var(--font-display); font-style: normal; font-weight: 700; letter-spacing: inherit; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: var(--sun); }
.h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 500; letter-spacing: -0.035em; max-width: 16ch; }
.h2 .serif { color: var(--violet); }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .3s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 10px 26px -8px rgba(91,61,245,.55); }
.btn--primary:hover { background: #4A2EE0; box-shadow: 0 14px 32px -8px rgba(91,61,245,.65); }
.btn--primary span { transition: transform .3s var(--ease); }
.btn--primary:hover span { transform: translateX(4px); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--violet); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sun); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .35s var(--ease), background-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(251,248,243,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 20px;
  position: relative; overflow: hidden; transition: transform .4s var(--ease);
}
.brand__mark::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); right: -3px; bottom: -3px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.nav__links { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 15.5px; }
.nav__links a:not(.btn) { position: relative; color: var(--ink-2); transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; }
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--violet { width: 520px; height: 520px; background: #B9A8FF; right: -120px; top: -60px; animation: float1 18s var(--ease) infinite alternate; }
.blob--coral { width: 380px; height: 380px; background: #FFB59F; right: 18%; bottom: -120px; animation: float2 22s var(--ease) infinite alternate; }
.blob--mint { width: 300px; height: 300px; background: #A6EFD6; left: -80px; top: 30%; animation: float3 20s var(--ease) infinite alternate; }
@keyframes float1 { to { transform: translate(-80px, 60px) scale(1.08); } }
@keyframes float2 { to { transform: translate(70px, -60px) scale(.92); } }
@keyframes float3 { to { transform: translate(60px, 40px) scale(1.1); } }
.hero::after { /* subtle grain grid */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(22,19,31,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 30px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: blink 2.4s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(18,184,134,.08); } }
.hero__title { font-size: clamp(48px, 9vw, 120px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; margin-bottom: 34px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .serif { color: var(--violet); }
.accent { color: var(--coral); }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 600px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vw, 96px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); max-width: 1120px; }
.stats li { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stats li:nth-child(1) strong { color: var(--violet); }
.stats li:nth-child(2) strong { color: var(--coral); }
.stats li:nth-child(3) strong { color: var(--mint); }
.stats li:nth-child(4) strong { color: #E0A100; }
.stats span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee li::after { content: "✦"; color: var(--sun); font-size: .7em; margin-left: 28px; }
.marquee li:nth-child(3n+2)::after { color: var(--coral); }
.marquee li:nth-child(3n)::after { color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__portrait { position: relative; max-width: 440px; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,194,61,.9), transparent 38%),
    radial-gradient(circle at 20% 85%, rgba(255,107,74,.85), transparent 45%),
    linear-gradient(150deg, #6E52FF, #3B22C9);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__initials { font-family: var(--font-display); font-size: clamp(110px, 14vw, 170px); font-weight: 600; color: rgba(255,255,255,.95); letter-spacing: -.06em; }
.portrait__badge {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--mint); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.sticker {
  position: absolute; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-md); background: var(--surface);
  animation: bob 6s ease-in-out infinite;
}
.sticker--sun { top: 28px; right: -28px; background: var(--sun); transform: rotate(6deg); }
.sticker--mint { bottom: 70px; right: -40px; background: var(--mint); color: #fff; transform: rotate(-5deg); animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.about__copy p { color: var(--ink-2); font-size: 18px; max-width: 58ch; }
.about__copy .h2 { margin-bottom: 30px; max-width: 18ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: transform .3s var(--ease), border-color .2s, color .2s; }
.chips li:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--violet); }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --tint: var(--violet); --tint-soft: var(--violet-soft);
  background: var(--surface); border-radius: var(--radius); padding: 36px 32px 34px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: var(--tint-soft); right: -90px; top: -90px; transform: scale(.4); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scale(1); opacity: 1; }
.card > * { position: relative; }
.card--coral { --tint: var(--coral); --tint-soft: var(--coral-soft); }
.card--mint { --tint: var(--mint); --tint-soft: var(--mint-soft); }
.card--sun { --tint: #E0A100; --tint-soft: var(--sun-soft); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint-soft); display: grid; place-items: center; margin-bottom: 28px; transition: background-color .3s, transform .5s var(--ease); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--tint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card__icon { background: var(--tint); transform: rotate(-6deg); }
.card:hover .card__icon svg { stroke: #fff; }
.card h3 { font-size: 23px; font-weight: 650; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ---------- Work / Projects ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.filter { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.project {
  grid-column: span 2; display: flex; flex-direction: column; text-align: left;
  border: 0; padding: 0; background: none; border-radius: var(--radius); cursor: pointer;
  animation: projIn .7s var(--ease) both;
}
.project--wide { grid-column: span 3; }
@keyframes projIn { from { opacity: 0; transform: translateY(24px); } }
.project__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-alt); isolation: isolate; }
.project:not(.project--wide) .project__media { aspect-ratio: 4 / 3.4; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__media::after {
  content: "View case study  →"; position: absolute; left: 50%; top: 50%;
  translate: -50% -50%; padding: 13px 22px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: 15px; white-space: pre; opacity: 0; scale: .85;
  transition: opacity .35s var(--ease), scale .45s var(--ease); box-shadow: var(--shadow-md);
}
.project:hover .project__media::after, .project:focus-visible .project__media::after { opacity: 1; scale: 1; }
.project__tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.project__info { padding: 20px 4px 0; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.project__title { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 6px; }
.project__summary { font-size: 15.5px; color: var(--ink-3); margin: 0; }
.project__year { font-size: 14px; color: var(--ink-3); font-weight: 500; white-space: nowrap; padding-top: 4px; }
.work__note { text-align: center; color: var(--ink-3); font-size: 15px; margin: 56px 0 0; }
.projects__empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--ink-3); }

/* ---------- Experience ---------- */
.exp__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.exp__intro { position: sticky; top: 120px; }
.exp__intro > p { color: var(--ink-2); max-width: 44ch; margin-top: 24px; }
.edu { display: grid; gap: 14px; margin-top: 36px; }
.edu__item { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.edu__item strong { font-family: var(--font-display); font-size: 18px; font-weight: 650; }
.edu__item span { font-size: 14.5px; color: var(--ink-3); }
.edu__item .edu__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--violet), var(--coral), var(--mint)); border-radius: 2px; opacity: .35; }
.tl { position: relative; padding-bottom: 46px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--violet); transition: background-color .3s, transform .4s var(--ease); }
.tl:nth-child(3n+2)::before { border-color: var(--coral); }
.tl:nth-child(3n)::before { border-color: var(--mint); }
.tl:hover::before { background: var(--violet); transform: scale(1.2); }
.tl__date { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--violet); background: var(--violet-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.tl h3 { font-size: clamp(20px, 2.2vw, 25px); font-weight: 650; margin-bottom: 4px; }
.tl__org { color: var(--ink-3); font-weight: 500; margin-bottom: 14px; }
.tl ul li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 16px; margin-bottom: 8px; }
.tl ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--ink-3); border-radius: 2px; }

/* ---------- Toolkit ---------- */
.toolkit { background: var(--bg-alt); }
.kit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.kit__group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.kit__group h3 { font-size: 20px; font-weight: 650; display: flex; align-items: center; gap: 12px; }
.kit__group .chips { margin-top: 20px; }
.kit__group .chips li { background: var(--bg); }
.sw { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.sw--violet { background: var(--violet); } .sw--mint { background: var(--mint); } .sw--coral { background: var(--coral); } .sw--sun { background: var(--sun); }
.remote { margin-top: 22px; border-radius: var(--radius); padding: 36px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: center; }
.remote h3 { font-size: 26px; margin-bottom: 8px; }
.remote p { color: rgba(255,255,255,.65); margin: 0; font-size: 16px; }
.remote__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.remote__list li { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 4px; }
.remote__list strong { color: #fff; font-size: 15.5px; }
.remote__list span { color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.45; }

/* ---------- Contact ---------- */
.contact__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #2A1A8F 0%, var(--violet) 55%, #7A5CFF 100%);
  color: #fff; padding: clamp(56px, 9vw, 120px) clamp(28px, 7vw, 100px); text-align: center;
}
.contact__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 15% 110%, rgba(255,107,74,.55), transparent 40%), radial-gradient(circle at 90% -10%, rgba(255,194,61,.45), transparent 40%); }
.contact__card > * { position: relative; }
.contact__card .kicker { justify-content: center; }
.contact__title { font-size: clamp(36px, 6vw, 76px); font-weight: 500; letter-spacing: -.035em; max-width: 15ch; margin: 0 auto 22px; }
.contact__lead { color: rgba(255,255,255,.78); font-size: 19px; max-width: 46ch; margin: 0 auto 40px; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.contact__links { display: flex; justify-content: center; gap: 12px 34px; flex-wrap: wrap; font-weight: 500; }
.contact__links a { color: #fff; border-bottom: 1.5px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s; }
.contact__links a:hover { border-color: var(--sun); }
.contact__links span { color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
.footer { padding: 34px 0 44px; color: var(--ink-3); font-size: 14.5px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__top:hover { color: var(--violet); }

/* ---------- Modal (case study) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22,19,31,.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(860px, 100%); height: 100%; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .6s var(--ease);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: sticky; top: 18px; margin: 18px 18px 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 17px; z-index: 3; transition: transform .35s var(--ease), background-color .2s; float: right; }
.modal__close:hover { transform: rotate(90deg); background: var(--coral); }
.modal__body { padding: 20px clamp(24px, 5vw, 64px) 72px; clear: both; }
.cs__tag { display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--violet-soft); color: var(--violet); margin-bottom: 18px; }
.cs__title { font-size: clamp(32px, 5vw, 52px); font-weight: 500; letter-spacing: -.03em; margin-bottom: 16px; }
.cs__summary { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.cs__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 32px 0 36px; }
.cs__meta div { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cs__meta dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.cs__meta dd { margin: 0; font-weight: 600; font-size: 15.5px; }
.cs__hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; box-shadow: var(--shadow-sm); }
.cs__section { margin-bottom: 36px; }
.cs__section h3 { font-size: 22px; font-weight: 650; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.cs__section h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--coral); }
.cs__section p, .cs__section li { color: var(--ink-2); }
.cs__section ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.cs__section ul li::before { content: "✦"; position: absolute; left: 0; color: var(--violet); font-size: 12px; top: .3em; }
.cs__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.cs__gallery img { border-radius: 16px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; cursor: zoom-in; transition: transform .5s var(--ease); }
.cs__gallery img:hover { transform: scale(1.02); }
.cs__gallery figure { margin: 0; }
.cs__gallery figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.cs__link { margin-top: 12px; }
body.modal-open { overflow: hidden; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10,8,18,.9); display: grid; place-items: center; padding: 24px; opacity: 0; animation: fadeIn .3s var(--ease) forwards; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 14px; }
@keyframes fadeIn { to { opacity: 1; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; translate: -50% 20px; opacity: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: opacity .3s, translate .4s var(--ease); pointer-events: none; }
.toast.is-show { opacity: 1; translate: -50% 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-up { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .reveal-up { transform: none; }
.hero__title .line:nth-child(2) .reveal-up { transition-delay: .08s; }
.hero__title .line:nth-child(3) .reveal-up { transition-delay: .16s; }
.no-js .reveal, .no-js .reveal-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .remote { grid-template-columns: 1fr; }
  .remote__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg); font-family: var(--font-display); font-size: 30px; font-weight: 600;
    clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
  .nav__links a:not(.btn) { color: var(--ink); }
  .nav__cta { font-family: var(--font-body); font-size: 17px; padding: 16px 30px; margin-top: 10px; }
  .nav.is-open { background: transparent; box-shadow: none; backdrop-filter: none; }

  .hero { min-height: auto; padding: 130px 0 80px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 22px 16px 22px 0; }
  .stats li + li { padding-left: 0; border-left: 0; }
  .stats li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 360px; width: 86%; }
  .sticker--sun { right: -18px; }
  .sticker--mint { right: -24px; }

  .projects { grid-template-columns: 1fr; gap: 40px; }
  .project, .project--wide { grid-column: auto; }
  .project:not(.project--wide) .project__media { aspect-ratio: 16 / 11; }
  .project__media::after { display: none; }

  .exp__grid { grid-template-columns: 1fr; }
  .exp__intro { position: static; }
  .kit { grid-template-columns: 1fr; }
  .modal__panel { border-radius: 0; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 30px 26px; }
  .remote { padding: 28px 22px; }
  .remote__list { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .section__head--row { align-items: flex-start; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .cs__gallery { grid-template-columns: 1fr; }
  .contact__actions .btn { width: 100%; }
  .kit__group { padding: 26px 22px; }
  .eyebrow { font-size: 13px; }
}

/* =========================================================
   Hero — interactive automation flow
   ========================================================= */
.hero__visual { position: relative; margin-top: clamp(48px, 7vw, 72px); max-width: 640px; perspective: 1400px; }
.flow {
  --tx: 0deg; --ty: 0deg;
  position: relative; background: rgba(255,255,255,.88); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: 0 2px 6px rgba(22,19,31,.05), 0 40px 80px -30px rgba(52,30,160,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden; transform: rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .6s var(--ease); transform-style: preserve-3d;
}
.flow__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(243,238,230,.6); }
.flow__dots { display: flex; gap: 6px; }
.flow__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.flow__dots i:nth-child(2) { background: var(--sun); }
.flow__dots i:nth-child(3) { background: var(--mint); }
.flow__name { font-size: 13.5px; font-weight: 500; color: var(--ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--mint); background: var(--mint-soft); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.flow__live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.6s infinite; }

.flow__canvas {
  position: relative; aspect-ratio: 560 / 380;
  background-image: radial-gradient(rgba(22,19,31,.09) 1px, transparent 1px); background-size: 20px 20px;
}
.flow__edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__edges path { fill: none; stroke: rgba(22,19,31,.16); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; animation: dash 1.2s linear infinite; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.flow__edges path.is-active { stroke: var(--violet); stroke-dasharray: none; stroke-width: 2.5; }
.flow__edges path.is-hover { stroke: rgba(91,61,245,.55); }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow__pulse { fill: var(--violet); filter: drop-shadow(0 0 6px rgba(91,61,245,.9)); }

.node {
  --c: var(--violet); --cs: var(--violet-soft);
  position: absolute; left: calc(var(--x) / 560 * 100%); top: calc(var(--y) / 380 * 100%);
  transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: clamp(3px, 1.2cqw, 7px);
  background: none; border: 0; padding: 0; cursor: pointer; z-index: 2; font: inherit; color: var(--ink);
}
.node--coral { --c: var(--coral); --cs: var(--coral-soft); }
.node--mint { --c: var(--mint); --cs: var(--mint-soft); }
.node--sun { --c: #E0A100; --cs: var(--sun-soft); }
.node--ink { --c: var(--ink); --cs: #E8E5EF; }
.node__icon {
  width: clamp(30px, 10.5cqw, 60px); height: clamp(30px, 10.5cqw, 60px); border-radius: clamp(10px, 3.2cqw, 18px);
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line);
  box-shadow: 0 6px 18px -8px rgba(22,19,31,.25); position: relative;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, box-shadow .3s;
}
.flow__canvas { container-type: inline-size; }
.node__icon svg { width: 46%; height: 46%; fill: none; stroke: var(--c); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.node__label { font-size: clamp(9.5px, 2.3cqw, 12.5px); font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 999px; }
.node:hover .node__icon, .node:focus-visible .node__icon { transform: translateY(-3px) scale(1.06); border-color: var(--c); }
.node.is-active .node__icon { background: var(--c); border-color: var(--c); box-shadow: 0 0 0 6px var(--cs), 0 10px 24px -8px var(--c); transform: scale(1.08); }
.node.is-active .node__icon svg { stroke: #fff; }
.node.is-done .node__icon::after {
  content: "✓"; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff; animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: scale(0); } }
.node::before { /* tooltip */
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, translate .3s var(--ease);
}
.node:hover::before, .node:focus-visible::before { opacity: 1; translate: -50% 0; }

.flow__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.flow__log { flex: 1; min-width: 0; display: grid; gap: 4px; min-height: 66px; align-content: end; }
.flow__log li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .45s var(--ease); }
.flow__log li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--violet)); flex-shrink: 0; }
.flow__log li:not(:last-child) { opacity: .55; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.flow__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.flow__runs { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.flow__runs strong { color: var(--ink); }
.flow__run { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; transition: background-color .25s, transform .3s var(--ease); }
.flow__run svg { width: 12px; height: 12px; fill: currentColor; }
.flow__run:hover { background: var(--violet); transform: translateY(-2px); }
.flow__run:disabled { opacity: .6; cursor: progress; transform: none; }

.flow__chip { position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-md); animation: bob 6s ease-in-out infinite; pointer-events: none; }
.flow__chip--mint { background: var(--mint); color: #fff; top: -34px; left: 22px; transform: rotate(-4deg); }
.flow__chip--coral { background: var(--coral); color: #fff; bottom: 96px; left: -22px; transform: rotate(-5deg); animation-delay: -3s; }

@media (min-width: 1100px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(40px, 5vw, 88px); align-items: center; }
  .hero__title { font-size: clamp(56px, 5.4vw, 86px); }
  .hero__actions { margin-bottom: 0; }
  .hero__visual { margin-top: 0; max-width: none; }
  .hero .stats { grid-column: 1 / -1; margin-top: clamp(56px, 6vw, 88px); max-width: none; }
}
@media (max-width: 600px) {
  .flow { border-radius: 22px; }
  .flow__bar { padding: 12px 14px; }
  .node__label { padding: 1px 5px; }
  .flow__foot { padding: 12px 14px 14px; }
  .flow__log li { font-size: 12px; }
  .flow__chip { font-size: 12.5px; padding: 8px 12px; }
  .flow__chip--coral { left: -6px; bottom: 104px; }
  .flow__chip--mint { left: 14px; top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__edges path { animation: none; }
}

/* Stat suffix (e.g. "+") */
.stats strong[data-suffix]::after { content: attr(data-suffix); }
@media (max-width: 860px) { .stats span br { display: none; } }

/* =========================================================
   AI chat assistant
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 70; font-family: var(--font-body); }
.chat__launcher {
  width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--violet); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 32px -10px rgba(91,61,245,.7); position: relative;
  transition: transform .35s var(--ease), background-color .25s;
}
.chat__launcher:hover { transform: translateY(-3px) scale(1.04); background: #4A2EE0; }
.chat__launcher svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: absolute; transition: opacity .25s, transform .35s var(--ease); }
.chat__ico-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__ico-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__ico-close { opacity: 1; transform: none; }
.chat__launcher::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 2.5px solid var(--bg); }
.chat.is-open .chat__launcher::after { display: none; }
.chat__bubble {
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 8px -50%; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 12px;
  opacity: 0; pointer-events: none; transition: opacity .35s, translate .45s var(--ease);
}
.chat.is-nudge:not(.is-open) .chat__bubble { opacity: 1; translate: 0 -50%; }
.chat:not(.is-open) .chat__launcher:hover .chat__bubble { opacity: 1; translate: 0 -50%; }

.chat__panel {
  position: absolute; right: 0; bottom: calc(100% + 16px); width: min(380px, calc(100vw - 32px));
  height: min(580px, calc(100svh - 130px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(22,19,31,.35);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s, transform .45s var(--ease), visibility 0s .3s;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: #fff; }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--violet); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.chat__who { flex: 1; display: grid; line-height: 1.3; }
.chat__who strong { color: #fff; font-size: 15.5px; }
.chat__who span { font-size: 12.5px; color: rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: 6px; }
.chat__online { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); display: inline-block; }
.chat__close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; transition: background-color .2s; }
.chat__close:hover { background: rgba(255,255,255,.2); }

.chat__messages { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.chat__msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: logIn .35s var(--ease); overflow-wrap: anywhere; }
.chat__msg p { margin: 0; }
.chat__msg p + p, .chat__msg p + ul, .chat__msg ul + p { margin-top: 8px; }
.chat__msg ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.chat__msg li { margin: 2px 0; }
.chat__msg a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.chat__msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; color: var(--ink-2); }
.chat__msg--user { background: var(--violet); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.chat__msg--error { background: var(--coral-soft); border-color: transparent; }
.chat__typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; background: var(--bg); }
.chat__chips[hidden] { display: none; }
.chat__chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.chat__chips button:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-1px); }

.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat__input { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); background: var(--bg); max-height: 120px; outline: none; transition: border-color .2s; }
.chat__input:focus { border-color: var(--violet); }
.chat__send { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--violet); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background-color .2s, opacity .2s; }
.chat__send:hover { background: #4A2EE0; }
.chat__send:disabled { opacity: .5; cursor: progress; }
.chat__send svg { width: 20px; height: 20px; fill: currentColor; }
.chat__note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--ink-3); text-align: center; background: var(--surface); }

@media (max-width: 600px) {
  .chat { right: 16px; bottom: 16px; }
  .chat__launcher { width: 56px; height: 56px; }
  .chat__panel { position: fixed; inset: auto 8px 84px 8px; width: auto; height: min(600px, calc(100svh - 110px)); }
  .chat__bubble { display: none; }
}
