/* GENERATED FILE - DO NOT EDIT.
   Source of truth: web/_shared/modules/phone-kit.css
   Edit that file, then run web/_shared/sync-modules.ps1 -Deploy */
/* ============================================================
   phone-kit.css 0.1.0: generic phone layout. Every rule is scoped to html.pk.
   A page maps its look onto the tokens below in its own phone-<page>.css.
   ============================================================ */
html.pk {
  --pk-bar: 54px;
  --pk-accent: #d7005a;
  --pk-accent-2: #ffa500;
  --pk-surface: #141414;
  --pk-surface-2: #1c1c1c;
  --pk-text: #f3f1ef;
  --pk-dim: #a9a7a4;
  --pk-line: rgba(255, 255, 255, 0.09);
  --pk-font: inherit;
  --pk-display: inherit;
  --pk-mono: inherit;
  --pk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Until the kit has rebuilt the page, show nothing rather than the unbuilt page.
   The inline boot removes html.pk after 4 s if the kit never got there. */
html.pk:not(.pk-ready) body { visibility: hidden; }

/* ----------------------------------------------------------
   1. THE PAGE NEVER SCROLLS, THE BODY DOES
   So the browser bars never collapse and 100dvh is always the visible screen.
---------------------------------------------------------- */
html.pk {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
  --pk-screen: 100vh;
}
/* Set through @supports, never as two height lines: a declaration holding var() is only checked
   after the cascade, so a browser without dvh keeps it, fails it, and never uses the vh line above it. */
@supports (height: 100svh) { html.pk { --pk-screen: 100svh; } }
@supports (height: 100dvh) { html.pk { --pk-screen: 100dvh; } }
html.pk body {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  padding-top: var(--pk-bar);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--pk-bar);
}
html.pk.pk-locked body { overflow-y: hidden !important; }

/* Each chapter is exactly one screen under the bar: it starts and ends at the edges */
html.pk .pk-chapter {
  position: relative;
  height: calc(var(--pk-screen) - var(--pk-bar));
  min-height: 0;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 14px 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}
html.pk .pk-chapter > * { flex: none; }
/* Room kept for the + button, so nothing overlaps it */
html.pk .pk-chapter.pk-has-more { padding-bottom: 52px; }

/* ----------------------------------------------------------
   2. MENU, top right in place of the burger
---------------------------------------------------------- */
html.pk .pk-menu-btn {
  position: absolute;
  top: 0;
  right: 4px;
  height: var(--pk-bar);
  max-width: calc(100vw - 150px);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  background: none;
  border: 0;
  color: var(--pk-text);
  font-family: var(--pk-font);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
html.pk .pk-menu-num {
  flex: none;
  color: var(--pk-accent-2);
  font-variant-numeric: tabular-nums;
}
html.pk .pk-menu-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.pk .pk-menu-btn svg { flex: none; transition: transform 0.2s ease; }
html.pk .pk-menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

html.pk .pk-menu {
  position: fixed;
  top: var(--pk-bar);
  left: 0;
  right: 0;
  z-index: 890;
  max-height: calc(var(--pk-screen) - var(--pk-bar));
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: 12px 12px 16px;
  background: var(--pk-surface);
  border-bottom: 1px solid var(--pk-line);
  border-radius: 0 0 16px 16px;
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 0.17s ease, visibility 0s 0.17s;
}
html.pk .pk-menu--open {
  transform: none;
  visibility: visible;
  transition: transform 0.28s var(--pk-ease), visibility 0s;
}
html.pk .pk-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
html.pk .pk-menu-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 10px;
  box-sizing: border-box;
  background: var(--pk-surface-2);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--pk-text);
  font-family: var(--pk-font);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}
html.pk .pk-menu-tile--active { border-color: var(--pk-accent-2); }
html.pk .pk-menu-tile-num {
  flex: none;
  min-width: 16px;
  color: var(--pk-dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------
   3. SCRIM, BOTTOM SHEET, FROSTED CARD
---------------------------------------------------------- */
html.pk .pk-scrim {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
html.pk .pk-scrim--visible { opacity: 1; pointer-events: auto; }

html.pk .pk-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  max-height: calc(var(--pk-screen) - var(--pk-bar) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
  background: var(--pk-surface);
  border-top: 1px solid var(--pk-line);
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  /* A closed sheet takes no keyboard focus */
  visibility: hidden;
  transition: transform 0.17s ease, visibility 0s 0.17s;
}
html.pk .pk-sheet--open {
  transform: none;
  visibility: visible;
  transition: transform 0.28s var(--pk-ease), visibility 0s;
}
/* A long sheet can always be closed */
html.pk .pk-sheet-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  background: var(--pk-surface);
  border-bottom: 1px solid var(--pk-line);
}
html.pk .pk-sheet-title {
  font-family: var(--pk-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pk-text);
}
html.pk .pk-sheet-close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--pk-text);
  cursor: pointer;
}
html.pk .pk-sheet-body {
  padding: 16px;
  font-family: var(--pk-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--pk-dim);
}
html.pk .pk-sheet-body > * + * { margin-top: 16px; }

