/* Pages added with the 12/2026 handoff design: /partners, /buddies, /buddies/:id. */
.p-hero {
  background: var(--ww-teal);
  color: var(--ww-ivory);
  padding: clamp(36px, 6vw, 80px) 0;
}
.p-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
}
.p-hero-row > div {
  flex: 1 1 420px;
  max-width: 640px;
}
.p-hero-row > img {
  flex: 0 1 260px;
  max-width: 260px;
}
.p-on-teal {
  color: var(--ww-peach);
}
.p-hero h1 {
  font-family: var(--ww-display);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ww-ivory);
  margin: 12px 0 0;
}
.p-hero p {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ww-on-teal);
  margin: 16px 0 0;
  max-width: 34em;
}
.p-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.p-body {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.p-how {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}
.p-how li {
  background: var(--ww-white);
  border: 1px solid var(--ww-line);
  border-radius: 20px;
  padding: 20px;
}
.p-how li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ww-orange);
  color: var(--ww-ink);
  font-family: var(--ww-display);
  font-weight: 800;
}
.p-how b {
  display: block;
  font-family: var(--ww-display);
  font-size: 20px;
  margin-top: 12px;
}
.p-how p {
  margin: 6px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ww-muted);
}
.p-apply {
  margin-top: clamp(32px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.p-apply > div:first-child {
  flex: 1 1 380px;
  max-width: 600px;
}
.p-apply p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ww-muted);
}
.p-apply .p-cta {
  margin-top: 0;
}

/* Travel Buddies */
.b-main {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 88px);
  min-height: 60vh;
}
.b-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.b-intro > div {
  flex: 1 1 380px;
  max-width: 640px;
}
.b-intro .ww-lede {
  margin-top: 12px;
}
.b-intro img {
  flex: 0 1 180px;
  max-width: 180px;
}
.b-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 18px;
}
.b-list > .ww-state,
.b-list > .ww-loading {
  grid-column: 1 / -1;
}
.b-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 20px;
  border-radius: 20px;
  background: var(--ww-white);
  border: 1px solid var(--ww-line);
  color: var(--ww-ink);
  text-decoration: none;
}
.b-tile:hover {
  border-color: var(--ww-teal);
}
.b-tile b {
  font-family: var(--ww-display);
  font-size: 20px;
  line-height: 1.2;
}
.b-tile small {
  font-size: 14.5px;
  color: var(--ww-muted);
}
.b-tile-new {
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  border-width: 2px;
  border-color: var(--ww-field-line);
  background: transparent;
  color: var(--ww-teal);
  font-weight: 700;
}
.b-faces {
  display: flex;
  margin-top: auto;
  padding-top: 8px;
}
.b-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--ww-white);
  margin-right: -8px;
  background: var(--ww-teal-mist);
  color: var(--ww-teal);
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
}
.b-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-invite {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 22px;
}
.b-invite[hidden] {
  display: none;
}
.b-invite h2,
.b-soon h2 {
  margin: 0;
  font-family: var(--ww-display);
  font-size: 22px;
  letter-spacing: -0.015em;
}
.b-invite p,
.b-soon p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ww-muted);
  max-width: 44em;
}
.b-invite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.b-invite-row .ww-input {
  flex: 1 1 260px;
  width: auto;
}
.b-soon {
  margin-top: 20px;
  padding: 24px;
}
.b-soon h2 {
  margin-top: 12px;
}
.b-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--ww-teal);
  text-underline-offset: 4px;
}
.b-back::before {
  content: '\2190';
  margin-right: 8px;
}
.b-trip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}
.b-trip-grid h1 {
  margin: 0;
}
.b-dates {
  margin: 6px 0 18px;
  font-size: 16px;
  color: var(--ww-muted);
}
.b-chat {
  padding: 0;
  overflow: hidden;
}
.b-chat h2,
.b-side h2 {
  margin: 0;
  font-family: var(--ww-display);
  font-size: 19px;
}
.b-chat h2 {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ww-line);
}
.b-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  min-height: 220px;
  max-height: 52vh;
  overflow-y: auto;
}
.b-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 85%;
}
.b-msg > div {
  background: var(--ww-sand);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.b-msg strong {
  display: block;
  font-size: 13.5px;
  color: var(--ww-muted);
}
.b-msg.kaya > div {
  background: var(--ww-teal-mist);
}
.b-msg.mine {
  align-self: flex-end;
}
.b-msg.mine > div {
  background: var(--ww-teal);
  color: var(--ww-ivory);
  border-radius: 16px 16px 4px 16px;
}
.b-send {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--ww-line);
}
.b-send .ww-input {
  flex: 1;
  width: auto;
}
.b-side {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.b-members {
  list-style: none;
  margin: 0;
  padding: 0;
}
.b-members li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ww-line-soft);
  font-size: 15.5px;
}
.b-members .b-face {
  margin: 0;
  border: 0;
  flex: 0 0 auto;
}
.b-members span:nth-child(2) {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}
.b-side p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ww-muted);
}
.b-add {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.b-leave {
  align-self: flex-start;
}
@media (max-width: 860px) {
  .b-trip-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .b-intro img,
  .p-hero-row > img {
    max-width: 140px;
  }
}
