:root {
  --black: #040302;
  --panel: #0b0907;
  --gold: #c6a05b;
  --gold-soft: #ead39d;
  --text: #f7f0e6;
  --muted: #b9ad96;
  --line: rgba(234, 211, 157, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(178, 117, 48, 0.16), transparent 32rem),
    linear-gradient(180deg, #090704 0%, var(--black) 62%, #020201 100%);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

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

.viewing-room,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.viewing-room {
  min-height: 100vh;
  padding: clamp(1.4rem, 4vw, 4rem) 0;
}

.projects {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.project-image {
  position: relative;
  height: clamp(380px, 62vh, 720px);
  margin: 0;
  background: #080706;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 3, 2, 0.7), transparent 34%),
    linear-gradient(90deg, rgba(4, 3, 2, 0.16), transparent 45%, rgba(4, 3, 2, 0.16));
  pointer-events: none;
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05) brightness(0.86);
}

.image-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(234, 211, 157, 0.78);
  background: #080706;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.35;
  text-align: center;
}

.project-details {
  padding: clamp(1.6rem, 4.6vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.95), rgba(4, 3, 2, 0.98)),
    var(--panel);
}

.gold-line {
  width: 92px;
  height: 1px;
  margin-bottom: 1.75rem;
  background: linear-gradient(90deg, var(--gold-soft), rgba(234, 211, 157, 0));
}

.kicker,
.credit,
.rights {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  font-weight: 400;
  line-height: 0.9;
}

h3 {
  max-width: 760px;
  margin: 1.1rem 0 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.9vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.description {
  max-width: 560px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.credit {
  margin-top: 1.6rem;
}

.rights {
  margin-top: 0.25rem;
  color: var(--muted);
}

.actions {
  margin-top: 2rem;
}

.actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(234, 211, 157, 0.66);
  border-radius: 3px;
  padding: 0.82rem 1.05rem;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
}

.footer p {
  margin: 0;
  line-height: 1.7;
}

.footer p:first-child {
  color: var(--gold-soft);
}

@media (max-width: 720px) {
  .viewing-room,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .project-image {
    height: 54vh;
    min-height: 340px;
  }

  .project-details {
    padding: 1.45rem;
  }

  .actions a {
    width: 100%;
  }

  .footer {
    display: grid;
  }
}
