:root {
  --bg: #0d0d0d;
  --paper: #1a1a1a;
  --ink: #f0ece4;
  --muted: #8a7f72;
  --rule: #2a2a2a;
  --accent: #c9a96e;
  --overlay: rgba(0,0,0,0.4);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f0e6;
    --paper: #ffffff;
    --ink: #1a1814;
    --muted: #6b6358;
    --rule: #d9cfbf;
    --accent: #8b6f47;
    --overlay: rgba(255,255,255,0.3);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  letter-spacing: -0.01em;
  margin-top: 0;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 0; }
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  z-index: 10;
  padding: 0.5rem 1.5rem;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
nav .logo {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }
.hero {
  margin-top: 3rem;
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-overlay .subtitle {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.gallery {
  margin: 3rem 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
}
figure img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
figure img:hover { transform: scale(1.03); }
figcaption {
  padding: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.about, .contact {
  max-width: 70ch;
  margin: 3rem auto;
  text-align: center;
}
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
footer .attribution { font-size: 0.75rem; opacity: 0.7; margin-top: 0.25rem; }
@media (max-width: 600px) {
  .hero { height: 60vh; }
  .hero-overlay { left: 1rem; bottom: 1rem; }
  h1 { font-size: 1.8rem; }
  nav ul { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}