html.pk .pk-sheet.pk-glass {
  left: 12px;
  right: 12px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-height: calc(var(--pk-screen) - var(--pk-bar) - 32px);
  padding: 4px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0) 100%),
    rgba(28, 28, 30, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(calc(100% + 32px));
}
html.pk .pk-sheet.pk-glass.pk-sheet--open {
  transform: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
html.pk .pk-glass .pk-sheet-header { padding: 4px 6px 4px 18px; background: none; border-bottom: 0; }
html.pk .pk-glass .pk-sheet-title { font-size: 20px; }
html.pk .pk-glass .pk-sheet-body { padding: 0 18px 12px; color: var(--pk-text); }

/* ----------------------------------------------------------
   4. + BUTTON at the bottom of its chapter
---------------------------------------------------------- */
html.pk .pk-more-btn {
  position: absolute;
  right: 8px;
  bottom: 4px;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--pk-accent-2);
  cursor: pointer;
}
html.pk .pk-more-btn svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
}

/* ----------------------------------------------------------
   5. SHELF
---------------------------------------------------------- */
html.pk .pk-shelf { position: relative; min-width: 0; }
html.pk .pk-track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 16px 2px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 16px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  scrollbar-width: none;
}
html.pk .pk-track::-webkit-scrollbar { display: none; }
html.pk .pk-card {
  position: relative;
  flex: 0 0 calc(100% - 28px);
  min-width: 0;
  display: flex;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
html.pk .pk-card > :first-child { flex: 1 1 100%; min-width: 0; }
html.pk .pk-tappable { cursor: pointer; }

html.pk .pk-card-more {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 3;
  width: calc(44px / var(--pk-zoom, 1));
  height: calc(44px / var(--pk-zoom, 1));
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--pk-accent-2);
  cursor: pointer;
}
html.pk .pk-card-more svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
}

