/*
Theme Name: APJT Academy
Theme URI: https://apjtacademy.com
Author: HostSavers.net
Description: A high-impact block theme for football academies. Navy and gold, photography-led, built to pair with the HostSavers Sports Toolkit.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: apjt
Tags: block-theme, sports, full-site-editing
*/

:root {
  --navy: #0A1428;
  --navy-2: #12233F;
  --navy-3: #1B3355;
  --gold: #F2B84B;
  --gold-2: #E09A1E;
  --pitch: #2FAE66;
  --cream: #F5F0E6;
  --ink: #0A1428;
  --slate: #5D6470;
  --line: rgba(10, 20, 40, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

body { font-family: var(--body); color: var(--ink); background: var(--cream); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; }

.apjt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.apjt-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.apjt-eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-2); margin: 0 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.apjt-eyebrow::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; max-width: 60px; }
.apjt-eyebrow--light { color: var(--gold); }

/* ============================================================
   NAVIGATION + MEGA MENU
   ============================================================ */
.apjt-nav {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(180deg, rgba(10,20,40,.96), rgba(10,20,40,.86));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .3s, box-shadow .3s;
}
.apjt-nav.scrolled { background: rgba(8,16,32,.99); box-shadow: 0 12px 40px -18px rgba(0,0,0,.8); }
.apjt-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.apjt-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.apjt-brand img { width: 36px; height: 36px; }
.apjt-brand span { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.apjt-brand span b { color: var(--gold); font-weight: 800; }

.apjt-nav__links { display: flex; align-items: center; gap: 4px; }
.apjt-nav__item > a {
  display: flex; align-items: center; gap: 6px;
  color: #d5dce4; text-decoration: none;
  font-family: var(--body); font-size: .87rem; font-weight: 500;
  padding: 10px 15px; border-radius: 8px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.apjt-nav__item > a i { font-style: normal; font-size: .7rem; opacity: .6; transition: transform .2s; }
.apjt-nav__item > a:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.apjt-has-mega:hover > a i { transform: rotate(180deg); }
.apjt-nav__cta {
  background: var(--gold); color: var(--navy) !important;
  font-family: var(--display) !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: .05em; font-size: .84rem !important;
  padding: 11px 22px !important; margin-left: 8px;
}
.apjt-nav__cta:hover { background: var(--gold-2); color: var(--navy) !important; }

/* mega panel */
.apjt-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: linear-gradient(175deg, var(--navy-2), var(--navy));
  border-top: 1px solid rgba(242,184,75,.28);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  padding: 38px 0 42px;
}
.apjt-has-mega { position: static; }
.apjt-has-mega:hover .apjt-mega,
.apjt-has-mega:focus-within .apjt-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.apjt-mega__inner { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 44px; }
.apjt-mega__label {
  display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.apjt-mega__link {
  display: block; text-decoration: none; padding: 11px 14px; border-radius: 10px;
  margin: 0 -14px 3px; transition: background .16s, transform .16s;
}
.apjt-mega__link:hover { background: rgba(242,184,75,.1); transform: translateX(4px); }
.apjt-mega__link b { display: block; color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.apjt-mega__link small { display: block; color: #93a3b5; font-size: .82rem; margin-top: 3px; }
.apjt-mega__link:hover b { color: var(--gold); }
.apjt-mega__feature { position: relative; border-radius: 14px; overflow: hidden; min-height: 200px; }
.apjt-mega__feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.apjt-mega__feature-body {
  position: relative; z-index: 2; padding: 26px;
  background: linear-gradient(180deg, rgba(10,20,40,.2), rgba(10,20,40,.94));
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
}
.apjt-mega__feature-body span { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.apjt-mega__feature-body b { display: block; font-family: var(--display); font-size: 1.25rem; color: #fff; text-transform: uppercase; margin: 8px 0 16px; line-height: 1.1; }
.apjt-mega__feature-body .apjt-btn { padding: 11px 20px; font-size: .82rem; align-self: flex-start; }

/* burger */
.apjt-nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; }
.apjt-nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.apjt-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.apjt-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.apjt-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .apjt-nav__toggle { display: flex; }
  .apjt-nav__links {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--navy); flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
  }
  .apjt-nav__links.open { transform: translateX(0); }
  .apjt-nav__item > a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .apjt-nav__cta { margin: 18px 0 0; justify-content: center; }
  .apjt-mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .apjt-has-mega.open .apjt-mega { max-height: 900px; padding: 12px 0 20px; }
  .apjt-mega__inner { grid-template-columns: 1fr; gap: 22px; padding: 0; }
  .apjt-mega__feature { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.apjt-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); overflow: hidden; padding: 60px 0;
}
.apjt-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.apjt-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,20,40,.97) 0%, rgba(10,20,40,.88) 42%, rgba(10,20,40,.45) 100%),
    radial-gradient(1000px 620px at 78% 18%, rgba(242,184,75,.28), transparent 62%);
}
/* animated pitch lines */
.apjt-hero__lines {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 49.6%, var(--gold) 49.6%, var(--gold) 50.4%, transparent 50.4%),
    radial-gradient(circle at 50% 50%, transparent 118px, var(--gold) 118px, var(--gold) 120px, transparent 120px);
}
.apjt-hero__inner { position: relative; z-index: 3; max-width: 780px; }
.apjt-hero__flag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242,184,75,.14); border: 1px solid rgba(242,184,75,.42);
  border-radius: 999px; padding: 8px 18px; margin-bottom: 26px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.apjt-hero__flag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pitch);
  box-shadow: 0 0 0 0 rgba(47,174,102,.7); animation: apjtPulse 2.4s infinite;
}
@keyframes apjtPulse {
  0% { box-shadow: 0 0 0 0 rgba(47,174,102,.65); }
  70% { box-shadow: 0 0 0 11px rgba(47,174,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,174,102,0); }
}
.apjt-hero__crest { width: 96px; margin-bottom: 22px; filter: drop-shadow(0 14px 34px rgba(0,0,0,.65)); }
.apjt-hero h1 {
  color: #fff; font-size: clamp(3.2rem, 9.5vw, 7rem); margin: 0; line-height: .86;
  text-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.apjt-hero h1 em {
  font-style: normal; display: block; color: var(--gold);
  font-size: .26em; letter-spacing: .22em; margin-top: 18px; font-weight: 700;
  text-shadow: none;
}
.apjt-hero__lede { color: #d3dce6; font-size: 1.18rem; max-width: 54ch; margin: 26px 0 0; line-height: 1.65; }
.apjt-hero__lede strong { color: #fff; }
.apjt-motto { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; }
.apjt-motto span {
  font-family: var(--display); font-size: 1.02rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; padding: 9px 20px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  transition: .2s;
}
.apjt-motto span:hover { background: rgba(242,184,75,.18); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.apjt-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; align-items: center; }
.apjt-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 17px 32px; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1rem; text-transform: uppercase;
  letter-spacing: .05em; text-decoration: none; border: 0; cursor: pointer; transition: .18s;
}
.apjt-btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 16px 40px -14px rgba(242,184,75,.6); }
.apjt-btn--gold:hover { background: #ffc95f; transform: translateY(-3px); box-shadow: 0 22px 50px -14px rgba(242,184,75,.75); }
.apjt-btn--ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.apjt-btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(242,184,75,.08); }
.apjt-btn--navy { background: var(--navy); color: #fff; }
.apjt-btn--navy:hover { background: var(--navy-3); transform: translateY(-2px); }
.apjt-hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-align: center; text-decoration: none;
}
.apjt-hero__scroll::after {
  content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: apjtScroll 2s ease-in-out infinite;
}
@keyframes apjtScroll { 0%,100% { opacity: .3; height: 24px; } 50% { opacity: 1; height: 38px; } }
@media (max-width: 600px) { .apjt-hero { min-height: 90vh; } .apjt-hero__scroll { display: none; } }

/* STATS */
.apjt-stats { background: var(--gold); }
.apjt-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.apjt-stat { padding: 30px 20px; text-align: center; border-right: 1px solid rgba(10,20,40,.14); }
.apjt-stat:last-child { border-right: 0; }
.apjt-stat b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1; }
.apjt-stat span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #5a4a12; margin-top: 8px; }
@media (max-width: 700px) {
  .apjt-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .apjt-stat:nth-child(2) { border-right: 0; }
  .apjt-stat:nth-child(1), .apjt-stat:nth-child(2) { border-bottom: 1px solid rgba(10,20,40,.14); }
}

