:root {
  /* TRP: Theme colors */
  --theme-primary: #201335;
 
  --theme-bg: #010002;
  
  --theme-text: #f5f4ff;

  --theme-surface: #120a1f;
  --theme-muted: rgba(245, 244, 255, 0.75);

  --theme-accent: #d4af5c;
  --theme-accent-dark: #b39255;

  --theme-accent-rgb: 212, 175, 92;

 
  --theme-hover-fill: rgba(32, 19, 53, 0.55);
  --theme-active-fill: rgba(32, 19, 53, 0.72);

 
  --theme-cta-fill: #201335;
  --theme-cta-fill-hover: rgba(24, 16, 48, 0.534);
 
  --theme-cta-fill-active: rgba(32, 19, 53, 0.55);

  /* TRP: CTA border + text */
  --theme-cta-text: #f5f4ff;
  --theme-cta-border: rgba(var(--theme-accent-rgb), 0.55);
  --theme-cta-border-active: rgba(var(--theme-accent-rgb), 0.85);

  /* TRP: Glow sweep (animated border glow) */
  --theme-glow-a: var(--theme-accent);
  --theme-glow-b: #6b44e6;
}

:root {
  /* TRP:  Tokens theme */
  --primary: var(--theme-primary);
  --accent: var(--theme-accent);
  --accent-dark: var(--theme-accent-dark);
  --accent-rgb: var(--theme-accent-rgb);

  --alt: var(--theme-text);
  --neutral: var(--theme-bg);

  /* TRP: Surfaces */
  --bg: var(--neutral);
  --surface: var(--theme-surface);
  --text: var(--alt);
  --muted: var(--theme-muted);

  /* TRP:  Borders and radii */
  --border-strong: rgba(var(--accent-rgb), 0.95);
  --radius: 16px;
  --radius-sm: 6px;

  /* TRP: UI hover/active fills */
  --hover-bg: var(--theme-hover-fill);
  --active-bg: var(--theme-active-fill);

  /* TRP: UI sizing */
  --ui-radius: 8px;
  --ui-pad-y: 3px;
  --ui-pad-x: 10px;

  /* TRP: CTA sizing + colors */
  --cta-radius: 999px;
  --cta-pad-y: 8px;
  --cta-pad-x: 16px;

  --cta-fill: var(--theme-cta-fill);
  --cta-fill-hover: var(--theme-cta-fill-hover);
  --cta-fill-active: var(--theme-cta-fill-active);
  --cta-text: var(--theme-cta-text);
  --cta-border: var(--theme-cta-border);
  --cta-border-active: var(--theme-cta-border-active);

  /* TRP: Glow colors */
  --glow-a: var(--theme-glow-a);
  --glow-b: var(--theme-glow-b);

  /* TRP: Bootstrap tokens */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--border-strong);

  --bs-primary: var(--accent);
  --bs-primary-rgb: var(--accent-rgb);

  --bs-link-color: var(--accent);
  --bs-link-hover-color: var(--alt);

  --bs-font-sans-serif:
    "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;

  --bs-border-radius: 6px;
  --bs-border-radius-sm: 6px;
}

:root {

  --hero-min-h: clamp(520px, 65vh, 740px);
  --hero-pad-top: clamp(48px, 8vh, 84px);
  --hero-pad-bottom: clamp(64px, 12vh, 120px);
}

/* TRP: Note - Breakpoint knobs - About */
:root {
  --about-hero-pad-y: 4rem;
  --about-hero-bg-pos-y: 50%;

  --about-hero-ol-1: 0.55;
  --about-hero-ol-2: 0.35;
  --about-hero-ol-3: 0.75;

  --about-portrait-max: 240px;
  --about-portrait-vw: 60vw;

  --about-what-img-h: 300px;
  --about-what-img-pos-y: 5%;

  --about-hero-lede-max: 52ch;
  --about-portrait-shift-y: 0px;

  --about-highlights-max: 38ch;
}

/* TRP:Tablet knobs (md)*/
@media (min-width: 768px) {
  :root {
    --about-hero-pad-y: 4.75rem;
    --about-portrait-vw: 52vw;
  }
}

/* TRP:Desktop knobs lg  */
@media (min-width: 992px) {
  :root {
    --about-hero-pad-y: 6rem;
    --about-portrait-max: 285px;
    --about-what-img-h: 320px;
    --about-highlights-max: 46ch;
    --about-portrait-shift-y: 18px;
  }
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--bs-font-sans-serif);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--alt);
}

