/* ============================================
   TRANS ACTION WEST CUMBRIA — Styles
   Bold. Unapologetic. Community.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

:root {
  --pink: #F5A9B8;
  --blue: #5BCEFA;
  --white: #FFFFFF;
  --purple: #7B2D8E;
  --purple-light: #A855C7;
  --deep: #0D0D1A;
  --deep-soft: #1A1A2E;
  --pink-dark: #D4728A;
  --grey-100: #F7F7F8;
  --grey-200: #E8E8EC;
  --grey-600: #6B6B80;
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --max-width: 1200px;
  --nav-height: 60px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--deep); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: 1.05rem; max-width: 65ch; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.5; }

/* EXIT */
.exit-btn {
  position: fixed; top: 16px; right: 16px; z-index: 10000;
  background: #DC2626; color: var(--white);
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 22px; border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none; display: inline-block; line-height: 1;
}
.exit-btn:hover { background: #B91C1C; transform: scale(1.05); }

/* NAV — centered links, no logo */
.nav {
  position: sticky; top: 0; z-index: 9000;
  background: var(--deep); height: var(--nav-height);
  display: flex; align-items: center;
  border-bottom: 3px solid var(--pink);
}
.nav__inner {
  width: 100%; max-width: var(--max-width); margin: 0 auto;
  padding: 0 var(--space-md); display: flex;
  align-items: center; justify-content: center;
  position: relative;
}
.nav__links {
  display: flex; align-items: center;
  gap: clamp(20px, 4vw, 48px); list-style: none;
}
.nav__links a {
  font-family: var(--font-display); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--white); position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 3px; background: var(--pink);
  transition: width 0.25s ease;
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a:hover, .nav__links a.active { color: var(--pink); }
.nav__toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; position: absolute; left: var(--space-md);
}
.nav__toggle span { display: block; width: 28px; height: 3px; background: var(--white); margin: 5px 0; transition: all 0.3s ease; }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* HERO */
.hero {
  min-height: 85vh; display: flex; align-items: center;
  justify-content: center; text-align: center; position: relative;
  overflow: hidden; color: var(--white); background: var(--deep);
}
.hero--home {
  background: linear-gradient(135deg, rgba(13,13,26,0.82) 0%, rgba(91,206,250,0.25) 50%, rgba(245,169,184,0.35) 100%), var(--deep);
}
.hero--page { min-height: 50vh; }
.hero__content { position: relative; z-index: 2; padding: var(--space-lg) var(--space-md); max-width: 900px; width: 100%; }
.hero__logo { display: block; margin: 0 auto var(--space-sm); height: 120px; width: auto; }

.hero__tagline {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--pink); margin-bottom: var(--space-sm);
}
.hero h1 { margin-bottom: var(--space-md); }
.hero h1 .text-pink { color: var(--pink); }
.hero h1 .text-blue { color: var(--blue); }
.hero__desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 600px;
  margin: 0 auto var(--space-md); color: rgba(255,255,255,0.85); line-height: 1.65;
}
.hero__stripe {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--blue) 20%,
    var(--pink) 20%, var(--pink) 40%,
    var(--white) 40%, var(--white) 60%,
    var(--pink) 60%, var(--pink) 80%,
    var(--blue) 80%, var(--blue) 100%);
}

/* BUTTONS */
.btn {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 40px; border: none; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none; line-height: 1;
}
.btn--primary { background: var(--pink); color: var(--deep); }
.btn--primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,169,184,0.4); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--deep); }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--purple:hover { background: var(--purple-light); transform: translateY(-2px); }
.btn--dark { background: var(--deep); color: var(--white); }
.btn--dark:hover { background: var(--deep-soft); transform: translateY(-2px); }

/* SECTIONS */
.section { padding: var(--space-xl) var(--space-md); }
.section--pink { background: var(--pink); }
.section--blue { background: var(--blue); }
.section--deep { background: var(--deep); color: var(--white); }
.container { max-width: var(--max-width); margin: 0 auto; }
.section__label {
  font-family: var(--font-display); font-size: 0.8rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--purple); margin-bottom: var(--space-sm);
}
.section--deep .section__label { color: var(--pink); }
.section__title { margin-bottom: var(--space-md); }

