:root {
  --ink: #1b140f;
  --paper: #f2e2bd;
  --paper-deep: #dfc995;
  --rust: #a94322;
  --rust-dark: #7f2d17;
  --blue: #6d9c9a;
  --blue-deep: #315f60;
  --sand: #c28a49;
  --cream: #fff3d2;
  --white: #fffaf0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #17120d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), var(--max));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; transform: rotate(45deg); font-family: Georgia, serif; font-size: 20px; }
.brand-mark::first-letter { transform: rotate(-45deg); }
.topbar nav { display: flex; gap: 30px; align-items: center; }
.topbar nav a:not(.nav-cta) { text-decoration: none; font-size: .92rem; color: rgba(255,255,255,.82); }
.topbar nav a:hover { color: white; }
.nav-cta { border: 1px solid rgba(255,255,255,.5); border-radius: 2px; padding: 9px 18px; color: white; background: rgba(0,0,0,.14); }
.nav-cta:hover { background: rgba(255,255,255,.12); }

.hero { min-height: 820px; height: 100vh; position: relative; overflow: hidden; color: var(--white); display: flex; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(17,12,8,.96) 0%, rgba(17,12,8,.82) 25%, rgba(17,12,8,.25) 63%, rgba(17,12,8,.14) 100%), linear-gradient(0deg, rgba(17,12,8,.55), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 66px auto 0; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--sand); font-weight: 800; letter-spacing: .17em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 760px; margin: 0; font-size: clamp(4rem, 8.3vw, 7.8rem); font-weight: 700; }
h1 em { color: var(--paper); font-style: italic; font-weight: 400; }
.hero-lead { max-width: 600px; margin: 30px 0; color: rgba(255,255,255,.83); font-size: 1.1rem; line-height: 1.7; }
.button { display: inline-flex; gap: 30px; justify-content: space-between; align-items: center; min-width: 250px; padding: 16px 22px; border: 0; border-radius: 2px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rust); color: white; box-shadow: 0 12px 35px rgba(74,23,10,.32); }
.button-primary:hover { background: #bd4d28; }
.hero-note { display: block; max-width: 600px; margin: 16px 0 0; color: rgba(255,255,255,.68); font-size: .88rem; }
.scroll-hint { position: absolute; z-index: 2; bottom: 30px; right: max(24px, calc((100vw - var(--max))/2)); display: flex; gap: 18px; text-decoration: none; color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .15em; }

.paper-section { position: relative; background-color: var(--paper); background-image: radial-gradient(rgba(76,51,23,.11) .7px, transparent .8px), linear-gradient(95deg, transparent, rgba(120,80,30,.05)); background-size: 5px 5px, 100% 100%; }
.hook, .audience { padding: 110px max(24px, calc((100vw - var(--max))/2)); }
.section-number { padding-bottom: 18px; border-bottom: 1px solid rgba(27,20,15,.28); color: rgba(27,20,15,.58); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.section-number.light { color: rgba(255,255,255,.52); border-color: rgba(255,255,255,.18); }
.hook-grid, .audience-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; margin: 70px 0; align-items: start; }
.kicker { color: var(--rust); }
.kicker.blue { color: #8bc2c0; }
h2 { margin: 0; font-size: clamp(2.75rem, 5vw, 5.2rem); }
.hook-copy { padding-top: 32px; font-size: 1.08rem; }
.hook-copy p { margin: 0 0 22px; }
.case-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-file { position: relative; min-height: 275px; padding: 34px; background: rgba(255,250,235,.56); border: 1px solid rgba(56,35,14,.25); box-shadow: 0 12px 30px rgba(65,43,17,.08); transform: rotate(-.5deg); }
.case-file:nth-child(2) { transform: rotate(.7deg) translateY(-12px); background: #f8eccd; }
.case-file:nth-child(3) { transform: rotate(-.2deg); }
.file-index { display: block; color: var(--rust); font: italic 2.4rem Georgia, serif; }
.case-file h3 { margin: 30px 0 10px; font: 700 1.45rem Georgia, serif; }
.case-file p { margin: 0; }
.file-stamp { position: absolute; right: 22px; bottom: 20px; color: rgba(127,45,23,.68); border: 2px solid currentColor; border-radius: 50%; padding: 6px 12px; font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; transform: rotate(-8deg); }

.evidence { position: relative; color: var(--white); background: #172222; padding: 110px max(24px, calc((100vw - var(--max))/2)); overflow: hidden; }
.evidence::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; border: 1px solid rgba(109,156,154,.22); border-radius: 50%; }
.evidence-inner { position: relative; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; margin-top: 70px; }
.evidence-title-wrap > p:last-child { max-width: 540px; color: rgba(255,255,255,.67); font-size: 1.06rem; }
.findings { display: grid; gap: 0; }
.findings article { display: grid; grid-template-columns: 36px 1fr; gap: 15px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.findings article > span { color: #8bc2c0; font-size: 1.2rem; }
.findings h3 { margin: 0 0 4px; font: 700 1.25rem Georgia, serif; }
.findings p { margin: 0; color: rgba(255,255,255,.62); }

.audience-grid { margin-bottom: 0; }
.wanted-list { border-top: 1px solid rgba(27,20,15,.32); }
.wanted-list p { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin: 0; padding: 22px 0; border-bottom: 1px solid rgba(27,20,15,.22); font-size: 1.05rem; }
.wanted-list span { color: var(--rust); font: italic 1.15rem Georgia, serif; }

.final-cta { padding: 120px 24px; background: linear-gradient(rgba(15,11,8,.7), rgba(15,11,8,.92)), url('assets/bugopolis-hero.png') center 63% / cover; color: white; text-align: center; }
.final-card { max-width: 900px; margin: auto; }
.final-card p:not(.kicker) { max-width: 570px; margin: 28px auto 32px; color: rgba(255,255,255,.72); font-size: 1.08rem; }

footer { display: flex; justify-content: space-between; align-items: center; padding: 35px max(24px, calc((100vw - var(--max))/2)); color: rgba(255,255,255,.6); background: #0f0c09; font-size: .85rem; }
.footer-brand { color: white; }

.contact-dialog { width: min(560px, calc(100% - 32px)); padding: 42px; color: var(--ink); background: var(--paper); border: 1px solid #6f4a25; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.contact-dialog::backdrop { background: rgba(10,7,4,.78); backdrop-filter: blur(4px); }
.contact-dialog h2 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
.contact-dialog > p:not(.kicker):not(.copy-status) { margin: 22px 0; }
.dialog-close { position: absolute; right: 18px; top: 15px; background: none; border: 0; font-size: 1.8rem; color: #62482f; }
.message-box { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 14px 14px 18px; background: rgba(255,255,255,.48); border: 1px dashed #8b6840; }
.message-box span { font-weight: 700; }
.message-box button { border: 0; padding: 10px 14px; background: var(--rust); color: white; font-weight: 700; }
.copy-status { min-height: 24px; margin: 10px 0 0; color: var(--blue-deep); font-size: .86rem; }

:focus-visible { outline: 3px solid #75bfbc; outline-offset: 3px; }

@media (max-width: 820px) {
  .topbar { width: calc(100% - 32px); min-height: 68px; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 720px; height: auto; padding: 110px 0 70px; }
  .hero-image { object-position: 67% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(17,12,8,.94), rgba(17,12,8,.48)), linear-gradient(0deg, rgba(17,12,8,.72), transparent); }
  .hero-copy { margin-top: 30px; width: calc(100% - 36px); }
  h1 { font-size: clamp(3.3rem, 16vw, 5.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-note { display: block; margin: 15px 0 0; }
  .scroll-hint { display: none; }
  .hook, .audience, .evidence { padding-top: 78px; padding-bottom: 78px; }
  .hook-grid, .audience-grid, .evidence-grid { grid-template-columns: 1fr; gap: 30px; margin: 48px 0; }
  .evidence-grid { margin-bottom: 0; }
  .hook-copy { padding-top: 0; }
  .case-files { grid-template-columns: 1fr; }
  .case-file:nth-child(2) { transform: rotate(.4deg); }
  .case-file { min-height: 230px; }
  .final-cta { padding: 88px 20px; }
  footer { align-items: flex-start; gap: 25px; flex-direction: column; }
}

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

/* Quest, lessons and practice: the current WordPress landing page. */
.st-bugopolis-page .st-bugopolis-hero-title { width: 100%; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 8.3vw, 7.8rem); line-height: .98; letter-spacing: -.035em; }
.st-bugopolis-hero-title__line { display: block; white-space: nowrap; }

@media (max-width: 820px) {
  .st-bugopolis-page .st-bugopolis-hero-title { font-size: clamp(1rem, 13vw, 5.6rem); }
}

.st-bugopolis-page .button,
.st-bugopolis-page .nav-cta { text-decoration: none; }
.st-bugopolis-page .hero-lead p { margin: 0; }
.st-bugopolis-page .hero-lead p + p { margin-top: 16px; }

.st-bugopolis-page .hook-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.st-bugopolis-page .hook-copy { padding-top: 0; }
.st-bugopolis-page .hook-copy p { margin: 0; }
.st-bugopolis-path { padding: 0; margin: 0; list-style: none; }
.st-bugopolis-path__step { padding-bottom: 86px; }

.st-bugopolis-skills { padding: 110px max(24px, calc((100vw - var(--max))/2)); background: #172222; color: var(--white); }
.st-bugopolis-skills h2 { max-width: 1100px; margin: 56px 0; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.18; letter-spacing: -.025em; }
.st-bugopolis-skills__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.st-bugopolis-skills__item { position: relative; padding: 32px; border: 1px solid rgba(139,194,192,.3); background: rgba(139,194,192,.045); }
.st-bugopolis-skills__number { color: #8bc2c0; font: italic 1.25rem Georgia, serif; }
.st-bugopolis-skills__item h3 { max-width: 420px; margin: 20px 0 16px; font: 700 1.8rem/1.15 Georgia, serif; }
.st-bugopolis-skills__item p { margin: 0; color: rgba(255,255,255,.75); }

.st-bugopolis-fit { color: var(--ink); background-color: var(--paper); }
.st-bugopolis-fit::before { display: none; }
.st-bugopolis-fit h2 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); line-height: 1.08; }
.st-bugopolis-fit .evidence-grid { gap: 72px; }
.st-bugopolis-fit .evidence-title-wrap > p:last-child,
.st-bugopolis-fit .findings p { color: #594735; }
.st-bugopolis-fit .findings article { border-color: rgba(27,20,15,.22); }
.st-bugopolis-fit .findings article:first-child { padding-top: 0; }
.st-bugopolis-fit .findings article > span { color: var(--rust); }
.st-bugopolis-fit .findings h3 { margin-bottom: 12px; font-size: 1.55rem; line-height: 1.2; }

@media (max-width: 1020px) {
  .st-bugopolis-fit .evidence-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .st-bugopolis-skills { padding: 78px 24px; }
  .st-bugopolis-skills h2 { margin: 40px 0; }
  .st-bugopolis-skills__grid { grid-template-columns: 1fr; }
  .st-bugopolis-skills__item { padding: 26px; }
}

.st-bugopolis-page .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; }
.st-bugopolis-page .topbar .st-bugopolis-nav { gap: 24px; }
.st-bugopolis-page .topbar .st-bugopolis-nav a { white-space: nowrap; font: 15px/1.4 Inter, Arial, sans-serif; }
.st-bugopolis-page .topbar .st-bugopolis-nav a[aria-current] { color: var(--paper-deep); text-decoration: underline; text-underline-offset: 7px; }
.st-bugopolis-page .st-bugopolis-nav-cta { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; justify-self: end; justify-content: center; width: 220px; white-space: nowrap; border-color: var(--sand); background: var(--rust); color: var(--white); font-weight: 700; }
.st-bugopolis-page .st-bugopolis-nav-cta:hover { background: var(--rust-dark); }
@media (max-width: 980px) {
  .st-bugopolis-page .topbar { grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; padding: 18px 0 14px; }
  .st-bugopolis-page .topbar .st-bugopolis-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: center; }
  .st-bugopolis-page .topbar .st-bugopolis-nav a { display: block; }
  .st-bugopolis-page .st-bugopolis-nav-cta { margin-left: auto; }
}
@media (max-width: 520px) {
  .st-bugopolis-page .topbar { grid-template-columns: minmax(0, 1fr) 180px; gap: 14px; }
  .st-bugopolis-page .topbar .brand { gap: 9px; font-size: 12px; }
  .st-bugopolis-page .topbar .brand-mark { width: 28px; height: 28px; }
  .st-bugopolis-page .st-bugopolis-nav-cta { width: 180px; padding: 9px 12px; font-size: 12px; }
  .st-bugopolis-page .topbar .st-bugopolis-nav { justify-content: space-between; gap: 8px; }
  .st-bugopolis-page .topbar .st-bugopolis-nav a { font-size: 12px; }
}
@media (max-width: 380px) {
  .st-bugopolis-page .topbar .brand { gap: 6px; font-size: 11px; }
  .st-bugopolis-page .topbar .brand > span:last-child { display: none; }
}

.st-bugopolis-page .topbar { position: fixed; z-index: 1000; }
.st-bugopolis-page .topbar::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: -1px; left: 50%; width: 100vw; transform: translateX(-50%); background: rgba(23,18,13,.7); border-bottom: 1px solid rgba(255,243,210,.18); backdrop-filter: blur(10px); pointer-events: none; }
.admin-bar.st-bugopolis-page .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar.st-bugopolis-page .topbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar.st-bugopolis-page .topbar { top: 0; } }
