:root {
  --bg: #fff;
  --ink: #111;
  --muted: #666;
  --line: #ddd;
  --accent: #0a7;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
}

.brand {
  font-weight: 700;
}

.tabs {
  margin-left: auto;
  display: flex;
  gap: .5rem;
}

.tabs a {
  padding: .5rem .75rem;
  border-radius: .4rem;
  text-decoration: none;
  color: var(--ink);
}

.tabs a:hover {
  background: #f5f5f5;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

section {
  scroll-margin-top: 4rem;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

h1,
h2 {
  margin: .2rem 0 1rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}

.fact {
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
}

.fact b {
  display: block;
  margin-bottom: .25rem;
}

li {
    margin-left: 1em;
}

/* Single-column photo layout */
.grid {
  display: flex;
  flex-direction: column;
  gap: .75rem;  /* space between photos */
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden;
  max-height:1000px;
}

figcaption {
  padding: .4rem .6rem;
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.contact .card {
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .9rem;
}

/* Collapse/expand headings as buttons */
details {
  border: 1px solid var(--line);
  border-radius: .5rem;
  margin: 1rem 0 1.25rem;
  padding: 0;  /* summary handles its own padding */
}

summary {
  cursor: pointer;
  user-select: none;
  padding: .75rem 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  list-style: none;  /* hide default marker */
}

/* Hide default disclosure marker (WebKit) */
summary::-webkit-details-marker {
  display: none;
}

/* + / – prefix */
summary::before {
  content: "+";
  font-weight: 700;
  width: 1ch;
  display: inline-block;
}

/* When open, show minus and remove bottom border from summary */
details[open] > summary::before {
  content: "–";
}

details[open] > summary {
  border-bottom-color: transparent;
}

/* Inner content wrapper (optional) */
details > *:not(summary) {
  padding: 0 1rem 1rem;
}

/* --- Page view counter styling --- */
.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.viewcount {
  display: inline-flex;
  align-items: baseline;
  color: var(--muted);
}



