@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ── Tokens ───────────────────────────── */
:root {
  --bg:            #0B080D;
  --surface:       #161214;
  --cream:         #F3F1EF;
  --violet:        #D6A8B7;
  --violet-dark:   #B88A9A;
  --muted:         #BEB8BE;
  --border:        rgba(255,255,255,.07);
  --easing:        cubic-bezier(.16,1,.3,1);
  --easing-spring: cubic-bezier(.34,1.56,.64,1);
  --max:           1200px;
  --display-font:  'Cormorant Garamond', Georgia, serif;
  --body-font:     'Satoshi', 'DM Sans', system-ui, sans-serif;
}

/* ── Reset ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (max-width: 768px) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--violet); color: var(--bg); }

/* ── Grain ────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ── Fonts ────────────────────────────── */
.font-display { font-family: var(--display-font); }

/* ── Scroll fade ──────────────────────── */
.fade-section {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .8s var(--easing), transform .8s var(--easing);
}
.fade-section.is-visible { opacity: 1; transform: scale(1); }

/* ── Eyebrow ──────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 2.5rem;
}
.eyebrow-bar {
  flex-shrink: 0; width: 1.75rem; height: 1px;
  background: var(--muted);
}
.eyebrow-tag {
  font-size: .625rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); font-family: ui-monospace, monospace;
}
.eyebrow-text {
  font-size: .625rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); font-family: ui-monospace, monospace;
}

/* ── Shiny CTA ────────────────────────── */
.shiny-cta {
  position: relative; display: inline-flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #E5BDC9 0%, #D6A8B7 45%, #C090A4 100%);
  color: #0B080D;
  font-size: .8125rem; font-weight: 500; letter-spacing: .03em; line-height: 1;
  padding: .875rem 1.6rem;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  white-space: nowrap;
}
.shiny-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .55s;
}
.shiny-cta:hover { filter: brightness(1.08); }
.shiny-cta:hover::before { transform: translateX(100%); }
.shiny-cta--compact { padding: .55rem 1.1rem; font-size: .75rem; }
.shiny-cta span { position: relative; z-index: 1; pointer-events: none; }

/* ── Secondary button ─────────────────── */
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 500; color: var(--cream);
  border: 1px solid rgba(214,168,183,.25);
  padding: .875rem 1.5rem; border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: rgba(214,168,183,.5); background: rgba(214,168,183,.05); }
.btn-dot {
  display: inline-block; width: .375rem; height: .375rem;
  border-radius: 50%; background: var(--violet);
  flex-shrink: 0;
}

/* ── Text roll (hover letter climb) ───── */
.text-roll {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  height: 1.2em;
}
.text-roll-inner {
  display: block;
  transition: transform .38s var(--easing);
}
.text-roll-row {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
  height: 1.2em;
}

