/* =============================================
   Joshua Dean Church — Personal Brand
   Fresh Build v2
   ============================================= */

@font-face {
  font-family: 'Mickir';
  src: url('../fonts/Mickir-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Mickir';
  src: url('../fonts/Mickir-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Mickir';
  src: url('../fonts/Mickir-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-display: swap;
}

:root {
  /* Brand Palette */
  --midnight: #1A3B70;
  --electric: #0083D3;
  --arctic: #01C3FF;
  --glacier: #A9E7FF;
  --polar: #BCD5DD;
  --solar: #FFB600;

  /* Functional */
  --bg: #0B1628;
  --bg-alt: #0F1D35;
  --bg-card: #12233F;
  --surface: #182B4A;
  --white: #F0F4F8;
  --text: #C8D6E0;
  --text-muted: #7A93A8;
  --border: rgba(0, 131, 211, 0.12);

  --font-display: 'Mickir', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --max-w: 1100px;
  --radius: 12px;
}

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* =============================================
   NAV — Minimal
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(11, 22, 40, 0.95);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 48px; }
.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--text-muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--electric);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--midnight); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 24px; cursor: pointer;
}

/* =============================================
   HERO — Homepage
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--arctic);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 800; line-height: 1.05;
  color: var(--white); margin-bottom: 28px;
  white-space: nowrap;
}
.hero-bio {
  font-size: 17px; line-height: 1.8;
  color: var(--text); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
}
.hero-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
/* Mobile: show inline photo, hide desktop column */
.hero-photo-mobile {
  display: none;
}
.hero-photo-mobile img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 28px;
}

/* decorative element removed */

/* =============================================
   AS SEEN IN
   ============================================= */
.seen-in {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  padding: 0 24px;
}
.seen-in-inner {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(18, 35, 63, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 131, 211, 0.1);
  border-radius: 10px;
  padding: 24px 40px;
  text-align: center;
}
.seen-in-label {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.seen-in-divider { display: none; }
.seen-in-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 36px; flex-wrap: wrap;
  opacity: 0.4;
}
.seen-in-logos img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
}

/* =============================================
   WORLD — Pillar Cards (Homepage)
   ============================================= */
.world {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #132640 50%, #162D4D 100%);
}
.world-header {
  text-align: center; margin-bottom: 64px;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.world-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.world-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 131, 211, 0.3);
}
.world-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  object-position: center 30%;
}
.world-card-body { padding: 32px 28px; }
.world-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.world-card-tagline {
  font-size: 14px; color: var(--arctic);
  font-style: italic; margin-bottom: 16px;
}
.world-card-text {
  font-size: 15px; color: var(--text); margin-bottom: 24px;
  line-height: 1.7;
}
.world-card-links {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.world-card-links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.world-card-links a:hover { color: var(--arctic); }
.world-card-links .arrow { color: var(--electric); }

/* =============================================
   PAGE HERO — Subpages
   ============================================= */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}
.page-hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.page-hero .page-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--arctic);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.page-hero .page-subtitle {
  font-size: 18px; color: var(--text); line-height: 1.7;
}
.page-hero-img {
  border-radius: var(--radius);
  width: 100%; object-fit: cover;
}

/* =============================================
   CONTENT SECTIONS
   ============================================= */
