/*
 * Mobile-first user app, V2.1.
 * Load after app.css. Every rule is scoped to body.mobile-first so the
 * photography gallery and icon catalogue retain their independent layouts.
 */

html:has(body.mobile-first) {
  background: #090a0c;
  scroll-padding-top: 78px;
}

body.mobile-first {
  --page: 560px;
  --app-gutter: 18px;
  --app-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  --surface: #191c20;
  --raised: #24282e;
  --line: #353b43;
  --radius: 12px;
  width: 100%;
  max-width: var(--page);
  min-height: 100dvh;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.65;
  box-shadow: 0 0 0 1px #272c32, 0 20px 100px #0008;
}

body.mobile-first #app,
body.mobile-first #main,
body.mobile-first .container,
body.mobile-first article,
body.mobile-first section,
body.mobile-first .button-row > *,
body.mobile-first .detail-layout > *,
body.mobile-first .me-layout > * {
  min-width: 0;
}

body.mobile-first #main {
  min-height: 60dvh;
  outline: none;
}

body.mobile-first .container {
  width: 100%;
  max-width: none;
  padding-right: var(--app-gutter);
  padding-left: var(--app-gutter);
}

body.mobile-first :is(h1, h2, h3, h4, p, dd) {
  overflow-wrap: anywhere;
}

body.mobile-first input,
body.mobile-first textarea,
body.mobile-first select {
  min-height: 48px;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.5;
}

body.mobile-first .btn {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 8px;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

body.mobile-first .btn.small {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
}

body.mobile-first .button-row {
  gap: 10px;
}

body.mobile-first .badge {
  max-width: 100%;
  padding: 3px 7px;
  line-height: 1.5;
  border-radius: 4px;
}

body.mobile-first .text-link {
  min-height: 44px;
  font-size: 12px;
  gap: 5px;
}

/* One compact header and one thumb-accessible navigation bar at every width. */
body.mobile-first .site-header {
  height: 62px;
  background: #111315f5;
  border-bottom-color: #30353c;
  backdrop-filter: blur(16px);
}

body.mobile-first .header-inner {
  padding: 0 var(--app-gutter);
  gap: 8px;
  max-width: none;
}

body.mobile-first .brand {
  gap: 8px;
}

body.mobile-first .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

body.mobile-first .brand-title {
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.4;
}

body.mobile-first .brand-sub {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 1.1px;
}

body.mobile-first .desktop-nav,
body.mobile-first .header-actions .avatar {
  display: none;
}

body.mobile-first .header-actions {
  margin-left: auto;
  gap: 0;
}

body.mobile-first .icon-button {
  width: 44px;
  height: 44px;
}

body.mobile-first .header-actions .city-label {
  display: flex;
  font-size: 11px;
  gap: 3px;
  margin-right: 3px;
  white-space: nowrap;
}

body.mobile-first .mobile-nav {
  position: fixed;
  z-index: 60;
  inset: auto auto 0 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--page));
  height: var(--app-bottom);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #3d434d;
  background: #14171bf5;
  box-shadow: 0 -8px 28px #0003;
  backdrop-filter: blur(18px);
}

body.mobile-first .mobile-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  gap: 4px;
  color: #9ea5af;
  font-size: 10px;
  line-height: 1.4;
}

body.mobile-first .mobile-nav a svg {
  width: 21px;
  height: 21px;
}

body.mobile-first .mobile-nav a[aria-current] {
  color: #fff;
}

body.mobile-first .mobile-nav a[aria-current]::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}

/* Home is a usable business hub. The featured roadshow occupies the first fold. */
body.mobile-first .home-hub {
  padding-top: 0;
}

body.mobile-first .club-welcome {
  position: relative;
  padding: 21px 0 15px;
  border-bottom: 1px solid #30363d;
}

body.mobile-first .club-welcome :is(.kicker, .eyebrow) {
  color: #c9bda7;
  font-size: 9px;
  letter-spacing: 1.7px;
  line-height: 1.5;
}

body.mobile-first .club-welcome h1 {
  margin: 6px 0 5px;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -.5px;
  font-weight: 550;
}

