:root {
  --kr-ivory: #f7f1e7;
  --kr-paper: #fffaf1;
  --kr-limewash: #ece2d2;
  --kr-sand: #d8c4a7;
  --kr-stone: #b9a88f;
  --kr-green: #123f3d;
  --kr-petrol: #0c3034;
  --kr-terracotta: #a55137;
  --kr-brown: #5c3b2e;
  --kr-ink: #20262a;
  --kr-muted: #68706f;
  --kr-line: rgba(55, 43, 32, .18);
  --kr-line-strong: rgba(55, 43, 32, .34);
  --kr-shadow: 0 22px 60px rgba(38, 31, 24, .12);
  --kr-max: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(85, 70, 48, .035) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf1 0%, #f2e8d8 100%);
  background-size: 42px 42px, auto;
  color: var(--kr-ink);
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(165, 81, 55, .34);
  outline-offset: 4px;
}

.kr-page { min-height: 100vh; }
.kr-container { width: min(var(--kr-max), calc(100% - 48px)); margin: 0 auto; }
.kr-narrow { width: min(820px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3, .kr-footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--kr-ink);
}

.kr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, .94);
  border-bottom: 1px solid var(--kr-line);
  backdrop-filter: blur(16px);
}

.kr-header-shell {
  width: min(1320px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kr-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  text-decoration: none;
}

.kr-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--kr-green);
  color: var(--kr-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(18, 63, 61, .22);
}

.kr-brand-copy { display: grid; line-height: 1.15; }
.kr-brand-copy strong { font-size: 1.05rem; letter-spacing: .01em; }
.kr-brand-copy span { margin-top: 4px; max-width: 190px; color: var(--kr-muted); font-size: .78rem; }

.kr-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.kr-nav a {
  position: relative;
  padding: 26px 10px 24px;
  color: var(--kr-ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 760;
  line-height: 1.1;
}

.kr-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 17px;
  height: 2px;
  background: var(--kr-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.kr-nav a:hover::after,
.kr-nav a[aria-current="page"]::after { transform: scaleX(1); }
.kr-nav a[aria-current="page"] { color: var(--kr-green); }

.kr-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--kr-line);
  background: #fffaf1;
  padding: 11px;
  cursor: pointer;
  flex: 0 0 46px;
  position: relative;
  z-index: 3;
}

.kr-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--kr-green);
}

.kr-mobile-drawer {
  display: none;
  position: fixed;
  inset: 78px 0 auto;
  z-index: 49;
  background: var(--kr-paper);
  border-bottom: 1px solid var(--kr-line);
  box-shadow: var(--kr-shadow);
  padding: 16px 24px 24px;
}

.kr-mobile-drawer.is-open { display: grid; gap: 8px; }
.kr-mobile-drawer a {
  padding: 13px 0;
  border-bottom: 1px solid var(--kr-line);
  text-decoration: none;
  font-weight: 760;
}
.kr-mobile-drawer a[aria-current="page"] { color: var(--kr-terracotta); }

.kr-section {
  padding: clamp(70px, 9vw, 126px) 0;
}

.kr-sand {
  background:
    linear-gradient(135deg, rgba(216, 196, 167, .38), rgba(255, 250, 241, .72)),
    var(--kr-limewash);
  border-block: 1px solid var(--kr-line);
}

.kr-ivory { background: rgba(255, 250, 241, .72); }
.kr-section-label {
  margin: 0 0 14px;
  color: var(--kr-terracotta);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.kr-section-head {
  max-width: 760px;
  margin: 0 0 42px;
}

.kr-section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: .98;
}

.kr-section-head p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--kr-muted);
  font-size: 1.08rem;
}

.kr-home-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(320px, 560px) minmax(320px, 760px) minmax(24px, 1fr);
  align-items: center;
  padding: clamp(48px, 7vw, 86px) 0;
  background: var(--kr-petrol);
  color: var(--kr-paper);
  overflow: hidden;
}

