/* Urban Obstacles child theme: site styles.
   Built from the approved "Street Survey" design (design/styles.css), plus WordPress additions at the end. */

@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Urban Obstacles: Street Survey design system
   Build contract: one class per rule, allowed properties only, two breakpoints at the end. */

:root {
  --color-ink: #131217;
  --color-panel: #1B1A20;
  --color-rule: #2C2B32;
  --color-bone: #E9E5DB;
  --color-ash: #8E8C94;
  --color-amber: #E8A33D;
  --font-heading: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--color-ink);
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 28px;
  background-color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
}

.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 0;
}

.header-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
}

.nav-item {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--color-amber); }

.nav-link-muted {
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-link-muted:hover { color: var(--color-bone); }

.logo-text {
  margin: 0;
  color: var(--color-bone);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
}

.logo-img {
  display: block;
  width: auto;
  height: 40px;
}

.logo-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo-link {
  color: var(--color-bone);
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.header-cta:hover { color: var(--color-amber); }

/* ---------- Shared section frame ---------- */

.band {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 72px 120px 80px 120px;
  background-color: var(--color-ink);
}

.band-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  column-gap: 72px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.band-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 0;
}

.band-side-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0;
}

.edge-mark {
  position: absolute;
  top: 76px;
  left: 18px;
  width: 6px;
  height: 22px;
  padding: 0;
  background-color: var(--color-rule);
}

.edge-mark-right {
  position: absolute;
  right: 18px;
  bottom: 84px;
  width: 10px;
  height: 10px;
  padding: 0;
  background-color: var(--color-rule);
}

.band-title {
  margin: 0;
  color: var(--color-bone);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.arrow-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}

.arrow-item {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}

.arrow-link {
  color: var(--color-ash);
  text-decoration: none;
  transition: color 0.2s ease;
}
.arrow-link:hover { color: var(--color-bone); }

.btn-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 12px;
  background-color: var(--color-panel);
  border: 1px solid var(--color-rule);
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-tag:hover {
  background-color: var(--color-bone);
  color: var(--color-ink);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 10px 14px;
  background-color: var(--color-bone);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.btn-solid:hover { background-color: var(--color-amber); }

/* ---------- Rows (right column) ---------- */

.rows {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 30px 0;
  border-bottom: 1px solid var(--color-rule);
}

.row-last {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 0 0;
}

.row-head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 16px;
  padding: 0;
}

.row-code {
  margin: 0;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.row-title {
  margin: 0;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.row-title-link {
  color: var(--color-bone);
  text-decoration: none;
  transition: color 0.2s ease;
}
.row-title-link:hover { color: var(--color-amber); }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  padding: 0;
}

.pair-text {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
}

.pair-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.pair-link {
  color: var(--color-ash);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.pair-link:hover { color: var(--color-bone); }

/* ---------- Intro block ---------- */

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 120px 64px 120px;
  background-color: var(--color-ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: 4fr 1fr 6fr;
  column-gap: 32px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.intro-title {
  margin: 0;
  color: var(--color-bone);
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 600;
  line-height: 0.96;
  text-transform: uppercase;
}

.intro-rule {
  width: 100%;
  height: 1px;
  padding: 0;
  background-color: var(--color-ash);
  opacity: 0.5;
}

.intro-text {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Full-bleed photos with survey ticks ---------- */

.shot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  background-color: var(--color-panel);
}

.shot-hero { height: 620px; }
.shot-tall { height: 560px; }
.shot-mid { height: 420px; }
.shot-thin { height: 200px; }





/* ---------- Photos ---------- */

.shot-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.shot-img-low {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.side-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ticks {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 14px 12px 14px;
}

.tick-group {
  display: flex;
  flex-direction: row;
  gap: 9px;
  padding: 0;
}

.tick {
  width: 1px;
  height: 8px;
  padding: 0;
  background-color: rgba(233, 229, 219, 0.75);
}

.tick-long {
  width: 1px;
  height: 14px;
  padding: 0;
  background-color: var(--color-bone);
}

/* ---------- Ledger (latest guides) ---------- */

.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  padding: 0;
}

.ledger-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0 18px 0;
  border-bottom: 1px solid var(--color-rule);
}

.ledger-tag {
  margin: 0;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-title {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ledger-link {
  color: var(--color-ash);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ledger-link:hover { color: var(--color-bone); }

/* ---------- Standards (closing) ---------- */

.standards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-content: start;
  padding: 0;
}

.standard-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 36px 0;
  margin: 0 0 36px 0;
  border-bottom: 1px solid var(--color-rule);
}

.report-actions {
  display: flex;
  flex-direction: row;
  margin: 10px 0 0 0;
  padding: 0;
}

/* ---------- Side photos (fill the left column) ---------- */

.side-shot {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  margin: 8px 0 0 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-panel);
}

.side-shot-tall {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 2 / 3;
  margin: 8px 0 0 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-panel);
}

.side-shot-wide {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  margin: 8px 0 0 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-panel);
}



