/*
Theme Name: Enroot PR Core v1.3
Theme URI: https://enrootpr.com/
Author: Enroot PR
Author URI: https://enrootpr.com/
Description: A lean WordPress theme for Enroot PR O-1 / P-1 artist visa referral landing pages, social links, and genre-grouped artist relationship pool.
Version: 1.3.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enroot-pr-v13
Tags: landing-page, custom-logo, responsive-layout, one-column
*/

:root {
  --enroot-cyan: #5acae7;
  --enroot-cyan-dark: #2aa6c8;
  --enroot-cyan-soft: #eaf9fd;
  --enroot-cyan-mid: #c8f0f8;
  --enroot-navy: #0b1f2a;
  --enroot-navy-soft: #163343;
  --enroot-text: #17303b;
  --enroot-muted: #5f7480;
  --enroot-line: rgba(11, 31, 42, 0.14);
  --enroot-card: #ffffff;
  --enroot-bg: #ffffff;
  --enroot-offwhite: #f7fbfd;
  --enroot-shadow: 0 22px 70px rgba(23, 48, 59, 0.12);
  --enroot-radius: 26px;
  --enroot-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--enroot-bg);
  color: var(--enroot-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--enroot-line);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section,
.footer-inner {
  width: min(var(--enroot-max), calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  text-decoration: none;
}

.brand-logo {
  width: 250px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--enroot-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--enroot-navy);
  background: var(--enroot-cyan-soft);
  outline: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--enroot-cyan-dark);
  box-shadow: 0 10px 30px rgba(42, 166, 200, 0.24);
}

.header-cta:hover,
.btn-primary:hover,
.header-cta:focus-visible,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  background: var(--enroot-navy);
  box-shadow: 0 14px 38px rgba(11, 31, 42, 0.18);
  outline: none;
}

.btn-secondary {
  color: var(--enroot-navy);
  background: #fff;
  border-color: var(--enroot-line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  background: var(--enroot-cyan-soft);
  border-color: rgba(90, 202, 231, 0.7);
  outline: none;
}

.section {
  padding: 94px 0;
}

.section-tinted {
  position: relative;
}

.section-tinted::before {
  content: "";
  position: absolute;
  inset: 0 calc((100vw - min(var(--enroot-max), calc(100% - 40px))) / -2);
  z-index: -1;
  background: linear-gradient(180deg, var(--enroot-offwhite), #fff);
}

.hero {
  padding-top: 86px;
  padding-bottom: 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 12%, rgba(90, 202, 231, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(200, 240, 248, 0.72), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f5fcfe 100%);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--enroot-cyan-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 22px;
  color: var(--enroot-navy);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  color: var(--enroot-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  color: var(--enroot-navy);
  font-size: 1.15rem;
  line-height: 1.2;
}

.lede {
  max-width: 760px;
  color: var(--enroot-muted);
  font-size: clamp(1.1rem, 2.1vw, 1.38rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.hero-social {
  margin-top: 22px;
}

.hero-card,
.card,
.resource-card,
.faq-card,

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--enroot-cyan);
}

.hero-logo {
  width: 190px;
  display: block;
  margin-bottom: 22px;
}

.hero-card h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.hero-card p,
.card p,
.process-step p,
.resource-card p,
.faq-card p,

.check-list,
.evidence-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.evidence-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.evidence-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--enroot-cyan);
  box-shadow: 0 0 0 5px rgba(90, 202, 231, 0.18);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.align-left {
  margin: 0;
  text-align: left;
}

.section-head p:not(.kicker) {
  color: var(--enroot-muted);
  font-size: 1.06rem;
}

.grid-4,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card,
.faq-card {
  padding: 26px;
}

.card h3,
.faq-card h3,

.visa-card h3 {
  color: var(--enroot-cyan-dark);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 26px;
  border-radius: var(--enroot-radius);
  background: linear-gradient(180deg, var(--enroot-cyan-soft), #fff);
  border: 1px solid rgba(90, 202, 231, 0.42);
}

.process-step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--enroot-cyan-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.evidence-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 30px;
  border-radius: var(--enroot-radius);
  background: #fff;
  border: 1px solid var(--enroot-line);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.genre-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--enroot-line);
  border-radius: var(--enroot-radius);
  background: linear-gradient(180deg, #fff 0%, var(--enroot-offwhite) 100%);
  box-shadow: 0 16px 44px rgba(23, 48, 59, 0.08);
}

.genre-column h3 {
  margin-bottom: 16px;
  color: var(--enroot-navy);
  font-size: 1.08rem;
}

.genre-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.genre-list li {
  padding: 8px 10px;
  border: 1px solid rgba(90, 202, 231, 0.4);
  border-radius: 14px;
  color: var(--enroot-navy);
  background: var(--enroot-cyan-soft);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.25;
}

.network-note {
  max-width: 900px;
  margin: 24px auto 0;
  color: var(--enroot-muted);
  text-align: center;
  font-size: 0.96rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  text-decoration: none;
}

.resource-source {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--enroot-cyan-dark);
  background: var(--enroot-cyan-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.resource-link {
  margin-top: auto;
  color: var(--enroot-cyan-dark);
  font-weight: 850;
  text-decoration: none;
}

.resource-card:hover .resource-link,
.resource-card:focus-visible .resource-link {
  text-decoration: underline;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.cta-band {
  padding: clamp(30px, 5vw, 58px);
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.72), transparent 22rem),
    linear-gradient(135deg, var(--enroot-cyan), var(--enroot-cyan-dark));
}

.cta-band h2,
.cta-band p,
.cta-band .kicker {
  color: #fff;
}

.cta-band .lede {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.92);
}

.cta-band .cta-actions {
  justify-content: center;
}

.cta-band .social-links {
  justify-content: center;
  margin-top: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--enroot-navy);
  background: #fff;
  border: 1px solid var(--enroot-line);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  background: var(--enroot-navy);
  outline: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.social-links-compact a {
  width: 40px;
  justify-content: center;
  padding: 8px;
}

.site-footer {
  padding: 54px 0;
  background: var(--enroot-navy);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.35fr) minmax(230px, 0.45fr);
  gap: 34px;
}

.footer-brand img {
  width: 245px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 18px;
}

.site-footer p {
  color: rgba(255,255,255,0.72);
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h2,
.footer-social h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 750;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

.footer-social .social-links a {
  justify-content: flex-start;
}

.entry-content-card {
  padding: clamp(28px, 5vw, 54px);
}

.wp-block-image img,
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .process,
  .faq-grid,
  .genre-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .section,
  .footer-inner {
    width: min(100% - 28px, var(--enroot-max));
  }

  .brand-logo {
    width: 210px;
  }

  .nav-menu ul {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .grid-4,
  .process,
  .faq-grid,
  .genre-grid,
  .resource-grid,
  .evidence-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card,
  .faq-card,
  .genre-column,
  .resource-card {
    padding: 22px;
  }
}