/* ── Logo ─────────────────────────────── */
.logo { display: inline-flex; align-items: center; font-family: var(--display-font); letter-spacing: .18em; text-transform: uppercase; }
.logo-n   { color: var(--cream); font-weight: 300; }
.logo-dash { color: var(--violet); font-weight: 700; margin: 0 .1em; }
.logo-da  { color: var(--cream); font-weight: 300; }
.logo { font-size: 1rem; }
.logo--lg { font-size: 1.6rem; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .3s, border-color .3s;
}
/* Hamburger Nav is mobile-only; PillNav handles desktop */
@media (min-width: 761px) { .nav { display: none; } }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav--scrolled .nav-inner {
  background: rgba(11,8,13,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; border: 1px solid var(--border);
  background: none; cursor: pointer;
  transition: border-color .2s;
}
.nav-burger:hover { border-color: rgba(214,168,183,.4); }
.nav-burger span { display: block; background: var(--cream); border-radius: 1px; transition: .2s; }
.nav-burger span:first-child { width: 1rem; height: 1px; }
.nav-burger span:last-child  { width: .75rem; height: 1px; }

/* ── Menu overlay ─────────────────────── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.menu-overlay-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.menu-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 2rem; line-height: 1;
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.menu-close:hover { color: var(--cream); }
.menu-links {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 1rem 2rem; gap: 0;
}
.menu-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--cream);
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  transition: color .2s, border-color .2s;
}
.menu-link:hover { color: var(--violet); border-color: rgba(214,168,183,.2); }
.menu-link:hover .text-roll-inner { transform: translateY(-50%); }
.menu-link-num { font-size: .625rem; letter-spacing: .2em; color: var(--muted); font-family: monospace; font-style: normal; }
.menu-foot {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.menu-foot-label { font-size: .75rem; color: var(--muted); letter-spacing: .05em; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 1.5rem 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(214,168,183,.12) 0%, transparent 65%),
              radial-gradient(ellipse 50% 40% at 20% 70%, rgba(176,120,144,.08) 0%, transparent 55%),
              linear-gradient(180deg, rgba(11,8,13,0) 0%, var(--bg) 100%);
}
.hero-bg-light {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  top: 10%; right: 5%;
  background: radial-gradient(circle, rgba(214,168,183,.15) 0%, transparent 70%);
  filter: blur(60px);
  animation: light-drift 12s ease-in-out infinite alternate;
}
.hero-bg-light-2 {
  position: absolute; width: 400px; height: 400px;
  border-radius: 50%;
  bottom: 5%; left: -5%;
  background: radial-gradient(circle, rgba(176,120,144,.1) 0%, transparent 70%);
  filter: blur(80px);
  animation: light-drift 16s ease-in-out infinite alternate-reverse;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,8,13,.2) 0%, rgba(11,8,13,.6) 70%, var(--bg) 100%);
}
@keyframes light-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding-top: 8rem;
}
@keyframes word-in {
  from { opacity: 0; filter: blur(6px); transform: translateY(16px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -.03em;
  color: var(--cream); margin-bottom: 1.75rem; max-width: 900px;
}
.word {
  display: inline;
  opacity: 0;
  animation: word-in .7s var(--easing) forwards;
  animation-delay: calc(var(--i) * 65ms + 200ms);
}
.hero-word-em {
  position: relative; display: inline;
  font-family: var(--display-font);
  font-style: italic; font-weight: 300;
  color: var(--violet); font-size: 1.08em;
}
.hero-word-underline {
  position: absolute; left: 0; right: 0; bottom: -.22em;
  width: 100%; height: .6em;
  color: var(--violet); pointer-events: none;
}
.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.15rem); color: var(--muted);
  line-height: 1.7; max-width: 520px; margin-bottom: 2.5rem;
  opacity: 0; animation: word-in .7s var(--easing) .75s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem;
  opacity: 0; animation: word-in .7s var(--easing) .9s forwards;
}
.hero-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  opacity: 0; animation: word-in .7s var(--easing) 1.05s forwards;
}
.hero-stat { display: flex; align-items: center; gap: .5rem; padding: 0 1.5rem; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-icon { color: var(--violet); display: flex; align-items: center; }
.hero-stat-num  { font-size: .9rem; font-weight: 600; color: var(--cream); }
.hero-stat-label { font-size: .75rem; color: var(--muted); }
.hero-stat-sep { width: 1px; height: 1.25rem; background: var(--border); }

/* ─────────────────────────────────────────
   WORKS
───────────────────────────────────────── */
.works { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.works-inner { max-width: var(--max); margin: 0 auto; }
.works-head  { margin-bottom: 2rem; }
.works-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: var(--cream); line-height: 1.1;
}
.works-title em {
  font-family: var(--display-font);
  font-style: italic; font-weight: 300; color: var(--violet);
}
.works-list { list-style: none; }
.work-item {
  opacity: 0;
  animation: work-item-in .65s var(--easing) forwards;
  animation-delay: calc(var(--i) * 80ms + .2s);
  animation-play-state: paused;
}
.is-visible .work-item { animation-play-state: running; }
@keyframes work-item-in {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: scale(1); }
}
.work-link {
  display: grid;
  grid-template-columns: 3rem 3rem 1fr auto auto auto auto;
  align-items: center; gap: 0 1.5rem;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: background .2s;
  cursor: pointer; position: relative;
}
.work-link:hover { background: rgba(22,18,20,.7); }
.work-link:hover .text-roll-inner { transform: translateY(-50%); }
.work-link:last-child { border-bottom: 1px solid var(--border); }
.work-item--muted .work-link { cursor: default; }
.work-item--muted .work-link:hover { background: transparent; }
.work-thumb {
  display: block; width: 3rem; height: 1.75rem;
  overflow: hidden; flex-shrink: 0; border: 1px solid var(--border);
}
.work-thumb-inner { display: block; width: 100%; height: 100%; }
.work-num { font-size: .6875rem; color: var(--muted); font-family: monospace; letter-spacing: .05em; }
.work-name {
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300; color: var(--cream); transition: color .2s; overflow: hidden;
}
.work-item--muted .work-name { color: var(--muted); font-style: italic; }
.work-link:hover .work-name { color: var(--violet); }
.work-tag {
  font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap; display: none;
}
@media (min-width: 640px) { .work-tag { display: block; } }
.work-year { font-size: .6875rem; color: var(--muted); font-family: monospace; letter-spacing: .05em; }
.work-arrow { font-size: .875rem; color: var(--violet); opacity: 0; transition: opacity .2s; }
.work-link:hover .work-arrow { opacity: 1; }
.cursor-preview-inner {
  width: 160px; height: 90px;
  border: 1px solid var(--border);
  display: flex; align-items: flex-end;
  padding: .5rem .6rem; overflow: hidden;
}
.cursor-preview-label {
  font-size: .55rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.srv {
  position: relative; padding: 7rem 1.5rem;
  border-top: 1px solid var(--border); overflow: hidden;
}
.srv-bg { position: absolute; inset: 0; z-index: 0; }
.srv-glow {
  position: absolute; top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,168,183,.05) 0%, transparent 65%);
  filter: blur(100px);
}
.srv-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.srv-head  { margin-bottom: 3.5rem; }
.srv-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: var(--cream); line-height: 1.1;
}
.srv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}
@media (max-width: 600px) { .srv-grid { grid-template-columns: 1fr; } }
.srv-card {
  background: var(--bg); padding: 2rem 2rem 1.75rem;
  min-height: 340px; display: flex; flex-direction: column;
  transition: background .25s; position: relative;
}
.srv-card:hover { background: var(--surface); }
.srv-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 0;
}
.srv-card-icon {
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(214,168,183,.5);
  transition: color .2s, border-color .2s; flex-shrink: 0;
}
.srv-card:hover .srv-card-icon { color: var(--violet); border-color: rgba(214,168,183,.3); }
.srv-card-num { font-size: .6rem; letter-spacing: .2em; color: rgba(94,92,98,.35); font-family: monospace; }
.srv-card-mid {
  flex: 1; display: flex; flex-direction: column;
  justify-content: flex-end; padding-top: 2.5rem;
}
.srv-card-title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 300; color: var(--cream); margin-bottom: .75rem; transition: color .2s;
}
.srv-card:hover .srv-card-title { color: var(--violet); }
.srv-card-body { font-size: .8125rem; line-height: 1.7; color: var(--muted); max-width: 38ch; margin-bottom: 1.75rem; }
.srv-card-bot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 1.125rem; gap: .75rem;
}
.srv-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; flex: 1; }
.srv-tag {
  padding: .25rem .625rem; border: 1px solid var(--border);
  font-size: .585rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); transition: border-color .2s, color .2s;
}
.srv-card:hover .srv-tag { border-color: rgba(214,168,183,.18); }
.srv-card-arrow {
  font-size: 1rem; color: var(--muted); flex-shrink: 0;
  transition: color .2s, transform .25s var(--easing-spring);
}
.srv-card:hover .srv-card-arrow { color: var(--violet); transform: translate(3px, -3px); }
.expertise-tag {
  display: flex; align-items: center; gap: .4rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.expertise-tag-dot {
  width: .3rem; height: .3rem; border-radius: 50%;
  background: rgba(214,168,183,.5); flex-shrink: 0;
}

/* ─────────────────────────────────────────
   PROCESS
───────────────────────────────────────── */
.process { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.process-inner { max-width: var(--max); margin: 0 auto; }
.process-head  { margin-bottom: 3.5rem; }
.process-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: var(--cream); line-height: 1.1;
}
.process-title em { font-family: var(--display-font); font-style: italic; font-weight: 300; color: var(--violet); }
.process-steps { display: flex; flex-direction: column; gap: .75rem; }
.process-card { border: 1px solid var(--border); overflow: hidden; transition: border-color .25s; }
.process-card:hover { border-color: rgba(214,168,183,.18); }
.process-card-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .process-card-grid { grid-template-columns: 240px 1fr; } }
.process-card-visual {
  display: none; background: rgba(8,6,10,.9);
  border-right: 1px solid var(--border); position: relative; overflow: hidden;
  min-height: 200px; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .process-card-visual { display: flex; } }
