/*
Theme Name: Trade Unity
Theme URI: https://mypeacemakers.com/
Author: Peacemakers Design & Story Studio
Description: Premium private Trade Unity website theme with a built-in password access screen.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: trade-unity
*/

:root {
  --navy: #061844;
  --ink: #12214b;
  --muted: #52607d;
  --line: #dfe4ee;
  --soft: #f6f8fc;
  --white: #ffffff;
  --purple: #5d2bd6;
  --blue: #1974dc;
  --green: #0aaa61;
  --shadow: 0 18px 50px rgba(6, 24, 68, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 24, 68, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand-word {
  color: var(--navy);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.brand-dots span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.brand-dots span:nth-child(1) {
  background: var(--purple);
}

.brand-dots span:nth-child(2) {
  background: var(--blue);
}

.brand-dots span:nth-child(3) {
  background: var(--green);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0 12px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: translateY(4px);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--purple);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header-action {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  box-shadow: 0 10px 22px rgba(6, 24, 68, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 24, 68, 0.14);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), #642bdd);
}

.button-secondary {
  color: var(--purple);
  background: var(--white);
  border-color: var(--purple);
}

.button-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #078b53);
}

.section-shell {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.35fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100vh - 104px);
  padding: 56px 0;
}

.hero h1,
.about-intro h1,
.contact-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 8.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-text,
.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.faith-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  color: var(--navy);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-media img,
.talk-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  overflow: hidden;
  min-height: 540px;
  border-radius: 40px 0 0 40px;
  box-shadow: var(--shadow);
}

.promise-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 0 72px;
}

.promise-band article,
.leader-note,
.fit-card,
.price-card,
.talk-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(6, 24, 68, 0.08);
}

.promise-band article {
  padding: 28px;
}

.promise-band h2,
.fit-card h2,
.price-card h2 {
  margin: 14px 0 6px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.12;
}

.promise-band p,
.fit-card p,
.leader-note p,
.talk-panel p {
  margin: 0;
  color: var(--muted);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.4rem;
}

.icon-circle.purple {
  color: var(--purple);
  background: rgba(93, 43, 214, 0.13);
}

.icon-circle.blue {
  color: var(--blue);
  background: rgba(25, 116, 220, 0.13);
}

.icon-circle.green {
  color: var(--green);
  background: rgba(10, 170, 97, 0.13);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 86px) 0 34px;
}

.about-intro h1,
.contact-hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 7.2vw, 6.8rem);
}

.leader-note {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-left: 5px solid var(--purple);
  background:
    linear-gradient(135deg, rgba(93, 43, 214, 0.07), rgba(10, 170, 97, 0.05) 42%, #fff 70%);
}

.leader-note::after {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(93, 43, 214, 0.18);
  border-radius: 999px;
  content: "";
}

.leader-note h2,
.talk-panel h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.leader-note p {
  max-width: 660px;
  font-size: 1.06rem;
}

.leader-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.leader-values span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.vision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vision-strip p {
  margin: 0;
  color: var(--purple);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vision-strip strong {
  max-width: 780px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  text-align: right;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 24px 0 72px;
}

.fit-card {
  overflow: hidden;
}

.fit-card img {
  width: 100%;
  aspect-ratio: 1.56;
  object-fit: cover;
}

.fit-card div {
  padding: 22px;
}

.contact-hero {
  padding: clamp(44px, 6vw, 70px) 0 42px;
}

.center-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.center-heading .lead {
  margin-top: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 48px;
}

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

.price-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 500px;
  padding: 34px 28px 30px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--green);
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

.badge {
  position: absolute;
  top: -18px;
  left: 50%;
  min-width: 180px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--purple), var(--green));
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.price {
  margin: 12px 0 20px;
  color: var(--navy);
  font-size: clamp(2.7rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 2px solid rgba(93, 43, 214, 0.3);
  color: var(--ink);
  text-align: left;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
}

.price-card li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--purple);
  font-size: 0.68rem;
  content: "✓";
}

.featured li::before {
  background: var(--green);
}

.price-card .button {
  align-self: end;
  width: 100%;
  margin-top: auto;
}

.talk-panel {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  overflow: hidden;
}

.talk-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 40px 36px;
}

