/* aicon27.com additions to the Mannheim placeholder's styles (tokens/base/sections stay as copied).
   Values from the Heidelberg Figma (MCICXcLopDYEBwzGDcUV9O, page 1858:2445); node ids per block. */

/* Roboto Mono Bold for the figures bars' numbers (Figma "Wrapper Keypoints", New Design), self-hosted like
   Roboto (css/fonts.css explains why); latin subset only, digits and capitals is all it shows. OFL 1.1. */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/roboto-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ================================ HERO (1858:2447) ======================= */
/* Two title lines at 128px; each line keeps together on wide screens, wraps on phones. */
.hero__title { max-width: none; }
.hero__line { display: block; }
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__text .hero__body { max-width: 998px; }

/* ============================ LOGO ROWS (1858:80607) ===================== */
.brands { background: var(--bg-1); padding: 40px 0 80px; }
.brands__label {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white-soft);
  margin-bottom: 24px;
}
/* ============================ LOGO STRIPS ================================ */
/* "Behind AICon 2026" and "Become part of our growing AICon Community" scroll in endless strips (Mikhail,
   2026-11-18), as aicon26.com's logo strips: its templates/partials/logo_strip.html (the Tailwind classes below as
   plain CSS) and partials/logo_strip_assets.html (the rest, as there). The page holds each strip's logos twice and
   the track moves by one copy, so the second copy steps into the first one's place without a jump; each copy ends
   in the same padding as the gap between logos. A copy must be wider than the row (1280px). Each logo's height is
   on the page, by eye. A finger holds and swipes a strip: js/logo-strips.js. */
