/* Site 12 — Gothic luxe: black, aged gold, burgundy, dark grey */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --s12-bg: #0a090c;
  --s12-bg2: #121015;
  --s12-gold: #c9a24a;
  --s12-gold-dim: #8b7355;
  --s12-burgundy: #5c1a22;
  --s12-burgundy-deep: #3a1018;
  --s12-stone: #a8a29e;
  --s12-velvet: #1a0f14;
  --s12-velvet-light: #2a1820;
}

html.s12-gothic,
body.s12-body {
  font-family: "DM Sans", system-ui, sans-serif;
}

body.s12-body {
  min-height: 100vh;
  background: var(--s12-bg);
  color: #e7e5e4;
}

.s12-display {
  font-family: "Cinzel", Georgia, serif;
}

/* Curtain */
.s12-curtain-wrap {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.s12-curtain-wrap.s12-done {
  opacity: 0;
  visibility: hidden;
}

.s12-curtain {
  flex: 1;
  background: linear-gradient(180deg, #050308 0%, #1a0f18 45%, #050308 100%);
  box-shadow: inset 0 0 100px rgba(201, 162, 39, 0.06);
  transform: translateY(0);
  animation: s12Curtain 1.05s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.s12-curtain:nth-child(2) {
  animation-delay: 0.05s;
}

@keyframes s12Curtain {
  to {
    transform: translateY(-100%);
  }
}

/* Gold particles canvas */
#s12Particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.s12-wrap {
  position: relative;
  z-index: 1;
}

/* Dramatic moving light / shadow */
.s12-spotlight {
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse 45% 35% at 35% 25%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 85%, rgba(92, 26, 34, 0.2), transparent 50%);
  animation: s12Spot 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes s12Spot {
  0% {
    transform: translate(-4%, -2%) rotate(0deg);
    opacity: 0.85;
  }
  100% {
    transform: translate(5%, 4%) rotate(2deg);
    opacity: 1;
  }
}

/* Hero */
.s12-hero {
  position: relative;
  min-height: min(56vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0c0a0e;
  background-size: cover;
  background-position: center;
}

.s12-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 10, 0.25) 0%, rgba(8, 6, 10, 0.88) 70%, var(--s12-bg) 100%);
  z-index: 1;
}

.s12-hero .s12-spotlight {
  z-index: 2;
}

.s12-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
}

.s12-hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--s12-gold-dim);
}

.s12-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  background: linear-gradient(135deg, #f5e6b8 0%, #c9a24a 45%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

.s12-hero-lead {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #a8a29e;
}

/* Feature cards — gold border + glow */
.s12-card-gold {
  position: relative;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: linear-gradient(165deg, rgba(26, 22, 28, 0.95), rgba(10, 9, 12, 0.98));
  box-shadow: 0 0 28px rgba(201, 162, 39, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  transition: box-shadow 0.35s ease, border-color 0.25s ease;
}

.s12-card-gold:hover {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gallery row — dark filter + zoom */
.s12-thumb-wrap {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  flex-shrink: 0;
}

.s12-thumb-wrap img {
  display: block;
  width: 100px;
  min-width: 100px;
  height: 70px;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.08) saturate(0.92);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

@media (min-width: 480px) {
  .s12-thumb-wrap img {
    width: 130px;
    min-width: 130px;
    height: 84px;
  }
}

.s12-row-card:hover .s12-thumb-wrap img {
  transform: scale(1.1);
  filter: brightness(0.72) contrast(1.05);
}

/* Lobby row */
.s12-row-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201, 162, 39, 0.18);
  background: linear-gradient(90deg, rgba(18, 16, 22, 0.95), rgba(10, 9, 12, 0.98));
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.s12-row-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateX(3px);
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.1);
}

.s12-row-body {
  flex: 1;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.s12-row-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f5f5f4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s12-row-prov {
  font-size: 0.68rem;
  color: var(--s12-gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

.s12-row-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 72px;
  border-radius: 3px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: #e8d5a3;
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.s12-row-card:hover .s12-row-play {
  background: rgba(201, 162, 39, 0.18);
  border-color: rgba(201, 162, 39, 0.55);
}

/* Velvet testimonial */
.s12-velvet {
  padding: 1.35rem 1.25rem;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--s12-velvet-light), var(--s12-velvet));
  border: 1px solid rgba(92, 26, 34, 0.45);
  box-shadow: inset 0 2px 24px rgba(0, 0, 0, 0.45), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.s12-velvet p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #d6d3d1;
}

.s12-velvet cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-style: normal;
  color: var(--s12-gold);
  font-family: "Cinzel", serif;
}

/* CTA buttons */
.s12-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.75rem;
  border-radius: 3px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.12), rgba(10, 9, 12, 0.9));
  color: #f5e6b8;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.25s ease, transform 0.2s ease;
}

.s12-cta:hover {
  border-color: rgba(201, 162, 39, 0.75);
  box-shadow: 0 0 36px rgba(201, 162, 39, 0.22);
  transform: translateY(-2px);
}

/* Header */
.s12_hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 7, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.s12_hdr_in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-height: 58px;
}

.s12_brand {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s12-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s12_brand::before {
  content: "";
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 30% 30%, #e8d5a3, #6b5420);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.35);
}

.s12_nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.s12_nav a {
  padding: 0.35rem 0.75rem;
  font-size: 0.76rem;
  color: #a8a29e;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.s12_nav a:hover {
  color: #f5e6b8;
  border-color: rgba(201, 162, 39, 0.25);
  background: rgba(201, 162, 39, 0.06);
}

@media (max-width: 640px) {
  .s12_nav {
    display: none;
  }
  .s12_ham {
    display: flex !important;
  }
}

.s12_ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
}

.s12_ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--s12-gold-dim);
  border-radius: 1px;
}

.s12_mobdrop {
  display: none;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  background: rgba(8, 7, 10, 0.98);
}

.s12_mobdrop.s12_open {
  display: block;
}

.s12_mobnav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.s12_mobnav a {
  font-size: 0.78rem;
  color: #a8a29e;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 3px;
  text-decoration: none;
}

/* Footer */
.s12_ftr {
  margin-top: auto;
  background: linear-gradient(180deg, #0c0a0e, #08070a);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  font-size: 0.78rem;
}

.s12_ftr_in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.s12_ftr_brand {
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--s12-gold);
  margin-bottom: 0.5rem;
}

.s12_ftr_note {
  color: #78716c;
  line-height: 1.7;
  max-width: 340px;
}

.s12_ftr_nav a {
  display: block;
  color: #a8a29e;
  text-decoration: none;
  padding: 0.2rem 0;
  font-size: 0.76rem;
}

.s12_ftr_nav a:hover {
  color: var(--s12-gold);
}

.s12_copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.08);
  font-size: 0.65rem;
  color: #57534e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Secondary pages — gothic pattern */
.s12-pattern-page {
  background-color: var(--s12-bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(92, 26, 34, 0.2), transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201, 162, 39, 0.03) 2px, rgba(201, 162, 39, 0.03) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(201, 162, 39, 0.025) 2px, rgba(201, 162, 39, 0.025) 3px);
}

.s12-form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s12-gold-dim);
  margin-bottom: 0.35rem;
}

.s12-form-input {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(12, 10, 14, 0.9);
  color: #e7e5e4;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.s12-form-input:focus {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.12);
}

.s12-form-input::placeholder {
  color: #57534e;
}