.process-card-num-bg {
  position: absolute; font-family: var(--display-font);
  font-size: 7rem; font-weight: 300; line-height: 1;
  color: rgba(214,168,183,.04); user-select: none; pointer-events: none;
}
.process-card-content {
  background: var(--surface); padding: 2.25rem 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
}
.process-card-meta {
  display: flex; align-items: center; gap: .75rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-family: monospace; margin-bottom: 1rem;
}
.process-card-meta-line { width: 1.25rem; height: 1px; background: rgba(94,92,98,.4); }
.process-card-meta-tag { color: var(--violet); }
.process-card-title {
  font-family: var(--display-font);
  font-size: 2.25rem; font-weight: 300; color: var(--cream); margin-bottom: .75rem;
}
.process-card-body { font-size: .8125rem; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.process-card-tags { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about {
  padding: 7rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.about-inner { max-width: var(--max); margin: 0 auto; }
.about-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img {
  position: relative; aspect-ratio: 4/3;
  background: var(--bg); border: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.about-img-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(var(--violet) 1px, transparent 1px),
                    linear-gradient(90deg, var(--violet) 1px, transparent 1px);
  background-size: 32px 32px;
}
.about-img-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(214,168,183,.1) 0%, transparent 65%);
}
.about-img-label { position: relative; z-index: 1; text-align: center; }
.about-img-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--bg); border: 1px solid var(--border);
  padding: .875rem 1.25rem;
}
.about-badge-val { font-family: var(--display-font); font-size: 1.6rem; font-weight: 300; color: var(--violet); }
.about-badge-label { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.about-content { padding-top: 1rem; }
.about-head  { margin-bottom: 2.5rem; }
.about-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--cream); line-height: 1.15; }
.about-title em { font-family: var(--display-font); font-style: italic; font-weight: 300; color: var(--violet); }
.about-body { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-bottom: 2.5rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.about-stat { border-top: 1px solid var(--border); padding-top: 1rem; }
.about-stat-val { font-family: var(--display-font); font-size: 1.875rem; font-weight: 300; color: var(--cream); }
.about-stat-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.about-avail {
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--border); padding-top: 1.25rem;
}

