/* Toolbox palette for the portfolio home. Shared case and subsite styles stay scoped. */
body.home-single.cockpit-classic {
  --home-paper: #fff8ec;
  --home-band: #fff3e0;
  --home-soft: #fff2d8;
  --home-border: #efe3cc;
  --home-orange: #ff6b35;
  --home-action: var(--home-orange);
  --home-action-hover: #ff6b35;
  --home-gold: #ffb800;
  --home-green: #22c55e;
  --home-green-light: #e8f7ea;
  --home-light-text: #8a7d72;
  --home-ink: #2d2d2d;
  --home-muted: #6b5e53;
  --home-shadow: 0 8px 24px rgb(0 0 0 / 5%);
  --bg: var(--home-paper);
  --ink: var(--home-ink);
  --muted: var(--home-muted);
  --line: var(--home-border);
  --accent: var(--home-action);
  background: var(--home-paper);
  color: var(--home-ink);
}
html:has(.home-single) { background: #fff8ec; }
.home-single :focus-visible { outline: 2px solid var(--home-action); outline-offset: 3px; }
.cockpit-classic.home-single .personal-topbar {
  background: #fff;
  border-color: var(--home-border);
  box-shadow: 0 2px 8px #5236130a;
}
.cockpit-classic.home-single .workspace { --home-max: 1200px; }
.cockpit-classic.home-single .workspace-title { color: var(--home-ink); }
.cockpit-classic.home-single .workspace-title > a { display: flex; align-items: center; gap: 10px; }
.home-single .home-brand-avatar {
  flex: none;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--home-soft);
}
.home-single .workspace-title b { color: var(--home-ink); font-weight: 700; font-size: 18px; }
.home-single .home-header-inner .top-actions { display: none; }
.cockpit-classic.home-single #overview {
  background: #fff8ec url("../img/home-media/toolbox-banner-background-aligned.webp") center / cover no-repeat;
}
.home-single .home-banner-inner {
  min-height: 530px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-block: 0;
}
.home-single .home-feature-badge {
  border-color: rgb(255 107 53 / 30%);
  color: var(--home-action);
  padding: 8px 20px;
  margin-bottom: 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.cockpit-classic.home-single .home-feature-title {
  margin: 0 0 20px;
  color: var(--home-ink);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: normal;
}
.home-single .home-feature-title span { color: var(--home-action); }
.home-single .home-feature-summary {
  max-width: 580px;
  margin: 0 0 32px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 1.6;
}
.home-single .home-feature-actions { gap: 16px; margin-bottom: 40px; }
.home-single .home-feature-actions a {
  min-height: 53px;
  border-color: var(--home-action);
  border-radius: 24px;
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.home-single .home-feature-actions .home-feature-primary {
  background: var(--home-action);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 16px rgb(255 107 53 / 35%);
}
.home-single .home-feature-actions .home-feature-primary:hover { box-shadow: 0 8px 24px rgb(255 107 53 / 45%); }
.home-single .home-feature-actions .home-feature-secondary { color: var(--home-action); background: #fff; border-width: 2px; }
.home-single .home-feature-actions .home-feature-secondary:hover { background: var(--home-soft); }
.home-single .home-office {
  width: min(100%, 580px);
  justify-self: end;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  --signal-color: #ff8237;
}
.home-single .home-office-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% 8% 9%;
  height: 5%;
  border-radius: 50%;
  background: #51301a25;
  filter: blur(11px);
  pointer-events: none;
}
.home-single .home-office-visual .scene-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  filter: drop-shadow(0 5px 7px #55372122);
}
.office-robot-head-marks {
  fill: #ffd18e;
  stroke: #fff1cd;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px #ff821b);
  opacity: 0;
}
.home-office.is-playing .office-robot-head-marks {
  animation: office-head-light 1.4s ease-in-out infinite;
}
@keyframes office-head-light {
  0%, 40%, 100% { opacity: 0; }
  13%, 26% { opacity: .96; }
}
.home-single .office-signal-line { stroke-width: 2; stroke-dasharray: 4 7; }
.home-single .office-signal-dot { stroke-width: 2; }
.home-single .office-decision-ring { fill: #ffb05525; stroke: #cf5524; }
.office-frame-light {
  fill: none;
  stroke: #fff3ac;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 9 91;
  filter: drop-shadow(0 0 6px #ff9800);
}
.home-office.is-playing .office-frame-light { animation: office-frame-sweep 4.8s linear infinite; }
.office-origin-flash {
  fill: #ffd384;
  stroke: #fff4c2;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}
.home-office.is-playing .office-origin-flash { animation: office-decision-pulse 2.7s ease-out infinite; }
.office-robot-blink, .office-robot-badge, .office-robot-sparks circle { opacity: 0; }
.office-robot-lid, .office-robot-blink-line { fill: none; stroke-linecap: round; }
.office-robot-lid { stroke: #09151c; stroke-width: 9; }
.office-robot-blink-line { stroke: #a1dcff; stroke-width: 2; }
.office-robot-badge {
  fill: #ffba3d20;
  stroke: #fff3b1;
  stroke-width: 2;
  filter: drop-shadow(0 0 5px #ff9b25);
}
.office-robot-sparks circle { fill: #fff0ae; filter: drop-shadow(0 0 4px #ff8a19); }
.home-office.is-playing .office-robot-blink { animation: office-robot-blink 3.2s ease-in-out infinite; }
.home-office.is-playing .office-robot-badge { animation: office-robot-badge 2.7s ease-in-out infinite; }
.home-office.is-playing .office-robot-sparks circle { animation: office-robot-sparks 2.7s var(--spark-delay) ease-out infinite; }
@keyframes office-frame-sweep { to { stroke-dashoffset: -100; } }
@keyframes office-robot-blink {
  0%, 44%, 53%, 100% { opacity: 0; }
  47%, 49% { opacity: 1; }
}
@keyframes office-robot-badge {
  0%, 100% { opacity: .12; }
  43% { opacity: .75; }
}
@keyframes office-robot-sparks {
  0% { opacity: 0; transform: translate(0, 0); }
  4% { opacity: 1; }
  33%, 100% { opacity: 0; transform: translate(var(--spark-x), var(--spark-y)); }
}
.home-single .home-office-controls button { color: var(--home-action); }
.home-single .home-office-controls button:is(:hover, :focus-visible) {
  border-color: #f2c9ad;
  background: var(--home-soft);
}
.home-single .home-statement-band { background: var(--home-orange); }
.home-single .personal-statement {
  width: 100%;
  min-height: 20px;
  height: 20px;
  padding: 0;
  gap: 0;
}
.home-single .statement-symbol { display: none; }
.home-single .statement-viewport { mask-image: none; }
.home-single .statement-marquee { animation-duration: 50s; }
.home-single :is(.statement-symbol, .statement-copy),
.home-single .statement-copy strong[class] { color: #fff; font-weight: 500; }
.home-single .statement-copy { font-size: 11px; line-height: 20px; }
.home-single .statement-full-toggle {
  position: absolute;
  inset: 0 0 0 auto;
  min-height: 20px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  gap: 4px;
  background: var(--home-orange);
  color: #fff;
}
.home-single .statement-full-toggle:hover { background: var(--home-action-hover); }
.home-single .statement-full-panel {
  right: var(--home-gutter);
  width: min(900px, calc(100% - 2 * var(--home-gutter)));
  background: #fffaf3;
  border-color: var(--home-border);
  box-shadow: 0 12px 32px #52361326;
}
.home-single :is(.statement-full-heading, #statement-full-text) { color: var(--home-ink); }
.home-single #statement-full-text strong { color: var(--home-action); }
.home-single .statement-full-close { color: var(--home-action); border-color: var(--home-border); }

.cockpit-classic.home-single :is(#works, #management) {
  --major-background: var(--home-band);
  --major-border: var(--home-border);
  --major-number: var(--home-action);
  --major-text: var(--home-ink);
}
.cockpit-classic.home-single #works { margin-top: 0; }
.cockpit-classic.home-single .major-module-heading .quiet-tag,
.home-single :is(.major-module-caption, .catalog-note) { color: var(--home-muted); }
.home-single #works .product-category[data-category] {
  --theme-border: var(--home-border);
  --category: var(--home-orange);
  --category-pale: var(--home-soft);
  --category-button: var(--home-orange);
  background: #fff;
}
.home-single #works .product-category:is([data-category="system"], [data-category="data"], [data-category="content"]) {
  background: var(--home-band);
}
.home-single #works .product-category[data-category="data"] {
  --category: #b87800;
  --category-pale: #fff8e8;
  --category-button: var(--home-gold);
}
.home-single #works .product-category[data-category="scripts"] {
  --category: var(--home-green);
  --category-pale: var(--home-green-light);
  --category-button: var(--home-green);
}
.home-single #works .compact-tool-category .product-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.home-single #works .product-category {
  padding: 80px calc((100% - var(--home-width)) / 2);
}
.home-single #works .product-category-heading { margin-bottom: 48px; }
.home-single #works .product-category-heading h3 { font-size: 32px; line-height: 1.5; font-weight: 700; }
.home-single #works .product-category-heading h3 small { display: inline-block; white-space: nowrap; line-height: 1.25; }
.home-single #works .product-category-heading p { font-size: 16px; line-height: 1.5; }
.home-single #works .category-source-stats { font-size: 13px; }
.home-single #works .compact-tool-category .product-card {
  padding: 16px;
  gap: 10px;
  border-radius: 16px;
}
.home-single #works .compact-tool-category .product-card-top { padding: 0; font-size: 12px; }
.home-single #works .compact-tool-category .product-card-top > span { padding: 4px 10px; border-radius: 6px; }
.home-single #works .compact-tool-category :is(.product-preview, .product-preview-shell) { margin: 0; }
.home-single #works .compact-tool-category .product-preview { height: 140px; border-radius: 10px; }
.home-single #works .compact-tool-category .product-card-copy { padding: 0; gap: 10px; }
.home-single #works .compact-tool-category .product-card-copy h3 {
  min-height: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.home-single #works .compact-tool-category .product-card-copy h3 a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-single #works .compact-tool-category .product-description {
  margin: 0;
  min-height: 39px;
  max-height: 39px;
  font-size: 13px;
  line-height: 1.5;
}
.home-single #works .compact-tool-category .product-card dl { gap: 10px; margin: 0; }
.home-single #works .compact-tool-category .product-card dl > div { grid-template-columns: 26px minmax(0, 1fr); font-size: 12px; line-height: 1.5; }
.home-single #works .compact-tool-category .product-actions { gap: 8px; padding: 0; }
.home-single #works .compact-tool-category .product-actions a {
  min-height: 39px;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
.home-single #works :is(.product-category-heading h3, .product-card-copy h3, .product-card dt, .product-flow-art b) {
  color: var(--home-ink);
}
.home-single #works :is(.product-category-heading p, .category-source-stats, .category-count-note,
  .product-card-top small, .product-description, .product-card dd, .product-evidence) { color: var(--home-muted); }
.home-single #works .category-source-stats i { background: var(--category-button); }
.home-single #works :is(.category-source-stats small, .category-expand, .product-preview > span) {
  background: #fff8ef;
  border-color: var(--home-border);
  color: var(--category);
}
.home-single #works .product-category-number { box-shadow: 0 3px 7px #52361314; }
.home-single #works .product-card {
  background: #fff;
  border-color: var(--home-border);
  box-shadow: var(--home-shadow);
}
.home-single #works .product-card:hover { border-color: #efb992; }
.home-single #works :is(.product-preview, .product-flow-art) {
  background: var(--category-pale);
  border-color: var(--home-border);
}
.home-single #works .product-flow-art i { background: var(--home-action); }
.home-single #works :is(.product-preview-controls, .product-preview-controls button) { color: var(--home-action); }
.home-single #works .product-preview-controls button:hover { background: var(--home-soft); }
.home-single #works .product-actions .product-primary {
  background: var(--category-button);
  border-color: var(--category-button);
  box-shadow: none;
  color: #fff;
}
.home-single #works .product-primary:hover { filter: brightness(.93); }
.home-single #works :is(.product-secondary, .filters button, .work-search) {
  background: #fff8ef;
  color: var(--home-action);
  border-color: var(--home-border);
}
.home-single #works .filters button.selected { background: var(--home-action); border-color: var(--home-action); color: #fff; }
.home-single #works .product-actions .product-secondary { background: var(--category-pale); color: var(--category); }
.home-single #works .work-search input { color: var(--home-ink); }

