:root {
  --ap-bg: #1f1f1f;
  --ap-surface: rgba(255, 255, 255, 0.06);
  --ap-surface-strong: rgba(255, 255, 255, 0.1);
  --ap-text: #f2f2f2;
  --ap-muted: rgba(242, 242, 242, 0.72);
  --ap-accent: #b79b77;
  --ap-line: rgba(255, 255, 255, 0.12);
  --ap-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --ap-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.32);
  --ap-frame: #f1eee7;
  --ap-frame-line: rgba(255, 255, 255, 0.72);
  --ap-frame-pad: clamp(5px, 0.55vw, 9px);
  --ap-serif: Georgia, "Times New Roman", serif;
  --ap-radius: 22px;
  --ap-width: min(100% - 2rem, 1320px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ap-text);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.032'/%3E%3C/svg%3E"),
    repeating-linear-gradient(97deg, rgba(255, 255, 255, 0.007) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(4deg, rgba(0, 0, 0, 0.014) 0 1px, transparent 1px 11px),
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(circle at top left, rgba(183, 155, 119, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 26%),
    var(--ap-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.008em;
  min-height: 100vh;
  overflow-x: hidden;
}

body > .wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body > .wp-site-blocks > main {
  flex: 1 0 auto;
}

body > .wp-site-blocks > .ap-site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover {
  color: var(--ap-accent);
}

:focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 3px;
}

.ap-shell,
.wp-site-blocks > :not(.alignfull):not(.wp-block-template-part) {
  width: var(--ap-width);
  margin-inline: auto;
}

.wp-site-blocks {
  position: relative;
}

.wp-site-blocks > .alignfull {
  width: 100%;
}

.ap-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px) saturate(120%);
  background: rgba(20, 20, 20, 0.76);
  border-bottom: 1px solid var(--ap-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.home .ap-site-header,
.front-page .ap-site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.78), rgba(31, 31, 31, 0));
  border-bottom-color: transparent;
}

.ap-header-bar {
  width: var(--ap-width);
  margin-inline: auto;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ap-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ap-text);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.ap-brand a {
  color: inherit;
}

.ap-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: opacity 180ms ease;
}

.ap-brand-link:hover {
  color: var(--ap-text);
  opacity: 0.78;
}

.ap-brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  color: var(--ap-text);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ap-brand-name {
  display: inline-block;
}

.ap-brand-link:hover .ap-brand-mark {
  transform: rotate(22.5deg);
}

.ap-header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ap-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ap-muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ap-sound-toggle:hover,
.ap-sound-toggle:focus-visible {
  border-color: rgba(242, 242, 242, 0.6);
  color: var(--ap-text);
  background: rgba(255, 255, 255, 0.06);
}

.ap-sound-toggle.is-active {
  border-color: rgba(183, 155, 119, 0.85);
  color: var(--ap-text);
  background: rgba(55, 45, 34, 0.9);
}

.ap-sound-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ap-sound-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
}

.ap-sound-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ap-sound-toggle__icon--on {
  display: none;
}

.ap-sound-toggle.is-active .ap-sound-toggle__icon--on {
  display: inline-flex;
}

.ap-sound-toggle.is-active .ap-sound-toggle__icon--off {
  display: none;
}

.ap-navigation {
  margin: 0;
}

.ap-navigation .wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-navigation .wp-block-navigation-item {
  margin: 0;
}

.ap-navigation a {
  color: var(--ap-muted);
  padding: 0.45rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ap-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  background: var(--ap-frame);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-navigation a:hover,
.ap-navigation .current-menu-item > a,
.ap-navigation .current_page_item > a,
.ap-navigation .current-menu-ancestor > a {
  color: var(--ap-text);
}

.ap-navigation a:hover::after,
.ap-navigation .current-menu-item > a::after,
.ap-navigation .current_page_item > a::after,
.ap-navigation .current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ap-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ap-text);
  font: inherit;
  cursor: pointer;
}

.ap-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ap-nav-toggle__icon {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 0.8rem;
}

