:root {
  --paper: #E8E0C0;
  --paper-deep: #EDE4CF;
  --ink: #15120E;
  --ink-soft: #4A4335;
  --line: #15120E;
  --rose: #FF006E;
  --cyan: #00FFCC;
  --shadow: 10px 10px 0 rgba(21, 18, 14, 0.95);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Helvetica, Arial, system-ui, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 0, 110, 0.12) 0 12%, transparent 13%),
    radial-gradient(circle at 85% 22%, rgba(0, 255, 204, 0.15) 0 10%, transparent 11%),
    radial-gradient(var(--ink) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 14px 14px, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(21, 18, 14, 0.05) 16px 17px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(21, 18, 14, 0.04) 22px 23px);
  z-index: 1;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a {
  color: inherit;
}

.gallery-page {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 92vh;
  padding: 18px clamp(16px, 4vw, 54px) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topbar {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-family: Courier, "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.topbar a {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  padding: 9px 12px;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-grid {
  width: min(980px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: end;
  gap: clamp(28px, 5vw, 64px);
}

.date {
  margin: 0 0 12px;
  font-family: Courier, "Courier New", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 9rem;
  line-height: 0.78;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 760px;
  text-shadow: 3px 0 var(--rose), -3px 0 var(--cyan);
}

.subtitle {
  margin: 26px 0 10px;
  font-family: Courier, "Courier New", monospace;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.intro {
  max-width: 520px;
  margin-bottom: 28px;
  font-family: Helvetica, Arial, system-ui, sans-serif;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.primary-link,
.submit-btn,
.ghost-btn,
.like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper-deep);
  text-decoration: none;
  padding: 12px 18px;
  font-family: Courier, "Courier New", monospace;
  font-size: 0.86rem;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--rose);
}

.primary-link svg,
.submit-btn svg,
.ghost-btn svg,
.like-btn svg,
.close-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.hero-contact {
  position: relative;
  min-height: 510px;
}

.print {
  position: absolute;
  margin: 0;
  padding: 12px 12px 44px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.print::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 18, 14, 0.34) 1px, transparent 1px);
  background-size: 6px 6px;
  mix-blend-mode: multiply;
  opacity: 0.2;
}

.print-a {
  width: min(64vw, 300px);
  aspect-ratio: 3 / 4;
  right: 58px;
  top: 10px;
  transform: rotate(5deg);
}

.print-b {
  width: min(60vw, 280px);
  aspect-ratio: 3 / 4;
  left: 0;
  bottom: 0;
  transform: rotate(-6deg);
}

.folio {
  position: absolute;
  right: 6px;
  bottom: 24px;
  transform: rotate(4deg);
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 12px 14px;
  font-family: Courier, "Courier New", monospace;
  box-shadow: 6px 6px 0 var(--cyan);
}

.upload-band,
.photos-band {
  position: relative;
  z-index: 2;
  padding: 56px clamp(16px, 4vw, 54px);
}

.upload-band {
  background: var(--paper-deep);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.section-title {
  width: min(980px, 100%);
  margin: 0 auto 24px;
}

.section-title p {
  margin-bottom: 5px;
  font-family: Courier, "Courier New", monospace;
  text-transform: uppercase;
}

.section-title h2 {
  margin-bottom: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 4.8rem;
  line-height: 0.9;
  font-weight: 400;
  text-shadow: 2px 0 var(--rose), -2px 0 var(--cyan);
}

.upload-form {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.upload-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: Courier, "Courier New", monospace;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.upload-form input[type="text"],
.upload-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  box-shadow: inset 3px 3px 0 rgba(21, 18, 14, 0.08);
}

.upload-form textarea,
.comment-form textarea {
  min-height: 112px;
  resize: vertical;
}

.upload-form input:focus,
.upload-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  box-shadow: 5px 5px 0 var(--cyan);
}

