:root {
  --background: #f5f1e8;
  --surface: #fffdf8;
  --surface-muted: #ebe5d9;
  --ink: #1d2530;
  --ink-muted: #69707a;
  --primary: #094cb2;
  --primary-soft: #dce8fb;
  --gold: #6d5e00;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 64px rgba(29, 37, 48, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(9, 76, 178, 0.08), transparent 30rem),
    linear-gradient(180deg, #faf7ef 0%, var(--background) 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 650;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  fill: var(--primary);
}

.brand-mark path {
  fill: var(--surface);
}

.brand-mark circle {
  fill: var(--gold);
}

.language-switcher {
  display: flex;
  padding: 4px;
  background: rgba(255, 253, 248, 0.8);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(29, 37, 48, 0.06);
  backdrop-filter: blur(20px);
}

.language-switcher button {
  min-width: 44px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-muted);
  background: transparent;
  font: 700 0.75rem/1 "Public Sans", Inter, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--primary);
}

.language-switcher button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(9, 76, 178, 0.28);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: calc(100vh - 184px);
  padding: 48px 0 88px;
}

.hero[hidden],
footer p[hidden] {
  display: none;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  font: 700 0.78rem/1.2 "Public Sans", Inter, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(3.25rem, 6vw, 5.7rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
  padding: 12px 16px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(9, 76, 178, 0.1);
}

.proof-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.proof-points li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--ink);
  font-weight: 620;
}

.proof-points li::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 7px;
  height: 7px;
  margin-top: 0.5em;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.archive-preview {
  position: relative;
  min-height: 570px;
}

.preview-glow {
  position: absolute;
  inset: 12% 4% 5% 8%;
  background: rgba(9, 76, 178, 0.12);
  border-radius: 48%;
  filter: blur(55px);
}

.preview-card {
  position: absolute;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.preview-card-main {
  inset: 60px 62px 36px 26px;
  z-index: 2;
  transform: rotate(-2.5deg);
}

.preview-card-small {
  z-index: 3;
  width: 190px;
  border-radius: var(--radius-md);
}

.preview-card-top {
  top: 12px;
  right: 0;
  transform: rotate(4deg);
}

.preview-card-bottom {
  right: 8px;
  bottom: 2px;
  transform: rotate(2deg);
}

.preview-image {
  position: relative;
  overflow: hidden;
}

.preview-image-main {
  height: 300px;
  background: linear-gradient(155deg, #bccde8 0%, #e8dac2 52%, #8b9e8c 100%);
}

.sun {
  position: absolute;
  top: 52px;
  right: 62px;
  width: 74px;
  height: 74px;
  background: #e7c65b;
  border-radius: 50%;
}

.mountain {
  position: absolute;
  right: -30%;
  bottom: -45%;
  left: -30%;
  height: 88%;
  border-radius: 50% 50% 0 0;
  transform: rotate(10deg);
}

.mountain-back {
  bottom: -30%;
  background: #6e7e83;
}

.mountain-front {
  left: -5%;
  background: #364d49;
  transform: rotate(-8deg);
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 24px 26px;
}

.preview-meta strong {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.preview-meta > span:not(.preview-label) {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.preview-label {
  color: var(--gold);
  font: 700 0.65rem/1.2 "Public Sans", Inter, sans-serif;
  letter-spacing: 0.12em;
}

.preview-card-small .preview-image {
  height: 118px;
}

.preview-card-small .preview-meta {
  padding: 14px 16px 17px;
}

.preview-card-small .preview-meta strong {
  font-size: 0.98rem;
}

.preview-image-note {
  display: grid;
  place-items: center;
  color: #fffdf8;
  background: linear-gradient(145deg, #755e4b, #c29e70);
  font: 700 4.8rem/1 Georgia, serif;
}

.preview-image-note span {
  transform: translateY(18px);
}

.preview-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--surface-muted);
}

.preview-image-grid i:nth-child(1) { background: #c6d3db; }
.preview-image-grid i:nth-child(2) { background: #d9c3a0; }
.preview-image-grid i:nth-child(3) { background: #839895; }
.preview-image-grid i:nth-child(4) { background: #a9a4b4; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  color: var(--ink-muted);
  border-top: 1px solid rgba(29, 37, 48, 0.08);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .archive-preview {
    width: min(100%, 560px);
    min-height: 540px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 80px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand {
    gap: 9px;
    font-size: 1.08rem;
  }

  .language-switcher button {
    min-width: 40px;
    min-height: 36px;
    padding-inline: 9px;
  }

  .hero {
    gap: 34px;
    padding: 34px 0 56px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .lead {
    margin-top: 24px;
  }

  .archive-preview {
    min-height: 440px;
  }

  .preview-card-main {
    inset: 48px 34px 22px 2px;
  }

  .preview-image-main {
    height: 230px;
  }

  .preview-card-small {
    width: 145px;
  }

  .preview-card-small .preview-image {
    height: 88px;
  }

  .preview-card-small .preview-meta {
    gap: 4px;
    padding: 11px 12px 13px;
  }

  .preview-card-small .preview-meta strong {
    font-size: 0.82rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .preview-card {
    animation: settle 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .preview-card-top { animation-delay: 100ms; }
  .preview-card-bottom { animation-delay: 180ms; }

  @keyframes settle {
    from {
      opacity: 0;
      translate: 0 18px;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