h1,
h2,
h3 {
  font-family: "Cinzel Decorative", Georgia, "Times New Roman", serif;
  margin: 0 0 10px;
  letter-spacing: 0.4px;
}

h1 {
  font-size: 32px;
  line-height: 1.15;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

/* TRP: accessibility - keyboard focus */
:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  z-index: 9999;
  background: #000;
  color: #fff;
  border: 2px solid currentColor;
}

.trp-mw-55ch {
  max-width: 55ch;
}

.trp-mw-46ch {
  max-width: 46ch;
}

.trp-mw-70ch {
  max-width: 70ch;
}

.trp-mw-860 {
  max-width: 860px;
}

.spotlight-copy {
  max-width: 46ch;
}

.site-header .navbar {
  background-image: url("../img/First/nav_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);

  padding-top: 6px;
  padding-bottom: 6px;

  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212,175,92,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 240px;
}

@media (min-width: 992px) {
  .brand-logo {
    height: 52px;
  }
}

.navbar-nav {
  gap: 6px;
}

.navbar-toggler {
  border-color: var(--theme-accent);
}

.navbar-toggler:hover {
  background: rgba(32, 19, 53, 0.7);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-rgb), 0.25);
}

.nav-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  padding: 4px;
}

.nav-ornament img {
  width: 16px;
  height: 16px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border-strong);

  background-image: url("../img/First/nav_background.png");
  background-size: cover;
  background-position: 50% 62%;
  background-repeat: no-repeat;
}

.footer-inner {
  padding: 22px 0;
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0 0 10px;
  flex-wrap: wrap;
}

.footer-social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 0 10px;
}

.footer-social i {
  font-size: 16px;
  line-height: 1;
}

/* TRP: Contact page */
.contact .stay-social .glow-on-hover {
  width: 68px;
  height: 68px;
}

.contact .stay-social i {
  font-size: 32px;
  line-height: 1;
}