.file-drop {
  position: relative;
  grid-column: 1 / -1;
  min-height: 158px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed var(--ink);
  background:
    radial-gradient(var(--ink) 1px, transparent 1px),
    var(--paper);
  background-size: 10px 10px, auto;
  padding: 24px;
  transform: rotate(-1deg);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop strong {
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
}

.file-drop small {
  max-width: 420px;
  color: var(--ink-soft);
  text-transform: none;
  font-family: Helvetica, Arial, system-ui, sans-serif;
  font-size: 0.95rem;
}

.selected-files {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.selected-files span {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 5px 8px;
  font-family: Courier, "Courier New", monospace;
  font-size: 0.78rem;
}

.submit-btn {
  justify-self: start;
}

.submit-btn.small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.78rem;
  box-shadow: 5px 5px 0 var(--cyan);
}

.form-status {
  align-self: center;
  min-height: 1.4em;
  margin: 0;
  color: var(--ink-soft);
}

.toolbar {
  width: min(980px, 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toolbar p {
  margin: 0;
  font-family: Courier, "Courier New", monospace;
  text-transform: uppercase;
}

.ghost-btn {
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--cyan);
}

.photo-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  columns: 3 230px;
  column-gap: 18px;
}

.photo-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 18px;
  border: 2px solid var(--ink);
  background: var(--paper-deep);
  box-shadow: 7px 7px 0 rgba(21, 18, 14, 0.95);
  transform: rotate(var(--tilt, 0deg));
}

.photo-card button {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.photo-card img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  background: var(--paper);
}

.photo-meta {
  padding: 12px;
}

.photo-meta h3 {
  margin-bottom: 4px;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.photo-meta p {
  margin-bottom: 10px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: Courier, "Courier New", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.empty-state {
  width: min(680px, 100%);
  margin: 28px auto 0;
  border: 2px solid var(--ink);
  background: var(--paper-deep);
  padding: 28px;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.45rem;
  box-shadow: 8px 8px 0 var(--cyan);
  transform: rotate(-1deg);
}

.photo-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 3px solid var(--ink);
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: 14px 14px 0 var(--rose);
}

.photo-dialog::backdrop {
  background:
    radial-gradient(rgba(232, 224, 192, 0.28) 1px, transparent 1px),
    rgba(21, 18, 14, 0.72);
  background-size: 12px 12px, auto;
}

.photo-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--cyan);
}

.dialog-media {
  min-height: 420px;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 34px);
  object-fit: contain;
}

.dialog-panel {
  overflow: auto;
  max-height: calc(100vh - 34px);
  padding: 26px;
}

.dialog-date {
  margin-bottom: 6px;
  font-family: Courier, "Courier New", monospace;
  text-transform: uppercase;
}

.dialog-panel h2 {
  margin-bottom: 10px;
  font-family: "Times New Roman", Times, serif;
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 400;
}