html.pk .pk-shelf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 16px 0;
}
html.pk .pk-shelf-btn {
  width: calc(44px / var(--pk-zoom, 1));
  height: calc(44px / var(--pk-zoom, 1));
  flex: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--pk-line);
  border-radius: 8px;
  color: var(--pk-text);
  cursor: pointer;
}
html.pk .pk-shelf-btn:disabled { opacity: 0.3; cursor: default; }
html.pk .pk-shelf-count {
  min-width: 52px;
  text-align: center;
  font-family: var(--pk-font);
  font-size: 13px;
  color: var(--pk-dim);
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------
   6. TAB ROW above a shelf, where people must compare options
---------------------------------------------------------- */
html.pk .pk-tabs {
  display: flex;
  margin: 0 16px 10px;
  border-bottom: 1px solid var(--pk-line);
}
html.pk .pk-tab {
  flex: 1 1 auto;
  min-height: calc(44px / var(--pk-zoom, 1));
  padding: 4px 4px 6px;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--pk-dim);
  font-family: var(--pk-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
html.pk .pk-tab[aria-selected="true"] {
  color: var(--pk-accent-2);
  border-bottom-color: var(--pk-accent-2);
}

/* ----------------------------------------------------------
   7. REDUCE MOTION: no snap and no lock-in anywhere
---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.pk body { scroll-snap-type: none; scroll-behavior: auto; }
  html.pk .pk-chapter { scroll-snap-align: none; scroll-snap-stop: normal; }
  html.pk .pk-sheet,
  html.pk .pk-menu,
  html.pk .pk-scrim,
  html.pk .pk-menu-btn svg,
  html.pk .pk-tab,
  html.pk .pk-face { transition: none !important; }
}

/* ----------------------------------------------------------
   VOICES: one person at a time over their work (shared testimonials markup)
---------------------------------------------------------- */
/* A row of people, one per screen width: swipe the work left or right for the next. The section never changes size */
html.pk .pk-voices {
  display: flex;
  gap: 10px;
  position: relative;
  height: 60vh;
  height: 60dvh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
html.pk .pk-voices::-webkit-scrollbar { display: none; }
html.pk .pk-voices .testigrid-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--bg-1);
  box-shadow: none;
}
/* Their work is the point of this section: on top, full strength, nothing over it. The words sit under it, never on it */
html.pk .pk-voices .testigrid-work { display: block; position: relative; flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; background: #000; }
html.pk .pk-voices .testigrid-work::before, html.pk .pk-voices .testigrid-work::after { display: none; }
html.pk .pk-voices .testigrid-work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 1; filter: none; transform: none; }
/* Tall pictures whose subject is not at the top: frame the subject */
html.pk .pk-voices .testigrid-work img[src*="Margherita_Golfetto"] { object-position: center 75%; }
html.pk .pk-voices .testigrid-work img[src*="Federico_Sgroi"] { object-position: center 45%; }
html.pk .pk-voices .testigrid-body {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 12px 10px;
  background: none;
}
html.pk .pk-voices .testigrid-quote { grid-column: 1 / -1; order: 0; }
html.pk .pk-voices .testigrid-person { order: 1; min-width: 0; }
html.pk .pk-voices .testigrid-stars { order: 2; font-size: 12px; }
html.pk .pk-voices .testigrid-more { grid-column: 1 / -1; order: 3; }
/* Three lines on the card; the whole recommendation opens with their work */
html.pk .pk-voices .testigrid-quote {
  font-size: 14px;
  line-height: 1.36;
  color: #fff;
  border-left: 0;
  padding-left: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
/* The way into all their images and videos: reads as a button, the whole card opens the same gallery */
html.pk .pk-voices .testigrid-more {
  display: flex;
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  opacity: 1;
  transform: none;
  border: 1px solid var(--gold);
  border-radius: 19px;
  color: var(--gold);
  font-family: var(--pk-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
html.pk .testigrid-name { font-size: 14px; }
html.pk .testigrid-role { font-size: 12px; letter-spacing: 0.02em; }
html.pk .testigrid-avatar { width: 32px; height: 32px; }
/* Someone with no work on the page: the words get the whole card */
html.pk .pk-voices .pk-voice-words { justify-content: center; }
html.pk .pk-voices .pk-voice-words .testigrid-quote { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
/* The row of faces: arrows at both ends, and the faces fade at the edges so it reads as more to come */
html.pk .pk-faces-row { display: flex; align-items: center; gap: 2px; margin: 10px -6px 0; }
html.pk .pk-faces-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: var(--gold);
  cursor: pointer;
}
html.pk .pk-faces-arrow:disabled { color: var(--hair); cursor: default; }
html.pk .pk-faces {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 8px;
  /* Room for the chosen face to grow without being cut, top, bottom and at both ends */
  padding: 7px 28px 7px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
}
html.pk .pk-faces::-webkit-scrollbar { display: none; }
html.pk .pk-face {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
html.pk .pk-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
html.pk .pk-face-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-1); color: var(--ink); font-size: 13px; font-weight: 600; }
/* The chosen person pops up, 25% bigger, in the gold ring */
html.pk .pk-face[aria-pressed="true"] { border-color: var(--gold); opacity: 1; transform: scale(1.25); position: relative; z-index: 1; }

/* ----------------------------------------------------------
   FAQ: a regular list, on one page while every answer is closed
---------------------------------------------------------- */
html.pk .pk-faq .section-head { text-align: center; margin-bottom: 8px; }
html.pk .pk-faq .section-head h2 { font-size: 24px; margin: 4px 0 4px; }
html.pk .pk-faq .section-head p { font-size: 13px; line-height: 1.35; margin: 0; }
html.pk .pk-faq .faq-wrap { display: block; margin: 0; }
html.pk .pk-faq .faq-item { border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: none; }
html.pk .pk-faq .faq-q {
  min-height: calc(44px / var(--pk-zoom, 1));
  padding: 6px 28px 6px 0;
  align-items: center;
  font-size: 14px;
  line-height: 1.22;
  text-align: left;
}
html.pk .pk-faq .faq-q .ic { right: 2px; }
html.pk .pk-faq .faq-a p { font-size: 14px; line-height: 1.5; padding: 0 0 10px; margin: 0; }
/* Grouped by topic: one tab per topic, swipe or tap between them */
html.pk .pk-faq-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
html.pk .pk-faq-tab {
  flex: 1 1 auto;
  white-space: nowrap;
  min-height: calc(44px / var(--pk-zoom, 1));
  padding: 4px 5px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}
html.pk .pk-faq-tab[aria-selected="true"] { background: var(--accent, var(--magenta)); border-color: transparent; color: #fff; }
html.pk .pk-faq-pager {
  display: flex;
  gap: 16px;
  position: relative;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
html.pk .pk-faq-pager::-webkit-scrollbar { display: none; }
html.pk .pk-faq-page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
