:root {
  --slate: #65787c;
  --slate-dark: #4b5a5d;
  --sage: #73a791;
  --sage-dark: #4f8a71;
  --sage-soft: #eef5f1;
  --ink: #2c3335;
  --muted: #5d686a;
  --bg: #ffffff;
  --bg-alt: #f5f7f6;
  --line: #dfe5e3;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif; font-size: 1.08rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }
h1, h2, h3 { font-family: "EB Garamond", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--slate-dark); }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.brand img { width: 240px; height: auto; border-radius: 4px; }
.site-nav { background: var(--slate); }
.nav-inner { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px 14px; }
.site-nav a:hover { background: var(--slate-dark); }
.site-nav a[aria-current="page"] { background: var(--sage); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate-dark); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* home */
.hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 48, 50, 0) 30%, rgba(40, 48, 50, .65) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 32px; }
.quote { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.notice { background: var(--sage-soft); border-bottom: 1px solid var(--line); padding: 36px 0; }
.notice h1 { font-size: clamp(1.35rem, 2.8vw, 1.8rem); margin: 0; max-width: 860px; color: var(--slate-dark); }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 285px; gap: 48px; align-items: start; }
.about p { color: var(--muted); }
.portrait { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(30, 40, 42, .12); }
.more { font-weight: 700; color: var(--sage-dark); text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(30, 40, 42, .1); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 285 / 150; object-fit: cover; }
.card div { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); flex: 1; }

/* inner pages */
.page-hero { background: linear-gradient(135deg, var(--slate-dark), var(--slate)); padding: 44px 0 38px; }
.page-hero h1 { color: #fff; margin: 0; }
.prose p, .prose li { color: #3d4648; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { float: right; max-width: 40%; margin: 0 0 16px 24px; border-radius: 8px; }
.prose::after { content: ""; display: block; clear: both; }

/* footer */
.site-footer { background: var(--slate-dark); color: #dfe7e6; padding: 32px 0; font-size: .98rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px 24px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; color: #b9c6c4; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 285px; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-inner { flex-direction: column; gap: 0; padding: 0; }
  .site-nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wrap { padding: 0 16px; }
  .header-inner { padding: 14px 16px; }
  .brand img { width: 190px; }
  .hero { min-height: 220px; }
  .section { padding: 48px 0; }
  .prose img { float: none; width: 100%; max-width: 100%; max-height: 200px; object-fit: cover; margin: 0 0 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
