/* Shared/light refinement (owner feedback 16 Nov 2026). Load AFTER /landing/style.css.
   Scope: (1) wordmark face/weight, (2) section 01 fourth box grid. Nothing else is touched. */

/* 1. Wordmark: lighter, tech-oriented face. Martius is an existing, tracked asset (SIL OFL 1.1,
   assets/fonts/martius/Martius-Regular.ttf + OFL.txt). Single weight (400), so no synthetic bold.
   Falls back to the current JetBrains Mono stack if the file is unavailable. */
@font-face{font-family:'Martius';src:url(/assets/fonts/martius/Martius-Regular.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
.header .brand,footer .brand{font-family:'Martius',var(--display);font-weight:400;font-synthesis:none;letter-spacing:.01em}
.header .brand>span,footer .brand>span{font-weight:400}

/* 2. Section 01 only: the fourth disclosure (Ongoing ServiceTitan Support & Enhancements) was
   spanning the full row (style.css .service-disclosure:last-child{grid-column:1/-1}), leaving an empty
   cell beside box 3. Let it take that cell so it touches box 3 (left) and box 2 (above).
   #faq and #consulting lists are unchanged. Mobile is already one column. */
#capabilities .service-list>.service-disclosure:nth-child(4){grid-column:auto}


.header .landing-theme {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.header .landing-theme[hidden] { display: none; }
.header .landing-theme:hover { border-color: var(--accent); }
@media (max-width: 400px) {
  .header.wrap { width: calc(100% - 24px); gap: 6px; }
  .header-actions { gap: 5px; }
  .header .nav-cta { padding: 8px; gap: 5px; }
}

/* Public light mode shares Default's teal actions, sage canvas and reading ink. */
html[data-palette="light"] {
  --bg: #f3f7f6;
  --ink: #1d3334;
  --muted: #4e6565;
  --line: #bdcfca;
  --accent: #15616d;
  --accent-soft: #e1efed;
  --surface: #e4eeea;
  --raised: #fff;
  --inverse: #fff;
  --paper: var(--surface);
  --paper-ink: var(--ink);
  --grid: #29594d18;
}

html[data-palette="light"] .hex-hero {
  --bg: #154d55;
  --ink: #fff;
  --muted: #deeeeb;
  --accent: #b3eae0;
  --inverse: #103c42;
  --line: #588489;
  --grid: #e1efed15;
  color: var(--ink);
  background: radial-gradient(ellipse at 82% 36%, #23696e, transparent 62%), var(--bg);
}
html[data-palette="light"] .hex-heading h1 { color: var(--ink); }
html[data-palette="light"] .hex-hero .primary { color: var(--inverse); }
html[data-palette="light"] .atlas-panel {
  --surface: #f8fbf9;
  --raised: #fff;
  --accent: #15616d;
  --muted: #405e60;
  --line: #bbcfc9;
  color: #1d3334;
}
html[data-palette="light"] #atlas-dots circle { fill: var(--accent); }
html:root[data-palette="light"] .work {
  --accent: #15616d;
  --muted: #4e6565;
  --ink: #1d3334;
  --accent-soft: #e1efed;
  --surface: #fff;
  --line: #bdcfca;
  background: #fff;
}
html:root[data-palette="light"] #work .section-top .eyebrow:first-child { border-left-color: var(--accent); }
html[data-palette="light"] #work .sample-grid { background: var(--surface); }
html[data-palette="light"] .mini-nav,
html[data-palette="light"] .mini-table > div { border-color: var(--line); }
html[data-palette="light"] :is(.mini-nav, .mini-eyebrow, .mini-stats span) { color: var(--muted); }
html[data-palette="light"] :is(.mini-brand, .mini-main, .mini-main h3) { color: var(--ink); }
html[data-palette="light"] :is(.mini-tag, .avatar) { background: var(--accent-soft); color: var(--accent); }
html[data-palette="light"] .service-disclosure summary:focus-visible { outline-color: var(--accent); }
@media (min-width: 761px) and (max-width: 1100px) {
  .header { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 12px; }
  .header nav { flex-basis: 100%; order: 3; justify-content: space-between; gap: 12px; }
}
@media (max-width: 399px) {
  .header.wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; height: auto; padding-block: 8px; }
  .header .brand { grid-area: 1 / 1; justify-self: start; }
  .header-actions { display: contents; }
  .header .landing-theme { grid-area: 1 / 2; justify-self: end; }
  .header-actions > span { grid-area: 2 / 1; }
  .header-actions .nav-cta { grid-area: 2 / 2; white-space: nowrap; }
}
