:root {
  --ink: #161513;
  --ink-soft: #3c3832;
  --muted: #6d675e;
  --paper: #f3eee6;
  --paper-2: #ebe4d8;
  --card: #faf7f1;
  --line: #d4cdc0;
  --navy: #1e2a3a;
  --rust: #9a3f28;
  --rust-deep: #7a2f1e;
  --white: #fffdf9;
  --max: 68rem;
  --text: 38rem;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust-deep); }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(var(--text), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}
.wordmark span { color: var(--rust); }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--rust); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  margin-left: 0.5rem;
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.hero { padding: 4.2rem 0 3.2rem; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.7rem;
}
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 560; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.65rem; margin: 0 0 0.8rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }

.section { padding: 2.6rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.band { background: var(--paper-2); }

.grid-3, .grid-2 {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.35rem;
}
.card p:last-child { margin-bottom: 0; }

.list-plain { margin: 0; padding-left: 1.1rem; }
.list-plain li { margin-bottom: 0.4rem; }

table.fees {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--card);
}
table.fees th, table.fees td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
table.fees th { background: var(--navy); color: var(--white); font-weight: 600; }
table.fees tr:nth-child(even) td { background: #f3eee6; }
table.fees td:nth-child(2) { font-weight: 650; white-space: nowrap; }

.embed-box {
  border: 1px dashed var(--line);
  background: var(--card);
  padding: 1.2rem;
  min-height: 8rem;
}
.embed-box code { font-size: 0.85rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--rust); }

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  table.fees td:nth-child(2) { white-space: normal; }
  .hero { padding-top: 2.6rem; }
}

nav .lang { margin-left: 0.4rem; padding-left: 1rem; border-left: 1px solid var(--line); font-size: 0.82rem; letter-spacing: 0.04em; }
nav .lang a { color: var(--muted); }
nav .lang a[aria-current="true"] { color: var(--navy); text-decoration: none; font-weight: 600; }

.portrait-row { display: flex; gap: 1.25rem; align-items: flex-start; margin: 0 0 1.4rem; }
.portrait {
  width: 5.5rem; height: 6.6rem; object-fit: cover; object-position: 50% 18%;
  border-radius: 2px; flex-shrink: 0; background: var(--paper-2);
}
@media (max-width: 520px) {
  .portrait-row { flex-direction: column; }
  .portrait { width: 4.6rem; height: 5.5rem; }
}
