/* PRENEXA North America - Cloudflare Pages static site
   Brand: deep forest green, antique gold, warm ivory, charcoal.
   Crimson is used sparingly, only for required field markers and errors. */

:root{
  --green:#3E4A3A;
  --green-dark:#2F382C;
  --gold:#C08A2D;
  --gold-bright:#D9A441;
  --ivory:#F7F3E9;
  --white:#FFFFFF;
  --charcoal:#23281F;
  --crimson:#A62B38;
  --muted:#5C6357;
  --border:#DDD5C2;
  --radius:12px;
  --font-head:"Playfair Display","Cormorant Garamond",Georgia,"Times New Roman",serif;
  --font-body:"Source Sans 3","Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --max:1180px;
  --shadow:0 2px 10px rgba(35,40,31,.08);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font-body);font-size:1.0625rem;line-height:1.65;
  color:var(--charcoal);background:var(--ivory);-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;border-radius:var(--radius)}
a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
a:hover,a:focus{color:var(--gold)}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--green-dark);line-height:1.2;margin:0 0 .6em;font-weight:600}
h1{font-size:2.4rem}
h2{font-size:1.9rem}
h3{font-size:1.45rem}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.4em}
:focus-visible{outline:3px solid var(--gold-bright);outline-offset:2px;border-radius:2px}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:1000;background:var(--green-dark);
  color:var(--white);padding:.75rem 1.25rem;border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{left:0;color:var(--white)}
.container{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
main{padding:2.5rem 0 3.5rem}
.narrow{max-width:760px;margin-left:auto;margin-right:auto}

/* Header */
.site-header{background:var(--white);border-bottom:3px solid var(--gold);position:sticky;top:0;z-index:900;box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;flex-wrap:wrap}
.branding{display:flex;align-items:center;gap:.9rem;text-decoration:none;min-width:0}
.branding img{width:56px;height:56px;border-radius:10px;object-fit:contain}
.branding .site-name{font-family:var(--font-head);font-size:1.3rem;font-weight:700;color:var(--green-dark);line-height:1.15;display:block}
.branding .site-sub{font-size:.82rem;color:var(--muted);display:block}
.menu-toggle{display:none;background:var(--green);color:var(--white);border:0;border-radius:8px;padding:.55rem 1rem;font:inherit;font-weight:600;cursor:pointer}
.menu-toggle:hover,.menu-toggle:focus{background:var(--green-dark)}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.3rem;flex-wrap:wrap}
.main-nav a{text-decoration:none;color:var(--charcoal);font-weight:600;font-size:.97rem;padding:.35rem 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a:focus{color:var(--green);border-bottom-color:var(--gold)}
.main-nav a[aria-current="page"]{color:var(--green);border-bottom-color:var(--gold)}

/* Hero */
.hero{background:var(--green);color:var(--white);padding:3.5rem 0}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:2.5rem;align-items:center}
.hero h1{color:var(--white);font-size:2.8rem;margin-bottom:.5rem}
.hero .tagline{color:var(--gold-bright);font-family:var(--font-head);font-style:italic;font-size:1.25rem;margin-bottom:1rem}
.hero p{color:#EDEAE0}
.hero .motto{font-size:.88rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-bright)}
.hero img{width:100%;height:100%;max-height:420px;object-fit:cover;box-shadow:var(--shadow)}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.4rem}

/* Buttons */
.button{display:inline-block;background:var(--gold);color:var(--white);padding:.75rem 1.6rem;border-radius:8px;text-decoration:none;font-weight:700;border:0;cursor:pointer;font:inherit}
.button:hover,.button:focus{background:var(--green-dark);color:var(--white)}
.button-outline{background:transparent;color:var(--white);border:2px solid var(--white)}
.button-outline:hover,.button-outline:focus{background:var(--white);color:var(--green-dark)}
.button-green{background:var(--green)}
.button-green:hover,.button-green:focus{background:var(--green-dark)}