body.mobile-first .club-welcome p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

body.mobile-first .home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 15px 0 16px;
}

body.mobile-first .home-shortcuts > a,
body.mobile-first .home-shortcuts > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 56px;
  color: #dce0e5;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

body.mobile-first .home-shortcuts svg {
  width: 23px;
  height: 23px;
  color: #d0d3d9;
}

body.mobile-first .home-shortcuts :is(a, button):first-child svg {
  color: #ff7284;
}

body.mobile-first .home-section,
body.mobile-first .section-roadshows {
  padding: 27px 0 0;
}

body.mobile-first .section-roadshows {
  padding-top: 5px;
}

body.mobile-first .home-section-head,
body.mobile-first .section-roadshows > .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

body.mobile-first .home-section-head h2,
body.mobile-first .section-roadshows > .section-heading h2 {
  margin: 3px 0 0;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.3px;
  font-weight: 550;
}

body.mobile-first .home-section-head p,
body.mobile-first .section-roadshows > .section-heading p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

body.mobile-first .home-section-head :is(.eyebrow, .kicker),
body.mobile-first .section-roadshows > .section-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  line-height: 1.5;
  color: #c3b7a2;
}

body.mobile-first .home-section-head > :is(a, button) {
  flex-shrink: 0;
}

body.mobile-first .roadshow-feature {
  overflow: hidden;
  border: 1px solid #635446;
  border-radius: 12px;
  background: linear-gradient(135deg, #232326, #1a1d21 65%);
  box-shadow: 0 8px 24px #0002;
}

body.mobile-first .rs-feature-media {
  display: block;
  position: relative;
  height: 112px;
  overflow: hidden;
  background: #292c30;
}

body.mobile-first .rs-feature-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

body.mobile-first .rs-feature-media::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #11131555);
  pointer-events: none;
}

body.mobile-first .rs-feature-media .sample-label {
  z-index: 1;
  right: 8px;
  bottom: 7px;
  padding: 2px 6px;
  font-size: 9px;
}

body.mobile-first .rs-feature-media > .rs-media-label,
body.mobile-first .rs-feature-media > .label,
body.mobile-first .rs-feature-media > .badge {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 12px;
  padding: 3px 7px;
  border: 1px solid #b7a07a88;
  border-radius: 4px;
  background: #111315da;
  color: #eadbc2;
  font-size: 10px;
  line-height: 1.5;
}

body.mobile-first .rs-feature-content {
  padding: 14px 15px 15px;
}

body.mobile-first .rs-overline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #c4b8a3;
  font-size: 10px;
  letter-spacing: .3px;
  line-height: 1.6;
}

body.mobile-first .rs-title {
  margin: 7px 0 6px;
  color: #f4f3ef;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.35px;
}

body.mobile-first .rs-title a {
  display: block;
}

body.mobile-first .rs-summary {
  color: #bfc4cc;
  font-size: 12px;
  line-height: 1.75;
}

body.mobile-first .rs-tags,
body.mobile-first .rs-resource-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}

body.mobile-first .rs-tags > :is(span, a),
body.mobile-first .rs-resource-list > :is(span, a) {
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid #4b4c4c;
  border-radius: 4px;
  color: #d3cdc1;
  background: #bda87f0a;
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.mobile-first .rs-need {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 10px;
  border-left: 2px solid #c7af85;
  border-radius: 0 5px 5px 0;
  color: #dedbd5;
  background: #bda87f0d;
  font-size: 12px;
  line-height: 1.65;
}

body.mobile-first .rs-need > :is(strong, b) {
  flex-shrink: 0;
  font-weight: 550;
  color: #d6c19d;
}

body.mobile-first .rs-speaker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: #b1b7c0;
  font-size: 11px;
  line-height: 1.6;
}

body.mobile-first .rs-speaker .avatar {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 2px;
  font-size: 10px;
}

body.mobile-first .rs-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-top: 9px;
  color: #c3bba9;
  font-size: 11px;
  line-height: 1.6;
}

body.mobile-first .rs-slot svg {
  width: 13px;
  height: 13px;
  margin-right: 3px;
}

