body {
  margin: 0;
  background: #fbf9f8;
  color: #1b1c1c;
  font-family: Inter, sans-serif;
}

.nav-item {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: #444748;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: rgba(119, 90, 25, 0.08);
  color: #775a19;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: #444748;
  font: 700 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.social-chip:hover,
.social-chip:focus {
  border-color: #775a19;
  color: #775a19;
  background: rgba(119, 90, 25, 0.06);
}

.social-chip--footer {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.social-chip--footer:hover,
.social-chip--footer:focus {
  border-color: #e9c176;
  color: #ffffff;
  background: rgba(233, 193, 118, 0.12);
}

.pub-page {
  background:
    radial-gradient(circle at top right, rgba(233, 193, 118, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf9f8 0%, #f2eee8 100%);
}

.pub-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.pub-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.pub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 20, 30, 0.82), rgba(15, 20, 30, 0.38));
}

.pub-hero-wrap {
  position: relative;
  z-index: 1;
  padding: 78px 0 52px;
}

.pub-hero-panel {
  max-width: 760px;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(15, 20, 30, 0.8), rgba(15, 20, 30, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pub-kicker {
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid rgba(233, 193, 118, 0.35);
  padding: 8px 14px;
  color: #e9c176;
  font: 700 12px/16px Montserrat, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pub-hero-title,
.pub-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.02;
}

.pub-hero-title {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 64px);
}

.pub-hero-copy {
  margin: 18px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.82;
}

.pub-section {
  padding: 82px 0;
}

.pub-section--light {
  background: rgba(255, 255, 255, 0.88);
}

.pub-intro,
.pub-split,
.pub-grid,
.pub-gallery-grid,
.pub-video-grid,
.pub-awo-grid {
  display: grid;
  gap: 24px;
}

.pub-title {
  color: #111111;
  font-size: clamp(28px, 4vw, 42px);
}

.pub-card,
.pub-panel,
.pub-media-card,
.pub-video-card,
.pub-album,
.pub-cta {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.06);
}

.pub-card,
.pub-panel,
.pub-media-copy,
.pub-video-copy,
.pub-cta,
.pub-album-copy {
  padding: 28px;
}

.pub-card h3,
.pub-panel h3,
.pub-media-copy h3,
.pub-video-copy h3,
.pub-album-copy h3,
.pub-cta h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  line-height: 1.08;
  color: #111111;
}

.pub-card p,
.pub-panel p,
.pub-media-copy p,
.pub-video-copy p,
.pub-album-copy p,
.pub-cta p,
.pub-list li,
.pub-file {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.8;
}

.pub-list {
  margin: 0;
  padding-left: 20px;
}

.pub-list li + li {
  margin-top: 8px;
}

.pub-badge {
  display: inline-block;
  margin-bottom: 14px;
  color: #775a19;
  font: 700 12px/16px Montserrat, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid #111111;
  text-decoration: none;
  font: 700 13px/1 Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-btn--primary {
  background: #111111;
  color: #ffffff;
}

.pub-btn--primary:hover {
  background: #775a19;
  border-color: #775a19;
}

.pub-btn--ghost {
  color: #111111;
  background: transparent;
}

.pub-btn--ghost:hover {
  color: #775a19;
  border-color: #775a19;
}

.pub-media-card img,
.pub-album-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.pub-album-cover img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pub-album--portrait .pub-album-cover {
  background: linear-gradient(180deg, rgba(251, 249, 248, 0.96), rgba(242, 238, 232, 0.96));
}

.pub-album--portrait .pub-album-cover img {
  object-fit: contain;
  object-position: center center;
  padding: 10px;
  box-sizing: border-box;
}

.pub-preview-image {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.pub-preview-image.is-switching {
  opacity: 0.55;
  transform: scale(1.02);
}

.pub-album-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.pub-album {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.pub-album:hover,
.pub-album:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.1);
}

.pub-album-button:focus-visible {
  outline: 3px solid rgba(119, 90, 25, 0.38);
  outline-offset: -3px;
}

.pub-album-copy {
  position: relative;
}

.pub-album-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #111111;
  font: 700 12px/16px Montserrat, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-album-button:hover .pub-album-link,
.pub-album-button:focus-visible .pub-album-link {
  color: #775a19;
}

.pub-count {
  display: inline-block;
  margin-top: 14px;
  color: #775a19;
  font: 700 12px/16px Montserrat, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-gallery-grid .pub-media-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.pub-video-card video {
  display: block;
  width: 100%;
  height: auto;
  background: #000000;
}

.pub-cta {
  background: linear-gradient(135deg, #111111, #1c1b1b);
}

.pub-cta h3,
.pub-cta p {
  color: #ffffff;
}

.pub-cta .pub-actions {
  margin-top: 22px;
}

.pub-cta .pub-btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.pub-cta .pub-btn--ghost:hover {
  color: #e9c176;
  border-color: #e9c176;
}

.pub-modal[hidden] {
  display: none;
}

.pub-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.pub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 30, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pub-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.pub-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pub-modal-head h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
}

.pub-modal-head p {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.pub-modal-close {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #111111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pub-modal-close:hover,
.pub-modal-close:focus-visible {
  border-color: #775a19;
  color: #775a19;
}

.pub-modal-grid {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.pub-modal-item {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  overflow: hidden;
}

.pub-modal-item:hover,
.pub-modal-item:focus-visible {
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.1);
}

.pub-modal-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pub-modal-item--portrait img {
  object-fit: contain;
  object-position: center center;
  padding: 14px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(251, 249, 248, 0.96), rgba(242, 238, 232, 0.96));
}

.pub-modal-caption {
  padding: 14px 16px 16px;
}

.pub-modal-caption strong {
  display: block;
  font: 700 12px/16px Montserrat, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #775a19;
}

.pub-modal-caption span {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .pub-shell {
    width: min(1200px, calc(100% - 160px));
  }

  .pub-intro,
  .pub-split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .pub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pub-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-awo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pub-hero {
    min-height: 320px;
  }

  .pub-hero-wrap {
    padding: 72px 0 46px;
  }

  .pub-hero-panel,
  .pub-card,
  .pub-panel,
  .pub-media-copy,
  .pub-video-copy,
  .pub-cta,
  .pub-album-copy {
    padding: 22px;
  }

  .pub-section {
    padding: 68px 0;
  }

  .pub-modal-panel {
    width: min(1120px, calc(100% - 20px));
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .pub-modal-head,
  .pub-modal-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
}
