:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --ink: #1c2a2e;
  --muted: #505c60;
  --line: #d7d0c4;
  --river: #1f4d5c;
  --river-deep: #163a46;
  --sand: #c4a574;
  --font: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --footer: #2b2b2b;
  --footer-text: #d7d7d7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(120% 55% at 50% -12%, #fffdf8 0%, transparent 58%),
    radial-gradient(42% 32% at 96% 6%, rgba(196, 165, 116, 0.28) 0%, transparent 70%),
    radial-gradient(36% 28% at 0% 62%, rgba(31, 77, 92, 0.08) 0%, transparent 72%),
    linear-gradient(180deg, #f8f4ec 0%, #f4f1ea 46%, #e8e0d2 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
}
a { color: var(--river-deep); }
a:hover { color: var(--river); }
img { max-width: 100%; height: auto; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(68rem, calc(100% - 2.4rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 8px 16px rgba(28, 42, 46, 0.06);
  font-family: var(--font);
  color: #222;
}
#about, section { scroll-margin-top: 6rem; }
.bar {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 5.2rem;
}
.brand { display: flex; line-height: 0; }
.brand img { width: 50px; height: 50px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.1rem 1.3rem; }
.site-nav a {
  color: #222;
  text-decoration: none;
  font-family: var(--font);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.site-nav a:hover { text-decoration: underline; }
.lang {
  display: flex;
  margin: 0 0 0 auto;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f4ee;
}
.lang a {
  color: var(--river);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
}
.lang a[aria-current="page"] {
  background: var(--river);
  color: #f4f1ea;
}
.lang a:hover { color: var(--river-deep); }
.lang a[aria-current="page"]:hover { color: #f4f1ea; }
.hero { padding: 3.2rem 0 1rem; text-align: center; }
h1 {
  margin: 0;
  color: var(--river);
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 560;
  letter-spacing: 0.01em;
}
.intro {
  display: grid;
  grid-template-columns: 14rem minmax(0, 38rem);
  gap: 2.4rem;
  align-items: center;
  text-align: left;
  padding: 2.2rem 0 1rem;
}
.mark { width: 100%; }
.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #756345;
}
.prose { max-width: 38rem; }
.prose > :first-child { margin-top: 0; }
.band {
  margin: 2.6rem calc(50% - 50vw);
  width: 100vw;
}
.frame img {
  filter: sepia(0.07) saturate(0.98) brightness(1.05) contrast(1.03);
}
.band img {
  display: block;
  width: 100%;
  height: clamp(13rem, 34vw, 24rem);
  object-fit: cover;
  object-position: center 42%;
  filter: sepia(0.04) saturate(1.06) brightness(1.15) contrast(1.1);
}
.frame { margin: 2.4rem 0 2.4rem 16.4rem; max-width: 38rem; }
.frame img {
  display: block;
  width: 100%;
  height: clamp(12rem, 28vw, 20rem);
  object-fit: cover;
  object-position: center 40%;
}
.frame figcaption {
  margin-top: 0.45rem;
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
main { overflow-x: clip; }
.split {
  display: grid;
  grid-template-columns: 14rem minmax(0, 38rem);
  gap: 1.2rem 2.4rem;
  align-items: start;
  padding: 2.2rem 0 0.4rem;
}
.split h2 { margin: 0; }
h2 {
  font-size: 1.7rem;
  font-weight: 560;
  margin: 0;
}
h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-bottom: 0.7rem;
  background: var(--sand);
}
ul { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }
.join {
  margin: 0;
  background: var(--river);
  color: #f3efe6;
  padding: 1.35rem 1.4rem 1.45rem;
}
.join a { color: #fff; }
.join a:hover { color: #fff; }
.join-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.8rem 1.1rem;
  align-items: start;
}
.fee {
  margin: 0.15rem 0 0;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
}
.actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.action {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: var(--river);
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  transition: background-color 0.15s ease;
}
.action span {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7d3b4;
}
.action-quiet {
  background: transparent;
  color: var(--river-deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.action-quiet span { color: #826a4a; }
.action:hover { background: var(--river-deep); color: #fff; }
.action-quiet:hover { background: var(--paper); color: var(--river-deep); }
.site-footer {
  margin-top: 3.5rem;
  border-top: 2px solid var(--sand);
  background: var(--footer);
  color: var(--footer-text);
  padding: 1.5rem 0;
  font-family: var(--font);
  font-size: 1.02rem;
}
.foot {
  display: flex;
  align-items: center;
  gap: 0.8rem 1.3rem;
  flex-wrap: wrap;
}
.foot img {
  width: 48px;
  height: 48px;
  background: var(--paper);
  border-radius: 50%;
  object-fit: cover;
}
.foot p { margin: 0; }
.foot-name { color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-copy { margin-left: auto; }
.foot-privacy {
  margin: 0.95rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  line-height: 1.45;
}
.foot-privacy strong { color: #fff; font-weight: 560; }
@media (max-width: 760px) {
  .bar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.45rem;
    min-height: 0;
    padding: 0.7rem 0 0.6rem;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .lang { grid-column: 2; grid-row: 1; justify-self: end; margin-left: 0; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0.35rem; }
  .site-nav a { font-size: 0.92rem; white-space: nowrap; }
  #about, section { scroll-margin-top: 7.5rem; }
  .intro, .split, .join-row { grid-template-columns: 1fr; }
  .mark { width: min(16rem, 70%); margin: 0 auto; display: block; }
  .frame { margin-left: 0; max-width: none; }
  .foot {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.1rem;
  }
  .foot img { grid-column: 1; grid-row: 1 / span 2; }
  .foot-name { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .foot > p:not(.foot-name):not(.foot-copy) { grid-column: 2 / -1; grid-row: 2; }
  .foot-copy { grid-column: 3; grid-row: 1; margin-left: 0; white-space: nowrap; }
}
