:root {
  --bg: #fbf9f6;
  --ink: #26241f;
  --muted: #635f56;
  --accent: #a3512b;
  --accent-dark: #7c3d20;
  --card-bg: #ffffff;
  --border: #e6e0d6;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Georgia", "Iowan Old Style", serif;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

header.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header.site-header .site-title {
  font-weight: bold;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

header.site-header .site-title img {
  width: 28px;
  height: 28px;
}

.about-photo-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.about-photo-row img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.12);
}

.about-photo-row .about-text {
  flex: 1;
  min-width: 240px;
}

.photo-caption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.4rem;
  width: 200px;
}

header.site-header nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

header.site-header nav a:hover,
header.site-header nav a.current {
  color: var(--accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

main h1 {
  margin-top: 0;
  font-size: 1.9rem;
}

main h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.tagline {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  font-size: 1.05rem;
}

.sticker-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 50px;
  margin: 1.75rem 0 2.25rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sticker-stack .sticker {
  position: absolute;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  border: 2px solid rgba(0, 0, 0, 0.15);
}

.sticker-stack .sticker-1 {
  top: 4px; left: 2%;
  font-size: 0.62rem;
  color: #38506b;
  background: #c9d6e3;
  opacity: 0.75;
}

.sticker-stack .sticker-2 {
  top: -5px; left: 42%;
  font-size: 0.64rem;
  color: #1f4d34;
  background: #bfe0cd;
  transform: rotate(6deg);
  opacity: 0.8;
}

.sticker-stack .sticker-3 {
  top: 10px; left: 48%;
  font-size: 0.62rem;
  color: #5b3b17;
  background: #e8cf9e;
  transform: rotate(-9deg);
  opacity: 0.82;
}

.sticker-stack .sticker-4 {
  top: 10px; left: 35%;
  font-size: 0.65rem;
  color: #402a56;
  background: #dcc9e8;
  transform: rotate(20deg);
  opacity: 0.85;
}

.sticker-stack .sticker-5 {
  top: 28px; left: 40%;
  font-size: 0.65rem;
  color: #7a1f1f;
  background: #f0c4c4;
  transform: rotate(-7deg);
  opacity: 0.88;
}

.sticker-stack .sticker-6 {
  top: 42px; left: 20%;
  font-size: 0.68rem;
  color: #6b5900;
  background: #f5e6a3;
  transform: rotate(3deg);
  opacity: 0.92;
}

.sticker-stack .sticker-top {
  top: 20px; left: 52%;
  font-size: 0.85rem;
  color: var(--ink);
  background: #fffdf7;
  border: 2px solid var(--accent);
  transform: rotate(-2deg);
  box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.35);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.35;
  opacity: 0.92;
}

/* the fix didn't quite take on this one word */
.sticker-oops {
  font-family: Times, "Times New Roman", serif;
  font-weight: normal;
  font-size: medium;
  color: WindowText;
  text-transform: none;
  letter-spacing: normal;
}

.links-row {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 1.5rem 0;
}

.links-row a {
  display: inline-block;
  margin-right: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  color: var(--ink);
  background: var(--card-bg);
}

.links-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.project-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.project-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.project-card .traffic-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #9a9184;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
