/*
Theme Name: The Wells
Theme URI: https://thewells.africa
Author: The Well Technologies
Description: Block theme for The Wells group of companies (DKG Enterprises). A scroll-driven descent down a well shaft, dark ink with gold.
Version: 1.2.5
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-wells
*/

:root {
  --surface-100: #1c1b19;
  --surface-200: #282724;
  --surface-300: #34332f;
  --border: #43413e;
  --ink: #f4f0e8;
  --ink-muted: #d9d3c6;
  --gold-600: #c2a237;
  --gold-700: #d9b954;
  --gold-100: #332b16;
  --on-gold: #0c0c0c;
  --danger: #e2775f;
  --success: #6fcb8e;
  --technologies: #1d4f8c;
  --industrial: #c0c0c0;
  --gold-on-light: #8c6a17;
  --manufacturing: #6b1d1d;
  --commercial: #ffffff;
  --font-serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
  --font-sans: 'Raleway', -apple-system, 'Segoe UI', system-ui, sans-serif;
}
body { margin: 0; background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 23px; }
html { scroll-behavior: smooth; }
a { color: var(--gold-600); }
a:hover { color: var(--gold-700); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-700); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold-600); color: var(--on-gold); padding: 8px 16px; border-radius: 8px; font-weight: 600; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 12px/14px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); }
.display { font-family: var(--font-serif); font-weight: 500; color: var(--gold-700); margin: 0; }
.btn { appearance: none; border: 1px solid transparent; border-radius: 8px; padding: 14px 28px; font: 600 13px/16px var(--font-sans); letter-spacing: 0.02em; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary { background: var(--gold-600); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-700); color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--gold-600); padding-inline: 0; }
.btn-ghost:hover { color: var(--gold-700); text-decoration: underline; }

