:root {
  --bg: #f6f4ef;
  --ink: #161614;
  --muted: #5d5a53;
  --rule: #d9d5cb;
  --accent: #1f4d3a;
  --serif: "Baskerville", "Libre Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --ink: #ecebe6;
    --muted: #a19e95;
    --rule: #34332f;
    --accent: #9cc5ae;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Home */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18vh 16px 10vh;
}
.hero h1 {
  margin: 0;
  font: 400 clamp(4.5rem, 19vw, 9.5rem)/0.9 var(--serif);
  letter-spacing: -0.02em;
}
.line {
  margin: 1.75rem 0 0;
  font: italic 400 clamp(1.2rem, 3.6vw, 1.5rem)/1.4 var(--serif);
}
.rule {
  width: 3rem;
  height: 1px;
  margin: 2.25rem auto;
  border: 0;
  background: var(--rule);
}
.about {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
}
.enquire {
  display: inline-block;
  margin-top: 2.25rem;
  padding-bottom: 2px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.enquire:hover, .enquire:focus-visible { border-bottom-width: 2px; padding-bottom: 1px; }
.guide {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 16px 12vh;
}
.guide h2 {
  margin: 0 0 0.75rem;
  font: 400 clamp(1.6rem, 5vw, 2.1rem)/1.2 var(--serif);
}
.guide > p { margin: 0 0 1.5rem; color: var(--muted); }
.contents { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.contents li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.contents a {
  font: 400 1.3rem/1.3 var(--serif);
  text-decoration: none;
}
.contents a:hover, .contents a:focus-visible { text-decoration: underline; }
.contents p { margin: 0.3rem 0 0; color: var(--muted); }

/* Guide pages */
.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: 40rem;
  width: 100%;
  margin: 0 auto;
  padding: 28px 16px 0;
}
.site-head .mark {
  color: var(--ink);
  font: 400 1.75rem/1 var(--serif);
  text-decoration: none;
}
.site-head nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.9375rem; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover, .site-head nav a:focus-visible, .site-head nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.page {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 7vh 16px 10vh;
}
.crumbs { margin: 0 0 1.25rem; color: var(--muted); font-size: 0.875rem; }
.crumbs a { color: inherit; }
.page h1 {
  margin: 0;
  font: 400 clamp(2.4rem, 8vw, 3.5rem)/1.05 var(--serif);
  letter-spacing: -0.01em;
}
.page .lede {
  margin: 1.25rem 0 2.5rem;
  font: italic 400 clamp(1.15rem, 3.4vw, 1.35rem)/1.45 var(--serif);
}
.page h2 {
  margin: 2.5rem 0 0.75rem;
  font: 400 1.6rem/1.25 var(--serif);
}
.page p, .page ul { margin: 0 0 1rem; }
.page ul { padding-left: 1.25rem; }
.page li { margin-bottom: 0.4rem; }
.next {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.sources {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.sources h2 { font-size: 1.15rem; margin-top: 0; }
.sources a { color: inherit; }

footer {
  padding: 24px 16px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
footer a { color: inherit; }
footer .enquire-small { display: block; margin-bottom: 0.5rem; }