.contact .stay-social {
  gap: 16px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

.nav-link[aria-current="page"],
.footer-nav a[aria-current="page"] {
  background: var(--active-bg);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: var(--ui-radius);
}

.home {
  padding: 0;
}

.home-section {
  padding: 34px 0;
}

.home-section--tight {
  padding-top: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  text-align: center;
}

.section-rule {
  height: 1px;
  width: 72px;
  background: rgba(var(--accent-rgb), 0.55);
}

.section-kicker {
  max-width: 60ch;
  margin: 0 auto 14px;
  text-align: center;

  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.home-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;

  width: 100%;
  max-width: clamp(100px, 24vw, 250px);
  margin: 0 auto;
}

.home-cta-row .glow-on-hover,
.home-cta-row .glow-secondary {
  width: 100%;
}

.banner-win .home-cta-row {
  max-width: clamp(100px, 22vw, 230px);
}

@media (max-width: 991.98px) {

  .home-cta-row .ms-4 {
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) {
  .home-cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    max-width: none;
    margin: 0;
  }

  .home-cta-row .glow-on-hover,
  .home-cta-row .glow-secondary {
    width: auto;
  }

  .home-banner--center .home-cta-row,
  .banner-win .home-cta-row {
    justify-content: center;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .home .home-hero .home-cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: none;
    margin: 0 auto;
  }

  .home .home-hero .home-cta-row .glow-on-hover,
  .home .home-hero .home-cta-row .glow-secondary {
    width: auto;
  }
}

.muted {
  color: rgba(245, 244, 255, 0.75);
}

/* TRP: Glow-on -hover */
.glow-on-hover {
  --glow-radius: var(--cta-radius);
  --glow-inset: 0px;

  --glow-after-opacity: 1;
  --glow-fill: var(--cta-fill);
  --glow-fill-hover: var(--cta-fill-hover);
  --glow-fill-active: var(--cta-fill-active);

  --glow-border: var(--cta-border);
  --glow-border-active: var(--cta-border-active);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: var(--cta-pad-y) var(--cta-pad-x);
  border: 2px solid var(--glow-border);
  border-radius: var(--glow-radius);

  color: var(--cta-text);
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  position: relative;
  z-index: 0;
  overflow: hidden;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

/* TRP: CTA size variants */
.glow-sm {
  padding: 8px 15px;
  font-size: 15px;
}

.glow-lg {
  padding: 10px 20px;
  font-size: 15px;
}

/* TRP: secondary CTA  */
.glow-secondary {
  --glow-after-opacity: 0.75;
  border-width: 1px;
  --glow-border: var(--theme-glow-b);
  --glow-border-active: var(--theme-glow-b);
}

/* TRP: glow layer  */
.glow-on-hover::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -2;

  background: linear-gradient(45deg,
      var(--glow-a),
      var(--glow-b),
      var(--glow-a),
      var(--glow-b),
      var(--glow-a));
  background-size: 400% 400%;
  filter: blur(10px);

  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.glow-on-hover::after {
  content: "";
  position: absolute;
  inset: var(--glow-inset);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;

  background: var(--glow-fill);
  opacity: var(--glow-after-opacity);
}

.glow-on-hover:hover::before,
.glow-on-hover:focus-visible::before {
  opacity: 1;
  animation: glowing 2.6s linear infinite;
}

.glow-on-hover:hover::after,
.glow-on-hover:focus-visible::after {
  opacity: 1;
  background: var(--glow-fill-hover);
}

/* TRP: pressed/clicked state */
.glow-on-hover:active {
  transform: translateY(1px);
  border-color: var(--glow-border-active);
}

.glow-on-hover:active::after {
  background: var(--glow-fill-active);
}

/* TRP: glow animation */
@keyframes glowing {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* TRP: accessibility - disable animation  */
@media (prefers-reduced-motion: reduce) {

  .glow-on-hover:hover::before,
  .glow-on-hover:focus-visible::before {
    animation: none;
  }
}

/* TRP: nav, footer, social, hamburger - hover */
.navbar .nav-link.glow-on-hover,
.footer-nav a.glow-on-hover {
  --glow-radius: var(--ui-radius);
  --glow-inset: 3px;

  --glow-after-opacity: 0;
  --glow-fill: transparent;
  --glow-fill-hover: var(--hover-bg);
  --glow-fill-active: var(--active-bg);

  --glow-border: transparent;
  --glow-border-active: transparent;

  padding: var(--ui-pad-y) var(--ui-pad-x);
  color: var(--alt);
  font-weight: 400;
}

.footer-social .glow-on-hover {
  --glow-radius: 999px;
  --glow-inset: 0px;

  --glow-after-opacity: 0;
  --glow-fill: transparent;
  --glow-fill-hover: var(--hover-bg);
  --glow-fill-active: var(--active-bg);

  --glow-border: transparent;
  --glow-border-active: transparent;

  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--alt);

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler.glow-on-hover {
  --glow-radius: var(--ui-radius);
  --glow-inset: 3px;

  /* TRP:  not filled until interaction */
  --glow-after-opacity: 0;
  --glow-fill: transparent;
  --glow-fill-hover: var(--hover-bg);
  --glow-fill-active: var(--active-bg);

  --glow-border: var(--border-strong);
  --glow-border-active: var(--border-strong);

  padding: 0.25rem 0.5rem;
  gap: 0;
}

/* TRP: Mobile/touch hamburger */
.navbar-toggler.glow-on-hover:focus-visible::before {
  opacity: 1;
  animation: glowing 2.6s linear infinite;
}

.navbar-toggler.glow-on-hover:focus-visible::after {
  opacity: 1;
  background: var(--hover-bg);
}

.navbar-toggler.glow-on-hover:focus:not(:focus-visible)::before,
.navbar-toggler.glow-on-hover:focus:not(:focus-visible)::after {
  opacity: 0;
  animation: none;
}

.feature-card,
.what-card {
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(18, 10, 31, 0.35);
}

.feature-card--padded {
  padding: 16px;
}

.feature-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.home .feature-card img {
  height: 600px;
}

.feature-title {
  margin-bottom: 8px;
}

/* TRP: cards nav-style hover  */
.feature-card.glow-on-hover,
.youtube-card.glow-on-hover,
.ns-mini.glow-on-hover,
.what-card.glow-on-hover {
  --glow-radius: 16px;
  --glow-inset: 1px;

  --glow-after-opacity: 0;
  --glow-fill: transparent;
  --glow-fill-hover: var(--hover-bg);
  --glow-fill-active: var(--active-bg);

  --glow-border: transparent;
  --glow-border-active: transparent;

  padding: 0;
  color: var(--alt);
}

.home-banner {
  text-align: center;
  background:
    linear-gradient(180deg,
      rgba(6, 3, 10, var(--banner-ov-top, 0.40)) 0%,
      rgba(6, 3, 10, var(--banner-ov-mid, 0.40)) 70%,
      rgba(6, 3, 10, var(--banner-ov-bot, 0.40)) 100%),
    var(--banner-img, url("../img/First/commission_hero_home.png"));
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
}

.home-banner--soft-dim {
  --banner-ov-top: 0.36;
  --banner-ov-mid: 0.44;
  --banner-ov-bot: 0.52;
}

.home-banner-inner {
  padding: 36px 0;
  max-width: 720px;
  margin: 0 auto;
}

.home-banner-title {
  margin: 0 0 10px;
}

/* TRP: home-banner HERO var */
.home-banner--hero {
  min-height: clamp(520px, 60vh, 740px);
  display: flex;
  align-items: center;
}

.home-banner--hero .home-banner-inner {
  padding: clamp(72px, 10vh, 130px) 0;
}

/* TRP: banner image */
.banner-commission {
  --banner-img: url("../img/First/commission_hero_home.png");
}

.banner-win {
  --banner-img: url("../img/First/WIN_4.png");
}

.banner-book-nightside {
  --banner-img: url("../img/First/Book_Nightside.png");
}

.world-feature {
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 16px;
  overflow: hidden;
}

.world-slide {
  height: 320px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .world-slide {
    height: 460px;
  }
}

.signup {
  text-align: center;
  max-width: 720px;
}

.signup-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.signup-input {
  width: min(360px, 100%);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: rgba(18, 10, 31, 0.45);
  color: var(--alt);
}

.signup-input::placeholder {
  color: rgba(245, 244, 255, 0.6);
}

.youtube-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.youtube-card {
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18, 10, 31, 0.35);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.youtube-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.youtube-caption {
  display: block;
  padding: 10px 12px;
  color: var(--alt);
  margin-top: auto;
}

@media (min-width: 768px) {
  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .youtube-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

/* TRP: Home hero */
.home-hero {
  text-align: center;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    url("../img/port_Hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.home-hero h3 {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.home-hero h1,
.about-hero h1,
.nightside-hero h1,
.portfolio-hero h1,
.commission-hero h1,
.contact .home-banner--hero h1 {
  font-size: clamp(48px, 10vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.6px;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.75),
    0 8px 20px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.65) !important;
}

@media (min-width: 992px) {
  .home-hero {
    text-align: left;
    min-height: 720px;
  }

  .home-hero .container {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .home-hero h1,
  .about-hero h1,
  .nightside-hero h1,
  .portfolio-hero h1,
  .commission-hero h1,
  .contact .home-banner--hero h1 {
    font-size: 72px;
    line-height: 1.05;
    letter-spacing: 0.6px;
    color: #fff;
    text-shadow:
      0 2px 0 rgba(0, 0, 0, 0.75),
      0 8px 20px rgba(0, 0, 0, 0.9),
      0 0 30px rgba(0, 0, 0, 0.65) !important;
  }

  .home-hero h3 {
    font-size: 22px;
    line-height: 1.45;
    margin-left: 0;
    margin-right: 0;
  }

  .home .feature-card img {
    height: 460px;
  }

  .signup-form {
    flex-direction: row;
    justify-content: center;
  }

  .signup-input {
    width: 420px;
  }

  .home-banner-inner {
    padding: 56px 0;
    max-width: 860px;
  }

  .section-title {
    margin-bottom: 22px;
  }
}

/* TRP: Note - About page */
@media (min-width: 992px) {

  .about-split-col {
    border-top: 0 !important;
  }
}

.about-hero {
  background:
    linear-gradient(
      160deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.4) 45%,
      rgba(8, 4, 14, 0.32) 100%
    ),
    url("../img/First/0021de73-b2a0-4873-8962-1db3c91aab10.png");
  background-size: cover;
  background-position: 50% 59%;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
}

.about-hero .container {
  padding-top: var(--about-hero-pad-y);
  padding-bottom: var(--about-hero-pad-y);
}

.about-hero-lede {
  max-width: var(--about-hero-lede-max);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .about-hero-lede {
    margin-left: 0;
    margin-right: 0;
  }
}

.about-portrait {
  width: min(var(--about-portrait-max), var(--about-portrait-vw));
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(var(--accent-rgb), 0.55);
  background: rgba(18, 10, 31, 0.35);
  transform: translateY(var(--about-portrait-shift-y));
}

/* TRP: About - What I Do cards */
.what-card-img {
  width: 100%;
  height: var(--about-what-img-h);
  object-fit: cover;
  object-position: center var(--about-what-img-pos-y);
  display: block;
}

@media (max-width: 767.98px) {
  .what-card-img-comic {
    object-position: center 24%;
  }
}

.about-highlights {
  background: var(--theme-bg);
  color: var(--alt);
}

.about-highlights-lede {
  font-family: "Cinzel Decorative", Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.25;
}

.about-highlights-list {
  max-width: var(--about-highlights-max);
  padding-left: 1.1rem;
  margin: 0;
}

.about-highlights-list li {
  margin-bottom: 12px;
}

.nightside-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
  --hero-pad-bottom: clamp(88px, 14vh, 150px);
}

.nightside-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.nightside-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(90deg,
      rgba(6, 3, 10, 0.70) 0%,
      rgba(6, 3, 10, 0.50) 20%,
      rgba(6, 3, 10, 0.30) 40%,
      rgba(6, 3, 10, 0.20) 60%,
      rgba(6, 3, 10, 0.10) 80%,
      rgba(6, 3, 10, 0.05) 100%);
}

/* TRP: Nightside hero layout */
.nightside-hero-inner {
  position: relative;
  z-index: 2;

  min-height: var(--hero-min-h);
  display: flex;
  align-items: flex-end;

  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);
}

.nightside-lead {
  max-width: 78ch;
}

/* TRP: Nightside breakpoints */
.what-is-nightside .ns-mini-body {
  text-align: center;
}

/* TRP: Characters*/
.nightside-characters .container {
  max-width: 1180px;
  padding-left: clamp(12px, 3vw, 28px);
  padding-right: clamp(12px, 3vw, 28px);
}

.nightside-characters .feature-card img {
  height: clamp(320px, 36vw, 520px);
  object-fit: cover;
}

.nightside-characters .img-focus-up {
  object-position: center 12%;
}

.nightside-characters .feature-card--padded {
  display: flex;
  flex-direction: column;
}

.nightside-characters .ns-bullets {
  margin-top: auto;
}

/* TRP:Bullets */
.ns-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ns-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ns-bullets i {
  font-size: 10px;
  line-height: 1.4;
}

/* /* TRP: up-crop  */
.img-focus-up {
  object-position: center 20%;
}

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0;
}

.ornament-line {
  height: 1px;
  width: 100%;
  max-width: 220px;
  background: rgba(var(--accent-rgb, 212, 175, 92), 0.45);
}

.ornament-icons {
  color: rgba(var(--accent-rgb, 212, 175, 92), 0.95);
  letter-spacing: 0.25em;
  font-size: 12px;
}

.ns-mini {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(18, 10, 31, 0.72);
  border: 1px solid rgba(var(--accent-rgb, 212, 175, 92), 0.22);
}

.ns-mini img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 45%;
}

