:root {
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --ink: #272522;
  --muted: #6b665f;
  --line: #d9d0c3;
  --accent: #8f4f3b;
  --accent-dark: #6f3d2f;
  --deep: #263643;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,243,236,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217,208,195,.85);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; letter-spacing: .01em; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: #4d4944; }
.nav a:hover, .nav a.active { color: var(--accent); }
.menu-btn { display: none; border: 0; background: transparent; font-size: 1.4rem; }
.hero {
  padding: 76px 0 58px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: center;
}
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .76rem; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(3rem, 6.3vw, 6rem); letter-spacing: -.045em; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.025em; }
h3 { font-size: 1.5rem; }
.lede { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 760px; color: #4b4742; }
.hero-card, .photo-placeholder {
  min-height: 430px; border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; padding: 32px;
}
.photo-placeholder { color: var(--muted); text-align: center; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; text-decoration: none; border: 1px solid var(--ink); padding: 11px 18px; border-radius: 999px; font-size: .92rem; }
.btn.primary { background: var(--deep); color: white; border-color: var(--deep); }
.btn:hover { transform: translateY(-1px); }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section.alt { background: #f1ece3; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; margin-bottom: 42px; }
.section-head p { margin-top: 0; color: #4f4b46; font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: var(--paper-2); border: 1px solid var(--line); padding: 28px; min-height: 100%; }
.card p { color: #5b5650; }
.card .more { color: var(--accent-dark); text-decoration: none; font-weight: 700; font-size: .9rem; }
.tag { display: inline-block; margin: 0 6px 8px 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .76rem; }
.page-hero { padding: 68px 0 40px; max-width: 850px; }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.content { max-width: 850px; }
.content h2 { margin-top: 58px; font-size: 2.25rem; }
.content h3 { margin-top: 36px; }
.meta { color: var(--muted); font-size: .92rem; }
.project { padding: 36px 0; border-top: 1px solid var(--line); }
.project:first-child { border-top: 0; }
.callout { margin: 34px 0; padding: 24px; background: #efe6da; border-left: 4px solid var(--accent); }
.placeholder { border: 2px dashed #bcaa98; background: #fbf8f3; padding: 18px; color: #7a6f65; font-size: .9rem; }
.course-list { display: grid; gap: 14px; }
.course { border-top: 1px solid var(--line); padding-top: 16px; }
.footer { padding: 42px 0 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.small { font-size: .88rem; color: var(--muted); }
blockquote { margin: 30px 0; padding-left: 22px; border-left: 3px solid var(--accent); font-family: Georgia, serif; font-size: 1.25rem; color: #484039; }
@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero, .section-head, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; gap: 32px; }
  .hero-card, .photo-placeholder { min-height: 280px; }
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; display: none; flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
}
