:root {
  --ink: #14221e;
  --muted: #5a6b64;
  --paper: #fbf8f1;
  --paper-2: #f3eee2;
  --green: #123c33;
  --green-2: #1c5646;
  --green-3: #2d6b58;
  --amber: #e8b44a;
  --amber-soft: #f6e4b9;
  --red: #a63d4a;
  --line: rgba(20, 34, 30, 0.12);
  --radius: 18px;
  --max: 1160px;
  --shadow: 0 18px 45px rgba(18, 60, 51, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--green-2); }

img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: var(--amber-soft);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 600; }
.brand-text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

.nav { display: flex; gap: 8px; flex-wrap: wrap; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #f7f4ea;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 32, 27, 0.88) 0%, rgba(9, 32, 27, 0.62) 45%, rgba(9, 32, 27, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 96px;
  max-width: 760px;
}

.eyebrow, .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow { color: var(--amber); }
.kicker { color: var(--green-3); }
.kicker-light { color: var(--amber); }

.hero h1 { margin-bottom: 0.35em; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(247, 244, 234, 0.88);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--amber); color: #1d2418; }
.btn-primary:hover { background: #f0c264; }

.btn-ghost { border-color: rgba(247, 244, 234, 0.45); color: #f7f4ea; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-light { background: #f7f4ea; color: var(--green); }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(247, 244, 234, 0.22);
}

.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 600; color: #fff; }
.hero-facts span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 244, 234, 0.65); }

/* Sections */
.section { padding: 90px 0; }
.section-tinted { background: var(--paper-2); }
.section-green { background: var(--green); color: #f2efe4; }
.section-green h2 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-intro { color: var(--muted); font-size: 1.06rem; }

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}
.text-link:hover { color: var(--red); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(18, 60, 51, 0.05);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--amber-soft);
  color: var(--green);
  margin-bottom: 22px;
}
.card-icon svg { width: 30px; height: 30px; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }

/* Places */
.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.place {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.place::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 30, 25, 0.05) 20%, rgba(10, 30, 25, 0.86) 100%);
}

.place::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--place-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.place:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.place:hover::after { transform: scale(1.05); }
.place h3 { margin-bottom: 6px; color: #fff; }
.place p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

.place-tag {
  align-self: flex-start;
  margin-bottom: auto;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.place-vilnius { --place-bg: linear-gradient(135deg, #2b5d4f, #a86b3c); }
.place-kaunas { --place-bg: linear-gradient(135deg, #70404c, #d09a5a); }
.place-klaipeda { --place-bg: linear-gradient(135deg, #22505f, #6fa3a8); }
.place-trakai { --place-bg: linear-gradient(135deg, #3d5a3a, #9c7a45); }
.place-curonian { --place-bg: linear-gradient(135deg, #8a6a3d, #d8bd84); }
.place-crosses { --place-bg: linear-gradient(135deg, #4a4a55, #8f8a7a); }

/* Seasons */
.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.season { padding: 30px 26px; border-right: 1px solid var(--line); }
.season:last-child { border-right: 0; }
.season-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}
.season h3 { font-size: 1.05rem; color: var(--muted); font-family: inherit; font-weight: 600; }
.season p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* About / facts */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: start;
}
.about-grid p { color: rgba(242, 239, 228, 0.78); max-width: 520px; }
.about-grid .btn { margin-top: 8px; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(242, 239, 228, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts div { padding: 18px 22px; border-bottom: 1px solid rgba(242, 239, 228, 0.14); }
.facts div:nth-child(odd) { border-right: 1px solid rgba(242, 239, 228, 0.14); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 239, 228, 0.55); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; color: #fff; }

/* Subpage hero */
.page-hero {
  background: var(--green);
  color: #f7f4ea;
  padding: 80px 0 70px;
}
.page-hero h1 { margin-bottom: 0.2em; }
.page-hero p { max-width: 680px; color: rgba(247, 244, 234, 0.82); margin-bottom: 0; }
.page-hero .kicker { color: var(--amber); }

/* Article content */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #33443e; }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-left: 2px solid var(--amber); }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--amber);
}
.timeline time { display: block; font-weight: 700; color: var(--red); font-size: 0.9rem; letter-spacing: 0.06em; }
.timeline h3 { margin: 4px 0 6px; }
.timeline p { margin: 0; color: var(--muted); }

.destination {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.destination:first-of-type { padding-top: 0; }
.destination:last-of-type { border-bottom: 0; padding-bottom: 0; }
.destination-aside {
  position: sticky;
  top: 100px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.destination-aside .kicker { color: var(--amber); margin-bottom: 10px; }
.destination-aside h2 { color: #fff; font-size: 1.9rem; margin-bottom: 10px; }
.destination-aside p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }
.destination-body p { color: #33443e; }
.destination-body h3 { margin-top: 28px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill-row li {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--green);
  font-weight: 600;
}

.phrases {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 0;
}
.phrases th, .phrases td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.phrases th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.phrases td:first-child { font-weight: 600; color: var(--green); white-space: nowrap; }
.phrases tr:hover td { background: var(--paper-2); }

.quote {
  margin: 40px 0;
  padding: 30px 34px;
  background: var(--paper-2);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--green);
}
.quote p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: #0c2b24;
  color: rgba(247, 244, 234, 0.72);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-text small { color: rgba(247, 244, 234, 0.55); }
.footer-note { max-width: 340px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 48px;
}
.footer-grid h3 {
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(247, 244, 234, 0.72); text-decoration: none; }
.footer-grid a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 234, 0.14);
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .card-grid, .place-grid { grid-template-columns: repeat(2, 1fr); }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .season:nth-child(2) { border-right: 0; }
  .season:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .destination { grid-template-columns: 1fr; gap: 24px; }
  .destination-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 11px; font-size: 0.88rem; }
  .hero-inner { padding: 76px 0 64px; }
  .hero-facts { gap: 24px; }
  .section { padding: 64px 0; }
  .card-grid, .place-grid, .season-grid { grid-template-columns: 1fr; }
  .season { border-right: 0; border-bottom: 1px solid var(--line); }
  .season:last-child { border-bottom: 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid rgba(242, 239, 228, 0.14); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