@keyframes coopScroll { to { transform: translateX(-50%); } }
.coop-marquee {
  width: 100%;
  overflow: hidden;
  /* The logos fade in and out at the edges instead of being cut off. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  /* A swipe across a strip is the strip's; up and down still scroll the page. Two-finger zoom is allowed again
     on a second line: a browser that doesn't know "pinch-zoom" drops only that line. */
  touch-action: pan-y;
  touch-action: pan-y pinch-zoom;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.coop-marquee__track { display: flex; width: max-content; animation: coopScroll linear infinite; }
.coop-marquee__copy { display: flex; flex-shrink: 0; align-items: center; gap: 48px; padding-right: 48px; }
.coop-marquee img { display: block; width: auto; max-width: none; flex-shrink: 0; }
@media (min-width: 1200px) {
  .coop-marquee__copy { gap: 64px; padding-right: 64px; }
}
/* The hover pause only with a mouse: phones keep :hover after a tap, which froze the strip. */
@media (hover: hover) {
  .coop-marquee:hover .coop-marquee__track { animation-play-state: paused; }
}
.coop-marquee:focus-within .coop-marquee__track,
.coop-marquee.is-held .coop-marquee__track { animation-play-state: paused; }
/* Visitors who turn off animations in their system settings get a wrapped, centred row. */
@media (prefers-reduced-motion: reduce) {
  .coop-marquee { -webkit-mask-image: none; mask-image: none; }
  .coop-marquee__track { animation: none; width: 100%; }
  .coop-marquee__copy { flex-wrap: wrap; justify-content: center; row-gap: 24px; width: 100%; padding-right: 0; }
  .coop-marquee__copy[aria-hidden] { display: none; }
}

/* ============================ PHOTO REEL ================================= */
/* "Established in Heidelberg. Grown in Mannheim." shows photos of AICon Industry Mannheim (19.11.2026) in an endless
   strip across the whole page (Mikhail, 2026-11-20: "a carousel so it's showing off pictures"; until then seven still tiles, Figma
   1858:2611). It is a logo strip above with photos: the same track, swipe and pause. Every photo has one height and
   keeps its own width (the img's width and height attributes hold the place before it loads). */
.photo-reel .coop-marquee__copy { gap: 8px; padding-right: 8px; }
/* aicon27.com/#photos, the link sent to people (2026-11-21), opens with the heading just under the menu bar (69px)
   rather than base.css's 88px: on a short laptop window (1366 x 650) heading and photos then nearly fit. */
#photos { scroll-margin-top: 72px; }
.photo-reel img {
  height: clamp(240px, 28vw, 400px);
  filter: brightness(0.8);  /* the old tiles' 20% black layer, so the photos sit in the dark page */
}
/* Without animation the photos stay one row, which scrolls sideways (the logo strips wrap into lines instead). */
@media (prefers-reduced-motion: reduce) {
  .photo-reel { overflow-x: auto; touch-action: auto; }
  .photo-reel .coop-marquee__track { width: max-content; }
  .photo-reel .coop-marquee__copy { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
}

/* ============================ PHOTO VIEWER =============================== */
/* A photo of the strip opens large (js/photo-viewer.js, 2026-11-21): the email sent with aicon27.com/#photos asks
   people to find themselves in the photos and share their favourite moments, which the strip's small, cut, moving
   photos do not allow. Each strip photo is a link to its large file (assets/images/review27/full/: the whole photo,
   2048px), so without the script it still opens, as a plain image. */
.photo-reel__photo { display: block; flex-shrink: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.photo-reel__photo:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@media (hover: hover) {
  .photo-reel__photo img { transition: filter 0.2s ease; }
  .photo-reel__photo:hover img { filter: none; }
}
/* The hint takes the strip's room below it (sections.css .review__wide) before the figures bar. */
.photo-reel.review__wide { margin-bottom: 0; }
.photo-reel__hint {
  margin-top: 16px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.875rem;
  text-align: center;
  color: var(--white-soft);
  opacity: 0.7;
}
.photo-reel__click { display: none; }
@media (hover: hover) and (pointer: fine) {
  .photo-reel__tap { display: none; }
  .photo-reel__click { display: inline; }
}

/* The whole screen, dark: the count and × on top, the photo, the arrows and buttons below (phones) or the arrows
   beside it (from 768px). */
.photo-viewer {
  width: 100%;
  height: 100%;
  max-width: none;   /* a dialog is a small centred box by default */
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #000;   /* solid: at 95% the page's white text and lime figures showed through */
  color: var(--white);
}
.photo-viewer[open] { display: grid; grid-template-rows: 56px minmax(0, 1fr) 88px; }
html.photo-viewer-open { overflow: hidden; }   /* the page behind stays where it is */
html.photo-viewer-open .photo-reel .coop-marquee__track { animation-play-state: paused; }
.photo-viewer__count {
  grid-row: 1;
  align-self: center;
  padding-left: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.photo-viewer__stage {
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  /* a sideways swipe is the script's (next photo), up and down and pinching the browser's: pinch to look closer */
  touch-action: pan-y pinch-zoom;
}
.photo-viewer.is-zoomed .photo-viewer__stage { touch-action: auto; }   /* zoomed in, a swipe moves the view */
.photo-viewer__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
  -webkit-user-drag: none;
}
.photo-viewer.is-loading .photo-viewer__img { opacity: 0.4; }   /* the last photo, until the next has arrived */
.photo-viewer__close,
.photo-viewer__prev,
.photo-viewer__next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.18s ease;
}
.photo-viewer__close { top: 6px; right: 8px; }
.photo-viewer__prev,
.photo-viewer__next { bottom: 22px; background: rgba(255, 255, 255, 0.12); }
.photo-viewer__prev { left: 16px; }
.photo-viewer__next { right: 16px; }
.photo-viewer__close:hover,
.photo-viewer__prev:hover,
.photo-viewer__next:hover { background: rgba(255, 255, 255, 0.24); }
.photo-viewer button:focus-visible,
.photo-viewer a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.photo-viewer__actions {
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 72px;   /* clear of the arrows */
}
.photo-viewer__share[hidden] { display: none; }   /* .btn's display outranks the hidden attribute: Share showed and did
                                                     nothing where the browser cannot share files (Chrome on a Mac) */
.photo-viewer__share:disabled { opacity: 0.5; cursor: progress; }
@media (min-width: 768px) {
  .photo-viewer[open] { grid-template-rows: 64px minmax(0, 1fr) 96px; }
  .photo-viewer__count { padding-left: 32px; }
  .photo-viewer__close { top: 10px; right: 20px; }
  .photo-viewer__stage { padding: 0 96px; }
  .photo-viewer__prev,
  .photo-viewer__next { top: 50%; bottom: auto; width: 56px; height: 56px; transform: translateY(-50%); }
  .photo-viewer__prev { left: 24px; }
  .photo-viewer__next { right: 24px; }
}

.brands__press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  margin-top: 24px;
}
.brands__press-label { font-size: 1rem; font-weight: 400; color: var(--white-soft); }
.brands__press img { width: auto; object-fit: contain; }
.brands__press img[src*="ard"] { height: 40px; }
.brands__press img[src*="swr"] { height: 26px; }
.brands__press img[src*="mannheimer"] { height: 40px; }
.brands__press img[src*="rhein"] { height: 30px; }

/* ======================= INTRO + FIGURES BAR (1858:2449) ================= */
.intro__sub { font-size: var(--title-1); }
.keypoints { padding-block: 10px; }
.keypoints__inner { padding-inline: 40px; }
.keypoints__item {
  padding: 0 0.75rem;
  border-left-color: var(--bg-1);
  font-size: 0.75rem;
  line-height: 14px;
  letter-spacing: 0.12em;
}
.keypoints__num {
  margin-bottom: 2px;
  font-family: 'Roboto Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

/* ============================ UPDATES BAND (1858:2467) =================== */
.updates { padding-block: 56px; }
.updates__title { font-size: var(--h4); margin-bottom: 24px; }
.updates__form { max-width: 937px; margin: 0 auto; text-align: left; }
.updates__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.updates__input {
  flex: 1 1 320px;
  min-width: 0;
  height: 47px;
  padding: 0 15px;
  border: 1px solid var(--white-soft);
  border-radius: 8px;
  background: var(--bg-1);
  color: var(--white-soft);
  font: inherit;
  font-size: 1rem;
}
.updates__input::placeholder { color: var(--grey-darker); }
.updates__input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.updates__consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white-soft);
  cursor: pointer;
}
.updates__consent input { width: 16px; height: 16px; accent-color: var(--primary); }
.updates__consent a { color: inherit; text-decoration: underline; }
.updates__error { margin-top: 1rem; color: #ff8a80; font-weight: 700; }
.updates__thanks { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: var(--body-1); line-height: 1.5; }
.updates__thanks-title { font-size: var(--h4); font-weight: 700; color: var(--white-soft); margin-bottom: 0.75rem; }
.updates .btn[disabled] { cursor: progress; }

/* ============================== HUMANOIDS (1865:108242) ================== */
.humanoids { background: var(--bg-1); padding-block: clamp(72px, 9vw, 120px); }
.humanoids__title { margin-bottom: 56px; }
.humanoids__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 23.5px; }
.robot-card {
  background: rgba(219, 219, 219, 0.1);
  border: 1px solid var(--white-soft);
  border-radius: 12px;
  padding-block: 32px;
  overflow: hidden;
}
.robot-card__media {
  position: relative;
  margin-inline: 32px;
  aspect-ratio: 564 / 321;
  overflow: hidden;
}
/* The designer's crops, as percentages of the 564 x 321 picture box. */
.robot-card__img { position: absolute; max-width: none; }
.robot-card__img--g1 { width: 183.99%; height: 202.93%; left: -42%; top: -7.74%; }
.robot-card__img--walker { width: 58.87%; height: 103.43%; left: 20.57%; top: -3.43%; }
.robot-card__logo { position: absolute; top: 0; left: 0; height: 31px; width: auto; }
.robot-card__text {
  border-top: 2px solid var(--white-soft);
  margin-top: 10px;
  padding: 24px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.robot-card__title { font-size: var(--h4); font-weight: 700; letter-spacing: -0.015em; }
.robot-card__body { font-size: var(--body-1); font-weight: 300; line-height: 26px; color: var(--white-soft); }
.humanoids__note { font-size: var(--title-1); font-weight: 700; margin: 40px 0 24px; }

/* ============================== PRACTICE (1858:2524) ===================== */
.practice { background: var(--bg-1); }
.practice .practice-card { padding: 32px; }
/* Each point: a square and its bold title, then a light line under it. */
.feature-list--pairs { gap: 24px; }
.feature-list--pairs li { display: flex; flex-direction: column; gap: 4px; }
.feature-list--pairs strong {
  position: relative;
  padding-left: 16px;
  font-size: var(--title-1);
  line-height: 28px;
}
.feature-list--pairs strong::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--primary);
}
.feature-list--pairs span { font-size: 1rem; line-height: 26px; color: var(--muted); }