.kr-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 48, 52, .95) 0 34%, rgba(12,48,52,.58) 52%, rgba(12,48,52,.18)),
    radial-gradient(circle at 18% 72%, rgba(165,81,55,.22), transparent 30%);
  z-index: 1;
}

.kr-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 9px;
  background: var(--kr-terracotta);
  z-index: 3;
}

.kr-home-hero-media {
  grid-column: 3 / 5;
  position: absolute;
  inset: 0 0 0 36%;
  z-index: 0;
}

.kr-home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08);
}

.kr-home-hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 2 / 4;
  width: min(760px, calc(100vw - 48px));
  padding: clamp(30px, 5vw, 58px) 0;
}

.kr-home-hero-panel .kr-section-label { color: #d7b28a; }
.kr-home-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--kr-paper);
  font-size: clamp(3.1rem, 7vw, 7rem);
  line-height: .91;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.kr-home-hero p {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 250, 241, .9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.kr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.kr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--kr-line-strong);
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 820;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.kr-button:hover { transform: translateY(-1px); }
.kr-button-primary {
  border-color: var(--kr-terracotta);
  background: var(--kr-terracotta);
  color: var(--kr-paper);
}
.kr-button-plain {
  border-color: rgba(255, 250, 241, .45);
  color: var(--kr-paper);
}

.kr-page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  background: var(--kr-petrol);
  color: var(--kr-paper);
  overflow: hidden;
}

.kr-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,48,52,.88), rgba(12,48,52,.46) 58%, rgba(12,48,52,.74));
}

.kr-page-hero-image {
  position: absolute;
  inset: 0;
}

.kr-page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  filter: saturate(.82) contrast(1.05);
}

.kr-page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--kr-max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0 64px;
}

.kr-page-hero .kr-section-label { color: #d7b28a; }
.kr-page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--kr-paper);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .94;
}

.kr-page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, .88);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.kr-story {
  width: min(var(--kr-max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .72fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.kr-story-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: .98;
}

.kr-story-image {
  margin: 0;
  min-height: 540px;
  border: 12px solid var(--kr-paper, #fffaf1);
  box-shadow: var(--kr-shadow);
  background: var(--kr-sand);
}

.kr-story-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.kr-richtext {
  color: #3c4445;
  font-size: 1.06rem;
}

.kr-richtext p { margin: 0 0 1.15rem; }
.kr-richtext p:first-child {
  color: var(--kr-ink);
  font-size: 1.12rem;
}
.kr-richtext a { color: var(--kr-green); font-weight: 760; }

.kr-happenings {
  background: var(--kr-green);
  color: var(--kr-paper);
}
.kr-happenings h2,
.kr-happenings h3 { color: var(--kr-paper); }
.kr-happenings .kr-section-head p { color: rgba(255,250,241,.78); }
.kr-happenings .kr-section-label { color: #d7b28a; }

.kr-happening-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,250,241,.22);
  border-left: 1px solid rgba(255,250,241,.22);
}

.kr-happening-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-right: 1px solid rgba(255,250,241,.22);
  border-bottom: 1px solid rgba(255,250,241,.22);
  text-decoration: none;
  transition: background .18s ease;
}

.kr-happening-card:hover { background: rgba(255,250,241,.08); }
.kr-happening-card span {
  margin-bottom: auto;
  color: #d7b28a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}
.kr-happening-card h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}
.kr-happening-card p {
  margin: 0;
  color: rgba(255,250,241,.78);
}

.kr-event-list {
  display: grid;
  gap: 18px;
}

.kr-event-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--kr-line);
  background: rgba(255, 250, 241, .88);
  box-shadow: 0 18px 50px rgba(38,31,24,.08);
}

.kr-event-date {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 116px;
  background: var(--kr-green);
  color: var(--kr-paper);
  text-align: center;
}

