/* Direction C tokens and component styles for uwasemart.com */

/* Palette */
:root {
  --uw-ink: #1a1a1a;
  --uw-paper: #faf7f2;
  --uw-paper-2: #f1e9db;
  --uw-gold: #c8811f;
  --uw-border: #ece5d8;
  --uw-hero-dark-start: #0d0d0b;
  --uw-hero-dark-end: #23231f;
}

/* Base typography */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--uw-ink);
  background: var(--uw-paper);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Heading block */
.uw-heading {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--uw-ink);
  margin: 0 0 1rem;
  line-height: 1.2;
}

/* Image block */
.uw-image {
  margin: 0;
}

.uw-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.uw-image figcaption {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-top: 0.5rem;
}

/* Rich text block */
.uw-rich {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--uw-ink);
  line-height: 1.7;
}

.uw-rich p { margin: 0 0 1em; }
.uw-rich ul, .uw-rich ol { padding-left: 1.5em; margin: 0 0 1em; }

/* CTA block */
.uw-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--uw-paper-2);
}

.uw-cta h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2rem;
  margin: 0 0 1rem;
}

.uw-cta p {
  margin: 0 0 1.5rem;
  color: #4a4a4a;
}

.uw-cta--dark {
  background: radial-gradient(ellipse at center, var(--uw-hero-dark-end), var(--uw-hero-dark-start));
  color: #faf7f2;
}

.uw-cta--dark h2 {
  color: #faf7f2;
}

.uw-cta--dark p {
  color: #c9b99a;
}

/* Buttons */
.uw-btn-gold {
  display: inline-block;
  background: var(--uw-gold);
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.uw-btn-gold:hover {
  background: #a86a18;
}

.uw-btn-outline-light {
  display: inline-block;
  background: transparent;
  color: #faf7f2;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 1.5px solid rgba(250, 247, 242, 0.5);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.uw-btn-outline-light:hover {
  border-color: #faf7f2;
  color: #fff;
}

/* Hero section */
.uw-hero {
  background: radial-gradient(ellipse at 60% 40%, var(--uw-hero-dark-end), var(--uw-hero-dark-start));
  color: #faf7f2;
  padding: 5rem 2rem 3rem;
}

.uw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 768px) {
  .uw-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero video panel */
.uw-hero-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}

.uw-hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.uw-hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Play button */
.uw-play {
  /* Sits over the empty backdrop on the left; the poster keeps the face on the right. */
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: rgba(200, 129, 31, 0.95);
  color: #fff;
  font: 600 0.95rem 'Plus Jakarta Sans', system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background 0.15s, transform 0.15s;
}

.uw-play-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* An SVG, not the ► text glyph: Android fonts draw that glyph as a thin, off-centre pointer.
   Nudged right because a triangle's visual centre sits left of its box centre. */
.uw-play-icon svg { width: 55%; height: 55%; margin-left: 10%; display: block; }

.uw-play:hover {
  background: var(--uw-gold);
  transform: translateY(-50%) scale(1.04);
}

/* Hero caption over video */
.uw-hero-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(13,13,11,0.8));
  display: flex;
  flex-direction: column;
}

.uw-hero-cap b {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #faf7f2;
}

.uw-hero-cap span {
  font-size: 0.75rem;
  color: #c9b99a;
}

/* Language toggle */
.uw-hero-lang {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.25rem;
}

.uw-hero-lang button {
  background: rgba(13,13,11,0.6);
  border: 1px solid rgba(250,247,242,0.3);
  color: #faf7f2;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero copy panel */
.uw-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.uw-hero-copy h1 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0;
  color: #faf7f2;
}

.uw-hero-copy p {
  color: #c9b99a;
  line-height: 1.6;
  margin: 0;
}

.uw-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Eyebrow label */
.uw-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--uw-gold);
}

/* Trust strip */
.uw-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(236,229,216,0.15);
}

.uw-trust > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.uw-trust b {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #faf7f2;
}

.uw-trust span {
  font-size: 0.8125rem;
  color: #c9b99a;
}

/* Ecosystem cards block */
.uw-ecosystem {
  padding: 4rem 2rem;
  background: var(--uw-paper);
}

.uw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.uw-card {
  background: #fff;
  border: 1px solid var(--uw-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.uw-card b {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--uw-ink);
}

.uw-card p {
  color: #4a4a4a;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.uw-card a {
  color: var(--uw-gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.uw-card a:hover {
  text-decoration: underline;
}

/* Impact teaser block */
.uw-impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .uw-impact {
    grid-template-columns: 1fr;
  }
}

.uw-impact-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.uw-impact-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.uw-impact-copy h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
  color: var(--uw-ink);
  line-height: 1.2;
}

.uw-impact-copy p {
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

.uw-impact-copy a {
  color: var(--uw-gold);
  font-weight: 600;
  text-decoration: none;
}

.uw-impact-copy a:hover {
  text-decoration: underline;
}

/* Press logos block */
.uw-press {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--uw-paper-2);
}

.uw-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.uw-logos img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.15s, filter 0.15s;
}

.uw-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Embedded form block */
.uw-form {
  padding: 4rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Nav */
.uw-nav {
  background: var(--uw-paper);
  border-bottom: 1px solid var(--uw-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.uw-nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
}

.uw-nav-logo {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--uw-ink);
  text-decoration: none;
  white-space: nowrap;
}

.uw-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
}

