/* Portfolio v6 — WordPress theme. One screen: rail, list, pane. */

.sushil-v6-body {
  margin: 0;
  overflow: hidden;
  background: var(--v6-bg, #e9edf4);
}

.v6 {
  --v6-bg: #e9edf4;
  --v6-panel: #ffffff;
  --v6-sunk: #f6f7fa;
  --v6-line: #e6e9f0;
  --v6-ink: #10131f;
  --v6-soft: #6a7086;
  --v6-faint: #9aa0b2;
  --v6-accent: #4f46e5;
  --v6-accent-ink: #ffffff;
  --v6-accent-soft: #eef0ff;
  --v6-live: #22c55e;
  --v6-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;

  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--v6-bg);
  color: var(--v6-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html.v6-dark .sushil-v6-body {
  background: #12141c;
}

html.v6-dark .v6 {
  --v6-bg: #12141c;
  --v6-panel: #1a1d27;
  --v6-sunk: #222632;
  --v6-line: #2c3140;
  --v6-ink: #f2f4f8;
  --v6-soft: #9aa3b8;
  --v6-faint: #6d7488;
  --v6-accent: #818cf8;
  --v6-accent-ink: #10131f;
  --v6-accent-soft: #2a2d4a;
  --v6-live: #22c55e;
  color-scheme: dark;
}

.admin-bar .v6 {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .v6 {
    top: 46px;
  }
}

.v6 *,
.v6 *::before,
.v6 *::after {
  box-sizing: border-box;
}

.v6 button,
.v6 input,
.v6 textarea {
  font: inherit;
}

.v6 button {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

.v6 img {
  max-width: 100%;
  display: block;
}

.v6-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v6-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex-shrink: 0;
}

.v6-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--v6-line) transparent;
}

.v6-scroll::-webkit-scrollbar {
  width: 10px;
}

.v6-scroll::-webkit-scrollbar-thumb {
  background: var(--v6-line);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.v6-card {
  background: var(--v6-panel);
  border: 1px solid var(--v6-line);
  border-radius: 18px;
}

.v6-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--v6-line);
  background: var(--v6-sunk);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--v6-soft);
  list-style: none;
}

.v6-shell {
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.v6-frame {
  display: flex;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--v6-line);
  background: var(--v6-sunk);
  box-shadow: 0 30px 70px -40px rgb(16 19 32 / 45%);
}

.v6-rail {
  display: none;
  width: 76px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--v6-line);
  background: var(--v6-panel);
  padding: 16px 0;
}

.v6-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.v6-rail-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--v6-faint);
  transition: color 0.2s, background 0.2s;
}

.v6-rail-btn:hover {
  background: var(--v6-sunk);
  color: var(--v6-ink);
}

.v6-rail-btn.is-active {
  background: var(--v6-accent-soft);
  color: var(--v6-accent);
}

.v6-rail-live {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--v6-faint);
}

.v6-list {
  display: none;
  width: 300px;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid var(--v6-line);
  background: var(--v6-panel);
}

.v6-list-head {
  padding: 16px;
  border-bottom: 1px solid var(--v6-line);
}

.v6-list-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v6-list-role {
  margin: 0;
  font-size: 0.78rem;
  color: var(--v6-soft);
}

.v6-search {
  position: relative;
  margin-top: 12px;
}

.v6-search .v6-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--v6-faint);
  pointer-events: none;
}

.v6-search input {
  width: 100%;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--v6-sunk);
  padding: 0 12px 0 36px;
  font-size: 0.8rem;
  outline: none;
}

.v6-search input:focus {
  border-color: var(--v6-accent);
}

.v6-list-items {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.v6-list-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-align: left;
  transition: background 0.2s;
}

.v6-list-btn:hover {
  background: var(--v6-sunk);
}

.v6-list-btn.is-active {
  background: var(--v6-accent-soft);
}

.v6-list-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--v6-sunk);
  color: var(--v6-soft);
}

.v6-list-btn.is-active .v6-list-icon {
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
}

.v6-list-copy {
  min-width: 0;
  flex: 1;
}

.v6-list-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.v6-list-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}

.v6-list-meta {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--v6-faint);
}

.v6-list-meta.is-live {
  color: var(--v6-live);
}

.v6-list-preview {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--v6-soft);
}