/* STRIPE DIVIDER — correct trans flag order */
.stripe-divider { display: flex; height: 8px; }
.stripe-divider span { flex: 1; }
.stripe-divider span:nth-child(1) { background: var(--blue); }
.stripe-divider span:nth-child(2) { background: var(--pink); }
.stripe-divider span:nth-child(3) { background: var(--white); }
.stripe-divider span:nth-child(4) { background: var(--pink); }
.stripe-divider span:nth-child(5) { background: var(--blue); }

/* STATEMENT */
.statement { display: grid; grid-template-columns: auto 1fr; gap: var(--space-lg); align-items: start; }
.statement__marker { font-family: var(--font-display); font-size: clamp(6rem, 15vw, 12rem); line-height: 0.8; color: var(--pink); opacity: 0.15; user-select: none; }
.statement__text { max-width: 700px; }
.statement__text p { margin-bottom: var(--space-sm); }
.statement__text p:first-child { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.4; }
.statement__text strong { background: linear-gradient(transparent 55%, var(--blue) 55%); padding: 0 3px; }

/* CARD GRID — flexbox for centered last row */
.card-grid { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
.card {
  background: var(--white); border: 2px solid var(--deep); padding: var(--space-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden;
  flex: 0 1 350px; max-width: 380px; color: var(--deep);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 rgba(245,169,184,0.5); }
.card__icon { font-size: 2.5rem; margin-bottom: var(--space-xs); }
.card h3 {
  font-family: var(--font-display); font-size: 1.25rem;
  color: #0D0D1A !important; margin-bottom: var(--space-sm);
  text-transform: none; letter-spacing: 0; line-height: 1.2;
}
.card p { font-size: 0.95rem; color: #6B6B80 !important; line-height: 1.55; }

/* EVENT CARDS */
.event-card { display: grid; grid-template-columns: 6px 1fr; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--grey-200); }
.event-card:last-child { border-bottom: none; }
.event-card__bar { background: var(--pink); width: 6px; min-height: 100%; }
.event-card__bar--blue { background: var(--blue); }
.event-card__meta { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple); margin-bottom: 4px; }
.event-card h3 { margin-bottom: var(--space-xs); }
.event-card__details { font-size: 0.95rem; color: var(--grey-600); margin-bottom: var(--space-sm); }
.event-card p { margin-bottom: var(--space-sm); }

/* RESOURCE GRID — centered */
.resource-grid { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
.resource-card {
  background: var(--white); border: 2px solid var(--deep); padding: var(--space-md);
  text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 0 1 280px; max-width: 280px;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--pink); }
.resource-card h4 { margin-bottom: var(--space-xs); text-transform: none; letter-spacing: 0; }
.resource-card h4 a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.resource-card h4 a:hover { color: var(--pink-dark); }
.resource-card p { font-size: 0.9rem; color: var(--grey-600); margin: 0 auto; }
.resource-card--dark { background: var(--deep-soft); border-color: rgba(255,255,255,0.15); }
.resource-card--dark h4 a { color: var(--pink); }
.resource-card--dark p { color: rgba(255,255,255,0.7); }

/* FORMS */
.form-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-xl); align-items: start; }
.form-group { margin-bottom: var(--space-sm); }
.form-group > label { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; color: var(--deep); }
.form-group .required { color: var(--purple); font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 1rem;
  border: 2px solid var(--deep); background: var(--white); color: var(--deep);
  transition: border-color 0.2s ease; outline: none; border-radius: 0;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,45,142,0.15); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D0D1A' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* CHECKBOXES — force native browser rendering */
.checkbox-group {
  display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 8px;
}
.checkbox-group label {
  display: flex !important; align-items: center; gap: 10px;
  font-size: 0.95rem !important; font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important; text-transform: none !important;
  letter-spacing: 0 !important; cursor: pointer;
  margin-bottom: 0 !important;
}
.checkbox-group input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  cursor: pointer;
  accent-color: #7B2D8E;
  margin: 0;
  flex-shrink: 0;
}