/* ─────────────────────────────────────────
   RESULTS
───────────────────────────────────────── */
.res { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.res-inner { max-width: var(--max); margin: 0 auto; }
.res-head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1rem; margin-bottom: 3rem;
}
.res-headline { font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 700; color: var(--cream); line-height: 1; }
.res-sub { font-size: .9375rem; color: var(--muted); max-width: 260px; line-height: 1.6; padding-bottom: .375rem; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
@media (max-width: 700px) { .res-grid { grid-template-columns: 1fr; } }
.res-card {
  background: var(--surface); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  min-height: 280px; overflow: hidden; min-width: 0;
}
.res-card-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .585rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-family: monospace;
}
.res-dot { display: inline-block; width: .35rem; height: .35rem; border-radius: 50%; background: var(--violet); flex-shrink: 0; }
.res-metrics-row { display: flex; gap: 2.5rem; align-items: flex-start; }
.res-big-num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 300; color: var(--cream); line-height: 1; margin-bottom: .25rem; }
.res-metric-label { font-size: .75rem; color: var(--muted); }
.res-graph-wrap { position: relative; width: 100%; height: 90px; flex-shrink: 0; overflow: hidden; }
.res-graph { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.res-graph-badge {
  position: absolute; top: 4px; right: 0;
  background: rgba(214,168,183,.12); border: 1px solid rgba(214,168,183,.22);
  padding: .2rem .5rem; font-size: .7rem; font-weight: 700; color: var(--violet); letter-spacing: .05em;
}
.res-card-title { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; color: var(--cream); line-height: 1.2; }
.res-features { display: flex; flex-direction: column; flex: 1; }
.res-feature {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border);
}
.res-feature:first-child { border-top: 1px solid var(--border); }
.res-feature-label { font-size: .8125rem; font-weight: 500; color: var(--cream); flex-shrink: 0; }
.res-feature-desc { font-size: .75rem; color: var(--muted); text-align: right; max-width: 24ch; }
.res-card-body { font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.res-pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.res-pill { padding: .25rem .7rem; border: 1px solid var(--border); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.res-steps { display: flex; border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: auto; gap: 0; }
.res-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  border-right: 1px solid var(--border); padding: 0 .25rem;
}
.res-step:last-child { border-right: none; }
.res-step-icon {
  width: 2rem; height: 2rem; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; color: rgba(214,168,183,.6); transition: border-color .2s, color .2s;
}
.res-step:hover .res-step-icon { border-color: rgba(214,168,183,.3); color: var(--violet); }
.res-step-name { font-size: .52rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.res-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: auto; }
.res-ring-wrap { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.res-ring { position: relative; display: flex; align-items: center; justify-content: center; }
.res-ring-val { position: absolute; font-size: .65rem; font-weight: 700; color: var(--cream); }
.res-ring-name { font-size: .52rem; text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; }

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.faq-inner { max-width: var(--max); margin: 0 auto; }
.faq-head   { margin-bottom: 3.5rem; }
.faq-title  { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--cream); margin-bottom: .75rem; }
.faq-title em { font-family: var(--display-font); font-style: italic; font-weight: 300; color: var(--violet); }
.faq-sub { font-size: .875rem; color: var(--muted); max-width: 480px; line-height: 1.6; }
.faq-list { max-width: 780px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.375rem 0;
  background: none; border: none; cursor: pointer; text-align: left;
}
.faq-btn:hover .faq-q { color: var(--violet); }
.faq-meta { display: flex; align-items: center; gap: 1rem; flex: 1; }
.faq-idx { font-size: .6rem; color: var(--muted); font-family: monospace; letter-spacing: .05em; flex-shrink: 0; }
.faq-q { font-size: .9375rem; font-weight: 500; color: var(--cream); transition: color .2s; }
.faq-toggle {
  width: 1.75rem; height: 1.75rem; flex-shrink: 0;
  border: 1px solid rgba(214,168,183,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet); font-size: 1rem; line-height: 1; transition: background .2s;
}
.faq-btn:hover .faq-toggle { background: rgba(214,168,183,.08); }
.faq-answer { padding: 0 0 1.375rem 2.5rem; font-size: .8125rem; color: var(--muted); line-height: 1.75; }

/* ─────────────────────────────────────────
   TECH STACK
───────────────────────────────────────── */
.stack { padding: 7rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface); }
.stack-inner { max-width: var(--max); margin: 0 auto; }
.stack-head  { margin-bottom: 3.5rem; }
.stack-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--cream); }
.stack-title em { font-family: var(--display-font); font-style: italic; font-weight: 300; color: var(--violet); }
.stack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px; background: var(--border);
}
.stack-card { background: var(--surface); padding: 1.5rem; display: flex; flex-direction: column; gap: .625rem; transition: background .2s; }
.stack-card:hover { background: var(--bg); }
.stack-card-head { display: flex; align-items: flex-start; justify-content: space-between; }
.stack-card-name { font-size: .875rem; font-weight: 600; color: var(--cream); transition: color .2s; }
.stack-card:hover .stack-card-name { color: var(--violet); }
.stack-card-tag { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.stack-card-arrow { font-size: .75rem; color: rgba(214,168,183,.3); transition: color .2s; }
.stack-card:hover .stack-card-arrow { color: var(--violet); }
.stack-card-body { font-size: .75rem; color: var(--muted); line-height: 1.6; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact { padding: 7rem 1.5rem; border-top: 1px solid var(--border); }
.contact-inner { max-width: var(--max); margin: 0 auto; }
.contact-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--cream); margin-bottom: 1.25rem; }
.contact-title em { font-family: var(--display-font); font-style: italic; font-weight: 300; color: var(--violet); }
.contact-body { font-size: .9375rem; color: var(--muted); line-height: 1.7; max-width: 34ch; margin-bottom: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-label { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; font-family: monospace; }
.contact-info-val { font-size: .875rem; color: var(--cream); text-decoration: none; transition: color .2s; }
a.contact-info-val:hover { color: var(--violet); }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); padding: 2rem; }
.contact-form-pretitle { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); font-family: monospace; margin-bottom: .375rem; }
.contact-form-title { font-family: var(--display-font); font-size: 1.5rem; font-weight: 300; color: var(--cream); margin-bottom: 1.5rem; }
.contact-form-title em { font-style: italic; color: var(--violet); }
.contact-form { display: flex; flex-direction: column; gap: .625rem; }
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.contact-input, .contact-textarea {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); font-size: .8125rem; font-family: var(--body-font);
  padding: .75rem 1rem; outline: none; transition: border-color .2s; width: 100%;
}
.contact-input::placeholder, .contact-textarea::placeholder { color: var(--muted); }
.contact-input:focus, .contact-textarea:focus { border-color: var(--violet); }
.contact-textarea { resize: none; }
.contact-consent { display: flex; align-items: flex-start; gap: .625rem; margin-top: .25rem; }
.contact-consent input { flex-shrink: 0; margin-top: .2rem; accent-color: var(--violet); }
.contact-consent label { font-size: .75rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.contact-submit { margin-top: .5rem; }
.contact-success { padding: 2rem 0; display: flex; flex-direction: column; gap: .75rem; }
.contact-success-icon { font-size: 1.75rem; color: var(--violet); }
.contact-success-title { font-family: var(--display-font); font-size: 1.75rem; font-weight: 300; color: var(--cream); }
.contact-success-body { font-size: .8125rem; color: var(--muted); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { padding: 5rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }
.footer-brand-tagline { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin-top: 1rem; max-width: 200px; }
.footer-brand-tagline em { font-family: var(--display-font); font-style: italic; color: var(--violet); }
.footer-col-title { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--cream); font-weight: 600; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .8125rem; color: var(--muted); text-decoration: none; transition: color .2s; line-height: 1; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-copy, .footer-credit { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ── Scrollbar ────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); }

/* ─────────────────────────────────────────
   SCROLL ARCHITECTURE
───────────────────────────────────────── */

/* Pill nav */
.pill-nav {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; align-items: center; gap: .25rem;
  padding: .375rem .5rem;
  background: rgba(11,8,13,.82); backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: 999px;
}
.pill-nav-logo {
  font-family: var(--display-font); font-size: .9rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cream);
  padding: .375rem .75rem; border-right: 1px solid var(--border);
  margin-right: .125rem; text-decoration: none; white-space: nowrap;
}
.pill-item {
  position: relative; padding: .375rem .875rem;
  font-size: .575rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 999px; overflow: hidden; display: inline-block;
  color: var(--muted); transition: color .25s;
}
.pill-item:hover { color: var(--bg); }
.pill-item-fill {
  position: absolute; inset: 0; background: var(--violet);
  border-radius: 999px; z-index: 0;
  transition: transform .38s var(--easing-spring);
}
.pill-item span { position: relative; z-index: 1; }