.v6-list-empty {
  padding: 24px 16px;
  font-size: 0.8rem;
  color: var(--v6-faint);
}

.v6-list-foot {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--v6-line);
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--v6-faint);
}

.v6-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  background: var(--v6-panel);
}

.v6-top {
  display: flex;
  height: 68px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--v6-line);
  background: var(--v6-panel);
}

.v6-chip-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.v6-avatar-btn {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--v6-sunk);
  box-shadow: 0 0 0 2px var(--v6-panel);
}

.v6-chip-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 18%;
}

.v6-chip-meta {
  min-width: 0;
}

.v6-chip-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.v6-chip-note {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--v6-soft);
}

.v6-mic-mini {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  flex-shrink: 0;
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  color: var(--v6-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.v6-mic-mini:hover {
  background: var(--v6-sunk);
}

.v6-mic-mini.is-hot {
  border-color: transparent;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
}

.v6-mic-mini .v6-icon {
  width: 16px;
  height: 16px;
}

.v6-top-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.v6-theme {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  color: var(--v6-soft);
  transition: background 0.2s, color 0.2s;
}

.v6-theme:hover {
  background: var(--v6-sunk);
  color: var(--v6-ink);
}

.v6-theme [data-theme-icon] {
  display: none;
}

html[data-v6-theme="system"] .v6-theme [data-theme-icon="system"],
html[data-v6-theme="light"] .v6-theme [data-theme-icon="light"],
html[data-v6-theme="dark"] .v6-theme [data-theme-icon="dark"] {
  display: grid;
}

.v6-theme .v6-icon {
  width: 16px;
  height: 16px;
}

.v6-top-label {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v6-faint);
}

.v6 button.v6-hire {
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--v6-ink);
  color: var(--v6-bg);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s;
}

.v6-hire:hover {
  transform: translateY(-2px);
}

.v6-panes {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.v6-pane {
  animation: v6-pane 0.42s var(--v6-ease) both;
}

.v6-pane.is-active {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.v6-pane[hidden] {
  display: none;
}

.v6-mobile {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 60px;
  border-top: 1px solid var(--v6-line);
  background: var(--v6-panel);
  padding: 8px 20px calc(8px + env(safe-area-inset-bottom));
}

.v6-mobile-btn {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  flex: 1 1 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--v6-faint);
}

.v6-mobile-label {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.v6-mobile-btn.is-active {
  flex: 0 0 auto;
  max-width: 42%;
  padding: 0 12px;
  background: var(--v6-accent-soft);
  color: var(--v6-accent);
}

.v6-mobile-btn.is-active .v6-mobile-label {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v6-mobile-btn .v6-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.v6-home {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px;
}

.v6-portrait {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  overflow: hidden;
  justify-self: stretch;
}

.v6-home-copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.v6-home-intro {
  flex-shrink: 0;
}

.v6-home-copy h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.v6-lede {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--v6-soft);
}

.v6-home-stats {
  display: none;
  margin-top: 16px;
  gap: 8px;
}

.v6-stat-mini {
  padding: 10px 12px;
}

.v6-stat-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.v6-stat-label {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: var(--v6-soft);
}

.v6-thread {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-right: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.v6-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v6-composer {
  margin-top: 16px;
  padding: 4px 4px 8px;
}

.v6-suggestions button {
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  background: var(--v6-panel);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--v6-soft);
  box-shadow: 0 1px 0 rgb(16 19 32 / 6%);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.v6-suggestions button:hover {
  border-color: var(--v6-accent);
  background: var(--v6-accent-soft);
  color: var(--v6-accent);
}

.v6-ask {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.v6-ask input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  background: var(--v6-panel);
  padding: 0 16px;
  font-size: 0.875rem;
  outline: none;
}

.v6-ask input:focus {
  border-color: var(--v6-accent);
}

.v6-ask button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
  transition: transform 0.2s;
}

.v6-ask button:hover {
  transform: translateY(-2px);
}

.v6-ask .v6-icon {
  width: 16px;
  height: 16px;
}

.v6-denied {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--v6-faint);
}

.v6-pane[data-pane="work"],
.v6-pane[data-pane="services"],
.v6-pane[data-pane="process"],
.v6-pane[data-pane="about"],
.v6-pane[data-pane="contact"] {
  padding: 20px;
}

.v6-work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.v6-project {
  overflow: hidden;
  transition: transform 0.3s;
}

.v6-project:hover {
  transform: translateY(-4px);
}

.v6-project-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--v6-sunk);
}

