/* Knygnešiai — svetainė. Naktis, mėnesiena, pergamentas ir žibinto šviesa. */
@font-face { font-family: "PT Serif"; src: url("fonts/PT_Serif-Web-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url("fonts/PT_Serif-Web-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --night: #0b1018;
  --night-2: #111a26;
  --night-3: #18243a;
  --moon: #c9d6ec;
  --parchment: #efe4cf;
  --parchment-dim: #b9ad97;
  --lantern: #e8a24a;
  --lantern-hot: #f3b968;
  --line: rgba(201, 214, 236, 0.14);
  --radius: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--parchment);
  font-family: "PT Serif", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--lantern-hot); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; color: var(--parchment); }
p { margin: 0 0 1em; }
.center { text-align: center; }
.note { color: var(--parchment-dim); font-size: 15px; }

/* ── Viršutinė juosta ── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(11, 16, 24, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; letter-spacing: 0.12em; color: var(--parchment); text-decoration: none; }
.topbar nav { display: flex; align-items: center; gap: 18px; }
.topbar nav a { color: var(--parchment-dim); text-decoration: none; font-size: 16px; }
.topbar nav a:hover { color: var(--parchment); }
.topbar .nav-cta { color: var(--night); background: var(--lantern); padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.topbar .nav-cta:hover { color: var(--night); background: var(--lantern-hot); }
.lang {
  font: inherit; font-size: 14px; cursor: pointer;
  color: var(--moon); background: transparent;
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px;
}

/* ── Pradžia ── */
.hero { position: relative; overflow: hidden; padding: 72px 24px 96px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(201, 214, 236, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(11, 16, 24, 0.35), var(--night) 92%),
    url("assets/siena.jpg") center / cover no-repeat;
  filter: saturate(0.85);
}
.hero-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.kicker { color: var(--moon); letter-spacing: 0.08em; font-size: 15px; text-transform: uppercase; }
.hero-inner > *, .teaser-grid > *, .history-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 6vw, 86px); letter-spacing: 0.04em; margin: 0;
  color: var(--parchment); text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}
.years { font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 18px; color: var(--parchment); }
.tagline { font-style: italic; font-size: 24px; color: var(--lantern-hot); }
.lead { font-size: 19px; max-width: 34em; color: var(--parchment); }
.hero-poster { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border: 1px solid var(--line); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 24px; border-radius: 999px; font-size: 17px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lantern); color: var(--night); box-shadow: 0 0 30px rgba(232, 162, 74, 0.35); }
.btn-primary:hover { background: var(--lantern-hot); }
.btn-ghost { color: var(--parchment); border: 1px solid rgba(239, 228, 207, 0.4); }
.btn-ghost:hover { border-color: var(--parchment); }
.btn-big { font-size: 20px; padding: 16px 34px; margin-top: 10px; }

/* ── Skyriai ── */
.section { max-width: var(--wrap); margin: 0 auto; padding: 84px 24px; }
.section + .section { border-top: 1px solid var(--line); }

.teaser-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.teaser video { border-radius: var(--radius); border: 1px solid var(--line); background: #000; aspect-ratio: 9 / 16; width: 100%; object-fit: cover; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.pillars article, .tier {
  background: linear-gradient(180deg, var(--night-2), var(--night));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
}
.pillars p { color: var(--parchment-dim); margin: 0; }

.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.history-grid img { border-radius: var(--radius); border: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px;
  font-size: 14px; color: var(--parchment);
  background: linear-gradient(transparent, rgba(11, 16, 24, 0.9));
}

.timeline { list-style: none; padding: 0; max-width: 760px; margin: 28px auto 0; }
.timeline li {
  position: relative; padding: 4px 0 22px 40px; color: var(--parchment-dim);
  border-left: 2px solid var(--line); margin-left: 10px;
}
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--night); border: 2px solid var(--parchment-dim);
}
.timeline li.done { color: var(--parchment); }
.timeline li.done::before { background: var(--moon); border-color: var(--moon); }
.timeline li.now { color: var(--lantern-hot); font-weight: 700; }
.timeline li.now::before { background: var(--lantern); border-color: var(--lantern); box-shadow: 0 0 14px var(--lantern); }

.support .lead { max-width: 40em; margin: 0 auto 30px; color: var(--parchment); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.tier .price { font-size: 30px; font-weight: 700; color: var(--lantern-hot); margin: 0 0 12px; }
.tier .price span { font-size: 16px; color: var(--parchment-dim); font-weight: 400; }
.tier ul { padding-left: 20px; margin: 0; color: var(--parchment-dim); }
.tier li { margin-bottom: 6px; }
.tier.featured { border-color: rgba(232, 162, 74, 0.6); box-shadow: 0 0 40px rgba(232, 162, 74, 0.12); }

.footer { border-top: 1px solid var(--line); padding: 40px 24px 56px; text-align: center; color: var(--parchment-dim); }
.footer .brand span { font-weight: 400; color: var(--parchment-dim); }
.footer .small { font-size: 14px; }

/* ── Telefonai ── */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .topbar { padding: 10px 16px; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .hero { padding: 40px 16px 64px; }
  .kicker { font-size: 13px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 86px); }
  .tagline { font-size: 21px; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .hero-inner, .teaser-grid, .history-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-poster { max-width: 420px; margin: 0 auto; }
  .teaser-grid video { max-width: 340px; margin: 0 auto; }
  .section { padding: 60px 16px; }
  .pillars, .tiers { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
