@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/serif400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/serif400i.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #0b0d10;
  --ink-2: #16191e;
  --paper: #f4f1ea;
  --line-d: #262b33;
  --line-l: #d9d3c8;
  --mute-d: #9aa1ab;
  --mute-l: #5c6168;
  --gold: #c2a36a;
  --gold-ink: #1a160f;
  --white: #f7f5f0;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
html, body { background: var(--ink); color: var(--white); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn, .burger { cursor: pointer; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,13,16,.92);
  border-bottom: 1px solid var(--line-d);
  backdrop-filter: blur(12px);
}
.bar-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 22px; height: 22px; }
.brand b { font-weight: 500; font-size: 13px; letter-spacing: .04em; }
#nav-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-d); background: transparent; color: var(--white);
}
.burger span, .burger span:before, .burger span:after {
  display: block; width: 16px; height: 1px; background: currentColor; position: relative;
}
.burger span:before, .burger span:after { content: ""; position: absolute; left: 0; }
.burger span:before { top: -5px; }
.burger span:after { top: 5px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-size: 13px; color: var(--mute-d); }
nav a[aria-current="page"], nav a:hover { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { color: var(--gold-ink); filter: brightness(1.06); }
.btn-line { border: 1px solid var(--line-d); color: var(--white); }
.btn-line:hover { border-color: var(--gold); color: var(--white); }

.hero { padding: 88px 0 92px; }
.hero .place { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 8vw, 84px); line-height: 1.02;
  letter-spacing: -.03em; margin-top: 18px; max-width: 16ch;
}
.hero .lead { max-width: 36rem; margin-top: 28px; color: var(--mute-d); font-size: 19px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
}
.strip div { padding: 22px 20px 22px 0; }
.strip div + div { border-left: 1px solid var(--line-d); padding-left: 20px; }
.strip span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.strip strong { display: block; margin-top: 6px; font-weight: 500; font-size: 15px; }

.paper { background: var(--paper); color: var(--ink); }
.paper a:hover { color: #7a5e2e; }
.section { padding: 88px 0; }
.section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -.02em;
}
.k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.paper .k { color: #8a6d35; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.muted { color: var(--mute-d); }
.paper .muted { color: var(--mute-l); }

.cap { display: grid; gap: 0; margin-top: 40px; }
.cap article {
  display: grid; grid-template-columns: 4rem 14rem 1fr;
  gap: 20px; padding: 28px 0;
  border-top: 1px solid var(--line-l);
}
.paper .cap article:last-child { border-bottom: 1px solid var(--line-l); }
.cap .num { color: #8a6d35; font-size: 13px; padding-top: 4px; }
.cap h3 { font-size: 18px; font-weight: 500; }
.cap p { color: var(--mute-l); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.trio article { background: #fff; border: 1px solid var(--line-l); padding: 26px; }
.trio h3 { font-size: 17px; margin: 8px 0 10px; font-weight: 500; }

.dark { background: var(--ink-2); }
.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

footer.site { border-top: 1px solid var(--line-d); padding: 56px 0 28px; }
.fg { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 32px; }
.fg h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); font-weight: 500; margin-bottom: 12px; }
.fg a { display: block; color: var(--mute-d); text-decoration: none; margin: 8px 0; font-size: 14px; }
.fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-d); color: #6d737c; font-size: 12px; }
.he { margin-top: 10px; color: #6d737c; font-size: 14px; }

.mail {
  font-family: var(--serif); font-size: clamp(22px, 3.2vw, 36px);
  color: var(--gold); text-decoration: none; word-break: break-word;
}
.box { background: #fff; border: 1px solid var(--line-l); padding: 28px; }

@media (max-width: 900px) {
  .strip, .two, .cap article, .trio, .fg { grid-template-columns: 1fr; }
  .strip div + div { border-left: 0; border-top: 1px solid var(--line-d); padding-left: 0; }
  .cap article { gap: 8px; }
  .burger { display: flex; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--line-d);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
  }
  nav a, nav .btn { min-height: 44px; display: flex; align-items: center; }
  #nav-toggle:checked ~ nav { display: flex; }
}
