*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html[lang="ka"] body {
  font-family: var(--font-geo);
}

html.lang-ka .hero__headline,
html.lang-ka .taglines li {
  font-family: var(--font-geo);
}

html.lang-ka .section-header h2 {
  font-family: var(--font-geo);
  letter-spacing: 0.04em;
  text-transform: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-silver);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-silver);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.container > p:not(.lead):not(.section-intro):not(.video-note):not(.mailto-hint):not(.footer-copy) {
  max-width: var(--content-width);
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--accent-red-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent-red);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
