:root {
  --plum: #6c2b4f;
  --ink: #1b0e1d;
  --ink-soft: rgba(27, 14, 29, 0.72);
  --magenta: #c14a7e;
  --rose: #efc2d4;
  --cream: #faf6f2;
  --mist: #f1e8ee;
  --gold: #f2d18b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(25, 8, 26, 0.16);
  --shadow-soft: 0 14px 32px rgba(25, 8, 26, 0.12);
  --brand-font: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, var(--cream) 55%, var(--mist) 100%);
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.02em;
}

h1 {
  line-height: 1.05;
}

h2 {
  line-height: 1.15;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle at 15% 10%, rgba(193, 74, 126, 0.14), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(242, 209, 139, 0.18), transparent 48%),
    radial-gradient(circle at 85% 85%, rgba(27, 14, 29, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

main > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.container {
  width: min(1150px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 242, 0.9);
  backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid rgba(27, 14, 29, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.logo span {
  font-family: var(--brand-font);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(27, 14, 29, 0.18);
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 11px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.ai-section {
  position: relative;
}

.ai-hero {
  background: linear-gradient(120deg, rgba(193, 74, 126, 0.12), rgba(242, 209, 139, 0.28));
  padding: 6.5rem 0 6rem;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.ai-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.ai-copy p {
  margin-bottom: 1rem;
}

.ai-copy p,
.hero-copy p {
  max-width: 36rem;
}

.ai-points ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.ai-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(27, 14, 29, 0.08);
}

.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 260px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.4rem;
  margin-bottom: 0.75rem;
}

.ai-bubble {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.ai-bubble p {
  margin: 0 0 0.75rem 0;
}

.ai-bubble .ai-list {
  margin: 0.35rem 0 0 0;
  padding-left: 1.1rem;
}

.ai-bubble .ai-list li {
  margin-bottom: 0.5rem;
}

.ai-bubble .ai-list li:last-child {
  margin-bottom: 0;
}

.ai-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 14, 29, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.ai-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ai-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 1.5rem;
}

.ai-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ai-modal-card {
  width: min(720px, 100%);
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
  border: 1px solid rgba(27, 14, 29, 0.08);
}

.ai-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ai-modal-head h3 {
  margin: 0;
}

.ai-close {
  background: var(--mist);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 600;
}

.ai-modal-open {
  overflow: hidden;
}

.ai-bubble.user {
  background: var(--magenta);
  color: var(--white);
  align-self: flex-end;
}

.ai-bubble.ai {
  background: var(--mist);
  color: var(--ink);
  align-self: flex-start;
}

.ai-bubble.thinking {
  font-style: italic;
  opacity: 0.7;
  position: relative;
}

.ai-bubble.thinking::after {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 0.35rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(27, 14, 29, 0.15) 0%, rgba(27, 14, 29, 0.7) 50%, rgba(27, 14, 29, 0.15) 100%);
  background-size: 200% 100%;
  animation: thinkingDots 1.2s infinite;
}

.ai-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.ai-form input {
  flex: 1;
  border: 1px solid rgba(27, 14, 29, 0.15);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.ai-form input:disabled,
.ai-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ai-form button {
  white-space: nowrap;
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.ai-chip {
  background: var(--mist);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border: 1px solid rgba(27, 14, 29, 0.08);
  font-weight: 600;
  color: var(--ink);
}

.ai-chip:hover {
  background: var(--rose);
}

.ai-status {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  background: rgba(27, 14, 29, 0.08);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-status.ready {
  background: rgba(87, 149, 104, 0.2);
  color: #1a5130;
}

.ai-status.warn {
  background: rgba(199, 74, 122, 0.15);
  color: #6c1e3f;
}

.ai-hint {
  font-size: 0.85rem;
  color: rgba(27, 14, 29, 0.7);
  margin: 0.6rem 0 0;
}

@media (max-width: 720px) {
  .ai-hero {
    padding: 4.5rem 0 4rem;
  }

  .ai-form {
    flex-direction: column;
  }

  .ai-form button {
    width: 100%;
  }
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--magenta);
  font-weight: 700;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}

.primary {
  background: var(--magenta);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-stats .stat {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
}

.hero-stats .label {
  font-size: 0.85rem;
  color: rgba(27, 14, 29, 0.65);
}

.hero-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(27, 14, 29, 0.08);
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-title {
  font-weight: 700;
  color: var(--magenta);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  background: var(--mist);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.secondary {
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
}

.hero-art .floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.shape-one {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(199, 74, 122, 0.35), transparent 70%);
  top: 6%;
  right: -90px;
}

.shape-two {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(43, 15, 44, 0.35), transparent 70%);
  bottom: 12%;
  left: -70px;
  animation-delay: 1.5s;
}

.shape-three {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(243, 212, 138, 0.5), transparent 70%);
  top: 45%;
  left: 45%;
  animation-delay: 3s;
}

.section {
  padding: 5.25rem 0;
}

.section.light {
  background: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.section-head p {
  max-width: 34rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.values,
.cards,
.artist-grid,
.resource-grid,
.blog-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value,
.cards article,
.artist-grid article,
.resource,
.blog-card,
.gallery-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 0%, #f7edf2 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 14, 29, 0.06);
}

.resource {
  display: block;
}

.card-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.timeline article {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.timeline .card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 0.85rem;
}

.timeline .date {
  font-weight: 700;
  color: var(--magenta);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.text-link {
  background: none;
  color: var(--magenta);
  padding: 0;
  font-weight: 600;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.resource .meta,
.blog-meta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(27, 14, 29, 0.6);
}

.newsletter {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--rose), var(--mist));
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 14, 29, 0.2);
  min-width: 220px;
}

.section-hero {
  padding: 5rem 0 4rem;
}

.section-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mist);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.section-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.hero-panel {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery-card {
  display: grid;
  gap: 1rem;
}

.gallery-swatch {
  border-radius: 14px;
  background: linear-gradient(120deg, #2b0f2c 0%, #c74a7a 48%, #f3d48a 100%);
  overflow: hidden;
}

.gallery-swatch img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.detail-gallery .gallery-grid {
  align-items: stretch;
}

.detail-gallery .gallery-swatch {
  height: auto;
}

.image-link {
  padding: 0;
  border: none;
  background: transparent;
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.blog-card h3 {
  margin-bottom: 0.4rem;
}

.detail-hero {
  padding-bottom: 2.5rem;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.detail-media-grid > * {
  min-width: 0;
}

.detail-media-grid.is-single {
  grid-template-columns: 1fr;
}

.detail-context {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.detail-context h3 {
  margin-bottom: 0.5rem;
}

.detail-context-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.detail-context-header h3 {
  margin: 0;
}

.about-controls {
  display: inline-flex;
  gap: 0.5rem;
  margin-left: auto;
}

.about-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(27, 14, 29, 0.18);
  box-shadow: 0 8px 18px rgba(27, 14, 29, 0.12);
  font-weight: 700;
}

.detail-context-body {
  overflow: hidden;
}

.about-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 0.75rem 0.25rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 14, 29, 0.25) transparent;
}

.about-cards::-webkit-scrollbar {
  height: 6px;
}

.about-cards::-webkit-scrollbar-track {
  background: transparent;
}

.about-cards::-webkit-scrollbar-thumb {
  background: rgba(27, 14, 29, 0.2);
  border-radius: 999px;
}

.about-card {
  background: linear-gradient(160deg, #ffffff 0%, #f7edf2 100%);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: none;
  border: 1px solid rgba(27, 14, 29, 0.06);
  scroll-snap-align: start;
  min-height: 220px;
}

.about-card h4 {
  margin-bottom: 0.5rem;
  font-family: "Fraunces", serif;
}

.about-card ul {
  margin: 0.2rem 0 0 1rem;
  max-height: 260px;
  overflow: auto;
  padding-right: 0.35rem;
}

.about-card p {
  margin: 0;
}

.detail-panel {
  display: flex;
  align-items: center;
}

.detail-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.detail-article-text {
  max-width: 48rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.detail-article-block p {
  margin: 0 0 0.9rem 0;
}

.detail-image {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f7edf2 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 14, 29, 0.06);
}

.detail-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(75vh, 700px);
  object-fit: contain;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 16, 0.7);
}

.lightbox-content {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  background: var(--white);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 1;
  display: grid;
  gap: 0.75rem;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.lightbox-close {
  justify-self: end;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .detail-media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .detail-hero .split {
    gap: 1.5rem;
  }

  .detail-media-grid {
    gap: 1.5rem;
  }

  .detail-image {
    width: 100%;
  }

  .detail-image img {
    max-height: 55vh;
    object-fit: contain;
  }

  .detail-context-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-controls {
    margin-left: 0;
  }

  .about-cards {
    grid-auto-columns: minmax(220px, 85vw);
    gap: 0.85rem;
  }

  .about-card {
    min-height: 200px;
  }
}

.story-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.story-nav a {
  display: block;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 14, 29, 0.06);
  font-weight: 600;
}

.story-nav span {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.5rem;
}

.footer {
  padding: 3rem 0 1.5rem;
  background: var(--plum);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer a {
  display: block;
  color: rgba(249, 245, 247, 0.8);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(249, 245, 247, 0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.brand-chip {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(27, 14, 29, 0.1);
}

.brand-chip .swatch {
  height: 64px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.brand-chip .swatch.plum {
  background: var(--plum);
}

.brand-chip .swatch.magenta {
  background: var(--magenta);
}

.brand-chip .swatch.gold {
  background: var(--gold);
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes thinkingDots {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (max-width: 920px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.8rem 1rem;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 14, 29, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .nav-cta {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-cta {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .container {
    width: min(1150px, 92%);
  }

  .ai-hero {
    padding: 3.8rem 0 3.6rem;
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .section,
  .section-hero {
    padding: 3.6rem 0;
  }

  .ai-card,
  .hero-card,
  .ai-modal-card,
  .newsletter,
  .hero-panel {
    padding: 1.5rem;
  }

  .ai-messages {
    min-height: 200px;
    max-height: 280px;
  }

  .ai-form input {
    width: 100%;
  }

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

  .hero-stats {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter input {
    min-width: 0;
    width: 100%;
  }

  .detail-article-text {
    font-size: 1rem;
  }
}