#nightside-artwork .feature-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}

#nightside-artwork .img-focus-up {
  object-position: 50% 45%;
}

.ns-mini-body {
  padding: 12px 14px 16px;
}

/* /* TRP: Portfolio */
.portfolio-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
  --hero-pad-top: clamp(54px, 8vh, 92px);
  --hero-pad-bottom: clamp(72px, 10vh, 120px);
}


.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(180deg,
      rgba(6, 3, 10, 0.62) 0%,
      rgba(6, 3, 10, 0.32) 80%,
      rgba(6, 3, 10, 0.86) 100%);
}

.portfolio-hero-inner {
  position: relative;
  z-index: 2;

  min-height: var(--hero-min-h);
  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.portfolio-hero-lede {
  max-width: 60ch;
  color: var(--theme-text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

@media (min-width: 992px) {
  .portfolio-hero-lede {
    font-size: 18px;
  }
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.portfolio-filter.glow-on-hover {
  --glow-radius: 999px;
  --glow-inset: 2px;

  --glow-after-opacity: 0;
  --glow-fill: transparent;
  --glow-fill-hover: rgba(18, 10, 31, 0.55);
  --glow-fill-active: rgba(18, 10, 31, 0.72);

  --glow-border: rgba(var(--accent-rgb), 0.55);
  --glow-border-active: rgba(var(--accent-rgb), 0.85);

  padding: 6px 14px;
  font-size: 14px;
  min-width: 110px;
}

.portfolio-filter.is-active.glow-on-hover {
  --glow-after-opacity: 1;
  --glow-fill: rgba(32, 19, 53, 0.75);
  border-color: rgba(var(--accent-rgb), 0.95);
}

.portfolio-shot--wide {
  aspect-ratio: 16 / 9;
}

.portfolio-shot--tall {
  aspect-ratio: 4 / 5;
}

.portfolio-shot a {
  height: 100%;
}

.portfolio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-subshot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-carousel .carousel-item img {
  height: clamp(320px, 45vw, 520px);
  object-fit: cover;
}

.portfolio-carousel .feature-card {
  border-radius: 16px;
  overflow: hidden;
}

/* TRP: Commission-section */
.commission-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);

 
  --commission-hero-pos-y: 20%;
}

.commission-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--commission-hero-pos-y, 42%);
  z-index: 0;
}