body.mobile-first .rs-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 9px;
  margin-top: 13px;
}

body.mobile-first .rs-actions > :is(a, button) {
  min-width: 0;
  min-height: 46px;
  padding: 10px 9px;
  font-size: 13px;
}

body.mobile-first .rs-actions > :only-child {
  grid-column: 1 / -1;
}

body.mobile-first .home-project-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

body.mobile-first .rs-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #191c20;
}

body.mobile-first .rs-compact > img,
body.mobile-first .rs-compact > .image-wrap {
  flex: 0 0 64px;
  width: 64px;
  height: 72px;
  overflow: hidden;
  border-radius: 5px;
}

body.mobile-first .rs-compact > .image-wrap img {
  height: 100%;
}

body.mobile-first .rs-compact-body {
  flex: 1;
  min-width: 0;
}

body.mobile-first .rs-compact-title {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 550;
}

body.mobile-first .rs-compact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: #aeb5bf;
  font-size: 11px;
  line-height: 1.6;
}

body.mobile-first .rs-compact-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  gap: 4px;
  font-size: 12px;
  color: #d8c4a4;
}

body.mobile-first .home-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.mobile-first .home-service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
  min-height: 98px;
  position: relative;
  overflow: hidden;
  padding: 12px 10px;
  border: 1px solid #464951;
  border-radius: 9px;
  background: var(--surface);
  isolation: isolate;
}

body.mobile-first .home-service-item img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .72;
}

body.mobile-first .home-service-item::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #090b0e15, #090b0ee6);
}

body.mobile-first .home-service-item svg {
  width: 21px;
  height: 21px;
  margin-bottom: 8px;
}

body.mobile-first .home-service-item :is(strong, h3) {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
}

body.mobile-first .home-service-item :is(small, p) {
  margin-top: 3px;
  color: #d3d4d5;
  font-size: 10px;
  line-height: 1.5;
}

body.mobile-first .home-event-list {
  display: grid;
  gap: 10px;
}

body.mobile-first .home-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

body.mobile-first .home-event-row > img,
body.mobile-first .home-event-row > .image-wrap {
  flex: 0 0 90px;
  width: 90px;
  height: 84px;
  overflow: hidden;
  border-radius: 6px;
}

body.mobile-first .home-event-row .image-wrap img {
  width: 100%;
  height: 100%;
}

body.mobile-first .home-event-row > :not(img):not(.image-wrap):not(svg) {
  flex: 1;
  min-width: 0;
}

body.mobile-first .home-event-row > svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

body.mobile-first .home-event-row h3 {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}

body.mobile-first .home-event-row p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

body.mobile-first .home-event-row .list-meta {
  gap: 5px 9px;
  margin-top: 6px;
  font-size: 10px;
}

/* Shared lists, detail pages and personal pages remain single-column. */
body.mobile-first .page-intro {
  padding-top: 22px;
  padding-bottom: 21px;
}

body.mobile-first .page-intro h1 {
  margin: 7px 0 9px;
  font-size: 27px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -.6px;
}

body.mobile-first .page-intro p {
  font-size: 13px;
  line-height: 1.8;
}

body.mobile-first .eyebrow {
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 1.3px;
}

body.mobile-first .section {
  padding-top: 30px;
  padding-bottom: 0;
}

body.mobile-first .section-heading {
  gap: 10px;
  margin-bottom: 15px;
}

body.mobile-first .section-heading h2 {
  font-size: 22px;
  line-height: 1.45;
  margin-top: 4px;
}

body.mobile-first .section-heading p {
  margin-top: 6px;
  font-size: 12px;
}

body.mobile-first :is(
  .feature-grid, .photo-grid, .member-grid, .al-grid, .deal-grid,
  .detail-layout, .me-layout, .editorial-banner, .alliance-intro,
  .al-detail-body, .project-catalog
) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

body.mobile-first .member-card:last-child {
  display: flex;
}

body.mobile-first .photo-card,
body.mobile-first .al-card {
  border-radius: 11px;
}

