*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ground);
}

body {
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink-2);
  text-decoration: none;
}

a:hover { color: var(--ink-bright); }

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

img { display: block; }

[hidden] { display: none !important; }

h1,
h2,
p { margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.micro {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--ground);
  overflow-x: hidden;
}

.backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 105vh;
}

.backdrop__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.42) saturate(0.85);
}

.backdrop__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 18%,
    rgba(0, 0, 0, 0.75) 58%,
    #000 88%
  );
}

.backdrop__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 65% at 50% 22%, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.backdrop--empty .backdrop__wash {
  background: linear-gradient(to bottom, #15151a 0%, #0b0b0d 45%, #000 85%);
}

.backdrop--empty .backdrop__vignette {
  background: radial-gradient(85% 55% at 50% 12%, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
}

.shell {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 24px;
}

.shell__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 38px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-bright);
}

.logo:hover { color: var(--ink-bright); }

.logo__mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.logo__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.site-header__logo {
  filter: var(--shadow-logo);
}

.langswitch {
  position: absolute;
  top: 38px;
  right: 24px;
  padding-block: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .langswitch {
    position: static;
    align-self: flex-end;
    margin-top: 16px;
  }

  .langswitch + .site-header { padding-top: 14px; }
}

.site-header__tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ink-2);
  text-align: center;
}

.site-footer {
  width: 100%;
  max-width: var(--w-narrow);
  padding: 26px 0 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}

.site-footer--spaced { margin-top: 40px; }
.site-footer--tight { margin-top: 12px; }

.site-footer small { max-width: 560px; }

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--separator);
  transition: color var(--t) ease;
}

.site-footer a:hover { color: var(--ink-bright); }

.field-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 9px;
}

.field {
  width: 100%;
  padding: 13px 15px;
  background: var(--field-bg);
  color: var(--ink-bright);
  border: 1px solid var(--field-border);
  border-radius: var(--r-control);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t-field), background-color var(--t-field);
}

.field:focus {
  border-color: var(--field-border-focus);
  background: var(--field-bg-focus);
}

.field--num {
  width: 92px;
  font-variant-numeric: tabular-nums;
}

.btn {
  font-family: inherit;
  border-radius: var(--r-control);
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--t-slowest), border-color var(--t-slowest), color var(--t-slowest);
}

.btn--accent {
  background: var(--accent);
  border: 1px solid var(--accent-hi);
  color: var(--ink-bright);
}

.btn--accent:hover { background: var(--accent-hi); }

.btn--hairline {
  background: var(--field-bg-admin);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-2);
}

.btn--hairline:hover {
  background: var(--hover-fill-strong);
  border-color: var(--hairline-active);
  color: var(--ink-bright);
}

.btn[disabled] {
  background: var(--field-bg);
  border: 1px solid var(--hairline);
  color: var(--ink-dim);
  cursor: not-allowed;
}

.error {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--danger-ink);
  min-height: 0;
}

.error:empty { display: none; }

.field.is-invalid { border-color: var(--accent-hi); }

.form-status {
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: var(--danger-ink);
}

.form-status:empty { display: none; }
