:root {
  --c-ink: #0f1115;
  --c-ink-soft: #2a2d34;
  --c-muted: #6b6f76;
  --c-line: rgba(15, 17, 21, 0.10);
  --c-line-strong: rgba(15, 17, 21, 0.18);
  --c-yellow: #f2bf00;
  --c-yellow-dark: #c79900;
  --c-cream: #f7f1de;
  --c-bg: #ffffff;
  --c-bg-soft: #faf8f3;
  --c-success: #1b8a4b;
  --c-success-bg: #e2f4e8;
  --c-warning: #b56d00;
  --c-warning-bg: #fbecc7;
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.05);
  --shadow-md: 0 6px 24px rgba(15, 17, 21, 0.06), 0 2px 6px rgba(15, 17, 21, 0.04);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --content: 720px;
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-yellow-dark); }
strong, b { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-yellow-dark);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--c-ink-soft);
  line-height: 1.55;
  max-width: 60ch;
}
p { max-width: 75ch; }
p + p { margin-top: 0.85rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--c-ink);
  color: white;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}
.brand:hover { color: inherit; }
.brand-mark { height: 44px; width: auto; }
.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  display: none;
}
@media (min-width: 560px) {
  .brand-text { display: inline; }
}

.primary-nav { display: flex; align-items: center; gap: 0.2rem; }
.primary-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--c-ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover {
  background: var(--c-cream);
  color: var(--c-ink);
}
.primary-nav a[aria-current="page"] {
  background: var(--c-ink);
  color: white;
}
.primary-nav a[aria-current="page"]:hover { background: var(--c-ink); }
.nav-cta {
  background: var(--c-yellow);
  color: var(--c-ink) !important;
  margin-inline-start: 0.4rem;
}
.nav-cta:hover {
  background: var(--c-yellow-dark) !important;
  color: white !important;
}
.nav-cta[aria-current="page"] {
  background: var(--c-yellow-dark) !important;
  color: white !important;
}

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  margin-block: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: white;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.8rem 1rem; }
  .nav-cta { margin-inline-start: 0; margin-top: 0.25rem; }
}

main { flex: 1 0 auto; }

section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section.section--soft { background: var(--c-bg-soft); }
section.section--ink { background: var(--c-ink); color: var(--c-cream); }
section.section--ink h1,
section.section--ink h2,
section.section--ink h3 { color: white; }
.section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 60ch;
}
.section-head .eyebrow + h2 { margin-top: 0.65rem; }
.section-head p { color: var(--c-ink-soft); margin-top: 0.85rem; }

.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.hero--cream { background: var(--c-cream); }
.hero--ink { background: var(--c-ink); color: var(--c-cream); }
.hero--ink h1,
.hero--ink .eyebrow { color: white; }
.hero--ink .eyebrow { color: var(--c-yellow); }
.hero--ink .lede { color: rgba(247, 241, 222, 0.85); }
.hero h1 { margin-block: 0.5rem 1rem; max-width: 18ch; }
.hero .lede { max-width: 58ch; }
.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-block {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  background: var(--c-yellow);
  border-radius: 18px;
  opacity: 0.85;
  z-index: 0;
  display: none;
}
@media (min-width: 980px) {
  .hero--cream .hero-block { display: block; }
}
.hero > .container { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-yellow);
  color: var(--c-ink);
}
.btn-primary:hover { background: var(--c-yellow-dark); color: white; }
.btn-secondary {
  background: var(--c-ink);
  color: white;
}
.btn-secondary:hover { background: var(--c-ink-soft); color: white; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: inherit; }
.btn-arrow::after {
  content: "→";
  margin-left: 0.15rem;
  transition: transform 0.15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: white;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--c-line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card .card-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-yellow);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.card h3 { margin-bottom: 0.4rem; }
.card p {
  color: var(--c-ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.person {
  background: white;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.person-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-yellow);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
}
.person--founder .person-avatar {
  background: var(--c-yellow);
  color: var(--c-ink);
}
.person--founder {
  border-color: var(--c-yellow);
  background: linear-gradient(180deg, #fffdf3, white 70%);
}
.person-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.person-meta {
  margin-top: 0.15rem;
  color: var(--c-yellow-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.person-bio {
  margin-top: 0.9rem;
  color: var(--c-ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat { padding-block: 0.25rem; border-top: 3px solid var(--c-yellow); padding-top: 1rem; }
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
}
.stat-label { margin-top: 0.55rem; color: var(--c-ink-soft); font-weight: 600; font-size: 0.97rem; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--c-ink-soft); }
.prose b, .prose strong { color: var(--c-ink); }

.callout {
  background: var(--c-cream);
  border-left: 4px solid var(--c-yellow);
  padding: 1.5rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h3 { margin-bottom: 0.65rem; font-size: 1.05rem; }
.callout ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--c-ink-soft);
  font-size: 0.97rem;
}
.callout li + li { margin-top: 0.35rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: white;
  -webkit-overflow-scrolling: touch;
}
table.projects {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 820px;
}
table.projects thead th {
  text-align: left;
  font-weight: 700;
  padding: 0.95rem 1rem;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
table.projects tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  color: var(--c-ink);
}
table.projects tbody tr:last-child td { border-bottom: 0; }
table.projects tbody tr:hover { background: var(--c-bg-soft); }
.job-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.date-cell { font-variant-numeric: tabular-nums; color: var(--c-ink-soft); white-space: nowrap; }
.date-cell--empty { color: var(--c-line-strong); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--complete { background: var(--c-bg-soft); color: var(--c-muted); }
.badge--ongoing { background: var(--c-success-bg); color: var(--c-success); }
.badge--pending { background: var(--c-warning-bg); color: var(--c-warning); }
.badge--unscheduled { background: rgba(15, 17, 21, 0.06); color: var(--c-ink-soft); }

.cta-band {
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 1.75rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  background: var(--c-yellow);
  opacity: 0.12;
  border-radius: 24px;
  transform: rotate(15deg);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: white; }
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.6rem;
  max-width: 50ch;
}
@media (max-width: 720px) {
  .cta-band { grid-template-columns: 1fr; }
}

.employ-bullets {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.employ-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--c-ink-soft);
}
.employ-bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  background: var(--c-yellow);
  border-radius: 2px;
}

.site-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-block: 3rem 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 0.85rem;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-yellow); text-decoration: underline; text-underline-offset: 4px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer address {
  font-style: normal;
  color: rgba(247, 241, 222, 0.85);
  line-height: 1.7;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 241, 222, 0.15);
  color: rgba(247, 241, 222, 0.6);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  color: white;
}
.footer-brand img { height: 44px; }
.footer-tag {
  display: inline-block;
  font-size: 0.95rem;
  color: rgba(247, 241, 222, 0.78);
  margin-top: 0.75rem;
  max-width: 36ch;
  line-height: 1.55;
}

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

.timeline { max-width: 920px; }
.milestone {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 130px) 1fr;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.milestone:first-child { border-top: 0; padding-top: 0; }
.milestone:last-child { padding-bottom: 0; }
.milestone-year {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--c-yellow-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}
.milestone-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.milestone-body {
  color: var(--c-ink-soft);
  line-height: 1.6;
  max-width: 65ch;
}
@media (max-width: 600px) {
  .milestone {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .milestone-year { font-size: 1.5rem; }
}

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