:root {
  color-scheme: light;
  --ink: #172b43;
  --muted: #6b7787;
  --navy: #112d4e;
  --blue: #1d5b91;
  --sky: #e8f4f8;
  --cream: #fbf8f1;
  --coral: #e87855;
  --line: #e7e5df;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
}

button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .03em;
}

.brand img { width: 43px; height: 43px; object-fit: contain; }

.top-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(80, 175, 199, .3), transparent 38%),
    linear-gradient(120deg, #102d4e, #164f75 68%, #247c91);
  color: white;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 64px;
  width: min(1120px, calc(100% - 48px));
  min-height: 390px;
  margin: 0 auto;
  padding: 42px 0 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #b7e5e9;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 23px;
  height: 2px;
  background: var(--coral);
  content: "";
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 5vw, 61px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.hero-copy {
  max-width: 470px;
  margin: 18px 0 25px;
  color: #d3e2ec;
  font-size: 16px;
  line-height: 1.7;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.meta-chip svg { flex: 0 0 auto; color: #a9e3e1; }

.poster-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: #d8eaf0;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  transform: rotate(2deg);
}

.poster-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 76px;
}

.album-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.section-kicker {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 32px);
  letter-spacing: -.035em;
}

.photo-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.empty-state {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 34px 20px;
  border: 1.5px dashed #c9d4d7;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  text-align: center;
}

.empty-content { max-width: 440px; }

.empty-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 19px;
  background: var(--sky);
  color: var(--blue);
}

.empty-content h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.02em;
}

.empty-content p {
  margin: 0 auto 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.photo-action:focus-visible { outline: 3px solid #ef9a72; outline-offset: 3px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #e8edf0;
  box-shadow: 0 7px 22px rgba(24,43,62,.08);
}

.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

.photo-name {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 30px 13px 12px;
  background: linear-gradient(transparent, rgba(10,25,40,.75));
  color: white;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.photo-action {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(14,32,49,.78);
  color: white;
}

.photo-action:hover { background: #1c4d78; }

footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 720px) {
  .topbar, .hero-inner, main { width: min(100% - 36px, 560px); }
  .hero-inner { grid-template-columns: 1fr 140px; gap: 22px; min-height: 0; padding: 40px 0; }
  .poster-frame { border-width: 3px; border-radius: 11px; }
  .hero-copy { font-size: 14px; }
  .meta-chip { padding: 8px 10px; font-size: 12px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  main { padding: 35px 0 55px; }
}

@media (max-width: 480px) {
  .topbar, .hero-inner, main { width: calc(100% - 32px); }
  .top-label { font-size: 11px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand img { width: 36px; height: 36px; }
  .top-label { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-inner > div:first-child { grid-row: 2; }
  .poster-frame { width: 126px; margin: 0 0 0 auto; }
  .hero-inner { padding: 26px 0 36px; }
  .album-heading { align-items: start; }
  .photo-count { font-size: 11px; }
  .empty-state { min-height: 285px; }
}