.uw-nav-item {
  position: relative;
}

.uw-nav-link {
  display: block;
  padding: 0 1rem;
  height: 60px;
  line-height: 60px;
  color: var(--uw-ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.uw-nav-link:hover {
  color: var(--uw-gold);
}

.uw-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--uw-border);
  border-radius: 6px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 4px 16px rgba(26,26,26,0.1);
  z-index: 200;
}

.uw-nav-item--has-children:hover .uw-nav-dropdown {
  display: block;
}

.uw-nav-dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--uw-ink);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background 0.1s, color 0.1s;
}

.uw-nav-dropdown-link:hover {
  background: var(--uw-paper-2);
  color: var(--uw-gold);
}

/* Language switcher */
.uw-lang {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.uw-lang a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--uw-ink);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--uw-border);
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.uw-lang a:hover {
  background: var(--uw-paper-2);
  border-color: var(--uw-gold);
  color: var(--uw-gold);
}

/* Footer */
.uw-footer {
  background: var(--uw-paper-2);
  border-top: 1px solid var(--uw-border);
  margin-top: auto;
}

.uw-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.uw-footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.uw-footer-link {
  color: var(--uw-ink);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.uw-footer-link:hover {
  color: var(--uw-gold);
}

.uw-footer-copy {
  font-size: 0.8125rem;
  color: #6b6b6b;
  margin: 0;
}

/* ---- Layout polish (2026-10) ---- */

/* Footer sits at the bottom of short pages. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.uw-main { flex: 1 0 auto; }

/* Simple content blocks placed directly on a page get a readable column. */
.uw-main > .uw-rich,
.uw-main > .uw-heading,
.uw-main > .uw-image {
  box-sizing: border-box;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.uw-main > .uw-rich { font-size: 1.0625rem; color: #33302b; padding-bottom: 4rem; }
.uw-main > .uw-image { margin-bottom: 2.5rem; }

/* The first heading on a content page reads as the page title. */
.uw-main > .uw-heading:first-child,
.uw-main > .uw-rich:first-child > h2:first-child {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--uw-ink);
}
.uw-main > .uw-heading:first-child { padding-top: 4.5rem; margin-bottom: 0.5rem; }
.uw-main > .uw-rich:first-child { padding-top: 4.5rem; }
.uw-main > .uw-rich:first-child > h2:first-child { margin: 0 0 1.75rem; }
.uw-main > .uw-rich:first-child > h2:first-child::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 1.25rem;
  background: var(--uw-gold);
  border-radius: 2px;
}
.uw-rich h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.uw-rich h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.uw-rich a { color: #9a5f12; text-underline-offset: 2px; }

/* Embedded form directly under a page heading. */
.uw-main > .uw-heading:first-child + .uw-form { max-width: 840px; padding: 1.5rem 1.5rem 4.5rem; box-sizing: border-box; }

/* Hero without a video panel: centred single column. */
.uw-hero-grid--solo { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.uw-hero-grid--solo .uw-hero-cta { justify-content: center; }
.uw-hero-video { background: linear-gradient(135deg, #2b2a25, #0d0d0b); }

/* Mobile nav: logo + languages on top, links scroll sideways underneath. */
@media (max-width: 768px) {
  .uw-nav-inner { flex-wrap: wrap; height: auto; gap: 0 1rem; padding: 0 1rem; }
  .uw-nav-logo { line-height: 52px; }
  .uw-nav-list {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding: 0 0.5rem;
    border-top: 1px solid var(--uw-border);
  }
  .uw-nav-list::-webkit-scrollbar { display: none; }
  .uw-nav-link { height: 44px; line-height: 44px; padding: 0 0.6rem; font-size: 0.875rem; }
  .uw-main > .uw-heading:first-child,
  .uw-main > .uw-rich:first-child { padding-top: 2.75rem; }
}

/* Embedded forms (x-site-form) */
.uw-form h1 { font-size: 1.75rem; margin: 0 0 1rem; }
.uw-main > .uw-heading + .uw-form > h1:first-child,
.uw-main > .uw-heading + .uw-form > .uw-form-title:first-child { display: none; }
.uw-form > .uw-form-title { font-size: 1.75rem; margin: 0 0 1rem; border-top: 0; padding-top: 0; }
.uw-form label { display: block; margin: 1.1rem 0 0.4rem; font-weight: 600; font-size: 0.9375rem; }
.uw-form input:not([type=radio]):not([type=checkbox]),
.uw-form textarea,
.uw-form select {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid #ddd3c2;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--uw-ink);
}
.uw-form input:focus, .uw-form textarea:focus, .uw-form select:focus {
  outline: none;
  border-color: var(--uw-gold);
  box-shadow: 0 0 0 3px rgba(200, 129, 31, 0.18);
}
.uw-form textarea { min-height: 140px; resize: vertical; }
.uw-form .btn {
  margin-top: 1.5rem;
  padding: 0.8rem 1.75rem;
  border: 0;
  border-radius: 8px;
  background: var(--uw-gold);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.uw-form .btn:hover { background: #a96a14; }
.uw-form .err { color: #b3261e; font-size: 0.8125rem; margin-top: 0.3rem; }
.uw-form .ok { color: #1e5e2e; background: #e3f1e6; border: 1px solid #bfdcc6; border-radius: 8px; padding: 0.9rem 1rem; }
.uw-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uw-form fieldset { border: 0; padding: 0; margin: 0; }

/* Section headings and the hero stat strip line up with the 1200px content column. */
.uw-ecosystem > .uw-heading { max-width: 1200px; margin-left: auto; margin-right: auto; }
.uw-trust { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* Form choice groups, section headings and file inputs */
.uw-form h2 { font-size: 1.15rem; margin: 2.25rem 0 0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--uw-border); }
.uw-form legend { font-weight: 600; font-size: 0.9375rem; margin: 1.1rem 0 0.4rem; padding: 0; }
.uw-form .radio-group, .uw-form .checkbox-group { display: grid; gap: 0.4rem; }
.uw-form .radio-group label, .uw-form .checkbox-group label {
  display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; font-weight: 400; line-height: 1.45; cursor: pointer;
}
.uw-form .radio-group input, .uw-form .checkbox-group input { margin-top: 0.2rem; accent-color: #a8650f; width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.uw-form input[type=file] { padding: 0.6rem; background: var(--uw-paper); border-style: dashed; cursor: pointer; }

/* Cards and forms placed after prose on a content page share the prose column. */
.uw-main > .uw-rich + .uw-ecosystem { padding-top: 0; padding-bottom: 1rem; }
.uw-main > .uw-rich + .uw-ecosystem > .uw-heading,
.uw-main > .uw-rich + .uw-ecosystem > .uw-cards { max-width: 792px; } /* 840px column minus its 1.5rem gutters */
.uw-main > .uw-rich + .uw-ecosystem > .uw-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.uw-main > .uw-ecosystem + .uw-rich { padding-top: 2rem; }
.uw-main > .uw-rich:has(+ .uw-form) { padding-bottom: 0; }
.uw-main > .uw-rich + .uw-form { max-width: 840px; padding: 0.5rem 1.5rem 4.5rem; box-sizing: border-box; }
.uw-main > .uw-rich + .uw-form > h1:first-child {
  font-size: 1.5rem; margin: 1.5rem 0 0.5rem; padding: 1.5rem; background: #fff;
  border: 1px solid var(--uw-border); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.uw-main > .uw-rich + .uw-form > form {
  background: #fff; border: 1px solid var(--uw-border); border-top: 0;
  border-radius: 0 0 12px 12px; padding: 0 1.5rem 1.75rem; margin-top: -0.5rem;
}
.uw-main > .uw-rich + .uw-form > form > h2:first-of-type { border-top: 0; margin-top: 0.5rem; padding-top: 0.5rem; }

/* ---- Image block widths (2026-10) ---- */
.uw-main > .uw-image--inline img { border-radius: 12px; }
.uw-main > .uw-image.uw-image--wide { max-width: 1100px; }
.uw-main > .uw-image--wide img { width: 100%; border-radius: 12px; }
.uw-main > .uw-image.uw-image--banner { max-width: none; padding: 0; }
.uw-main > .uw-image--banner img { width: 100%; max-height: 460px; object-fit: cover; }
.uw-main > .uw-image--banner figcaption { max-width: 840px; margin: 0.5rem auto 0; padding: 0 1.5rem; box-sizing: border-box; }
.uw-main > .uw-image--banner:first-child { margin-bottom: 0; }

/* ---- Opportunity header (job / partnership pages) ---- */
.uw-main > .uw-opp {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2.25rem;
}
.uw-main > .uw-image--banner + .uw-opp { padding-top: 2.5rem; }
.uw-opp-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  background: var(--uw-paper-2);
}
.uw-opp-kind {
  margin: 0 0 0.6rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a5f12;
}
.uw-opp-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--uw-ink);
}
.uw-opp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--uw-border);
  border-bottom: 1px solid var(--uw-border);
}
.uw-opp-facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #7a7266; }
.uw-opp-facts dd { margin: 0.15rem 0 0; font-weight: 600; color: var(--uw-ink); }
.uw-opp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.uw-opp-closed {
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid #e3c9a4;
  border-radius: 8px;
  background: #fbf1e2;
  color: #6b4510;
  font-weight: 600;
}
.uw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.uw-share-label { font-size: 0.8125rem; color: #7a7266; margin-right: 0.2rem; }
.uw-share a, .uw-share button {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--uw-border);
  border-radius: 999px;
  background: #fff;
  color: var(--uw-ink);
  font: inherit;
  font-size: 0.8125rem;
  text-decoration: none;
  cursor: pointer;
}
.uw-share a:hover, .uw-share button:hover { border-color: var(--uw-gold); color: #9a5f12; }
.uw-main > .uw-opp + .uw-rich { padding-top: 0.5rem; }
@media (max-width: 768px) {
  .uw-main > .uw-opp { padding-top: 2.75rem; }
}

/* ---- Opportunity list (auto-built cards) ---- */
.uw-opps { padding: 3rem 1.5rem 4rem; }
.uw-opps > .uw-heading,
.uw-opps-grid,
.uw-opps-empty { max-width: 1200px; margin-left: auto; margin-right: auto; }
.uw-opps-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 720px) { .uw-opps-grid { grid-template-columns: repeat(2, 1fr); } }
.uw-opp-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uw-border);
  border-radius: 12px;
}
.uw-opp-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--uw-paper-2); }
.uw-opp-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.4rem; }
.uw-opp-card h3 { margin: 0 0 0.4rem; font-size: 1.125rem; line-height: 1.3; }
.uw-opp-card h3 a { color: var(--uw-ink); text-decoration: none; }
.uw-opp-card h3 a:hover { color: #9a5f12; }
.uw-opp-card-facts { margin: 0 0 0.6rem; font-size: 0.8125rem; color: #7a7266; }
.uw-opp-card-summary { margin: 0 0 1rem; color: #4a4a4a; line-height: 1.55; }
.uw-opp-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.uw-opp-card-more { color: #9a5f12; font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.uw-opp-card-more:hover { text-decoration: underline; }
.uw-opp-card .uw-btn-gold { padding: 0.55rem 1.25rem; }
.uw-opp-card-badge { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #7a7266; }
.uw-opp-card--closed { opacity: 0.75; }
.uw-opps-empty { color: #4a4a4a; }

/* After prose, the list shares the 840px column (as .uw-ecosystem does). */
.uw-main > .uw-rich + .uw-opps,
.uw-main > .uw-heading + .uw-opps { padding-top: 0; }
.uw-main > .uw-rich + .uw-opps > .uw-heading,
.uw-main > .uw-rich + .uw-opps > .uw-opps-grid,
.uw-main > .uw-rich + .uw-opps > .uw-opps-empty,
.uw-main > .uw-heading + .uw-opps > .uw-opps-grid,
.uw-main > .uw-heading + .uw-opps > .uw-opps-empty { max-width: 792px; } /* 840px column minus its 1.5rem gutters */

/* Form engine extras: help text, repeating rows, back link, standalone page */
.uw-form .help { color: #6b6458; font-size: 0.875rem; line-height: 1.5; margin: 0 0 0.5rem; }
.uw-form .repeater > label { display: block; margin: 1.25rem 0 0.25rem; }
.uw-form .repeat-row {
  border: 1px solid var(--uw-border); border-radius: 10px; padding: 0.25rem 1rem 1rem;
  margin-top: 0.75rem; background: var(--uw-paper);
}
.uw-form .repeat-row > label:first-child { margin-top: 0.75rem; }
.uw-form .add-row {
  display: block; width: 100%; margin-top: 0.75rem; padding: 0.7rem 1rem;
  border: 1px dashed #a8650f; border-radius: 8px; background: transparent;
  color: #8a520c; font: inherit; font-weight: 600; cursor: pointer;
}
.uw-form .add-row:hover { background: #fbf3e6; }
.uw-form .remove-row {
  margin-top: 0.75rem; padding: 0.35rem 0.8rem; border: 1px solid var(--uw-border); border-radius: 6px;
  background: #fff; color: #6b6458; font: inherit; font-size: 0.8125rem; cursor: pointer;
}
.uw-form .remove-row:hover { color: #b3261e; border-color: #e3b9b5; }
.uw-form .add-row[hidden], .uw-form .remove-row[hidden] { display: none; }
.uw-form .back-link { display: inline-block; margin-bottom: 1rem; color: #8a520c; text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.uw-form .back-link:hover { text-decoration: underline; }
.uw-main > .uw-form--standalone { max-width: 840px; padding: 3.5rem 1.5rem 4.5rem; box-sizing: border-box; }
.uw-form--standalone > h1 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.75rem; }
.uw-form--standalone > p { color: #4a463f; line-height: 1.6; }
.uw-form--standalone > form {
  background: #fff; border: 1px solid var(--uw-border); border-radius: 12px;
  padding: 0.25rem 1.5rem 1.75rem; margin-top: 1.5rem;
}
.uw-form--standalone > form > h2:first-of-type { border-top: 0; margin-top: 1rem; padding-top: 0; }
@media (max-width: 768px) {
  .uw-main > .uw-form--standalone { padding-top: 2rem; }
  .uw-form--standalone > form { padding: 0.25rem 1rem 1.5rem; }
}

/* Three-across listing (e.g. Partners): widens to the 1100px "wide" image width. */
.uw-main > .uw-opps--cols-3 > .uw-heading, .uw-main > .uw-opps--cols-3 > .uw-opps-grid, .uw-main > .uw-opps--cols-3 > .uw-opps-empty,
.uw-main > .uw-rich + .uw-opps--cols-3 > .uw-heading, .uw-main > .uw-rich + .uw-opps--cols-3 > .uw-opps-grid, .uw-main > .uw-rich + .uw-opps--cols-3 > .uw-opps-empty,
.uw-main > .uw-heading + .uw-opps--cols-3 > .uw-opps-grid, .uw-main > .uw-heading + .uw-opps--cols-3 > .uw-opps-empty { max-width: 1052px; } /* 1100px minus 1.5rem gutters */
@media (min-width: 900px) { .uw-opps--cols-3 .uw-opps-grid { grid-template-columns: repeat(3, 1fr); } }

/* Header: brand icon, About dropdown (details/summary), store button */
.uw-nav-logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.uw-nav-logo-icon { width: 28px; height: 28px; flex: 0 0 auto; }
.uw-nav-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; }
.uw-nav-details > summary::-webkit-details-marker { display: none; }
.uw-nav-caret { transition: transform 0.15s; }
.uw-nav-details[open] .uw-nav-caret { transform: rotate(180deg); }
.uw-nav-details[open] > .uw-nav-dropdown { display: block; }
.uw-nav-item--cta { margin-left: auto; display: flex; align-items: center; }
.uw-nav-cta {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 8px; background: #a8650f; color: #fff;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.uw-nav-cta:hover { background: #8a520c; }
.uw-nav-list:has(.uw-nav-item--cta) + .uw-lang { margin-left: 1rem; }
@media (max-width: 768px) {
  .uw-nav-logo-icon { width: 24px; height: 24px; }
  .uw-nav-item--cta { margin-left: 0; padding: 0 0.4rem; }
  .uw-nav-cta { padding: 0.35rem 0.75rem; font-size: 0.8125rem; }
  /* The link row scrolls sideways (overflow clips absolute children), so the open
     dropdown becomes a full-width panel under the two-row mobile header. */
  .uw-nav-details[open] > .uw-nav-dropdown { position: fixed; left: 0; right: 0; top: 97px; border-radius: 0; border-left: 0; border-right: 0; }
  .uw-nav-dropdown-link { padding: 0.8rem 1.25rem; }
}

/* Sitemap page */
.uw-page-index { max-width: 840px; margin: 0 auto; padding: 0 1.5rem 4.5rem; box-sizing: border-box; }
.uw-page-index-intro { color: #4a463f; margin: 0 0 1.5rem; }
.uw-page-index-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.uw-page-index-group h2 { font-size: 1.1rem; margin: 0 0 0.6rem; padding-bottom: 0.5rem; border-bottom: 2px solid #a8650f; display: inline-block; }
.uw-page-index-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.uw-page-index-group a { color: var(--uw-ink); text-decoration: none; }
.uw-page-index-group a:hover { color: #8a520c; text-decoration: underline; }
.uw-main > .uw-heading:first-child + .uw-page-index { padding-top: 1.5rem; }

/* Multi-step forms (public/js/site-forms.js) */
.uw-form .uw-steps-progress { margin: 1.25rem 0 0.25rem; }
.uw-form .uw-steps-bar { height: 6px; border-radius: 999px; background: var(--uw-paper-2); overflow: hidden; }
.uw-form .uw-steps-bar span { display: block; height: 100%; width: 0; background: #a8650f; transition: width 0.25s ease; }
.uw-form .uw-steps-label { margin: 0.6rem 0 0; font-size: 0.875rem; font-weight: 600; color: #6b6458; }
.uw-form .uw-step > h2:first-child { border-top: 0; margin-top: 1rem; padding-top: 0; }
.uw-form .uw-steps-nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.uw-form .uw-steps-nav .btn { margin-top: 0; }
.uw-form .uw-steps-nav .uw-steps-next, .uw-form .uw-steps-nav button[type=submit] { margin-left: auto; }
.uw-form .uw-steps-back {
  padding: 0.8rem 1.4rem; border: 1px solid var(--uw-border); border-radius: 8px; background: #fff;
  color: var(--uw-ink); font: inherit; font-weight: 600; cursor: pointer;
}
.uw-form .uw-steps-back:hover { border-color: #a8650f; }
.uw-form [hidden] { display: none !important; }

/* Page title as H1 (heading block or the first heading of rich text) */
.uw-main > .uw-rich:first-child > h1:first-child {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--uw-ink); margin: 0 0 1.75rem;
}
.uw-main > .uw-rich:first-child > h1:first-child::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 1.25rem; background: var(--uw-gold); border-radius: 2px;
}

/* "On this page" section links (toc block) */
.uw-toc {
  box-sizing: border-box; max-width: 840px; margin: 0 auto 2.5rem; padding: 0 1.5rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem;
}
.uw-toc-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7a7266; }
.uw-toc ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.uw-toc a {
  display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--uw-border); border-radius: 999px;
  background: #fff; color: var(--uw-ink); font-size: 0.875rem; text-decoration: none;
}
.uw-toc a:hover { border-color: #a8650f; color: #8a520c; }
.uw-main > .uw-heading:first-child + .uw-toc { margin-top: 1.25rem; }
html { scroll-behavior: smooth; }
.uw-main [id] { scroll-margin-top: 80px; }
@media (max-width: 768px) {
  .uw-main [id] { scroll-margin-top: 112px; }
  .uw-toc ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1.5rem; padding-right: 1.5rem; }
  .uw-toc ul::-webkit-scrollbar { display: none; }
  .uw-toc a { white-space: nowrap; }
}

/* Header end: language dropdown, then the store button as the right-most item */
.uw-nav-end { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.uw-nav-end .uw-lang { margin-left: 0; display: block; position: relative; }
.uw-lang-toggle {
  display: flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.6rem; border: 1px solid var(--uw-border);
  border-radius: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--uw-ink); cursor: pointer; list-style: none; background: #fff;
}
.uw-lang-toggle::-webkit-details-marker { display: none; }
.uw-lang-toggle:hover { border-color: #a8650f; }
.uw-lang[open] .uw-nav-caret { transform: rotate(180deg); }
.uw-lang-menu { left: auto; right: 0; top: calc(100% + 6px); min-width: 150px; }
.uw-lang[open] > .uw-lang-menu { display: block; }
.uw-lang-menu a[aria-current], .uw-lang-inline a[aria-current] { font-weight: 700; color: #8a520c; }

/* Footer bottom row: copyright left, languages far right */
.uw-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.uw-footer-bottom .uw-footer-copy { margin: 0; }
.uw-lang-inline { display: flex; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; }
.uw-lang-inline a { color: #6b6b6b; text-decoration: none; }
.uw-lang-inline a:hover { color: #8a520c; text-decoration: underline; }

@media (max-width: 768px) {
  .uw-nav-end { gap: 0.5rem; }
  .uw-nav-end .uw-nav-cta { padding: 0.35rem 0.7rem; font-size: 0.8125rem; }
  .uw-lang-toggle { padding: 0.3rem 0.45rem; }
  .uw-lang-toggle > svg:first-child { display: none; }
  /* keep the language menu anchored under its button (not the full-width nav panel) */
  .uw-lang[open] > .uw-lang-menu { position: absolute; left: auto; right: 0; top: calc(100% + 6px); border-radius: 8px; border: 1px solid var(--uw-border); }
}
.uw-lang .uw-lang-menu a {
  display: block; padding: 0.5rem 1rem; border: 0; border-radius: 0; background: none;
  font-size: 0.9375rem; font-weight: 400; color: var(--uw-ink);
}
.uw-lang .uw-lang-menu a:hover { background: var(--uw-paper-2); color: var(--uw-gold); }
.uw-lang .uw-lang-menu a[aria-current] { font-weight: 700; color: #8a520c; }

/* Form confirmation (replaces the form after a successful submit) */
.uw-form-done {
  background: #fff; border: 1px solid var(--uw-border); border-radius: 12px; padding: 2rem 1.75rem;
  margin-top: 1.5rem; text-align: center;
}
.uw-form-done-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: #e3f1e6; color: #1e7e34; margin-bottom: 0.75rem;
}
.uw-form .uw-form-done h2 { border-top: 0; padding-top: 0; margin: 0 0 0.5rem; font-size: 1.5rem; }
.uw-form-done > p { color: #4a463f; line-height: 1.6; margin: 0 auto 0.75rem; max-width: 520px; }
.uw-form-done-ref { background: var(--uw-paper); border-radius: 8px; padding: 0.75rem 1rem; display: inline-block; }
.uw-form-done-ref span { font-size: 0.8125rem; color: #6b6458; }
.uw-form-done-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }
.uw-form-done-actions .btn { margin-top: 0; text-decoration: none; }
.uw-form-done-link { color: #8a520c; font-weight: 600; text-decoration: none; }
.uw-form-done-link:hover { text-decoration: underline; }

/* Team members (team_grid block) */
.uw-team { box-sizing: border-box; max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 3.5rem; }
.uw-team > .uw-heading { max-width: 792px; margin: 0 auto 1.25rem; }
.uw-team-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.uw-team-card { background: #fff; border: 1px solid var(--uw-border); border-radius: 12px; padding: 1.5rem 1.25rem; text-align: center; }
.uw-team-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.9rem; display: block; }
.uw-team-initials { display: flex; align-items: center; justify-content: center; background: #f3e4cc; color: #8a520c; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 2rem; }
.uw-team-card h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.uw-team-role { margin: 0 0 0.75rem; color: #8a520c; font-weight: 600; font-size: 0.9375rem; }
.uw-team-bio { margin: 0; color: #4a463f; line-height: 1.55; font-size: 0.9375rem; text-align: left; }
.uw-team-link { display: inline-block; margin-top: 0.75rem; color: #8a520c; font-weight: 600; text-decoration: none; font-size: 0.875rem; }
.uw-team-link:hover { text-decoration: underline; }

/* Buttons inside rich text keep button colours (the generic .uw-rich a colour would win). */
.uw-rich a.uw-btn-gold, .uw-rich a.uw-btn-gold:visited { color: #fff; text-decoration: none; display: inline-block; }
.uw-rich a.uw-btn-gold:hover { color: #fff; }

/* Team grid shares the content column; less space after the intro text. */
.uw-team { max-width: 840px; }
.uw-team > .uw-heading { max-width: none; }
.uw-main > .uw-rich:has(+ .uw-team) { padding-bottom: 1.25rem; }

/* Intrinsic width/height on photos must not distort them */
.uw-main img[width][height] { height: auto; }

/* Icons (CSS masks take the text colour): right arrow, left arrow, new tab */
:root {
  --uw-ico-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --uw-ico-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --uw-ico-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}
a.uw-btn-gold[href*="/forms/"]::after,
.uw-form .uw-steps-next::after,
.uw-ext::after,
.uw-form .uw-steps-back::before,
.uw-form .back-link::before {
  content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em;
  background: currentColor; -webkit-mask: var(--uw-ico-right) center / contain no-repeat; mask: var(--uw-ico-right) center / contain no-repeat;
}
a.uw-btn-gold[href*="/forms/"]::after, .uw-form .uw-steps-next::after { margin-left: 0.5em; }
.uw-form .uw-steps-back::before, .uw-form .back-link::before { margin-right: 0.45em; -webkit-mask-image: var(--uw-ico-left); mask-image: var(--uw-ico-left); }
.uw-ext::after { width: 0.85em; height: 0.85em; margin-left: 0.4em; vertical-align: -0.05em; -webkit-mask-image: var(--uw-ico-ext); mask-image: var(--uw-ico-ext); }
.uw-share a.uw-ext::after { content: none; }
.uw-team-links { display: flex; justify-content: center; gap: 1rem; margin: 0.75rem 0 0; }
.uw-team-links .uw-team-link { margin-top: 0; }

/* Featured team member: full-width card, large photo beside the text */
.uw-team-card--featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr; gap: 2rem;
  align-items: center; text-align: left; padding: 2rem;
}
.uw-team-card--featured .uw-team-photo { width: 240px; height: 240px; margin: 0; }
.uw-team-card--featured .uw-team-initials { font-size: 4rem; }
.uw-team-card--featured h3 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.uw-team-card--featured .uw-team-role { font-size: 1.05rem; margin-bottom: 1rem; }
.uw-team-card--featured .uw-team-bio { font-size: 1.0625rem; line-height: 1.65; }
.uw-team-card--featured .uw-team-links { justify-content: flex-start; }
@media (max-width: 640px) {
  .uw-team-card--featured { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; padding: 1.5rem 1.25rem; }
  .uw-team-card--featured .uw-team-photo { width: 180px; height: 180px; margin: 0 auto; }
  .uw-team-card--featured .uw-team-links { justify-content: center; }
}

/* Founder video lightbox */
.uw-hero-video { cursor: pointer; }
.uw-no-scroll, .uw-no-scroll body { overflow: hidden; }
.uw-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(10, 10, 8, 0.88); padding: 1rem;
}
.uw-lightbox.is-open { display: flex; }
.uw-lightbox-inner { width: min(1100px, 92vw, calc((100vh - 7rem) * 16 / 9)); }
.uw-lightbox-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.uw-lightbox-lang { display: flex; gap: 0.4rem; }
.uw-lightbox-lang button {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px;
  background: transparent; color: #fff; font: inherit; font-size: 0.8125rem; font-weight: 700; cursor: pointer;
}
.uw-lightbox-lang button[aria-pressed="true"] { background: #fff; color: #1a1a1a; border-color: #fff; }
.uw-lightbox-close {
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.uw-lightbox-close:hover, .uw-lightbox-close:focus-visible { background: rgba(255, 255, 255, 0.25); outline: none; }
.uw-lightbox-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.uw-lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Vertical cut (YouTube Short) on phones held upright: as tall as the screen allows. */
.uw-lightbox.is-vertical .uw-lightbox-inner { width: min(92vw, calc((100vh - 6rem) * 9 / 16)); width: min(92vw, calc((100dvh - 6rem) * 9 / 16)); }
.uw-lightbox.is-vertical .uw-lightbox-frame { aspect-ratio: 9 / 16; }
.uw-rich p > a.uw-btn-gold + a.uw-btn-gold { margin-left: 0.5rem; }
@media (max-width: 560px) { .uw-rich p > a.uw-btn-gold + a.uw-btn-gold { margin: 0.6rem 0 0; } }

/* Office: address, hours and map (office_info block) */
.uw-office { box-sizing: border-box; max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 2rem; }
.uw-office > .uw-heading { max-width: 1052px; margin: 0 auto 1rem; }
.uw-office-grid { display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; gap: 1.5rem; align-items: stretch; }
.uw-office-info { background: #fff; border: 1px solid var(--uw-border); border-radius: 12px; padding: 1.5rem; }
.uw-office-info h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: #7a7266; margin: 0 0 0.4rem; }
.uw-office-info h3:not(:first-child) { margin-top: 1.25rem; }
.uw-office-info p { margin: 0 0 0.5rem; line-height: 1.55; }
.uw-office-hours { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.uw-office-hours th, .uw-office-hours td { text-align: left; padding: 0.3rem 0; border-bottom: 1px solid var(--uw-border); }
.uw-office-hours th { font-weight: 600; padding-right: 1rem; }
.uw-office-note { font-size: 0.8125rem; color: #6b6458; margin-top: 0.5rem; }
.uw-office-contact a { color: #8a520c; font-weight: 600; text-decoration: none; }
.uw-office-info .uw-btn-gold { margin-top: 0.5rem; }
.uw-office-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--uw-border); min-height: 320px; background: var(--uw-paper-2); }
.uw-office-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.uw-office-map-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 320px; color: #6b6458; }
@media (max-width: 760px) { .uw-office-grid { grid-template-columns: 1fr; } }

/* Team contact links with icons */
.uw-team-links { flex-wrap: wrap; }
.uw-team-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.uw-social-icon { flex: 0 0 auto; }
.uw-team-link--linkedin .uw-social-icon { color: #0a66c2; }
.uw-team-link--facebook .uw-social-icon { color: #1877f2; }
.uw-team-link--whatsapp .uw-social-icon { color: #25d366; }

/* Footer office line */
.uw-footer-office { margin: 0 0 1rem; font-size: 0.875rem; color: #4a463f; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.uw-footer-office a { color: inherit; text-decoration: none; }
.uw-footer-office a:hover { color: #8a520c; text-decoration: underline; }

/* Breadcrumbs (between header and content) and back link on nested pages */
.uw-breadcrumbs { box-sizing: border-box; max-width: 840px; margin: 0 auto; padding: 1.25rem 1.5rem 0; }
.uw-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: #7a7266; }
.uw-breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: #b0a796; }
.uw-breadcrumbs a { color: #6b6458; text-decoration: none; }
.uw-breadcrumbs a:hover { color: #8a520c; text-decoration: underline; }
.uw-breadcrumbs [aria-current] { color: var(--uw-ink); font-weight: 600; }
/* With breadcrumbs above, page titles need less top space. */
.uw-breadcrumbs + .uw-main > .uw-heading:first-child,
.uw-breadcrumbs + .uw-main > .uw-rich:first-child { padding-top: 1.75rem; }
.uw-breadcrumbs + .uw-main > .uw-opp:first-child { padding-top: 1.25rem; }
.uw-back { box-sizing: border-box; max-width: 840px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.uw-back a { color: #8a520c; font-weight: 600; text-decoration: none; }
.uw-back a::before {
  content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; margin-right: 0.45em;
  background: currentColor; -webkit-mask: var(--uw-ico-left) center / contain no-repeat; mask: var(--uw-ico-left) center / contain no-repeat;
}
.uw-back a:hover { text-decoration: underline; }

/* Mobile: the About dropdown expands inline in the scrolling menu row (no overlay). */
@media (max-width: 768px) {
  .uw-nav-list .uw-nav-details[open] { display: flex; align-items: center; }
  .uw-nav-list .uw-nav-details[open] > .uw-nav-dropdown {
    position: static; display: flex; align-items: center; gap: 0.25rem; min-width: 0;
    margin: 0; padding: 0 0.25rem 0 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  .uw-nav-list .uw-nav-details[open] > .uw-nav-dropdown .uw-nav-dropdown-link {
    padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--uw-paper-2);
    font-size: 0.8125rem; white-space: nowrap;
  }
}

/* Footer menu in two columns */
/* Phones: two columns. Desktop keeps the original inline, wrapping row. */
@media (max-width: 768px) {
  .uw-footer-list { display: block; columns: 2; column-gap: 2rem; }
  .uw-footer-list > li { break-inside: avoid; margin-bottom: 0.55rem; }
}
@media (max-width: 768px) {
  /* Touch screens keep :hover after a tap; never let it re-open the dropdown as an overlay. */
  .uw-nav-list .uw-nav-item--has-children:hover .uw-nav-details:not([open]) > .uw-nav-dropdown { display: none; }
}

/* Breadcrumbs span the column (body is a flex column, which would shrink them). */
.uw-breadcrumbs { width: 100%; }
/* Office block sits in the content column like the rest of the page. */
.uw-office { max-width: 840px; }
.uw-office > .uw-heading { max-width: none; }
.uw-office-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* A section heading (not the page title) followed by a form: same column, form title hidden. */
.uw-main > .uw-heading:not(:first-child) { box-sizing: border-box; max-width: 840px; margin: 2.5rem auto 0; padding: 0 1.5rem; font-size: 1.6rem; }
.uw-main > .uw-heading:not(:first-child) + .uw-form { max-width: 840px; padding: 0.5rem 1.5rem 4.5rem; box-sizing: border-box; }

/* Phones: hero stats on one row, and the two hero buttons side by side. */
@media (max-width: 768px) {
  .uw-trust { flex-wrap: nowrap; gap: 0.5rem; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; }
  .uw-trust > div { flex: 1 1 0; min-width: 0; text-align: center; }
  .uw-trust b { font-size: 1.25rem; }
  .uw-trust span { font-size: 0.75rem; line-height: 1.3; }
  .uw-hero-cta { flex-wrap: nowrap; gap: 0.6rem; }
  .uw-hero-cta > a { flex: 1 1 0; min-width: 0; text-align: center; padding: 0.75rem 0.6rem; font-size: 0.875rem; white-space: nowrap; }
}
@media (max-width: 380px) {
  .uw-nav-logo { font-size: 1rem; gap: 0.4rem; }
  .uw-nav-logo-icon { width: 22px; height: 22px; }
  .uw-nav-end { gap: 0.35rem; }
  .uw-nav-end .uw-nav-cta { padding: 0.32rem 0.55rem; font-size: 0.75rem; }
  .uw-lang-toggle { padding: 0.28rem 0.35rem; font-size: 0.75rem; }
}

/* Phones: social links become a row of equal, easy-to-tap buttons across the card. */
@media (max-width: 640px) {
  .uw-team-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0.5rem; width: 100%; margin-top: 1rem; }
  .uw-team-links .uw-team-link {
    justify-content: center; min-height: 44px; padding: 0.5rem 0.4rem; border: 1px solid var(--uw-border);
    border-radius: 10px; background: var(--uw-paper); font-size: 0.8125rem; text-decoration: none;
  }
  .uw-team-links .uw-team-link:hover, .uw-team-links .uw-team-link:focus-visible { border-color: #a8650f; }
}
@media (max-width: 640px) {
  .uw-team-links .uw-team-link { flex-direction: column; gap: 0.3rem; padding: 0.6rem 0.25rem; font-size: 0.75rem; line-height: 1.2; }
  .uw-team-links .uw-social-icon { width: 20px; height: 20px; }
}

/* Narrow cards: a compact pill so it stays on the backdrop, clear of the face. */
@media (max-width: 520px) {
  .uw-play { left: 0.75rem; gap: 0.4rem; padding: 0.35rem 0.8rem 0.35rem 0.35rem; font-size: 0.8rem; }
  .uw-play-icon { width: 1.75rem; height: 1.75rem; }
}
