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

:root {
  --bg: #F0EEE9;
  --text: #1C1C1A;
  --muted: #555350;
  --faint: #9E9C97;
  --card: #FFFFFF;
  --b1: rgba(28,28,26,0.11);
  --b2: rgba(28,28,26,0.19);
  --nav-h: 52px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --accent: #C0392B;

}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: var(--bg); border-bottom: 0.5px solid var(--b1);
  z-index: 100; display: flex; align-items: center;
  justify-content: space-between; padding: 0 2.5rem;
}
.nav-name { font-family: var(--sans); text-transform: uppercase; font-size: 13px; color: var(--muted); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; }
.nav-link { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.22s ease, opacity 0.15s ease;
}
nav.open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.vthumb { width: 100%; aspect-ratio: 16/9; position: relative; overflow: hidden; background: #ddd; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lb { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 500; align-items: center; justify-content: center; padding: 1.5rem; }
.lb.open { display: flex; }
.lb-inner { position: relative; width: 100%; }
.lb-ratio { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 4px; overflow: hidden; }
.lb-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.lb-close { position: absolute; right: 0; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; line-height: 1; padding: 4px; transition: color 0.15s; }
.lb-close:hover { color: #fff; }

footer {
  border-top: 0.5px solid var(--b1);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}
.ft-privacy {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.ft-contact,
.ft-legal {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.ft-contact a,
.ft-legal a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.ft-contact a:hover,
.ft-legal a:hover { color: var(--text); }
.ft-credit {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.03em;
  margin-top: 0.8rem;
}

@media (max-width: 600px) {
  nav { padding: 0 1.1rem; height: 48px; }
  .nav-name { font-size: 13px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 48px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 0.5px solid var(--b1);
    flex-direction: column;
    padding: 0 1.1rem;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link {
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 0.85rem 0;
    border-bottom: 0.5px solid var(--b1);
  }
  .nav-link:last-child { border-bottom: none; }
}
