/* trojancat9 — palette: nude paper, deep olive, sage, terracotta-nude accent */

:root {
  --paper: #f4eee1;
  --paper-alt: #ece1cb;
  --olive-deep: #43432c;
  --olive: #6e6f47;
  --olive-soft: #9a9a74;
  --nude: #c8a487;
  --nude-line: #d9cbb0;
  --text: #35331f;

  --display: "Fraunces", serif;
  --body: "Work Sans", sans-serif;
  --mono: "Space Mono", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
}

@media (prefers-reduced-motion: no-preference) {
  body { scroll-behavior: smooth; }
}

/* signature motif: hand-drawn olive branch */
.branch {
  color: var(--olive);
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}
.branch svg {
  width: 100%;
  height: 20px;
  fill: var(--nude);
}
.branch.small {
  max-width: 220px;
  padding: 2.5rem 2rem;
  opacity: 0.7;
}

.site-header {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-soft);
  margin: 0 0 0.75rem;
}

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: -0.01em;
  color: var(--olive-deep);
  margin: 0;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--nude);
}

.tagline {
  font-style: italic;
  color: var(--olive);
  margin-top: 0.75rem;
  font-size: 1rem;
}

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.panel {
  background: var(--paper-alt);
  border: 1px solid var(--nude-line);
  border-radius: 2px;
  padding: 2rem 2.25rem;
}

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--olive-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--nude);
  border: 1px solid var(--nude);
  border-radius: 50%;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--olive-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--nude);
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { color: var(--nude); border-color: var(--olive-deep); }
a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

strong { color: var(--olive-deep); font-weight: 500; }
em { color: var(--olive); }

figure { margin: 0; text-align: center; }
figure img {
  max-width: 100%;
  border: 1px solid var(--nude-line);
  padding: 0.5rem;
  background: var(--paper);
}
figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--olive-soft);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--nude-line);
}
li:last-child { border-bottom: none; }
li::before {
  content: "· ";
  color: var(--nude);
  font-weight: 700;
  margin-right: 0.5rem;
}

.site-footer {
  text-align: center;
  padding: 1rem 1.5rem 3rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--olive-soft);
}

@media (max-width: 480px) {
  .panel { padding: 1.5rem; }
  .site-header { padding: 2rem 1rem 0.5rem; }
}