.kr-event-date strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: .95;
}
.kr-event-date span {
  color: rgba(255,250,241,.76);
  font-weight: 800;
}

.kr-event-main { padding: 10px 0; }
.kr-event-main h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.3rem);
  line-height: 1.05;
}
.kr-event-main p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--kr-muted);
}
.kr-event-card figure {
  margin: 0;
  min-height: 160px;
  background: var(--kr-limewash);
}
.kr-event-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-bottom: 12px;
  color: var(--kr-terracotta);
  font-size: .83rem;
  font-weight: 820;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.kr-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kr-group-card {
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px;
  border: 1px solid var(--kr-line);
  background: rgba(255,250,241,.82);
}

.kr-group-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 52px;
  border: 1px solid var(--kr-line-strong);
  color: var(--kr-terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.kr-group-card h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.05;
}
.kr-group-card p {
  color: var(--kr-muted);
}

.kr-news-grid {
  display: grid;
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: 22px;
}

.kr-news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--kr-line);
  background: rgba(255,250,241,.88);
  min-width: 0;
}

.kr-news-card:first-child {
  grid-row: span 2;
}

.kr-news-card figure,
.kr-type-tile {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--kr-limewash);
}

.kr-news-card:first-child figure,
.kr-news-card:first-child .kr-type-tile {
  aspect-ratio: 4 / 3;
}

.kr-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kr-type-tile {
  display: grid;
  place-items: center;
  color: var(--kr-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
}

.kr-news-body { padding: 24px; }
.kr-news-body h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
}
.kr-news-body p {
  color: var(--kr-muted);
}

.kr-text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--kr-green);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--kr-terracotta);
}

.kr-more { margin-top: 28px; }

.kr-article-section {
  padding: clamp(58px, 8vw, 108px) 0;
}

.kr-article-card {
  padding: clamp(30px, 5vw, 64px);
  border-top: 3px solid var(--kr-terracotta);
  background: rgba(255, 250, 241, .9);
  box-shadow: 0 14px 42px rgba(38,31,24,.07);
}

.kr-article-card h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.kr-monument-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.kr-monument-aside {
  position: sticky;
  top: 108px;
  padding: 24px;
  border-left: 4px solid var(--kr-terracotta);
  background: rgba(216,196,167,.22);
}
.kr-monument-aside p {
  margin: 0;
  color: var(--kr-brown);
}
.kr-article-body {
  max-width: 820px;
  color: #3c4445;
  font-size: 1.08rem;
}
.kr-article-body p { margin: 0 0 1.2rem; }

.kr-gallery-section { background: rgba(236,226,210,.54); }
.kr-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.kr-gallery figure {
  grid-column: span 4;
  margin: 0;
  min-height: 220px;
  background: var(--kr-limewash);
  overflow: hidden;
}
.kr-gallery figure.large {
  grid-column: span 8;
  grid-row: span 2;
}
.kr-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.kr-gallery img:hover { transform: scale(1.025); }

.kr-documents { background: rgba(255,250,241,.65); }
.kr-document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.kr-document-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--kr-line);
  background: var(--kr-paper);
}
.kr-filetype {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--kr-terracotta);
  font-size: .78rem;
  font-weight: 860;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.kr-document-card h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.06;
}
.kr-document-card p { color: var(--kr-muted); }

.kr-contact-section {
  border-top: 1px solid var(--kr-line);
}
.kr-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
}
.kr-contact-grid h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: .98;
}
.kr-contact-grid p {
  max-width: 620px;
  color: var(--kr-muted);
}
.kr-contact-grid address {
  display: grid;
  gap: 12px;
  padding: 26px;
  border-left: 4px solid var(--kr-terracotta);
  background: var(--kr-paper);
  font-style: normal;
}
.kr-contact-grid a { color: var(--kr-green); font-weight: 760; }

