@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
  --bg:      #141414;
  --text:    #e8e2d8;
  --accent:  #c9a96e;
  --muted:   #6b6055;
  --border:  #272320;
  --card-bg: #1c1916;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

/* ── Lang switch ── */
.lang-switch {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 100;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lang-switch a:hover { color: var(--accent); }

/* ── Header ── */
header {
  padding: 5rem 3rem 3rem;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ── Container ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ── Section labels ── */
h2 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

h2[id] {
  scroll-margin-top: 5.5rem;
}

/* ── Body text ── */
p { margin-bottom: 0.9rem; font-size: 0.95rem; }

strong { font-weight: 500; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.75; }

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

ul li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

em { font-style: italic; }

/* ── Chatbot preview (secondary tile) ── */
.chatbot-preview {
  background: var(--card-bg);
  border-left: 2px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin: 1rem 0 1.5rem;
  border-radius: 4px;
  max-width: 640px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.chatbot-motif {
  width: 160px;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-motif::before {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.chatbot-text > p:first-of-type { margin-top: 0; }

.chatbot-greeting {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.chatbot-provenance {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.chatbot-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.chatbot-cta {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chatbot-cta a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ── Chatbot top tile (peer of video works) ── */
.video-block--chatbot .video-wrapper {
  background: var(--card-bg);
}

.chatbot-tile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s;
}

.chatbot-tile:hover {
  background: #221e1a;
  opacity: 1;
}

.chatbot-tile-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.chatbot-tile-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
}

.chatbot-tile-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.chatbot-tile:hover .chatbot-tile-title::after {
  width: 80px;
}

/* ── Poem ── */
.poem-section {
  background: var(--card-bg);
  padding: 3rem 0;
  margin: 4rem 0;
}

.poem-section .poem-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 3rem;
}

.poem-section > p {
  display: none;
}

.poem-inner > p {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

blockquote { max-width: 480px; }

.poem-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
}

blockquote p:last-child {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
}

/* ── Video grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}

.video-wrapper:hover .video-label { opacity: 1; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--card-bg);
  border-radius: 6px;
}


.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.video-play-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;
  margin-left: 5px;
}

.video-wrapper:hover .video-poster {
  opacity: 0.74;
  transform: scale(1.02);
}

.video-wrapper:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(201, 169, 110, 0.92);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}


.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper[onclick] { cursor: pointer; }

.video-wrapper[data-consent="media"] {
  cursor: pointer;
}

.video-tile {
  display: block;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.25rem 0 1.5rem;
  scroll-margin-top: 5.5rem;
}

.feature-card-media .video-wrapper {
  margin: 0;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
}

.feature-card-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.feature-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.feature-card-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.feature-card-copy p:last-child {
  margin-bottom: 0;
}

.elements-title {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1.75rem;
  margin-bottom: 0.9rem;
}

.feature-card--placeholder {
  border-style: dashed;
}

/* ── Footer ── */
footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .lang-switch {
    position: static;
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem 0;
  }
}

@media (max-width: 640px) {
  header { padding: 4rem 1.5rem 2.5rem; }
  .container { padding: 0 1.5rem; }
  .poem-section { margin: 3rem -1.5rem; padding: 2.5rem 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .chatbot-preview {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem;
  }
  .chatbot-motif { max-width: 220px; width: 100%; }
  .feature-card {
    grid-template-columns: 1fr;
    padding: 0.9rem;
  }
}
