/*
Theme Name: Enlightec
Theme URI: https://enlightec.com
Author: Enlightec Ltd.
Author URI: https://enlightec.com
Description: Dark equipment-room theme for Enlightec Ltd. — an Illinois and Missouri
 computer company. Built around the Class 042 service and Class 009 goods trademark
 classifications. No page builder, no framework, no external dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: enlightec
Tags: business, one-column, custom-menu, custom-logo, dark, translation-ready
*/

/* =========================================================================
   Enlightec Ltd. — site stylesheet
   Design world: equipment-room. Anodized steel ground, amber console accent,
   rack-faceplate panels with silkscreen legends.
   Single committed theme (dark). Every colour painted explicitly.
   ========================================================================= */

:root {
  /* --- ground & surfaces (cool steel bias, never pure neutral) --- */
  --ground:      #0a0d0f;
  --ground-alt:  #0e1417;
  --panel:       #12181b;
  --panel-hi:    #171f22;
  --rule:        #232c30;
  --rule-soft:   #192124;

  /* --- ink --- */
  --ink:         #e2e8e9;
  --ink-2:       #9aa6aa;
  --ink-3:       #7c8b91;

  /* --- signal --- */
  --amber:       #e8a33d;   /* Class 042 · services · primary accent */
  --amber-deep:  #b87c22;
  --amber-wash:  rgba(232, 163, 61, 0.10);
  --teal:        #55a08e;   /* Class 009 · goods */
  --teal-wash:   rgba(85, 160, 142, 0.10);
  --alert:       #d4675a;

  /* --- type --- */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* --- scale --- */
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 1.95rem);
  --step-3:  clamp(1.95rem, 1.7rem + 1.25vw, 2.8rem);
  --step-4:  clamp(2.5rem, 1.95rem + 2.7vw, 4.4rem);

  /* --- metrics --- */
  --shell: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 3px;   /* machined edge, not a rounded card */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background-color: var(--ground);
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(232, 163, 61, 0.075), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(85, 160, 142, 0.055), transparent 60%),
    radial-gradient(rgba(226, 232, 233, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 22px 22px;
  background-attachment: scroll, scroll, fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f5bd6a; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================================
   Type
   ========================================================================= */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
h4 { font-size: var(--step-0); letter-spacing: 0; }

p { margin: 0; }
.prose { display: flex; flex-direction: column; gap: 1.05em; max-width: 66ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }

/* silkscreen legend — the small monospace labels stencilled on equipment */
.legend {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.legend--amber { color: var(--amber); }
.legend--teal  { color: var(--teal); }

/* =========================================================================
   Layout primitives
   ========================================================================= */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--alt { background: var(--ground-alt); }
.band + .band { border-top: 1px solid var(--rule-soft); }

.stack { display: flex; flex-direction: column; }
.stack-6  { gap: 0.375rem; }
.stack-12 { gap: 0.75rem; }
.stack-20 { gap: 1.25rem; }
.stack-32 { gap: 2rem; }
.stack-48 { gap: 3rem; }

/* explicit column counts — auto-fit produced a 3-up for two-item groups */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
/* grid items default to min-width:auto, which lets wide children (diagrams,
   tables) push the page sideways instead of scrolling inside their own box */
.grid > * { min-width: 0; }
.grid--top { align-items: start; }

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* section heading with a ruled gutter legend, like a patch-panel label */
.rule-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--rule);
}
.rule-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
}
.rule-head p { color: var(--ink-2); max-width: 62ch; }

@media (min-width: 880px) {
  .rule-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* =========================================================================
   Header / navigation
   ========================================================================= */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: #10130f;
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.025em;
}
.brand__suffix { color: var(--ink-3); font-weight: 600; }

.nav { display: none; }
@media (min-width: 940px) {
  .nav { display: flex; align-items: center; gap: 0.15rem; }
}
.nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--amber); background: var(--amber-wash); }

.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
}
@media (min-width: 940px) { .navtoggle { display: none; } }

.navdrawer {
  display: none;
  border-top: 1px solid var(--rule);
  padding-block: 0.75rem 1.25rem;
}
.navdrawer.is-open { display: block; }
@media (min-width: 940px) { .navdrawer, .navdrawer.is-open { display: none; } }
.navdrawer a {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--rule-soft);
}
.navdrawer a[aria-current="page"] { color: var(--amber); }

