:root {
  --bg-color: #050505;
  --bg-accent: #130607;
  --bg-glow: rgba(191, 24, 24, 0.3);
  --panel: rgba(10, 10, 10, 0.72);
  --panel-strong: rgba(17, 17, 17, 0.92);
  --text: #f4ede6;
  --muted: #c9b9ae;
  --line: rgba(255, 255, 255, 0.1);
  --red: #d42b2b;
  --red-bright: #f14b4b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);

  /*
    Replace this value later with a custom image url if needed, for example:
    --page-background-image: url("images/studio-texture.jpg");
  */
  --page-background-image: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at 18% 18%, var(--bg-glow), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(120, 8, 8, 0.2), transparent 22%),
    linear-gradient(140deg, rgba(212, 43, 43, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-color) 60%),
    var(--page-background-image);
  background-color: var(--bg-color);
}

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

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "Courier New", monospace;
  color: #ffd0d0;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-header,
.site-footer,
.hero,
.info-strip {
  backdrop-filter: blur(14px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  box-shadow: var(--shadow);
}

.brand,
.site-nav a,
.button,
.eyebrow {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.72rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.hero-copy,
.feature-frame,
.art-card,
.info-panel,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 3.6vw, 4rem);
  border-radius: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  color: var(--red-bright);
}

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

h1,
h2 {
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.intro {
  max-width: 36rem;
  margin-bottom: 2rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.76rem;
  border-radius: 999px;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-bright);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.feature-frame {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 1rem;
  border-radius: 2rem;
}

.feature-artwork,
.artwork-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: #120707;
}

.feature-artwork::before,
.artwork-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
}

.feature-artwork::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), transparent 40%);
  opacity: 0.3;
}

.artwork-thumb::before {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.15), transparent 40%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: 0.55;
}

.feature-artwork-main {
  display: flex;
  align-items: end;
  min-height: 100%;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 120, 120, 0.85), transparent 16%),
    radial-gradient(circle at 68% 46%, rgba(140, 8, 8, 0.85), transparent 24%),
    linear-gradient(155deg, #380708 0%, #090909 44%, #310506 100%);
}

.artwork-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(9, 9, 9, 0.58);
  backdrop-filter: blur(10px);
}

.artwork-label span {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.artwork-label strong {
  font-size: 1.1rem;
  font-weight: 400;
}

.gallery-section {
  margin-top: 1.6rem;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.section-heading h2,
.info-panel h2,
.site-footer h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.art-card {
  padding: 0.9rem;
  border-radius: 1.6rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.art-card:hover,
.art-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(241, 75, 75, 0.35);
}

.artwork-thumb {
  aspect-ratio: 4 / 5;
  min-height: 280px;
  margin-bottom: 1rem;
}

.feature-image,
.artwork-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card-copy h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.art-card-copy p,
.info-panel p,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.artwork-01 {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 114, 114, 0.9), transparent 18%),
    linear-gradient(145deg, #42090a 0%, #080808 46%, #611316 100%);
}

.artwork-02 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 65% 32%, rgba(167, 15, 15, 0.9), transparent 24%),
    linear-gradient(135deg, #0d0d0d 10%, #650708 100%);
}

.artwork-03 {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 170, 170, 0.7), transparent 12%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 20px
    ),
    linear-gradient(160deg, #6c0a0c 0%, #0b0b0b 70%);
}

.artwork-04 {
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 79, 79, 0.55), transparent 18%),
    linear-gradient(110deg, #090909 0%, #220506 50%, #470909 100%);
}

.artwork-05 {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.12), transparent 24%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 16px
    ),
    linear-gradient(165deg, #180708 0%, #090909 55%, #7d1012 100%);
}

.artwork-06 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 121, 121, 0.75), transparent 18%),
    linear-gradient(180deg, #0a0a0a 0%, #1b0607 45%, #590b0d 100%);
}

.info-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.info-panel {
  padding: 1.6rem;
  border-radius: 1.8rem;
}

.info-panel-accent {
  background:
    linear-gradient(180deg, rgba(212, 43, 43, 0.15), rgba(17, 17, 17, 0.92)),
    var(--panel-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin: 1.6rem 0 0.5rem;
  padding: 1.5rem;
  border-radius: 1.8rem;
}

.site-footer h2 {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .info-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-frame {
    min-height: 420px;
  }

  .section-heading h2,
  .info-panel h2,
  .site-footer h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .site-header,
  .site-footer {
    border-radius: 1.4rem;
  }

  .site-header,
  .site-footer,
  .hero-copy,
  .feature-frame,
  .info-panel,
  .art-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.75rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .artwork-thumb {
    min-height: 220px;
  }
}
