:root {
  --plum: #8A2A81;
  --plum-deep: #561B52;
  --orange: #E78639;
  --field: #1D2024;
  --paper: #F2EFE7;
  --amber: #E29B2E;
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --ink: #16181D;
  --muted: #5D6066;
  --line: #D8D9DC;
  --focus: #E29B2E;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --display: Raleway, Arial, sans-serif;
  --body: "General Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.55; }
button { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 9px 13px; color: #fff; background: var(--plum-deep); border-radius: var(--radius-sm); transform: translateY(-160%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { color: var(--ink); background: var(--surface); border-bottom: 4px solid var(--plum); }
.header-inner, .footer-inner, main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
.lewis-burke-logo { width: 190px; height: auto; display: block; }
.review-label { padding-left: 18px; color: var(--muted); border-left: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.header-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.prepared-by { display: inline-flex; align-items: center; gap: 9px; }
.prepared-by > span { white-space: nowrap; }
.dirango-logo { width: 94px; height: auto; display: block; }
.date-stamp { padding-left: 18px; border-left: 1px solid var(--line); white-space: nowrap; }

.intro-section { padding: 64px 0 38px; }
.eyebrow, .panel-kicker { margin: 0 0 14px; color: var(--plum); font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px; background: var(--amber); border-radius: 50%; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.06; }
h1 { max-width: 750px; font-size: clamp(2.7rem, 6vw, 5.3rem); font-weight: 700; letter-spacing: -.04em; }
.not-found-copy { max-width: 640px; margin: 22px 0; color: var(--muted); font-size: 1.1rem; }
.return-link { display: inline-block; padding: 11px 15px; color: #fff; background: var(--plum); border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; text-decoration: none; }
.return-link:hover { background: var(--plum-deep); }

.workspace { margin-bottom: 72px; }
.view-toolbar { padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.view-switcher { display: flex; flex-wrap: wrap; gap: 4px; }
.view-tab { padding: 10px 14px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; font-weight: 650; }
.view-tab:hover { color: var(--plum-deep); background: #F0E6EF; }
.view-tab.is-active { color: #fff; background: var(--plum); border-color: var(--plum); }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); gap: 24px; align-items: start; padding-top: 24px; }
.tree-panel, .detail-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.tree-panel { min-width: 0; padding: 24px 26px 18px; }
.detail-panel { min-height: 440px; position: sticky; top: 18px; padding: 28px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.panel-heading h2, .detail-empty h2, .detail-header h2 { font-size: clamp(1.55rem, 2vw, 2rem); letter-spacing: -.03em; }
.text-button { padding: 3px 0; color: var(--plum); background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 650; }
.text-button:hover { color: var(--plum-deep); }
.panel-intro { max-width: 600px; margin: 9px 0 23px; color: var(--muted); font-size: 13px; }
.sitemap-tree, .sitemap-children { padding: 0; margin: 0; list-style: none; }
.sitemap-children { margin-left: 19px; padding-left: 17px; border-left: 1px solid #E1E1E1; }
.sitemap-item { margin: 0; }
.node-row { min-height: 58px; display: flex; align-items: stretch; border-top: 1px solid #ECECEC; }
.node-row.is-selected { background: #F5EDF4; box-shadow: inset 3px 0 0 var(--plum); }
.node-disclosure, .node-spacer { width: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--plum); background: transparent; border: 0; font-family: Arial, sans-serif; font-size: 20px; }
.node-disclosure:hover { background: #F0E6EF; }
.node-select { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(160px, 1.15fr) minmax(120px, .85fr); align-items: center; gap: 10px; padding: 10px 8px 10px 0; color: var(--ink); text-align: left; background: none; border: 0; }
.node-select:hover .node-title, .node-select:focus-visible .node-title { color: var(--plum); }
.node-title { overflow: hidden; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.node-path { overflow: hidden; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.detail-empty { min-height: 370px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 17px; color: var(--plum); border: 1px solid #CFAFCB; border-radius: 50%; font-size: 28px; font-weight: 300; line-height: 1; }
.detail-empty p { max-width: 220px; margin: 11px auto 0; color: var(--muted); font-size: 13px; }
.detail-header .panel-kicker { margin-bottom: 9px; }
.detail-path { margin: 8px 0 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.detail-rule { height: 1px; margin: 23px 0 20px; background: var(--line); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; margin: 0; }
.detail-facts div:first-child { grid-column: 1 / -1; }
.detail-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-size: 13px; line-height: 1.5; }
.detail-block { margin-top: 23px; }
.detail-block h3 { margin-bottom: 9px; font-size: 14px; letter-spacing: -.01em; }
.detail-block p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.detail-block ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.detail-block li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #ECECEC; font-size: 12px; }
.detail-block li span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.site-footer { color: #D3D3D2; background: var(--field); }
.footer-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: #fff; }
.footer-separator { margin: 0 9px; color: var(--amber); }

@media (max-width: 900px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-panel { position: static; min-height: 0; }
  .detail-empty { min-height: 230px; }
}

@media (max-width: 640px) {
  .header-inner, .footer-inner, main { width: min(100% - 32px, 1240px); }
  .header-inner { min-height: 74px; }
  .lewis-burke-logo { width: 150px; }
  .review-label { display: none; }
  .header-meta { display: flex; margin-left: auto; }
  .prepared-by > span, .date-stamp { display: none; }
  .dirango-logo { width: 76px; }
  .intro-section { padding: 48px 0 32px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .view-switcher { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .view-tab { width: 100%; text-align: left; }
  .tree-panel, .detail-panel { padding: 20px 16px; }
  .panel-heading { display: block; }
  .panel-heading .text-button { margin-top: 14px; }
  .node-select { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .node-path { grid-column: 1; grid-row: 2; }
  .sitemap-children { margin-left: 8px; padding-left: 9px; }
  .detail-facts { grid-template-columns: 1fr; gap: 14px; }
  .detail-facts div:first-child { grid-column: auto; }
  .footer-inner { min-height: 115px; display: block; padding: 25px 0; }
  .footer-inner p + p { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
