.hm-video-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 28px;
  overflow-x: clip;
}

.hm-video-card {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid rgba(91, 67, 46, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 231, 206, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 240, 0.98));
  box-shadow: 0 18px 45px rgba(59, 35, 22, 0.14);
  overflow: hidden;
}

.hm-video-copy {
  padding: 20px 20px 10px;
  text-align: center;
}

.hm-video-title {
  margin: 0;
  color: #1f1914;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  line-height: 1.2;
}

.hm-video-lead {
  max-width: 62ch;
  margin: 10px auto 0;
  color: #695e57;
  line-height: 1.7;
}

.hm-video-frame {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0 20px;
}

.hm-video-player {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(62vh, 760px);
  border-radius: 22px;
  background: #0f1010;
}

.hm-video-actions {
  display: flex;
  justify-content: center;
  padding: 16px 20px 22px;
}

.hm-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border: 1px solid rgba(91, 67, 46, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #1f1914;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  padding: 14px 18px;
  text-decoration: none;
}

.hm-download-link:hover,
.hm-download-link:focus-visible {
  border-color: rgba(166, 61, 47, 0.38);
  outline: none;
}

.hm-page-intro {
  width: min(920px, calc(100vw - 48px));
  max-width: min(920px, calc(100vw - 48px));
  margin: 0 auto 24px;
  text-align: center;
}

.hm-eyebrow {
  margin: 0 0 6px;
  color: #8b2d1f;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-page-title {
  margin: 0;
  color: #1f1914;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hm-page-lead {
  max-width: 70ch;
  margin: 12px auto 0;
  color: #5d5149;
  line-height: 1.8;
}

.hm-root {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  overflow-x: clip;
}

.hm-shell {
  --hm-ink: #1f1914;
  --hm-muted: #695e57;
  --hm-line: rgba(91, 67, 46, 0.14);
  --hm-bg: #fffaf1;
  --hm-card: rgba(255, 255, 255, 0.88);
  --hm-accent: #a63d2f;
  --hm-accent-dark: #7a2c22;
  --hm-shadow: 0 18px 45px rgba(59, 35, 22, 0.14);
  container-type: inline-size;
  color: var(--hm-ink);
}

.hm-shell * {
  box-sizing: border-box;
}

.hm-toolbar,
.hm-layout,
.hm-list-section {
  margin-top: 18px;
}

.hm-toolbar {
  display: grid;
  gap: 14px;
}

.hm-toolbar-label {
  margin: 0 0 8px;
  color: var(--hm-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hm-chip {
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hm-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hm-chip:hover,
.hm-chip:focus-visible {
  border-color: rgba(166, 61, 47, 0.35);
  outline: none;
}

.hm-chip.is-active {
  background: var(--hm-accent);
  border-color: var(--hm-accent);
  color: #fff;
}

.hm-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.hm-panel,
.hm-list-section,
.hm-empty-card {
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.98)),
    var(--hm-bg);
  box-shadow: var(--hm-shadow);
}

.hm-map-panel {
  border: 1px solid var(--hm-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 231, 206, 0.8), transparent 32%),
    linear-gradient(180deg, #fffef8, #fff7eb);
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}

.hm-shell:not(.has-active-spot) .hm-panel {
  display: none;
}

.hm-map-panel-inner {
  padding: 16px;
}

.hm-map-frame {
  position: relative;
  width: min(100%, calc(100vh - 260px));
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 928 / 932;
  border-radius: 22px;
  overflow: hidden;
  background: #0f1010;
}

.hm-map-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hm-map-pins {
  position: absolute;
  inset: 0;
}

.hm-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: var(--hm-accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background-color 0.15s ease;
  touch-action: manipulation;
  z-index: 2;
}

.hm-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 8px;
  height: 8px;
  background: inherit;
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: translateX(-50%) rotate(45deg);
  border-bottom-right-radius: 2px;
}

.hm-pin:hover,
.hm-pin:focus-visible {
  background: var(--hm-accent-dark);
  outline: none;
  transform: translate(-50%, -100%) scale(1.06);
  z-index: 4;
}

.hm-pin.is-active {
  background: #1c1c1c;
  z-index: 5;
}

.hm-map-note {
  margin: 12px 0 0;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hm-focus-section {
  display: block;
  margin-top: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.98)),
    var(--hm-bg);
  box-shadow: var(--hm-shadow);
  padding: 14px;
}

.hm-focus-copy {
  margin-bottom: 12px;
}

