:root {
  --primary: #780000;
  --accent: #ffffff;
  --white: #ffffff;
  --bg: #120000;
  --gradient: var(--gradient-main);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --shadow: 0 24px 70px rgba(120, 0, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }

body.page-template-page-contact {
  background: var(--gradient);
  color: var(--text);
  margin: 0;
}

.nemesis-contact { overflow-x: hidden; }

.nh-container { width: min(1200px, 92vw); margin: 0 auto; }

.nc-hero {
  position: relative;
  padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
  background: var(--gradient-main);
}

.nc-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(194,161,90,0.15), transparent 45%);
}

.nc-hero__content { position: relative; z-index: 1; }

.nc-hero__title {
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 8px;
  color: var(--accent);
}

.nc-section {
  padding: clamp(70px, 9vw, 140px) 0;
  background: var(--gradient-main);
}

.nc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: center;
}

.nc-card {
  background: linear-gradient(180deg, rgba(120,0,0,0.92), rgba(120,0,0,0.98));
  border: 1px solid rgba(194, 161, 90, 0.45);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.nc-card__title {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
}

.nc-card__email {
  margin: 0 0 18px;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nc-card__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.nc-card__email a,
.nc-card__email a:visited,
.nc-card__email a:hover,
.nc-card__email a:focus,
.nc-card__email a:active {
  color: var(--white);
  text-decoration: none;
}

.nc-form {
  display: grid;
  gap: 12px;
}

.nc-form input,
.nc-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(194, 161, 90, 0.35);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 10px 12px;
}

.nc-form input:focus,
.nc-form textarea:focus {
  outline: 2px solid var(--accent);
}

.nc-form__submit {
  width: fit-content;
  margin-top: 6px;
  border-color: var(--accent);
  color: var(--primary);
  background: var(--accent);
  padding-inline: 18px;
}

.nc-follow {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nc-follow h3 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nc-social {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  row-gap: 16px;
}

.nc-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  color: var(--accent);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nc-social__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.nc-social a:hover,
.nc-social a:focus-visible {
  background: transparent;
  color: var(--white);
}

.nc-shortcode-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.nc-emblem {
  text-align: center;
}

.nc-emblem__crest {
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(194,161,90,0.35), rgba(120,0,0,0.7));
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.nc-emblem__crest__img {
  width: min(540px, 95vw);
  height: min(540px, 95vw);
  object-fit: contain;
  padding: 20px;
  background: radial-gradient(circle, #900000 0%, #600000 100%);
  border: 2px solid var(--accent);
  border-radius: 18px;
  box-sizing: border-box;
}

.nc-emblem__script {
  margin-top: 14px;
  font-size: 22px;
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* WPForms - preserve default styling */
.wpforms-form,
.wpforms-form * {
  all: revert;
}
@media (max-width: 960px) {
  .nh-container {
    width: min(1200px, 90vw);
  }
  
  .nc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .nc-card {
    padding: 24px;
  }
  
  .nc-hero__title {
    font-size: clamp(26px, 5vw, 38px);
  }
}

@media (max-width: 640px) {
  .nh-container {
    width: min(1200px, 88vw);
  }
  
  .nc-hero {
    padding: 60px 0 40px;
  }
  
  .nc-hero__title {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.3;
  }
  
  .nc-section {
    padding: 50px 0;
  }
  
  .nc-card {
    padding: 22px;
    border-radius: 16px;
  }
  
  .nc-card__title {
    font-size: 26px;
  }
  
  .nc-card__email {
    font-size: 16px;
    flex-wrap: wrap;
  }
  
  .nc-card__icon {
    width: 26px;
    height: 26px;
  }
  
  .nc-follow h3 {
    font-size: 20px;
  }
  
  .nc-social {
    gap: 16px;
  }
  
  .nc-social a {
    width: 46px;
    height: 46px;
  }
  
  .nc-social__img {
    width: 28px;
    height: 28px;
  }
  
  .nc-emblem__crest {
    width: min(280px, 90vw);
    height: min(280px, 90vw);
  }
  
  .nc-emblem__crest__img {
    width: min(420px, 95vw);
    height: min(420px, 95vw);
    padding: 16px;
  }
  
  .nc-emblem__script {
    font-size: 18px;
  }
}