.dialog-caption {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.like-btn {
  margin: 8px 0 24px;
  box-shadow: 5px 5px 0 var(--rose);
}

.like-btn.is-liked {
  background: var(--rose);
  color: var(--paper-deep);
}

.comments h3 {
  margin-bottom: 12px;
  font-family: Courier, "Courier New", monospace;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.comment-item {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 12px;
}

.comment-item strong {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.comment-item time {
  display: block;
  margin: 2px 0 7px;
  font-family: Courier, "Courier New", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.comment-item p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 760px) {
  h1 {
    font-size: 6rem;
  }

  .subtitle {
    font-size: 1.35rem;
  }

  .section-title h2 {
    font-size: 3.4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-contact {
    min-height: 430px;
  }

  .print-a {
    right: 10px;
  }

  .print-b {
    left: 8px;
  }

  .upload-form {
    grid-template-columns: 1fr;
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 300px;
  }

  .dialog-panel {
    max-height: none;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 4.8rem;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .dialog-panel h2 {
    font-size: 2.4rem;
  }

  .hero-contact {
    min-height: 360px;
  }

  .print-a,
  .print-b {
    width: 210px;
  }

  .print-a {
    right: 0;
  }

  .folio {
    right: 0;
  }

  .primary-link,
  .submit-btn,
  .ghost-btn,
  .like-btn {
    width: 100%;
  }

  .photo-dialog {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
    box-shadow: 8px 8px 0 var(--rose);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* V4-inspired video backdrop + uploaded-photo clipping restyle */
:root {
  --ivory: #f7f1e5;
  --ivory-2: #efe2cd;
  --gold: #d8c293;
  --ink-video: #0c0a07;
  --muted-video: #e9e0d2;
  --display-v4: "Bricolage Grotesque", system-ui, sans-serif;
  --sans-v4: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease-v4: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  color: var(--ivory);
  font-family: var(--sans-v4);
  background: var(--ink-video);
}

body::before {
  opacity: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--ink-video) url("../assets/poster.jpg") center / cover no-repeat;
  filter: blur(16px) brightness(0.45) saturate(1.05);
  transform: scale(1.12);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.backdrop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(216, 194, 147, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.48), rgba(8, 6, 4, 0.74));
}

.gallery-page {
  z-index: 3;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(12, 10, 7, 0.18);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.5);
}

.hero {
  min-height: 100svh;
  padding: 18px 24px 56px;
}

.topbar {
  width: 100%;
  justify-content: center;
  font-family: var(--sans-v4);
  font-weight: 800;
  font-size: 0.72rem;
}

.topbar a {
  color: var(--ink-video);
  background: var(--ivory);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.hero-grid {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  justify-items: start;
  min-height: calc(100svh - 86px);
}

.date,
.subtitle,
.section-title p,
.toolbar p,
.upload-form label,
.photo-actions,
.dialog-date,
.comments h3 {
  font-family: var(--sans-v4);
  font-weight: 800;
  color: var(--gold);
}

h1,
.section-title h2,
.dialog-panel h2 {
  font-family: var(--display-v4);
  font-weight: 800;
  color: var(--ivory);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.58);
}

h1 {
  font-size: 6.6rem;
  line-height: 0.78;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.62);
}

.subtitle {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
}

.intro {
  color: var(--muted-video);
  font-family: var(--sans-v4);
  font-weight: 500;
}

.hero-copy {
  max-width: 460px;
}

.primary-link,
.submit-btn,
.ghost-btn,
.like-btn {
  border: 0;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink-video);
  font-family: var(--sans-v4);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  transition: transform 0.25s var(--ease-v4), box-shadow 0.25s var(--ease-v4);
}

.primary-link:hover,
.submit-btn:hover,
.ghost-btn:hover,
.like-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
}

.hero-contact {
  min-height: 420px;
}

.print {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.print::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ivory);
  transform: translate(13px, 15px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.52);
}

.print img {
  position: relative;
  z-index: 1;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.52);
}

.print-a img,
.print-a::before {
  border-radius: 999px 999px 22px 22px;
}

.print-b img,
.print-b::before {
  border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%;
}

.print::after {
  opacity: 0;
}

