:root {
  color-scheme: dark;
  --bg: #140912;
  --bg-elevated: #1f111a;
  --surface: #2a1422;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8eef4;
  --muted: rgba(248, 238, 244, 0.72);
  --accent: #8b1e3f;
  --accent-2: #c72c54;
  --gold: #e8c97c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --hero-glow: radial-gradient(
      circle at 30% 20%,
      rgba(199, 44, 84, 0.35),
      transparent 45%
    ),
    radial-gradient(circle at 80% 10%, rgba(139, 30, 63, 0.25), transparent 40%);
}

[data-theme="dia13"] {
  --bg: #120810;
  --bg-elevated: #1c0d16;
  --surface: #301428;
  --accent: #a3274b;
  --accent-2: #e0406c;
  --hero-glow: radial-gradient(
      circle at 40% 30%,
      rgba(224, 64, 108, 0.38),
      transparent 48%
    ),
    radial-gradient(circle at 70% 0%, rgba(163, 39, 75, 0.32), transparent 42%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--gold);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(20, 9, 18, 0.92), rgba(20, 9, 18, 0.65));
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar__nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.topbar__nav a {
  color: var(--muted);
  text-decoration: none;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  color: var(--text);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
}

.btn__icon {
  font-size: 1rem;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem 3.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--hero-glow), linear-gradient(160deg, var(--bg) 0%, #0c060a 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
  mix-blend-mode: soft-light;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
}

.hero__subtitle {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero__banner {
  margin: 1.35rem auto 0;
  max-width: 42rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 201, 124, 0.35);
  background: linear-gradient(
    135deg,
    rgba(139, 30, 63, 0.35),
    rgba(42, 20, 34, 0.65)
  );
  box-shadow: var(--shadow);
  font-size: 1.05rem;
}

.section {
  padding: 3.25rem 1.25rem 4rem;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid var(--border);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
}

.section__lede {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.section__lede code {
  font-size: 0.9em;
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.albums {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.album {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(42, 20, 34, 0.55), rgba(20, 9, 18, 0.65));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.album__header {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 1.35rem 1rem;
}

@media (max-width: 640px) {
  .album__header {
    grid-template-columns: 1fr;
  }
}

.album__cover {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(199, 44, 84, 0.35), var(--surface));
}

.album__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album__meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.album__meta p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  padding: 0 1.35rem 1.35rem;
}

.photo-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.photo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 201, 124, 0.35);
}

.photo-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.photo-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.photo-card__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.photo-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card__cap {
  padding: 0.65rem 0.75rem 0.85rem;
}

.photo-card__cap strong {
  display: block;
  font-size: 0.95rem;
}

.photo-card__cap span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.empty {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--muted);
  text-align: center;
}

.calendar {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calendar__month {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.calendar__nav button {
  font: inherit;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.calendar__nav button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.calendar__nav button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar__day {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.calendar__day--muted {
  opacity: 0.28;
}

.calendar__day--special {
  border-color: rgba(232, 201, 124, 0.55);
  background: linear-gradient(145deg, rgba(139, 30, 63, 0.55), rgba(42, 20, 34, 0.55));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.calendar__day--today {
  outline: 2px solid rgba(232, 201, 124, 0.75);
  outline-offset: 2px;
}

.footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer__text {
  margin: 0;
  font-size: 0.95rem;
}