/* SECTIONS */
.apjt-section { padding: 96px 0; }
.apjt-section--dark { background: var(--navy); color: #fff; }
.apjt-section--dark h2 { color: #fff; }
.apjt-section--dark p { color: #b9c4d0; }
.apjt-section--navy2 { background: var(--navy-2); color: #fff; }
.apjt-section--navy2 h2 { color: #fff; }
.apjt-section--navy2 p { color: #b9c4d0; }
.apjt-section--white { background: #fff; }
.apjt-section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 0 0 18px; }
.apjt-lede { font-size: 1.08rem; line-height: 1.75; color: var(--slate); max-width: 62ch; }
.apjt-section--dark .apjt-lede, .apjt-section--navy2 .apjt-lede { color: #b9c4d0; }

.apjt-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .apjt-split { grid-template-columns: 1fr; gap: 36px; } }
.apjt-figure { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,20,40,.6); }
.apjt-figure img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.apjt-figure:hover img { transform: scale(1.04); }
.apjt-figure--tall img { aspect-ratio: 3/4; }

/* COACH */
.apjt-coach__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.apjt-badge { background: rgba(242,184,75,.12); border: 1px solid rgba(242,184,75,.35); border-radius: 9px; padding: 10px 15px; min-width: 96px; }
.apjt-badge b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--gold); line-height: 1; }
.apjt-badge span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #93a3b5; margin-top: 5px; }
.apjt-coach__role { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.apjt-coach__name { font-family: var(--display); font-size: clamp(1.6rem,3vw,2.2rem); color: #fff; font-weight: 800; text-transform: uppercase; margin: 0 0 4px; }

/* CARDS */
.apjt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 860px) { .apjt-cards { grid-template-columns: 1fr; } }
.apjt-card {
  background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.apjt-card:hover { transform: translateY(-7px); box-shadow: 0 30px 55px -30px rgba(10,20,40,.5); border-color: rgba(242,184,75,.6); }
.apjt-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-2); }
.apjt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.apjt-card:hover .apjt-card__media img { transform: scale(1.07); }
.apjt-card__tag {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  background: rgba(10,20,40,.88); color: var(--gold);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.apjt-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.apjt-card__body h3 { font-size: 1.3rem; margin: 0 0 10px; color: var(--navy); }
.apjt-card:hover .apjt-card__body h3 { color: var(--gold-2); }
.apjt-card__body p { font-size: .94rem; color: var(--slate); margin: 0 0 16px; line-height: 1.6; flex: 1; }
.apjt-card__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); display: flex; gap: 14px; flex-wrap: wrap; }
.apjt-card__more { font-family: var(--mono); font-size: .76rem; color: var(--gold-2); margin-top: 14px; }

/* METHOD */
.apjt-method { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; border-radius: 16px; overflow: hidden; }
@media (max-width: 900px) { .apjt-method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .apjt-method { grid-template-columns: 1fr; } }
.apjt-phase { background: rgba(255,255,255,.04); border: 1px solid var(--line-light); padding: 26px 22px; transition: background .2s; }
.apjt-phase:hover { background: rgba(242,184,75,.09); }
.apjt-phase__n { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: rgba(242,184,75,.34); line-height: 1; }
.apjt-phase__time { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 8px 0 10px; }
.apjt-phase h4 { font-size: 1rem; color: #fff; margin: 0 0 8px; }
.apjt-phase p { font-size: .86rem; color: #a8b4c2; margin: 0; line-height: 1.55; }

.apjt-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 800px) { .apjt-actions { grid-template-columns: repeat(2, 1fr); } }
.apjt-action { border-left: 2px solid var(--gold); padding-left: 16px; }
.apjt-action span { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.apjt-action h5 { font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; color: #fff; margin: 6px 0 5px; font-weight: 700; }
.apjt-action p { font-size: .84rem; color: #a8b4c2; margin: 0; }

/* INCLUSIVE */
.apjt-ribbon {
  display: inline-flex; align-items: center; gap: 8px; background: var(--pitch); color: #04150c;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.apjt-photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
@media (max-width: 700px) { .apjt-photo-row { grid-template-columns: 1fr; } }
.apjt-photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

/* GALLERY */
.apjt-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.apjt-gallery a { display: block; border-radius: 14px; overflow: hidden; }
.apjt-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .5s, filter .3s; filter: grayscale(.25); }
.apjt-gallery a:hover img { transform: scale(1.07); filter: grayscale(0); }
.apjt-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 800px) { .apjt-gallery { grid-template-columns: repeat(2, 1fr); } .apjt-gallery a:first-child { grid-column: span 2; grid-row: auto; } }

/* CONTACT */
.apjt-contact { background: var(--navy); color: #fff; }
.apjt-contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; }
@media (max-width: 860px) { .apjt-contact__grid { grid-template-columns: 1fr; gap: 36px; } }
.apjt-contact__links { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.apjt-contact__link {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line-light); border-radius: 12px; padding: 15px 18px;
  text-decoration: none; transition: .18s;
}
.apjt-contact__link:hover { background: rgba(242,184,75,.1); border-color: rgba(242,184,75,.4); transform: translateX(4px); }
.apjt-contact__link i { font-style: normal; font-size: 1.2rem; width: 24px; text-align: center; }
.apjt-contact__link small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8fa0b2; }
.apjt-contact__link b { color: #fff; font-size: .98rem; font-weight: 600; }
.apjt-formwrap { background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: 18px; padding: 32px; }
.apjt-formwrap .hs-field label { color: #dfe5ec; }
.apjt-formwrap .hs-field input,
.apjt-formwrap .hs-field select,
.apjt-formwrap .hs-field textarea { background: rgba(255,255,255,.07); border: 1px solid var(--line-light); color: #fff; }
.apjt-formwrap .hs-field input::placeholder,
.apjt-formwrap .hs-field textarea::placeholder { color: #7d8b9c; }
.apjt-formwrap .hs-field input:focus,
.apjt-formwrap .hs-field select:focus,
.apjt-formwrap .hs-field textarea:focus { border-color: var(--gold); outline: 2px solid rgba(242,184,75,.3); }
.apjt-formwrap .hs-btn { background: var(--gold); color: var(--navy); width: 100%; justify-content: center; padding: 15px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.apjt-formwrap select option { background: var(--navy-2); color: #fff; }

/* PAGE HEADERS */
.apjt-pagehead { position: relative; background: linear-gradient(160deg, var(--navy), var(--navy-2)); padding: 78px 0 62px; overflow: hidden; }
.apjt-pagehead__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.apjt-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,.4), rgba(10,20,40,.9)); }
.apjt-pagehead > .apjt-wrap { position: relative; z-index: 2; }
.apjt-pagehead h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 12px; }
.apjt-pagehead p { color: #b9c4d0; max-width: 56ch; font-size: 1.05rem; margin: 0; }

/* FOOTER */
.apjt-footer { background: var(--navy); color: #8fa0b2; padding: 62px 0 30px; border-top: 1px solid var(--line-light); }
.apjt-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .apjt-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.apjt-footer h5 { font-family: var(--display); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.apjt-footer a { color: #8fa0b2; text-decoration: none; display: block; padding: 5px 0; font-size: .92rem; transition: color .15s; }
.apjt-footer a:hover { color: var(--gold); }
.apjt-footer__blurb { font-size: .93rem; max-width: 34ch; margin: 14px 0 0; line-height: 1.7; }
.apjt-footer__bottom { border-top: 1px solid var(--line-light); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: .74rem; color: #6b7a8c; }

/* SINGLE */
.apjt-single { padding: 60px 0 90px; }
.apjt-single__content { font-size: 1.05rem; line-height: 1.8; color: #3a4250; }
.apjt-single__content h2, .apjt-single__content h3 { color: var(--navy); margin: 34px 0 14px; }
.apjt-detailbar { display: flex; flex-wrap: wrap; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 0 0 34px; }
.apjt-detailbar div span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.apjt-detailbar div b { font-family: var(--display); font-size: 1.15rem; color: var(--navy); text-transform: uppercase; }

/* REVEAL */
.apjt-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.apjt-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apjt-reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

.wp-block-button__link { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 9px; }