.ticks-small {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 10px 10px 10px;
}

/* ---------- Inner pages: breadcrumbs, filters ---------- */

.crumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px 0;
  padding: 0;
}

.crumb {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crumb-link {
  color: var(--color-ash);
  text-decoration: none;
  transition: color 0.2s ease;
}
.crumb-link:hover { color: var(--color-bone); }

.intro-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.filter-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px 0;
  padding: 0;
}

.count-text {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Article ---------- */

.toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0;
}

.toc-label {
  margin: 0;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  padding: 0;
}

.article-lead {
  margin: 0 0 32px 0;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

.article-h2 {
  margin: 48px 0 16px 0;
  padding: 28px 0 0 0;
  border-top: 1px solid var(--color-rule);
  color: var(--color-bone);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.article-h3 {
  margin: 26px 0 10px 0;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-p {
  margin: 0 0 18px 0;
  color: #CFCBC2;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
}

.article-link {
  color: var(--color-bone);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.article-link:hover { color: var(--color-amber); }

.step-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-rule);
}

.step-num {
  margin: 0;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.step-text {
  margin: 0;
  color: #CFCBC2;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
}

.steps-wrap {
  display: flex;
  flex-direction: column;
  margin: 8px 0 20px 0;
  padding: 0;
  border-top: 1px solid var(--color-rule);
}

.note-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
  padding: 22px 24px;
  background-color: var(--color-panel);
  border: 1px solid var(--color-rule);
}

.note-label {
  margin: 0;
  color: var(--color-amber);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-text {
  margin: 0;
  color: #CFCBC2;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
}

.photo-caption {
  position: absolute;
  left: 28px;
  bottom: 34px;
  z-index: 3;
  margin: 0;
  padding: 4px 8px;
  background-color: rgba(19, 18, 23, 0.72);
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 72px 28px 26px 28px;
  background-color: var(--color-ink);
  border-top: 1px solid var(--color-rule);
}

.footer-note {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0;
}

.footer-copy {
  margin: 0;
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-center {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.footer-right {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.footer-link {
  color: var(--color-ash);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--color-bone); }

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .band { padding: 64px 56px 72px 56px; }
  .intro { padding: 48px 56px 56px 56px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-side { gap: 24px; margin: 0 0 32px 0; }
  .side-shot { max-width: 420px; aspect-ratio: 4 / 3; }
  .side-shot-tall { max-width: 420px; aspect-ratio: 4 / 3; }
  .side-shot-wide { max-width: 420px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-title { margin: 0 0 24px 0; }
  .intro-rule { width: 80px; margin: 0 0 20px 0; }
  .shot-hero { height: 480px; }
  .shot-tall { height: 420px; }
  .shot-mid { height: 320px; }
  .shot-thin { height: 160px; }
  .edge-mark { left: 14px; }
  .toc { position: relative; top: 0; }
  .article-h2 { font-size: 28px; }
}

/* ---------- Phone ---------- */

@media (max-width: 767px) {
  .site-header { grid-template-columns: auto 1fr; padding: 16px 20px; }
  .header-left { display: none; }
  .logo-text { text-align: left; font-size: 17px; }
  .logo-img { height: 32px; }
  .logo-wrap { justify-content: flex-start; }
  .band { padding: 52px 22px 56px 22px; }
  .intro { padding: 36px 22px 40px 22px; }
  .band-title { font-size: 32px; }
  .intro-title { font-size: 36px; }
  .pair { grid-template-columns: 1fr; gap: 10px; }
  .pair-col { margin: 10px 0 0 0; }
  .pair-text { font-size: 13px; }
  .ledger { grid-template-columns: 1fr; }
  .standards { grid-template-columns: 1fr; }
  .standard-col { margin: 0 0 28px 0; }
  .shot-hero { height: 360px; }
  .shot-tall { height: 300px; }
  .shot-mid { height: 240px; }
  .shot-thin { height: 120px; }
  .edge-mark { display: none; }
  .article-lead { font-size: 16px; }
  .article-h2 { font-size: 26px; margin: 40px 0 14px 0; }
  .article-p { font-size: 15px; }
  .step-line { grid-template-columns: 40px 1fr; }
  .photo-caption { left: 22px; }
  .side-shot { max-width: 100%; }
  .side-shot-tall { max-width: 100%; }
  .side-shot-wide { max-width: 100%; }
  .edge-mark-right { display: none; }
  .footer-bar { grid-template-columns: 1fr; gap: 10px; }
  .footer-center { text-align: left; }
  .footer-right { text-align: left; }
  .footer-note { text-align: left; margin: 0; }
}


/* =====================================================================
   WordPress additions
   ===================================================================== */

/* Undo Hello Elementor's 1140px content width and link colour on this theme's own templates. */
body.uo-site .site-header,
body.uo-site .site-footer,
body.uo-site .uo-main { max-width: none; width: auto; margin: 0; }
body.uo-site .uo-main { padding: 0; display: block; }
body.uo-site { background-color: var(--color-ink); }

/* Accessibility helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--color-bone); color: var(--color-ink); font-family: var(--font-body); font-size: 13px; }
body.uo-site a:focus-visible, body.uo-site button:focus-visible, body.uo-site input:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 3px; }

/* Header menu from WordPress (Appearance > Menus) */
.header-left .nav-menu { display: flex; flex-direction: row; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.header-left .nav-menu li { margin: 0; }
.header-left .nav-menu a { color: var(--color-ash); font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; transition: color 0.2s ease; }
.header-left .nav-menu a:hover,
.header-left .nav-menu .current-menu-item > a,
.header-left .nav-menu .current-menu-ancestor > a,
.header-left .nav-menu .nav-link { color: var(--color-bone); }
.logo-img { display: block; width: auto; height: 40px; }
.logo-wrap { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; }

/* Topic code above a topic page title */
.intro-code { color: var(--color-amber); }

/* Article body (content written in the WordPress editor) */
.article-body { color: #CFCBC2; font-family: var(--font-body); font-size: 15px; line-height: 1.85; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px 0; }
.article-body > p:first-of-type { color: var(--color-bone); font-size: 17px; line-height: 1.75; margin-bottom: 32px; }
.article-body h2 { margin: 48px 0 16px 0; padding: 28px 0 0 0; border-top: 1px solid var(--color-rule); color: var(--color-bone); font-family: var(--font-heading); font-size: 32px; font-weight: 600; line-height: 1; text-transform: uppercase; scroll-margin-top: 90px; }
.article-body h3 { margin: 26px 0 10px 0; color: var(--color-bone); font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.article-body a { color: var(--color-bone); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.article-body a:hover { color: var(--color-amber); }
.article-body strong { color: var(--color-bone); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 22px 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.article-body li { position: relative; margin: 0; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--color-rule); }
.article-body ul > li::before { content: "↳"; position: absolute; left: 4px; top: 12px; color: var(--color-amber); }
.article-body ol { counter-reset: uo-step; }
.article-body ol > li { counter-increment: uo-step; padding-left: 52px; }
.article-body ol > li::before { content: counter(uo-step, decimal-leading-zero); position: absolute; left: 0; top: 14px; color: var(--color-amber); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; }
.article-body blockquote, .article-body .uo-note { margin: 28px 0; padding: 22px 24px; background-color: var(--color-panel); border: 1px solid var(--color-rule); color: #CFCBC2; font-size: 14px; line-height: 1.75; }
.article-body .uo-note::before { content: "Please note"; display: block; margin: 0 0 8px 0; color: var(--color-amber); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.article-body em { font-style: italic; }
.article-body img { max-width: 100%; height: auto; }

/* Search form (404 page and search results) */
.search-form { display: flex; gap: 8px; margin: 8px 0 0 0; }
.search-form label { flex: 1; margin: 0; }
.search-form .search-field { width: 100%; min-height: 40px; padding: 8px 12px; background: var(--color-panel); border: 1px solid var(--color-rule); border-radius: 0; color: var(--color-bone); font-family: var(--font-body); font-size: 13px; }
.search-form .search-submit { min-height: 40px; padding: 8px 14px; background: var(--color-bone); border: 0; border-radius: 0; color: var(--color-ink); font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.search-form .search-submit:hover { background: var(--color-amber); }

/* Motion: always on (owner's decision). motion.js adds .in when an element scrolls into view. */
@keyframes uoUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.intro-title { animation: uoUp 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.intro-rule { animation: uoUp 0.9s 0.15s cubic-bezier(.2, .7, .2, 1) both; }
.intro-text { animation: uoUp 0.9s 0.3s cubic-bezier(.2, .7, .2, 1) both; }
.uo-js .uo-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.uo-js .uo-reveal.in { opacity: 1; transform: none; }
.uo-js .uo-settle { opacity: 0.2; transform: scale(1.06); transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.uo-js .uo-settle.in { opacity: 1; transform: none; }
.shot-hero .shot-img { will-change: transform; }

@media (max-width: 1024px) {
  .article-body h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .logo-img { height: 32px; }
  .logo-wrap { justify-content: flex-start; }
  .article-body > p:first-of-type { font-size: 16px; }
  .article-body h2 { font-size: 26px; margin: 40px 0 14px 0; }
  .search-form { flex-direction: column; }
}

/* =====================================================================
   Elementor bridge: lets the "Urban Obstacles: Home/About" Elementor templates
   (built by the setup plugin) use this design. Widgets carry the design classes;
   these rules strip Elementor's default look so the classes above take over.
   ===================================================================== */
.uo-elementor .elementor .uo-box.e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --min-height: 0px; }
.elementor .uo-el { margin: 0; width: auto; max-width: none; }
.elementor .uo-el > .elementor-widget-container { margin: 0; padding: 0; }
.elementor .uo-el .elementor-heading-title,
.elementor .uo-el p,
.elementor .uo-el .elementor-heading-title a { margin: 0; color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; }
.elementor .uo-el .elementor-heading-title a { text-decoration: none; }
.elementor .uo-el .elementor-heading-title a:hover { color: var(--color-amber); }
.elementor .pair-text p + p { margin-top: 4px; }
.elementor .pair-text a { color: var(--color-ash); text-decoration: underline; }
.elementor .pair-text a:hover { color: var(--color-bone); }
.elementor .arrow-list p { margin: 0; color: var(--color-ash); font-family: var(--font-body); font-size: 13px; line-height: 1.5; }
.elementor .arrow-list a { color: var(--color-ash); text-decoration: none; }
.elementor .arrow-list a:hover { color: var(--color-bone); }
.elementor .uo-el .elementor-button { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.elementor .uo-el.btn-tag, .elementor .uo-el.btn-solid { width: auto; align-self: flex-start; }
.elementor .uo-shot .uo-shot-img,
.elementor .uo-side .uo-side-img { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: 100%; }
.elementor .uo-shot .uo-shot-img > .elementor-widget-container,
.elementor .uo-side .uo-side-img > .elementor-widget-container { height: 100%; }
.elementor .uo-shot .uo-shot-img img,
.elementor .uo-side .uo-side-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; }
.elementor .uo-low .uo-shot-img img { object-position: center 72%; }
.elementor .uo-el.uo-ticks-w { position: static; }
.elementor .uo-el.intro-rule-w { align-self: center; width: 100%; }
