@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Source+Sans+3:wght@300;400;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #f0ede8;
  --surface:   #ffffff;
  --border:    #d8d2c8;
  --text:      #1e1a14;
  --muted:     #a99682;
  --accent:    #8b1a1a;
  --gold:      #b8860b;
  --rule:      #c8a96e;
  --nav-bg:    #1a1208;
  --nav-link:  #a08860;
  --nav-hover: #f5ede0;
  --nav-this-bg:  #2e2010;
  --nav-this-clr: #c8a96e;
}

/* ── BODY ── */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p.click {
	margin: 0px auto 20px;
	text-align: center;
	color: #888;
	font-weight: 500;
}

/* ── HEADER ── */
header {
  width: 100%;
  background: var(--nav-bg);
  border-bottom: 3px solid var(--rule);
  padding: 28px 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(200,169,110,0.04) 18px,
    rgba(200,169,110,0.04) 19px
  );
  pointer-events: none;
}

.header-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rule);
  margin-bottom: 8px;
  position: relative;
  display: none;
}

header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #f5ede0;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  position: relative;
}

header h1 em {
  font-style: italic;
  color: var(--rule);
}

.home-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid #716147;
  border-radius: 3px;
  padding: 6px 18px;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}

.home-link:hover {
  color: var(--rule);
  border-color: var(--rule);
}

/* ── NAV ── */
nav {
  width: 100%;
  background: #12100a;
  border-bottom: 1px solid #2a2010;
  padding: 0 24px;
  text-align: center;
}

nav ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 10px 0;
}

nav ul li a,
nav ul li span.this {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

nav ul li a {
  color: var(--nav-link);
  background: transparent;
  border: 1px solid transparent;
}

nav ul li a:hover {
  color: var(--nav-hover);
  background: rgba(200,169,110,0.1);
  border-color: rgba(200,169,110,0.2);
}

nav ul li span.this {
  color: var(--nav-this-clr);
  background: var(--nav-this-bg);
  border: 1px solid #3a2c10;
  cursor: default;
}

/* ── PAGE CONTENT WRAPPER ── */
.page-content {
  width: 100%;
  max-width: 980px;
  padding: 20px 24px 60px;
  flex: 1;
}

/* ── PHOTO GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #0a0804;
  cursor: pointer;
  position: relative;
}

.gallery-grid figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}

/* ── TOP BUTTON ── */
.top-btn-wrap {
  text-align: center;
  margin-top: 36px;
}

.top-btn {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 9px 22px;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.top-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,4,0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  border: 1px solid #2a2010;
  box-shadow: 0 8px 48px rgba(0,0,0,0.8);
  border-radius: 2px;
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 26px;
  font-size: 28px;
  color: #a08860;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1010;
}

#lightbox-close:hover { color: #f5ede0; }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,14,6,0.6);
  border: 1px solid #3a2c10;
  color: #a08860;
  font-size: 26px;
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  z-index: 1010;
  line-height: 1;
}

.lb-arrow:hover {
  background: rgba(200,169,110,0.15);
  color: #f5ede0;
}

#lb-prev { left: 16px; }
#lb-next { right: 16px; }

#lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 3px;
  color: #6b5f52;
  text-transform: uppercase;
}

/* ── VIDEO PAGE ── */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.05);
  max-width: 760px;
  margin: 0 auto;
}

.video-label {
  padding: 13px 20px 11px;
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
}

.video-label span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a08860;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #0a0804;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