/* Page banner */
.page-banner{background:var(--green);color:var(--white);padding:2.6rem 0 2.2rem}
.page-banner h1{color:var(--white);margin-bottom:.3rem}
.page-banner p{color:#EDEAE0;max-width:720px;margin:0}

/* Sections and cards */
.section{padding:2.5rem 0}
.section-white{background:var(--white)}
.section-heading{text-align:center;margin-bottom:2rem}
.section-heading .eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;font-weight:700;color:var(--gold);margin-bottom:.4rem}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}
.section-white .card{background:var(--ivory)}
.card h3{margin-top:.4rem}
.card .meta{font-size:.85rem;color:var(--muted);margin-bottom:.5rem}
.card img{width:100%;height:200px;object-fit:cover;margin-bottom:.8rem}
.status-badge{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:var(--ivory);color:var(--green-dark);border:1px solid var(--gold);border-radius:999px;padding:.15rem .7rem}
.section-white .status-badge{background:var(--white)}
.empty-state{border:1px dashed var(--gold);border-radius:var(--radius);padding:1.6rem;background:#FBF6E9;max-width:760px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.two-col img{width:100%;object-fit:cover}

/* Leadership */
.officer-placeholder{
  width:100%;height:200px;border-radius:var(--radius);background:var(--green);
  color:var(--gold-bright);display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-size:2.2rem;margin-bottom:.8rem;
}
.card .to-add{font-size:.88rem;color:var(--muted);font-style:italic}

/* Anthem */
.anthem{max-width:680px;margin:0 auto;text-align:center}
.anthem .verse{margin-bottom:2rem}
.anthem .verse-label{font-family:var(--font-head);font-style:italic;color:var(--gold);font-size:1.15rem;margin-bottom:.6rem}
.anthem p{margin-bottom:.2rem;font-size:1.1rem}
.anthem-photo{max-width:560px;margin:2rem auto 0}

/* Forms */
.form-wrap{max-width:640px}
.field{margin-bottom:1.1rem}
.field label{display:block;font-weight:600;margin-bottom:.35rem}
.required{color:var(--crimson)}
.field input[type="text"],.field input[type="email"],.field input[type="tel"],
.field input[type="number"],.field select,.field textarea{
  width:100%;padding:.65rem .8rem;border:1px solid var(--border);border-radius:8px;
  font:inherit;background:var(--white);color:var(--charcoal);
}
.field textarea{min-height:120px}
.field-note{font-size:.85rem;color:var(--muted)}
.consent label{font-weight:400;display:flex;gap:.6rem;align-items:flex-start}
.consent input{margin-top:.3rem}
.form-notice{border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.5rem;border:1px solid var(--gold);background:#FBF6E9}
.form-notice.success{border-color:var(--green);background:#EFF3EA}
.form-notice.error{border-color:var(--crimson);background:#FAEDEF}
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
[hidden]{display:none!important}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}
.gallery-grid figure{margin:0}
.gallery-grid img{width:100%;height:230px;object-fit:cover;display:block}
.gallery-grid figcaption{font-size:.88rem;color:var(--muted);padding:.45rem .1rem 0}

/* Documents */
.doc-list{list-style:none;padding:0;margin:0}
.doc-list li{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.3rem;margin-bottom:1rem;box-shadow:var(--shadow)}
.doc-list .meta{font-size:.85rem;color:var(--muted)}

/* Footer */
.site-footer{background:var(--green-dark);color:#E6E2D4}
.site-footer a{color:var(--gold-bright)}
.site-footer a:hover{color:var(--white)}
.footer-inner{padding-top:2.5rem;padding-bottom:1.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem}
.footer-inner h3{color:var(--white);font-size:1.2rem}
.footer-motto{color:var(--gold-bright);font-family:var(--font-head);font-style:italic}
.footer-nav{list-style:none;padding:0;margin:0}
.footer-nav li{margin-bottom:.35rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);padding-top:1rem;padding-bottom:1.4rem;font-size:.88rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* Responsive */
@media (max-width:900px){
  .hero-grid,.two-col{grid-template-columns:1fr}
  .hero img{max-height:320px}
}
@media (max-width:760px){
  h1{font-size:1.9rem}
  h2{font-size:1.55rem}
  .hero{padding:2.4rem 0}
  .hero h1{font-size:2.05rem}
  .menu-toggle{display:inline-block}
  .main-nav{display:none;width:100%}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;gap:0;padding:.5rem 0 1rem}
  .main-nav li{border-top:1px solid var(--border)}
  .main-nav a{display:block;padding:.7rem .2rem}
  .branding img{width:46px;height:46px}
  .branding .site-name{font-size:1.1rem}
  .section{padding:1.8rem 0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* Dropdown navigation (Workers app) */
.main-nav li.has-dropdown{position:relative;display:flex;align-items:center;gap:.15rem}
.dropdown-toggle{background:none;border:0;color:var(--charcoal);cursor:pointer;font-size:.8rem;padding:.3rem .25rem;line-height:1}
.main-nav ul.dropdown{
  display:none;position:absolute;top:100%;left:0;min-width:230px;background:var(--white);
  border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);
  box-shadow:var(--shadow);padding:.5rem 0;flex-direction:column;gap:0;z-index:950;
}
.main-nav li.has-dropdown:hover ul.dropdown,
.main-nav li.has-dropdown:focus-within ul.dropdown,
.main-nav li.has-dropdown.open ul.dropdown{display:flex}
.main-nav ul.dropdown li{width:100%}
.main-nav ul.dropdown a{display:block;padding:.55rem 1.1rem;border-bottom:0;font-size:.95rem}
.main-nav ul.dropdown a:hover,.main-nav ul.dropdown a:focus{background:var(--ivory)}

/* Dynamic detail pages and article bodies */
.article-body{max-width:760px}
.article-body p{white-space:pre-line}
.detail-meta{font-size:.9rem;color:var(--muted);margin-bottom:1rem}
.detail-photo{width:100%;max-height:460px;object-fit:cover;margin-bottom:1.5rem}
.back-link{font-size:.92rem}
.anthem audio{width:100%;margin:1rem 0 1.5rem}
.doc-download{margin-top:.6rem}

@media (max-width:760px){
  .main-nav li.has-dropdown{flex-wrap:wrap}
  .main-nav ul.dropdown{position:static;display:none;box-shadow:none;border:0;border-top:1px solid var(--border);border-radius:0;min-width:0;width:100%;padding:.25rem 0 .25rem 1rem}
  .main-nav li.has-dropdown.open ul.dropdown{display:block}
  .dropdown-toggle{padding:.7rem .6rem}
}

/* ---------------------------------------------------------------
   PREMIUM POLISH LAYER (Travis directive, 2026-12-03)
   Elegant, restrained, institutional. Deep green, antique gold,
   warm ivory. Motion is subtle and respects reduced-motion.
   --------------------------------------------------------------- */
::selection{background:var(--gold-bright);color:var(--green-dark)}
body{letter-spacing:.002em}
h1,h2{letter-spacing:.01em}
h2{font-weight:700}

/* Header: finer gold rule and quiet depth */
.site-header{border-bottom:1px solid var(--gold);box-shadow:0 1px 0 rgba(192,138,45,.35),0 10px 30px rgba(35,40,31,.07)}
.header-inner{padding:1rem 0}
.branding .site-name{letter-spacing:.02em}
.branding .site-sub{letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;font-weight:600}
.main-nav a{letter-spacing:.04em;transition:color .25s ease,border-color .25s ease}

/* Hero: layered depth, gold hairline, ceremonial motto */
.hero{
  background:linear-gradient(135deg,var(--green-dark) 0%,var(--green) 55%,#46543F 100%);
  padding:4.5rem 0 4.2rem;position:relative;
}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--gold-bright) 25%,var(--gold) 50%,var(--gold-bright) 75%,transparent)}
.hero h1{font-size:3.1rem;font-weight:700;line-height:1.12}
.hero .tagline{font-size:1.35rem}
.hero .motto{display:flex;align-items:center;gap:.9rem;font-weight:600}
.hero .motto::before,.hero .motto::after{content:"";height:1px;width:42px;background:var(--gold);opacity:.75}
.hero img{border:1px solid rgba(217,164,65,.55);box-shadow:0 24px 48px rgba(20,24,17,.35)}
.hero-actions .button{box-shadow:0 8px 20px rgba(20,24,17,.25)}

/* Page banner: same family as the hero */
.page-banner{background:linear-gradient(135deg,var(--green-dark),var(--green) 65%,#46543F);border-bottom:3px solid var(--gold)}
.page-banner h1{font-weight:700}

/* Buttons: quiet confidence */
.button{letter-spacing:.05em;border-radius:999px;padding:.8rem 1.9rem;transition:background .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease;box-shadow:0 4px 14px rgba(35,40,31,.12)}
.button:hover,.button:focus{transform:translateY(-1px);box-shadow:0 8px 22px rgba(35,40,31,.18)}
.button-outline{box-shadow:none}

/* Sections: flourish under headings */
.section{padding:3.2rem 0}
.section-heading{position:relative;padding-bottom:1.1rem}
.section-heading::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:64px;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.section-heading .eyebrow{letter-spacing:.22em}

/* Cards: lift and gold edge on hover */
.card{border-radius:16px;padding:1.6rem;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(35,40,31,.13);border-color:var(--gold)}
.card img{border-radius:10px}
.status-badge{letter-spacing:.09em;padding:.22rem .8rem}

/* Forms: calmer fields, clearer focus */
.field input[type="text"],.field input[type="email"],.field input[type="tel"],
.field input[type="number"],.field select,.field textarea{
  padding:.75rem .9rem;border-radius:10px;transition:border-color .2s ease,box-shadow .2s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--gold);box-shadow:0 0 0 3px rgba(217,164,65,.25);outline:none;
}

/* Documents and gallery */
.doc-list li{border-radius:16px;padding:1.25rem 1.5rem;transition:border-color .25s ease,box-shadow .25s ease}
.doc-list li:hover{border-color:var(--gold);box-shadow:0 12px 26px rgba(35,40,31,.12)}
.gallery-grid img{border-radius:16px;transition:transform .35s ease,box-shadow .35s ease}
.gallery-grid figure:hover img{transform:translateY(-3px);box-shadow:0 16px 32px rgba(35,40,31,.18)}

/* Anthem: ceremonial presentation */
.anthem p{font-size:1.14rem;line-height:1.8}
.anthem .verse-label{letter-spacing:.06em}

/* Leadership placeholder medallions */
.officer-placeholder{background:linear-gradient(150deg,var(--green) 0%,var(--green-dark) 100%);border:1px solid rgba(192,138,45,.5);font-weight:600}

/* Footer: gold crown line */
.site-footer{border-top:3px solid var(--gold)}
.footer-inner h3{letter-spacing:.03em}

@media (max-width:760px){
  .hero{padding:2.8rem 0 2.6rem}
  .hero h1{font-size:2.2rem}
  .hero .motto::before,.hero .motto::after{width:26px}
  .section{padding:2.1rem 0}
}
@media (prefers-reduced-motion:reduce){
  .card,.gallery-grid img,.button{transition:none}
  .card:hover,.gallery-grid figure:hover img,.button:hover{transform:none}
}

/* ---------------------------------------------------------------
   LIVE AUDIT CORRECTIONS (2026-12-03): findings from the visual
   inspection of prenexana.org on a phone browser.
   1. People photographs were center-cropped, cutting off faces.
      Anchor every photographic crop to the top.
   2. An ivory band sat between the sticky header and the hero or
      page banner (the main element's top padding). Pull the hero
      and banner up over it.
   3. Section headings slid under the sticky header when jumping
      by anchor. Give the page a scroll offset.
   4. Right-side dropdowns could push past the viewport edge.
      Right-align the last dropdowns and clip horizontal overflow.
   --------------------------------------------------------------- */
.hero img,.card img,.gallery-grid img,.detail-photo,.two-col img{object-position:top center}
.hero,.page-banner{margin-top:-2.5rem}
html{scroll-padding-top:118px}
.main-nav li.has-dropdown:nth-last-child(-n+3) ul.dropdown{left:auto;right:0}
html,body{overflow-x:clip}
.officer-placeholder{height:148px;font-size:1.7rem;box-shadow:inset 0 0 0 1px rgba(217,164,65,.5),inset 0 0 0 12px rgba(255,255,255,.04)}
.branding img{width:64px;height:64px}
@media (max-width:760px){
  .branding img{width:50px;height:50px}
  .header-inner{padding:.55rem 0}
  html{scroll-padding-top:96px}
}

/* ---------------------------------------------------------------
   TRANSFORMATION LAYER (2026-12-03): cinematic hero, Across
   Borders panel, milestones timeline, anthem feature band.
   --------------------------------------------------------------- */
.hero-cinematic{position:relative;overflow:hidden;background:var(--green-dark);padding:6.2rem 0 5.6rem}
.hero-cinematic .hero-bg{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:top center;border:0;border-radius:0;box-shadow:none}
.hero-cinematic .hero-overlay{position:absolute;inset:0;background:linear-gradient(100deg,rgba(33,40,29,.94) 28%,rgba(33,40,29,.74) 58%,rgba(33,40,29,.42) 100%)}
.hero-cinematic .container{position:relative}
.hero-content{max-width:730px}
.hero-content .hero-lede{font-size:1.13rem;color:#EDEAE0;max-width:620px}
.borders-panel{background:linear-gradient(150deg,var(--green) 0%,var(--green-dark) 100%);border:1px solid rgba(192,138,45,.5);border-radius:16px;padding:1.8rem 1.6rem 1.4rem;box-shadow:var(--shadow)}
.borders-panel svg{width:100%;height:auto;display:block}
.borders-labels{display:flex;justify-content:space-between;gap:1rem;color:var(--gold-bright);font-weight:600;font-size:.92rem;line-height:1.45;margin-top:.4rem}
.borders-labels span:last-child{text-align:right}
.timeline{position:relative;max-width:840px;margin:0 auto;padding-left:2.1rem}
.timeline::before{content:"";position:absolute;left:9px;top:8px;bottom:8px;width:2px;background:linear-gradient(180deg,var(--gold),rgba(192,138,45,.12))}
.milestone{position:relative;padding:0 0 2rem .6rem}
.milestone:last-child{padding-bottom:.2rem}
.milestone::before{content:"";position:absolute;left:-2.1rem;top:10px;margin-left:3px;width:13px;height:13px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--white)}
.milestone h3{font-size:1.7rem;color:var(--gold);margin-bottom:.25rem}
.milestone p{max-width:680px;margin:0}
.anthem-feature{background:linear-gradient(135deg,var(--green-dark),var(--green) 70%,#46543F);color:var(--white)}
.anthem-feature h2{color:var(--white)}
.anthem-feature .eyebrow{color:var(--gold-bright);text-transform:uppercase;letter-spacing:.22em;font-size:.8rem;font-weight:700;margin-bottom:.5rem}
.anthem-feature p{color:#EDEAE0}
.anthem-quote{font-style:italic;font-weight:600}
@media (max-width:760px){
  .hero-cinematic{padding:3.6rem 0 3.2rem}
  .hero-cinematic .hero-overlay{background:linear-gradient(180deg,rgba(33,40,29,.88),rgba(33,40,29,.78))}
  .borders-labels{font-size:.85rem}
}

@media (max-width:760px){
  .hero-cinematic{padding:0 0 3.2rem}
  .hero-cinematic .hero-bg{position:relative;height:320px;display:block}
  .hero-cinematic .hero-overlay{background:linear-gradient(180deg,rgba(33,40,29,0) 55%,rgba(33,40,29,.55))}
  .hero-cinematic .container{padding-top:1.6rem}
}