.v6-project-shot:empty {
  display: none;
}

.v6-project-shot a {
  display: block;
  height: 100%;
}

.v6-project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s;
}

.v6-project:hover img {
  transform: scale(1.04);
}

.v6-project-body {
  padding: 16px;
}

.v6-project-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.v6-project-row h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.v6-project-row span {
  font-size: 0.72rem;
  color: var(--v6-faint);
}

.v6-project-body p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--v6-soft);
}

.v6-project-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.v6-project-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.v6-project-live {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--v6-accent);
}

.v6-project-live .v6-icon {
  width: 14px;
  height: 14px;
}

.v6-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.v6-service {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.v6-service h3 {
  margin: 0;
  font-size: 1.05rem;
}

.v6-service p {
  margin: 10px 0 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--v6-soft);
}

.v6-service ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.v6-service li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
}

.v6-service .v6-icon {
  width: 14px;
  height: 14px;
  color: var(--v6-accent);
}

.v6-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v6-steps li {
  position: relative;
  padding: 20px;
}

.v6-step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--v6-accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--v6-accent);
}

.v6-steps h3 {
  margin: 16px 0 0;
  font-size: 1rem;
}

.v6-steps p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--v6-soft);
}

.v6-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.v6-stat {
  padding: 16px;
  text-align: center;
}

.v6-stat-lg {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.v6-stat p:last-child {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--v6-soft);
}

.v6-about {
  margin-top: 16px;
  padding: 20px;
}

.v6-about p {
  margin: 12px 0 0;
  max-width: 70ch;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--v6-soft);
}

.v6-about p:first-child {
  margin-top: 0;
}

.v6-kicker {
  margin: 24px 0 0 !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v6-faint) !important;
}

.v6-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
}

.v6-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.v6-contact-intro,
.v6-contact-form {
  padding: 20px;
}

.v6-contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 100%;
}

.v6-contact h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v6-contact-copy p {
  margin: 10px 0 0;
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--v6-soft);
}

.v6-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.v6-mail:hover {
  border-color: var(--v6-accent);
  color: var(--v6-accent);
}

.v6-avail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 0.8rem;
  color: var(--v6-soft);
}

.v6-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.v6-channel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.v6-channel legend {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--v6-soft);
}

.v6-channel label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--v6-line);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.v6-channel input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.v6-channel label:has(input:checked) {
  border-color: var(--v6-accent);
  background: var(--v6-accent-soft);
  color: var(--v6-accent);
}

.v6-contact-form input:not([type="radio"]),
.v6-contact-form textarea {
  width: 100%;
  height: 44px;
  border: 1px solid var(--v6-line);
  border-radius: 12px;
  background: var(--v6-panel);
  padding: 0 14px;
  font-size: 0.875rem;
  outline: none;
}

.v6-contact-form textarea {
  height: auto;
  margin-top: 12px;
  padding: 12px 14px;
  resize: none;
  line-height: 1.5;
}

.v6-contact-form input:not([type="radio"]):focus,
.v6-contact-form textarea:focus {
  border-color: var(--v6-accent);
}

.v6-contact-form button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.v6-contact-form button:hover {
  transform: translateY(-2px);
}

.v6-contact-form > p {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--v6-faint);
}

.v6-face {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
}

.v6-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.v6-anam-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  opacity: 0;
  background: #d7d3cc;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.v6-stage.is-anam-live .v6-face {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.v6-stage.is-anam-live .v6-anam-video {
  z-index: 2;
  opacity: 1;
}

.v6-stage {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8e1d7 0%, #d7d3cc 100%);
}

.v6-halo::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid color-mix(in srgb, var(--v6-accent) 65%, transparent);
  animation: v6-halo 1.9s var(--v6-ease) infinite;
  pointer-events: none;
}

.v6-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 85%);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #10131f;
  backdrop-filter: blur(8px);
}

.v6-interim {
  position: absolute;
  inset-inline: 16px;
  top: 64px;
  z-index: 3;
  margin: 0 auto;
  max-width: 34ch;
  border-radius: 16px;
  background: rgb(0 0 0 / 45%);
  padding: 8px 14px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #fff;
  backdrop-filter: blur(8px);
}