/* status rail: the thin lit strip under a rack faceplate */
.rail {
  border-bottom: 1px solid var(--rule-soft);
  background: linear-gradient(90deg, var(--amber-wash), transparent 55%, var(--teal-wash));
}
.rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 0.5rem;
}
.rail__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.led {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--amber);
  box-shadow: 0 0 7px 1px rgba(232, 163, 61, 0.65);
}
.led--teal { background: var(--teal); box-shadow: 0 0 7px 1px rgba(85, 160, 142, 0.6); }

/* =========================================================================
   Hero
   ========================================================================= */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-block: 0.7rem 0; }
.hero__sub { font-size: var(--step-1); color: var(--ink-2); max-width: 44ch; line-height: 1.5; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* console: the serial terminal this shop actually lives in */
.console {
  background: #080b0c;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
}
.console__body {
  margin: 0;
  padding: 1.05rem 1.1rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.85;
  color: #b9c4c7;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 19em;
}
.console__body .ok { color: var(--teal); }
.console__body .hi { color: var(--amber); }
.console__body .mute { color: #6b777b; }
.caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--amber);
  vertical-align: -0.18em;
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--amber); color: #14100a; border-color: var(--amber); }
.btn--primary:hover { background: #f5bd6a; border-color: #f5bd6a; color: #14100a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-wash); }

/* =========================================================================
   Panels & cards — faceplates, not rounded cards
   ========================================================================= */

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.45rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.panel--flush { padding: 0; overflow: hidden; }
.panel h3 { margin: 0; }
.panel p { color: var(--ink-2); font-size: 0.965rem; }

.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

a.panel { text-decoration: none; color: var(--ink); transition: border-color 0.15s ease, background-color 0.15s ease; }
a.panel:hover { border-color: #3a474d; background: var(--panel-hi); color: var(--ink); }

/* class tag — encodes which trademark registration covers the line item */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.24rem 0.5rem;
  border-radius: 2px;
  border: 1px solid;
  white-space: nowrap;
}
.tag--042 { color: var(--amber); border-color: rgba(232, 163, 61, 0.4); background: var(--amber-wash); }
.tag--009 { color: var(--teal);  border-color: rgba(85, 160, 142, 0.4); background: var(--teal-wash); }
.tag--plain { color: var(--ink-3); border-color: var(--rule); background: transparent; }

/* semantic severity — separate from the brand accent */
.tag--crit { color: var(--alert); border-color: rgba(212, 103, 90, 0.45); background: rgba(212, 103, 90, 0.1); }
.tag--warn { color: #d9a441; border-color: rgba(217, 164, 65, 0.4); background: rgba(217, 164, 65, 0.09); }
.tag--ok   { color: var(--teal); border-color: rgba(85, 160, 142, 0.4); background: var(--teal-wash); }

/* two registered classes, side by side */
.classpair { display: grid; gap: 1rem; }
@media (min-width: 520px) { .classpair { grid-template-columns: 1fr 1fr; } }
.classpair > div { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.classpair p { font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); }

/* numbered spec list */
.speclist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.speclist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  font-size: 0.95rem;
}
.speclist li:last-child { border-bottom: 0; }
.speclist li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.6em;
  background: var(--amber);
  border-radius: 50%;
}
.speclist--teal li::before { background: var(--teal); }

/* =========================================================================
   Vendor plates
   ========================================================================= */

.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.plate {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  padding: 1rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--ink);
}
.plate__name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.plate { padding-block: 1.15rem 1.05rem; }
.plate__kind { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-3); }

/* =========================================================================
   Tables — spec sheets
   ========================================================================= */