.commission-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(6, 3, 10, 0.80) 0%,
      rgba(6, 3, 10, 0.42) 32%,
      rgba(6, 3, 10, 0.10) 100%);
}

.commission-hero-inner {
  position: relative;
  z-index: 2;

  min-height: var(--hero-min-h);
  display: flex;
  align-items: center;

  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);
}

.commission-kicker {
  letter-spacing: 0.14em;
}

@media (min-width: 992px) {
  .commission-hero .nightside-lead {
    font-size: 17px;
    line-height: 1.65;
    max-width: 106ch;
  }
}


.commission-hero .home-cta-row {
  max-width: 380px;

}

.commission-hero .home-cta-row .glow-on-hover,
.commission-hero .home-cta-row .glow-secondary {
  white-space: nowrap;
}


@media (max-width: 360px) {
  .commission-hero .glow-lg {
    padding: 9px 16px;
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .commission-hero .home-cta-row {
    max-width: clamp(100px, 24vw, 250px);
  }

  .commission-hero {
    --commission-hero-pos-y: 30%;
  }
}


.commission-type-card {
  color: var(--alt);
}

.commission-type-head {
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(6, 3, 10, 0.35);
}


.commission-types .feature-card img {
  height: clamp(300px, 40vw, 450px);
  object-fit: cover;
}


.commission-form-card {
  max-width: 760px;
  margin: 0 auto;
}


.commissions .form-label,
.contact .form-label {
  color: rgba(245, 244, 255, 0.85);
  margin-bottom: 6px;
}

.commissions .form-control,
.commissions .form-select,
.contact .form-control,
.contact .form-select {
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: rgba(18, 10, 31, 0.45);
  color: var(--alt);
}

.commissions .form-control::placeholder,
.contact .form-control::placeholder {
  color: rgba(245, 244, 255, 0.55);
}

.commissions .form-control:focus,
.commissions .form-select:focus,
.contact .form-control:focus,
.contact .form-select:focus {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-rgb), 0.15);
}