.email-link {
  color: var(--navy);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.closing-line {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0 auto 44px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 28px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, #061844, #002a55);
}

.footer-brand .brand-word {
  color: var(--white);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.social-links {
  display: inline-flex;
  gap: 12px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  justify-self: end;
  color: rgba(255, 255, 255, 0.9);
}

.private-access {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 43, 214, 0.13), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(10, 170, 97, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f8fc);
}

.private-card {
  width: min(100%, 520px);
  padding: clamp(30px, 6vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.private-card .brand {
  margin-bottom: 34px;
}

.private-card h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 0.95;
}

.private-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.private-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.private-form label {
  color: var(--navy);
  font-weight: 900;
}

.private-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font: inherit;
}

.private-form input:focus {
  outline: 3px solid rgba(93, 43, 214, 0.18);
  border-color: var(--purple);
}

.private-error {
  padding: 12px 14px;
  border: 1px solid rgba(180, 35, 24, 0.22);
  border-radius: var(--radius);
  color: #8a1f16;
  background: rgba(180, 35, 24, 0.06);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .header-action,
  .site-footer p {
    justify-self: center;
  }

  .hero,
  .about-intro,
  .contact-layout,
  .talk-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
  }

  .hero-media {
    min-height: 420px;
    border-radius: 24px;
  }

  .promise-band,
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    align-items: start;
  }

  .vision-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .vision-strip strong {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
    padding: 18px 18px 16px;
  }

  .brand {
    gap: 10px;
    justify-self: center;
  }

  .brand-word {
    font-size: clamp(1.1rem, 6.2vw, 1.35rem);
    letter-spacing: 0.06em;
  }

  .brand-dots {
    gap: 6px;
  }

  .brand-dots span {
    width: 11px;
    height: 11px;
  }

  .main-nav {
    width: auto;
    justify-content: center;
    gap: clamp(28px, 10vw, 54px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.92rem;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 8px 0 10px;
    border-radius: 0;
    text-align: center;
  }

  .main-nav a::after {
    display: block;
    height: 2px;
    opacity: 0;
  }

  .main-nav a.active {
    color: var(--purple);
    background: transparent;
  }

  .main-nav a.active::after {
    opacity: 1;
  }

  .action-row .button {
    width: 100%;
  }

  .header-action {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 1320px);
  }

  .hero {
    gap: 26px;
    padding: 34px 0 42px;
  }

  .hero h1,
  .about-intro h1,
  .contact-hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.65rem);
    line-height: 0.94;
  }

  .hero-media {
    min-height: 300px;
    border-radius: 18px;
  }

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

  .faith-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .promise-band,
  .fit-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 22px;
  }

  .leader-note {
    border-top: 5px solid var(--purple);
    border-left: 1px solid var(--line);
  }

  .leader-note::after {
    right: -20px;
    bottom: -20px;
  }

  .leader-values span {
    font-size: 0.84rem;
  }

  .vision-strip {
    margin-bottom: 18px;
    padding: 18px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
  }

  .price-card {
    min-height: 0;
    padding: 30px 22px 24px;
  }

  .talk-copy {
    padding: 30px 24px;
  }

  .talk-panel img {
    width: 100%;
    max-height: 320px;
    aspect-ratio: 1.25;
  }

  .site-footer {
    padding: 30px 20px;
  }

  .social-links {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 430px) {
  .section-shell {
    width: min(100% - 24px, 1320px);
  }

  .site-header {
    position: relative;
  }

  .header-action {
    min-height: 46px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 4.35rem);
  }

  .about-intro h1,
  .contact-hero h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .hero-media {
    min-height: 240px;
  }

  .promise-band {
    padding-bottom: 44px;
  }

  .fit-card div,
  .promise-band article {
    padding: 20px;
  }

  .leader-note h2,
  .talk-panel h2 {
    font-size: 2.25rem;
  }

  .vision-strip strong {
    font-size: 1.35rem;
  }

  .price {
    font-size: 2.65rem;
  }

  .badge {
    min-width: 154px;
    font-size: 0.7rem;
  }

  .closing-line {
    font-size: 1.35rem;
  }

  .site-footer p {
    max-width: 280px;
  }
}