.content-section { padding: 80px 0; }
.content-section.alt { background: linear-gradient(180deg, var(--bg-alt) 0%, #0D1A30 100%); }

.content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.content-grid.reverse > :first-child { order: 2; }
.content-grid.reverse > :last-child { order: 1; }

.prose { font-size: 17px; line-height: 1.85; color: var(--text); }
.prose p { margin-bottom: 24px; }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { color: var(--glacier); }
.prose blockquote {
  border-left: 3px solid var(--solar);
  padding: 16px 0 16px 24px;
  margin: 32px 0;
  font-style: italic; color: var(--text-muted);
  font-size: 19px; line-height: 1.6;
}
.prose img {
  border-radius: var(--radius);
  margin: 32px 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: var(--electric); color: var(--white);
}
.btn-primary:hover { background: var(--midnight); transform: translateY(-1px); }
.btn-solar {
  background: var(--solar); color: var(--bg);
}
.btn-solar:hover { background: #e6a400; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(0,131,211,0.3);
}
.btn-outline:hover { border-color: var(--arctic); color: var(--white); }
.btn-ghost {
  background: none; color: var(--arctic);
  padding: 14px 0; border: none;
}
.btn-ghost:hover { color: var(--white); gap: 12px; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.sh { margin-bottom: 48px; }
.sh-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--arctic);
  margin-bottom: 12px;
}
.sh h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.sh p {
  font-size: 17px; color: var(--text-muted);
  max-width: 600px; line-height: 1.7;
}
.sh.center { text-align: center; }
.sh.center p { margin: 0 auto; }

/* =============================================
   PHOTO GRID
   ============================================= */
.photo-grid {
  display: grid; gap: 16px;
}
.photo-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.photo-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.photo-grid img {
  border-radius: var(--radius);
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =============================================
   LISTEN LINKS / FEATURE LIST
   ============================================= */
.link-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px;
}
.link-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(0,131,211,0.25);
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text); transition: all 0.2s;
}
.link-pill:hover {
  border-color: var(--arctic); color: var(--white);
  background: rgba(0,131,211,0.06);
}

.feature-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin: 24px 0;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text);
}
.feature-list .check {
  color: var(--arctic); font-weight: 700; flex-shrink: 0;
}

/* =============================================
   TESTIMONIAL
   ============================================= */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-card blockquote {
  font-size: 16px; line-height: 1.8;
  color: var(--text); margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card cite {
  font-style: normal; font-size: 14px;
  color: var(--white); font-weight: 600;
}
.testimonial-card .cite-role {
  font-size: 13px; color: var(--text-muted); font-weight: 400;
}

/* =============================================
   CONNECT / SOCIAL
   ============================================= */
.social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 48px 0;
}
.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; text-align: center;
  transition: all 0.2s;
}
.social-card:hover {
  border-color: var(--electric);
  transform: translateY(-2px);
}
.social-card h3 {
  font-size: 16px; color: var(--white); font-weight: 600;
  margin-bottom: 4px;
}
.social-card p { font-size: 13px; color: var(--text-muted); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--midnight), var(--bg));
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px; color: var(--text);
  max-width: 560px; margin: 0 auto 32px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo { height: 30px; opacity: 0.4; }
.footer-links {
  display: flex; gap: 24px; list-style: none;
}
.footer-links a {
  font-size: 13px; color: var(--text-muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  width: 100%; text-align: center;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--electric);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted); opacity: 0.6;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  text-align: center; padding: 48px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-success p {
  font-size: 20px; font-weight: 600; color: var(--white);
}

/* Social Card Row */
.social-card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}
.social-card-row:hover {
  border-color: var(--electric); transform: translateX(4px);
}
.social-card-name {
  font-size: 15px; font-weight: 600; color: var(--white);
}
.social-card-handle {
  font-size: 14px; color: var(--text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner,
  .page-hero-split,
  .content-grid,
  .content-grid.reverse > :first-child,
  .content-grid.reverse > :last-child {
    grid-template-columns: 1fr;
    order: unset !important;
  }
  .hero-photo-mobile { display: block; }
  .hero-photo-desktop { display: none; }
  .world-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { max-width: 400px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { text-align: center; }
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
  .hero h1 { white-space: normal; }
  .photo-grid.cols-2,
  .photo-grid.cols-3 { grid-template-columns: 1fr; }
  .seen-in-inner { padding: 20px 24px; }
  .seen-in-logos { gap: 24px; }
  .seen-in-logos img { height: 18px; }
  .content-section { padding: 60px 0; }
  .world { padding: 80px 0; }
}

@media (max-width: 480px) {
  .social-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