body.mobile-first .photo-card img,
body.mobile-first .al-card-image {
  height: auto;
  aspect-ratio: 1.9;
}

body.mobile-first .photo-card-body,
body.mobile-first .al-card-body {
  padding: 17px;
}

body.mobile-first .photo-card-body h3,
body.mobile-first .al-card-title {
  font-size: 19px;
  margin: 9px 0;
  line-height: 1.5;
}

body.mobile-first .photo-card-body p {
  font-size: 12px;
}

body.mobile-first .al-card-actions {
  margin-top: 17px;
  flex-direction: row;
  gap: 9px;
}

body.mobile-first .al-card-actions :is(a, button) {
  flex: 1;
  width: auto;
  min-height: 46px;
  padding: 10px;
  border-radius: 7px;
}

body.mobile-first .member-card {
  padding: 19px 0;
  gap: 12px;
}

body.mobile-first .member-card h3 {
  font-size: 17px;
}

body.mobile-first .member-card p {
  font-size: 12px;
}

body.mobile-first .member-card .avatar {
  width: 44px;
  height: 44px;
}

body.mobile-first .deal-card {
  padding: 17px;
  border-radius: 11px;
}

body.mobile-first .deal-card h2 {
  margin: 10px 0 11px;
  font-size: 20px;
  line-height: 1.5;
}

body.mobile-first .deal-card p {
  font-size: 13px;
  line-height: 1.8;
}

body.mobile-first .deal-card .deal-foot {
  margin-top: 18px;
  padding-top: 14px;
  gap: 10px;
}

body.mobile-first .amount {
  font-size: 24px;
  line-height: 1.5;
}

body.mobile-first .amount small {
  margin-top: 3px;
  font-size: 10px;
}

body.mobile-first .filters {
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 0 20px;
}

body.mobile-first .filter-tabs,
body.mobile-first .business-tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 7px;
}

body.mobile-first .business-tabs {
  margin-bottom: 14px;
}

body.mobile-first .chip {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 12px;
}

body.mobile-first .filter-search {
  width: 100%;
  margin-left: 0;
}

body.mobile-first .filters select {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  font-size: 14px;
}

body.mobile-first .detail-layout {
  align-items: start;
  gap: 18px;
}

body.mobile-first .detail-layout > .detail-panel {
  order: -1;
}

body.mobile-first .detail-panel {
  position: static;
  padding: 18px;
  border-radius: 11px;
  background: linear-gradient(135deg, #23252a, #191c20);
}

body.mobile-first .detail-panel h3 {
  margin: 8px 0 12px;
  font-size: 21px;
  line-height: 1.5;
}

body.mobile-first .detail-hero {
  margin-bottom: 20px;
  border-radius: 10px;
}

body.mobile-first .detail-hero > img {
  height: auto;
  aspect-ratio: 1.8;
}

body.mobile-first .rs-inline-cover {
  display: block;
  position: relative;
  overflow: hidden;
  height: 146px;
  margin-bottom: 18px;
  border-radius: 10px;
}

body.mobile-first .rs-inline-cover > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-position: center 52%;
}

body.mobile-first .rs-detail-summary {
  margin-top: 10px;
  color: #c7cbd2;
  font-size: 13px;
  line-height: 1.8;
}

body.mobile-first .rs-detail-cta {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

body.mobile-first .rs-detail-cta .btn {
  width: 100%;
  min-height: 48px;
}

body.mobile-first .detail-section {
  padding: 23px 0;
}

body.mobile-first .detail-section h2,
body.mobile-first .al-detail-section h3 {
  margin-bottom: 13px;
  font-size: 19px;
  line-height: 1.5;
}

body.mobile-first .detail-section p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.9;
}

body.mobile-first .facts {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 15px 0;
  font-size: 12px;
  line-height: 1.8;
}

body.mobile-first .timeline li {
  gap: 14px;
  padding: 13px 0;
  font-size: 13px;
  line-height: 1.8;
}

body.mobile-first .profile-lead {
  gap: 13px;
  margin-bottom: 18px;
}

body.mobile-first .profile-lead .avatar {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  font-size: 21px;
}

