:root {
  --ink: #2a221c;
  --ink-soft: #4a3f36;
  --paper: #f7f1e8;
  --paper-deep: #efe6d8;
  --panel: #fffaf3;
  --line: rgba(42, 34, 28, 0.12);
  --line-strong: rgba(42, 34, 28, 0.2);
  --muted: #7a6d62;
  --copper: #8b5a3c;
  --gold: #b0895a;
  --cream: #f4eadc;
  --shadow: 0 24px 50px rgba(42, 34, 28, 0.12);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--copper); }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--copper);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 241, 232, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--copper);
}
.header-inner {
  height: 100%;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.15rem;
}
.site-header nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a1512;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: heroIn 1.4s ease-out both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 21, 18, 0.12) 0%, rgba(26, 21, 18, 0.08) 42%, rgba(26, 21, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(26, 21, 18, 0.35) 0%, rgba(26, 21, 18, 0.05) 55%, rgba(26, 21, 18, 0.2) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
  margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2));
  color: var(--cream);
}
#hero-name { max-width: 10em; }
.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
#hero-name {
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 600;
  color: var(--cream);
}
.hero-sub {
  margin: 1rem 0 0;
  color: rgba(244, 234, 220, 0.82);
  font-size: 1.08rem;
  max-width: 28rem;
}

.section { padding: 4.5rem 0 0; }
.section-head { margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.section-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.7rem;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
}
.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}
.empty-note {
  margin: 0;
  padding: 1.4rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}
.about-lead {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  max-width: 38rem;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.15rem 1.5rem;
  margin: 0;
}
.about-facts div { min-width: 0; }
.about-facts dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-facts dd { margin: 0; }
.about-story {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
  color: var(--ink-soft);
}
.about-story p { margin: 0; }

.timeline-milestone {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 38rem;
}
.timeline-milestone .eyebrow { margin-bottom: 0.3rem; }
.timeline-milestone p { margin: 0; }

.timeline { display: grid; gap: 2.25rem; }
.timeline-year h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.timeline-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.site-footer {
  margin-top: 5rem;
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
.footer-inner { display: grid; gap: 0.45rem; }
.footer-brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 16, 14, 0.92);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 3.5rem 0.75rem 1.25rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}
.lightbox-figure img {
  max-height: min(82vh, 100%);
  max-width: min(100%, 1100px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-figure figcaption {
  color: rgba(244, 234, 220, 0.8);
  font-size: 0.9rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.lightbox-nav {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .header-inner { width: calc(100% - 1.5rem); }
  .wrap { width: calc(100% - 1.5rem); }
  .hero-copy {
    width: calc(100% - 1.5rem);
    margin: 0 auto 3.5rem;
    margin-left: 0.75rem;
  }
  #hero-name { font-size: clamp(2.8rem, 16vw, 4.4rem); }
  .lightbox { grid-template-columns: 1fr; padding: 3.25rem 0.6rem 4.5rem; }
  .lightbox-nav {
    position: absolute;
    bottom: 0.7rem;
  }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .gallery-item img { animation: none; transition: none; transform: none; }
}

@keyframes heroIn {
  from { transform: scale(1.1); opacity: 0.65; }
  to { transform: scale(1.04); opacity: 1; }
}