.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 260px; min-width: 0; }
.field label { font: 600 13px/16px var(--font-sans); letter-spacing: 0.02em; color: var(--ink); }
.field input, .field select, .field textarea { font: 400 15px/23px var(--font-sans); color: var(--ink); background: var(--surface-200); border: 1px solid var(--border); border-radius: 4px; padding: 12px 14px; min-height: 44px; box-sizing: border-box; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.photo { background: var(--surface-200); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: flex-end; padding: 24px; box-sizing: border-box; min-height: 340px; }
.photo span { font: 400 13px/19px var(--font-sans); color: var(--ink-muted); max-width: 320px; }

/* Brand name blocks: each business keeps its own colour, with gold as the touch. */
.bb { padding: 40px; border-radius: 8px; display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--gold-700); box-sizing: border-box; min-width: 0; }
.bb-tech { background: var(--technologies); }
.bb-ind { background: linear-gradient(135deg, #d6dce1 0%, #9aa3ad 50%, #bdc5cc 100%); border-top: 0; }
.bb-ind .bb-stratum { color: var(--surface-300); }
.bb-ind .bb-brand { color: var(--surface-100); }
.bb-ind .bb-name { color: var(--surface-100); }
.bb-man { background: var(--manufacturing); border-left: 1px solid var(--gold-600); border-right: 1px solid var(--gold-600); border-bottom: 1px solid var(--gold-600); }
.bb-com { background: var(--commercial); border-top: 0; }
.bb-com .bb-stratum { color: var(--surface-300); }
.bb-com .bb-brand { color: var(--surface-100); }
.bb-com .bb-name { color: var(--surface-100); }
.bb-stratum { font: 600 12px/14px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.bb-brand { font-family: var(--font-serif); font-weight: 500; font-size: 20px; line-height: 24px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.bb-name { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: 0.01em; color: var(--gold-700); overflow-wrap: anywhere; margin: 0; }

/* Descent: scroll-driven motion. Starts from a visible state so nothing is ever blank. */
@keyframes rise { from { opacity: 0.45; transform: translateY(48px); } to { opacity: 1; transform: translateY(0); } }
@keyframes unveil { from { clip-path: inset(14% 0 0 0); opacity: 0.8; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes widen { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0.12; } }
@keyframes fall { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.shaft { position: fixed; left: 28px; top: 0; bottom: 0; width: 1px; background: var(--border); z-index: 5; pointer-events: none; }
.shaft i { display: block; width: 1px; height: 100%; background: var(--gold-600); transform-origin: top; transform: scaleY(0); }
.depth { position: fixed; left: 40px; bottom: 28px; z-index: 5; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 11px/14px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); pointer-events: none; }

@supports (animation-timeline: view()) {
  .shaft i { animation: fall linear both; animation-timeline: scroll(root); }
  .rings { animation: widen linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .unveil { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}

/* Scene: the photographs sit in a sticky layer behind the first sections. The text scrolls over them. */
.scene { position: relative; }
.scene-bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; pointer-events: none; background: var(--surface-100); }
.scene-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.scene-bg .p2, .scene-bg .p3 { opacity: 0; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,27,25,0.84) 0%, rgba(28,27,25,0.62) 52%, rgba(28,27,25,0.22) 100%), linear-gradient(180deg, rgba(28,27,25,0.34) 0%, rgba(28,27,25,0) 28%); }
.scene-body { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.scene-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(28,27,25,0), var(--surface-100)); }

@keyframes sink { from { transform: scale(1); } to { transform: scale(1.22); } }
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes shaftlife { 0% { opacity: 0; } 42% { opacity: 1; } 67% { opacity: 1; } 100% { opacity: 0; } }

@supports (animation-timeline: view()) {
  .scene-bg .p1 { animation: fadeout linear both, sink linear both; animation-timeline: scroll(root), scroll(root); animation-range: 50vh 100vh, 0vh 130vh; }
  .scene-bg .p2 { animation: shaftlife linear both, sink linear both; animation-timeline: scroll(root), scroll(root); animation-range: 50vh 170vh, 40vh 200vh; }
  .scene-bg .p3 { animation: fadein linear both, sink linear both; animation-timeline: scroll(root), scroll(root); animation-range: 120vh 170vh, 110vh 260vh; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-bg img { animation: none !important; transform: none !important; }
  .scene-bg .p1 { opacity: 1 !important; }
  .scene-bg .p2, .scene-bg .p3 { opacity: 0 !important; }
  .shaft i, .rings, .rise, .unveil { animation: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .shaft i { transform: scaleY(0.35) !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 760px) {
  .shaft { left: 6px; }
  .depth { left: 11px; bottom: 20px; font-size: 10px; line-height: 12px; letter-spacing: 0.16em; }
  .nav-links { display: none !important; }
}

/* ---- WordPress block theme adjustments ---- */
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
section[id] { scroll-margin-top: 72px; }
.photo { padding: 0; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enquiry-ok { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-200); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.enquiry-err { border: 1px solid var(--danger); border-radius: 8px; padding: 12px 16px; color: var(--ink); font: 400 15px/23px var(--font-sans); margin: 0 0 24px; }
.doc h2 { font-family: var(--font-serif); font-weight: 700; font-size: 28px; line-height: 34px; color: var(--gold-700); margin: 48px 0 12px; }
.doc p, .doc li { font: 400 15px/23px var(--font-sans); color: var(--ink-muted); }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }

/* Empty photo slots: a quiet tint in each business colour until a real photo is added. */
.photo-empty { background-color: var(--surface-200); border-top: 3px solid var(--gold-600); }
.photo-technologies { background-image: linear-gradient(135deg, rgba(29, 79, 140, 0.55), rgba(12, 12, 12, 0) 70%) !important; }
.photo-industrial { background-image: linear-gradient(135deg, rgba(192, 192, 192, 0.32), rgba(12, 12, 12, 0) 70%) !important; }
.photo-commercial { background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(12, 12, 12, 0) 70%) !important; }
.photo-manufacturing { background-image: linear-gradient(135deg, rgba(107, 29, 29, 0.7), rgba(12, 12, 12, 0) 70%) !important; }

/* ---- Editable block layout (classes replace inline styles) ---- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 16px clamp(24px, 4.5vw, 64px) 16px clamp(24px, 5vw, 72px); background: var(--surface-100); }
.site-logo { display: inline-flex; }
.site-logo img { width: 132px; height: auto; display: block; }
.site-nav .wp-block-navigation__container { gap: 32px; }
.site-nav .wp-block-navigation-item__content, .footer-nav .wp-block-navigation-item__content { font: 600 13px/16px var(--font-sans); letter-spacing: 0.02em; color: var(--ink-muted); text-decoration: none; }
.site-nav .wp-block-navigation-item__content:hover, .footer-nav .wp-block-navigation-item__content:hover { color: var(--gold-700); }
.site-nav .nav-contact .wp-block-navigation-item__content { color: var(--gold-600); }
.site-footer { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; box-sizing: border-box; padding: 48px clamp(24px, 4.5vw, 64px) 48px clamp(24px, 7vw, 96px); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { width: 120px; height: auto; display: block; }
.footer-address { margin: 0; font: 400 13px/19px var(--font-sans); color: var(--ink-muted); }
.footer-nav .wp-block-navigation__container { gap: 24px; }
.footer-legal { flex: 0 0 100%; margin: 0; padding-top: 24px; border-top: 1px solid var(--border); font: 400 12px/18px var(--font-sans); letter-spacing: 0.02em; color: var(--ink-muted); }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px clamp(24px, 4.5vw, 64px) 96px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.hero-inner { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.hero-head { position: relative; display: flex; flex-direction: column; gap: 16px; }
/* Soft shade behind the title keeps it readable on the brighter photograph. */
.hero-head::before { content: ""; position: absolute; inset: -48px -140px -48px -120px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 40% 50%, rgba(28,27,25,0.55) 0%, rgba(28,27,25,0) 70%); }
.hero-head .hero-title, .hero-head .eyebrow { text-shadow: 0 1px 16px rgba(28,27,25,0.7); }
.hero-title { font-size: clamp(48px, 8vw, 104px); line-height: 1.02; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.hero-head .eyebrow { margin: 0; }
.hero-arrow { padding: 14px 22px; font-size: 18px; line-height: 18px; }
.shaft-gap { height: 70vh; }
.statement { min-height: 110vh; display: flex; align-items: center; padding: 96px clamp(24px, 4.5vw, 64px) 96px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.statement-inner { max-width: 980px; display: flex; flex-direction: column; gap: 24px; }
.statement-title { font-size: clamp(28px, 4vw, 52px); line-height: 1.18; color: var(--gold-700); }
.statement-inner .eyebrow, .statement-inner .statement-title, .contact-text .eyebrow { margin: 0; }
.lede { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink-muted); max-width: 640px; }

.biz { padding: 96px clamp(24px, 4.5vw, 64px) 96px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.biz-alt { background: var(--surface-200); }
.biz-row { display: flex; gap: 64px; flex-wrap: wrap; align-items: stretch; }
.biz-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.biz .photo { flex: 1 1 420px; min-width: 0; }
.biz-alt .photo-empty { background-color: var(--surface-100); }
.biz-copy { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink-muted); max-width: 480px; }
.bb { gap: 0; }
.bb-stratum { margin: 0 0 16px; }
.bb-brand { margin: 0; display: block; }
.bb-name { margin: 0; }
.biz .wp-block-buttons { margin: 0; }
.btn-ghost .wp-block-button__link { background: transparent; color: var(--gold-600); padding: 14px 0; border-radius: 8px; font: 600 13px/16px var(--font-sans); letter-spacing: 0.02em; text-decoration: none; }
.btn-ghost .wp-block-button__link:hover { color: var(--gold-700); text-decoration: underline; background: transparent; }

.contact { position: relative; overflow: hidden; padding: 96px clamp(24px, 4.5vw, 64px) 96px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--surface-200) 0%, rgba(28, 27, 25, 0.68) 22%, rgba(28, 27, 25, 0.74) 100%); }
.contact-row { position: relative; display: flex; gap: 64px; flex-wrap: wrap; }
.contact-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; max-width: 460px; }
.contact-title { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; margin: 0; }
.contact-text .lede { max-width: none; }
.contact-details { margin: 0; font: 400 15px/23px var(--font-sans); color: var(--ink-muted); }
.contact-form { flex: 1 1 480px; min-width: 0; }

/* Ordinary pages (privacy policy and any page added later) */
.doc { max-width: none; }
.doc > * { max-width: 720px; margin-left: 0 !important; margin-right: 0 !important; }
.doc .wp-block-post-title { font-family: var(--font-serif); font-weight: 500; color: var(--gold-700); font-size: clamp(40px, 5vw, 56px); line-height: 1.06; margin: 0 0 16px; }
.doc-date { font-size: 13px; line-height: 19px; }
.doc .wp-block-post-content h2 { margin: 48px 0 12px; }
.doc .wp-block-post-content p, .doc .wp-block-post-content li { font: 400 15px/23px var(--font-sans); color: var(--ink-muted); }
.doc .wp-block-post-content p { margin: 0 0 16px; }
.doc .wp-block-post-content ul { margin: 0 0 16px; padding-left: 20px; }


/* ---- v1.2: separate pages (Enterprises, Contact, Presence) ---- */
.page-intro { padding: 96px clamp(24px, 4.5vw, 64px) 0 clamp(24px, 7vw, 96px); box-sizing: border-box; }
.page-intro-inner { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.page-intro-inner .eyebrow, .page-title { margin: 0; }
.page-title { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; }
.btn-solid .wp-block-button__link { background: var(--gold-600); color: var(--on-gold); padding: 14px 28px; border-radius: 8px; font: 600 13px/16px var(--font-sans); letter-spacing: 0.02em; text-decoration: none; }
.btn-solid .wp-block-button__link:hover { background: var(--gold-700); color: var(--on-gold); }

/* Home: the four enterprises as links to the Enterprises page */
.ent-index { padding: 64px clamp(24px, 4.5vw, 64px) 120px clamp(24px, 7vw, 96px); box-sizing: border-box; display: flex; flex-direction: column; gap: 32px; }
.ent-index .eyebrow { margin: 0; }
.ent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.ent-grid .bb { padding: 28px; height: 100%; justify-content: flex-end; }
.ent-grid .bb-name { font-size: clamp(28px, 2.6vw, 38px); }
.ent-grid .bb-name a { color: inherit; text-decoration: none; }
.ent-grid .bb-name a:hover { text-decoration: underline; }
.ent-index .wp-block-buttons { gap: 24px; align-items: center; }

/* Enterprises: closing call to action */
.cta-band { background: var(--surface-200); padding: 72px clamp(24px, 4.5vw, 64px) 72px clamp(24px, 7vw, 96px); box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 32px; }
.cta-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--gold-700); margin: 0; }
.cta-band .wp-block-buttons { margin: 0; }

/* Contact page */
.contact-page { min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); display: flex; align-items: center; }
.contact-page .contact-row { width: 100%; }