.pill-nav-cta {
  padding: .375rem 1rem;
  font-size: .575rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  background: var(--violet); color: var(--bg);
  border-radius: 999px;
  transition: opacity .2s, transform .2s;
  margin-left: .25rem;
}
.pill-nav-cta:hover { opacity: .85; transform: scale(1.04); }

/* Scroll hero */
.scroll-hero {
  position: fixed; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 1.5rem clamp(2rem, 4svh, 5rem); pointer-events: none;
}
.scroll-hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; pointer-events: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.scroll-float-title {
  font-size: clamp(2.25rem, min(8vw, 9svh), 7.5rem);
  font-weight: 700; line-height: .98; letter-spacing: -.04em;
  color: var(--cream); margin-bottom: 1.25rem; overflow: visible;
}
.char { display: inline-block; will-change: transform, opacity; }
.scroll-hero-sub {
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  color: var(--muted); line-height: 1.7; max-width: 520px; margin: 0 auto 1.5rem;
}
.scroll-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; justify-content: center; }
.scroll-hero-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 0; border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* Section slot */
.section-slot {
  height: 100vh; display: flex;
  align-items: flex-end; justify-content: center;
  padding-bottom: 3rem; overflow: hidden;
}

/* Slide panel */
.slide-panel-outer { perspective: 1200px; width: min(92vw, 1000px); }
.slide-panel-inner {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2.25rem 2.25rem 2rem;
  transform-style: preserve-3d; will-change: transform;
}
.slide-panel-hd {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-bottom: 1.375rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.slide-panel-eyebrow {
  font-size: .575rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-family: monospace; margin-bottom: .5rem;
}
.slide-panel-title {
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 300; color: var(--cream); line-height: 1.1;
}
.slide-panel-title em { font-style: italic; color: var(--violet); }
.slide-panel-num { font-size: .55rem; letter-spacing: .2em; color: rgba(94,92,98,.3); font-family: monospace; }

/* Panel footer */
.panel-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 4rem 1.5rem; position: relative; z-index: 5; pointer-events: auto; }
.panel-footer-inner { max-width: var(--max); margin: 0 auto; }
.panel-footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .panel-footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }

