/* Upcers Porstal — situational map, no frameworks */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  background-color: #f6f4f0;
  background-image:
    linear-gradient(rgba(246, 244, 240, 0.88), rgba(246, 244, 240, 0.88)),
    url("background_air_soft.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: #222;
  text-decoration: underline;
  text-decoration-color: rgba(34, 34, 34, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: #222;
}

a:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

/* ——— Site header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 240, 0.92);
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
  backdrop-filter: blur(6px);
}

.site-header__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.1rem;
}

.site-brand {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  font-weight: normal;
}

.site-brand a {
  text-decoration: none;
  color: #222;
}

.site-brand a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(34, 34, 34, 0.4);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: #222;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-color: #222;
}

/* ——— Main layout ——— */
main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Varied section rhythm */
.stage {
  margin-bottom: 4.5rem;
}

.stage--tight {
  margin-bottom: 3rem;
}

.stage--wide {
  margin-bottom: 6rem;
  padding-top: 1rem;
}

.stage--divider-top {
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  padding-top: 3rem;
  margin-top: 1rem;
}

.stage--narrow-copy {
  max-width: 32rem;
}

.stage--offset {
  margin-left: 0;
}

@media (min-width: 640px) {
  .stage--offset {
    margin-left: 2rem;
    max-width: 40rem;
  }
}

h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: normal;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.15rem;
  font-weight: normal;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.stage__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.55);
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(34, 34, 34, 0.92);
}

.pull-quote {
  font-size: 1.05rem;
  font-style: italic;
  border-left: 2px solid rgba(34, 34, 34, 0.15);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: rgba(34, 34, 34, 0.85);
}

/* Reflective lines */
.notice-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.notice-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.1rem;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(34, 34, 34, 0.88);
}

.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 4px;
  height: 4px;
  background: rgba(34, 34, 34, 0.25);
  border-radius: 50%;
}

.notice-list li:last-child {
  border-bottom: none;
}

/* Contact block */
.contact-block {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(34, 34, 34, 0.9);
}

.contact-block h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(34, 34, 34, 0.55);
}

.contact-block p {
  margin-bottom: 0.75em;
}

/* Footer */
.site-footer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(34, 34, 34, 0.65);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.site-footer__nav a {
  color: rgba(34, 34, 34, 0.75);
}

.site-footer__meta {
  margin-top: 1rem;
  font-size: 0.8rem;
}

/* Article pages */
.article-intro {
  font-style: italic;
  font-size: 1rem;
  color: rgba(34, 34, 34, 0.78);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.article-body p {
  margin-bottom: 1.15em;
}

.page-title {
  margin-bottom: 0.5rem;
}

/* Archive list */
.archive-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.archive-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.archive-list a {
  font-size: 1.05rem;
  text-decoration: none;
}

.archive-list a:hover {
  text-decoration: underline;
}

.archive-meta {
  display: block;
  font-size: 0.8rem;
  color: rgba(34, 34, 34, 0.5);
  margin-top: 0.35rem;
}

/* Contact form (optional) */
.form-simple {
  margin-top: 2rem;
  max-width: 24rem;
}

.form-simple label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: rgba(34, 34, 34, 0.55);
}

.form-simple input,
.form-simple textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-size: 1rem;
  border: 1px solid rgba(34, 34, 34, 0.2);
  background: rgba(255, 255, 255, 0.45);
  color: #222;
}

.form-simple textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-simple button {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  background: #222;
  color: #f6f4f0;
  border: none;
  cursor: pointer;
}

.form-simple button:hover {
  background: #333;
}

/* Privacy sections */
.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.nav-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  font-size: 0.95rem;
}
