:root {
  --bg: #0b1e36;
  --bg-header: rgba(8, 18, 34, 0.94);
  --bg-raised: #132844;
  --text: #f4f7fb;
  --gold: #e4c98a;
  --gold-deep: #c6a15b;
  --line: rgba(228, 201, 138, 0.4);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-offset: 6.5rem;
  --column: 40rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(228, 201, 138, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-top: var(--header-offset);
}

h1, h2, .brand-name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

h1, h2 { margin: 0 0 1.1rem; font-size: 2rem; }

h3 {
  margin: 1.8rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

p { margin: 0 0 1rem; }

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover { color: #f3e2b8; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 1.25rem;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}

.brand-text { min-width: 0; }

.brand:hover { color: inherit; }

.logo-mark {
  display: block;
  height: 62px;
  width: 62px;
  flex: none;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
}

.brand-role {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.langs {
  display: flex;
  gap: 0.25rem;
}

.langs button,
.menu-toggle,
form button {
  font: inherit;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.langs button {
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.langs button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  order: 3;
  flex-basis: 100%;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.site-nav a:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.1rem;
}

.menu-bars span {
  display: block;
  height: 1px;
  background: var(--gold);
}

main {
  width: min(var(--column), calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.section {
  padding: 2.6rem 0 1rem;
  scroll-margin-top: var(--header-offset);
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.kicker {
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.frame {
  margin: 0 0 1.5rem;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.frame figcaption {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.dot { margin: 0 0.4rem; }

ul { margin: 0 0 1rem; padding-left: 1.2rem; }

li { margin: 0.25rem 0; }

li::marker { color: var(--gold-deep); }

.em {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 650;
}

.contact-list { margin: 0 0 1.8rem; }

.contact-list div { margin-bottom: 0.9rem; }

.contact-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list dd { margin: 0.15rem 0 0; }

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
}

input, textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg-raised) inset;
}

.captcha-prompt {
  color: var(--gold);
  letter-spacing: 0.08em;
}

form button {
  align-self: flex-start;
  padding: 0.7rem 1.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

form button:hover,
.langs button:hover,
.menu-toggle:hover {
  border-color: var(--gold);
}

form button:disabled { opacity: 0.6; cursor: wait; }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { min-height: 1.4em; margin: 0; }

.form-status.is-error { color: #f3d0d0; }

.form-status.is-ok { color: var(--gold); }

.site-footer {
  width: min(var(--column), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
}

@media (min-width: 1180px) {
  .site-header {
    flex-wrap: nowrap;
    padding-inline: 2rem;
  }
  .brand { flex: 0 1 auto; }
  .site-nav {
    order: 2;
    flex-basis: auto;
    margin-left: auto;
  }
  .header-tools {
    order: 3;
    margin-left: 1rem;
  }
}

@media (max-width: 1179px) {
  :root { --header-offset: 5.6rem; }

  .menu-toggle { display: inline-flex; }

  .logo-mark {
    height: 48px;
    width: 48px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.4rem 0 0.7rem;
  }

  .site-nav.is-open { display: flex; }

  .brand-name { font-size: 0.98rem; }
}

@media (max-width: 420px) {
  .brand-role { letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
