:root {
  --ink: #111111;
  --paper: #ffffff;
  --rule: rgba(17, 17, 17, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, .site-title {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Header */
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 5vw;
  border-bottom: 1px solid var(--rule);
}
.site-title {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
nav a {
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
nav a:hover, nav a:focus-visible { border-bottom-color: var(--ink); }
nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Hero (home) */
.hero {
  padding: clamp(5rem, 14vh, 9rem) 5vw;
  text-align: center;
}
.hero h1 {
  font-size: clamp(3rem, 11vw, 8.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Two-column sections (home) */
.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 6rem) 5vw;
  border-top: 1px solid var(--rule);
}
.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.section p { max-width: 34em; }
.section.reverse .text { order: 2; }
.section.reverse .picture { order: 1; }

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.button:hover, .button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* Page title (inner pages) */
.page-title {
  padding: clamp(3rem, 8vh, 5rem) 5vw 0;
  text-align: center;
}
.page-title h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Timeline (history) */
.timeline {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) 5vw;
}
.era {
  display: grid;
  grid-template-columns: minmax(90px, 160px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
  border-top: 1px solid var(--rule);
}
.timeline .era:first-child { border-top: none; }
.era .year {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
}
.era h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}
.era p { margin-bottom: 1rem; max-width: 38em; }
.era figure { margin-top: 1.75rem; }
.era figcaption {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 5vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  font-size: 1rem;
}
footer .nav-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.35rem; }
footer a { text-decoration: none; border-bottom: 1px solid var(--rule); }
footer a:hover, footer a:focus-visible { border-bottom-color: var(--ink); }

@media (max-width: 720px) {
  header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  nav a { margin-left: 0; margin-right: 1.5rem; }
  .section { grid-template-columns: 1fr; }
  .section.reverse .text { order: 1; }
  .section.reverse .picture { order: 2; }
  .era { grid-template-columns: 1fr; gap: 0.75rem; }
}