.ap-nav-toggle__icon span {
  position: absolute;
  left: 0;
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.ap-nav-toggle__icon span:nth-child(1) {
  top: 0;
}

.ap-nav-toggle__icon span:nth-child(2) {
  top: 0.32rem;
}

.ap-nav-toggle__icon span:nth-child(3) {
  top: 0.64rem;
}

.ap-header-nav.is-open .ap-nav-toggle__icon span:nth-child(1) {
  top: 0.32rem;
  transform: rotate(45deg);
}

.ap-header-nav.is-open .ap-nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.ap-header-nav.is-open .ap-nav-toggle__icon span:nth-child(3) {
  top: 0.32rem;
  transform: rotate(-45deg);
}

.ap-hero {
  position: relative;
  min-height: min(100vh, 980px);
  overflow: clip;
  isolation: isolate;
}

.ap-hero::after {
  position: absolute;
  z-index: 3;
  inset: clamp(0.7rem, 1.3vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.58);
  content: "";
  pointer-events: none;
}

.ap-hero__media {
  position: absolute;
  inset: 0;
}

.ap-hero__slides,
.ap-hero__fallback {
  position: absolute;
  inset: 0;
}

.ap-hero__fallback {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.07), transparent 24%),
    linear-gradient(135deg, #171717, #0e0e0e 68%, #181713);
}

.ap-hero__fallback-frame {
  position: absolute;
  width: min(54vw, 42rem);
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.4);
  opacity: 0.65;
  transform: translate(16%, -8%);
}

.ap-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.ap-hero__slide.is-active {
  opacity: 1;
}

.ap-hero__slide img,
.ap-hero__fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.22), rgba(15, 15, 15, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.1));
}

.ap-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: min(100vh, 980px);
  padding: clamp(8rem, 18vh, 11rem) clamp(2.2rem, 4vw, 4.5rem) 5.75rem;
}

.ap-hero__copy {
  max-width: 42rem;
  padding: 1.25rem 0;
}

