#aip {
    font-family: 'Inter', sans-serif;
    background: #f8f5f0;
}

.aip-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.aip-hero {
    background: #0A0A0B;
    color: #fff;
    padding: 90px 0 64px;
    text-align: center;
}

.aip-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(201,169,110,.35);
    color: #C9A96E;
    margin-bottom: 20px;
}

.aip-h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 16px;
}

.aip-sub {
    font-size: 15px;
    line-height: 1.7;
    opacity: .75;
    max-width: 560px;
    margin: 0 auto;
}

.aip-chat-wrap {
    margin-top: -40px;
    padding-bottom: 64px;
}

#aip-chat {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

#aip-messages {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 340px;
}

#aip-empty-ttl, .aip-empty-ttl {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-align: center;
    margin-bottom: 16px;
}

.aip-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.aip-chip {
    background: #f8f5f0;
    border: 1px solid #eee;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: border-color .15s ease;
}

.aip-chip:hover {
    border-color: #C9A96E;
    color: #0A0A0B;
}

.aip-msg {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
}

.aip-msg--bot {
    align-self: flex-start;
    background: #f3f1ec;
    color: #1a1a1a;
}

.aip-msg--user {
    align-self: flex-end;
    background: #C9A96E;
    color: #0A0A0B;
}

.aip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.aip-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, border-color .15s ease;
}

.aip-card:hover {
    border-color: #C9A96E;
    transform: translateY(-2px);
}

.aip-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.aip-card__body {
    padding: 12px 14px;
}

.aip-card__title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.aip-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

.aip-card__project {
    font-size: 11.5px;
    color: #999;
}

#aip-form {
    display: flex;
    border-top: 1px solid #eee;
}

#aip-input {
    flex: 1;
    border: none;
    padding: 18px 20px;
    font-size: 14px;
    outline: none;
}

#aip-form button {
    border: none;
    background: #0A0A0B;
    color: #C9A96E;
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.aip-consent {
    text-align: center;
    font-size: 11px;
    color: #9a9a9a;
    margin-top: 12px;
}
.aip-consent a { color: #9a9a9a; text-decoration: underline; }

@media (max-width: 600px) {
    .aip-hero { padding: 60px 0 48px; }
    #aip-messages { padding: 18px; }
}