body.mobile-first .profile-lead h1 {
  font-size: 26px;
}

body.mobile-first .profile-lead p {
  font-size: 12px;
}

body.mobile-first .al-detail-visual {
  margin-bottom: 20px;
}

body.mobile-first .al-detail-image {
  height: auto;
  aspect-ratio: 1.8;
}

body.mobile-first .al-detail-title {
  font-size: 25px;
  line-height: 1.5;
  margin: 8px 0 10px;
}

body.mobile-first .al-detail-description {
  font-size: 13px;
}

body.mobile-first .al-detail-facts {
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 15px;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
}

body.mobile-first .al-detail-facts > div {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

body.mobile-first .al-detail-facts dd {
  overflow-wrap: anywhere;
}

body.mobile-first .al-detail-section {
  padding: 20px 0;
}

body.mobile-first .al-disclosure {
  margin-bottom: 15px;
  padding: 11px 13px;
  font-size: 12px;
}

body.mobile-first .al-detail-book {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border-radius: 8px;
}

body.mobile-first .al-menu-title {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 12px;
}

body.mobile-first .vehicle-card img {
  height: auto;
  aspect-ratio: 1.8;
}

body.mobile-first .vehicle-body {
  padding: 19px;
}

body.mobile-first .vehicle-body h2 {
  font-size: 24px;
}

body.mobile-first .vehicle-body .btn {
  width: 100%;
}

body.mobile-first .keycard {
  padding: 23px;
}

body.mobile-first .keycard h2 {
  margin-top: 23px;
  font-size: 29px;
}

body.mobile-first .my-services {
  margin-top: 15px;
}

body.mobile-first .my-services a {
  padding: 15px 0;
  min-height: 54px;
  font-size: 13px;
  gap: 11px;
}

body.mobile-first .record-item {
  padding: 18px 0;
}

body.mobile-first .record-item h3 {
  font-size: 16px;
}

body.mobile-first .record-item p {
  font-size: 12px;
  overflow-wrap: anywhere;
}

body.mobile-first .editorial-banner .image-wrap,
body.mobile-first .alliance-intro .image-wrap {
  min-height: 180px;
}

body.mobile-first .editorial-copy {
  padding: 20px;
}

body.mobile-first .editorial-copy h2,
body.mobile-first .alliance-intro h2 {
  font-size: 24px;
}

body.mobile-first .editorial-copy p,
body.mobile-first .alliance-intro p {
  font-size: 13px;
}

body.mobile-first .alliance-intro-copy {
  padding: 20px 0;
}

/* Keep disclosure available without repeating a large desktop footer. */
body.mobile-first .site-footer {
  margin-top: 28px;
  padding: 20px 0 calc(var(--app-bottom) + 24px);
  border-top-color: #30353c;
}

body.mobile-first .footer-top {
  display: block;
  margin-bottom: 12px;
}

body.mobile-first .footer-top > .brand,
body.mobile-first .footer-links a[href="gallery.html"],
body.mobile-first .footer-links a[href="icons.html"] {
  display: none;
}

body.mobile-first .footer-links {
  display: flex;
  justify-content: flex-start;
  gap: 5px 18px;
}

body.mobile-first .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}

body.mobile-first .footer-disclosure {
  font-size: 10px;
  line-height: 1.9;
  color: #939ca8;
}

body.mobile-first .content-note,
body.mobile-first .notice-banner {
  font-size: 11px;
  line-height: 1.8;
}

/* Bottom sheets follow the app frame and keep form actions in view. */
body.mobile-first .modal-mask {
  align-items: flex-end;
  padding: 0;
}

