/*
Theme Name: Dance To Success Modern
Theme URI: https://dancetosuccess.net/
Author: Fuego Web Solutions
Description: Lightweight non-Elementor theme for the Dance To Success staging rebuild.
Version: 0.6.2
Text Domain: dts-modern
*/

:root {
  --ink: #17212b;
  --ink-2: #233440;
  --muted: #66737b;
  --paper: #fffaf1;
  --surface: #ffffff;
  --soft: #eef8f8;
  --teal: #148da0;
  --teal-dark: #0c6673;
  --blue: #244c8f;
  --blue-dark: #163160;
  --magenta: #a91f6a;
  --gold: #f1b83d;
  --coral: #e76f51;
  --green: #2b735f;
  --line: #d8e2e5;
  --shadow: 0 18px 46px rgba(23, 33, 43, 0.14);
  --shadow-soft: 0 10px 28px rgba(23, 33, 43, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(180deg, #fffaf1 0, #fffaf1 34%, #f4fbfb 34%, #f4fbfb 64%, #fffaf1 64%),
    var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(20, 141, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 141, 160, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

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

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid rgba(216, 226, 229, 0.86);
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner,
.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 24px;
  width: 100%;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(23, 33, 43, 0.18);
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.brand span {
  display: inline-grid;
  gap: 1px;
  line-height: 1.05;
}

.brand span::after {
  color: var(--muted);
  content: "North Texas";
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.nav a {
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 9px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(20, 141, 160, 0.1);
  color: var(--teal-dark);
}

.button,
.nav .button,
button {
  align-items: center;
  background: var(--teal);
  border: 0;
  border-radius: 7px;
  box-shadow: 0 10px 18px rgba(20, 141, 160, 0.2);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  line-height: 1.1;
  min-height: 46px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

.button:hover,
button:hover {
  filter: brightness(0.96);
}

.button.secondary {
  background: var(--magenta);
  box-shadow: 0 10px 18px rgba(169, 31, 106, 0.19);
}

.button.gold {
  background: var(--gold);
  box-shadow: 0 10px 18px rgba(241, 184, 61, 0.24);
  color: #211b0c;
}

.button.ghost {
  background: transparent;
  border: 1px solid currentColor;
  box-shadow: none;
  color: var(--blue);
}

.button.ghost.light {
  color: #fff;
}

.nav .button {
  color: #fff;
  margin-left: 4px;
  padding: 11px 16px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(13, 29, 38, 0.93), rgba(13, 29, 38, 0.68) 46%, rgba(13, 29, 38, 0.2)),
    var(--hero-image);
  background-position: center 38%;
  background-size: cover;
  color: #fff;
  isolation: isolate;
  min-height: 74vh;
  padding: 94px 0 70px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, transparent, rgba(23, 33, 43, 0.42));
  bottom: 0;
  content: "";
  height: 160px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
}

.hero.compact {
  min-height: 430px;
  padding: 82px 0 64px;
}

.hero-content {
  max-width: 790px;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.hero-home {
  min-height: 78vh;
}

.hero-panel {
  backdrop-filter: blur(10px);
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 28px;
}

.hero-panel strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.08;
  margin: 8px 0 12px;
}

.hero-panel ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.panel-label {
  color: var(--magenta);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-ribbon {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 9px;
  margin-bottom: 20px;
  padding: 9px 12px;
}

.hero-ribbon::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 9px;
  width: 9px;
}

.eyebrow {
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow,
.section.dark .eyebrow,
.callout .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.75rem, 5.6vw, 5.35rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 3.45vw, 3.45rem);
}

h3 {
  font-size: 1.19rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 780px;
}

.hero .lead {
  color: #edf8fa;
  font-size: 1.27rem;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 42px 0;
}

.section.soft {
  background: rgba(238, 248, 248, 0.9);
}

.section.dark {
  background:
    linear-gradient(135deg, rgba(36, 76, 143, 0.44), transparent 62%),
    var(--ink);
  color: #fff;
}

.section.dark .lead,
.section.dark p {
  color: #dce9ed;
}

.section-intro,
.kicker-row {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-intro > *,
.kicker-row > * {
  max-width: 780px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.impact-card,
.path-card {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 229, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
  padding: 26px;
}

.card p:last-child,
.impact-card p:last-child,
.path-card p:last-child {
  margin-bottom: 0;
}

.impact-card {
  border-top: 5px solid var(--teal);
}

.impact-card:nth-child(2n) {
  border-top-color: var(--magenta);
}

.impact-card:nth-child(3n) {
  border-top-color: var(--gold);
}

.path-card {
  align-content: space-between;
  display: grid;
  min-height: 245px;
}

.path-card.featured {
  border-color: rgba(241, 184, 61, 0.82);
  box-shadow: 0 18px 44px rgba(241, 184, 61, 0.18);
}

.path-card h3 {
  font-size: 1.45rem;
}

.path-card .button {
  justify-self: start;
  margin-top: 10px;
}

.stat {
  color: var(--magenta);
  display: block;
  font-size: 2.58rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-strip {
  background: #fff;
  border: 1px solid rgba(216, 226, 229, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -42px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.metric-strip .impact-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 24px;
}

.metric-strip .impact-card + .impact-card {
  border-left: 1px solid var(--line);
}

.split {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
}

.split.reverse {
  grid-template-columns: minmax(310px, 0.96fr) minmax(0, 1.04fr);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.proof-list div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 16px;
}

.proof-list strong {
  color: var(--blue-dark);
}

.proof-list span {
  color: var(--muted);
}

.network-section {
  background:
    linear-gradient(135deg, rgba(36, 76, 143, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(20, 141, 160, 0.1), transparent 48%),
    #fff;
}

.network-section.soft {
  background:
    linear-gradient(135deg, rgba(36, 76, 143, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(241, 184, 61, 0.15), transparent 52%),
    rgba(238, 248, 248, 0.92);
}

.network-lockup {
  border-left: 6px solid var(--gold);
  display: grid;
  gap: 2px;
  margin-bottom: 20px;
  padding-left: 15px;
}

.network-lockup span {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-lockup strong {
  color: var(--magenta);
  font-size: 1.25rem;
  line-height: 1.08;
}

.network-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.network-points.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.network-points div {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(216, 226, 229, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 17px;
}

.network-points strong {
  color: var(--blue-dark);
}

.network-points span {
  color: var(--muted);
}

.casel-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(216, 226, 229, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  padding: 28px;
}

.casel-card img {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: none;
  height: auto;
  max-width: min(430px, 100%);
  object-fit: contain;
  width: 100%;
}

.feature-image,
.split img,
.image-stack img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center 36%;
  width: 100%;
}

.image-stack {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-stack img:first-child {
  margin-top: 0;
}

.split .casel-card img {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.steps.horizontal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  grid-template-columns: 54px 1fr;
  padding: 22px;
}

.step::before {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.notice {
  background: #fff5dc;
  border: 1px solid #ebce87;
  border-radius: 8px;
  padding: 18px;
}

.notice.success {
  background: #eaf8f1;
  border-color: #95cfb4;
}

.mission-panel {
  background: #fff;
  border-left: 7px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.value-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.value {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  padding: 24px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  border-left: 4px solid var(--teal);
  padding-left: 18px;
}

.quote {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 1.22rem;
  padding: 32px;
}

.callout,
.donor-band,
.donation-panel {
  background:
    linear-gradient(135deg, rgba(169, 31, 106, 0.36), transparent 48%),
    linear-gradient(135deg, var(--blue-dark), var(--teal-dark));
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 36px;
}

.callout p,
.donor-band p,
.donation-panel p {
  color: #edf8fa;
}

.donation-panel .notice {
  color: var(--ink);
}

.tier-card {
  background: #fff;
  border: 1px solid rgba(216, 226, 229, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.tier-card::before {
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--magenta));
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.program-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.program-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 8px 12px;
}

.profile {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 82px 1fr;
}

.profile img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  width: 82px;
}

.people-list {
  align-content: start;
}

.people-list .profile + .profile {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.profile-initials {
  align-items: center;
  aspect-ratio: 1;
  background: var(--light-blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  display: grid;
  font-weight: 900;
  width: 82px;
}

.form-card {
  background: #fff;
  border: 1px solid rgba(216, 226, 229, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  font-weight: 800;
  gap: 5px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 132px;
}

.site-footer {
  background: var(--ink);
  color: #dbe8ec;
  padding: 46px 0;
}

.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 0.8fr;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 58px;
  }

  .metric-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .network-points.compact,
  .hero-grid,
  .split,
  .split.reverse,
  .form-grid,
  .footer-grid,
  .value-strip,
  .image-stack,
  .steps.horizontal {
    grid-template-columns: 1fr;
  }

  .metric-strip .impact-card + .impact-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-intro,
  .kicker-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-stack img:first-child {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .section-inner {
    padding-left: 18px;
    padding-right: 18px;
    max-width: 100%;
    width: 100%;
  }

  .section-inner {
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 36px);
  }

  .brand {
    white-space: normal;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, auto));
    width: 100%;
  }

  .nav a {
    padding: 8px 6px;
  }

  .nav .button {
    grid-column: 1 / -1;
    margin-left: 0;
    width: 100%;
  }

  p,
  li,
  h1,
  h2,
  h3 {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: 2.72rem;
    overflow-wrap: anywhere;
  }

  .hero.compact h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead,
  .hero .lead {
    font-size: 0.98rem;
  }

  .proof-list span,
  .card p,
  .impact-card p,
  .path-card p {
    font-size: 0.96rem;
  }

  .proof-list div,
  .card,
  .impact-card,
  .path-card,
  .form-card {
    min-width: 0;
  }

  .section {
    padding: 66px 0;
  }

  .card,
  .impact-card,
  .path-card,
  .mission-panel,
  .callout,
  .donor-band,
  .donation-panel,
  .form-card,
  .hero-panel,
  .tier-card {
    padding: 22px;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
