:root {
  --bg: #090c12;
  --bg-2: #0f1623;
  --panel: rgba(15, 21, 32, 0.84);
  --panel-strong: rgba(20, 28, 42, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --text: #f4efe7;
  --muted: rgba(244, 239, 231, 0.72);
  --soft: rgba(244, 239, 231, 0.46);
  --line: rgba(244, 239, 231, 0.12);
  --line-strong: rgba(244, 239, 231, 0.22);
  --accent: #ff7a45;
  --accent-2: #ffd47c;
  --accent-3: #7bd5ff;
  --success: #7be7a8;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 122, 69, 0.16), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(123, 213, 255, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #0c1220 38%, #111827 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 84%);
  opacity: 0.45;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 16, 0.78), rgba(9, 11, 16, 0.26) 28%, rgba(9, 11, 16, 0.66) 100%);
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) blur(0.55px) brightness(1.02);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 122, 69, 0.16), transparent 22%),
    radial-gradient(circle at 62% 52%, rgba(123, 213, 255, 0.12), transparent 24%),
    #080a0f;
  transition: opacity 680ms ease, visibility 680ms ease, transform 680ms ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  pointer-events: none;
}

.loader-card {
  width: min(520px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 30px;
  background: rgba(17, 23, 34, 0.78);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.loader-kicker {
  color: var(--accent-2);
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.loader-name {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 10vw, 5.2rem);
  line-height: 0.92;
}

.loader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.loader-tags span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 0.78rem;
}

.loader-line {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  animation: loaderFill 1.1s 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shell {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(10, 13, 18, 0.72);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(18px);
  transition: border-color 220ms ease, background 220ms ease, opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-ready .site-header {
  opacity: 1;
  transform: translateY(0);
}

.site-header.scrolled {
  background: rgba(10, 13, 18, 0.9);
  border-color: var(--line);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 40;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 18px rgba(255, 122, 69, 0.45);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.95rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav a,
.mobile-links a {
  text-decoration: none;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #ff9759);
  color: #140b06;
  box-shadow: 0 18px 42px rgba(255, 122, 69, 0.22);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.menu-toggle.open {
  border-color: rgba(255, 212, 124, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg) scaleX(1.04); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) scaleX(1.04); }

.mobile-panel {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  pointer-events: none;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-panel.open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-links {
  display: grid;
  gap: 10px;
  padding: 10px 0 20px;
}

.mobile-links a {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, border-color 180ms ease, background 180ms ease;
}

.mobile-panel.open .mobile-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-panel.open .mobile-links a:nth-child(1) { transition-delay: 40ms; }
.mobile-panel.open .mobile-links a:nth-child(2) { transition-delay: 70ms; }
.mobile-panel.open .mobile-links a:nth-child(3) { transition-delay: 100ms; }
.mobile-panel.open .mobile-links a:nth-child(4) { transition-delay: 130ms; }
.mobile-panel.open .mobile-links a:nth-child(5) { transition-delay: 160ms; }
.mobile-panel.open .mobile-links a:nth-child(6) { transition-delay: 190ms; }

.mobile-links a:hover,
.mobile-links a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

main {
  padding: 28px 0 80px;
}

.page-grid,
.page-hero,
.home-hero,
.proof-grid,
.teaser-grid,
.story-grid,
.contact-grid,
.service-grid,
.process-grid,
.fit-grid,
.project-grid,
.value-strip {
  display: grid;
  gap: 24px;
}

.home-hero,
.page-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.home-hero {
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  align-items: start;
}

.home-hero,
.page-shell,
.section-card,
.chat-card,
.proof-card,
.teaser-card,
.project-card,
.service-card,
.process-card,
.fit-card,
.contact-card,
.story-card,
.portrait-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.page-shell,
.section-card,
.chat-card,
.proof-card,
.teaser-card,
.project-card,
.service-card,
.process-card,
.fit-card,
.contact-card,
.story-card,
.portrait-card {
  padding: 28px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.display,
.page-title,
.section-title {
  margin: 18px 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.display em,
.page-title em,
.section-title em {
  color: var(--accent-2);
  font-style: italic;
}

.lead,
.page-intro,
.section-copy,
.hero-note {
  color: var(--muted);
}

.lead {
  max-width: 40rem;
  font-size: 1.04rem;
}

.hero-copy {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.page-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 124, 0.14), transparent 70%);
  pointer-events: none;
}

body.site-ready .hero-copy,
body.site-ready .hero-portrait {
  opacity: 1;
  transform: translateY(0);
}

body.site-ready .hero-copy { transition-delay: 120ms; }
body.site-ready .hero-portrait { transition-delay: 220ms; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-badges,
.page-badges,
.project-stack,
.service-tags,
.contact-list,
.bullet-list,
.stat-strip,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge,
.project-stack span,
.service-tags span,
.quick-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-size: 0.82rem;
}

.hero-actions,
.page-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.stat-value {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--soft);
  font-size: 0.84rem;
}

.hero-portrait {
  position: relative;
  padding: 18px;
  overflow: hidden;
  width: min(100%, 400px);
  justify-self: center;
  align-self: start;
}

.hero-portrait img,
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait-frame {
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5.15;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.hero-portrait-frame img,
.portrait-image img {
  border-radius: inherit;
}

.portrait-float {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(10, 13, 18, 0.74);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
}

.portrait-float strong,
.list-title,
.card-title,
.project-title,
.service-title,
.process-title,
.fit-title {
  display: block;
  margin-bottom: 4px;
}

.portrait-float span,
.card-copy,
.project-copy,
.service-copy,
.process-copy,
.fit-copy,
.small-copy {
  color: var(--soft);
}

.section-stack {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 30rem;
  margin: 0;
}

.chat-card {
  padding: 20px;
}

.chat-shell {
  display: grid;
  gap: 16px;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.chat-top strong {
  display: block;
  font-size: 0.96rem;
}

.chat-top span {
  color: var(--soft);
  font-size: 0.82rem;
}

.bot-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.bot-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 212, 124, 0.32);
  position: relative;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 212, 124, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 122, 69, 0.34), rgba(123, 213, 255, 0.24));
}

.bot-face {
  position: absolute;
  inset: 11px;
  border-radius: 14px;
  background: rgba(10, 13, 18, 0.78);
}

.bot-face::before,
.bot-face::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(255, 212, 124, 0.55);
}

.bot-face::before { left: 9px; }
.bot-face::after { right: 9px; }

.bot-mouth {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 14px;
  height: 6px;
  transform: translateX(-50%);
  border-bottom: 2px solid var(--accent-3);
  border-radius: 0 0 12px 12px;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 0.8rem;
  white-space: nowrap;
}

.chat-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(123, 231, 168, 0.45);
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.chat-thread {
  min-height: 320px;
  max-height: 420px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-right: 4px;
}

.chat-row {
  display: flex;
}

.chat-row.user {
  justify-content: flex-end;
}

.bubble {
  max-width: 88%;
  padding: 14px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.92rem;
  line-height: 1.45;
}

.bubble.bot {
  background: rgba(255,255,255,0.04);
  border-bottom-left-radius: 10px;
}

.bubble.user {
  background: rgba(255, 122, 69, 0.14);
  color: #ffe8dc;
  border-bottom-right-radius: 10px;
}

.chat-message-label {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.typing {
  display: inline-flex;
  gap: 6px;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: 0.45;
  animation: pulseDot 1.1s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

.chat-sidebar {
  display: grid;
  gap: 12px;
}

.chat-note {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.chat-note strong {
  display: block;
  margin-bottom: 6px;
}

.chat-note span,
.chat-note p {
  color: var(--soft);
  margin: 0;
}

.chat-footer {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.chat-input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  outline: none;
}

.chat-input::placeholder {
  color: var(--soft);
}

.chat-input:focus {
  border-color: rgba(255, 212, 124, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 212, 124, 0.08);
}

.chat-send {
  border: 0;
  min-width: 92px;
  cursor: pointer;
}

.chat-send[disabled] {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-chip {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.chat-chip:hover,
.chat-chip.active {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255, 212, 124, 0.32);
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--soft);
  font-size: 0.76rem;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.teaser-card,
.project-card,
.service-card,
.process-card,
.fit-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.card-top,
.project-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.card-tag,
.project-tag {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.project-link,
.text-link {
  color: var(--text);
  text-decoration: none;
}

.text-link {
  color: var(--accent-2);
}

.project-link:hover,
.text-link:hover {
  text-decoration: underline;
}

.teaser-grid,
.service-grid,
.process-grid,
.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
}

.project-side,
.story-list,
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.project-side li,
.story-list li,
.bullet-list li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.project-side li::before,
.story-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.project-side strong,
.story-list strong,
.bullet-list strong {
  color: var(--text);
}

.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.portrait-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.contact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-list li {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--soft);
  font-size: 0.84rem;
}

@keyframes loaderFill {
  to { transform: scaleX(1); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 1100px) {
  .home-hero,
  .page-hero,
  .story-grid,
  .contact-grid,
  .project-card.featured,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    justify-items: center;
  }

  .proof-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .stat-strip,
  .teaser-grid,
  .service-grid,
  .process-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .chat-thread {
    min-height: 250px;
    max-height: 340px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  main {
    padding-top: 14px;
    padding-bottom: 56px;
  }

  .nav {
    min-height: 66px;
  }

  .home-hero,
  .page-shell,
  .section-stack {
    gap: 16px;
  }

  .page-shell,
  .section-card,
  .chat-card,
  .proof-card,
  .teaser-card,
  .project-card,
  .service-card,
  .process-card,
  .fit-card,
  .contact-card,
  .story-card,
  .portrait-card,
  .hero-copy {
    padding: 20px;
  }

  .display,
  .page-title,
  .section-title {
    margin-top: 14px;
    font-size: clamp(2.2rem, 12vw, 3.35rem);
    line-height: 0.96;
  }

  .lead,
  .page-intro,
  .section-copy,
  .card-copy,
  .project-copy,
  .service-copy,
  .process-copy,
  .fit-copy {
    font-size: 0.95rem;
  }

  .hero-actions,
  .page-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .hero-badges,
  .project-stack,
  .service-tags,
  .quick-links {
    gap: 8px;
  }

  .badge,
  .project-stack span,
  .service-tags span,
  .quick-links a {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .hero-portrait {
    padding: 14px;
    width: min(100%, 340px);
  }

  .hero-portrait-frame {
    aspect-ratio: 4 / 4.9;
  }

  .portrait-float,
  .portrait-caption,
  .footer-row,
  .chat-meta,
  .chat-top {
    display: grid;
  }

  .portrait-float {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 14px;
    padding: 14px 15px;
    gap: 12px;
  }

  .portrait-caption {
    padding: 14px 15px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-heading p {
    max-width: none;
  }

  .chat-card {
    padding: 14px;
  }

  .chat-shell {
    gap: 12px;
  }

  .chat-layout {
    gap: 12px;
  }

  .chat-sidebar {
    display: none;
  }

  .chat-top {
    gap: 12px;
    padding: 12px 13px;
  }

  .bot-wrap {
    gap: 10px;
  }

  .bot-avatar {
    width: 44px;
    height: 44px;
  }

  .chat-top strong {
    font-size: 0.9rem;
  }

  .chat-top span,
  .chat-status {
    font-size: 0.76rem;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-send {
    width: 100%;
  }

  .chat-thread {
    min-height: 220px;
    max-height: 300px;
  }

  .bubble {
    max-width: 92%;
    padding: 12px 13px;
    font-size: 0.88rem;
  }

  .chat-prompts {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .chat-prompts::-webkit-scrollbar {
    display: none;
  }

  .chat-chip {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .proof-grid,
  .project-grid,
  .teaser-grid,
  .service-grid,
  .process-grid,
  .fit-grid,
  .story-grid,
  .contact-grid {
    gap: 16px;
  }
}
