:root {
  color-scheme: light;
  --cream: #faf5e9;
  --paper: #fffaf0;
  --line: #dfd2b8;
  --ink: #253025;
  --muted: #5c6256;
  --forest: #203728;
  --forest-deep: #17291e;
  --gold: #ebba65;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", system-ui, sans-serif;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a56522; outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
.layout { width: min(1192px, calc(100% - 72px)); margin-inline: auto; }

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner, .footer-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  font-size: 1rem;
  text-decoration: none;
}

.brand img { width: 46px; height: 46px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.header-actions > a { text-decoration: none; font-size: .94rem; font-weight: 700; }
.header-actions > a:hover, .footer-inner a:hover { text-decoration: underline; }

.language-picker {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--cream);
}

.language-picker a {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 36px;
  border-radius: 22px;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}

.language-picker a[aria-current] { color: white; background: var(--forest); }

.hero {
  color: var(--paper);
  background: radial-gradient(ellipse at 78% 28%, #365039, transparent 66%), var(--forest-deep);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 70px);
}

.hero-context {
  color: #edd2a0;
  font-size: .94rem;
  font-weight: 730;
}

h1 {
  margin: 16px 0 22px;
  font: 700 clamp(3.2rem, 6.5vw, 6.1rem)/.98 var(--serif);
  letter-spacing: -.055em;
}

h1 span {
  display: block;
  margin-top: 15px;
  color: var(--gold);
  font: 700 clamp(1.2rem, 2.25vw, 2.1rem)/1.16 var(--sans);
  letter-spacing: -.025em;
}

.hero-lead { max-width: 37ch; color: #f5eedb; font-size: clamp(1.08rem, 2vw, 1.42rem); line-height: 1.48; }
.hero-poster { margin: 0; width: min(100%, 416px); justify-self: end; }

.hero-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 1145 / 1374;
  border-radius: 12px;
  border: 1px solid #f0d29580;
  box-shadow: 0 22px 50px #0c1c13a0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 7px;
  background: var(--forest);
  color: #fff;
  text-align: center;
  font-size: .98rem;
  font-weight: 760;
  line-height: 1.35;
  text-decoration: none;
}

.button:hover { background: #36533a; }
.hero .button { margin-top: 27px; background: var(--gold); color: var(--forest-deep); }
.hero .button:hover { background: #ffd78c; }
.hero .button:focus-visible { outline-color: var(--paper); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  width: fit-content;
  margin: 28px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #ead5ad56;
  list-style: none;
  color: #f3e4ca;
  font-size: .96rem;
}

.dates { padding-block: clamp(40px, 5vw, 64px); scroll-margin-top: 24px; }
.dates h2, .course h2 { font: 700 clamp(2.3rem, 4.6vw, 4rem)/1.07 var(--serif); letter-spacing: -.045em; }
.section-intro { color: var(--muted); margin-top: 10px; font-size: 1.04rem; line-height: 1.55; }

.date-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
}

.date-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.date-list time { display: block; font-size: 1.16rem; font-weight: 780; }
.date-list time span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .91rem; font-weight: 620; }
.date-list .button { margin-top: auto; }

.course {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 76px);
  background: #efe7d5;
}

.course-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 7vw, 100px); }
.course-text p { color: #394136; line-height: 1.7; font-size: clamp(1rem, 1.6vw, 1.09rem); }
.course-text p + p { margin-top: 1em; }
.site-footer { min-height: 92px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner > a { font-size: .95rem; font-weight: 650; }

@media (max-width: 890px) {
  .layout { width: calc(100% - 48px); }
  .hero-inner { gap: 30px; }
  .date-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .layout { width: calc(100% - 36px); }
  .site-header { min-height: 66px; }
  .header-actions > a { display: none; }
  .brand img { width: 38px; height: 38px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-poster { justify-self: center; }
  .hero-facts { margin-top: 22px; gap: 7px 15px; font-size: .91rem; }
  .date-list { gap: 9px; }
  .date-list li { padding: 12px; }
  .date-list time { font-size: 1.02rem; }
  .date-list .button { width: 100%; padding-inline: 7px; }
  .course-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { padding-block: 12px; flex-wrap: wrap; }
}

@media (max-width: 345px) {
  .date-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