/* TEAM CARDS */
.team-section { margin-bottom: var(--space-xl); }
.team-section:last-child { margin-bottom: 0; }
.team-section__desc {
  font-size: 0.95rem; color: var(--grey-600); max-width: 700px;
  margin-bottom: var(--space-md); line-height: 1.6;
}
.team-grid {
  display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center;
}
.team-card {
  flex: 0 1 220px; max-width: 240px; text-align: center;
  position: relative; cursor: default;
}
.team-card__photo {
  width: 180px; height: 180px; margin: 0 auto var(--space-sm);
  border-radius: 50%; overflow: hidden; border: 3px solid var(--deep);
  position: relative; background: var(--grey-200);
}
.team-card__photo svg { width: 100%; height: 100%; }
.team-card__photo .team-card__overlay {
  position: absolute; inset: 0; background: rgba(13,13,26,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; transition: opacity 0.3s ease;
  border-radius: 50%;
}
.team-card__photo:hover .team-card__overlay { opacity: 1; }
.team-card__overlay p {
  font-size: 0.8rem; color: var(--white); text-align: center;
  line-height: 1.4; max-width: none;
}
.team-card__name {
  font-family: var(--font-display); font-size: 1rem;
  text-transform: none; letter-spacing: 0; margin-bottom: 2px;
}
.team-card__pronouns {
  font-size: 0.85rem; color: var(--purple); font-weight: 500;
}

/* Chief Executive — larger card */
.team-card--lead { flex: 0 1 280px; max-width: 300px; }
.team-card--lead .team-card__photo {
  width: 240px; height: 240px; border-color: var(--pink); border-width: 4px;
}
.team-card--lead .team-card__name { font-size: 1.2rem; }

/* POLICIES GRID */
.policies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-sm); }
.policy-link {
  display: block; padding: var(--space-sm) var(--space-md);
  background: var(--white); border: 2px solid var(--deep);
  font-family: var(--font-display); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: center;
  transition: all 0.2s ease;
}
.policy-link:hover { background: var(--deep); color: var(--white); transform: translateY(-2px); box-shadow: 4px 4px 0 var(--pink); }

/* CTA */
.cta-banner { text-align: center; padding: var(--space-xl) var(--space-md); }
.cta-banner h2 { margin-bottom: var(--space-sm); }
.cta-banner p { margin: 0 auto var(--space-md); max-width: 550px; }

/* FOOTER */
.footer { background: var(--deep); color: var(--white); padding: var(--space-lg) var(--space-md) var(--space-md); border-top: 4px solid var(--pink); }
.footer__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-lg); align-items: start; }
.footer__brand h3 { font-size: 1.2rem; margin-bottom: var(--space-xs); text-transform: none; letter-spacing: 0; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__contact h4 { font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: var(--space-sm); color: var(--pink); }
.footer__contact a { display: block; font-size: 0.95rem; margin-bottom: 6px; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer__contact a:hover { color: var(--pink); }
.footer__social { text-align: right; }
.footer__social h4 { font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: var(--space-sm); color: var(--pink); }
.social-links { display: flex; gap: 12px; justify-content: flex-end; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 0.75rem; font-family: var(--font-display);
  transition: all 0.2s ease;
}
.social-links a:hover { border-color: var(--pink); background: var(--pink); color: var(--deep); }
.footer__bottom { max-width: var(--max-width); margin: var(--space-md) auto 0; padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.newsletter-form { display: flex; gap: 0; margin-top: 12px; }
.newsletter-form input { flex: 1; padding: 10px 14px; font-family: var(--font-body); font-size: 0.9rem; border: 2px solid rgba(255,255,255,0.3); background: transparent; color: var(--white); outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--pink); }
.newsletter-form button { padding: 10px 20px; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--pink); color: var(--deep); border: 2px solid var(--pink); cursor: pointer; }
.newsletter-form button:hover { background: var(--pink-dark); border-color: var(--pink-dark); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }

/* MOBILE */
@media (max-width: 900px) {
  .nav__inner { position: relative; }
  .nav__links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: var(--deep); flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.2rem; }
  .nav__toggle { display: block; }
  .statement { grid-template-columns: 1fr; }
  .statement__marker { font-size: 5rem; }
  .form-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__social { text-align: left; }
  .social-links { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .exit-btn { top: auto; bottom: 16px; right: 16px; }
}
@media (max-width: 600px) {
  :root { --space-xl: 3.5rem; --space-lg: 2.5rem; }
  .hero { min-height: 70vh; }
  .hero--page { min-height: 35vh; }
  .hero__logo { height: 70px; }
  .card-grid { flex-direction: column; }
  .resource-card { flex: 1 1 100%; max-width: 100%; }
  .policies-grid { grid-template-columns: 1fr; }
}
@media print { .exit-btn, .nav, .footer { display: none; } .hero { min-height: auto; padding: 2rem; } }