/* ===================== WHY + COMMUNITY LOGOS (1858:2479) ================== */
.why { background: var(--bg-3); padding-bottom: 80px; }
.why .card, .formats .card, .audience .card, .become .card { border-color: var(--white-soft); }
.community { background: var(--bg-3); padding: 40px 0 80px; }
.community .brands__label { margin-bottom: 32px; }
/* "Why Heidelberg? Why April? Why now?" on one line from 768px (Mikhail, 2026-11-18; at --h2 it took two). The
   line is 16.4 times its font size wide (Roboto bold, the title's letter-spacing), so the size follows the title's
   box (100cqi: its width, without the scrollbar) and never exceeds the other titles' --h2. A browser without
   container units drops the line and keeps --h2 (two lines). Phones keep --h2 too: one line would be 21px. */
@media (min-width: 768px) {
  .why .section-head { container-type: inline-size; }
  .why .section-head .h2 { font-size: min(var(--h2), 100cqi / 16.6); }
}

/* ============================== AUDIENCE (1858:2603) ===================== */
.audience .icon-card__title { line-height: 28px; }
.icon-card__stat {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--muted);
  font-family: 'Roboto Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* =========================== QUOTE CARDS ================================= */
/* aicon26.com's carousel (Mikhail, 2026-11-18: "keep the design and everything identical"): its
   templates/sections/testimonials.html with the Tailwind classes written out as plain CSS, value for value, and
   js/scroll-rows.js for the arrows and dots. Three cards per view from 1200px, two from 768px, on phones one with
   a strip of the next showing. No LinkedIn links. */
