:root {
  --bg: #0b0a08;
  --surface: rgba(38, 28, 19, 0.94);
  --surface-strong: #e2d2b1;
  --ink: #e7dcc4;
  --muted: #b6a58a;
  --line: rgba(201, 164, 92, 0.28);
  --accent: #b82f1d;
  --accent-deep: #d1aa57;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Crimson Text", serif;
  color: var(--ink);
  background-color: #050403;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(184, 47, 29, 0.18), transparent 24%),
    radial-gradient(circle at 80% 8%, rgba(209, 170, 87, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(78, 15, 10, 0.3), transparent 28%),
    linear-gradient(180deg, #13100d 0%, #090807 45%, #040403 100%);
}

h1,
h2,
h3,
.brand-mark {
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
}

a {
  color: var(--surface-strong);
  text-decoration: none;
}

a:visited {
  color: var(--surface-strong);
}

.page-banner {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surface-strong);
  background: linear-gradient(90deg, #3c0905, #120d0a 50%, #3c0905);
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(209, 170, 87, 0.4);
}

.hero-shell {
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.navbar {
  z-index: 2;
  background: linear-gradient(180deg, rgba(26, 20, 15, 0.96), rgba(12, 10, 8, 0.98));
  border: 1px solid rgba(209, 170, 87, 0.32);
  box-shadow: var(--shadow);
  margin: 18px auto 0;
  max-width: 1140px;
}

.navbar-brand,
.nav-link {
  color: var(--surface-strong);
}

.navbar-collapse {
  gap: 1rem;
}

.brand-mark {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(184, 47, 29, 0.35);
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23e7dcc4' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.75rem;
  padding: 0.25rem;
  border: 1px solid rgba(209, 170, 87, 0.28);
  background: rgba(20, 16, 12, 0.72);
}

.lang-btn {
  min-width: 3rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-btn.is-active {
  background: linear-gradient(180deg, #7c1f12, #43100a);
  color: #f2e6cf;
}

.hero-section {
  padding: 3.5rem 0 5rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.hero-copy,
.section-heading p,
.info-panel p,
.contact-card p,
#story p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.btn {
  border-radius: 2px;
  padding: 0.9rem 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-width: 1px;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(180deg, #7c1f12, #43100a);
  border-color: rgba(209, 170, 87, 0.55);
  color: #f2e6cf;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #922415, #54140c);
  border-color: rgba(209, 170, 87, 0.75);
  color: #fff0d5;
}

.btn-outline-dark {
  background: rgba(20, 16, 12, 0.78);
  border-color: rgba(209, 170, 87, 0.35);
  color: #efe2ca;
}

.frontpage-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  color: var(--surface-strong);
  background: rgba(58, 18, 13, 0.85);
  border: 1px solid rgba(209, 170, 87, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.retro-marquee {
  display: block;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, rgba(60, 9, 5, 0.4), rgba(18, 13, 10, 0.9), rgba(60, 9, 5, 0.4));
  color: var(--surface-strong);
  border: 1px solid rgba(209, 170, 87, 0.28);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-art-card {
  position: relative;
  min-height: 620px;
}

.hero-art,
.portrait-frame,
.work-image {
  background-size: cover;
  background-position: center;
}

.art-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.hero-art img,
.work-image,
.portrait-frame img,
.hero-art-accent img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1) brightness(0.78) sepia(0.25);
}

.hero-art-main {
  position: relative;
  height: 560px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(209, 170, 87, 0.34);
  box-shadow: var(--shadow);
}

.hero-art-accent {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  width: 220px;
  height: 240px;
  border-radius: 4px;
  border: 1px solid rgba(209, 170, 87, 0.45);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.art-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(24, 18, 14, 0.92), rgba(10, 8, 7, 0.94));
  border: 1px solid rgba(209, 170, 87, 0.32);
  backdrop-filter: blur(8px);
}

.art-caption span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-space {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.work-card,
.feature-card,
.info-panel,
.contact-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.work-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.work-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(209, 170, 87, 0.5);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.work-image {
  min-height: 290px;
  max-height: 290px;
  border-bottom: 1px solid rgba(209, 170, 87, 0.22);
}

.work-trigger .work-image {
  border-bottom: 1px solid rgba(209, 170, 87, 0.22);
}

.feature-image {
  display: block;
  width: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  border-bottom: 1px solid rgba(209, 170, 87, 0.22);
}

.work-copy {
  padding: 1.4rem 1.4rem 1.8rem;
}

.work-copy p {
  margin: 0;
  color: var(--muted);
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(53, 15, 11, 0.18), rgba(8, 8, 7, 0.45)),
    radial-gradient(circle at center, rgba(209, 170, 87, 0.05), transparent 55%);
}

.portrait-panel {
  position: relative;
  min-height: 560px;
}

.portrait-frame {
  height: 100%;
  min-height: 560px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(209, 170, 87, 0.34);
  box-shadow: var(--shadow);
}

.info-panel,
.contact-card {
  padding: 2rem;
}

.info-year {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.contact-band {
  padding-bottom: 7rem;
}

.contact-card a {
  color: var(--surface-strong);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(11, 8, 7, 0), rgba(11, 8, 7, 0.95));
  border-top: 1px solid rgba(209, 170, 87, 0.18);
}

.art-modal-content {
  position: relative;
  background: rgba(12, 10, 8, 0.98);
  border: 1px solid rgba(209, 170, 87, 0.28);
  box-shadow: var(--shadow);
}

.art-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(209, 170, 87, 0.32);
  background: rgba(20, 16, 12, 0.88);
}

.art-modal-close::before,
.art-modal-close::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--surface-strong);
  transform-origin: center;
}

.art-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.art-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.art-modal-body {
  padding: 3.5rem 1.5rem 1.5rem;
}

.art-modal-image {
  display: block;
  flex: 1;
  min-width: 0;
  max-height: 78vh;
  object-fit: contain;
}

.art-modal-caption {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.art-modal-figure {
  display: flex;
  align-items: center;
}

.art-modal-nav {
  flex-shrink: 0;
  width: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
}

.art-modal-nav:hover {
  opacity: 1;
}

.art-modal-nav:disabled {
  opacity: 0.15;
  cursor: default;
}

.cv-body {
  max-width: 72ch;
}

.cv-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.cv-meta {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2rem;
}

.visitor-counter {
  font-family: "Cinzel", serif;
  background: rgba(58, 18, 13, 0.7);
  color: var(--surface-strong);
  padding: 0.25rem 0.55rem;
  display: inline-block;
  border: 1px solid rgba(209, 170, 87, 0.3);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    align-items: flex-start;
  }

  .language-switch {
    margin: 1rem 0 0.5rem;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-art-card {
    min-height: 500px;
  }

  .hero-art-main {
    height: 430px;
  }

  .hero-art-accent {
    width: 180px;
    height: 200px;
    right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .brand-mark {
    font-size: 1.7rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .section-space {
    padding: 4rem 0;
  }

  .hero-art-card,
  .portrait-panel {
    min-height: auto;
  }

  .hero-art-main,
  .portrait-frame {
    min-height: 420px;
  }

  .hero-art-accent {
    display: none;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}
