@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --or: #e8720c;
  --or-light: #fff5eb;
  --or-mid: #fcd5a0;
  --bg: #f7f6f3;
  --card: #fff;
  --text: #1a1a1a;
  --mut: #625f61;
  --brd: #e4e2dc;
  --shadow-sm: 0 1px 2px #0000000f, 0 2px 6px #0000000a;
  --radius: 14px;
  --nav-height: 56px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid #94501a; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; }
h2 { font-size: 26px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 750; }
.muted { color: var(--mut); margin-top: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--nav-height);
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  background: #fffffff2;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brd);
}
.brand { font-size: 16px; font-weight: 800; text-decoration: none; }
.brand span { color: #a54400; }
.nav-links {
  display: flex;
  min-width: 0;
  gap: 4px;
  margin-inline-start: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-more {
  flex: 0 0 32px;
  height: 36px;
  border: 1px solid var(--brd);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.nav-more:hover { background: var(--or-light); }
.nav-links a {
  flex: none;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links :is(a:hover, a[aria-current]) { background: var(--or-light); }
.nav-links a[aria-current] { box-shadow: inset 0 -2px var(--or); font-weight: 700; }
.nav-links a:focus-visible { outline-offset: -2px; }

.main { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
#focus { padding-bottom: 56px; }
.intro { padding: 38px 0 34px; }
.eyebrow { margin-bottom: 9px; font-size: 13px; font-weight: 700; color: var(--mut); }
.intro-copy { margin-top: 10px; max-width: 620px; font-size: 16px; }
.demo-note {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid var(--or-mid);
  border-radius: 99px;
  background: var(--or-light);
  font-size: 12px;
  font-weight: 650;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.filter { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--brd); background: var(--card); border-radius: 10px; }
.filter button {
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
.filter button:hover { background: var(--bg); }
.filter button[aria-pressed="true"] { background: var(--or-light); border-color: var(--or-mid); }

.focus-layout { display: grid; grid-template-columns: 1.54fr 1fr; align-items: start; gap: 16px; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card, .task-tile {
  background: var(--card);
  border: 1px solid var(--brd);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}
.task-tile {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 11px;
  min-width: 0;
  padding: 26px 32px;
  text-align: left;
  cursor: pointer;
}
.task-tile:hover { border-color: #be9b7a; }
.task-tile[aria-pressed="true"] { border-color: var(--or); box-shadow: inset 0 0 0 1px var(--or), var(--shadow-sm); }
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tile-dept { font-size: 12px; font-weight: 700; color: var(--mut); }
.tile-title { display: block; font-size: 16px; line-height: 1.28; font-weight: 750; letter-spacing: -.014em; }
.tile-bottom { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.progress-block { min-width: 0; flex: 1; display: grid; gap: 5px; }
.progress-text { color: var(--mut); font-size: 12px; font-weight: 650; }
.progress-track { display: block; height: 5px; border-radius: 8px; background: var(--brd); overflow: hidden; }
.progress-fill { display: block; height: 100%; border-radius: inherit; background: var(--or); }
[data-state="done"] .progress-fill { background: #16a34a; }
[data-state="late"] .progress-fill { background: #dc2626; }

.egg-art { flex: 0 0 auto; position: relative; display: block; width: 54px; height: 54px; }
.egg-art::before {
  content: "";
  position: absolute;
  inset: 4px 12px 5px;
  border: 1.5px solid #6e4930;
  border-radius: 52% 48% 50% 50% / 65% 65% 37% 35%;
  background: #f3bf8c;
  box-shadow: inset 4px 0 #fff3e0;
  transform: rotate(-9deg);
}
.egg-art::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #6e4930;
  clip-path: polygon(56% 0, 47% 31%, 62% 45%, 46% 65%, 50% 61%, 68% 43%, 52% 28%, 60% 0);
}
.egg-art[data-stage="0"]::after { display: none; }
.egg-art[data-stage="2"]::after { inset: 8px 9px; clip-path: polygon(8% 46%, 26% 58%, 40% 42%, 56% 55%, 72% 38%, 92% 48%, 92% 56%, 72% 46%, 57% 63%, 40% 50%, 25% 65%, 8% 54%); }
.egg-art[data-stage="3"]::before { inset: 15px 9px 5px; border-radius: 45% 45% 49% 49%; }
.egg-art[data-stage="3"]::after { inset: 12px 10px; clip-path: polygon(2% 55%, 20% 66%, 35% 55%, 52% 70%, 70% 53%, 90% 66%, 97% 59%, 97% 72%, 89% 76%, 70% 62%, 52% 80%, 35% 65%, 20% 76%, 2% 64%); }
.egg-art[data-stage="4"]::before { inset: 18px 9px 5px; border-radius: 50%; background: #ffd894; }
.egg-art[data-stage="4"]::after { inset: 2px 4px auto auto; width: 19px; height: 19px; background: #a4590d; clip-path: polygon(50% 0, 61% 36%, 100% 36%, 68% 58%, 80% 95%, 50% 72%, 20% 95%, 32% 58%, 0 36%, 39% 36%); }
.egg-art.late { transform: rotate(-12deg); }
.egg-art.late::before { background: #facdc8; border-color: #9d332b; }

.badge { display: inline-block; flex: 0 1 auto; padding: 3px 8px; border: 1px solid var(--brd); border-radius: 99px; background: var(--bg); font-size: 12px; line-height: 1.35; font-weight: 650; }
.badge[data-state="late"], .badge[data-state="blocked"] { background: #fff0ed; border-color: #f6c3bc; color: #8e261e; }
.badge[data-state="done"] { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.badge[data-state="doing"] { background: var(--or-light); border-color: var(--or-mid); color: #784115; }

.focus-detail { padding: 26px 32px; min-width: 0; }
.focus-detail h3 { margin-top: 7px; font-size: 22px; }
.detail-meta { margin-top: 8px; color: var(--mut); font-size: 13px; }
.next-step { margin: 17px 0 12px; padding: 12px 14px; background: var(--bg); border-radius: 8px; }
.next-step b { display: block; margin-bottom: 3px; font-size: 12px; }
.next-step small { display: block; margin-top: 3px; }
.inline-link { display: inline-block; margin-top: 14px; color: #8f4100; font-weight: 700; }
.empty, .alert { grid-column: 1 / -1; padding: 26px 24px; border: 1px dashed var(--brd); border-radius: var(--radius); color: var(--mut); }
.alert { margin-top: 12px; color: #8e261e; }

.sheet { padding: 38px 0 56px; }
.sheet-header { margin-bottom: 24px; }
.sheet-header h1:focus, #title:focus { outline: none; }
.sheet-owner { margin-top: 9px; color: var(--mut); }
.sheet-section { margin-top: 30px; }
.section-card { padding: 26px 32px; min-width: 0; }
.department-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  padding: 26px 32px;
  gap: 14px 24px;
}
.department-overview h2 { font-size: 18px; }
.department-overview p { margin-top: 6px; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 12px;
}
.metric-card { padding: 26px 32px; min-width: 0; }
.metric-card h3 { font-size: 16px; }
.metric-fact { margin-top: 9px; font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.14; }
.metric-caption, .metric-comparison dt { font-size: 12px; color: var(--mut); font-weight: 550; }
.metric-comparison { display: flex; flex-wrap: wrap; gap: 5px 24px; margin: 12px 0 0; }
.metric-comparison dd { margin: 2px 0 0; font-size: 14px; font-weight: 650; }
.metric-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--brd); font-size: 13px; }
.metric-note[data-metric-state="risk"] { color: #8e261e; }
.metric-note[data-metric-state="good"] { color: #14532d; }
.section-card > .task-row:first-child { margin-top: 0; border-top: 0; }
.section-card > .task-row:first-child summary { padding-top: 0; }
.week-group { margin-top: 14px; }
.section-card > .week-group:first-child { margin-top: 0; }
.week-label { padding: 9px 12px; border-radius: 7px; background: var(--bg); font-weight: 750; font-size: 14px; }
.week-group .step-list { margin-top: 0; }
.week-group .step:first-child { border-top: 0; }
.department-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.department-notes h2, .knowledge h2 { font-size: 21px; }
.department-facts { padding: 0; margin: 0; list-style: none; }
.department-facts li { display: grid; gap: 4px; margin-top: 14px; }
.department-facts li + li { padding-top: 14px; border-top: 1px solid var(--brd); }
.department-facts .detail-meta { margin: 0; }
.knowledge { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.knowledge .step-source { font-size: 14px; }
.task-row { border-top: 1px solid var(--brd); margin-top: 8px; }
.task-row summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 0 5px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.task-row summary::-webkit-details-marker { display: none; }
.task-row summary::after { content: "+"; flex: none; min-width: 1ch; text-align: right; color: #8f4100; font-size: 19px; }
.task-row[open] summary::after { content: "−"; }
.task-row summary .badge { margin-left: auto; }
.task-body { padding: 6px 0; }
.task-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--mut); font-size: 13px; }
.task-fields { display: grid; gap: 5px; margin-top: 13px; }
.step-list { margin: 12px 0 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--brd);
}
.step-text { min-width: 0; }
.step-text strong { font-size: 14px; font-weight: 650; }
.step-meta, .blocker, .step-result { display: block; margin-top: 2px; font-size: 12px; color: var(--mut); }
.blocker { color: #8e261e; }
.step-result { color: var(--text); }
.step-source { display: inline-block; margin-top: 2px; color: #8f4100; font-size: 12px; font-weight: 650; }
.weekly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.weekly-grid article { padding: 26px 32px; }
.weekly-grid p { margin-top: 8px; }
footer { padding: 32px; text-align: center; background: #1a1a1a; font-size: 13px; }
footer a { color: #a1a1aa; }

@media (max-width: 900px) {
  .task-tile, .focus-detail, .department-overview, .metric-card, .section-card, .weekly-grid article { padding: 20px 22px; }
}
@media (max-width: 680px) {
  .main { width: calc(100% - 32px); }
  .topbar { padding-inline: 12px; gap: 8px; }
  .nav-links a { padding-inline: 8px; }
  .focus-layout, .weekly-grid, .department-overview, .department-notes { grid-template-columns: 1fr; }
  .section-heading { flex-wrap: wrap; }
  .intro { padding: 26px 0; }
  .sheet { padding: 26px 0 40px; }
  .sheet-section { margin-top: 24px; }
  .sheet-header { margin-bottom: 20px; }
  .task-views { max-width: 100%; }
  .section-heading.plan-heading { gap: 10px; }
  .focus-detail { overscroll-behavior: contain; }
}
@media (max-width: 420px) {
  .filter button { padding-inline: 8px; }
  .task-tile { padding: 18px 20px; }
  .tile-bottom { align-items: stretch; flex-direction: column; gap: 7px; }
  .tile-bottom .badge { align-self: flex-start; }
  .tile-head { align-items: start; flex-direction: column; }
  .tile-title { font-size: 15px; }
  .egg-art { width: 41px; height: 44px; }
  .egg-art::before { inset-inline: 8px; }
}

.egg-art i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 44%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  color: #6e4930;
  background: currentColor;
  box-shadow: 8px 0 currentColor;
}
.egg-art:not([data-stage="3"]):not([data-stage="4"]):not(.late) i { display: none; }
.egg-art.late i {
  width: 5px;
  height: 2px;
  left: 40%;
  transform: rotate(7deg);
  color: #9d332b;
}
@media (min-width: 681px) {
  .egg-art { width: 70px; height: 70px; }
}
