/* Story pages: the homepage (/, /de/) and the architects intro (/intro/architects/).
   Builds on landing.css + intro/intro.css; the story follows the film
   "All your AI. One network.": islands → office network → one chat. */

/* hero: copy over the pastel wave, the studio photo as a stage below */
.hero.arch { min-height: auto; padding-bottom: 0; flex-direction: column; align-items: stretch; }
.hero.arch .hero-inner { padding: 132px 24px 56px; }
.hero.arch h1 { font-size: clamp(2.6rem, 7.4vw, 5.8rem); }
.hero.arch .hero-sub { max-width: 640px; }

/* a photo with pills pinned to spots in it (percent of the photo) */
.stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #e9e4f0;
}
.stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage { line-height: 0; }
.stage .pin { line-height: 1.25; }
.stage-wrap { position: relative; z-index: 1; padding: 0 24px 96px; }
.stage-wrap .stage { max-width: 1180px; margin: 0 auto; }
.pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(25, 19, 49, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--ink);
}
.pin small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-3); }
.pin i {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  background: linear-gradient(135deg, var(--gold-soft), var(--violet-soft));
}
.pin.only::after {
  content: attr(data-only);
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  background: #ffedd5;
}
@media (prefers-reduced-motion: no-preference) {
  .stage .pin { animation: pin-in 0.7s var(--ease-spring) both; animation-play-state: paused; }
  .stage.rv-shown .pin, .stage-wrap .pin { animation-play-state: running; }
  .stage .pin:nth-of-type(2) { animation-delay: 0.12s; }
  .stage .pin:nth-of-type(3) { animation-delay: 0.24s; }
  .stage .pin:nth-of-type(4) { animation-delay: 0.36s; }
  .stage .pin:nth-of-type(5) { animation-delay: 0.48s; }
  @keyframes pin-in {
    from { opacity: 0; transform: translate(-50%, -80%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
  }
}

/* problem: islands */
.islands-grid { margin-top: 48px; }

/* aha: the 1990s office network + the film */
.aha {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: end; /* the film sits on the same baseline as the photo */
}
.aha .stage { aspect-ratio: 16 / 10; margin-top: 32px; }
.film {
  justify-self: center;
  width: min(100%, 320px);
  border-radius: 34px;
  padding: 10px;
  background: #0d0a1c;
  box-shadow: var(--shadow-lg);
}
.film video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #000; }
.film figcaption { color: rgba(255, 255, 255, 0.7); font-size: 13px; text-align: center; padding: 10px 0 4px; }

/* solution: chat mock + three uses */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.chat-mock {
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  font-size: 15px;
}
.cm-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 4px 0 10px;
}
.cm-q {
  background: var(--pill-dark);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 12px 16px;
  margin-left: 12%;
}
.cm-steps { display: grid; gap: 8px; margin: 18px 0; }
.cm-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--bg-soft);
  font-size: 14px;
}
.cm-step b { font-weight: 700; }
.cm-step span { color: var(--ink-3); }
.cm-step .ok { margin-left: auto; color: #2c8a55; font-weight: 700; }
.cm-a {
  border-radius: 18px 18px 18px 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}
.cm-a .src {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.uses { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use {
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.use img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.use div.txt { padding: 22px 24px 26px; }
.use h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.use p { font-size: 15px; color: var(--ink-2); }
.use p small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13px; }

/* coming next: answers you can see */
.badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  vertical-align: 2px;
  color: #6d28d9;
  background: #ede9fe;
  -webkit-text-fill-color: #6d28d9;
}
.visual {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}
.vis-kinds { display: grid; gap: 14px; }
.vis-kind {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.vis-kind i { font-style: normal; font-size: 22px; line-height: 1.2; }
.vis-kind b { display: block; font-size: 16.5px; }
.vis-kind span { font-size: 14.5px; color: var(--ink-2); }
/* homepage: the three kinds in one row, no live demo */
.vis-row { margin-top: 48px; grid-template-columns: repeat(3, 1fr); }
.vis-more { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.vis-more a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

#sun-study {
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
#sun-study .cm-q { margin: 0 0 16px 18%; }
#sun-study svg { display: block; width: 100%; height: auto; }
.ss-site { fill: #f6f3ee; stroke: rgba(25, 19, 49, 0.25); stroke-dasharray: 6 5; }
.ss-garden { fill: #cfe8c4; }
.ss-nb { fill: #d8d3e3; stroke: #9d95b5; }
.ss-ours { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.ss-shadows polygon { fill: rgba(25, 19, 49, 0.28); }
.ss-path { fill: none; stroke: #ffb35c; stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; }
.ss-sun { fill: #ffb020; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 8px rgba(255, 176, 32, 0.9)); transition: opacity 0.3s; }
.ss-lbl { font: 600 13px 'Plus Jakarta Sans', sans-serif; fill: var(--ink-2); text-anchor: middle; }
.ss-lbl-garden { fill: #3f6b34; }
.ss-north { fill: var(--ink-2); font: 700 12px 'Plus Jakarta Sans', sans-serif; text-anchor: middle; }
#sun-study.night .ss-site { fill: #e4e2ec; }
.ss-ctl { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 14px; }
.ss-months { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.ss-months button, .ss-play {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: none;
  color: var(--ink-3);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.ss-months button[aria-pressed=true] { background: var(--ink); color: #fff; }
.ss-play { border: 1px solid var(--line-strong); color: var(--ink); }
.ss-play[aria-pressed=true] { background: #ffedd5; border-color: #fdba74; }
.ss-ctl input[type=range] { flex: 1 1 160px; accent-color: #ff7b1c; }
.ss-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.ss-out div { padding: 10px 12px; border-radius: 14px; background: var(--bg-soft); font-size: 12px; color: var(--ink-3); }
.ss-out b { display: block; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ss-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }

/* private: evening studio */
.private {
  position: relative;
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.private img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.private::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1; /* above the photo, which comes later in the DOM */
  background:
    linear-gradient(90deg, rgba(13, 10, 28, 0.62) 0%, rgba(13, 10, 28, 0.25) 55%, rgba(13, 10, 28, 0) 75%),
    linear-gradient(180deg, rgba(13, 10, 28, 0.1) 20%, rgba(13, 10, 28, 0.86) 100%);
}
.private .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 72px; width: 100%; }
.private h2 { color: #fff; }
.private p { margin-top: 16px; max-width: 560px; color: rgba(255, 255, 255, 0.8); }
.private .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.private .chips span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* homepage feature rows: copy + one visual, alternating sides */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat.flip > :first-child { order: 2; }
.feat .stage { aspect-ratio: 16 / 10; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; color: #fff; background: #2c8a55;
}

.bm-arrow { text-align: center; color: #ff7b1c; font-size: 22px; font-weight: 700; margin: 12px 0; }
.bm-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow-sm);
}
.bm-icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--gold-soft), var(--violet-soft));
}
.bm-card b { display: block; font-size: 16.5px; }
.bm-card div span { font-size: 14px; color: var(--ink-2); }
.bm-ready {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 9px 12px; border-radius: 14px; background: var(--bg-soft); font-size: 14px; font-weight: 600;
}
.bm-ready .ok { margin-left: auto; color: #2c8a55; font-weight: 700; }

.models {
  border-radius: 26px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 4px;
}
.mcol { padding: 14px 16px; border-radius: 18px; background: var(--bg-soft); }
.mcol.local { background: #eef8f1; }
.mcol .cm-label { margin-top: 0; }
.mcol small { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.mchips { display: flex; flex-wrap: wrap; gap: 8px; }
.mchips span {
  padding: 6px 12px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.mor { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); padding: 6px 0; }
.mshare { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: center; }

.access { margin-top: 26px; }
.ac-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.ac-row:last-of-type { border-bottom: 0; }
.ac-row i {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-style: normal; font-size: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--violet-soft));
}
.ac-row b { display: block; font-size: 15px; }
.ac-row span { font-size: 13.5px; color: var(--ink-3); }
.ac-row em {
  margin-left: auto; flex: none; font-style: normal; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: #e7f5ec; color: #2c8a55;
}
.ac-row em.me { background: #ffedd5; color: #c2410c; }
.ac-team { margin-top: 8px; padding: 9px 12px; border-radius: 14px; background: var(--bg-soft); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.pin.pin-a { left: 55%; top: 44%; }

.ds-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.ds-row > i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #c9c4d6; }
.ds-row > i.on { background: #2cbf6a; box-shadow: 0 0 0 4px rgba(44, 191, 106, 0.15); }
.ds-row b { display: block; font-size: 15px; }
.ds-row span { font-size: 13.5px; color: var(--ink-3); }
.tg { margin-left: auto; flex: none; width: 38px; height: 22px; border-radius: 999px; background: #d8d3e3; position: relative; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tg.on { background: #2cbf6a; }
.tg.on::after { left: 19px; }
.ds-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ds-foot span:first-child { color: var(--ink); }

/* who it is for */
.who { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px; border-radius: 22px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: inherit; text-decoration: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.who-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.who-card i { font-style: normal; font-size: 28px; }
.who-card b { font-size: 19px; letter-spacing: -0.01em; }
.who-card span { font-size: 15px; color: var(--ink-2); flex: 1; }
.who-card em { font-style: normal; font-weight: 700; font-size: 14.5px; margin-top: 6px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: #ff7b1c; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); font-size: 16px; }
.faq details a { color: var(--ink); text-decoration: underline; }

@media (max-width: 960px) {
  .aha, .solution, .visual, .vis-row, .feat, .who { grid-template-columns: 1fr; }
  .feat.flip > :first-child { order: 0; }
  .uses { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .uses { grid-template-columns: 1fr; }
  .stage { border-radius: 18px; }
  .stage-wrap { padding: 0 12px 64px; }
  .pin { font-size: 11px; padding: 4px 9px 4px 5px; gap: 5px; }
  .pin small, .pin.only::after { display: none; }
  .pin i { width: 18px; height: 18px; font-size: 10px; border-radius: 6px; }
  .pin.m-hide { display: none; }
  .pin.pin-a { left: 50%; }
  .ss-out { grid-template-columns: 1fr 1fr; }
  .private::before { background: linear-gradient(180deg, rgba(13, 10, 28, 0.35), rgba(13, 10, 28, 0.9) 55%); }
  #sun-study .cm-q { margin-left: 0; }
}
