:root {
  color-scheme: dark;
  --black: #050505;
  --paper: #f4f1ea;
  --muted: #a9a49a;
  --line: #45413b;
  --red: #c90000;
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--paper); font-family: var(--serif); }
a { color: inherit; }
.landing {
  min-height: 100svh;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(22px, 5.5vw, 72px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.masthead { width: 100%; }
.masthead-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
}
.coordinates {
  margin: 0;
  font: 10px/1.5 var(--sans);
  letter-spacing: .22em;
  color: var(--muted);
  white-space: nowrap;
}
.language-switch { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: 10px/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
}
.language-button[aria-pressed="true"] {
  border-color: var(--line);
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.language-button:hover { color: var(--paper); }
.flag { font-size: 14px; line-height: 1; }
.language-code { min-width: 12px; }
.rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent); }
.intro { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(22px, 5vh, 50px); }
.brand-mark { display: block; width: min(100%, 520px); height: auto; object-fit: contain; }
h1 { margin: clamp(20px, 4vh, 36px) 0 0; font-size: clamp(29px, 4.4vw, 48px); font-weight: 400; line-height: 1.17; letter-spacing: -.035em; }
.tagline-second { color: #c8c1b4; font-style: italic; }
.invitation { margin: 18px 0 0; color: var(--muted); font-size: clamp(14px, 1.7vw, 16px); line-height: 1.8; }
.access { width: min(100%, 490px); text-align: center; margin-top: clamp(34px, 6vh, 60px); }
.eyebrow { margin: 0 0 16px; color: var(--paper); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }
.form-note { max-width: 390px; margin: 0 auto 18px; color: #a9a49a; font-size: 12px; line-height: 1.7; }
.substack-embed { display: block; width: 100%; max-width: 480px; height: 320px; margin: 0 auto; border: 1px solid #EEE; background: #fff; }
.embed-note { max-width: 390px; margin: 12px auto 0; color: #777168; font: 10px/1.6 var(--sans); }
.footer { margin-top: auto; padding-top: clamp(38px, 6vh, 64px); text-align: center; font: 10px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--paper); }
.footer-separator { margin: 0 12px; color: #625d54; }
.footer-note { margin: 18px 0 0; color: #625d54; font-size: 8px; letter-spacing: .23em; }
@media (min-width: 800px) and (min-height: 760px) {
  .landing { padding-top: 40px; padding-bottom: 27px; }
  .intro { padding-top: 26px; }
  .brand-mark { width: min(100%, 450px); }
  h1 { margin-top: 18px; }
  .access { margin-top: 27px; }
  .footer { padding-top: 30px; }
}
@media (max-width: 480px) {
  .landing { padding-inline: 20px; }
  .masthead-top { gap: 8px; padding-bottom: 15px; }
  .coordinates { font-size: 8px; letter-spacing: .13em; }
  .language-switch { gap: 1px; }
  .language-button { gap: 4px; padding: 5px 4px; min-height: 30px; font-size: 9px; }
  .flag { font-size: 13px; }
  .brand-mark { width: min(100%, 390px); }
  h1 { font-size: clamp(27px, 8vw, 36px); }
  .invitation { font-size: 13px; }
  .form-note { max-width: 310px; margin-bottom: 14px; }
  .substack-embed { height: 320px; }
  .embed-note { max-width: 310px; }
}
@media (max-width: 350px) {
  .masthead-top { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .language-switch { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
