/* ===== Tokens ===== */
:root {
  --paper: #FAF9F7;
  --ink: #1C1B19;
  --muted: #5B5A54;
  --brass: #B08D57;
  --line: #E8E5DE;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 760px;
  --max-wide: 980px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: var(--max);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--muted); }

p { margin: 0 0 1em; color: var(--muted); }

a {
  color: var(--ink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a:hover { color: var(--ink); }

/* ===== Hero ===== */
.hero {
  padding: 108px 0 88px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 14ch;
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.08rem;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover { background: #34322e; }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--brass); }

/* ===== Section scaffolding ===== */
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 10px;
}

section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 40px;
}

/* ===== Syllabus (signature element) ===== */
.syllabus-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.syllabus-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.syllabus-item:last-child {
  border-bottom: 1px solid var(--line);
}

.syllabus-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.syllabus-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
}

.syllabus-leader {
  flex: 1;
  border-bottom: 1px dotted var(--muted);
  opacity: 0.4;
  transform: translateY(-4px);
}

.syllabus-price {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--brass);
  white-space: nowrap;
}

.syllabus-desc {
  max-width: 60ch;
  margin: 10px 0 12px;
}

.syllabus-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
}

.syllabus-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ===== Work grid ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.work-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.work-item p { font-size: 0.95rem; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== About ===== */
.about p { font-size: 1.05rem; max-width: 62ch; }

/* ===== Contact ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  color: var(--muted);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.contact-form .btn { align-self: flex-start; margin-top: 6px; }

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ===== Mobile nav collapse ===== */
@media (max-width: 620px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.85rem; }
  .hero { padding: 72px 0 56px; }
  section { padding: 56px 0; }
}
