@font-face {
  font-family: Pixel;
  src: url("/fonts/silkscreen.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk.ttf") format("truetype");
  font-display: swap;
}
:root {
  --bg: #dce7d6;
  --paper: #f6f3df;
  --card: #fffceb;
  --ink: #2d4335;
  --muted: #63725c;
  --green: #587842;
  --border: #b0bea0;
  --shadow: #44533824;
  --link: #44672e;
  --dropdown-bg: var(--paper);
  --dropdown-border: var(--border);
  --dropdown-hover: #e4e9ce;
  --text: var(--ink);
  --text-secondary: var(--muted);
  --text-muted: var(--muted);
  --star-color: #8b7338;
}
[data-theme="dark"] {
  --bg: #1d3435;
  --paper: #2c4138;
  --card: #334b3e;
  --ink: #eff1d9;
  --muted: #b5c6a6;
  --green: #94b675;
  --border: #567058;
  --shadow: #071d2644;
  --link: #bddc94;
  --dropdown-hover: #3d5945;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.8 Space,
    Arial,
    sans-serif;
  min-height: 100dvh;
  background-image:
    linear-gradient(#ffffff12 1px, transparent 1px),
    linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 28px 28px;
}
a {
  color: var(--link);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--ink);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ca854a;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Pixel, monospace;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -1px;
}
h1 {
  font-size: 45px;
}
h2 {
  font-size: 29px;
  margin-bottom: 15px;
}
h3 {
  font-size: 20px;
  margin: 30px 0 12px;
}
p {
  margin-bottom: 20px;
}
img {
  max-width: 100%;
}
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 4px var(--shadow);
}
.nav-bar-inner {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.read-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Pixel, monospace;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
}
.read-brand small {
  display: block;
  font-family: Space, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.grass-icon {
  display: inline-block;
  flex: none;
  width: 29px;
  height: 31px;
  background: linear-gradient(#87a357 30%, #946d45 30%);
  box-shadow:
    inset -7px 0 #0002,
    inset 3px 3px #fff2;
  transform: rotate(-7deg);
}
.nav-bar-left {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
}
.nav-bar-left a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.nav-bar-left a.current {
  background: var(--green);
  color: var(--paper);
  box-shadow: 2px 2px var(--shadow);
}
.nav-bar-left a:hover {
  background: var(--border);
  color: var(--ink);
}
.nav-bar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-bar-search {
  position: relative;
}
.nav-bar-search input {
  width: 122px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
  color: var(--ink);
  font-size: 12px;
}
.theme-toggle,
.read-music {
  height: 34px;
  min-width: 34px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 18px;
  position: relative;
}
.read-music {
  font-size: 12px;
  padding: 0 10px;
  white-space: nowrap;
}
.sun-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="dark"] .sun-icon {
  display: inline;
}
.content-area {
  max-width: 960px;
  margin: 54px auto;
  padding: 38px 44px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 6px 6px var(--shadow);
}
.content-area > h2:first-child:before {
  content: "■ ";
  color: var(--green);
  font-size: 18px;
  vertical-align: middle;
}
.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.hero-2008 {
  max-width: 1060px;
  margin: 55px auto 35px;
  padding: 48px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 7px 7px var(--shadow);
  position: relative;
  min-height: 300px;
}
.hero-2008:before {
  content: "VANCOUVER · SF";
  font-family: Pixel, monospace;
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 22px;
}
.hero-2008 h1 {
  max-width: 650px;
  margin-bottom: 16px;
}
.hero-tagline {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  margin-right: 170px;
}
.hero-image {
  position: absolute;
  right: 45px;
  top: 75px;
  width: 145px;
  height: 160px;
  object-fit: cover;
  object-position: top;
  border: 5px solid var(--card);
  box-shadow: 6px 6px var(--shadow);
  image-rendering: auto;
}
.hero-links {
  display: flex;
  gap: 22px;
  margin: 25px 0 0;
  font-size: 13px;
}
.hero-link-sep {
  display: none;
}
.what-i-do {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1060px;
  margin: 25px auto 40px;
}
.what-i-do-item {
  background: var(--paper);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 4px 4px var(--shadow);
}
.what-i-do-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--paper);
  font-size: 20px;
}
.what-i-do h3 {
  font-family: Pixel, monospace;
  font-weight: 400;
  font-size: 14px;
  margin: 16px 0 9px;
}
.what-i-do p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.btn-2008 {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #3e5731;
  background: var(--green);
  color: var(--paper) !important;
  font-family: Pixel, monospace;
  font-size: 11px;
  text-decoration: none;
  box-shadow:
    inset 2px 2px #fff2,
    4px 4px var(--shadow);
}
.btn-2008:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.stats-bar {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-top: 35px;
}
.stat-number {
  font-family: Pixel, monospace;
  font-size: 25px;
  color: var(--green);
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.last-updated {
  font-size: 11px;
  color: var(--muted);
  margin-top: 30px;
  text-align: center;
}
.time-elapsed {
  display: none;
}
.avatar-section {
  float: right;
  margin: 0 0 22px 30px;
}
.avatar {
  width: 125px;
  height: 140px;
  object-fit: cover;
  border: 4px solid var(--card);
  box-shadow: 4px 4px var(--shadow);
}
.timeline {
  padding-left: 20px;
}
.timeline li {
  padding: 0 0 22px 10px;
}
.timeline li::marker {
  color: var(--green);
  content: "▪";
}
.product-grid,
.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto 60px;
}
.product-box {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 4px 4px var(--shadow);
  text-decoration: none;
  position: relative;
}
.product-box:before {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 19px;
  color: var(--green);
  font-size: 20px;
}
.product-box h3 {
  font-family: Pixel, monospace;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0 24px 15px 0;
  overflow-wrap: anywhere;
}
.product-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
}
.product-box:hover,
.writing-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 7px var(--shadow);
  border-color: var(--green);
}
.stars {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.writing-grid {
  grid-template-columns: repeat(2, 1fr);
}
.writing-card {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 4px 4px var(--shadow);
  text-decoration: none;
  overflow: hidden;
}
.writing-cover {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.7);
}
.writing-card-body {
  padding: 23px;
}
.writing-card-date {
  font-family: Pixel, monospace;
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 12px;
}
.writing-card-title {
  font-size: 18px;
  line-height: 1.6;
}
.social-section {
  margin-bottom: 28px;
}
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.connect-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 3px 3px var(--shadow);
  text-decoration: none;
  font-size: 14px;
}
.social-icon {
  vertical-align: middle;
}
.quote-box {
  display: none;
}
.apple-footer {
  max-width: 1060px;
  margin: 55px auto 25px;
  border-top: 1px solid var(--border);
  padding: 25px 0;
  color: var(--muted);
  font-size: 11px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-links a {
  text-decoration: none;
}
.footer-pipe {
  display: none;
}
.footer-copyright {
  font-size: 10px;
}
.search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 340px;
  max-height: 440px;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 5px 5px var(--shadow);
  z-index: 20;
}
.search-result-item {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.search-result-item:hover {
  background: var(--dropdown-hover);
}
.search-result-type {
  font-family: Pixel, monospace;
  font-size: 7px;
  color: var(--muted);
}
.search-result-title {
  font-size: 13px;
  color: var(--ink);
  margin: 3px 0;
}
.search-result-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.search-result-stars {
  font-size: 10px;
  color: var(--green);
}
.world-return {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-family: Pixel, monospace;
  font-size: 9px;
  text-decoration: none;
}
.section-heading {
  max-width: 1060px;
  margin: 40px auto 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading h2 {
  font-size: 22px;
  margin: 0;
}
.section-heading a {
  font-size: 12px;
}
.read-skip {
  position: absolute;
  top: -100px;
}
.read-skip:focus {
  top: 5px;
  left: 10px;
  z-index: 30;
  background: var(--paper);
  padding: 10px;
}
@media (max-width: 1100px) {
  .nav-bar-inner {
    gap: 12px;
  }
  .read-brand {
    font-size: 11px;
  }
  .nav-bar-left a {
    padding: 7px 9px;
    font-size: 12px;
  }
  .nav-bar-search input {
    width: 105px;
  }
  .hero-2008,
  .what-i-do,
  .product-grid,
  .writing-grid,
  .apple-footer,
  .section-heading {
    margin-left: 25px;
    margin-right: 25px;
  }
  .content-area {
    margin-left: 35px;
    margin-right: 35px;
  }
  .hero-tagline {
    max-width: 560px;
  }
  .hero-2008 h1 {
    font-size: 39px;
  }
}
@media (max-width: 840px) {
  .nav-bar-inner {
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 13px;
  }
  .nav-bar-left {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .nav-bar-left a {
    padding: 7px 13px;
  }
  .nav-bar-right {
    margin-left: auto;
  }
  .read-brand {
    font-size: 12px;
  }
  .hero-2008 {
    padding: 32px;
  }
  .hero-2008 h1 {
    font-size: 32px;
  }
  .hero-image {
    width: 115px;
    height: 130px;
    right: 28px;
    top: 87px;
  }
  .hero-tagline {
    font-size: 15px;
    margin-right: 135px;
  }
  .what-i-do {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-area {
    padding: 30px;
    line-height: 1.8;
  }
  .content-area h2 {
    font-size: 25px;
  }
}
@media (max-width: 520px) {
  .nav-bar-inner {
    padding: 13px 16px;
    gap: 12px;
  }
  .read-brand {
    font-size: 10px;
    gap: 8px;
  }
  .read-brand small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .grass-icon {
    width: 23px;
    height: 25px;
  }
  .nav-bar-search {
    display: none;
  }
  .read-music {
    font-size: 10px;
    min-height: 34px;
  }
  .nav-bar-left a {
    font-size: 11px;
    padding: 7px 9px;
  }
  .hero-2008 {
    margin: 28px 18px;
    padding: 26px;
    min-height: 0;
  }
  .hero-2008:before {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .hero-2008 h1 {
    font-size: 29px;
    max-width: 180px;
    margin-bottom: 18px;
  }
  .hero-image {
    top: 59px;
    right: 24px;
    width: 88px;
    height: 105px;
  }
  .hero-tagline {
    font-size: 14px;
    margin-right: 0;
    padding-top: 8px;
  }
  .hero-links {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    margin-top: 20px;
  }
  .what-i-do {
    gap: 12px;
    margin: 20px 18px 32px;
  }
  .what-i-do-item {
    padding: 17px;
  }
  .what-i-do h3 {
    font-size: 12px;
  }
  .content-area {
    margin: 30px 18px;
    padding: 25px 22px;
    font-size: 15px;
  }
  .content-area h2 {
    font-size: 23px;
  }
  .product-grid,
  .writing-grid {
    grid-template-columns: 1fr;
    margin: 0 18px 35px;
    gap: 17px;
  }
  .product-box {
    padding: 24px;
  }
  .product-box h3 {
    font-size: 16px;
  }
  .product-box p {
    font-size: 14px;
  }
  .writing-card-title {
    font-size: 18px;
  }
  .avatar {
    width: 90px;
    height: 100px;
  }
  .avatar-section {
    margin: 0 0 18px 15px;
  }
  .stat-number {
    font-size: 20px;
  }
  .stat-label {
    font-size: 8px;
  }
  .stats-bar {
    gap: 10px;
  }
  .apple-footer {
    margin: 35px 20px 20px;
  }
  .footer-links {
    gap: 15px;
  }
  .social-grid {
    gap: 10px;
  }
  .connect-link {
    font-size: 13px;
    padding: 10px 13px;
  }
  .section-heading {
    margin: 30px 18px 20px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.hero-role {
  font-size: 17px;
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: 15px;
}
.hero-2008 {
  min-height: 330px;
}
@media (max-width: 520px) {
  .hero-role {
    font-size: 13px;
    padding-top: 10px;
  }
  .hero-tagline {
    font-size: 13px;
    padding-top: 0;
  }
  .hero-2008 {
    min-height: 0;
  }
}