/* Work tag responsive show */
@media (min-width: 640px) { .work-tag-resp { display: block !important; } }



/* ─────────────────────────────────────────
   WORKS — role badge (add to existing works CSS)
   ───────────────────────────────────────── */
.work-role-badge {
  font-size: .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid rgba(192,132,252,.25);
  padding: .2rem .5rem;
  border-radius: 2px;
  white-space: nowrap;
  display: none;
  flex-shrink: 0;
}
@media (min-width: 768px) { .work-role-badge { display: inline-block; } }

/* Update grid columns to fit new badge column */
.work-link {
  grid-template-columns: 3rem 3rem 1fr auto auto auto auto auto !important;
}

/* ─────────────────────────────────────────
   AUTOMATION WORK SECTION
   ───────────────────────────────────────── */
.auto-work {
  padding: 5rem 1.5rem 7rem;
  border-top: 1px solid var(--border);
}
.auto-work-inner { max-width: var(--max); margin: 0 auto; }
.auto-work-head  { margin-bottom: 3rem; }
.auto-work-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: .75rem;
}
.auto-work-sub {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

/* 2-column grid on desktop, 1 on mobile */
.auto-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .auto-work-grid { grid-template-columns: repeat(2, 1fr); }
}

.auto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.auto-card:hover {
  border-color: rgba(192,132,252,.2);
  background: #1e1c2c;
}

.auto-card-mockup {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}

.auto-card-body {
  padding: 1.5rem;
}
.auto-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .6rem;
  transition: color .2s;
}
.auto-card:hover .auto-card-title { color: var(--violet); }

.auto-card-desc {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.auto-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.auto-tool-tag {
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: .25rem .6rem;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.auto-card:hover .auto-tool-tag {
  border-color: rgba(192,132,252,.2);
  color: rgba(192,132,252,.7);
}

/* ── Hero centered variant ────────────────────────────────────────────────── */
.hero--centered { justify-content: center; text-align: center; }
.hero-content--centered { align-items: center; }
.hero-title--stacked {
  display: flex;
  flex-direction: column;
  gap: .02em;
  line-height: .95;
  letter-spacing: -.04em;
}
.hero-word-plain  { color: var(--cream); }
.hero-word-violet { color: var(--violet); }
.hero-sub--centered { max-width: 560px; text-align: center; }
.hero-actions--centered { justify-content: center; }

/* ── Work Showcase Panel (tabbed) ──────────────────────────────── */
.wsp-tabs { display: flex; gap: .5rem; margin-bottom: 1.75rem; }
.wsp-tab {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1.25rem; border: 1px solid var(--border);
  background: transparent; cursor: pointer;
  font-size: .625rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); font-family: monospace;
  transition: border-color .2s, color .2s, background .2s;
}
.wsp-tab:hover { border-color: rgba(214,168,183,.32); color: var(--cream); }
.wsp-tab--active { border-color: var(--violet); color: var(--cream); background: rgba(214,168,183,.07); }
.wsp-tab-dot { width: .3rem; height: .3rem; border-radius: 50%; background: rgba(214,168,183,.3); flex-shrink: 0; transition: background .2s; }
.wsp-tab--active .wsp-tab-dot { background: var(--violet); }
.wsp-panes { display: grid; }
.wsp-pane { grid-area: 1/1; transition: opacity .4s ease, transform .4s ease; }
.wsp-pane--active  { opacity: 1; transform: translateY(0);  pointer-events: auto;  z-index: 1; }
.wsp-pane--inactive { opacity: 0; transform: translateY(8px); pointer-events: none; z-index: 0; }

/* ── Contact form — grouped controls (select / radio / checkbox) ──────────── */
.contact-group { display: flex; flex-direction: column; gap: .45rem; margin-top: .25rem; }
.contact-group-label {
  font-size: .55rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-family: monospace;
}
.contact-select {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--cream); font-size: .8125rem; font-family: var(--body-font);
  padding: .75rem 1rem; outline: none; transition: border-color .2s; width: 100%;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BEB8BE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: .7rem;
}
.contact-select:focus { border-color: var(--violet); }
.contact-select option { background: var(--bg); color: var(--cream); }
.contact-choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.contact-choice {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; border: 1px solid var(--border);
  font-size: .75rem; color: var(--muted); cursor: pointer; user-select: none;
  transition: border-color .2s, color .2s, background .2s;
}
.contact-choice:hover { border-color: rgba(214,168,183,.32); color: var(--cream); }
.contact-choice input { accent-color: var(--violet); margin: 0; flex-shrink: 0; }
.contact-choice--on { border-color: var(--violet); color: var(--cream); background: rgba(214,168,183,.07); }

