:root {
  color-scheme: light;
  font-family: 'Anonymous Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #111;
  background: #faf8f4;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #faf8f4;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.site-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: clamp(180px, 18vw, 260px);
  min-width: 160px;
  padding: 2.4rem 1.8rem;
  background: #f6f4ef;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand {
  margin: 0 0 1.4rem;
  padding: 0;
  text-align: left;
  color: #111;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity 150ms ease, color 150ms ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand:hover,
.brand.active {
  opacity: 1;
  color: #000;
  font-weight: 700;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sidebar-nav button {
  padding: 0;
  text-align: left;
  color: #111;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity 150ms ease, color 150ms ease;
}

.sidebar-nav button:hover,
.sidebar-nav button.active {
  opacity: 1;
  color: #000;
  font-weight: 700;
}

.sidebar-note {
  margin-top: 2rem;
  font-size: 0.72rem;
  color: #6a665e;
  line-height: 1.4;
  opacity: 0.85;
}

.sidebar-note span {
  display: block;
  margin-top: 0.75rem;
  color: #8a857c;
  font-size: 0.72rem;
}

.content {
  margin-left: clamp(180px, 18vw, 260px);
  padding: 2.5rem 1.8rem;
  width: calc(100% - clamp(180px, 18vw, 260px));
  max-width: 1180px;
}

.page-header {
  max-width: 100%;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.page-header p {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: #5d5850;
  font-size: 0.94rem;
  line-height: 1.55;
}

.page-body {
  margin-top: 1.8rem;
}

.about-panel {
  max-width: 680px;
}

.about-panel p {
  margin: 0 0 1.1rem;
  color: #4f4a42;
  font-size: 0.80rem;
}

.about-panel a {
  color: #111;
  font-weight: 700;
}

.slideshow-section {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.slide-card {
  position: relative;
  display: inline-grid;
  gap: 0.85rem;
  width: min(920px, 100%);
  max-width: 920px;
  margin-inline: auto;
  padding-bottom: 3rem; /* reserve space for centered controls */
}

.coming-soon-banner {
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f5f0;
  color: #555;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}

.slide-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.slide-image {
  max-height: 70vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
  margin: 0 auto;
}

.slide-meta {
  display: block;
  color: #111;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
}

@media (max-width: 700px) {
  .slide-card {
    display: block;
    align-items: start;
    padding-right: 0;
  }
  .slide-image-wrapper {
    max-width: 100%;
    padding-top: 0.5rem;
  }
  .slide-meta {
    position: static;
    transform: none;
    width: 100%;
    flex: 0 0 auto;
    align-items: flex-start;
  }
  .slide-controls {
    position: static;
    margin-top: 0.75rem;
  }
}



.slide-description {
  max-width: 100%;
  font-size: clamp(0.68rem, 0.95vw, 0.8rem);
  line-height: 1.4;
  color: #8a857c;
}

.slide-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.75rem; /* sit above the reserved padding */
  z-index: 20;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: nowrap;
}

.slide-controls button {
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  color: #111;
  opacity: 0.95;
}

.slide-controls button:hover {
  opacity: 1;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .content {
    margin-left: 220px;
    width: calc(100% - 220px);
    padding: 2.2rem 1.4rem;
  }

  .sidebar {
    width: 220px;
  }
}

@media (max-width: 700px) {
  .content {
    margin-left: 190px;
    width: calc(100% - 190px);
  }

  .sidebar {
    width: 190px;
    padding: 1.8rem 1.1rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .sidebar-nav button {
    font-size: 0.82rem;
  }

  .slide-controls button {
    font-size: 1.05rem;
  }
}

@media (max-width: 560px) {
  .content {
    margin-left: 170px;
    width: calc(100% - 170px);
    padding: 1.8rem 0.95rem;
  }

  .sidebar {
    width: 170px;
    min-width: 170px;
    padding: 1.6rem 0.85rem;
  }

  .sidebar-nav button {
    font-size: 0.78rem;
  }

  .slide-controls button {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .content {
    margin-left: 150px;
    width: calc(100% - 150px);
  }

  .sidebar {
    width: 150px;
    min-width: 150px;
  }

  .brand {
    font-size: 0.92rem;
  }
}

/* On taller viewports center the image vertically to keep vertical photos visually balanced */
@media (min-height: 720px) {
  .slide-image-wrapper {
    min-height: 60vh;
    align-items: center;
    justify-content: center;
  }
}
