/* Shared type, color and control treatments for The City. */
@font-face {
  font-family: THArabic;
  src: url('/assets/NotoSansArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root, html.platform-embed {
  --ink: #431b01;
  --gold: #d6a55a;
  --cream: #f0e4d1;
  --paper: #faf4e9;
  --line: #d6a55a55;
  --cut: 10px 3px 10px 3px;
  --body-type: Lato, THArabic, sans-serif;
  --title-type: Lava, THArabic, serif;
}
html[lang=ar] {
  --body-type: THArabic, Lato, sans-serif;
  --title-type: THArabic, Lato, sans-serif;
}
body { font-family: var(--body-type); }
.room-heading {
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 72px);
  text-align: center;
}
.room-heading > p, .room-heading > p:last-child, .room-heading h1 {
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.room-heading > .product-line { max-inline-size: 770px; }
.room-heading h1, .section-heading h2, .district-copy h3,
.illustrated-profile h2, .kit-caption h3, .request-receipt h3,
.mission-pass h3, .mission-preview h2, .builder-main h2 {
  font-family: var(--title-type);
  text-wrap: balance;
}
html[lang=ar] :is(.marker-label,.district-tooltip,.pass-stats,.mission-pass h3,
.profile-flyer figcaption,.illustrated-profile > div > p,.brief-seal,.dock-copy h2) {
  font-family: var(--body-type);
  letter-spacing: normal;
}
html[lang=ar] .brand { text-align: left; }
.section-heading > *, .district-copy, .builder-main, .field, .choice, .dock-copy { min-inline-size: 0; }
.section-heading > p, .district-copy, .detail-body, .builder-main, .field, .choice,
.kit-caption, .mission-pass, .request-receipt { text-align: start; }
.district-example { border-left: 0; border-inline-start: 2px solid var(--gold); padding: 0; padding-inline-start: 16px; }
.button, header .button, .proposal-nav button, .language-switch, .touchpoint-tabs button,
.choice, .field :is(input,textarea,select) { border-radius: var(--cut); }
.button, header .button {
  font-family: var(--body-type);
  font-weight: 700;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 #431b0130;
}
.button:hover:not(:disabled), .button:focus-visible:not(:disabled) {
  background: #e9c484;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 #431b0130;
}
.language-switch { border-color: var(--gold); color: var(--cream); min-height: 40px; }
.proposal-nav button, .touchpoint-tabs button { font-family: var(--body-type); font-weight: 700; }
.proposal-nav button:hover, .proposal-nav button:focus-visible { background: var(--gold); color: var(--ink); }
.touchpoint-tabs button[aria-pressed=true] { background: var(--ink); color: var(--cream); border-color: var(--gold); }
.mission-dock, .request-receipt, .mission-pass { border-color: var(--line); border-radius: var(--cut); }
.request-receipt .reference strong { direction: ltr; unicode-bidi: isolate; }
html[lang=ar] .district-pin { direction: rtl; }
html[lang=ar] .map-return { float: left; }
@media (max-width:760px) {
  html[lang=ar] .profile-flyer { float: none; width: 100%; margin-inline: auto; }
  .section-heading { gap: 12px; }
  .dock-copy h2 { overflow-wrap: anywhere; }
  .touchpoint-tabs button { padding-inline: 4px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion:reduce) {
  .button:hover:not(:disabled), .button:focus-visible:not(:disabled) { transform: none; }
}