/* ── Mobile responsiveness — active SlidePanel architecture ────────── */
/* Inline panel grids collapse to a single column on small screens.
   !important is required because the grids are set via inline styles. */
@media (max-width: 760px) {
  .rsp-2col { grid-template-columns: 1fr !important; }
  .rsp-3col { grid-template-columns: 1fr !important; }

  /* Section slots grow with content instead of clipping at 100vh */
  .section-slot {
    height: auto;
    min-height: 100svh;
    padding: 5rem 0 2rem;
  }
  .slide-panel-outer { width: 94vw; }
  .slide-panel-inner { padding: 1.5rem 1.25rem 1.5rem; }

  /* Mobile nav: hide the pill nav — the hamburger Nav takes over below 760px */
  .pill-nav { display: none; }

  /* Hero stats: tighter separators on narrow screens */
  .hero-stat { padding: 0 .75rem; }

  /* About panel: photo becomes a banner above the profile column */
  .about-photo {
    margin: -1.5rem -1.25rem 0 !important;
    height: 300px;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .about-profile {
    padding-left: 0 !important;
    padding-top: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .rsp-2col-sm { grid-template-columns: 1fr !important; }
}

/* ============================================================
   AI CHAT ASSISTANT (glowing, brand-matched)
   ============================================================ */
#nda-chat-trigger {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 1000;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--violet); border: 1px solid var(--violet);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(214,168,183,.45),
    0 0 16px 2px rgba(214,168,183,.65),
    0 0 38px 9px rgba(214,168,183,.38),
    0 10px 40px rgba(0,0,0,.45);
  transition: transform .35s var(--easing-spring), box-shadow .4s var(--easing);
}
#nda-chat-trigger::after {
  content: ""; position: absolute; inset: -1px; border-radius: 999px;
  border: 1px solid var(--violet); pointer-events: none;
  animation: nda-chat-pulse 2.6s var(--easing) infinite;
}
@keyframes nda-chat-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.5);  opacity: 0; }
  100% { transform: scale(1.5);  opacity: 0; }
}
#nda-chat-trigger:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(214,168,183,.55),
    0 0 22px 4px rgba(214,168,183,.85),
    0 0 50px 14px rgba(214,168,183,.45),
    0 14px 48px rgba(0,0,0,.5);
}
#nda-chat-trigger:active { transform: translateY(0); }
#nda-chat-trigger:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
#nda-chat-trigger svg { width: 24px; height: 24px; stroke: var(--bg); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
#nda-chat-trigger.is-open .nda-ic-open { display: none; }
#nda-chat-trigger .nda-ic-close { display: none; }
#nda-chat-trigger.is-open .nda-ic-close { display: block; }
@media (prefers-reduced-motion: reduce) { #nda-chat-trigger::after { animation: none; } }

#nda-chat-panel {
  position: fixed; bottom: 6.25rem; right: 1.75rem; z-index: 1000;
  width: 380px; height: 520px; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .45s var(--easing), transform .45s var(--easing);
  box-shadow:
    0 24px 70px rgba(0,0,0,.6),
    0 0 44px rgba(214,168,183,.16);
}
#nda-chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 440px) {
  #nda-chat-panel { width: calc(100vw - 1rem); right: .5rem; bottom: 5.75rem; }
  #nda-chat-trigger { right: .5rem; }
}

.nda-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex: none;
  background: linear-gradient(to bottom, rgba(214,168,183,.06), transparent);
}
.nda-chat-title {
  font-family: var(--body-font); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  display: flex; align-items: center; gap: .6rem;
}
.nda-chat-title .nda-dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--violet); flex: none;
  box-shadow: 0 0 8px 1px rgba(214,168,183,.85);
}
.nda-chat-close {
  width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--border);
  background: none; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .35s var(--easing), background .35s var(--easing);
}
.nda-chat-close:hover { border-color: var(--violet); background: rgba(214,168,183,.08); }
.nda-chat-close svg { width: 13px; height: 13px; stroke: var(--muted); fill: none; stroke-width: 1.8; stroke-linecap: round; transition: stroke .35s var(--easing); }
.nda-chat-close:hover svg { stroke: var(--violet); }
.nda-chat-close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.nda-chat-body {
  flex: 1; overflow-y: auto; padding: 1.15rem 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.nda-chat-body::-webkit-scrollbar { width: 4px; }
.nda-chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.nda-msg { display: flex; flex-direction: column; max-width: 88%; gap: .5rem; }
.nda-msg--bot  { align-self: flex-start; }
.nda-msg--user { align-self: flex-end; }
.nda-bubble {
  font-family: var(--body-font); font-size: .85rem; line-height: 1.6;
  padding: .65rem .85rem; border-radius: 14px; border: 1px solid var(--border);
}
.nda-msg--bot .nda-bubble  { color: var(--cream); background: rgba(255,255,255,.03); border-top-left-radius: 4px; }
.nda-msg--user .nda-bubble { color: var(--bg); background: var(--violet); border-color: var(--violet); border-top-right-radius: 4px; font-weight: 500; }

.nda-chat-escalate {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--violet);
  font-family: var(--body-font); font-size: .72rem; font-weight: 600;
  color: var(--violet); text-decoration: none;
  transition: background .35s var(--easing), color .35s var(--easing);
}
.nda-chat-escalate::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--violet); flex: none; }
.nda-chat-escalate:hover { background: var(--violet); color: var(--bg); }