.quotes { padding-bottom: 56px; }
.quotes__row { display: flex; flex-direction: column; gap: 24px; }
.quotes__scroll {
  display: flex;
  scroll-snap-type: x mandatory;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quotes__scroll::-webkit-scrollbar { display: none; }
/* padding 31px: Figma draws the 1px border inside its 32px padding, so the text gets Figma's width. */
.quote {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: calc(100% - 56px);
  scroll-snap-align: start;
  padding: 31px;
  border: 1px solid #FBFBFB;
  border-radius: 12px;
  background: rgba(219, 219, 219, 0.1);
  color: #FBFBFB;
}
.quote__head { display: flex; flex-direction: column; gap: 16px; }
.quote__logo { display: block; height: 58px; width: 145px; object-fit: contain; object-position: left; }
.quote__company { font-size: 24px; font-weight: 700; line-height: 58px; }   /* IKEA: its name, no logo */
.quote__who { display: flex; flex-direction: column; gap: 8px; word-break: break-word; }
.quote__name { font-size: 18px; font-weight: 700; line-height: 26px; letter-spacing: 0.02em; }
.quote__position { font-size: 14px; font-weight: 600; line-height: 16px; letter-spacing: 0.03em; }
.quote__text {
  flex-grow: 1;
  min-height: 144px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.quotes__nav { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.quotes__arrow { width: 40px; height: 40px; }
.quotes__dots { display: flex; min-width: 0; align-items: center; gap: 4px; padding: 8px 24px; }
/* The dots scroll-rows.js makes (its Tailwind "flex h-6 w-6 min-w-3 shrink items-center justify-center"):
   shrinkable to 12px, so a long row's dots never make the page wider than a phone. */
.quotes__dots > button { display: flex; width: 24px; height: 24px; min-width: 12px; flex-shrink: 1; align-items: center; justify-content: center; }
@media (min-width: 768px) {
  .quotes { padding-bottom: 80px; }
  .quote { width: calc((100% - 24px) / 2); }
}
@media (min-width: 1200px) {
  .quote { width: calc((100% - 48px) / 3); }
}

/* ========================== BECOME PARTNER (1858:2645) =================== */
.become { background: var(--bg-1); }
.become__head { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.become__overline { color: var(--primary); }
.become__title { font-size: var(--h5); font-weight: 700; line-height: 1.4; letter-spacing: -0.04em; }
.become__lead { font-size: var(--h4); font-weight: 700; letter-spacing: -0.015em; color: var(--white); }
.become__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }
.become__stat {
  background: rgba(219, 219, 219, 0.1);
  border: 1px solid var(--white-soft);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  line-height: 18px;
  color: var(--white-soft);
}
.become__num {
  display: block;
  margin-bottom: 8px;
  font-size: var(--h3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.become .become__cards .card { border-color: var(--white-soft); }
.become .become__cards .icon-card__body { font-weight: 300; line-height: 24px; color: var(--white-soft); }
.become .btn-row { margin-top: 56px; }

/* ============================== PHONES / TABLETS ========================= */
@media (max-width: 1023px) {
  .humanoids__grid { grid-template-columns: 1fr; }
  .become__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .brands__press { justify-content: center; }
  .brands__press-label { flex-basis: 100%; text-align: center; }
  .updates__row .btn { flex: 1 1 100%; }
  .robot-card__media { margin-inline: 20px; }
  .robot-card__text { padding-inline: 20px; }
  .become__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .become__stat { padding: 12px 16px; }
}

/* Longer labels get more room, as in Figma, where the items sit at their own width.
   One line per label only from 1024px: the review's four labels need about 930px on one
   line, so upright iPads (768-1023px) scrolled the whole page sideways. */
.keypoints__item { flex: 1 1 auto; }
@media (min-width: 768px) { .keypoints__num { white-space: nowrap; } }   /* "2 years" stays one figure */
@media (min-width: 1024px) { .keypoints__item { white-space: nowrap; } }
.audience .icon-card__stat { flex-basis: 100%; margin-top: 8px; }

/* ============================ /priority/ (shop) ========================== */
/* The frame fills the screen under the sticky menu bar; vivenu scrolls inside it. */
.shop-page { background: #fff; }
.shop-page__frame { height: max(600px, calc(100dvh - var(--header-h, 76px))); }
.shop-page__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.shop-page__fallback {
  padding-block: 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--bg-1);
  max-width: none;
}
.shop-page__fallback a { color: var(--primary); text-decoration: underline; }

/* ========================= /partnerwithus/ form card ===================== */
/* The Mannheim placeholder's pop-up card, sitting on the page: its size variables live on the
   overlay there (css/modal.css), so they are set here, and the card no longer scrolls inside itself. */
.partner-form-section { --modal-w: 880px; --modal-pad-x: 48px; --modal-pad-y: 40px; background: var(--bg-1); padding-top: 0; }
.partner-card { max-height: none; overflow: visible; }
@media (max-width: 767px) {
  .partner-form-section { --modal-pad-x: 20px; --modal-pad-y: 28px; }
}
