:root {
  --bg: #faf6ef;
  --ink: #2b2118;
  --muted: #6d5f50;
  --accent: #8a3b12;
  --accent-dark: #5e2709;
  --card: #ffffff;
  --line: #e4d9c8;
  --green: #3f5238;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  font-size: 18px;
}
h1, h2, h3, nav, .label, button { font-family: "Trebuchet MS", "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
img, iframe, video { max-width: 100%; }

/* Header / nav */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.top .inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.brand { font-weight: 700; font-size: 1.1rem; color: var(--accent-dark); text-decoration: none; letter-spacing: .02em; }
nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: .95rem; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #5e2709 0%, #8a3b12 45%, #3f5238 100%);
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
  padding: 110px 20px 100px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 10px; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero p { margin: 0; font-size: 1.2rem; opacity: .95; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero .btn {
  display: inline-block; margin-top: 28px; padding: 12px 26px;
  background: #fff; color: var(--accent-dark); border-radius: 999px;
  text-decoration: none; font-family: "Trebuchet MS", sans-serif; font-weight: 700;
}

/* Sections */
section { padding: 70px 20px; }
section:nth-of-type(even) { background: #f2eadc; }
.wrap { max-width: 900px; margin: 0 auto; }
.wrap.wide { max-width: 1100px; }
h2 { font-size: 2rem; margin: 0 0 24px; color: var(--accent-dark); }
h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin-top: 10px; }
p { margin: 0 0 1.1em; }

/* Fact cards */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 30px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.fact .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fact .value { font-size: 1.15rem; font-weight: 700; color: var(--green); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent); }
.timeline li { position: relative; margin-bottom: 26px; padding-left: 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 8px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.timeline .year { font-family: "Trebuchet MS", sans-serif; font-weight: 700; color: var(--accent); display: block; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { position: relative; padding-top: 56.25%; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .meta { padding: 14px 18px 18px; }
.video-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.video-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Photos */
.photos { columns: 3 260px; column-gap: 14px; }
.photo { break-inside: avoid; margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { padding: 8px 12px 10px; font-size: .9rem; color: var(--muted); }
.empty { padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); font-family: "Trebuchet MS", sans-serif; }

/* Resources */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); min-width: 0; }
.link-card:hover, .link-card:focus-visible { border-color: var(--accent); }
.link-title { font-family: "Trebuchet MS", "Segoe UI", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--accent-dark); }
.link-desc { font-size: .95rem; color: var(--muted); line-height: 1.55; }
.link-host { margin-top: auto; padding-top: 6px; font-family: "Trebuchet MS", sans-serif; font-size: .8rem; letter-spacing: .04em; color: var(--accent); overflow-wrap: anywhere; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 100; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 94vw; border-radius: 6px; }
.lightbox p { color: #fff; margin: 14px 0 0; text-align: center; font-family: "Trebuchet MS", sans-serif; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Contact / footer */
.contact-lines p { margin-bottom: .4em; }
footer { background: #2b2118; color: #d9cdbb; text-align: center; padding: 28px 20px; font-family: "Trebuchet MS", sans-serif; font-size: .9rem; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  nav a { margin-left: 12px; font-size: .85rem; }
  section { padding: 50px 18px; }
  .hero { padding: 80px 20px 70px; }
}