/* TRP: background inside the form card */
.commission-form-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.commission-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(180deg,
      rgba(6, 3, 10, 0.78) 0%,
      rgba(6, 3, 10, 0.55) 10%),
    url("../img/Com_Form_BG1.png");

  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.commissions .form-control,
.commissions .form-select {
  background: rgba(18, 10, 31, 0.65);
}

/* TRP: custom file upload row */
.trp-file {
  display: flex;
  align-items: center;
  gap: 12px;
}


.trp-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.trp-file-btn {
  margin: 0;
  white-space: nowrap;
}


.trp-file-name {
  color: rgba(245, 244, 255, 0.75);
  font-size: 15px;
  line-height: 1;
}

/* TRP: keyboard focus label */
.trp-file-input:focus-visible+.trp-file-btn {
  outline: 2px solid rgba(var(--accent-rgb), 0.55);
  outline-offset: 3px;
}

.trp-accordion .accordion-item {
  background: rgba(18, 10, 31, 0.45);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.trp-accordion .accordion-button {
  background: transparent;
  color: var(--alt);
  font-family: "Cinzel Decorative", Georgia, "Times New Roman", serif;
  letter-spacing: 0.3px;
}

.trp-accordion .accordion-button:not(.collapsed) {
  background: rgba(32, 19, 53, 0.35);
  color: var(--alt);
  box-shadow: none;
}

.trp-accordion .accordion-body {
  background: transparent;
}

/* TRP: accordion chevron  */
.trp-accordion .accordion-button::after {
  filter: invert(1);
  opacity: 0.85;
}

.text-shadow {
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

.text-outline {
  -webkit-text-stroke: 0.2px black;
}