/* Approved Project Index. The embedded pill editor keeps its original scene. */
html.project-index {
  --paper:light-dark(#f5f6f4,#1b1d1b);--ink:light-dark(#252b27,#f2f3ed);
  --muted:light-dark(#69716b,#b4bbb5);--line:light-dark(#dfe3da,#414640);
  --accent:light-dark(#496a57,#b7d1bb);--focus:var(--accent);
  --surface:light-dark(#fff,#262828);--surface-hover:light-dark(#eef0e9,#343b32);
  --drawer-surface:var(--surface);--drawer-hover:var(--surface-hover);
  --index-duration:620ms;--index-header:86px;--nav-mobile-second-row-space:0px;
  overflow:hidden;scrollbar-gutter:auto;
}
/* Unlike hidden, clip also prevents focus/scrollIntoView from panning the fixed canvas. */
.project-index body {height:var(--index-height,100dvh);overflow:clip;background:var(--paper);font-family:'DM Sans',Arial,sans-serif;}
.project-index body::before {display:none;}
.project-index:not(.index-chat-active) body {background-image:radial-gradient(circle,light-dark(#53634c38,#c1cdb638) 1px,transparent 1.2px);background-size:22px 22px;background-position:11px 11px;}
.project-index main {position:relative;height:calc(var(--index-height,100dvh) - var(--index-header));top:var(--index-header);max-width:1600px;margin:0 auto;isolation:isolate;}
.hero-story[hidden] {display:none;}
.project-index .nav.nav-understated {top:22px;width:calc(100% - 60px);max-width:1180px;padding:0;border:0;background:none;gap:24px;}
.project-index .nav.nav-understated::before {display:none;}
.project-index .nav .nav-menu,.project-index .nav .nav-ask {display:none!important;}
.project-index .nav .nav-links {display:flex;margin-left:auto;margin-right:0;gap:18px;width:auto;order:0;flex-wrap:nowrap;}
.project-index .nav .nav-links a {font:400 12px 'DM Sans',sans-serif;border-radius:0;padding:0 8px;height:44px;min-height:44px;color:var(--muted);}
.project-index .nav .nav-links a::after {display:none;}
.project-index .nav .nav-links a:hover {text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;}
.project-index .nav .nav-links a:focus-visible {outline:2px solid var(--ink);outline-offset:2px;}
.project-index .nav .nav-actions {width:auto;order:0;gap:4px;}
.index-brand {min-width:0;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.index-brand small {display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:2px;max-width:210px;overflow:hidden;text-overflow:ellipsis;}
.index-intro {position:absolute;top:40px;left:12px;right:12px;text-align:center;z-index:1;translate:0 var(--index-intro-shift,0px);transition:opacity 160ms,transform 200ms,visibility 0s;}
.index-intro h1 {font:800 clamp(42px,3.8vw,68px)/1.13 Manrope,Arial,sans-serif;letter-spacing:-.05em;margin:0;}
.index-intro h1 > span {display:block;}
.index-description {display:flex;justify-content:center;align-items:center;gap:12px;margin:clamp(16px,1.6vw,22px) auto 0;max-width:520px;font-size:clamp(13px,1.05vw,15px);line-height:1.5;color:var(--muted);text-wrap:balance;}
/* Decorative sparkles; the empty alternative text keeps them out of the accessible name. */
.index-description::before,.index-description::after {content:'✦' / '';flex-shrink:0;font-size:11px;color:var(--ink);}
/* The emphasized word keeps the headline ink. Its two hand-drawn strokes are masks filled
   with currentColor, so they follow the light/dark ink without a second asset. They share
   one box and viewBox; the view draws them in sequence after the card entrance. */
.index-intro em {position:relative;display:inline-block;font-style:normal;font-weight:inherit;color:inherit;}
.index-intro em::before,.index-intro em::after {content:'';position:absolute;left:-2%;right:-4%;bottom:-.12em;height:.26em;pointer-events:none;background:currentColor;-webkit-mask:var(--index-stroke) center/100% 100% no-repeat;mask:var(--index-stroke) center/100% 100% no-repeat;}
.index-intro em::before {--index-stroke:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16C50 6 120 4 196 12' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");}
.index-intro em::after {--index-stroke:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M30 20C80 14 140 13 180 17' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");}
/* Hidden only while the cards themselves wait for their entrance. */
.index-intro:has(+ .index-gallery .index-cards.is-awaiting-entrance) em::before,.index-intro:has(+ .index-gallery .index-cards.is-awaiting-entrance) em::after {visibility:hidden;}
.index-gallery {position:absolute;inset:0;pointer-events:none;z-index:2;transform-origin:50% 45%;}
.index-gallery > .chat-entrance-effects {inset:0;z-index:26;}
.index-gallery.is-unpositioned {visibility:hidden;}
.index-cards.is-awaiting-entrance {visibility:hidden;}
.index-card:not([aria-hidden]),.index-placeholder:not([data-visible]) {visibility:hidden;}
.index-chat-active .index-intro {opacity:0;transform:translateY(-18px);visibility:hidden;transition:opacity 140ms,transform 200ms,visibility 0s 180ms;}
.index-chat-active .index-gallery {overflow:clip;opacity:0;transform:translateY(-24px) scale(.94);visibility:hidden;transition:opacity calc(var(--index-duration)*.6),transform var(--index-duration) cubic-bezier(.2,.8,.15,1),visibility 0s var(--index-duration);}
.index-card {position:absolute;left:0;top:0;pointer-events:auto;touch-action:pan-y;width:var(--card-width);height:var(--card-height);padding:8px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 26px light-dark(#29372918,#0006);text-align:left;overflow:hidden;transform-origin:center;}
.index-card {transform:translate(var(--card-x),var(--card-y)) rotate(var(--card-angle));z-index:var(--card-depth);}
.index-placeholder {position:absolute;left:0;top:0;pointer-events:none;width:var(--card-width);height:var(--card-height);box-sizing:border-box;border:1px solid light-dark(#d8ddcf,#444b3e);border-radius:20px;background:linear-gradient(135deg,light-dark(#f1f1ea,#30332e),light-dark(#e5e7dd,#252923));box-shadow:inset 1px 1px 0 light-dark(#ffffffb3,#ffffff12),0 7px 16px light-dark(#29372918,#0006);transform:translate(var(--card-x),var(--card-y)) rotate(var(--card-angle));z-index:var(--card-depth);overflow:hidden;display:grid;place-items:center;}
.index-placeholder-mark {display:flex;font:400 clamp(22px,calc(var(--card-width)*.21),52px)/1 Audiowide,sans-serif;color:light-dark(#c6ccbf,#4b5447);text-shadow:0 1px 0 light-dark(#ffffffdd,#ffffff14),0 -1px 1px light-dark(#a8b39e80,#111a);transform:translateX(var(--placeholder-shift));}
.index-placeholder-mark > span + span {margin-left:-.13em;}
.index-placeholder-label {position:absolute;bottom:clamp(12px,calc(var(--card-height)*.09),28px);left:var(--placeholder-inset);right:8px;text-align:center;font-size:clamp(11px,calc(var(--card-width)*.055),14px);line-height:1.4;color:var(--muted);}
.index-cards.is-ready:not(.is-awaiting-entrance) + .index-placeholders .index-placeholder {transition:transform var(--index-duration) cubic-bezier(.2,.8,.15,1),opacity 200ms;}
@media(max-height:500px) {.index-placeholder-label {left:min(var(--placeholder-inset),calc(var(--card-width) - 44px));right:4px;bottom:6px;font-size:9px;line-height:1.2;}}
.index-cards.is-ready:not(.is-awaiting-entrance) .index-card {transition:transform var(--index-duration) cubic-bezier(.2,.8,.15,1),box-shadow 250ms ease,opacity 200ms;}
.index-card[data-active="true"] {border-color:var(--ink);}
@media(hover:hover) and (pointer:fine) {
  .index-card:hover {transform:translate(var(--card-x),calc(var(--card-y) - var(--card-lift))) rotate(0deg);z-index:25;box-shadow:0 20px 30px light-dark(#29372928,#0008);}
  .index-cards.is-ready .index-card:hover {transition-duration:250ms;}
}
.index-card:focus-visible {transform:translate(var(--card-x),calc(var(--card-y) - var(--card-lift))) rotate(0deg);z-index:25;box-shadow:0 20px 30px light-dark(#29372928,#0008);}
.index-cards.is-ready .index-card:focus-visible {transition-duration:250ms;}
:is(.index-card,.chat-project) img {display:block;width:100%;height:56%;object-fit:cover;border-radius:13px;}
.index-card-text {display:block;padding:clamp(8px,calc(var(--card-width)*.05),15px) 5px 0;}
.index-card-text strong {display:block;font-size:clamp(12px,calc(var(--card-width)*.067),20px);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.index-card-text small {display:block;font-size:clamp(11px,calc(var(--card-width)*.06),16px);color:var(--muted);line-height:1.35;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.index-card-summary {display:none;}
:is(.index-card.has-summary,[data-index-summary="true"] .chat-project) .index-card-summary {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 5px 0;font-size:clamp(11px,calc(var(--card-width)*.043),13px);line-height:1.4;color:var(--muted);}
.index-card-action {display:flex;align-items:center;justify-content:space-between;flex-shrink:0;margin-top:auto;padding:4px 5px 1px;font-size:clamp(10px,calc(var(--card-width)*.045),12px);line-height:1.4;color:var(--accent);}
.index-card-arrow {font-size:18px;line-height:1;}
.index-controls {position:absolute;inset:0;pointer-events:none;z-index:30;}
.index-controls > * {position:absolute;transform:translate(-50%,-50%);}
.index-controls .index-step {pointer-events:auto;}
.index-step {width:44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:50%;font-size:16px;}
.index-step:disabled {opacity:.35;cursor:default;}
.index-step[data-boundary="true"]:not(:disabled) {opacity:.6;}
.index-count {min-width:45px;text-align:center;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;}
.index-empty {position:absolute;top:45%;width:100%;text-align:center;color:var(--muted);}
.project-index .portfolio-chat {--chat-line:var(--line);--chat-surface:var(--surface);position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0 20px max(12px,env(safe-area-inset-bottom));background:none;pointer-events:none;z-index:3;}
.project-index .chat-canvas,.project-index .has-conversation .chat-canvas {display:flex;flex-direction:column;max-width:610px;height:100%;min-height:0;margin:0 auto;padding:0;animation:none;}
.project-index .chat-heading {display:none;}
.project-index .chat-log {visibility:hidden;opacity:0;flex:1;min-height:0;max-height:none;padding:0 8px 18px 4px;pointer-events:none;transform:translateY(15px);transition:opacity 260ms 190ms,transform 420ms 150ms,visibility 0s;}
.project-index.index-chat-active .chat-log {visibility:visible;opacity:1;transform:none;pointer-events:auto;}
.project-index .nav .chat-return {position:relative;top:auto;left:auto;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);box-shadow:none;}
.project-index .nav .chat-return[hidden] {display:none;}
.project-index .chat-return > span:first-child {display:flex;}
.project-index .chat-return svg {width:16px;height:16px;}
.project-index .chat-return:hover {background:var(--surface-hover);}
.project-index .chat-return:focus-visible {outline:2px solid var(--ink);outline-offset:3px;}
.project-index .chat-prompts,.project-index .is-empty .chat-prompts {display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:16px;margin:0;pointer-events:auto;}
.project-index .chat-prompts button,.project-index .is-empty .chat-prompts button {position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:5px;flex:0 0 auto;width:auto;min-width:0;min-height:44px;border:0;border-radius:3px;padding:8px 0;background:transparent;font:400 12px/1.4 'DM Sans',sans-serif;color:var(--ink);text-align:left;white-space:nowrap;}
.project-index .chat-prompts button:hover {background:transparent;transform:none;}
.project-index .chat-canvas > .chat-prompts {overflow-x:auto;justify-content:safe center;scrollbar-width:none;flex-shrink:0;}
.project-index .chat-canvas > .chat-prompts :is(.chat-prompts-lead,.chat-prompt-label,.chat-prompt-arrow) {transform:translateY(6px);}
.project-index .chat-prompts-lead {flex-shrink:0;font-size:10px;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);}
.project-index .chat-prompt-label {text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:5px;text-decoration-thickness:1px;}
.project-index .chat-prompts button:hover .chat-prompt-label {text-decoration-color:var(--muted);}
.project-index .chat-prompt-arrow {width:11px;height:11px;flex-shrink:0;color:var(--muted);}
.project-index .chat-prompts button:focus-visible {outline:2px solid var(--ink);outline-offset:-2px;}
.project-index .chat-composer {flex-shrink:0;pointer-events:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:13px 15px 11px;box-shadow:0 8px 24px light-dark(#29372918,#0006);}
.project-index .chat-composer:focus-within {border-color:var(--muted);}
.project-index .chat-composer textarea {font-family:'DM Sans',Arial,sans-serif;min-height:34px;height:34px;max-height:100px;font-size:14px;line-height:1.6;outline:none!important;box-shadow:none!important;}
.project-index.index-chat-active .chat-composer textarea {min-height:51px;}
.project-index .chat-caption {font:400 11px/1.4 'DM Sans',sans-serif;}
.project-index .chat-composer-bottom {margin-top:7px;min-height:32px;}
.project-index .chat-send {background:var(--accent);color:light-dark(#fff,#202e23);width:36px;height:36px;}
.chat-composer-actions {display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0;}
.chat-language-toggle {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:8px 12px;border:0;border-radius:30px;background:none;color:var(--ink);font:400 13px/1.4 'DM Sans',Arial,sans-serif;}
.chat-language-toggle:hover,.chat-language-toggle[aria-expanded="true"] {background:var(--surface-hover);}
.chat-language-toggle svg {width:13px;height:13px;color:var(--muted);}
.chat-language-panel {position:absolute;z-index:21;right:15px;bottom:calc(100% + 10px);width:240px;max-width:calc(100% - 30px);max-height:calc(var(--index-height,100dvh) - 16px);overflow-y:auto;padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 14px 38px light-dark(#24332a18,#0005),0 2px 5px light-dark(#24332a05,#0003);translate:0 var(--chat-language-offset,0px);transform-origin:bottom right;animation:chat-language-open 160ms cubic-bezier(.22,1,.36,1);}
.chat-language-panel[hidden] {display:none;}
.chat-language-header {display:grid;grid-template-columns:32px 1fr 32px;align-items:start;margin-bottom:8px;text-align:center;}
.chat-language-header h3 {margin:3px 0;font:500 15px/1.4 Manrope,Arial,sans-serif;letter-spacing:0;}
.chat-language-header p {margin:0;color:var(--muted);font:400 12px/1.5 'DM Sans',Arial,sans-serif;}
.chat-language-symbol,.chat-language-close {display:grid;place-items:center;width:32px;height:32px;color:var(--muted);}
.chat-language-symbol svg {width:19px;height:19px;}
.chat-language-close {padding:0;border:0;border-radius:50%;background:none;}
.chat-language-close:hover {background:var(--surface-hover);color:var(--ink);}
.chat-language-close svg {width:16px;height:16px;}
.chat-language-options {display:flex;gap:2px;width:190px;max-width:100%;margin-inline:auto;padding:2px;border-radius:30px;background:var(--surface-hover);}
.chat-language-options button {display:flex;flex:1;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:40px;padding:6px;border:0;border-radius:30px;background:none;color:var(--muted);font:500 12px/1.4 'DM Sans',Arial,sans-serif;}
.chat-language-options button[aria-pressed="true"] {background:var(--ink);color:var(--surface);}
.chat-language-options svg {width:12px;height:12px;}
.chat-language-options button[aria-pressed="false"] svg {display:none;}
@keyframes chat-language-open {from {opacity:0;transform:translateY(5px) scale(.98);}to {opacity:1;transform:none;}}
.oa-reduced-motion .chat-language-panel {animation:none;}
@media(prefers-reduced-motion:reduce) {.chat-language-panel {animation:none;}}
@media(pointer:coarse) {
  .chat-language-toggle,.chat-language-close,.chat-language-options button {min-height:44px;}
  .chat-language-close {width:44px;}
  .chat-language-header {grid-template-columns:44px 1fr 44px;}
}
@media(max-width:370px) {.chat-composer-actions {gap:5px;}.chat-language-toggle {padding-inline:8px;}}
.project-index .chat-disclaimer {pointer-events:auto;flex-shrink:0;margin:8px 0 0;font-size:11px;line-height:1.4;}
.project-index .chat-analytics-notice a {min-height:24px;}
.project-index .chat-suggestions-panel {background:var(--surface);border-radius:12px;max-height:min(340px,calc(var(--index-height,100dvh) - 260px));}
.project-index .chat-suggestions-panel .chat-prompts {display:flex;flex-direction:column;gap:2px;margin:0;}
.project-index .chat-suggestions-panel .chat-prompts button {width:100%;text-align:left;min-height:44px;border:0;border-radius:4px;padding:8px 10px;background:transparent;}
.project-index .chat-suggestions-panel .chat-prompts-lead,.project-index .chat-suggestions-panel .chat-prompt-arrow {display:none;}
.project-index .chat-suggestions-panel .chat-prompt-label {text-decoration:none;}
.project-index .chat-suggestions-panel .chat-prompts button {white-space:normal;}
.project-index .chat-suggestions-panel .chat-prompts button:hover {background:var(--surface-hover);}
.project-index .chat-suggestions-toggle {min-height:36px;}
.project-index .chat-user {background:var(--surface-hover);}
.project-index .section-drawer {top:24px;bottom:24px;left:50%;right:auto;width:min(1000px,calc(100vw - 64px));border:1px solid var(--line);border-radius:16px;opacity:0;visibility:hidden;transform:translate(-50%,16px);transition:opacity 240ms,transform 360ms cubic-bezier(.22,1,.36,1),visibility 0s 360ms;}
.project-index.drawer-open .section-drawer {opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s;}
.project-index .drawer-backdrop {background:light-dark(#17231cb3,#000c);}
.project-index .drawer-toolbar {height:64px;}
.project-index .drawer-toolbar,.project-index .drawer-content {translate:none;transition:none;}
.project-index .drawer-content {scrollbar-gutter:auto;}
.project-index.drawer-open body {position:static;}
.project-index .nav .nav-links [hidden] {display:none;}
.project-index .index-gallery [hidden],.project-index .index-empty[hidden] {display:none;}
.project-index .index-card:focus-visible,.project-index .index-step:focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
.project-index .index-card:focus-visible {outline-color:var(--ink);}
@media(max-width:900px) {.project-index .nav.nav-understated {gap:10px;}.project-index .nav .nav-links {margin-left:auto;}}
@media(max-width:650px) {
  html.project-index {--index-header:116px;}
  .project-index .nav.nav-understated {top:14px;width:calc(100% - 32px);gap:4px 12px;flex-wrap:wrap;}
  .project-index .nav .nav-actions {margin-left:auto;}
  .project-index .nav .chat-return {margin-right:8px;}
  .project-index .nav .nav-links {order:3;width:100%;margin:2px 0 0;justify-content:space-between;gap:8px;}
  .project-index .nav .nav-links a {padding-inline:5px;font-size:11px;}
  .index-brand {flex:1;}
  .index-intro {top:30px;}
  .index-intro h1 {font-size:33px;letter-spacing:-1.7px;}
  .project-index .portfolio-chat {padding:0 16px max(10px,env(safe-area-inset-bottom));}
  .project-index .chat-prompts {overflow-x:auto;justify-content:flex-start;scrollbar-width:none;flex-shrink:0;}
  .project-index .chat-prompts button {flex:0 0 auto;}
  .project-index .chat-composer textarea {font-size:16px;}
  .project-index .chat-send {height:44px;width:44px;}
  .project-index .chat-suggestions-toggle {min-height:44px;}
  .project-index .section-drawer,.project-index .section-drawer[data-section] {top:8px;bottom:8px;width:calc(100vw - 16px);border-radius:12px;}
}
@media(max-width:370px) {.index-intro h1 {font-size:29px;}.project-index .chat-disclaimer {font-size:10px;}}
@media(max-height:650px) {
  html.project-index {--index-header:76px;}
  .project-index .nav.nav-understated {top:12px;}
  .index-intro {top:6px;}
  .index-description {display:none;}
  .index-intro h1 {font-size:32px;}
  .project-index .chat-composer {padding:9px 13px;}
  .project-index .chat-disclaimer {margin-top:5px;}
}
@media(max-height:650px) and (max-width:650px) {
  html.project-index {--index-header:106px;}
  .index-intro h1 {font-size:27px;}
}
.project-index.index-keyboard .index-intro,.project-index.index-keyboard .index-gallery {visibility:hidden;opacity:0;}
.project-index.oa-reduced-motion .index-gallery,.project-index.oa-reduced-motion .index-intro,.project-index.oa-reduced-motion .index-card,.project-index.oa-reduced-motion .index-placeholder {transition:none!important;}
@media(prefers-reduced-motion:reduce) {.project-index .index-gallery,.project-index .index-intro,.project-index .index-card,.project-index .index-placeholder {transition:none!important;}}

.project-index .nav.nav-understated.nav-enhanced .nav-links {display:flex;}
.project-index .is-empty .chat-log {min-height:0;overflow:auto;justify-content:flex-start;}

:is(.index-card,.chat-project) {display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;}
:is(.index-card,.chat-project) img {flex-shrink:0;}

@media(max-height:500px) and (min-width:480px) {
  html.project-index {--index-header:64px;}
  .index-intro {top:20px;left:24px;right:auto;width:40%;text-align:left;}
  .index-intro h1 {font-size:27px;letter-spacing:-1.1px;}
  :is(.index-card,.chat-project) {padding:5px;border-radius:12px;}
  :is(.index-card,.chat-project) img {border-radius:8px;}
  .index-card-text {padding:4px 0 0;}
  .index-card-text strong {font-size:10px;}
  .index-card-text small {display:none;}
}

@media(max-width:650px) {
  .project-index .is-empty .chat-prompts {justify-content:flex-start;}
}
@media(max-width:650px) and (max-height:650px) {
  .index-card-text {padding:6px 0 0;}
  .index-card-text strong {font-size:11px;}
  .index-card-text small {display:none;}
}

@media(max-height:500px) and (min-width:480px) {
  .project-index .nav.nav-understated {gap:4px;}
  .project-index .nav .nav-links {order:0;width:auto;margin:0 0 0 auto;gap:0;}
  .project-index .nav .nav-actions {margin-left:0;}
  .project-index .nav .nav-links a {padding:0 8px;}
  .project-index .chat-composer textarea {height:28px;min-height:28px;}
  .project-index .chat-composer {padding:8px 12px;}
  .project-index .chat-disclaimer {font-size:10px;}
  .project-index .chat-prompts,.project-index .is-empty .chat-prompts {margin-bottom:2px;}
}

@media(max-height:500px) and (min-width:480px) {
  .project-index .chat-composer {display:flex;align-items:center;gap:12px;}
  .project-index .chat-composer textarea,.project-index.index-chat-active .chat-composer textarea {flex:1;min-width:0;min-height:28px;height:28px;}
  .project-index .chat-composer-bottom {flex-shrink:0;margin:0;gap:12px;}
  .project-index .chat-caption {display:none;}
}

@media(max-height:500px) and (min-width:480px) {
  .index-intro {width:44%;}
  .index-intro h1 {font-size:clamp(22px,3.2vw,27px);letter-spacing:-.9px;}
}

@media(max-height:650px) {
  .index-card-action {position:absolute;right:8px;bottom:6px;padding:0;}
  .index-card-action > span:first-child {display:none;}
  .index-card-arrow {font-size:14px;}
}

@media(max-height:500px) and (min-width:480px) and (max-width:900px) {
  .index-brand {display:none;}
}