.folio {
  color: var(--ink-video);
  background: var(--ivory);
  border: 0;
  border-radius: 999px;
  font-family: var(--sans-v4);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.upload-band,
.photos-band {
  padding: 70px 24px;
  background: rgba(12, 10, 7, 0.44);
  border-top: 1px solid rgba(216, 194, 147, 0.28);
  border-bottom: 1px solid rgba(216, 194, 147, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.upload-band.is-collapsed {
  height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  border: 0;
}

.upload-band.is-collapsed > * {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.upload-band.is-expanded > * {
  animation: uploadReveal 0.55s var(--ease-v4) both;
}

@keyframes uploadReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title,
.upload-form,
.toolbar,
.photo-grid {
  width: 100%;
}

.section-title h2 {
  font-size: 3.8rem;
  line-height: 0.86;
}

.upload-form {
  grid-template-columns: 1fr;
}

.upload-form input[type="text"],
.upload-form textarea,
.comment-form input,
.comment-form textarea {
  color: var(--ink-video);
  background: rgba(247, 241, 229, 0.92);
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

.upload-form input:focus,
.upload-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--gold);
  box-shadow: none;
}

.file-drop {
  color: var(--ivory);
  border: 2px dashed rgba(216, 194, 147, 0.55);
  border-radius: 24px;
  background: rgba(247, 241, 229, 0.08);
}

.file-drop strong {
  font-family: var(--display-v4);
  font-weight: 800;
}

.file-drop small,
.form-status {
  color: var(--muted-video);
  font-family: var(--sans-v4);
}

.selected-files span {
  color: var(--ink-video);
  border: 0;
  border-radius: 999px;
  background: var(--ivory);
  font-family: var(--sans-v4);
  font-weight: 700;
}

.toolbar {
  align-items: center;
}

.photo-grid {
  columns: 2 190px;
  column-gap: 20px;
}

.photo-card {
  position: relative;
  margin-bottom: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.photo-card button {
  position: relative;
  display: block;
  padding: 0 0 58px;
}

.photo-card button::before {
  content: "";
  position: absolute;
  inset: 0 0 58px;
  z-index: 0;
  background: var(--ivory);
  transform: translate(12px, 14px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.52);
}

.photo-card img {
  position: relative;
  z-index: 1;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.52);
}

.photo-card:nth-child(4n+1) img,
.photo-card:nth-child(4n+1) button::before {
  border-radius: 999px 999px 22px 22px;
}

.photo-card:nth-child(4n+2) img,
.photo-card:nth-child(4n+2) button::before {
  border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%;
}

.photo-card:nth-child(4n+3) img,
.photo-card:nth-child(4n+3) button::before {
  border-radius: 50%;
}

.photo-card:nth-child(4n+4) img,
.photo-card:nth-child(4n+4) button::before {
  clip-path: polygon(8% 0, 100% 7%, 92% 100%, 0 92%);
}

.photo-meta {
  position: absolute;
  left: 10px;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--ink-video);
  background: rgba(247, 241, 229, 0.94);
  border-radius: 18px;
  padding: 12px 14px;
  text-align: left;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.photo-meta h3 {
  font-family: var(--display-v4);
  font-weight: 800;
  font-size: 1.2rem;
}

.photo-meta p {
  color: rgba(12, 10, 7, 0.68);
}

.photo-actions {
  color: var(--ink-video);
  font-size: 0.7rem;
}

.empty-state {
  color: var(--ink-video);
  border: 0;
  border-radius: 24px;
  background: var(--ivory);
  font-family: var(--display-v4);
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.photo-dialog {
  border: 0;
  border-radius: 24px;
  background: rgba(12, 10, 7, 0.92);
  color: var(--ivory);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
}

.photo-dialog::backdrop {
  background: rgba(8, 6, 4, 0.78);
}

.dialog-media {
  background: rgba(8, 6, 4, 0.78);
}

.dialog-panel h2 {
  font-size: 3rem;
}

.dialog-caption,
.comment-item time,
.comment-empty {
  color: var(--muted-video);
}

.comment-item {
  color: var(--ink-video);
  border: 0;
  border-radius: 16px;
  background: var(--ivory);
}

.comment-item strong {
  font-family: var(--display-v4);
  font-weight: 800;
}

.like-btn.is-liked {
  background: var(--gold);
  color: var(--ink-video);
}

@media (min-width: 761px) {
  .backdrop {
    left: 50%;
    right: auto;
    width: min(100vw, 520px);
    transform: translateX(-50%);
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.55);
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 5.7rem;
  }

  .section-title h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 4.4rem;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .hero-contact {
    min-height: 390px;
  }

  .print-a,
  .print-b {
    width: 205px;
  }

  .photo-grid {
    columns: 1;
  }
}
