@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --green: hsl(155, 65%, 55%);
  --green-light: hsl(155, 60%, 75%);
  --green-pale: hsl(155, 40%, 90%);
  --blue: hsl(210, 75%, 60%);
  --blue-light: hsl(210, 65%, 78%);
  --blue-pale: hsl(210, 50%, 92%);
  --bg: #fafaf8;
  --text: #1a1a18;
  --text-dim: #8a8a82;
  --text-light: #b5b5ad;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── GRAIN ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ── ANIMATED GRADIENT BLOBS ── */
.blob-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.8;
}
.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  top: -10%;
  left: -12%;
}
.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: 20%;
  right: -15%;
}
.blob-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  bottom: -5%;
  left: 5%;
  opacity: 0.6;
}
.blob-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  bottom: 10%;
  right: 5%;
  opacity: 0.5;
}

/* ── PROGRESSIVE EDGE BLUR ── */
.edge-blur {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.edge-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
.edge-blur::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  z-index: -1;
}
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(0,0%,98%,0.7) 0%, hsla(0,0%,98%,0.3) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 100%);
  z-index: -1;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s var(--spring), opacity 0.2s;
}

/* ── CONTENT WRAPPER ── */
.content { position: relative; z-index: 2; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
}
.hero-title .line {
  display: block;
}
.hero-title .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(16px);
  -webkit-filter: blur(16px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-title.visible .line-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  -webkit-filter: blur(0px);
}
.hero-title .line:nth-child(2) .line-inner { transition-delay: 0.12s; }
.hero-title .line:nth-child(3) .line-inner { transition-delay: 0.24s; }
.hero-title em {
  font-style: italic;
  font-weight: 300;
}
.svatec-text {
  display: inline-block;
  background: linear-gradient(
    110deg,
    var(--text) 0%,
    var(--text) 25%,
    var(--green) 40%,
    var(--blue) 60%,
    var(--text) 75%,
    var(--text) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: inkShine 14s ease-in-out infinite;
}
@keyframes inkShine {
  0% { background-position: 100% center; }
  50% { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--text-dim);
  max-width: 420px;
  margin-top: 3rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s var(--smooth) 0.5s;
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--smooth) 1.2s forwards;
}
.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── SECTION SPACERS ── */
.spacer { height: 15vh; }
.spacer-sm { height: 8vh; }

/* ── TEXT SECTIONS ── */
section { position: relative; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ── LARGE SCROLL TEXT (ironhill-style) ── */
.scroll-text {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  max-width: 900px;
  word-spacing: 0.08em;
}
.scroll-text .word {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.5s var(--spring);
  opacity: 0.12;
}
.scroll-text .word.active {
  opacity: 1;
}

/* ── PROJECTS ── */
.projects-section { padding: 8rem 0; }
.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.project-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.06); }
.project-number {
  font-family: var(--serif);
  font-size: 4rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.5;
}
.project-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.project-desc {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-weight: 300;
  max-width: 400px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  color: var(--text-dim);
  font-weight: 400;
}
.project-visual {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-pale), var(--blue-pale));
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-visual-icon {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.12;
  letter-spacing: 0.02em;
}
.project-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  pointer-events: none;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--smooth), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ── FUN CANVAS ── */
.fun-canvas-container {
  width: 100%;
  height: 400px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
  cursor: crosshair;
}
.fun-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.fun-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.5s;
}
.fun-canvas-container:hover .fun-hint {
  opacity: 0;
}
.pattern-toggle {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.pattern-toggle:hover {
  transform: scale(1.1) rotate(90deg);
}

/* ── FUTURE TEASER ── */
.future {
  text-align: center;
  padding: 10rem 2rem;
}
.future-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  background: var(--green-pale);
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2.5rem;
}
.future-heading {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.future-heading em { font-style: italic; }
.future-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── FOOTER ── */
.footer {
  padding: 4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}
.footer-left {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-dim);
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }

/* ── HORIZONTAL RULE ── */
.hr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.hr-line {
  height: 1px;
  background: rgba(0,0,0,0.06);
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 200;
  width: 0%;
  opacity: 0.6;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 1.5rem 1.5rem; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .nav-links.open { display: flex; z-index: 105; }
  .nav-links a { color: var(--text); font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-toggle.open span { background: var(--text); }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

  .section-inner { padding: 0 1.5rem; }
  .project-item { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .project-visual { height: 260px; }
  .spacer { height: 10vh; }
  .footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 3rem 1.5rem; }
  .blob { opacity: 0.3; }
  .blob-1 { width: 350px; height: 350px; }
  .blob-2 { width: 300px; height: 300px; }
  .blob-3, .blob-4 { width: 250px; height: 250px; }
  .scroll-text { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .hero-title { font-size: clamp(3rem, 16vw, 7rem); }
}

@media (max-width: 480px) {
  .nav { padding: 1rem 1rem; }
  .hero-title { font-size: clamp(2.6rem, 18vw, 5rem); }
  .section-inner { padding: 0 1rem; }
  
  /* Mobile Chat UI */
  .chat-toggle {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
  }
  .chat-panel {
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .chat-header {
    border-radius: 0;
    padding-top: max(1.5rem, env(safe-area-inset-top));
  }
  .chat-input-area {
    border-radius: 0;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── iOS SAFE AREA ── */
@supports (padding: max(0px)) {
  .nav { padding-top: max(2rem, env(safe-area-inset-top)); }
  .footer { padding-bottom: max(4rem, env(safe-area-inset-bottom)); }
}

/* ── AI CHAT UI ── */
.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s;
}
.chat-toggle:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.chat-panel {
  position: fixed;
  bottom: 7rem;
  right: 2rem;
  width: 380px;
  height: 550px;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 10rem);
  background: rgba(250, 250, 248, 0.6);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  z-index: 101;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.chat-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,0.1));
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}
.chat-header h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  margin: 0;
  color: var(--text);
}
.chat-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  color: var(--text);
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.3s;
}
.chat-close:hover { opacity: 1; transform: rotate(90deg); }
.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.message {
  padding: 1rem 1.4rem;
  border-radius: 1.5rem;
  max-width: 85%;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: messageReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
@keyframes messageReveal {
  from { opacity: 0; transform: translateY(15px) scale(0.95); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}
.message.ai {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0,0,0,0.04);
  align-self: flex-start;
  border-bottom-left-radius: 0.4rem;
}
.message.user {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 0.4rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.message.typing {
  color: rgba(0,0,0,0.4);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
  padding: 0.5rem 1.4rem;
  animation: pulseTyping 1.5s infinite alternate;
}
@keyframes pulseTyping {
  from { opacity: 0.4; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 0.8rem;
  background: rgba(255,255,255,0.3);
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
.chat-input-area input {
  flex: 1;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 1rem 1.2rem;
  border-radius: 2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.chat-input-area input:focus {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.chat-input-area button {
  background: var(--text);
  color: var(--bg);
  border: none;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}
.chat-input-area button:hover { 
  transform: scale(1.1); 
  background: #000;
}
.chat-input-area button:active { transform: scale(0.95); }