.hm-focus-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hm-focus-note {
  margin: 8px 0 0;
  color: var(--hm-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.hm-map-frame-focus {
  width: min(100%, 430px);
  aspect-ratio: 52 / 100;
  min-height: 0;
  margin: 0 auto;
}

.hm-map-frame-focus > .hm-map-image-focus {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.hm-pin-focus {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  font-size: 0.68rem;
}

.hm-panel {
  position: sticky;
  top: 32px;
  padding: 18px;
}

.hm-panel-tag {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(166, 61, 47, 0.12);
  color: var(--hm-accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
}

.hm-panel-number {
  margin: 14px 0 6px;
  color: var(--hm-muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hm-panel-title {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.15;
}

.hm-panel-summary {
  margin: 14px 0 0;
  color: var(--hm-ink);
  line-height: 1.85;
}

.hm-panel-thumb {
  width: 100%;
  display: block;
  border-radius: 18px;
  margin-top: 16px;
}

.hm-panel-doc-note {
  margin: 14px 0 0;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hm-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hm-btn,
.hm-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 16px;
}

.hm-btn {
  border: none;
  background: var(--hm-accent);
  color: #fff;
  cursor: pointer;
}

.hm-btn:hover,
.hm-btn:focus-visible {
  background: var(--hm-accent-dark);
  outline: none;
}

.hm-btn-link {
  border: 1px solid var(--hm-line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--hm-ink);
}

.hm-btn-link:hover,
.hm-btn-link:focus-visible {
  border-color: rgba(166, 61, 47, 0.38);
  outline: none;
}

.hm-empty-card {
  padding: 24px;
}

.hm-empty-title {
  margin: 0;
  font-size: 1.35rem;
}

.hm-empty-copy {
  margin: 10px 0 0;
  color: var(--hm-muted);
  line-height: 1.8;
}

.hm-list-section {
  padding: 18px;
}

.hm-list-heading {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.hm-list-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-list-item {
  width: 100%;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  padding: 15px 16px;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hm-list-item:hover,
.hm-list-item:focus-visible {
  border-color: rgba(166, 61, 47, 0.34);
  outline: none;
  transform: translateY(-1px);
}

.hm-list-item.is-active {
  border-color: rgba(166, 61, 47, 0.4);
  box-shadow: inset 0 0 0 1px rgba(166, 61, 47, 0.2);
}

.hm-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hm-list-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--hm-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.hm-list-category {
  color: var(--hm-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.hm-list-title {
  margin: 12px 0 0;
  font-size: 1.06rem;
  line-height: 1.35;
}

.hm-list-summary {
  margin: 8px 0 0;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

.hm-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.hm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 13, 10, 0.7);
  backdrop-filter: blur(4px);
}

.hm-modal-dialog {
  position: relative;
  width: min(960px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  margin: 14px auto;
  border-radius: 28px;
  background: #fffaf3;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
  padding: 20px;
}

.hm-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hm-modal-title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.15;
}

.hm-modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--hm-ink);
  cursor: pointer;
  font-size: 1.4rem;
}

.hm-modal-close:hover,
.hm-modal-close:focus-visible {
  background: rgba(0, 0, 0, 0.12);
  outline: none;
}

.hm-modal-copy {
  margin: 14px 0 0;
  color: var(--hm-muted);
  line-height: 1.85;
}

.hm-doc-section {
  margin-top: 20px;
}

.hm-section-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hm-doc-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.hm-doc-card {
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.hm-doc-image {
  max-width: 100%;
  width: 100%;
  display: block;
}

.hm-gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.hm-gallery-card {
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.hm-gallery-image {
  max-width: 100%;
  width: 100%;
  display: block;
}

@container (min-width: 900px) {
  .hm-shell.has-active-spot .hm-layout {
    grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  }
}

.hm-gallery-caption {
  margin: 0;
  padding: 12px 14px;
  color: var(--hm-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hm-video-section,
  .hm-page-intro,
  .hm-root {
    width: 100%;
    max-width: 100%;
  }

  .hm-layout {
    grid-template-columns: 1fr;
  }

  .hm-shell.has-active-spot .hm-layout {
    grid-template-columns: 1fr;
  }

  .hm-panel {
    position: static;
  }

  .hm-shell:not(.has-active-spot) .hm-panel {
    display: block;
  }

  .hm-map-frame {
    width: 100%;
  }

  .hm-map-image {
    height: auto;
    object-fit: fill;
  }

  .hm-map-frame-focus > .hm-map-image-focus {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }
}

@media (max-width: 720px) {
  .hm-video-copy,
  .hm-video-frame,
  .hm-video-actions,
  .hm-map-panel-inner,
  .hm-panel,
  .hm-list-section,
  .hm-modal-dialog {
    padding: 14px;
  }

  .hm-list-grid,
  .hm-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hm-pin {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .hm-focus-section {
    margin-top: 14px;
    padding: 12px;
  }

  .hm-focus-note {
    font-size: 0.86rem;
  }

  .hm-map-frame-focus {
    width: 100%;
    max-width: none;
  }
}