/* Presence page: world map */
.presence { padding: 0 0 96px; box-sizing: border-box; }
.presence .page-intro-inner { padding: 80px clamp(24px, 4.5vw, 64px) 16px clamp(24px, 7vw, 96px); }
.map-wrap { padding: 0 clamp(8px, 3vw, 48px); }
.map-wrap .map { width: 100%; height: auto; display: block; }
.map-land { fill: var(--surface-200); stroke: var(--surface-200); stroke-width: 0.4; }
.map-pr { fill: #7a6523; stroke: var(--surface-100); stroke-width: 0.6; }
.map-team { fill: var(--gold-700); }
.map-ring { fill: none; stroke: var(--gold-700); stroke-width: 1.5; opacity: 0.7; }
.map-pin-also .map-ring { stroke: #7a6523; stroke-width: 1.5; opacity: 1; }
.map-dot { fill: var(--gold-700); stroke: var(--surface-100); stroke-width: 1.5; }
.map-label { font: 600 15px var(--font-sans); letter-spacing: 0.02em; fill: var(--ink-muted); paint-order: stroke; stroke: var(--surface-100); stroke-width: 4px; stroke-linejoin: round; }
.map-label-team { fill: var(--gold-700); font-size: 17px; font-weight: 700; }
.map-leader { stroke: #7a6523; stroke-width: 1; fill: none; }
.map-leader-team { stroke: var(--gold-700); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding: 40px clamp(24px, 4.5vw, 64px) 0 clamp(24px, 7vw, 96px); }
.region { display: flex; flex-direction: column; gap: 12px; }
.region-name { margin: 0; font: 600 12px/14px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); }
.region-list { margin: 0; font: 400 17px/28px var(--font-sans); color: var(--ink); }
@media (max-width: 760px) {
  .map-label, .map-leader { display: none; }
  .contact-page { align-items: flex-start; }
  /* Phones: crop the map to Africa, Europe and Asia so the highlighted countries are readable. */
  .map-wrap { padding: 0; overflow: hidden; }
  .map-wrap .map { width: 238%; max-width: none; margin-left: -104.8%; }
}
@media (prefers-reduced-motion: no-preference) {
  .map-pin-team .map-ring { transform-box: fill-box; transform-origin: center; animation: ringpulse 3.2s ease-out infinite; }
}
@keyframes ringpulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }

/* Who we are */
.about { position: relative; overflow: hidden; min-height: 70vh; min-height: 70svh; display: flex; align-items: center; padding: 96px clamp(24px, 4.5vw, 64px) 96px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 27, 25, 0.84) 0%, rgba(28, 27, 25, 0.58) 55%, rgba(28, 27, 25, 0.32) 100%); }
.about-inner { position: relative; max-width: 960px; display: flex; flex-direction: column; gap: 28px; }
.about-inner .eyebrow { margin: 0; }
.about-statement { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.24; color: var(--ink); }
.about-inner .wp-block-buttons { gap: 24px; align-items: center; margin: 0; }
/* On the brighter photograph the plain gold link needs a soft shade to stay readable. */
.about-inner .btn-ghost .wp-block-button__link { text-shadow: 0 1px 12px rgba(28, 27, 25, 0.9); }
.statement-inner .wp-block-buttons { margin: 0; }
.about-photo { padding: 48px clamp(24px, 4.5vw, 64px) 72px clamp(24px, 7vw, 96px); box-sizing: border-box; }
.about-fig { margin: 0; }
.about-fig img { width: 100%; height: auto; display: block; border-radius: 8px; }
.footer-nav .wp-block-navigation__container { flex-wrap: wrap; gap: 12px 24px; }
.footer-nav .wp-block-navigation-item__content { white-space: nowrap; }
.map-legend { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 20px clamp(24px, 4.5vw, 64px) 0 clamp(24px, 7vw, 96px); font: 600 12px/14px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: -2px; }
.lg-team::before { background: var(--gold-700); }
.lg-also::before { background: #7a6523; }
.team-tag { margin-left: 10px; padding: 2px 6px; border: 1px solid var(--gold-700); border-radius: 3px; font: 600 10px/12px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); vertical-align: 3px; }
