:root {
  --forest-950: #0b2419;
  --forest-900: #123525;
  --forest-800: #174630;
  --forest-700: #1f5b3e;
  --forest-600: #2b7350;
  --sage-200: #d8e4db;
  --sage-100: #eef4ef;
  --cream: #f6f3eb;
  --paper: #fffefb;
  --ink: #1c2821;
  --muted: #607068;
  --line: #dce4de;
  --amber: #c7923e;
  --shadow: 0 20px 55px rgba(13, 43, 29, 0.12);
  --radius-lg: 26px;
  --radius-md: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 7%, rgba(43, 115, 80, 0.12), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 45%);
}

a {
  color: var(--forest-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest-950);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--forest-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 251, 0.94);
  border-bottom: 1px solid rgba(23, 70, 48, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--forest-950);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, var(--forest-600), var(--forest-900));
  border-radius: 50% 50% 48% 52% / 38% 38% 62% 62%;
  box-shadow: 0 8px 22px rgba(23, 70, 48, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-navigation,
.nav-links,
.language-switcher {
  display: flex;
  align-items: center;
}

.primary-navigation {
  gap: 1.25rem;
}

.nav-links {
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.55rem 0.65rem;
  color: #34473d;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest-900);
  background: var(--sage-100);
}

.language-switcher {
  gap: 0.2rem;
  padding: 0.2rem;
  background: var(--sage-100);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher a {
  display: grid;
  min-width: 36px;
  min-height: 32px;
  place-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
}

.language-switcher a[aria-current="true"] {
  color: white;
  background: var(--forest-700);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--forest-900);
}

main {
  min-height: 68vh;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--forest-950);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 36, 25, 0.98) 0%, rgba(11, 36, 25, 0.82) 48%, rgba(11, 36, 25, 0.2) 100%),
    url("../legacy-images/skr_layout_03.jpg") center right / auto 100% no-repeat;
  opacity: 0.94;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-width));
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  margin: 0 auto;
}

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

.eyebrow {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 1.2rem;
  color: #c8dccd;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--amber);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 610px;
  margin: 1.5rem 0 0;
  color: #d9e6dd;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.section-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  padding: clamp(3rem, 7vw, 6rem) 0;
  margin: 0 auto;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.article-card,
.contact-card,
.empty-state {
  padding: clamp(1.4rem, 4vw, 3.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-heading {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-content {
  max-width: 760px;
  font-size: 1.04rem;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 2rem 0 0.8rem;
  color: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.article-content h1,
.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.article-content p {
  margin: 0 0 1.15rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.3rem;
}

.article-content table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content td,
.article-content th {
  padding: 0.4rem;
  vertical-align: top;
}

.article-content img {
  width: auto;
  max-width: 100%;
  border-radius: 10px;
}

.article-content font {
  font-family: inherit !important;
}

.article-content [style*="font-size"] {
  max-width: 100%;
}

.side-panel {
  position: sticky;
  top: 112px;
  padding: 1.35rem;
  color: white;
  background: var(--forest-900);
  border-radius: var(--radius-md);
}

.side-panel strong {
  display: block;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.side-panel p {
  margin: 0;
  color: #cfe0d4;
  font-size: 0.9rem;
}

.side-panel a {
  display: inline-block;
  margin-top: 1rem;
  color: white;
  font-weight: 750;
}

.page-intro {
  max-width: 700px;
  margin: -1rem 0 2.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.content-card,
.gallery-category {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 1.45rem;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.content-card:hover,
.gallery-category:hover {
  color: var(--ink);
  border-color: #a7c4b0;
  box-shadow: 0 16px 38px rgba(13, 43, 29, 0.12);
  transform: translateY(-3px);
}

.content-card time,
.card-kicker {
  color: var(--forest-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-card h2,
.gallery-category h2 {
  margin: 0.85rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.content-card p,
.gallery-category p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-arrow {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--forest-600);
  font-weight: 800;
}

.gallery-category {
  min-height: 250px;
  justify-content: flex-end;
  color: white;
  background: var(--forest-900);
}

.gallery-category::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--category-image) center / cover no-repeat;
  opacity: 0.44;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-category::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 28, 17, 0.96), rgba(5, 28, 17, 0.04));
}

.gallery-category:hover {
  color: white;
}

.gallery-category:hover::before {
  opacity: 0.58;
  transform: scale(1.035);
}

.gallery-category > * {
  position: relative;
  z-index: 1;
}

.gallery-category p {
  color: #d8e6dc;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs a {
  font-weight: 700;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.photo-button {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sage-100);
  border: 0;
  border-radius: 12px;
}

.photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.photo-button:hover img {
  transform: scale(1.045);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  padding: 1.3rem;
  background: var(--sage-100);
  border-radius: 12px;
}

.contact-item small {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0;
}

.site-footer {
  color: #d6e4da;
  background: var(--forest-950);
}

.footer-inner,
.legacy-notice {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0 2rem;
}

.footer-brand {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  text-decoration: none;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-contact a {
  color: #d6e4da;
}

.eu-mark {
  width: 170px;
  border-radius: 4px;
}

.legacy-notice {
  padding: 1.3rem 0 2.4rem;
  color: #9db0a4;
  font-size: 0.73rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legacy-notice p {
  max-width: 900px;
  margin: 0;
}

.lightbox {
  width: min(94vw, 1180px);
  max-width: none;
  height: min(92vh, 900px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: white;
  background: #07120d;
  border: 0;
  border-radius: 18px;
}

.lightbox::backdrop {
  background: rgba(2, 12, 7, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  display: grid;
  height: 100%;
  padding: 2.5rem;
  margin: 0;
  place-items: center;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(92vh - 7rem);
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  right: 4rem;
  bottom: 0.8rem;
  left: 4rem;
  overflow: hidden;
  color: #d6e4da;
  font-size: 0.85rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  place-items: center;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 1rem;
  color: white;
  text-align: center;
  background: #8b2f25;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header[data-menu-open="true"] .primary-navigation {
    display: flex;
  }

  .nav-links {
    flex: 1;
    flex-wrap: wrap;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 72px;
  }

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

  .primary-navigation,
  .site-header[data-menu-open="true"] .primary-navigation {
    align-items: stretch;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-switcher {
    align-self: start;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(11, 36, 25, 0.96), rgba(11, 36, 25, 0.68)),
      url("../legacy-images/skr_layout_03.jpg") center / cover no-repeat;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .primary-navigation,
  .site-header[data-menu-open="true"] .primary-navigation {
    flex-direction: column;
  }

  .nav-links,
  .card-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    padding: 0.72rem;
  }

  .language-switcher {
    width: fit-content;
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .article-card,
  .contact-card {
    padding: 1.3rem;
    border-radius: 18px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox figure {
    padding: 3rem 0.6rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