.ap-eyebrow {
  margin: 0 0 0.9rem;
  color: var(--ap-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ap-hero h1,
.ap-archive-header h1,
.ap-entry-title,
.ap-page-title {
  margin: 0 0 1rem;
  font-family: var(--ap-serif);
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ap-hero p,
.ap-archive-description,
.ap-page-content {
  color: var(--ap-muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.ap-page-content,
.ap-single-shell .wp-block-post-content {
  line-height: 1.78;
}

.ap-hero__actions {
  margin-top: 1.6rem;
}

.ap-hero__controls {
  position: absolute;
  z-index: 5;
  right: clamp(2.2rem, 4vw, 4.5rem);
  bottom: clamp(2rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ap-hero__control-button,
.ap-hero__indicator {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ap-text);
  background: rgba(12, 12, 12, 0.5);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ap-hero__control-button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
}

.ap-hero__indicators {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.4);
  backdrop-filter: blur(12px);
}

.ap-hero__indicator {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.ap-hero__indicator.is-active {
  border-color: var(--ap-frame);
  background: var(--ap-frame);
  transform: scale(1.35);
}

.ap-hero__control-button:hover,
.ap-hero__indicator:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.ap-button,
.wp-block-button__link,
.ap-pagination a,
.ap-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: var(--ap-text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  overflow: hidden;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.ap-button::after,
.wp-block-button__link::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.12), transparent 80%);
  content: "";
  transform: translateX(-110%);
  transition: transform 480ms ease;
}

.ap-button:hover,
.wp-block-button__link:hover,
.ap-pagination a:hover,
.ap-filter-link:hover {
  color: var(--ap-text);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.ap-button:hover::after,
.wp-block-button__link:hover::after {
  transform: translateX(110%);
}

.ap-archive-shell,
.ap-page-shell,
.ap-single-shell,
.ap-front-content {
  width: var(--ap-width);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
  max-width: none !important;
}

.ap-archive-page,
.ap-archive-page > .wp-block-shortcode,
.ap-moments-shell > .ap-moments-query,
.ap-archive-shell > .ap-snapshot-grid,
.ap-archive-shell > .ap-moments-list,
.ap-archive-shell > .ap-pagination {
  width: 100%;
  max-width: none !important;
}

.ap-archive-header,
.ap-page-header,
.ap-single-header {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.ap-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.ap-filter-link.is-active,
.ap-filter-link[aria-current="page"] {
  background: rgba(183, 155, 119, 0.18);
  border-color: rgba(183, 155, 119, 0.35);
}

.ap-snapshot-grid {
  display: block;
  column-width: 24rem;
  column-gap: 1rem;
  column-fill: balance;
}

.ap-snapshot-card {
  min-width: 0;
  width: 100%;
  display: inline-block;
  margin: 0 0 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.ap-snapshot-card__link {
  display: block;
  color: inherit;
  width: 100%;
  min-width: 0;
}

.ap-snapshot-card__figure {
  margin: 0;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  border-radius: 2px;
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

.ap-snapshot-card__figure img {
  width: 100%;
  height: auto;
  min-width: 0;
  object-fit: cover;
  transition: transform 420ms ease, opacity 220ms ease;
}

.ap-snapshot-card__link:hover img {
  transform: scale(1.015);
}

.ap-snapshot-card__link:hover .ap-snapshot-card__figure {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  transform: translateY(-4px);
}

.ap-snapshot-card__caption {
  position: absolute;
  inset: auto var(--ap-frame-pad) var(--ap-frame-pad);
  padding: 1rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.ap-snapshot-card__title {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.92);
}

.ap-snapshot-card__placeholder {
  min-height: 18rem;
  display: grid;
  place-items: center;
  border-radius: var(--ap-radius);
  background: var(--ap-surface);
  color: var(--ap-muted);
}

.ap-moments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.ap-moments-shell {
  width: var(--ap-width);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.ap-moments-intro {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.ap-moments-title {
  margin: 0;
  font-family: var(--ap-serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.ap-moments-lead {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--ap-muted);
}

.ap-moments-query {
  margin-top: 2rem;
}

.ap-moments-query .wp-block-post-template.ap-moments-grid {
  display: block !important;
  column-width: 24rem;
  column-gap: 0.9rem;
  column-fill: balance;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ap-moments-query .wp-block-post-template.ap-moments-grid > li {
  list-style: none;
  display: inline-block;
  width: 100%;
  margin: 0;
  min-width: 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.ap-moment-card,
.ap-moments-grid > li > .wp-block-group {
  display: block;
  gap: 0;
  overflow: hidden;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  border-radius: 2px;
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
  break-inside: avoid;
  margin: 0 0 1rem;
  min-width: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

.ap-moment-card__media {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.ap-moment-card__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 420ms ease;
}

.ap-moment-card:hover .ap-moment-card__media img,
.ap-moments-grid > li > .wp-block-group:hover .ap-moment-card__media img {
  transform: scale(1.02);
}

.ap-moment-card:hover,
.ap-moments-grid > li > .wp-block-group:hover {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px) !important;
}

.ap-moment-card__content,
.ap-moments-grid > li > .wp-block-group > .wp-block-group {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.7rem 0.75rem;
  color: #1c1c1c;
  background: var(--ap-frame);
}

.ap-moment-card__date {
  margin: 0;
  color: rgba(28, 28, 28, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-moment-card__title {
  margin: 0;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ap-moment-card__title a {
  color: #1c1c1c;
}

.ap-moments-pagination {
  margin-top: 2rem;
}

.ap-moments-pagination .wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ap-moments-pagination .wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ap-moments-pagination .page-numbers,
.ap-moments-pagination .wp-block-query-pagination-previous,
.ap-moments-pagination .wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: var(--ap-text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.ap-moments-pagination .wp-block-query-pagination-previous,
.ap-moments-pagination .wp-block-query-pagination-next {
  width: 2.75rem;
  padding: 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.ap-moments-pagination .page-numbers {
  width: 2.75rem;
  padding-inline: 0;
}

.ap-moments-pagination .page-numbers.current {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.ap-moments-pagination a:hover {
  color: var(--ap-text);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.ap-generic-list {
  display: grid;
  gap: 1.5rem;
}

.ap-generic-card {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ap-line);
}

.ap-generic-card__media img {
  width: 100%;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  border-radius: 2px;
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

.ap-generic-card__media:hover img {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  transform: translateY(-4px);
}

.ap-generic-card__date {
  margin: 0 0 0.5rem;
  color: var(--ap-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ap-generic-card__title {
  margin: 0;
  font-family: var(--ap-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.ap-empty-state {
  padding: 2rem 0;
  color: var(--ap-muted);
}

.ap-pagination {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ap-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ap-line);
}

.ap-pagination .prev,
.ap-pagination .next {
  width: 2.5rem;
  padding: 0;
  font-size: 1rem;
}

.ap-pagination .current {
  background: rgba(255, 255, 255, 0.08);
}

.ap-page-shell,
.ap-single-shell {
  max-width: 52rem;
}

.ap-page-shell {
  text-align: center;
}

.ap-page-shell--private {
  max-width: 58rem;
  text-align: left;
}

.ap-password-gate {
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.ap-password-gate__panel {
  width: min(100%, 56rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--ap-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(10, 10, 10, 0.32);
  box-shadow: var(--ap-shadow);
  backdrop-filter: blur(18px);
}

.ap-password-gate__title {
  margin: 0 0 1rem;
  font-family: var(--ap-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.ap-password-gate__text {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  color: var(--ap-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.ap-password-form {
  margin: 0;
}

.ap-password-form__label {
  display: block;
  margin: 0 0 0.7rem;
  color: rgba(242, 242, 242, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ap-password-form__row {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.ap-password-form__input {
  flex: 1 1 18rem;
  min-height: 3.45rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--ap-text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ap-password-form__input::placeholder {
  color: rgba(242, 242, 242, 0.4);
}

.ap-password-form__input:focus {
  outline: none;
  border-color: rgba(183, 155, 119, 0.7);
  box-shadow: 0 0 0 3px rgba(183, 155, 119, 0.18);
}

.ap-password-form__button {
  min-height: 3.45rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(183, 155, 119, 0.45);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(183, 155, 119, 0.95), rgba(146, 117, 80, 0.95));
  color: #161616;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ap-password-form__button:hover,
.ap-password-form__button:focus-visible {
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.ap-about-visual {
  margin: 0 auto 2rem;
  max-width: 48rem;
}

.ap-about-visual__figure,
.ap-about-visual__fallback {
  margin: 0;
  padding: var(--ap-frame-pad);
  border-radius: 2px;
  overflow: hidden;
  background: var(--ap-frame);
  border: 1px solid var(--ap-frame-line);
  box-shadow: var(--ap-shadow-soft);
  aspect-ratio: 16 / 10;
}

.ap-about-visual__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-about-visual__fallback {
  display: grid;
  place-items: center;
  color: var(--ap-text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ap-about-page {
  width: var(--ap-width);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(5rem, 10vw, 9rem);
}

.ap-about-hero {
  position: relative;
  min-height: clamp(28rem, 64vw, 48rem);
  overflow: hidden;
  border: 1px solid var(--ap-frame-line);
  background: #111;
  box-shadow: var(--ap-shadow-soft);
}

.ap-about-hero__image,
.ap-about-hero__fallback,
.ap-about-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-about-hero__image {
  object-fit: cover;
}

.ap-about-hero__fallback {
  background: linear-gradient(145deg, #171717, #0b0b0b);
}

.ap-about-hero__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.76) 100%);
}

.ap-about-hero__content {
  position: absolute;
  inset: auto clamp(1.5rem, 5vw, 5rem) clamp(2rem, 6vw, 5rem);
  z-index: 1;
  max-width: 42rem;
}

.ap-about-hero__content h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--ap-serif);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.ap-about-intro {
  max-width: 37.5rem;
  margin: clamp(5rem, 11vw, 9rem) auto;
  color: var(--ap-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.8;
  text-align: center;
}

.ap-about-intro p {
  margin: 0 0 1.65rem;
}

.ap-about-intro p:first-child {
  color: var(--ap-text);
  font-family: var(--ap-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.ap-about-intro p:last-child {
  margin-bottom: 0;
}

.ap-about-favourites {
  padding-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--ap-line);
}

.ap-about-favourites__grid {
  display: block;
  column-width: 20rem;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  column-fill: balance;
}

.ap-about-favourites__grid > br,
.ap-about-favourite > br,
.ap-about-favourite__figure > br {
  display: none;
}

.ap-about-favourite {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.ap-about-favourite__figure {
  display: block;
  margin: 0;
  overflow: hidden;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

.ap-about-favourite__figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 420ms ease;
}

.ap-about-favourite:hover .ap-about-favourite__figure {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  transform: translateY(-3px);
}

.ap-about-favourite:hover img {
  transform: scale(1.02);
}

.ap-page-header,
.ap-page-content {
  margin-inline: auto;
}

.ap-entry-hero {
  width: 100%;
  margin: 0 0 2rem;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
}

.ap-entry-hero img {
  width: 100%;
  max-height: min(72vh, 920px);
  object-fit: cover;
  border-radius: 0;
}

.ap-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin: 0 0 1.5rem;
  color: var(--ap-muted);
  font-size: 0.9rem;
}

.ap-single-moment {
  width: var(--ap-width);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(5rem, 10vw, 9rem);
}

.ap-single-moment__hero {
  position: relative;
  min-height: clamp(32rem, 76vh, 58rem);
  overflow: hidden;
  background: #111;
}

.ap-single-moment__hero-image,
.ap-single-moment__hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-single-moment__hero-image {
  object-fit: cover;
}

.ap-single-moment__hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 25%, rgba(0, 0, 0, 0.82) 100%);
}

.ap-single-moment__hero-content {
  position: absolute;
  inset: auto clamp(1.5rem, 5vw, 5rem) clamp(2rem, 6vw, 5rem);
  z-index: 1;
  max-width: 58rem;
}

.ap-single-moment__hero-content h1 {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-family: var(--ap-serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.ap-single-moment__hero-content time {
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-single-moment__content {
  max-width: 47rem;
  margin: clamp(5rem, 11vw, 9rem) auto;
  color: var(--ap-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.85;
}

.ap-single-moment__content > :first-child {
  margin-top: 0;
}

.ap-single-moment__content :where(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 1.7rem;
}

.ap-single-moment__content :where(h2, h3, h4) {
  margin: clamp(3.5rem, 7vw, 6rem) 0 1.5rem;
  font-family: var(--ap-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ap-single-moment__content h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.ap-single-moment__content :where(figure.wp-block-image, figure.wp-block-gallery, .wp-block-gallery) {
  position: static;
  left: auto;
  width: 100%;
  max-width: 100%;
  margin-top: clamp(4rem, 9vw, 8rem);
  margin-right: auto;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.ap-single-moment__content figure.wp-block-image img,
.ap-single-moment__content .wp-block-gallery img {
  width: 100%;
  border-radius: 0;
}

.ap-single-moment__content .wp-block-gallery {
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.ap-single-moment__content figcaption {
  margin: 0.75rem 0 0;
  color: var(--ap-muted);
  font-family: var(--ap-sans);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ap-single-moment__content blockquote,
.ap-single-moment__content .wp-block-quote,
.ap-single-moment__content .wp-block-pullquote {
  width: min(calc(100vw - 3rem), 64rem);
  max-width: none;
  margin-top: clamp(5rem, 12vw, 10rem);
  margin-right: auto;
  margin-bottom: clamp(5rem, 12vw, 10rem);
  margin-left: auto;
  padding: 0;
  border: 0;
  color: var(--ap-text);
  font-family: var(--ap-serif);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.12;
  text-align: center;
}

.ap-single-moment__content blockquote p,
.ap-single-moment__content .wp-block-pullquote p {
  color: inherit;
  line-height: inherit;
}

.ap-single-moment__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--ap-line);
}

.ap-single-moment__navigation > br,
.ap-single-nav-card > br,
.ap-single-nav-card__media > br,
.ap-single-nav-card__content > br {
  display: none;
}

.ap-single-nav-card {
  position: relative;
  min-height: clamp(18rem, 34vw, 30rem);
  overflow: hidden;
  color: var(--ap-text);
  background: #111;
}

.ap-single-nav-card__media,
.ap-single-nav-card__overlay {
  position: absolute;
  inset: 0;
}

.ap-single-nav-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-single-nav-card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.ap-single-nav-card__content {
  position: absolute;
  inset: auto clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
  z-index: 1;
  display: grid;
  gap: 0.35rem;
}

.ap-single-nav-card__direction,
.ap-single-nav-card__date {
  color: rgba(242, 242, 242, 0.68);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-single-nav-card__title {
  font-family: var(--ap-serif);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
}

.ap-single-nav-card:hover img {
  transform: scale(1.025);
}

.ap-more-moments {
  margin-top: clamp(5rem, 11vw, 9rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--ap-line);
}

.ap-more-moments > h2 {
  margin: 0 0 2rem;
  font-family: var(--ap-serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.ap-more-moments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: start;
}

.ap-page-content :where(p, ul, ol, blockquote),
.ap-single-shell :where(p, ul, ol, blockquote) {
  color: var(--ap-muted);
}

.ap-page-content :where(h2, h3, h4, h5, h6),
.ap-single-shell :where(h2, h3, h4, h5, h6) {
  margin-top: 2rem;
  font-family: var(--ap-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ap-page-content :where(figure.wp-block-image, figure.wp-block-gallery),
.ap-single-shell :where(figure.wp-block-image, figure.wp-block-gallery) {
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  border-radius: 2px;
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow-soft);
}

.ap-page-content :where(figure.wp-block-image, figure.wp-block-gallery) img,
.ap-single-shell :where(figure.wp-block-image, figure.wp-block-gallery) img {
  border-radius: 0;
}

.ap-page-content figcaption,
.ap-single-shell figcaption {
  margin: 0.65rem 0.25rem 0.15rem;
  color: #282828;
  font-family: var(--ap-serif);
  font-size: 0.82rem;
  font-style: italic;
  text-align: left;
}

.ap-lightbox-target {
  cursor: zoom-in;
}

.ap-lightbox-target:focus {
  outline: 2px solid var(--ap-accent);
  outline-offset: 4px;
}

.ap-page-content a:not(.wp-block-button__link),
.ap-single-shell .wp-block-post-content a:not(.wp-block-button__link) {
  background-image: linear-gradient(var(--ap-accent), var(--ap-accent));
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 240ms ease, color 180ms ease;
}

.ap-page-content a:not(.wp-block-button__link):hover,
.ap-single-shell .wp-block-post-content a:not(.wp-block-button__link):hover {
  background-position: 0 100%;
  background-size: 100% 1px;
}

.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 0s linear 420ms;
}

.ap-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 420ms ease, visibility 0s linear 0s;
}

.ap-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}

.ap-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-lightbox.is-open .ap-lightbox__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ap-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ap-lightbox__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: var(--ap-text);
  background: rgba(31, 31, 31, 0.92);
  font: inherit;
  line-height: 1;
}

.ap-lightbox__button--sound {
  width: 2.75rem;
  padding: 0;
}

.ap-lightbox__button--sound.is-active {
  border-color: rgba(183, 155, 119, 0.85);
  background: rgba(55, 45, 34, 0.96);
  color: #f4e6d4;
}

.ap-lightbox__button--sound:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ap-lightbox__button--sound .ap-sound-toggle__icon {
  width: 1.05rem;
  height: 1.05rem;
}

.ap-lightbox__button--slideshow {
  width: 2.75rem;
  padding: 0;
}

.ap-lightbox__button--slideshow.is-active {
  border-color: rgba(183, 155, 119, 0.55);
  background: rgba(55, 45, 34, 0.72);
  color: #f4e6d4;
}

.ap-lightbox__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
}

.ap-lightbox__button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ap-lightbox__button-icon--pause {
  display: none;
}

.ap-lightbox__button--slideshow.is-active .ap-lightbox__button-icon--play {
  display: none;
}

.ap-lightbox__button--slideshow.is-active .ap-lightbox__button-icon--pause {
  display: inline-flex;
}

.ap-lightbox__button:hover,
.ap-lightbox__button:focus-visible {
  border-color: rgba(242, 242, 242, 0.6);
  background: rgba(45, 45, 45, 0.98);
}

.ap-lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 55vh;
  padding-bottom: 0.2rem;
  isolation: isolate;
}

.ap-lightbox__image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 72vh;
  padding: var(--ap-frame-pad);
  border: 1px solid var(--ap-frame-line);
  border-radius: 2px;
  background: var(--ap-frame);
  box-shadow: var(--ap-shadow);
  pointer-events: none;
}

.ap-lightbox__image.is-fading-in {
  animation: ap-lightbox-image-fade-in 320ms ease-out both;
}

@keyframes ap-lightbox-image-fade-in {
  from {
    opacity: 0.35;
    transform: scale(0.995);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ap-lightbox__progress {
  position: relative;
  width: min(100%, 48rem);
  height: 0.1rem;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.ap-lightbox__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(180, 180, 180, 0.45));
}

.ap-lightbox__caption {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: 0.15rem 0 0;
  color: var(--ap-muted);
  text-align: left;
}

.ap-lightbox__caption-box {
  padding: 0.85rem 1rem 0.95rem;
  background: rgba(18, 18, 18, 0.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.ap-lightbox__title {
  margin: 0;
  color: rgba(242, 242, 242, 0.92);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ap-lightbox__text {
  margin: 0.35rem 0 0;
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ap-lightbox__nav {
  position: absolute;
  inset: 50% 0 auto;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.ap-lightbox__nav button {
  pointer-events: auto;
  position: relative;
  z-index: 4;
}

.ap-is-lightbox-open {
  overflow: hidden;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ap-site-footer {
  border-top: 1px solid var(--ap-line);
  padding: 1.5rem 0 2rem;
  color: rgba(242, 242, 242, 0.42);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ap-footer-inner {
  width: var(--ap-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}

.ap-footer-meta {
  display: contents;
}

.ap-footer-copyright {
  grid-column: 1;
  justify-self: start;
  margin: 0;
}

.ap-footer-date {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  color: rgba(242, 242, 242, 0.32);
}

.ap-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .ap-hero__content {
    min-height: min(100vh, 860px);
  }

  .ap-snapshot-grid {
    column-width: 18rem;
  }
}

@media (max-width: 782px) {
  .ap-header-bar {
    padding: 0.95rem 0;
  }

  .ap-navigation .wp-block-navigation__container {
    gap: 0.25rem;
  }

  .ap-hero {
    min-height: 88vh;
  }

  .ap-hero__content {
    align-items: flex-end;
    padding: 7rem 1.5rem 7rem;
  }

  .ap-hero__controls {
    right: 1.5rem;
    bottom: 2rem;
    left: 1.5rem;
    justify-content: flex-end;
  }

  .ap-hero h1,
  .ap-archive-header h1,
  .ap-entry-title,
  .ap-page-title {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .ap-snapshot-grid {
    column-width: 100%;
  }

  .ap-lightbox__nav {
    position: static;
    justify-content: center;
    gap: 0.8rem;
    transform: none;
    margin-top: 0.5rem;
  }

  .ap-lightbox__stage {
    min-height: 40vh;
  }

  .ap-lightbox__image {
    max-height: 66vh;
  }

  .ap-lightbox__caption {
    width: min(100%, 100%);
  }

  .ap-lightbox__caption-box {
    padding: 0.75rem 0.85rem 0.85rem;
  }

  .ap-lightbox__button--slideshow {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 1400px) {
  .ap-snapshot-grid {
    column-width: 20rem;
  }
}

@media (max-width: 782px) {
  .ap-header-bar {
    align-items: center;
    gap: 0.75rem;
  }

  .ap-header-nav {
    position: relative;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .ap-sound-toggle {
    width: 2.25rem;
    height: 2.15rem;
  }

  .ap-nav-toggle {
    display: inline-flex;
  }

  .ap-navigation {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 40;
    width: min(100vw - 2rem, 20rem);
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--ap-line);
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.96);
    box-shadow: var(--ap-shadow);
  }

  .ap-header-nav.is-open .ap-navigation {
    display: block;
  }

  .ap-navigation .wp-block-navigation__container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .ap-navigation a {
    display: block;
    padding: 0.65rem 0.15rem;
  }

  .ap-footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .ap-footer-copyright,
  .ap-footer-date {
    grid-column: auto;
    justify-self: start;
  }

  .ap-footer-date {
    margin-top: 0.25rem;
  }

  .ap-password-form__button,
  .ap-password-form__input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .ap-moments-query .wp-block-post-template.ap-moments-grid {
    column-width: 18rem;
  }

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

@media (max-width: 640px) {
  .ap-moments-query .wp-block-post-template.ap-moments-grid {
    column-width: 100%;
  }

  .ap-about-page {
    width: min(100% - 1.5rem, var(--ap-width));
  }

  .ap-about-hero {
    min-height: 72vh;
  }

  .ap-about-favourites__grid {
    column-width: 100%;
  }

  .ap-single-moment {
    width: min(100% - 1.5rem, var(--ap-width));
  }

  .ap-single-moment__hero {
    min-height: 74vh;
  }

  .ap-single-moment__content :where(figure.wp-block-image, figure.wp-block-gallery, .wp-block-gallery),
  .ap-single-moment__content blockquote,
  .ap-single-moment__content .wp-block-quote,
  .ap-single-moment__content .wp-block-pullquote {
    width: 100%;
  }

  .ap-more-moments__grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .ap-single-moment__navigation {
    grid-template-columns: 1fr;
  }

  .ap-single-nav-card {
    min-height: 20rem;
  }
}
