:root {
  --ink: #171923;
  --paper: #fff7e6;
  --paper-deep: #f3e7cb;
  --white: #fffdf8;
  --cobalt: #1762d0;
  --cobalt-dark: #0e3f96;
  --yellow: #ffd453;
  --coral: #ff725e;
  --mint: #68ddb8;
  --orange: #ff9b35;
  --plum: #9d5cc7;
  --teal: #24aaa7;
  --border: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 212, 83, .28) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 72%, rgba(23, 98, 208, .12) 0 2px, transparent 3px);
  background-size: 44px 44px, 58px 58px;
  font-family: Inter, ui-rounded, "Arial Rounded MT Bold", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border: var(--border);
  background: var(--yellow);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  width: var(--shell);
  min-height: 84px;
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: var(--border);
  border-radius: 18px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 5px 5px 0 var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-logo { display: block; width: 150px; height: auto; max-height: 54px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.site-nav a {
  padding: 8px 13px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a:hover { background: var(--paper-deep); }
.site-nav a[aria-current="page"] { border-color: var(--ink); background: var(--yellow); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mint);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero {
  min-height: 690px;
  padding: 28px 20px 60px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 34px 50px;
}

.hero-brand-lockup {
  grid-column: 1 / -1;
  width: min(100%, 1120px);
  margin: 0 auto -16px;
}
.team-masthead { display: block; width: 100%; height: auto; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--cobalt-dark);
  font-size: .79rem;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; font-weight: 950; line-height: .98; letter-spacing: -.055em; }
.hero h1 { margin-bottom: 26px; font-size: clamp(4rem, 8.6vw, 7.9rem); }
.hero h1 span { color: var(--cobalt); }
.hero-lede { max-width: 650px; margin: 0 0 30px; font-size: 1.12rem; }

.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 20px;
  border: var(--border);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary { color: var(--white); background: var(--cobalt); }
.button.secondary { background: var(--white); }

.management-console {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #545461;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
}
.tiny-button {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  color: var(--ink);
  background: var(--coral);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.burst {
  position: absolute;
  inset: 5% 0 0 2%;
  border: var(--border);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--yellow) 0 10deg, #ffe68e 10deg 20deg);
  transform: rotate(-7deg);
}
.hero-card {
  position: relative;
  z-index: 2;
  width: min(360px, 75%);
  padding: 16px 16px 13px;
  border: var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(3deg);
}
.hero-card img { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; object-position: center; border: 2px solid var(--ink); border-radius: 8px; }
.hero-card-copy { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; align-items: baseline; }
.hero-card-copy strong { font-size: 1.45rem; }
.hero-card-copy span { color: #565663; font-size: .75rem; text-align: right; }
.hero-card small { display: block; margin-top: 4px; color: #77727a; font-size: .66rem; }
.tape { position: absolute; z-index: 3; top: -17px; left: 50%; width: 90px; height: 33px; background: rgba(104, 221, 184, .82); transform: translateX(-50%) rotate(-4deg); }

.floating-note {
  position: absolute;
  z-index: 4;
  padding: 11px 13px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: .73rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}
.note-one { top: 15%; left: -2%; background: var(--coral); transform: rotate(-9deg); }
.note-two { right: -1%; bottom: 16%; background: var(--mint); transform: rotate(7deg); }

.ticker { overflow: hidden; padding: 13px 0; border-block: var(--border); background: var(--ink); color: var(--paper); }
.ticker div { width: max-content; padding-left: 4vw; font-size: .78rem; font-weight: 950; letter-spacing: .12em; white-space: nowrap; }
.ticker span { padding: 0 18px; color: var(--yellow); }

.section-block { padding-block: 110px; }
.section-heading { max-width: 790px; margin-bottom: 45px; }
.section-heading h2, .split-callout h2, .team-footer-note h2 { margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.section-heading > p:last-child { max-width: 620px; margin-bottom: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { min-height: 295px; padding: 25px; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-card.cobalt { background: #cddfff; }
.service-card.orange { background: #ffd5a1; transform: translateY(18px) rotate(1deg); }
.service-card.mint { background: #c8f5e5; }
.service-number { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 55px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); font-size: .8rem; font-weight: 900; }
.service-card h3 { margin-bottom: 14px; font-size: 2.3rem; }
.service-card p { margin: 0; }

.manifesto-wrap { padding: 86px 0; color: var(--white); background: var(--cobalt); border-block: var(--border); }
.manifesto { text-align: center; }
.manifesto .eyebrow { color: var(--yellow); }
.manifesto blockquote { max-width: 1020px; margin: 28px auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5.3vw, 5.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.signature { color: #cbdcff; font-size: .83rem; font-weight: 800; }

.split-callout { padding-block: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.memo { position: relative; padding: 42px; border: var(--border); background: var(--yellow); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.memo p { margin-top: 0; font-family: Georgia, serif; font-size: 1.35rem; }
.memo a { font-weight: 950; }
.pin { position: absolute; top: 13px; left: 50%; width: 15px; height: 15px; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); }

.site-footer {
  padding: 55px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  border-top: var(--border);
  color: var(--paper);
  background: var(--ink);
  font-size: .76rem;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.footer-brand .brand-logo { width: 120px; max-height: 52px; transform: translateY(-10px); }

.page-hero { padding: 100px 0 55px; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(4.5rem, 10vw, 9rem); color: var(--cobalt); }
.page-hero > p:last-child { max-width: 720px; font-size: 1.23rem; }

.org-strip {
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: var(--border);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--yellow);
  font-weight: 950;
}
.org-strip b { color: var(--cobalt); font-size: 1.5rem; }
.org-strip small { width: 100%; text-align: center; font-weight: 600; }

.team-grid { padding-block: 75px 110px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.person-card { min-height: 330px; padding: 22px; display: grid; grid-template-columns: 195px 1fr; gap: 24px; align-items: center; border: var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.founder-card, .manager-card { grid-column: 1 / -1; grid-template-columns: 270px 1fr; }
.founder-card { background: #fff0b8; }
.manager-card { background: #d6e5ff; }
.jimmy-card { background: #d5f5df; }
.jimbo-card { background: #ffd9ad; }
.linda-card { background: #ecd6fa; }
.lilly-card { background: #caf5e6; }
.avatar-frame { overflow: hidden; border: var(--border); border-radius: 18px; background: var(--paper); }
.avatar-frame img { width: 100%; aspect-ratio: 7 / 9; object-fit: cover; }
.mystery-frame { display: grid; place-items: center; min-height: 305px; background: repeating-linear-gradient(135deg, var(--yellow) 0 16px, #ffe99c 16px 32px); }
.mystery-avatar { width: 150px; height: 150px; display: grid; place-items: center; border: 4px solid var(--ink); border-radius: 50% 50% 46% 46%; box-shadow: 7px 7px 0 var(--ink); color: var(--white); background: var(--cobalt); font-family: Georgia, serif; font-size: 7rem; font-weight: 900; line-height: 1; transform: rotate(-7deg); }
.person-copy .role { margin: 0 0 8px; color: var(--cobalt-dark); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.person-copy h2 { margin-bottom: 14px; font-size: 3.2rem; }
.person-copy > p:not(.role) { margin: 0 0 20px; }
.trait { display: inline-block; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .71rem; font-weight: 900; }

.team-footer-note { margin-bottom: 110px; padding: 50px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; border: var(--border); border-radius: var(--radius); color: var(--white); background: var(--cobalt); box-shadow: var(--shadow); }
.team-footer-note .eyebrow { color: var(--yellow); }
.team-footer-note h2 { margin-bottom: 10px; }
.team-footer-note p:last-child { margin: 0; }
.big-asterisk { color: var(--yellow); font-size: 9rem; line-height: .5; }

.blog-heading { text-align: center; }
.blog-heading > p:last-child { margin-inline: auto; }
.article { max-width: 960px; margin-bottom: 120px; overflow: hidden; border: var(--border); border-radius: 28px; background: var(--white); box-shadow: 10px 10px 0 var(--ink); }
.article-header { padding: 55px clamp(25px, 7vw, 80px); border-bottom: var(--border); background: #d9e7ff; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; }
.article-meta span, .article-meta time { padding: 5px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .7rem; font-weight: 900; }
.article-meta span:first-child { background: var(--yellow); }
.article-header h2 { margin-bottom: 24px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.article-deck { max-width: 740px; font-family: Georgia, serif; font-size: 1.3rem; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline img { width: 58px; height: 58px; object-fit: cover; border: 2px solid var(--ink); border-radius: 50%; }
.byline div { display: flex; flex-direction: column; }
.byline span { color: #535867; font-size: .75rem; }
.article-body { max-width: 730px; margin-inline: auto; padding: 60px 28px 70px; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.8; }
.article-body h3 { margin: 55px 0 18px; font-family: Inter, ui-rounded, sans-serif; font-size: 2rem; }
.week-ledger { margin: 40px -48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; font-family: Inter, ui-rounded, sans-serif; }
.week-ledger div { min-height: 128px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: var(--border); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: #d9e7ff; }
.week-ledger div:nth-child(2), .week-ledger div:nth-child(6) { background: var(--yellow); }
.week-ledger div:nth-child(3), .week-ledger div:nth-child(5) { background: #c8f5e5; }
.week-ledger strong { font-size: 2.25rem; line-height: 1; letter-spacing: -.05em; }
.week-ledger span { font-size: .73rem; font-weight: 900; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase; }
.dropcap::first-letter { float: left; margin: 9px 9px 0 0; color: var(--cobalt); font-family: Inter, sans-serif; font-size: 5.1rem; font-weight: 950; line-height: .72; }
.article-pullquote { margin: 50px -50px; padding: 35px 42px; border: var(--border); box-shadow: 6px 6px 0 var(--ink); background: var(--yellow); font-size: 1.7rem; font-weight: 800; line-height: 1.35; transform: rotate(-1deg); }
.article-signoff { margin-top: 55px; }
.article-signoff strong { font-family: Inter, sans-serif; font-size: 1.5rem; }
.article-signoff small { color: #63636d; }
.footnote { margin-top: 60px; padding-top: 20px; border-top: 1px solid #bbb5a8; color: #6a6670; font-size: .76rem; }

:focus-visible { outline: 4px solid var(--coral); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; gap: 10px 16px; }
  .site-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid #d3cbbc; padding-top: 8px; }
  .status-pill { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-brand-lockup { grid-column: auto; width: min(100%, 760px); }
  .hero-lede { margin-inline: auto; }
  .button-row, .management-console { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card.orange { transform: none; }
  .service-number { margin-bottom: 28px; }
  .split-callout { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand { justify-content: center; }
  .site-footer p:last-child { text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .person-card, .founder-card, .manager-card { grid-column: auto; grid-template-columns: 190px 1fr; }
  .mystery-frame { min-height: 245px; }
  .mystery-avatar { width: 125px; height: 125px; font-size: 5.7rem; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 24px, 1180px); }
  body { font-size: 16px; }
  .site-header { margin-top: 10px; }
  .brand-logo { width: 112px; max-height: 48px; }
  .status-pill { display: none; }
  .site-nav a { padding: 6px 10px; }
  .hero { min-height: 0; padding: 62px 8px 70px; }
  .hero-brand-lockup {
    width: 100%;
    margin-bottom: 18px;
  }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .hero-visual { min-height: 410px; }
  .hero-card { width: 72%; padding: 10px; }
  .note-one { left: 0; }
  .note-two { right: 0; }
  .section-block { padding-block: 80px; }
  .manifesto-wrap { padding-block: 68px; }
  .split-callout { padding-block: 80px; }
  .memo { padding: 34px 25px; }
  .page-hero { padding: 70px 0 40px; }
  .page-hero h1 { font-size: 4.2rem; }
  .org-strip b { transform: rotate(90deg); }
  .org-strip { flex-direction: column; }
  .team-grid { padding-top: 50px; }
  .person-card, .founder-card, .manager-card { grid-template-columns: 1fr; }
  .avatar-frame { max-height: 390px; }
  .avatar-frame img { aspect-ratio: 1 / 1; object-position: center 38%; }
  .mystery-frame { min-height: 260px; }
  .team-footer-note { padding: 35px 25px; grid-template-columns: 1fr; text-align: center; }
  .big-asterisk { font-size: 7rem; }
  .article-header { padding: 42px 22px; }
  .article-header h2 { font-size: 2.8rem; }
  .article-body { padding: 45px 22px 55px; }
  .week-ledger { margin: 35px -8px; grid-template-columns: repeat(2, 1fr); }
  .article-pullquote { margin: 42px -8px; padding: 28px 24px; font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