/* Horizontal scroll is contained here so the page body never moves sideways.
   The edge shadows appear only while there is more table to reach. */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: #3a474d var(--panel);
  background:
    linear-gradient(to right, var(--panel) 40%, rgba(18, 24, 27, 0)) left center / 44px 100% no-repeat local,
    linear-gradient(to left,  var(--panel) 40%, rgba(18, 24, 27, 0)) right center / 44px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)) right center / 16px 100% no-repeat scroll,
    var(--panel);
}
.tablewrap::-webkit-scrollbar { height: 9px; }
.tablewrap::-webkit-scrollbar-track { background: var(--panel); }
.tablewrap::-webkit-scrollbar-thumb { background: #3a474d; border-radius: 9px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.93rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
th, td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--panel-hi);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
tbody td { color: var(--ink-2); }
tbody th { font-family: var(--body); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =========================================================================
   Timeline — a real sequence, so it is numbered by year
   ========================================================================= */

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule-soft);
}
.timeline li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 720px) {
  .timeline li { grid-template-columns: 6.5rem 1fr; }
}
.timeline__year {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.timeline p { color: var(--ink-2); }

/* =========================================================================
   Callouts
   ========================================================================= */

.note {
  border: 1px solid var(--rule);
  border-left: 2px solid var(--amber);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.note p { color: var(--ink-2); font-size: 0.94rem; }
.note--teal { border-left-color: var(--teal); }
.note--quiet { border-left-color: var(--rule); }

/* =========================================================================
   Contact
   ========================================================================= */

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #0b0f11;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); outline: none; }

.contactlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contactlist strong { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.contactlist span, .contactlist a { font-size: 1.02rem; }

/* =========================================================================
   Footer
   ========================================================================= */

.foot { border-top: 1px solid var(--rule); background: #080b0c; padding-block: 3rem 2.25rem; }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.foot a:hover { color: var(--amber); }
.foot__base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
.foot__base p { color: var(--ink-3); font-size: 0.85rem; }
.disclaimer { color: var(--ink-3); font-size: 0.82rem; max-width: 92ch; line-height: 1.6; }

/* =========================================================================
   Icons
   ========================================================================= */

.icon {
  width: 1.4em;
  height: 1.4em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 2rem; height: 2rem; }

.iconplate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  color: var(--amber);
}
.iconplate--teal { color: var(--teal); }
.panel__head { display: flex; align-items: flex-start; gap: 0.9rem; }
.panel__head h3 { margin-top: 0.25rem; }

/* =========================================================================
   Figures — diagrams, illustrations, photographs
   ========================================================================= */

.figure {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.figure > svg { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-3);
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.85rem;
  max-width: 78ch;
}
.figure--map > svg { max-width: 360px; margin-inline: auto; }

/* wide diagrams keep their own scroll box on small screens */
.figure--wide { padding-inline: 0; min-width: 0; }
.figure--wide .figscroll {
  overflow-x: auto;
  padding-inline: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: #3a474d var(--panel);
}
.figure--wide .figscroll > svg { display: block; min-width: var(--figmin, 620px); height: auto; }
.figure--wide figcaption { padding-inline: 1.25rem; }

/* photo slot — real <img>, replaceable in the WordPress media library */
.shot { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
}
.shot figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================================
   Sales furniture — proof strip, value cards, founder
   ========================================================================= */

.proof {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof > div {
  background: var(--panel);
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.proof__fig {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.proof__label { font-size: 0.92rem; color: var(--ink-2); }

.founder { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: 260px 1fr; } }

/* leadership — two officers, identical treatment so neither reads as senior
   to the other by layout alone; the role legend does that work */
.people { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
.people > * { min-width: 0; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.person {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.35rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .person { grid-template-columns: 148px 1fr; } }
.person .shot img { border-color: var(--rule); }
.person__body { display: flex; flex-direction: column; gap: 0.6rem; }
.person__body h3 { margin: 0; font-size: var(--step-1); }
.person__body p { color: var(--ink-2); font-size: 0.945rem; }
.person__why {
  border-left: 2px solid var(--amber);
  padding-left: 0.85rem;
  color: var(--ink-2);
}
.person .chips { margin-top: 0.25rem; }

/* link list — a row of destinations, each with what it is */
.linkgrid { display: grid; gap: 0.6rem; grid-template-columns: 1fr; margin-top: 0.35rem; }
@media (min-width: 640px) { .linkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.linkrow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.7rem;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel-hi);
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.linkrow:hover { border-color: var(--amber); color: var(--amber); }
.linkrow .icon { grid-row: span 2; color: var(--amber); width: 1.15rem; height: 1.15rem; }
.linkrow__label { font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.linkrow__note {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  word-break: break-all;
}

.sig {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* social chips — typographic, matching the vendor plates */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip .icon { width: 1rem; height: 1rem; }

/* location cards */
.loc { display: flex; flex-direction: column; gap: 0.55rem; }
.loc__name { display: flex; align-items: center; gap: 0.6rem; }
.loc__name h3 { margin: 0; }
.loc .icon { color: var(--amber); }

/* =========================================================================
   WordPress-generated navigation lists
   ========================================================================= */
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.navdrawer__list { list-style: none; margin: 0; padding: 0; }
.nav .nav__list a { padding: 0.5rem 0.7rem; }

/* =========================================================================
   Single-file preview build only (injected by build.py)
   ========================================================================= */
.route { display: none; }
.route.is-active { display: block; }