.kr-footer {
  background:
    linear-gradient(135deg, rgba(12,48,52,.98), rgba(18,63,61,.96)),
    var(--kr-green);
  color: rgba(255,250,241,.78);
}
.kr-footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 28px;
}
.kr-footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px;
}
.kr-footer-brand {
  color: var(--kr-paper);
  font-size: 3rem;
  line-height: .9;
  margin-bottom: 18px;
}
.kr-footer h3 {
  margin: 0 0 14px;
  color: var(--kr-paper);
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.kr-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255,250,241,.82);
  text-decoration: none;
}
.kr-footer a:hover { color: var(--kr-paper); text-decoration: underline; }
.kr-footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,250,241,.18);
  font-size: .9rem;
}

.kr-small { font-size: .92rem; }
.kr-empty {
  padding: 30px;
  border: 1px dashed var(--kr-line-strong);
  background: rgba(255,250,241,.7);
  color: var(--kr-muted);
}

@media (max-width: 1180px) {
  .kr-nav a { padding-inline: 7px; font-size: .8rem; }
  .kr-brand { min-width: 210px; }
}

@media (max-width: 980px) {
  .kr-nav { display: none; }
  .kr-header-shell { position: relative; }
  .kr-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 80;
  }
  .kr-brand { min-width: auto; }
  .kr-home-hero {
    min-height: auto;
    display: block;
    padding: 0;
  }
  .kr-home-hero-media {
    position: relative;
    inset: auto;
    height: 360px;
  }
  .kr-home-hero::before {
    background: linear-gradient(180deg, rgba(12,48,52,.2), rgba(12,48,52,.96));
  }
  .kr-home-hero-panel {
    width: calc(100% - 48px);
    margin: -130px auto 0;
    padding: 0 0 54px;
  }
  .kr-story,
  .kr-event-card,
  .kr-group-grid,
  .kr-news-grid,
  .kr-monument-grid,
  .kr-document-grid,
  .kr-contact-grid,
  .kr-footer-main {
    grid-template-columns: 1fr;
  }
  .kr-happening-grid { grid-template-columns: repeat(2, 1fr); }
  .kr-story-image,
  .kr-story-image img { min-height: 360px; }
  .kr-event-card figure { min-height: 230px; }
  .kr-news-card:first-child { grid-row: auto; }
  .kr-monument-aside { position: static; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .kr-container,
  .kr-narrow,
  .kr-page-hero-copy,
  .kr-footer-inner,
  .kr-header-shell { width: calc(100% - 32px); }
  .kr-header-shell { min-height: 68px; }
  .kr-mobile-drawer { inset-top: 68px; padding-inline: 16px; }
  .kr-brand-copy { display: none; }
  .kr-brand-mark { width: 46px; height: 46px; }
  .kr-home-hero-media { height: 300px; }
  .kr-home-hero-panel { width: calc(100% - 32px); margin-top: -118px; }
  .kr-home-hero h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.35rem);
    line-height: 1.05;
  }
  .kr-page-hero { min-height: 360px; }
  .kr-page-hero h1 { font-size: clamp(2.35rem, 12vw, 4.2rem); }
  .kr-actions { display: grid; }
  .kr-button { width: 100%; min-height: 52px; }
  .kr-section { padding: 58px 0; }
  .kr-story { width: calc(100% - 32px); }
  .kr-happening-grid { grid-template-columns: 1fr; }
  .kr-happening-card { min-height: 190px; }
  .kr-event-card { padding: 14px; gap: 16px; }
  .kr-event-date { min-height: 86px; }
  .kr-event-card figure { min-height: 190px; }
  .kr-group-card { min-height: auto; padding: 22px; }
  .kr-group-mark { margin-bottom: 28px; }
  .kr-news-body,
  .kr-document-card,
  .kr-article-card { padding: 22px; }
  .kr-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kr-gallery figure,
  .kr-gallery figure.large {
    grid-column: span 1;
    grid-row: auto;
    min-height: 170px;
  }
}