body.mobile-first .modal {
  width: min(100%, var(--page));
  max-width: var(--page);
  max-height: min(92dvh, 860px);
  padding: 20px var(--app-gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

body.mobile-first .modal-head {
  gap: 12px;
  margin-bottom: 10px;
}

body.mobile-first .modal-head h2 {
  font-size: 20px;
  line-height: 1.5;
}

body.mobile-first .modal-head .icon-button {
  flex: 0 0 44px;
}

body.mobile-first .modal label {
  margin-top: 17px;
  font-size: 13px;
}

body.mobile-first .modal .form-note {
  margin: 11px 0 15px;
  font-size: 11px;
  line-height: 1.8;
}

body.mobile-first .modal .button-row {
  position: sticky;
  z-index: 1;
  bottom: calc(-18px - env(safe-area-inset-bottom, 0px));
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  padding-bottom: 3px;
  background: var(--surface);
  box-shadow: 0 -10px 15px var(--surface);
}

body.mobile-first .modal .button-row .btn {
  min-width: 0;
  min-height: 48px;
}

body.mobile-first #notice {
  bottom: calc(var(--app-bottom) + 14px);
  width: max-content;
  max-width: min(calc(100% - 32px), 500px);
  padding: 11px 15px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Small phones: preserve useful text and button size before reducing whitespace. */
@media (max-width: 374px) {
  body.mobile-first {
    --app-gutter: 15px;
  }

  body.mobile-first .header-actions .city-label {
    display: none;
  }

  body.mobile-first .club-welcome {
    padding-top: 17px;
    padding-bottom: 13px;
  }

  body.mobile-first .club-welcome h1 {
    font-size: 23px;
  }

  body.mobile-first .club-welcome p {
    font-size: 11px;
  }

  body.mobile-first .home-shortcuts {
    padding-top: 12px;
    padding-bottom: 13px;
  }

  body.mobile-first .rs-feature-media {
    height: 100px;
  }

  body.mobile-first .rs-feature-content {
    padding: 12px;
  }

  body.mobile-first .rs-title {
    font-size: 19px;
  }

  body.mobile-first .rs-need {
    display: block;
    padding: 8px;
  }

  body.mobile-first .rs-need > :is(strong, b) {
    margin-right: 5px;
  }

  body.mobile-first .rs-compact {
    padding: 12px;
    gap: 9px;
  }

  body.mobile-first .rs-compact > img,
  body.mobile-first .rs-compact > .image-wrap {
    flex-basis: 55px;
    width: 55px;
  }

  body.mobile-first .rs-compact-title {
    font-size: 14px;
  }

  body.mobile-first .home-service-item {
    padding: 10px 8px;
  }

  body.mobile-first .home-service-item :is(strong, h3) {
    font-size: 11px;
  }

  body.mobile-first .home-event-row {
    gap: 10px;
    padding: 10px;
  }

  body.mobile-first .home-event-row > img,
  body.mobile-first .home-event-row > .image-wrap {
    flex-basis: 76px;
    width: 76px;
  }

  body.mobile-first .page-intro h1 {
    font-size: 24px;
  }

  body.mobile-first .detail-panel {
    padding: 15px;
  }
}

body.mobile-first .roadshow-column-intro {
  margin-top: 28px;
  padding: 23px 0 12px;
}

body.mobile-first .roadshow-column-intro h2 {
  margin: 10px 0 18px;
  font-size: 20px;
  line-height: 1.55;
}

body.mobile-first .roadshow-intro-steps {
  display: grid;
}

body.mobile-first .roadshow-intro-steps > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

body.mobile-first .roadshow-intro-steps h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.8;
  color: var(--text);
}

body.mobile-first .roadshow-intro-steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

body.mobile-first .rs-project-empty h3 {
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.5;
}

body.mobile-first .rs-project-empty p {
  font-size: 13px;
  line-height: 1.8;
}

/* The user experience stays app-sized on tablets and desktop. */
@media (min-width: 480px) {
  body.mobile-first {
    --app-gutter: 23px;
  }

  body.mobile-first .club-welcome {
    padding-top: 24px;
  }

  body.mobile-first .club-welcome h1 {
    font-size: 28px;
  }

  body.mobile-first .rs-feature-media {
    height: 128px;
  }

  body.mobile-first .rs-feature-content {
    padding: 17px 18px 18px;
  }

  body.mobile-first .rs-inline-cover {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.mobile-first) {
    scroll-behavior: auto;
  }

  body.mobile-first *,
  body.mobile-first *::before,
  body.mobile-first *::after {
    transition: none !important;
    animation: none !important;
  }
}