.v6-cta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  background: linear-gradient(to top, rgb(0 0 0 / 45%), transparent);
  padding: 48px 16px 20px;
}

.v6 button.v6-listen {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgb(49 46 129 / 25%);
  transition: transform 0.2s;
}

.v6-listen:hover {
  transform: translateY(-2px);
}

.v6-listen:active {
  transform: scale(0.98);
}

.v6-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  color: var(--v6-accent);
}

.v6-wave span {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
  animation: v6-wave 900ms ease-in-out infinite;
}

.v6-wave span:nth-child(2) { animation-delay: 110ms; }
.v6-wave span:nth-child(3) { animation-delay: 220ms; }
.v6-wave span:nth-child(4) { animation-delay: 330ms; }
.v6-wave span:nth-child(5) { animation-delay: 440ms; }

.v6-pulse {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--v6-live);
}

.v6-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--v6-live);
  animation: v6-ping 2.2s var(--v6-ease) infinite;
}

.v6-bubble {
  max-width: 30ch;
  flex-shrink: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
  animation: v6-pop 0.4s var(--v6-ease) both;
}

.v6-bubble-them {
  align-self: flex-start;
  background: var(--v6-panel);
  border: 1px solid var(--v6-line);
  border-bottom-left-radius: 5px;
}

.v6-bubble-me {
  align-self: flex-end;
  background: var(--v6-accent);
  color: var(--v6-accent-ink);
  border-bottom-right-radius: 5px;
}

.v6-typing {
  display: flex;
  align-items: center;
  gap: 0;
}

.v6-typing span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--v6-faint);
  animation: v6-typing 1.1s ease-in-out infinite;
}

.v6-typing span:nth-child(2) { animation-delay: 160ms; }
.v6-typing span:nth-child(3) { animation-delay: 320ms; }

.v6 :focus-visible {
  outline: 2px solid var(--v6-accent);
  outline-offset: 2px;
  border-radius: 8px;
}

@keyframes v6-halo {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.035); }
}

@keyframes v6-wave {
  0%, 100% { height: 6px; opacity: 0.55; }
  50% { height: 18px; opacity: 1; }
}

@keyframes v6-ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