/* Escalation CTA button — routes the visitor to the contact form */
.nda-chat-cta {
  align-self: flex-start; margin-top: .15rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: var(--violet); border: 1px solid var(--violet); color: var(--bg);
  font-family: var(--body-font); font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: transform .35s var(--easing-spring), box-shadow .35s var(--easing);
}
.nda-chat-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(214,168,183,.35); }

/* Bulleted answer inside a bot bubble */
.nda-bubble-list { margin: .55rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; list-style: none; }
.nda-bubble-list li { position: relative; padding-left: .9rem; font-size: .8rem; line-height: 1.5; color: var(--cream); }
.nda-bubble-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .32rem; height: .32rem; border-radius: 50%; background: var(--violet); }

/* Quick-reply suggestion chips */
.nda-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .15rem 0 .35rem; }
.nda-chips-label {
  flex-basis: 100%; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-family: var(--body-font); margin-bottom: .15rem;
}
.nda-chip {
  font-family: var(--body-font); font-size: .72rem; font-weight: 500; text-align: left;
  color: var(--cream); background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .42rem .8rem; cursor: pointer;
  transition: background .25s var(--easing), border-color .25s var(--easing), transform .2s var(--easing);
}
.nda-chip:hover { background: rgba(214,168,183,.12); border-color: rgba(214,168,183,.45); transform: translateY(-1px); }
.nda-chip--cta { background: var(--violet); border-color: var(--violet); color: var(--bg); font-weight: 600; }
.nda-chip--cta:hover { background: var(--violet); opacity: .9; }

/* Chat teaser nudge — speech bubble above the floating trigger */
#nda-chat-teaser {
  position: fixed; right: 1.75rem; bottom: 6.4rem; z-index: 999;
  display: flex; align-items: center; gap: .5rem;
  max-width: 220px; padding: .6rem .8rem;
  background: var(--surface); color: var(--cream);
  border: 1px solid var(--border); border-radius: 14px 14px 4px 14px;
  font-family: var(--body-font); font-size: .82rem; line-height: 1.3;
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  cursor: pointer; opacity: 0; transform: translateY(8px) scale(.96);
  pointer-events: none; transition: opacity .4s var(--easing), transform .4s var(--easing-spring);
}
#nda-chat-teaser.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#nda-chat-teaser::after {
  content: ""; position: absolute; right: 20px; bottom: -6px;
  width: 12px; height: 12px; background: var(--surface);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.nda-teaser-dot {
  width: .5rem; height: .5rem; border-radius: 999px; flex: none;
  background: var(--violet); box-shadow: 0 0 8px 1px rgba(214,168,183,.7);
}
.nda-teaser-text { flex: 1; }
.nda-teaser-close {
  flex: none; background: none; border: none; color: var(--muted);
  font-size: 1.05rem; line-height: 1; cursor: pointer; padding: 0 .1rem;
  transition: color .2s var(--easing);
}
.nda-teaser-close:hover { color: var(--cream); }

.nda-typing { padding: .15rem 1.25rem 0; flex: none; display: flex; align-items: center; gap: .35rem; }
.nda-typing.hidden { display: none; }
.nda-typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--muted); animation: nda-dot .9s var(--easing) infinite; }
.nda-typing span:nth-child(2) { animation-delay: .15s; }
.nda-typing span:nth-child(3) { animation-delay: .30s; }
@keyframes nda-dot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

.nda-chat-input {
  padding: .9rem 1.1rem; border-top: 1px solid var(--border); flex: none;
  display: flex; align-items: center; gap: .5rem;
}
.nda-chat-input input {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 999px; color: var(--cream); font-family: var(--body-font);
  font-size: .85rem; padding: .65rem 1rem; outline: none;
  transition: border-color .35s var(--easing);
}
.nda-chat-input input:focus { border-color: var(--violet); }
.nda-chat-input input::placeholder { color: var(--muted); }
.nda-chat-input input:disabled { opacity: .5; }
.nda-chat-send {
  flex: none; height: 42px; padding: 0 1.1rem; border-radius: 999px;
  background: var(--violet); border: 1px solid var(--violet); color: var(--bg);
  font-family: var(--body-font); font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--easing-spring), box-shadow .35s var(--easing), opacity .35s var(--easing);
}
.nda-chat-send:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,168,183,.4); }
.nda-chat-send:active { transform: translateY(0); }
.nda-chat-send:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.nda-chat-send:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