.cockpit-classic.home-single :is(.infographic-overview, .quiet-support, .about-section.personal-about) {
  background: #fff;
  border-color: var(--home-border);
  box-shadow: var(--home-shadow);
}
.cockpit-classic.home-single :is(.infographic-overview h2, .personal-about .about-copy h2) { color: var(--home-ink); }
.home-single :is(.infographic-overview p, .about-copy p, .personal-about-presenter figcaption, .personal-work-strip figcaption) {
  color: var(--home-muted);
}
.home-single :is(.infographic-overview-copy > span, .about-links a, .personal-work-strip > a, .quiet-support summary) {
  color: var(--home-action);
}
.home-single :is(.infographic-button, .personal-art-button) { background: #fff8ef; border-color: var(--home-border); }
.home-single .infographic-open { color: var(--home-action); background: #fff9ef; }
.home-single .quiet-support-content { border-color: var(--home-border); }
.home-single .quiet-support :is(.journey-step, .right-summary, .right-case, .right-method, .cockpit-ability, .cockpit-related) {
  background: #fffaf3;
  border-color: var(--home-border);
  color: var(--home-ink);
}
.home-single .quiet-support .journey-step.active { background: var(--home-soft); border-color: #edc49e; }
.home-single .quiet-support :is(.quiet-disclosure-hint, .journey-step small, .journey-detail, .right-summary p) { color: var(--home-muted); }
.home-single :is(.journey-step.active b, .journey-step > span, .journey-detail > span, #show-contact) { color: var(--home-action); }
.home-single :is(.journey-step > span, .journey-detail > span, #show-contact) { background: var(--home-soft); border-color: var(--home-border); }
.home-single #main > footer {
  width: 100%;
  margin: 24px 0 0;
  padding: 20px max(var(--home-gutter), calc((100% - var(--home-max)) / 2));
  background: #2d2d2d;
  color: #fff1e3;
}
.home-single #main > footer a { color: #fff1e3; }
.home-single #infographic-viewer { border-color: var(--home-border); }
.home-single #infographic-viewer :is(header, footer) { background: #fff8ef; color: var(--home-muted); border-color: var(--home-border); }
.home-single #infographic-viewer button { background: var(--home-soft); color: var(--home-action); border-color: var(--home-border); }
@media (max-width: 1100px) {
  .home-single #works .compact-tool-category .product-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .home-single .home-banner-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; width: calc(100% - 40px); padding-block: 30px; gap: 20px; }
  .cockpit-classic.home-single .home-feature-title { font-size: 32px; }
  .home-single .home-feature-actions a { padding-inline: clamp(12px, 5vw, 32px); }
  .cockpit-classic.home-single .workspace-title > a { gap: 6px; }
  .home-single .home-brand-avatar { width: 32px; height: 32px; }
  .home-single .workspace-title b { font-size: 16px; }
  .home-single .home-office { justify-self: center; }
  .home-single .home-feature-actions { margin-bottom: 20px; }
  .home-single #works .product-category { padding: 60px 20px; }
  .home-single #works .product-category-heading h3 { font-size: clamp(23px, 5vw, 32px); }
}
@media (max-width: 600px) {
  .home-single #works .compact-tool-category .product-card-grid { grid-template-columns: minmax(0, 1fr); }
}