@keyframes v6-pop {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes v6-pane {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes v6-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@media (min-width: 640px) {
  .v6-shell { padding: 16px; }
  .v6-frame { border-radius: 24px; }
  .v6-top { padding: 0 20px; }
  .v6-top-label { display: block; }
  .v6-home-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .v6-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .v6[data-tab="home"] .v6-panes {
    overflow: hidden;
  }

  .v6-pane-home.is-active {
    height: 100%;
    overflow: hidden;
  }

  .v6-home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: 12px;
    padding: 12px 20px 0;
  }

  .v6-portrait {
    flex: 1 1 0;
    min-height: 140px;
    aspect-ratio: auto;
    height: auto;
    width: 100%;
  }

  .v6-home-copy {
    flex: 0 1 auto;
    max-height: 42%;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .v6-home-intro {
    display: none;
  }

  .v6-thread {
    flex: 1 1 0%;
    min-height: 0;
    margin-top: 0;
    padding-top: 4px;
  }

  .v6-composer {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 4px 12px;
    background: var(--v6-panel);
  }

  .v6-composer .v6-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .v6-composer .v6-suggestions::-webkit-scrollbar {
    display: none;
  }

  .v6-composer .v6-suggestions button {
    flex: 0 0 auto;
  }

  .v6-ask {
    margin-top: 8px;
  }
}

@media (min-width: 768px) {
  .v6-work { grid-template-columns: 1fr 1fr; }
  .v6-steps { grid-template-columns: 1fr 1fr; }
  .v6-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .v6-rail { display: none; }
  .v6-mobile { display: flex; }

  .v6[data-tab="home"] .v6-panes {
    overflow: hidden;
  }

  .v6-pane-home.is-active {
    height: 100%;
    overflow: hidden;
  }

  .v6-home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: 12px;
    padding: 12px 20px 0;
  }

  .v6-portrait {
    flex: 0 0 clamp(400px, 50vh, 540px);
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 50vh, 540px);
    min-height: 400px;
    max-height: 540px;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .v6-home-copy {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .v6-home-intro {
    display: none;
  }

  .v6-thread {
    flex: 1 1 0%;
    min-height: 0;
    margin-top: 0;
    padding-top: 4px;
  }

  .v6-composer {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0;
    padding: 8px 4px 8px;
    background: var(--v6-panel);
  }

  .v6-composer .v6-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .v6-composer .v6-suggestions::-webkit-scrollbar {
    display: none;
  }

  .v6-composer .v6-suggestions button {
    flex: 0 0 auto;
  }

  .v6-ask {
    margin-top: 8px;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) and (min-height: 901px) {
  .v6[data-tab="home"] .v6-panes {
    overflow: hidden;
  }

  .v6-pane-home.is-active {
    height: 100%;
    overflow: hidden;
  }

  .v6-home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: 16px;
    padding: 16px 20px 0;
  }

  .v6-portrait {
    flex: 1 1 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    max-height: 42vh;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .v6-home-copy {
    flex: 1 1 auto;
    max-height: none;
    min-height: 220px;
    overflow: hidden;
    padding: 0;
  }

  .v6-home-intro {
    display: none;
  }

  .v6-thread {
    flex: 1 1 0%;
    min-height: 0;
    margin-top: 0;
    padding-top: 4px;
  }

  .v6-composer {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 4px 12px;
    background: var(--v6-panel);
  }

  .v6-composer .v6-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .v6-composer .v6-suggestions::-webkit-scrollbar {
    display: none;
  }

  .v6-composer .v6-suggestions button {
    flex: 0 0 auto;
  }

  .v6-ask {
    margin-top: 8px;
  }
}

@media (min-width: 1024px) {
  .v6-rail { display: flex; }
  .v6-mobile { display: none; }
  .v6-list { display: flex; }
  .v6-home-stats { display: grid; }
  .v6-services { grid-template-columns: 1fr 1fr 1fr; }
  .v6-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

@media (min-width: 1024px) and (max-height: 900px), (min-width: 1367px) {
  .v6[data-tab="home"] .v6-panes {
    overflow: hidden;
  }
  .v6-pane-home.is-active {
    height: 100%;
    overflow: hidden;
  }
  .v6-home {
    display: grid;
    height: 100%;
    min-height: 0;
    padding: 24px;
    gap: 24px;
    grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
  }
  .v6-portrait {
    flex: none;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    max-width: none;
    width: 100%;
    align-self: stretch;
    justify-self: stretch;
  }
  .v6-stage {
    border-radius: 22px;
  }
  .v6-home-intro {
    display: block;
  }
  .v6-home-copy {
    flex: none;
    max-height: none;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 20px 0 0;
  }
  .v6-thread {
    flex: 1 1 0%;
    min-height: 0;
    margin-top: 20px;
    padding-top: 0;
  }
  .v6-composer {
    margin-top: auto;
    flex-shrink: 0;
    padding: 4px 4px 8px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 900px) {
  .v6-home {
    padding: 16px;
    gap: 16px;
    grid-template-columns: minmax(180px, 290px) minmax(0, 1fr);
  }
  .v6-home-intro {
    display: none;
  }
  .v6-home-copy {
    padding: 0;
  }
  .v6-thread {
    margin-top: 0;
  }
}

@media (max-height: 520px) {
  .v6-rail,
  .v6-list {
    display: none;
  }

  .v6-mobile {
    display: flex;
  }

  .v6[data-tab="home"] .v6-panes {
    overflow: hidden;
  }

  .v6-pane-home.is-active {
    height: 100%;
    overflow: hidden;
  }

  .v6-home {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    padding: 10px 16px 0;
  }

  .v6-portrait {
    flex: none;
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    max-height: none;
    width: 100%;
  }

  .v6-home-intro {
    display: none;
  }

  .v6-home-copy {
    max-height: none;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .v6-thread {
    flex: 1 1 0%;
    min-height: 0;
    margin-top: 0;
  }

  .v6-composer {
    margin-top: auto;
    padding: 8px 4px 12px;
  }
}

@media (min-width: 1280px) {
  .v6-steps { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1536px) {
  .v6-work { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v6 *,
  .v6 *::before,
  .v6 *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
